Snapshot
QRaffle @ epoch 201
contractIndex 19 · effective e192 – e202
TAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAXRFC
Procedures
8procregisterInSystem#1
in 1Bout 4B
→input1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| useQXMR | uint8 | 0 | 1 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
proclogoutInSystem#2
in 0Bout 4B
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procsubmitEntryAmount#3
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 |
procsubmitProposal#4
in 48Bout 4B
→input3 fields · 48B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| tokenIssuer | id | 0 | 32 | |
| tokenName | uint64 | 32 | 8 | |
| entryAmount | uint64 | 40 | 8 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procvoteInProposal#5
in 5Bout 4B
→input2 fields · 5B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| indexOfProposal | uint32 | 0 | 4 | |
| yes | uint8 | 4 | 1 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procdepositInQuRaffle#6
in 0Bout 4B
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procdepositInTokenRaffle#7
in 4Bout 4B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| indexOfTokenRaffle | uint32 | 0 | 4 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
Functions
9funcgetRegisters#1
in 8Bout 36B
→input2 fields · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| offset | uint32 | 0 | 4 | |
| limit | uint32 | 4 | 4 |
←output2 fields · 36B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| register1 | id | 0 | 32 | |
| returnCode | sint32 | 32 | 4 |
funcgetAnalytics#2
in 0Bout 92B
←output15 fields · 92B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| currentQuRaffleAmount | uint64 | 0 | 8 | |
| totalBurnAmount | uint64 | 8 | 8 | |
| totalCharityAmount | uint64 | 16 | 8 | |
| totalShareholderAmount | uint64 | 24 | 8 | |
| totalRegisterAmount | uint64 | 32 | 8 | |
| totalFeeAmount | uint64 | 40 | 8 | |
| totalWinnerAmount | uint64 | 48 | 8 | |
| largestWinnerAmount | uint64 | 56 | 8 | |
| numberOfRegisters | uint32 | 64 | 4 | |
| numberOfProposals | uint32 | 68 | 4 | |
| numberOfQuRaffleMembers | uint32 | 72 | 4 | |
| numberOfActiveTokenRaffle | uint32 | 76 | 4 | |
| numberOfEndedTokenRaffle | uint32 | 80 | 4 | |
| numberOfEntryAmountSubmitted | uint32 | 84 | 4 | |
| returnCode | sint32 | 88 | 4 |
funcgetActiveProposal#3
in 4Bout 92B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| indexOfProposal | uint32 | 0 | 4 |
←output7 fields · 92B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| tokenIssuer | id | 0 | 32 | |
| proposer | id | 32 | 32 | |
| tokenName | uint64 | 64 | 8 | |
| entryAmount | uint64 | 72 | 8 | |
| nYes | uint32 | 80 | 4 | |
| nNo | uint32 | 84 | 4 | |
| returnCode | sint32 | 88 | 4 |
funcgetEndedTokenRaffle#4
in 4Bout 96B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| indexOfRaffle | uint32 | 0 | 4 |
←output8 fields · 96B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| epochWinner | id | 0 | 32 | |
| tokenIssuer | id | 32 | 32 | |
| tokenName | uint64 | 64 | 8 | |
| entryAmount | uint64 | 72 | 8 | |
| numberOfMembers | uint32 | 80 | 4 | |
| winnerIndex | uint32 | 84 | 4 | |
| epoch | uint32 | 88 | 4 | |
| returnCode | sint32 | 92 | 4 |
funcgetEndedQuRaffle#5
in 4Bout 60B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| epoch | uint32 | 0 | 4 |
←output6 fields · 60B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| epochWinner | id | 0 | 32 | |
| receivedAmount | uint64 | 32 | 8 | |
| entryAmount | uint64 | 40 | 8 | |
| numberOfMembers | uint32 | 48 | 4 | |
| winnerIndex | uint32 | 52 | 4 | |
| returnCode | sint32 | 56 | 4 |
funcgetActiveTokenRaffle#6
in 4Bout 56B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| indexOfTokenRaffle | uint32 | 0 | 4 |
←output5 fields · 56B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| tokenIssuer | id | 0 | 32 | |
| tokenName | uint64 | 32 | 8 | |
| entryAmount | uint64 | 40 | 8 | |
| numberOfMembers | uint32 | 48 | 4 | |
| returnCode | sint32 | 52 | 4 |
funcgetEpochRaffleIndexes#7
in 4Bout 12B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| epoch | uint32 | 0 | 4 |
←output3 fields · 12B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| StartIndex | uint32 | 0 | 4 | |
| EndIndex | uint32 | 4 | 4 | |
| returnCode | sint32 | 8 | 4 |
funcgetQuRaffleEntryAmountPerUser#8
in 32Bout 12B
→input1 field · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| user | id | 0 | 32 |
←output2 fields · 12B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| entryAmount | uint64 | 0 | 8 | |
| returnCode | sint32 | 8 | 4 |
funcgetQuRaffleEntryAverageAmount#9
in 0Bout 12B
←output2 fields · 12B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| entryAverageAmount | uint64 | 0 | 8 | |
| returnCode | sint32 | 8 | 4 |