Snapshot Current
Quottery @ epoch 211
contractIndex 2 · effective e210 → now
CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACNKL
Procedures
17procCreateEvent#1
in 280Bout 0B
→input1 field · 280B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| qei | QtryEventInfo | 0 | 280 |
procAddToAskOrder#2
in 32Bout 8B
→input4 fields · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| eventId | uint64 | 0 | 8 | |
| option | uint64 | 8 | 8 | |
| amount | uint64 | 16 | 8 | |
| price | sint64 | 24 | 8 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | sint64 | 0 | 8 |
procRemoveAskOrder#3
in 32Bout 8B
→input4 fields · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| eventId | uint64 | 0 | 8 | |
| option | uint64 | 8 | 8 | |
| amount | uint64 | 16 | 8 | |
| price | sint64 | 24 | 8 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | sint64 | 0 | 8 |
procAddToBidOrder#4
in 32Bout 8B
→input4 fields · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| eventId | uint64 | 0 | 8 | |
| option | uint64 | 8 | 8 | |
| amount | sint64 | 16 | 8 | |
| price | sint64 | 24 | 8 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | sint64 | 0 | 8 |
procRemoveBidOrder#5
in 32Bout 8B
→input4 fields · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| eventId | uint64 | 0 | 8 | |
| option | uint64 | 8 | 8 | |
| amount | uint64 | 16 | 8 | |
| price | sint64 | 24 | 8 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | sint64 | 0 | 8 |
procPublishResult#6
in 16Bout 0B
→input2 fields · 16B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| eventId | uint64 | 0 | 8 | |
| option | uint64 | 8 | 8 |
procTryFinalizeEvent#7
in 8Bout 0B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| eventId | uint64 | 0 | 8 |
procDispute#8
in 8Bout 0B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| eventId | uint64 | 0 | 8 |
procResolveDispute#9
in 16Bout 0B
→input2 fields · 16B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| eventId | uint64 | 0 | 8 | |
| vote | sint64 | 8 | 8 |
procUserClaimReward#10
in 8Bout 0B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| eventId | uint64 | 0 | 8 |
procGOForceClaimReward#11
in 520Bout 0B
→input2 fields · 520B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| eventId | uint64 | 0 | 8 | |
| pubkeys | id[16] | 8 | 512 |
procTransferQUSD#12
in 40Bout 8B
→input2 fields · 40B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| receiver | id | 0 | 32 | |
| amount | sint64 | 32 | 8 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | uint64 | 0 | 8 |
procCleanMemory#14
in 0Bout 0B
— no input or output fields —
procTransferQTRYGOV#15
in 40Bout 8B
→input2 fields · 40B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| receiver | id | 0 | 32 | |
| amount | sint64 | 32 | 8 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | uint64 | 0 | 8 |
procUpdateFeeDiscountList#20
in 48Bout 0B
→input3 fields · 48B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| userId | id | 0 | 32 | |
| newFeeRate | uint64 | 32 | 8 | |
| ops | uint64 | 40 | 8 |
procProposalVote#100
in 72Bout 0B
→input1 field · 72B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposed | QtryGOV | 0 | 72 |
Functions
8funcBasicInfo#1
in 0Bout 112B
←output11 fields · 112B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| operationFee | uint64 | 0 | 8 | |
| shareholderFee | uint64 | 8 | 8 | |
| burnFee | uint64 | 16 | 8 | |
| nIssuedEvent | uint64 | 24 | 8 | |
| shareholdersRevenue | uint64 | 32 | 8 | |
| operationRevenue | uint64 | 40 | 8 | |
| burnedAmount | uint64 | 48 | 8 | |
| mFeePerDay | uint64 | 56 | 8 | |
| antiSpamAmount | uint64 | 64 | 8 | |
| depositAmountForDispute | uint64 | 72 | 8 | |
| gameOperator | id | 80 | 32 |
funcGetEventInfo#2
in 8Bout 336B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| eventId | uint64 | 0 | 8 |
←output6 fields · 336B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| qei | QtryEventInfo | 0 | 280 | |
| resultByGO | sint32 | 280 | 4 | |
| publishTickTime | uint32 | 284 | 4 | |
| disputerInfo | DepositInfo | 288 | 40 | |
| computorsVote0 | uint32 | 328 | 4 | |
| computorsVote1 | uint32 | 332 | 4 |
funcGetOrders#3
in 32Bout 12288B
→input4 fields · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| eventId | uint64 | 0 | 8 | |
| option | uint64 | 8 | 8 | |
| isBid | uint64 | 16 | 8 | |
| offset | uint64 | 24 | 8 |
←output1 field · 12288B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| orders | QtryOrderWithPrice[256] | 0 | 12288 |
funcGetActiveEvent#4
in 0Bout 0B
←output1 field · 0B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| recentActiveEvent | uint64[] | 0 | 0 |
funcGetEventInfoBatch#5
in 512Bout 17920B
→input1 field · 512B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| eventIds | uint64[64] | 0 | 512 |
←output1 field · 17920B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| aqei | QtryEventInfo[64] | 0 | 17920 |
funcGetUserPosition#6
in 32Bout 16392B
→input1 field · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| uid | id | 0 | 32 |
←output2 fields · 16392B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| count | sint64 | 0 | 8 | |
| p | PositionInfo[1024] | 8 | 16384 |
funcGetApprovedAmount#7
in 32Bout 8B
→input1 field · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| pk | id | 0 | 32 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | uint64 | 0 | 8 |
funcGetTopProposals#8
in 0Bout 324B
←output2 fields · 324B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| top | ProposalInfo[4] | 0 | 320 | |
| uniqueCount | sint32 | 320 | 4 |
Structs
9structQtryEventInfo
280B6 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| eid | uint64 | 0 | 8 | |
| openDate | DateAndTime | 8 | 8 | |
| endDate | DateAndTime | 16 | 8 | |
| desc | id[4] | 24 | 128 | |
| option0Desc | id[2] | 152 | 64 | |
| option1Desc | id[2] | 216 | 64 |
structQtryGOV
72B6 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| mShareHolderFee | uint64 | 0 | 8 | |
| mBurnFee | uint64 | 8 | 8 | |
| mOperationFee | uint64 | 16 | 8 | |
| mFeePerDay | sint64 | 24 | 8 | |
| mDepositAmountForDispute | sint64 | 32 | 8 | |
| mOperationId | id | 40 | 32 |
structAsset
40B2 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| issuer | id | 0 | 32 | |
| assetName | uint64 | 32 | 8 |
structDepositInfo
40B2 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| pubkey | id | 0 | 32 | |
| amount | sint64 | 32 | 8 |
structPositionInfo
16B2 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| eo | uint64 | 0 | 8 | |
| amount | sint64 | 8 | 8 |
structQtryOrderWithPrice
48B2 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| qo | QtryOrder | 0 | 40 | |
| price | sint64 | 40 | 8 |
structProposalInfo
80B2 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposed | QtryGOV | 0 | 72 | |
| totalVotes | sint64 | 72 | 8 |
structDateAndTime
8B1 field
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| value | uint64 | 0 | 8 |
structQtryOrder
40B2 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| entity | id | 0 | 32 | |
| amount | sint64 | 32 | 8 |