Qusino
Idx 26·Since e208·1 ABI version
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 |
Raw JSON
{ "contractIndex": 26, "contractName": "Qusino", "contractAddress": "ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYYHH", "epoch": 208, "coreVersion": "v1.286.1", "structs": { "Asset": { "name": "Asset", "byteLength": 40, "fields": [ { "name": "issuer", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "assetName", "type": "uint64", "offset": 32, "byteLength": 8 } ] }, "GameInfo": { "name": "GameInfo", "fields": [ { "name": "URI", "type": "array", "offset": 0, "byteLength": 64, "arrayLength": 64, "arrayItemType": "uint8", "arrayItemByteLength": 1 }, { "name": "proposer", "type": "id", "offset": 64, "byteLength": 32 }, { "name": "yesVotes", "type": "uint32", "offset": 96, "byteLength": 4 }, { "name": "noVotes", "type": "uint32", "offset": 100, "byteLength": 4 }, { "name": "proposedEpoch", "type": "uint32", "offset": 104, "byteLength": 4 } ], "byteLength": 108 } }, "procedures": [ { "kind": "procedure", "inputType": 1, "name": "earnSTAR", "inputFields": [ { "name": "amount", "type": "uint64", "offset": 0, "byteLength": 8 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 8, "outputSize": 4 }, { "kind": "procedure", "inputType": 2, "name": "transferSTAROrQSC", "inputFields": [ { "name": "dest", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "amount", "type": "uint64", "offset": 32, "byteLength": 8 }, { "name": "type", "type": "uint8", "offset": 40, "byteLength": 1 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 41, "outputSize": 4 }, { "kind": "procedure", "inputType": 3, "name": "submitGame", "inputFields": [ { "name": "URI", "type": "array", "offset": 0, "byteLength": 64, "arrayLength": 64, "arrayItemType": "uint8", "arrayItemByteLength": 1 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 64, "outputSize": 4 }, { "kind": "procedure", "inputType": 4, "name": "voteInGameProposal", "inputFields": [ { "name": "URI", "type": "array", "offset": 0, "byteLength": 64, "arrayLength": 64, "arrayItemType": "uint8", "arrayItemByteLength": 1 }, { "name": "gameIndex", "type": "uint64", "offset": 64, "byteLength": 8 }, { "name": "yesNo", "type": "uint8", "offset": 72, "byteLength": 1 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 73, "outputSize": 4 }, { "kind": "procedure", "inputType": 5, "name": "TransferShareManagementRights", "inputFields": [ { "name": "asset", "type": "struct", "offset": 0, "byteLength": 40, "structRef": "Asset" }, { "name": "numberOfShares", "type": "sint64", "offset": 40, "byteLength": 8 }, { "name": "newManagingContractIndex", "type": "uint32", "offset": 48, "byteLength": 4 } ], "outputFields": [ { "name": "transferredNumberOfShares", "type": "sint64", "offset": 0, "byteLength": 8 } ], "inputSize": 52, "outputSize": 8 }, { "kind": "procedure", "inputType": 6, "name": "depositBonus", "inputFields": [ { "name": "amount", "type": "uint64", "offset": 0, "byteLength": 8 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 8, "outputSize": 4 }, { "kind": "procedure", "inputType": 7, "name": "dailyClaimBonus", "inputFields": [], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 0, "outputSize": 4 }, { "kind": "procedure", "inputType": 8, "name": "redemptionQSCToQubic", "inputFields": [ { "name": "amount", "type": "uint64", "offset": 0, "byteLength": 8 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 8, "outputSize": 4 } ], "functions": [ { "kind": "function", "inputType": 1, "name": "getUserAssetVolume", "inputFields": [ { "name": "user", "type": "id", "offset": 0, "byteLength": 32 } ], "outputFields": [ { "name": "STARAmount", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "QSCAmount", "type": "uint64", "offset": 8, "byteLength": 8 } ], "inputSize": 32, "outputSize": 16 }, { "kind": "function", "inputType": 2, "name": "getFailedGameList", "inputFields": [ { "name": "offset", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "games", "type": "array", "offset": 0, "byteLength": 3456, "arrayLength": 32, "arrayItemStructRef": "GameInfo", "arrayItemByteLength": 108 } ], "inputSize": 4, "outputSize": 3456 }, { "kind": "function", "inputType": 3, "name": "getSCInfo", "inputFields": [], "outputFields": [ { "name": "QSCCirclatingSupply", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "STARCirclatingSupply", "type": "uint64", "offset": 8, "byteLength": 8 }, { "name": "burntSTAR", "type": "uint64", "offset": 16, "byteLength": 8 }, { "name": "epochRevenue", "type": "uint64", "offset": 24, "byteLength": 8 }, { "name": "maxGameIndex", "type": "uint64", "offset": 32, "byteLength": 8 }, { "name": "bonusAmount", "type": "uint64", "offset": 40, "byteLength": 8 } ], "inputSize": 0, "outputSize": 48 }, { "kind": "function", "inputType": 4, "name": "getActiveGameList", "inputFields": [ { "name": "offset", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "games", "type": "array", "offset": 0, "byteLength": 3456, "arrayLength": 32, "arrayItemStructRef": "GameInfo", "arrayItemByteLength": 108 }, { "name": "gameIndexes", "type": "array", "offset": 3456, "byteLength": 256, "arrayLength": 32, "arrayItemType": "uint64", "arrayItemByteLength": 8 } ], "inputSize": 4, "outputSize": 3712 }, { "kind": "function", "inputType": 5, "name": "getProposerEarnedQSCInfo", "inputFields": [ { "name": "proposer", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "epoch", "type": "uint32", "offset": 32, "byteLength": 4 } ], "outputFields": [ { "name": "earnedQSC", "type": "uint64", "offset": 0, "byteLength": 8 } ], "inputSize": 36, "outputSize": 8 } ], "effectiveFromEpoch": 208, "effectiveToEpoch": null }