Quottery
Idx 02·Since e210·3 ABI versions
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 |
Raw JSON
{ "contractIndex": 2, "contractName": "Quottery", "contractAddress": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACNKL", "epoch": 210, "coreVersion": "v1.288.0", "structs": { "QtryEventInfo": { "name": "QtryEventInfo", "fields": [ { "name": "eid", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "openDate", "type": "struct", "offset": 8, "byteLength": 8, "structRef": "DateAndTime" }, { "name": "endDate", "type": "struct", "offset": 16, "byteLength": 8, "structRef": "DateAndTime" }, { "name": "desc", "type": "array", "offset": 24, "byteLength": 128, "arrayLength": 4, "arrayItemType": "id", "arrayItemByteLength": 32 }, { "name": "option0Desc", "type": "array", "offset": 152, "byteLength": 64, "arrayLength": 2, "arrayItemType": "id", "arrayItemByteLength": 32 }, { "name": "option1Desc", "type": "array", "offset": 216, "byteLength": 64, "arrayLength": 2, "arrayItemType": "id", "arrayItemByteLength": 32 } ], "byteLength": 280 }, "QtryGOV": { "name": "QtryGOV", "fields": [ { "name": "mShareHolderFee", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "mBurnFee", "type": "uint64", "offset": 8, "byteLength": 8 }, { "name": "mOperationFee", "type": "uint64", "offset": 16, "byteLength": 8 }, { "name": "mFeePerDay", "type": "sint64", "offset": 24, "byteLength": 8 }, { "name": "mDepositAmountForDispute", "type": "sint64", "offset": 32, "byteLength": 8 }, { "name": "mOperationId", "type": "id", "offset": 40, "byteLength": 32 } ], "byteLength": 72 }, "Asset": { "name": "Asset", "byteLength": 40, "fields": [ { "name": "issuer", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "assetName", "type": "uint64", "offset": 32, "byteLength": 8 } ] }, "DepositInfo": { "name": "DepositInfo", "fields": [ { "name": "pubkey", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "amount", "type": "sint64", "offset": 32, "byteLength": 8 } ], "byteLength": 40 }, "PositionInfo": { "name": "PositionInfo", "fields": [ { "name": "eo", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "amount", "type": "sint64", "offset": 8, "byteLength": 8 } ], "byteLength": 16 }, "QtryOrderWithPrice": { "name": "QtryOrderWithPrice", "fields": [ { "name": "qo", "type": "struct", "offset": 0, "byteLength": 40, "structRef": "QtryOrder" }, { "name": "price", "type": "sint64", "offset": 40, "byteLength": 8 } ], "byteLength": 48 }, "ProposalInfo": { "name": "ProposalInfo", "fields": [ { "name": "proposed", "type": "struct", "offset": 0, "byteLength": 72, "structRef": "QtryGOV" }, { "name": "totalVotes", "type": "sint64", "offset": 72, "byteLength": 8 } ], "byteLength": 80 }, "DateAndTime": { "name": "DateAndTime", "byteLength": 8, "fields": [ { "name": "value", "type": "uint64", "offset": 0, "byteLength": 8 } ] }, "QtryOrder": { "name": "QtryOrder", "fields": [ { "name": "entity", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "amount", "type": "sint64", "offset": 32, "byteLength": 8 } ], "byteLength": 40 } }, "procedures": [ { "kind": "procedure", "inputType": 1, "name": "CreateEvent", "inputFields": [ { "name": "qei", "type": "struct", "offset": 0, "byteLength": 280, "structRef": "QtryEventInfo" } ], "outputFields": [], "inputSize": 280, "outputSize": 0 }, { "kind": "procedure", "inputType": 2, "name": "AddToAskOrder", "inputFields": [ { "name": "eventId", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "option", "type": "uint64", "offset": 8, "byteLength": 8 }, { "name": "amount", "type": "uint64", "offset": 16, "byteLength": 8 }, { "name": "price", "type": "sint64", "offset": 24, "byteLength": 8 } ], "outputFields": [ { "name": "status", "type": "sint64", "offset": 0, "byteLength": 8 } ], "inputSize": 32, "outputSize": 8 }, { "kind": "procedure", "inputType": 3, "name": "RemoveAskOrder", "inputFields": [ { "name": "eventId", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "option", "type": "uint64", "offset": 8, "byteLength": 8 }, { "name": "amount", "type": "uint64", "offset": 16, "byteLength": 8 }, { "name": "price", "type": "sint64", "offset": 24, "byteLength": 8 } ], "outputFields": [ { "name": "status", "type": "sint64", "offset": 0, "byteLength": 8 } ], "inputSize": 32, "outputSize": 8 }, { "kind": "procedure", "inputType": 4, "name": "AddToBidOrder", "inputFields": [ { "name": "eventId", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "option", "type": "uint64", "offset": 8, "byteLength": 8 }, { "name": "amount", "type": "sint64", "offset": 16, "byteLength": 8 }, { "name": "price", "type": "sint64", "offset": 24, "byteLength": 8 } ], "outputFields": [ { "name": "status", "type": "sint64", "offset": 0, "byteLength": 8 } ], "inputSize": 32, "outputSize": 8 }, { "kind": "procedure", "inputType": 5, "name": "RemoveBidOrder", "inputFields": [ { "name": "eventId", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "option", "type": "uint64", "offset": 8, "byteLength": 8 }, { "name": "amount", "type": "uint64", "offset": 16, "byteLength": 8 }, { "name": "price", "type": "sint64", "offset": 24, "byteLength": 8 } ], "outputFields": [ { "name": "status", "type": "sint64", "offset": 0, "byteLength": 8 } ], "inputSize": 32, "outputSize": 8 }, { "kind": "procedure", "inputType": 6, "name": "PublishResult", "inputFields": [ { "name": "eventId", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "option", "type": "uint64", "offset": 8, "byteLength": 8 } ], "outputFields": [], "inputSize": 16, "outputSize": 0 }, { "kind": "procedure", "inputType": 7, "name": "TryFinalizeEvent", "inputFields": [ { "name": "eventId", "type": "uint64", "offset": 0, "byteLength": 8 } ], "outputFields": [], "inputSize": 8, "outputSize": 0 }, { "kind": "procedure", "inputType": 8, "name": "Dispute", "inputFields": [ { "name": "eventId", "type": "uint64", "offset": 0, "byteLength": 8 } ], "outputFields": [], "inputSize": 8, "outputSize": 0 }, { "kind": "procedure", "inputType": 9, "name": "ResolveDispute", "inputFields": [ { "name": "eventId", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "vote", "type": "sint64", "offset": 8, "byteLength": 8 } ], "outputFields": [], "inputSize": 16, "outputSize": 0 }, { "kind": "procedure", "inputType": 10, "name": "UserClaimReward", "inputFields": [ { "name": "eventId", "type": "uint64", "offset": 0, "byteLength": 8 } ], "outputFields": [], "inputSize": 8, "outputSize": 0 }, { "kind": "procedure", "inputType": 11, "name": "GOForceClaimReward", "inputFields": [ { "name": "eventId", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "pubkeys", "type": "array", "offset": 8, "byteLength": 512, "arrayLength": 16, "arrayItemType": "id", "arrayItemByteLength": 32 } ], "outputFields": [], "inputSize": 520, "outputSize": 0 }, { "kind": "procedure", "inputType": 12, "name": "TransferQUSD", "inputFields": [ { "name": "receiver", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "amount", "type": "sint64", "offset": 32, "byteLength": 8 } ], "outputFields": [ { "name": "amount", "type": "uint64", "offset": 0, "byteLength": 8 } ], "inputSize": 40, "outputSize": 8 }, { "kind": "procedure", "inputType": 13, "name": "TransferShareManagementRights", "inputFields": [ { "name": "asset", "type": "struct", "offset": 0, "byteLength": 40, "structRef": "Asset" }, { "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 }, { "kind": "procedure", "inputType": 14, "name": "CleanMemory", "inputFields": [], "outputFields": [], "inputSize": 0, "outputSize": 0 }, { "kind": "procedure", "inputType": 15, "name": "TransferQTRYGOV", "inputFields": [ { "name": "receiver", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "amount", "type": "sint64", "offset": 32, "byteLength": 8 } ], "outputFields": [ { "name": "amount", "type": "uint64", "offset": 0, "byteLength": 8 } ], "inputSize": 40, "outputSize": 8 }, { "kind": "procedure", "inputType": 20, "name": "UpdateFeeDiscountList", "inputFields": [ { "name": "userId", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "newFeeRate", "type": "uint64", "offset": 32, "byteLength": 8 }, { "name": "ops", "type": "uint64", "offset": 40, "byteLength": 8 } ], "outputFields": [], "inputSize": 48, "outputSize": 0 }, { "kind": "procedure", "inputType": 100, "name": "ProposalVote", "inputFields": [ { "name": "proposed", "type": "struct", "offset": 0, "byteLength": 72, "structRef": "QtryGOV" } ], "outputFields": [], "inputSize": 72, "outputSize": 0 } ], "functions": [ { "kind": "function", "inputType": 1, "name": "BasicInfo", "inputFields": [], "outputFields": [ { "name": "operationFee", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "shareholderFee", "type": "uint64", "offset": 8, "byteLength": 8 }, { "name": "burnFee", "type": "uint64", "offset": 16, "byteLength": 8 }, { "name": "nIssuedEvent", "type": "uint64", "offset": 24, "byteLength": 8 }, { "name": "shareholdersRevenue", "type": "uint64", "offset": 32, "byteLength": 8 }, { "name": "operationRevenue", "type": "uint64", "offset": 40, "byteLength": 8 }, { "name": "burnedAmount", "type": "uint64", "offset": 48, "byteLength": 8 }, { "name": "mFeePerDay", "type": "uint64", "offset": 56, "byteLength": 8 }, { "name": "antiSpamAmount", "type": "uint64", "offset": 64, "byteLength": 8 }, { "name": "depositAmountForDispute", "type": "uint64", "offset": 72, "byteLength": 8 }, { "name": "gameOperator", "type": "id", "offset": 80, "byteLength": 32 } ], "inputSize": 0, "outputSize": 112 }, { "kind": "function", "inputType": 2, "name": "GetEventInfo", "inputFields": [ { "name": "eventId", "type": "uint64", "offset": 0, "byteLength": 8 } ], "outputFields": [ { "name": "qei", "type": "struct", "offset": 0, "byteLength": 280, "structRef": "QtryEventInfo" }, { "name": "resultByGO", "type": "sint32", "offset": 280, "byteLength": 4 }, { "name": "publishTickTime", "type": "uint32", "offset": 284, "byteLength": 4 }, { "name": "disputerInfo", "type": "struct", "offset": 288, "byteLength": 40, "structRef": "DepositInfo" }, { "name": "computorsVote0", "type": "uint32", "offset": 328, "byteLength": 4 }, { "name": "computorsVote1", "type": "uint32", "offset": 332, "byteLength": 4 } ], "inputSize": 8, "outputSize": 336 }, { "kind": "function", "inputType": 3, "name": "GetOrders", "inputFields": [ { "name": "eventId", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "option", "type": "uint64", "offset": 8, "byteLength": 8 }, { "name": "isBid", "type": "uint64", "offset": 16, "byteLength": 8 }, { "name": "offset", "type": "uint64", "offset": 24, "byteLength": 8 } ], "outputFields": [ { "name": "orders", "type": "array", "offset": 0, "byteLength": 12288, "arrayLength": 256, "arrayItemStructRef": "QtryOrderWithPrice", "arrayItemByteLength": 48 } ], "inputSize": 32, "outputSize": 12288 }, { "kind": "function", "inputType": 4, "name": "GetActiveEvent", "inputFields": [], "outputFields": [ { "name": "recentActiveEvent", "type": "array", "offset": 0, "byteLength": 0, "arrayLength": 0, "arrayItemType": "uint64", "arrayItemByteLength": 8 } ], "inputSize": 0, "outputSize": 0 }, { "kind": "function", "inputType": 5, "name": "GetEventInfoBatch", "inputFields": [ { "name": "eventIds", "type": "array", "offset": 0, "byteLength": 512, "arrayLength": 64, "arrayItemType": "uint64", "arrayItemByteLength": 8 } ], "outputFields": [ { "name": "aqei", "type": "array", "offset": 0, "byteLength": 17920, "arrayLength": 64, "arrayItemStructRef": "QtryEventInfo", "arrayItemByteLength": 280 } ], "inputSize": 512, "outputSize": 17920 }, { "kind": "function", "inputType": 6, "name": "GetUserPosition", "inputFields": [ { "name": "uid", "type": "id", "offset": 0, "byteLength": 32 } ], "outputFields": [ { "name": "count", "type": "sint64", "offset": 0, "byteLength": 8 }, { "name": "p", "type": "array", "offset": 8, "byteLength": 16384, "arrayLength": 1024, "arrayItemStructRef": "PositionInfo", "arrayItemByteLength": 16 } ], "inputSize": 32, "outputSize": 16392 }, { "kind": "function", "inputType": 7, "name": "GetApprovedAmount", "inputFields": [ { "name": "pk", "type": "id", "offset": 0, "byteLength": 32 } ], "outputFields": [ { "name": "amount", "type": "uint64", "offset": 0, "byteLength": 8 } ], "inputSize": 32, "outputSize": 8 }, { "kind": "function", "inputType": 8, "name": "GetTopProposals", "inputFields": [], "outputFields": [ { "name": "top", "type": "array", "offset": 0, "byteLength": 320, "arrayLength": 4, "arrayItemStructRef": "ProposalInfo", "arrayItemByteLength": 80 }, { "name": "uniqueCount", "type": "sint32", "offset": 320, "byteLength": 4 } ], "inputSize": 0, "outputSize": 324 } ], "effectiveFromEpoch": 210, "effectiveToEpoch": null }