Snapshot Current
Qusino @ epoch 208
contractIndex 26 · effective e208 → now
ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYYHH
Procedures
8procearnSTAR#1
in 8Bout 4B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | uint64 | 0 | 8 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
proctransferSTAROrQSC#2
in 41Bout 4B
→input3 fields · 41B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| dest | id | 0 | 32 | |
| amount | uint64 | 32 | 8 | |
| type | uint8 | 40 | 1 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procsubmitGame#3
in 64Bout 4B
→input1 field · 64B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| URI | uint8[64] | 0 | 64 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procvoteInGameProposal#4
in 73Bout 4B
→input3 fields · 73B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| URI | uint8[64] | 0 | 64 | |
| gameIndex | uint64 | 64 | 8 | |
| yesNo | uint8 | 72 | 1 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procdepositBonus#6
in 8Bout 4B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | uint64 | 0 | 8 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procdailyClaimBonus#7
in 0Bout 4B
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procredemptionQSCToQubic#8
in 8Bout 4B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | uint64 | 0 | 8 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
Functions
5funcgetUserAssetVolume#1
in 32Bout 16B
→input1 field · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| user | id | 0 | 32 |
←output2 fields · 16B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| STARAmount | uint64 | 0 | 8 | |
| QSCAmount | uint64 | 8 | 8 |
funcgetFailedGameList#2
in 4Bout 3456B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| offset | uint32 | 0 | 4 |
←output1 field · 3456B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| games | GameInfo[32] | 0 | 3456 |
funcgetSCInfo#3
in 0Bout 48B
←output6 fields · 48B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| QSCCirclatingSupply | uint64 | 0 | 8 | |
| STARCirclatingSupply | uint64 | 8 | 8 | |
| burntSTAR | uint64 | 16 | 8 | |
| epochRevenue | uint64 | 24 | 8 | |
| maxGameIndex | uint64 | 32 | 8 | |
| bonusAmount | uint64 | 40 | 8 |
funcgetActiveGameList#4
in 4Bout 3712B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| offset | uint32 | 0 | 4 |
←output2 fields · 3712B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| games | GameInfo[32] | 0 | 3456 | |
| gameIndexes | uint64[32] | 3456 | 256 |
funcgetProposerEarnedQSCInfo#5
in 36Bout 8B
→input2 fields · 36B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposer | id | 0 | 32 | |
| epoch | uint32 | 32 | 4 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| earnedQSC | uint64 | 0 | 8 |
Structs
2structAsset
40B2 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| issuer | id | 0 | 32 | |
| assetName | uint64 | 32 | 8 |
structGameInfo
108B5 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| URI | uint8[64] | 0 | 64 | |
| proposer | id | 64 | 32 | |
| yesVotes | uint32 | 96 | 4 | |
| noVotes | uint32 | 100 | 4 | |
| proposedEpoch | uint32 | 104 | 4 |