Snapshot Current
Pulse @ epoch 209
contractIndex 24 · effective e208 → now
YAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMSME
Procedures
13procBuyTicket#1
in 0Bout 1B
→input1 field · 0B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| digits | uint8[] | 0 | 0 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procSetPrice#2
in 8Bout 1B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| newPrice | uint64 | 0 | 8 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procSetSchedule#3
in 1Bout 1B
→input1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| newSchedule | uint8 | 0 | 1 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procSetDrawHour#4
in 1Bout 1B
→input1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| newDrawHour | uint8 | 0 | 1 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procSetFees#5
in 4Bout 1B
→input4 fields · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| devPercent | uint8 | 0 | 1 | |
| burnPercent | uint8 | 1 | 1 | |
| shareholdersPercent | uint8 | 2 | 1 | |
| rlShareholdersPercent | uint8 | 3 | 1 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procSetQHeartHoldLimit#6
in 8Bout 1B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| newQHeartHoldLimit | uint64 | 0 | 8 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procBuyRandomTickets#7
in 2Bout 1B
→input1 field · 2B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| count | uint16 | 0 | 2 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procDepositAutoParticipation#8
in 11Bout 1B
→input3 fields · 11B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | sint64 | 0 | 8 | |
| desiredTickets | sint16 | 8 | 2 | |
| buyNow | uint8 | 10 | 1 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procWithdrawAutoParticipation#9
in 8Bout 1B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | sint64 | 0 | 8 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procSetAutoConfig#10
in 2Bout 1B
→input1 field · 2B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| desiredTickets | sint16 | 0 | 2 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procSetAutoLimits#11
in 2Bout 1B
→input1 field · 2B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| maxTicketsPerUser | uint16 | 0 | 2 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procTransferTokenToQx#12
in 8Bout 1B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| numberOfShares | sint64 | 0 | 8 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procDepositManagedQHeart#13
in 8Bout 1B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | sint64 | 0 | 8 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
Functions
14funcGetTicketPrice#1
in 0Bout 8B
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| ticketPrice | uint64 | 0 | 8 |
funcGetPlayerBalance#2
in 32Bout 9B
→input1 field · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| player | id | 0 | 32 |
←output2 fields · 9B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| balance | uint64 | 0 | 8 | |
| returnCode | uint8 | 8 | 1 |
funcGetRoundState#3
in 0Bout 19B
←output10 fields · 19B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| epoch | uint32 | 0 | 4 | |
| lastDrawDateStamp | uint32 | 4 | 4 | |
| ticketCounter | uint16 | 8 | 2 | |
| maxPlayers | uint16 | 10 | 2 | |
| slotsLeft | uint16 | 12 | 2 | |
| currentState | uint8 | 14 | 1 | |
| drawHour | uint8 | 15 | 1 | |
| schedule | uint8 | 16 | 1 | |
| sellingOpen | uint8 | 17 | 1 | |
| returnCode | uint8 | 18 | 1 |
funcGetFees#4
in 0Bout 5B
←output5 fields · 5B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| devPercent | uint8 | 0 | 1 | |
| burnPercent | uint8 | 1 | 1 | |
| shareholdersPercent | uint8 | 2 | 1 | |
| rlShareholdersPercent | uint8 | 3 | 1 | |
| returnCode | uint8 | 4 | 1 |
funcGetQHeartHoldLimit#5
in 0Bout 8B
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| qheartHoldLimit | uint64 | 0 | 8 |
funcGetQHeartWallet#6
in 0Bout 32B
←output1 field · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| wallet | id | 0 | 32 |
funcGetWinningDigits#7
in 0Bout 0B
←output1 field · 0B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| digits | uint8[] | 0 | 0 |
funcGetBalance#8
in 0Bout 8B
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| balance | uint64 | 0 | 8 |
funcGetWinners#9
in 0Bout 43017B
←output3 fields · 43017B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| winners | WinnerInfo[1024] | 0 | 43008 | |
| winnersCounter | uint64 | 43008 | 8 | |
| returnCode | uint8 | 43016 | 1 |
funcGetAutoParticipation#10
in 32Bout 11B
→input1 field · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| player | id | 0 | 32 |
←output3 fields · 11B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| deposit | uint64 | 0 | 8 | |
| desiredTickets | uint16 | 8 | 2 | |
| returnCode | uint8 | 10 | 1 |
funcGetAutoStats#11
in 0Bout 7B
←output5 fields · 7B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| participants | AutoParticipant[] | 0 | 0 | |
| maxAutoParticipants | uint16 | 0 | 2 | |
| maxAutoTicketsPerUser | uint16 | 2 | 2 | |
| roundSlotsLeft | uint16 | 4 | 2 | |
| returnCode | uint8 | 6 | 1 |
funcValidateDigits#12
in 0Bout 1B
→input1 field · 0B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| digits | uint8[] | 0 | 0 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| isValid | uint8 | 0 | 1 |
funcGetPlayers#13
in 0Bout 32769B
←output2 fields · 32769B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| players | Ticket[1024] | 0 | 32768 | |
| returnCode | uint8 | 32768 | 1 |
funcGetPrizeTable#14
in 0Bout 9B
←output4 fields · 9B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| leftAlignedRewards | uint64[] | 0 | 0 | |
| anyPositionRewards | uint64[] | 0 | 0 | |
| ticketPrice | uint64 | 0 | 8 | |
| returnCode | uint8 | 8 | 1 |
Structs
3structTicket
32B2 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| player | id | 0 | 32 | |
| digits | uint8[] | 32 | 0 |
structWinnerInfo
42B3 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| winnerAddress | id | 0 | 32 | |
| revenue | uint64 | 32 | 8 | |
| epoch | uint16 | 40 | 2 |
structAutoParticipant
42B3 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| player | id | 0 | 32 | |
| deposit | sint64 | 32 | 8 | |
| desiredTickets | uint16 | 40 | 2 |