Snapshot
QBond @ epoch 201
contractIndex 17 · effective e182 – e203
RAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADKAH
Procedures
8procStake#1
in 8Bout 0B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| quMillions | sint64 | 0 | 8 |
procTransferMBondOwnershipAndPossession#2
in 48Bout 8B
→input3 fields · 48B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| newOwnerAndPossessor | id | 0 | 32 | |
| epoch | sint64 | 32 | 8 | |
| numberOfMBonds | sint64 | 40 | 8 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| transferredMBonds | sint64 | 0 | 8 |
procAddAskOrder#3
in 24Bout 8B
→input3 fields · 24B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| epoch | sint64 | 0 | 8 | |
| price | sint64 | 8 | 8 | |
| numberOfMBonds | sint64 | 16 | 8 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| addedMBondsAmount | sint64 | 0 | 8 |
procRemoveAskOrder#4
in 24Bout 8B
→input3 fields · 24B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| epoch | sint64 | 0 | 8 | |
| price | sint64 | 8 | 8 | |
| numberOfMBonds | sint64 | 16 | 8 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| removedMBondsAmount | sint64 | 0 | 8 |
procAddBidOrder#5
in 24Bout 8B
→input3 fields · 24B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| epoch | sint64 | 0 | 8 | |
| price | sint64 | 8 | 8 | |
| numberOfMBonds | sint64 | 16 | 8 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| addedMBondsAmount | sint64 | 0 | 8 |
procRemoveBidOrder#6
in 24Bout 8B
→input3 fields · 24B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| epoch | sint64 | 0 | 8 | |
| price | sint64 | 8 | 8 | |
| numberOfMBonds | sint64 | 16 | 8 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| removedMBondsAmount | sint64 | 0 | 8 |
procBurnQU#7
in 8Bout 8B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | sint64 | 0 | 8 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | sint64 | 0 | 8 |
procUpdateCFA#8
in 33Bout 1B
→input2 fields · 33B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| user | id | 0 | 32 | |
| operation | uint8 | 32 | 1 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| result | uint8 | 0 | 1 |
Functions
8funcGetFees#1
in 0Bout 24B
←output3 fields · 24B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| stakeFeePercent | uint64 | 0 | 8 | |
| tradeFeePercent | uint64 | 8 | 8 | |
| transferFee | uint64 | 16 | 8 |
funcGetEarnedFees#2
in 0Bout 16B
←output2 fields · 16B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| stakeFees | uint64 | 0 | 8 | |
| tradeFees | uint64 | 8 | 8 |
funcGetInfoPerEpoch#3
in 8Bout 24B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| epoch | sint64 | 0 | 8 |
←output3 fields · 24B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| stakersAmount | uint64 | 0 | 8 | |
| totalStaked | sint64 | 8 | 8 | |
| apy | sint64 | 16 | 8 |
funcGetOrders#4
in 24Bout 28672B
→input3 fields · 24B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| epoch | sint64 | 0 | 8 | |
| askOrdersOffset | sint64 | 8 | 8 | |
| bidOrdersOffset | sint64 | 16 | 8 |
←output2 fields · 28672B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| askOrders | Order[256] | 0 | 14336 | |
| bidOrders | Order[256] | 14336 | 14336 |
funcGetUserOrders#5
in 48Bout 28672B
→input3 fields · 48B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| owner | id | 0 | 32 | |
| askOrdersOffset | sint64 | 32 | 8 | |
| bidOrdersOffset | sint64 | 40 | 8 |
←output2 fields · 28672B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| askOrders | Order[256] | 0 | 14336 | |
| bidOrders | Order[256] | 14336 | 14336 |
funcGetMBondsTable#6
in 0Bout 16384B
←output1 field · 16384B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| info | TableEntry[512] | 0 | 16384 |
funcGetUserMBonds#7
in 32Bout 6152B
→input1 field · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| owner | id | 0 | 32 |
←output2 fields · 6152B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| totalMBondsAmount | sint64 | 0 | 8 | |
| mbonds | MBondEntity[256] | 8 | 6144 |
funcGetCFA#8
in 0Bout 32768B
←output1 field · 32768B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| commissionFreeAddresses | id[1024] | 0 | 32768 |
Structs
3structOrder
56B4 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| owner | id | 0 | 32 | |
| epoch | sint64 | 32 | 8 | |
| numberOfMBonds | sint64 | 40 | 8 | |
| price | sint64 | 48 | 8 |
structTableEntry
32B4 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| epoch | sint64 | 0 | 8 | |
| totalStakedQBond | sint64 | 8 | 8 | |
| totalStakedQEarn | sint64 | 16 | 8 | |
| apy | uint64 | 24 | 8 |
structMBondEntity
24B3 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| epoch | sint64 | 0 | 8 | |
| amount | sint64 | 8 | 8 | |
| apy | uint64 | 16 | 8 |