QReservePool
Idx 21·Since e201·2 ABI versions
VAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAILLJ
Procedures
4procWithdrawReserve#1
in 8Bout 9B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| revenue | uint64 | 0 | 8 |
←output2 fields · 9B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| allocatedRevenue | uint64 | 0 | 8 | |
| returnCode | uint8 | 8 | 1 |
procAddAllowedSC#2
in 8Bout 1B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| scIndex | uint64 | 0 | 8 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procRemoveAllowedSC#3
in 8Bout 1B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| scIndex | uint64 | 0 | 8 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procSendReserve#4
in 16Bout 1B
→input2 fields · 16B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| scIndex | uint64 | 0 | 8 | |
| amount | uint64 | 8 | 8 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
Functions
2funcGetAvailableReserve#1
in 0Bout 8B
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| availableReserve | uint64 | 0 | 8 |
funcGetAllowedSC#2
in 0Bout 4096B
←output1 field · 4096B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| allowedSC | id[128] | 0 | 4096 |
Raw JSON
{ "contractIndex": 21, "contractName": "QReservePool", "contractAddress": "VAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAILLJ", "epoch": 201, "coreVersion": "v1.279.0", "structs": {}, "procedures": [ { "kind": "procedure", "inputType": 1, "name": "WithdrawReserve", "inputFields": [ { "name": "revenue", "type": "uint64", "offset": 0, "byteLength": 8 } ], "outputFields": [ { "name": "allocatedRevenue", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "returnCode", "type": "uint8", "offset": 8, "byteLength": 1 } ], "inputSize": 8, "outputSize": 9 }, { "kind": "procedure", "inputType": 2, "name": "AddAllowedSC", "inputFields": [ { "name": "scIndex", "type": "uint64", "offset": 0, "byteLength": 8 } ], "outputFields": [ { "name": "returnCode", "type": "uint8", "offset": 0, "byteLength": 1 } ], "inputSize": 8, "outputSize": 1 }, { "kind": "procedure", "inputType": 3, "name": "RemoveAllowedSC", "inputFields": [ { "name": "scIndex", "type": "uint64", "offset": 0, "byteLength": 8 } ], "outputFields": [ { "name": "returnCode", "type": "uint8", "offset": 0, "byteLength": 1 } ], "inputSize": 8, "outputSize": 1 }, { "kind": "procedure", "inputType": 4, "name": "SendReserve", "inputFields": [ { "name": "scIndex", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "amount", "type": "uint64", "offset": 8, "byteLength": 8 } ], "outputFields": [ { "name": "returnCode", "type": "uint8", "offset": 0, "byteLength": 1 } ], "inputSize": 16, "outputSize": 1 } ], "functions": [ { "kind": "function", "inputType": 1, "name": "GetAvailableReserve", "inputFields": [], "outputFields": [ { "name": "availableReserve", "type": "uint64", "offset": 0, "byteLength": 8 } ], "inputSize": 0, "outputSize": 8 }, { "kind": "function", "inputType": 2, "name": "GetAllowedSC", "inputFields": [], "outputFields": [ { "name": "allowedSC", "type": "array", "offset": 0, "byteLength": 4096, "arrayLength": 128, "arrayItemType": "id", "arrayItemByteLength": 32 } ], "inputSize": 0, "outputSize": 4096 } ], "effectiveFromEpoch": 201, "effectiveToEpoch": null }