Qdraw
Idx 15·Since e179·1 ABI version
PAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYVRC
Procedures
1procbuyTicket#1
in 8Bout 0B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| ticketCount | uint64 | 0 | 8 |
Functions
2funcgetInfo#2
in 0Bout 59B
←output7 fields · 59B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| pot | sint64 | 0 | 8 | |
| participantCount | uint64 | 8 | 8 | |
| lastWinner | id | 16 | 32 | |
| lastWinAmount | sint64 | 48 | 8 | |
| lastDrawHour | uint8 | 56 | 1 | |
| currentHour | uint8 | 57 | 1 | |
| nextDrawHour | uint8 | 58 | 1 |
funcgetParticipants#3
in 0Bout 40976B
←output4 fields · 40976B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| participantCount | uint64 | 0 | 8 | |
| uniqueParticipantCount | uint64 | 8 | 8 | |
| participants | id[1024] | 16 | 32768 | |
| ticketCounts | uint64[1024] | 32784 | 8192 |
Raw JSON
{ "contractIndex": 15, "contractName": "Qdraw", "contractAddress": "PAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYVRC", "epoch": 179, "coreVersion": "v1.260.0", "structs": {}, "procedures": [ { "kind": "procedure", "inputType": 1, "name": "buyTicket", "inputFields": [ { "name": "ticketCount", "type": "uint64", "offset": 0, "byteLength": 8 } ], "outputFields": [], "inputSize": 8, "outputSize": 0 } ], "functions": [ { "kind": "function", "inputType": 2, "name": "getInfo", "inputFields": [], "outputFields": [ { "name": "pot", "type": "sint64", "offset": 0, "byteLength": 8 }, { "name": "participantCount", "type": "uint64", "offset": 8, "byteLength": 8 }, { "name": "lastWinner", "type": "id", "offset": 16, "byteLength": 32 }, { "name": "lastWinAmount", "type": "sint64", "offset": 48, "byteLength": 8 }, { "name": "lastDrawHour", "type": "uint8", "offset": 56, "byteLength": 1 }, { "name": "currentHour", "type": "uint8", "offset": 57, "byteLength": 1 }, { "name": "nextDrawHour", "type": "uint8", "offset": 58, "byteLength": 1 } ], "inputSize": 0, "outputSize": 59 }, { "kind": "function", "inputType": 3, "name": "getParticipants", "inputFields": [], "outputFields": [ { "name": "participantCount", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "uniqueParticipantCount", "type": "uint64", "offset": 8, "byteLength": 8 }, { "name": "participants", "type": "array", "offset": 16, "byteLength": 32768, "arrayLength": 1024, "arrayItemType": "id", "arrayItemByteLength": 32 }, { "name": "ticketCounts", "type": "array", "offset": 32784, "byteLength": 8192, "arrayLength": 1024, "arrayItemType": "uint64", "arrayItemByteLength": 8 } ], "inputSize": 0, "outputSize": 40976 } ], "effectiveFromEpoch": 179, "effectiveToEpoch": null }