QRaffle
Idx 19·Since e203·2 ABI versions
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 64B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| epoch | uint32 | 0 | 4 |
←output7 fields · 64B
| 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 | |
| numberOfDaoMembers | uint32 | 56 | 4 | |
| returnCode | sint32 | 60 | 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 |
Raw JSON
{ "contractIndex": 19, "contractName": "QRaffle", "contractAddress": "TAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAXRFC", "epoch": 203, "coreVersion": "v1.281.0", "structs": {}, "procedures": [ { "kind": "procedure", "inputType": 1, "name": "registerInSystem", "inputFields": [ { "name": "useQXMR", "type": "uint8", "offset": 0, "byteLength": 1 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 1, "outputSize": 4 }, { "kind": "procedure", "inputType": 2, "name": "logoutInSystem", "inputFields": [], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 0, "outputSize": 4 }, { "kind": "procedure", "inputType": 3, "name": "submitEntryAmount", "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": 4, "name": "submitProposal", "inputFields": [ { "name": "tokenIssuer", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "tokenName", "type": "uint64", "offset": 32, "byteLength": 8 }, { "name": "entryAmount", "type": "uint64", "offset": 40, "byteLength": 8 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 48, "outputSize": 4 }, { "kind": "procedure", "inputType": 5, "name": "voteInProposal", "inputFields": [ { "name": "indexOfProposal", "type": "uint32", "offset": 0, "byteLength": 4 }, { "name": "yes", "type": "uint8", "offset": 4, "byteLength": 1 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 5, "outputSize": 4 }, { "kind": "procedure", "inputType": 6, "name": "depositInQuRaffle", "inputFields": [], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 0, "outputSize": 4 }, { "kind": "procedure", "inputType": 7, "name": "depositInTokenRaffle", "inputFields": [ { "name": "indexOfTokenRaffle", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 4, "outputSize": 4 }, { "kind": "procedure", "inputType": 8, "name": "TransferShareManagementRights", "inputFields": [ { "name": "tokenIssuer", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "tokenName", "type": "uint64", "offset": 32, "byteLength": 8 }, { "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 } ], "functions": [ { "kind": "function", "inputType": 1, "name": "getRegisters", "inputFields": [ { "name": "offset", "type": "uint32", "offset": 0, "byteLength": 4 }, { "name": "limit", "type": "uint32", "offset": 4, "byteLength": 4 } ], "outputFields": [ { "name": "register1", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "returnCode", "type": "sint32", "offset": 32, "byteLength": 4 } ], "inputSize": 8, "outputSize": 36 }, { "kind": "function", "inputType": 2, "name": "getAnalytics", "inputFields": [], "outputFields": [ { "name": "currentQuRaffleAmount", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "totalBurnAmount", "type": "uint64", "offset": 8, "byteLength": 8 }, { "name": "totalCharityAmount", "type": "uint64", "offset": 16, "byteLength": 8 }, { "name": "totalShareholderAmount", "type": "uint64", "offset": 24, "byteLength": 8 }, { "name": "totalRegisterAmount", "type": "uint64", "offset": 32, "byteLength": 8 }, { "name": "totalFeeAmount", "type": "uint64", "offset": 40, "byteLength": 8 }, { "name": "totalWinnerAmount", "type": "uint64", "offset": 48, "byteLength": 8 }, { "name": "largestWinnerAmount", "type": "uint64", "offset": 56, "byteLength": 8 }, { "name": "numberOfRegisters", "type": "uint32", "offset": 64, "byteLength": 4 }, { "name": "numberOfProposals", "type": "uint32", "offset": 68, "byteLength": 4 }, { "name": "numberOfQuRaffleMembers", "type": "uint32", "offset": 72, "byteLength": 4 }, { "name": "numberOfActiveTokenRaffle", "type": "uint32", "offset": 76, "byteLength": 4 }, { "name": "numberOfEndedTokenRaffle", "type": "uint32", "offset": 80, "byteLength": 4 }, { "name": "numberOfEntryAmountSubmitted", "type": "uint32", "offset": 84, "byteLength": 4 }, { "name": "returnCode", "type": "sint32", "offset": 88, "byteLength": 4 } ], "inputSize": 0, "outputSize": 92 }, { "kind": "function", "inputType": 3, "name": "getActiveProposal", "inputFields": [ { "name": "indexOfProposal", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "tokenIssuer", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "proposer", "type": "id", "offset": 32, "byteLength": 32 }, { "name": "tokenName", "type": "uint64", "offset": 64, "byteLength": 8 }, { "name": "entryAmount", "type": "uint64", "offset": 72, "byteLength": 8 }, { "name": "nYes", "type": "uint32", "offset": 80, "byteLength": 4 }, { "name": "nNo", "type": "uint32", "offset": 84, "byteLength": 4 }, { "name": "returnCode", "type": "sint32", "offset": 88, "byteLength": 4 } ], "inputSize": 4, "outputSize": 92 }, { "kind": "function", "inputType": 4, "name": "getEndedTokenRaffle", "inputFields": [ { "name": "indexOfRaffle", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "epochWinner", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "tokenIssuer", "type": "id", "offset": 32, "byteLength": 32 }, { "name": "tokenName", "type": "uint64", "offset": 64, "byteLength": 8 }, { "name": "entryAmount", "type": "uint64", "offset": 72, "byteLength": 8 }, { "name": "numberOfMembers", "type": "uint32", "offset": 80, "byteLength": 4 }, { "name": "winnerIndex", "type": "uint32", "offset": 84, "byteLength": 4 }, { "name": "epoch", "type": "uint32", "offset": 88, "byteLength": 4 }, { "name": "returnCode", "type": "sint32", "offset": 92, "byteLength": 4 } ], "inputSize": 4, "outputSize": 96 }, { "kind": "function", "inputType": 5, "name": "getEndedQuRaffle", "inputFields": [ { "name": "epoch", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "epochWinner", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "receivedAmount", "type": "uint64", "offset": 32, "byteLength": 8 }, { "name": "entryAmount", "type": "uint64", "offset": 40, "byteLength": 8 }, { "name": "numberOfMembers", "type": "uint32", "offset": 48, "byteLength": 4 }, { "name": "winnerIndex", "type": "uint32", "offset": 52, "byteLength": 4 }, { "name": "numberOfDaoMembers", "type": "uint32", "offset": 56, "byteLength": 4 }, { "name": "returnCode", "type": "sint32", "offset": 60, "byteLength": 4 } ], "inputSize": 4, "outputSize": 64 }, { "kind": "function", "inputType": 6, "name": "getActiveTokenRaffle", "inputFields": [ { "name": "indexOfTokenRaffle", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "tokenIssuer", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "tokenName", "type": "uint64", "offset": 32, "byteLength": 8 }, { "name": "entryAmount", "type": "uint64", "offset": 40, "byteLength": 8 }, { "name": "numberOfMembers", "type": "uint32", "offset": 48, "byteLength": 4 }, { "name": "returnCode", "type": "sint32", "offset": 52, "byteLength": 4 } ], "inputSize": 4, "outputSize": 56 }, { "kind": "function", "inputType": 7, "name": "getEpochRaffleIndexes", "inputFields": [ { "name": "epoch", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "StartIndex", "type": "uint32", "offset": 0, "byteLength": 4 }, { "name": "EndIndex", "type": "uint32", "offset": 4, "byteLength": 4 }, { "name": "returnCode", "type": "sint32", "offset": 8, "byteLength": 4 } ], "inputSize": 4, "outputSize": 12 }, { "kind": "function", "inputType": 8, "name": "getQuRaffleEntryAmountPerUser", "inputFields": [ { "name": "user", "type": "id", "offset": 0, "byteLength": 32 } ], "outputFields": [ { "name": "entryAmount", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "returnCode", "type": "sint32", "offset": 8, "byteLength": 4 } ], "inputSize": 32, "outputSize": 12 }, { "kind": "function", "inputType": 9, "name": "getQuRaffleEntryAverageAmount", "inputFields": [], "outputFields": [ { "name": "entryAverageAmount", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "returnCode", "type": "sint32", "offset": 8, "byteLength": 4 } ], "inputSize": 0, "outputSize": 12 } ], "effectiveFromEpoch": 203, "effectiveToEpoch": null }