qRWA
Idx 20·Since e212·3 ABI versions
UAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHQEE
Procedures
6procDonateToTreasury#3
in 8Bout 8B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | uint64 | 0 | 8 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | uint64 | 0 | 8 |
procVoteGovParams#4
in 184Bout 8B
→input1 field · 184B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposal | QRWAGovParams | 0 | 184 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | uint64 | 0 | 8 |
procDepositGeneralAsset#7
in 48Bout 8B
→input2 fields · 48B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| asset | Asset | 0 | 40 | |
| amount | uint64 | 40 | 8 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | uint64 | 0 | 8 |
procRevokeAssetManagementRights#8
in 48Bout 16B
→input2 fields · 48B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| asset | Asset | 0 | 40 | |
| numberOfShares | sint64 | 40 | 8 |
←output2 fields · 16B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| transferredNumberOfShares | sint64 | 0 | 8 | |
| status | uint64 | 8 | 8 |
procSetPoolARevenueAddress#9
in 32Bout 8B
→input1 field · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| newAddress | id | 0 | 32 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | uint64 | 0 | 8 |
procSetPoolDRevenueAddress#10
in 32Bout 8B
→input1 field · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| newAddress | id | 0 | 32 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | uint64 | 0 | 8 |
Functions
14funcGetGovParams#1
in 0Bout 184B
←output1 field · 184B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| params | QRWAGovParams | 0 | 184 |
funcGetGovPoll#2
in 8Bout 216B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposalId | uint64 | 0 | 8 |
←output2 fields · 216B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposal | QRWAGovProposal | 0 | 208 | |
| status | uint64 | 208 | 8 |
funcGetTreasuryBalance#4
in 0Bout 8B
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| balance | uint64 | 0 | 8 |
funcGetDividendBalances#5
in 0Bout 96B
←output12 fields · 96B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| revenuePoolA | uint64 | 0 | 8 | |
| revenuePoolB | uint64 | 8 | 8 | |
| dedicatedRevenuePool | uint64 | 16 | 8 | |
| poolAQmineDividend | uint64 | 24 | 8 | |
| poolAQrwaDividend | uint64 | 32 | 8 | |
| poolBQmineDividend | uint64 | 40 | 8 | |
| poolBQrwaDividend | uint64 | 48 | 8 | |
| poolCQmineDividend | uint64 | 56 | 8 | |
| poolCQrwaDividend | uint64 | 64 | 8 | |
| poolDRevenuePool | uint64 | 72 | 8 | |
| poolDQmineDividend | uint64 | 80 | 8 | |
| poolDQrwaDividend | uint64 | 88 | 8 |
funcGetTotalDistributed#6
in 0Bout 40B
←output5 fields · 40B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| totalPoolADistributed | uint64 | 0 | 8 | |
| totalPoolBDistributed | uint64 | 8 | 8 | |
| totalPoolCDistributed | uint64 | 16 | 8 | |
| totalPoolDDistributed | uint64 | 24 | 8 | |
| payoutTotalQmineBegin | uint64 | 32 | 8 |
funcGetActiveGovPollIds#8
in 0Bout 520B
←output2 fields · 520B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| count | uint64 | 0 | 8 | |
| ids | uint64[64] | 8 | 512 |
funcGetGeneralAssetBalance#9
in 40Bout 16B
→input1 field · 40B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| asset | Asset | 0 | 40 |
←output2 fields · 16B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| balance | uint64 | 0 | 8 | |
| status | uint64 | 8 | 8 |
funcGetGeneralAssets#10
in 0Bout 49160B
←output3 fields · 49160B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| count | uint64 | 0 | 8 | |
| assets | Asset[1024] | 8 | 40960 | |
| balances | uint64[1024] | 40968 | 8192 |
funcGetPayoutsQmine#11
in 2Bout 32776B
→input1 field · 2B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| page | uint16 | 0 | 2 |
←output5 fields · 32776B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| payouts | QRWAPayoutEntry[512] | 0 | 32768 | |
| nextIdx | uint16 | 32768 | 2 | |
| returnedCount | uint16 | 32770 | 2 | |
| page | uint16 | 32772 | 2 | |
| totalPages | uint16 | 32774 | 2 |
funcGetContractAddresses#12
in 0Bout 160B
←output5 fields · 160B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| dedicatedRevenueAddress | id | 0 | 32 | |
| poolARevenueAddress | id | 32 | 32 | |
| poolDRevenueAddress | id | 64 | 32 | |
| fundraisingAddress | id | 96 | 32 | |
| exchangeAddress | id | 128 | 32 |
funcGetPayoutsQrwa#13
in 2Bout 32776B
→input1 field · 2B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| page | uint16 | 0 | 2 |
←output5 fields · 32776B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| payouts | QRWAPayoutEntry[512] | 0 | 32768 | |
| nextIdx | uint16 | 32768 | 2 | |
| returnedCount | uint16 | 32770 | 2 | |
| page | uint16 | 32772 | 2 | |
| totalPages | uint16 | 32774 | 2 |
funcGetPayoutsDedicated#14
in 2Bout 32776B
→input1 field · 2B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| page | uint16 | 0 | 2 |
←output5 fields · 32776B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| payouts | QRWAPayoutEntry[512] | 0 | 32768 | |
| nextIdx | uint16 | 32768 | 2 | |
| returnedCount | uint16 | 32770 | 2 | |
| page | uint16 | 32772 | 2 | |
| totalPages | uint16 | 32774 | 2 |
funcGetScDividendTracking#15
in 0Bout 40968B
←output3 fields · 40968B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| count | uint64 | 0 | 8 | |
| scContractIds | id[1024] | 8 | 32768 | |
| cumulativeDividends | uint64[1024] | 32776 | 8192 |
funcGetPayoutsPoolD#16
in 2Bout 32776B
→input1 field · 2B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| page | uint16 | 0 | 2 |
←output5 fields · 32776B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| payouts | QRWAPayoutEntry[512] | 0 | 32768 | |
| nextIdx | uint16 | 32768 | 2 | |
| returnedCount | uint16 | 32770 | 2 | |
| page | uint16 | 32772 | 2 | |
| totalPages | uint16 | 32774 | 2 |
Structs
4structQRWAGovParams
184B8 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| mAdminAddress | id | 0 | 32 | |
| electricityAddress | id | 32 | 32 | |
| maintenanceAddress | id | 64 | 32 | |
| reinvestmentAddress | id | 96 | 32 | |
| qmineDevAddress | id | 128 | 32 | |
| electricityPercent | uint64 | 160 | 8 | |
| maintenancePercent | uint64 | 168 | 8 | |
| reinvestmentPercent | uint64 | 176 | 8 |
structAsset
40B2 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| issuer | id | 0 | 32 | |
| assetName | uint64 | 32 | 8 |
structQRWAGovProposal
208B4 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposalId | uint64 | 0 | 8 | |
| status | uint64 | 8 | 8 | |
| score | uint64 | 16 | 8 | |
| params | QRWAGovParams | 24 | 184 |
structQRWAPayoutEntry
64B8 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| recipient | id | 0 | 32 | |
| amount | uint64 | 32 | 8 | |
| qmineHolding | uint64 | 40 | 8 | |
| qrwaHolding | uint64 | 48 | 8 | |
| tick | uint32 | 56 | 4 | |
| epoch | uint16 | 60 | 2 | |
| payoutType | uint8 | 62 | 1 | |
| _pad0 | uint8 | 63 | 1 |
Raw JSON
{ "contractIndex": 20, "contractName": "qRWA", "contractAddress": "UAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHQEE", "epoch": 212, "coreVersion": "v1.290.0", "structs": { "QRWAGovParams": { "name": "QRWAGovParams", "fields": [ { "name": "mAdminAddress", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "electricityAddress", "type": "id", "offset": 32, "byteLength": 32 }, { "name": "maintenanceAddress", "type": "id", "offset": 64, "byteLength": 32 }, { "name": "reinvestmentAddress", "type": "id", "offset": 96, "byteLength": 32 }, { "name": "qmineDevAddress", "type": "id", "offset": 128, "byteLength": 32 }, { "name": "electricityPercent", "type": "uint64", "offset": 160, "byteLength": 8 }, { "name": "maintenancePercent", "type": "uint64", "offset": 168, "byteLength": 8 }, { "name": "reinvestmentPercent", "type": "uint64", "offset": 176, "byteLength": 8 } ], "byteLength": 184 }, "Asset": { "name": "Asset", "byteLength": 40, "fields": [ { "name": "issuer", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "assetName", "type": "uint64", "offset": 32, "byteLength": 8 } ] }, "QRWAGovProposal": { "name": "QRWAGovProposal", "fields": [ { "name": "proposalId", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "status", "type": "uint64", "offset": 8, "byteLength": 8 }, { "name": "score", "type": "uint64", "offset": 16, "byteLength": 8 }, { "name": "params", "type": "struct", "offset": 24, "byteLength": 184, "structRef": "QRWAGovParams" } ], "byteLength": 208 }, "QRWAPayoutEntry": { "name": "QRWAPayoutEntry", "fields": [ { "name": "recipient", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "amount", "type": "uint64", "offset": 32, "byteLength": 8 }, { "name": "qmineHolding", "type": "uint64", "offset": 40, "byteLength": 8 }, { "name": "qrwaHolding", "type": "uint64", "offset": 48, "byteLength": 8 }, { "name": "tick", "type": "uint32", "offset": 56, "byteLength": 4 }, { "name": "epoch", "type": "uint16", "offset": 60, "byteLength": 2 }, { "name": "payoutType", "type": "uint8", "offset": 62, "byteLength": 1 }, { "name": "_pad0", "type": "uint8", "offset": 63, "byteLength": 1 } ], "byteLength": 64 } }, "procedures": [ { "kind": "procedure", "inputType": 3, "name": "DonateToTreasury", "inputFields": [ { "name": "amount", "type": "uint64", "offset": 0, "byteLength": 8 } ], "outputFields": [ { "name": "status", "type": "uint64", "offset": 0, "byteLength": 8 } ], "inputSize": 8, "outputSize": 8 }, { "kind": "procedure", "inputType": 4, "name": "VoteGovParams", "inputFields": [ { "name": "proposal", "type": "struct", "offset": 0, "byteLength": 184, "structRef": "QRWAGovParams" } ], "outputFields": [ { "name": "status", "type": "uint64", "offset": 0, "byteLength": 8 } ], "inputSize": 184, "outputSize": 8 }, { "kind": "procedure", "inputType": 7, "name": "DepositGeneralAsset", "inputFields": [ { "name": "asset", "type": "struct", "offset": 0, "byteLength": 40, "structRef": "Asset" }, { "name": "amount", "type": "uint64", "offset": 40, "byteLength": 8 } ], "outputFields": [ { "name": "status", "type": "uint64", "offset": 0, "byteLength": 8 } ], "inputSize": 48, "outputSize": 8 }, { "kind": "procedure", "inputType": 8, "name": "RevokeAssetManagementRights", "inputFields": [ { "name": "asset", "type": "struct", "offset": 0, "byteLength": 40, "structRef": "Asset" }, { "name": "numberOfShares", "type": "sint64", "offset": 40, "byteLength": 8 } ], "outputFields": [ { "name": "transferredNumberOfShares", "type": "sint64", "offset": 0, "byteLength": 8 }, { "name": "status", "type": "uint64", "offset": 8, "byteLength": 8 } ], "inputSize": 48, "outputSize": 16 }, { "kind": "procedure", "inputType": 9, "name": "SetPoolARevenueAddress", "inputFields": [ { "name": "newAddress", "type": "id", "offset": 0, "byteLength": 32 } ], "outputFields": [ { "name": "status", "type": "uint64", "offset": 0, "byteLength": 8 } ], "inputSize": 32, "outputSize": 8 }, { "kind": "procedure", "inputType": 10, "name": "SetPoolDRevenueAddress", "inputFields": [ { "name": "newAddress", "type": "id", "offset": 0, "byteLength": 32 } ], "outputFields": [ { "name": "status", "type": "uint64", "offset": 0, "byteLength": 8 } ], "inputSize": 32, "outputSize": 8 } ], "functions": [ { "kind": "function", "inputType": 1, "name": "GetGovParams", "inputFields": [], "outputFields": [ { "name": "params", "type": "struct", "offset": 0, "byteLength": 184, "structRef": "QRWAGovParams" } ], "inputSize": 0, "outputSize": 184 }, { "kind": "function", "inputType": 2, "name": "GetGovPoll", "inputFields": [ { "name": "proposalId", "type": "uint64", "offset": 0, "byteLength": 8 } ], "outputFields": [ { "name": "proposal", "type": "struct", "offset": 0, "byteLength": 208, "structRef": "QRWAGovProposal" }, { "name": "status", "type": "uint64", "offset": 208, "byteLength": 8 } ], "inputSize": 8, "outputSize": 216 }, { "kind": "function", "inputType": 4, "name": "GetTreasuryBalance", "inputFields": [], "outputFields": [ { "name": "balance", "type": "uint64", "offset": 0, "byteLength": 8 } ], "inputSize": 0, "outputSize": 8 }, { "kind": "function", "inputType": 5, "name": "GetDividendBalances", "inputFields": [], "outputFields": [ { "name": "revenuePoolA", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "revenuePoolB", "type": "uint64", "offset": 8, "byteLength": 8 }, { "name": "dedicatedRevenuePool", "type": "uint64", "offset": 16, "byteLength": 8 }, { "name": "poolAQmineDividend", "type": "uint64", "offset": 24, "byteLength": 8 }, { "name": "poolAQrwaDividend", "type": "uint64", "offset": 32, "byteLength": 8 }, { "name": "poolBQmineDividend", "type": "uint64", "offset": 40, "byteLength": 8 }, { "name": "poolBQrwaDividend", "type": "uint64", "offset": 48, "byteLength": 8 }, { "name": "poolCQmineDividend", "type": "uint64", "offset": 56, "byteLength": 8 }, { "name": "poolCQrwaDividend", "type": "uint64", "offset": 64, "byteLength": 8 }, { "name": "poolDRevenuePool", "type": "uint64", "offset": 72, "byteLength": 8 }, { "name": "poolDQmineDividend", "type": "uint64", "offset": 80, "byteLength": 8 }, { "name": "poolDQrwaDividend", "type": "uint64", "offset": 88, "byteLength": 8 } ], "inputSize": 0, "outputSize": 96 }, { "kind": "function", "inputType": 6, "name": "GetTotalDistributed", "inputFields": [], "outputFields": [ { "name": "totalPoolADistributed", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "totalPoolBDistributed", "type": "uint64", "offset": 8, "byteLength": 8 }, { "name": "totalPoolCDistributed", "type": "uint64", "offset": 16, "byteLength": 8 }, { "name": "totalPoolDDistributed", "type": "uint64", "offset": 24, "byteLength": 8 }, { "name": "payoutTotalQmineBegin", "type": "uint64", "offset": 32, "byteLength": 8 } ], "inputSize": 0, "outputSize": 40 }, { "kind": "function", "inputType": 8, "name": "GetActiveGovPollIds", "inputFields": [], "outputFields": [ { "name": "count", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "ids", "type": "array", "offset": 8, "byteLength": 512, "arrayLength": 64, "arrayItemType": "uint64", "arrayItemByteLength": 8 } ], "inputSize": 0, "outputSize": 520 }, { "kind": "function", "inputType": 9, "name": "GetGeneralAssetBalance", "inputFields": [ { "name": "asset", "type": "struct", "offset": 0, "byteLength": 40, "structRef": "Asset" } ], "outputFields": [ { "name": "balance", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "status", "type": "uint64", "offset": 8, "byteLength": 8 } ], "inputSize": 40, "outputSize": 16 }, { "kind": "function", "inputType": 10, "name": "GetGeneralAssets", "inputFields": [], "outputFields": [ { "name": "count", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "assets", "type": "array", "offset": 8, "byteLength": 40960, "arrayLength": 1024, "arrayItemStructRef": "Asset", "arrayItemByteLength": 40 }, { "name": "balances", "type": "array", "offset": 40968, "byteLength": 8192, "arrayLength": 1024, "arrayItemType": "uint64", "arrayItemByteLength": 8 } ], "inputSize": 0, "outputSize": 49160 }, { "kind": "function", "inputType": 11, "name": "GetPayoutsQmine", "inputFields": [ { "name": "page", "type": "uint16", "offset": 0, "byteLength": 2 } ], "outputFields": [ { "name": "payouts", "type": "array", "offset": 0, "byteLength": 32768, "arrayLength": 512, "arrayItemStructRef": "QRWAPayoutEntry", "arrayItemByteLength": 64 }, { "name": "nextIdx", "type": "uint16", "offset": 32768, "byteLength": 2 }, { "name": "returnedCount", "type": "uint16", "offset": 32770, "byteLength": 2 }, { "name": "page", "type": "uint16", "offset": 32772, "byteLength": 2 }, { "name": "totalPages", "type": "uint16", "offset": 32774, "byteLength": 2 } ], "inputSize": 2, "outputSize": 32776 }, { "kind": "function", "inputType": 12, "name": "GetContractAddresses", "inputFields": [], "outputFields": [ { "name": "dedicatedRevenueAddress", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "poolARevenueAddress", "type": "id", "offset": 32, "byteLength": 32 }, { "name": "poolDRevenueAddress", "type": "id", "offset": 64, "byteLength": 32 }, { "name": "fundraisingAddress", "type": "id", "offset": 96, "byteLength": 32 }, { "name": "exchangeAddress", "type": "id", "offset": 128, "byteLength": 32 } ], "inputSize": 0, "outputSize": 160 }, { "kind": "function", "inputType": 13, "name": "GetPayoutsQrwa", "inputFields": [ { "name": "page", "type": "uint16", "offset": 0, "byteLength": 2 } ], "outputFields": [ { "name": "payouts", "type": "array", "offset": 0, "byteLength": 32768, "arrayLength": 512, "arrayItemStructRef": "QRWAPayoutEntry", "arrayItemByteLength": 64 }, { "name": "nextIdx", "type": "uint16", "offset": 32768, "byteLength": 2 }, { "name": "returnedCount", "type": "uint16", "offset": 32770, "byteLength": 2 }, { "name": "page", "type": "uint16", "offset": 32772, "byteLength": 2 }, { "name": "totalPages", "type": "uint16", "offset": 32774, "byteLength": 2 } ], "inputSize": 2, "outputSize": 32776 }, { "kind": "function", "inputType": 14, "name": "GetPayoutsDedicated", "inputFields": [ { "name": "page", "type": "uint16", "offset": 0, "byteLength": 2 } ], "outputFields": [ { "name": "payouts", "type": "array", "offset": 0, "byteLength": 32768, "arrayLength": 512, "arrayItemStructRef": "QRWAPayoutEntry", "arrayItemByteLength": 64 }, { "name": "nextIdx", "type": "uint16", "offset": 32768, "byteLength": 2 }, { "name": "returnedCount", "type": "uint16", "offset": 32770, "byteLength": 2 }, { "name": "page", "type": "uint16", "offset": 32772, "byteLength": 2 }, { "name": "totalPages", "type": "uint16", "offset": 32774, "byteLength": 2 } ], "inputSize": 2, "outputSize": 32776 }, { "kind": "function", "inputType": 15, "name": "GetScDividendTracking", "inputFields": [], "outputFields": [ { "name": "count", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "scContractIds", "type": "array", "offset": 8, "byteLength": 32768, "arrayLength": 1024, "arrayItemType": "id", "arrayItemByteLength": 32 }, { "name": "cumulativeDividends", "type": "array", "offset": 32776, "byteLength": 8192, "arrayLength": 1024, "arrayItemType": "uint64", "arrayItemByteLength": 8 } ], "inputSize": 0, "outputSize": 40968 }, { "kind": "function", "inputType": 16, "name": "GetPayoutsPoolD", "inputFields": [ { "name": "page", "type": "uint16", "offset": 0, "byteLength": 2 } ], "outputFields": [ { "name": "payouts", "type": "array", "offset": 0, "byteLength": 32768, "arrayLength": 512, "arrayItemStructRef": "QRWAPayoutEntry", "arrayItemByteLength": 64 }, { "name": "nextIdx", "type": "uint16", "offset": 32768, "byteLength": 2 }, { "name": "returnedCount", "type": "uint16", "offset": 32770, "byteLength": 2 }, { "name": "page", "type": "uint16", "offset": 32772, "byteLength": 2 }, { "name": "totalPages", "type": "uint16", "offset": 32774, "byteLength": 2 } ], "inputSize": 2, "outputSize": 32776 } ], "effectiveFromEpoch": 212, "effectiveToEpoch": null }