Loan
این محتوا هنوز به زبان شما در دسترس نیست.
One per validator and round, in the masterchain: stakes at the Elector and returns everything to the treasury.
Accepts
Section titled “Accepts”| Message | Opcode | Fields |
|---|---|---|
StakeLoan |
0xc0a668e2 |
queryId: uint64, heldFor: uint32, stake: Cell<StakeRequest> |
RecoverLoan |
0x80a2cfe2 |
queryId: uint64 |
NewStakeConfirmed |
0xf374484c |
queryId: uint64, comment: uint32 |
NewStakeRejected |
0xee6f454c |
queryId: uint64, reason: uint32 |
RecoverStakeOk |
0xf96f7324 |
queryId: uint64 |
RecoverStakeError |
0xfffffffe |
queryId: uint64, op: uint32 |
| Message | Opcode | Fields |
|---|---|---|
NewStake |
0x4e73744b |
queryId: uint64, validatorPubkey: uint256, stakeAt: uint32, maxFactor: uint32, adnlAddr: uint256, signature: cell |
RecoverStake |
0x47657424 |
queryId: uint64 |
ReturnExcessesBack |
0xd53276db |
queryId: uint64 |
LoanReturned |
0x7534449b |
queryId: uint64, borrower: address, roundSince: uint32 |
Getters
Section titled “Getters”| Getter | Parameters | Returns |
|---|---|---|
get_loan |
— | LoanStorage |
get_code_version |
— | CodeVersion |
StakeLoan
Section titled “StakeLoan”Opcode 0xc0a668e2.
| Field | Type |
|---|---|
queryId |
uint64 |
heldFor |
uint32 |
stake |
Cell<StakeRequest> |
StakeRequest
Section titled “StakeRequest”| Field | Type |
|---|---|
validatorPubkey |
uint256 |
stakeAt |
uint32 |
maxFactor |
uint32 |
adnlAddr |
uint256 |
signature |
cell |
RecoverLoan
Section titled “RecoverLoan”Opcode 0x80a2cfe2.
| Field | Type |
|---|---|
queryId |
uint64 |
NewStakeConfirmed
Section titled “NewStakeConfirmed”Opcode 0xf374484c.
| Field | Type |
|---|---|
queryId |
uint64 |
comment |
uint32 |
NewStakeRejected
Section titled “NewStakeRejected”Opcode 0xee6f454c.
| Field | Type |
|---|---|
queryId |
uint64 |
reason |
uint32 |
RecoverStakeOk
Section titled “RecoverStakeOk”Opcode 0xf96f7324.
| Field | Type |
|---|---|
queryId |
uint64 |
RecoverStakeError
Section titled “RecoverStakeError”Opcode 0xfffffffe.
| Field | Type |
|---|---|
queryId |
uint64 |
op |
uint32 |
NewStake
Section titled “NewStake”Opcode 0x4e73744b.
| Field | Type |
|---|---|
queryId |
uint64 |
validatorPubkey |
uint256 |
stakeAt |
uint32 |
maxFactor |
uint32 |
adnlAddr |
uint256 |
signature |
cell |
RecoverStake
Section titled “RecoverStake”Opcode 0x47657424.
| Field | Type |
|---|---|
queryId |
uint64 |
ReturnExcessesBack
Section titled “ReturnExcessesBack”Opcode 0xd53276db.
| Field | Type |
|---|---|
queryId |
uint64 |
LoanReturned
Section titled “LoanReturned”Opcode 0x7534449b.
| Field | Type |
|---|---|
queryId |
uint64 |
borrower |
address |
roundSince |
uint32 |
LoanStorage
Section titled “LoanStorage”| Field | Type |
|---|---|
treasury |
address |
borrower |
address |
roundSince |
uint32 |
heldFor |
uint32 |
CodeVersion
Section titled “CodeVersion”| Field | Type |
|---|---|
major |
uint8 |
minor |
uint8 |
patch |
uint8 |