Pulse
Idx 24·Since e208·3 ABI versions
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 |
Raw JSON
{ "contractIndex": 24, "contractName": "Pulse", "contractAddress": "YAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMSME", "epoch": 208, "coreVersion": "v1.286.1", "structs": { "Ticket": { "name": "Ticket", "fields": [ { "name": "player", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "digits", "type": "array", "offset": 32, "byteLength": 0, "arrayLength": 0, "arrayItemType": "uint8", "arrayItemByteLength": 1 } ], "byteLength": 32 }, "WinnerInfo": { "name": "WinnerInfo", "fields": [ { "name": "winnerAddress", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "revenue", "type": "uint64", "offset": 32, "byteLength": 8 }, { "name": "epoch", "type": "uint16", "offset": 40, "byteLength": 2 } ], "byteLength": 42 }, "AutoParticipant": { "name": "AutoParticipant", "fields": [ { "name": "player", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "deposit", "type": "sint64", "offset": 32, "byteLength": 8 }, { "name": "desiredTickets", "type": "uint16", "offset": 40, "byteLength": 2 } ], "byteLength": 42 } }, "procedures": [ { "kind": "procedure", "inputType": 1, "name": "BuyTicket", "inputFields": [ { "name": "digits", "type": "array", "offset": 0, "byteLength": 0, "arrayLength": 0, "arrayItemType": "uint8", "arrayItemByteLength": 1 } ], "outputFields": [ { "name": "returnCode", "type": "uint8", "offset": 0, "byteLength": 1 } ], "inputSize": 0, "outputSize": 1 }, { "kind": "procedure", "inputType": 2, "name": "SetPrice", "inputFields": [ { "name": "newPrice", "type": "uint64", "offset": 0, "byteLength": 8 } ], "outputFields": [ { "name": "returnCode", "type": "uint8", "offset": 0, "byteLength": 1 } ], "inputSize": 8, "outputSize": 1 }, { "kind": "procedure", "inputType": 3, "name": "SetSchedule", "inputFields": [ { "name": "newSchedule", "type": "uint8", "offset": 0, "byteLength": 1 } ], "outputFields": [ { "name": "returnCode", "type": "uint8", "offset": 0, "byteLength": 1 } ], "inputSize": 1, "outputSize": 1 }, { "kind": "procedure", "inputType": 4, "name": "SetDrawHour", "inputFields": [ { "name": "newDrawHour", "type": "uint8", "offset": 0, "byteLength": 1 } ], "outputFields": [ { "name": "returnCode", "type": "uint8", "offset": 0, "byteLength": 1 } ], "inputSize": 1, "outputSize": 1 }, { "kind": "procedure", "inputType": 5, "name": "SetFees", "inputFields": [ { "name": "devPercent", "type": "uint8", "offset": 0, "byteLength": 1 }, { "name": "burnPercent", "type": "uint8", "offset": 1, "byteLength": 1 }, { "name": "shareholdersPercent", "type": "uint8", "offset": 2, "byteLength": 1 }, { "name": "rlShareholdersPercent", "type": "uint8", "offset": 3, "byteLength": 1 } ], "outputFields": [ { "name": "returnCode", "type": "uint8", "offset": 0, "byteLength": 1 } ], "inputSize": 4, "outputSize": 1 }, { "kind": "procedure", "inputType": 6, "name": "SetQHeartHoldLimit", "inputFields": [ { "name": "newQHeartHoldLimit", "type": "uint64", "offset": 0, "byteLength": 8 } ], "outputFields": [ { "name": "returnCode", "type": "uint8", "offset": 0, "byteLength": 1 } ], "inputSize": 8, "outputSize": 1 }, { "kind": "procedure", "inputType": 7, "name": "BuyRandomTickets", "inputFields": [ { "name": "count", "type": "uint16", "offset": 0, "byteLength": 2 } ], "outputFields": [ { "name": "returnCode", "type": "uint8", "offset": 0, "byteLength": 1 } ], "inputSize": 2, "outputSize": 1 }, { "kind": "procedure", "inputType": 8, "name": "DepositAutoParticipation", "inputFields": [ { "name": "amount", "type": "sint64", "offset": 0, "byteLength": 8 }, { "name": "desiredTickets", "type": "sint16", "offset": 8, "byteLength": 2 }, { "name": "buyNow", "type": "uint8", "offset": 10, "byteLength": 1 } ], "outputFields": [ { "name": "returnCode", "type": "uint8", "offset": 0, "byteLength": 1 } ], "inputSize": 11, "outputSize": 1 }, { "kind": "procedure", "inputType": 9, "name": "WithdrawAutoParticipation", "inputFields": [ { "name": "amount", "type": "sint64", "offset": 0, "byteLength": 8 } ], "outputFields": [ { "name": "returnCode", "type": "uint8", "offset": 0, "byteLength": 1 } ], "inputSize": 8, "outputSize": 1 }, { "kind": "procedure", "inputType": 10, "name": "SetAutoConfig", "inputFields": [ { "name": "desiredTickets", "type": "sint16", "offset": 0, "byteLength": 2 } ], "outputFields": [ { "name": "returnCode", "type": "uint8", "offset": 0, "byteLength": 1 } ], "inputSize": 2, "outputSize": 1 }, { "kind": "procedure", "inputType": 11, "name": "SetAutoLimits", "inputFields": [ { "name": "maxTicketsPerUser", "type": "uint16", "offset": 0, "byteLength": 2 } ], "outputFields": [ { "name": "returnCode", "type": "uint8", "offset": 0, "byteLength": 1 } ], "inputSize": 2, "outputSize": 1 }, { "kind": "procedure", "inputType": 12, "name": "TransferTokenToQx", "inputFields": [ { "name": "numberOfShares", "type": "sint64", "offset": 0, "byteLength": 8 } ], "outputFields": [ { "name": "returnCode", "type": "uint8", "offset": 0, "byteLength": 1 } ], "inputSize": 8, "outputSize": 1 }, { "kind": "procedure", "inputType": 13, "name": "DepositManagedQHeart", "inputFields": [ { "name": "amount", "type": "sint64", "offset": 0, "byteLength": 8 } ], "outputFields": [ { "name": "returnCode", "type": "uint8", "offset": 0, "byteLength": 1 } ], "inputSize": 8, "outputSize": 1 } ], "functions": [ { "kind": "function", "inputType": 1, "name": "GetTicketPrice", "inputFields": [], "outputFields": [ { "name": "ticketPrice", "type": "uint64", "offset": 0, "byteLength": 8 } ], "inputSize": 0, "outputSize": 8 }, { "kind": "function", "inputType": 2, "name": "GetPlayerBalance", "inputFields": [ { "name": "player", "type": "id", "offset": 0, "byteLength": 32 } ], "outputFields": [ { "name": "balance", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "returnCode", "type": "uint8", "offset": 8, "byteLength": 1 } ], "inputSize": 32, "outputSize": 9 }, { "kind": "function", "inputType": 3, "name": "GetRoundState", "inputFields": [], "outputFields": [ { "name": "epoch", "type": "uint32", "offset": 0, "byteLength": 4 }, { "name": "lastDrawDateStamp", "type": "uint32", "offset": 4, "byteLength": 4 }, { "name": "ticketCounter", "type": "uint16", "offset": 8, "byteLength": 2 }, { "name": "maxPlayers", "type": "uint16", "offset": 10, "byteLength": 2 }, { "name": "slotsLeft", "type": "uint16", "offset": 12, "byteLength": 2 }, { "name": "currentState", "type": "uint8", "offset": 14, "byteLength": 1 }, { "name": "drawHour", "type": "uint8", "offset": 15, "byteLength": 1 }, { "name": "schedule", "type": "uint8", "offset": 16, "byteLength": 1 }, { "name": "sellingOpen", "type": "uint8", "offset": 17, "byteLength": 1 }, { "name": "returnCode", "type": "uint8", "offset": 18, "byteLength": 1 } ], "inputSize": 0, "outputSize": 19 }, { "kind": "function", "inputType": 4, "name": "GetFees", "inputFields": [], "outputFields": [ { "name": "devPercent", "type": "uint8", "offset": 0, "byteLength": 1 }, { "name": "burnPercent", "type": "uint8", "offset": 1, "byteLength": 1 }, { "name": "shareholdersPercent", "type": "uint8", "offset": 2, "byteLength": 1 }, { "name": "rlShareholdersPercent", "type": "uint8", "offset": 3, "byteLength": 1 }, { "name": "returnCode", "type": "uint8", "offset": 4, "byteLength": 1 } ], "inputSize": 0, "outputSize": 5 }, { "kind": "function", "inputType": 5, "name": "GetQHeartHoldLimit", "inputFields": [], "outputFields": [ { "name": "qheartHoldLimit", "type": "uint64", "offset": 0, "byteLength": 8 } ], "inputSize": 0, "outputSize": 8 }, { "kind": "function", "inputType": 6, "name": "GetQHeartWallet", "inputFields": [], "outputFields": [ { "name": "wallet", "type": "id", "offset": 0, "byteLength": 32 } ], "inputSize": 0, "outputSize": 32 }, { "kind": "function", "inputType": 7, "name": "GetWinningDigits", "inputFields": [], "outputFields": [ { "name": "digits", "type": "array", "offset": 0, "byteLength": 0, "arrayLength": 0, "arrayItemType": "uint8", "arrayItemByteLength": 1 } ], "inputSize": 0, "outputSize": 0 }, { "kind": "function", "inputType": 8, "name": "GetBalance", "inputFields": [], "outputFields": [ { "name": "balance", "type": "uint64", "offset": 0, "byteLength": 8 } ], "inputSize": 0, "outputSize": 8 }, { "kind": "function", "inputType": 9, "name": "GetWinners", "inputFields": [], "outputFields": [ { "name": "winners", "type": "array", "offset": 0, "byteLength": 43008, "arrayLength": 1024, "arrayItemStructRef": "WinnerInfo", "arrayItemByteLength": 42 }, { "name": "winnersCounter", "type": "uint64", "offset": 43008, "byteLength": 8 }, { "name": "returnCode", "type": "uint8", "offset": 43016, "byteLength": 1 } ], "inputSize": 0, "outputSize": 43017 }, { "kind": "function", "inputType": 10, "name": "GetAutoParticipation", "inputFields": [ { "name": "player", "type": "id", "offset": 0, "byteLength": 32 } ], "outputFields": [ { "name": "deposit", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "desiredTickets", "type": "uint16", "offset": 8, "byteLength": 2 }, { "name": "returnCode", "type": "uint8", "offset": 10, "byteLength": 1 } ], "inputSize": 32, "outputSize": 11 }, { "kind": "function", "inputType": 11, "name": "GetAutoStats", "inputFields": [], "outputFields": [ { "name": "participants", "type": "array", "offset": 0, "byteLength": 0, "arrayLength": 0, "arrayItemStructRef": "AutoParticipant", "arrayItemByteLength": 42 }, { "name": "maxAutoParticipants", "type": "uint16", "offset": 0, "byteLength": 2 }, { "name": "maxAutoTicketsPerUser", "type": "uint16", "offset": 2, "byteLength": 2 }, { "name": "roundSlotsLeft", "type": "uint16", "offset": 4, "byteLength": 2 }, { "name": "returnCode", "type": "uint8", "offset": 6, "byteLength": 1 } ], "inputSize": 0, "outputSize": 7 }, { "kind": "function", "inputType": 12, "name": "ValidateDigits", "inputFields": [ { "name": "digits", "type": "array", "offset": 0, "byteLength": 0, "arrayLength": 0, "arrayItemType": "uint8", "arrayItemByteLength": 1 } ], "outputFields": [ { "name": "isValid", "type": "uint8", "offset": 0, "byteLength": 1 } ], "inputSize": 0, "outputSize": 1 }, { "kind": "function", "inputType": 13, "name": "GetPlayers", "inputFields": [], "outputFields": [ { "name": "players", "type": "array", "offset": 0, "byteLength": 32768, "arrayLength": 1024, "arrayItemStructRef": "Ticket", "arrayItemByteLength": 32 }, { "name": "returnCode", "type": "uint8", "offset": 32768, "byteLength": 1 } ], "inputSize": 0, "outputSize": 32769 }, { "kind": "function", "inputType": 14, "name": "GetPrizeTable", "inputFields": [], "outputFields": [ { "name": "leftAlignedRewards", "type": "array", "offset": 0, "byteLength": 0, "arrayLength": 0, "arrayItemType": "uint64", "arrayItemByteLength": 8 }, { "name": "anyPositionRewards", "type": "array", "offset": 0, "byteLength": 0, "arrayLength": 0, "arrayItemType": "uint64", "arrayItemByteLength": 8 }, { "name": "ticketPrice", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "returnCode", "type": "uint8", "offset": 8, "byteLength": 1 } ], "inputSize": 0, "outputSize": 9 } ], "effectiveFromEpoch": 208, "effectiveToEpoch": null }