QVAULT
Idx 10·Since e204·2 ABI versions
KAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAXIUO
Procedures
12procstake#1
in 4Bout 4B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | uint32 | 0 | 4 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procunStake#2
in 4Bout 4B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | uint32 | 0 | 4 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procsubmitGP#3
in 256Bout 4B
→input1 field · 256B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| url | uint8[256] | 0 | 256 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procsubmitQCP#4
in 260Bout 4B
→input2 fields · 260B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| newQuorumPercent | uint32 | 0 | 4 | |
| url | uint8[256] | 4 | 256 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procsubmitIPOP#5
in 260Bout 4B
→input2 fields · 260B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| ipoContractIndex | uint32 | 0 | 4 | |
| url | uint8[256] | 4 | 256 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procsubmitQEarnP#6
in 268Bout 4B
→input3 fields · 268B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amountPerEpoch | uint64 | 0 | 8 | |
| numberOfEpoch | uint32 | 8 | 4 | |
| url | uint8[256] | 12 | 256 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procsubmitFundP#7
in 268Bout 4B
→input3 fields · 268B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| priceOfOneQcap | uint64 | 0 | 8 | |
| amountOfQcap | uint32 | 8 | 4 | |
| url | uint8[256] | 12 | 256 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procsubmitMKTP#8
in 284Bout 4B
→input6 fields · 284B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amountOfQubic | uint64 | 0 | 8 | |
| shareName | uint64 | 8 | 8 | |
| amountOfQcap | uint32 | 16 | 4 | |
| indexOfShare | uint32 | 20 | 4 | |
| amountOfShare | uint32 | 24 | 4 | |
| url | uint8[256] | 28 | 256 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procsubmitAlloP#9
in 268Bout 4B
→input4 fields · 268B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| reinvested | uint32 | 0 | 4 | |
| burn | uint32 | 4 | 4 | |
| distribute | uint32 | 8 | 4 | |
| url | uint8[256] | 12 | 256 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procvoteInProposal#11
in 17Bout 4B
→input4 fields · 17B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| priceOfIPO | uint64 | 0 | 8 | |
| proposalType | uint32 | 8 | 4 | |
| proposalId | uint32 | 12 | 4 | |
| yes | uint8 | 16 | 1 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procbuyQcap#12
in 4Bout 4B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | uint32 | 0 | 4 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
Functions
20funcgetData#1
in 0Bout 168B
←output32 fields · 168B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 | |
| totalVotingPower | uint64 | 4 | 8 | |
| proposalCreateFund | uint64 | 12 | 8 | |
| reinvestingFund | uint64 | 20 | 8 | |
| totalEpochRevenue | uint64 | 28 | 8 | |
| fundForBurn | uint64 | 36 | 8 | |
| totalStakedQcapAmount | uint64 | 44 | 8 | |
| qcapMarketCap | uint64 | 52 | 8 | |
| raisedFundByQcap | uint64 | 60 | 8 | |
| lastRoundPriceOfQcap | uint64 | 68 | 8 | |
| revenueByQearn | uint64 | 76 | 8 | |
| qcapSoldAmount | uint32 | 84 | 4 | |
| shareholderDividend | uint32 | 88 | 4 | |
| QCAPHolderPermille | uint32 | 92 | 4 | |
| reinvestingPermille | uint32 | 96 | 4 | |
| burnPermille | uint32 | 100 | 4 | |
| qcapBurnPermille | uint32 | 104 | 4 | |
| numberOfStaker | uint32 | 108 | 4 | |
| numberOfVotingPower | uint32 | 112 | 4 | |
| numberOfGP | uint32 | 116 | 4 | |
| numberOfQCP | uint32 | 120 | 4 | |
| numberOfIPOP | uint32 | 124 | 4 | |
| numberOfQEarnP | uint32 | 128 | 4 | |
| numberOfFundP | uint32 | 132 | 4 | |
| numberOfMKTP | uint32 | 136 | 4 | |
| numberOfAlloP | uint32 | 140 | 4 | |
| transferRightsFee | uint32 | 144 | 4 | |
| minQuorumRq | uint32 | 148 | 4 | |
| maxQuorumRq | uint32 | 152 | 4 | |
| totalQcapBurntAmount | uint32 | 156 | 4 | |
| circulatingSupply | uint32 | 160 | 4 | |
| quorumPercent | uint32 | 164 | 4 |
funcgetStakedAmountAndVotingPower#2
in 32Bout 12B
→input1 field · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| address | id | 0 | 32 |
←output3 fields · 12B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 | |
| stakedAmount | uint32 | 4 | 4 | |
| votingPower | uint32 | 8 | 4 |
funcgetGP#3
in 4Bout 313B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposalId | uint32 | 0 | 4 |
←output2 fields · 313B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 | |
| proposal | GPInfo | 4 | 309 |
funcgetQCP#4
in 4Bout 317B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposalId | uint32 | 0 | 4 |
←output2 fields · 317B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 | |
| proposal | QCPInfo | 4 | 313 |
funcgetIPOP#5
in 4Bout 333B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposalId | uint32 | 0 | 4 |
←output2 fields · 333B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 | |
| proposal | IPOPInfo | 4 | 329 |
funcgetQEarnP#6
in 4Bout 330B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposalId | uint32 | 0 | 4 |
←output2 fields · 330B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 | |
| proposal | QEarnPInfo | 4 | 326 |
funcgetFundP#7
in 4Bout 329B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposalId | uint32 | 0 | 4 |
←output2 fields · 329B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 | |
| proposal | FundPInfo | 4 | 325 |
funcgetMKTP#8
in 4Bout 341B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposalId | uint32 | 0 | 4 |
←output2 fields · 341B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 | |
| proposal | MKTPInfo | 4 | 337 |
funcgetAlloP#9
in 4Bout 325B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposalId | uint32 | 0 | 4 |
←output2 fields · 325B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 | |
| proposal | AlloPInfo | 4 | 321 |
funcgetIdentitiesHvVtPw#11
in 8Bout 9220B
→input2 fields · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| offset | uint32 | 0 | 4 | |
| count | uint32 | 4 | 4 |
←output3 fields · 9220B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 | |
| idList | id[256] | 4 | 8192 | |
| amountList | uint32[256] | 8196 | 1024 |
funcppCreationPower#12
in 32Bout 5B
→input1 field · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| address | id | 0 | 32 |
←output2 fields · 5B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 | |
| status | uint8 | 4 | 1 |
funcgetQcapBurntAmountInLastEpoches#13
in 4Bout 8B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| numberOfLastEpoches | uint32 | 0 | 4 |
←output2 fields · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 | |
| burntAmount | uint32 | 4 | 4 |
funcgetAmountToBeSoldPerYear#14
in 4Bout 4B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| year | uint32 | 0 | 4 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | uint32 | 0 | 4 |
funcgetTotalRevenueInQcap#15
in 0Bout 8B
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| revenue | uint64 | 0 | 8 |
funcgetRevenueInQcapPerEpoch#16
in 4Bout 32B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| epoch | uint32 | 0 | 4 |
←output4 fields · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| epochTotalRevenue | uint64 | 0 | 8 | |
| epochOneQcapRevenue | uint64 | 8 | 8 | |
| epochOneQvaultRevenue | uint64 | 16 | 8 | |
| epochReinvestAmount | uint64 | 24 | 8 |
funcgetNumberOfHolderAndAvgAm#19
in 0Bout 12B
←output3 fields · 12B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 | |
| numberOfQcapHolder | uint32 | 4 | 4 | |
| avgAmount | uint32 | 8 | 4 |
funcgetAmountForQearnInUpcomingEpoch#20
in 4Bout 12B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| epoch | uint32 | 0 | 4 |
←output2 fields · 12B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 | |
| amount | uint64 | 4 | 8 |
funcgetVoteInProposal#21
in 48Bout 24B
→input3 fields · 48B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| userID | id | 0 | 32 | |
| proposalType | uint64 | 32 | 8 | |
| proposalId | uint64 | 40 | 8 |
←output3 fields · 24B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint64 | 0 | 8 | |
| isVoted | sint64 | 8 | 8 | |
| votingDecision | sint64 | 16 | 8 |
Structs
8structAsset
40B2 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| issuer | id | 0 | 32 | |
| assetName | uint64 | 32 | 8 |
structGPInfo
309B8 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposer | id | 0 | 32 | |
| currentTotalVotingPower | uint32 | 32 | 4 | |
| numberOfYes | uint32 | 36 | 4 | |
| numberOfNo | uint32 | 40 | 4 | |
| proposedEpoch | uint32 | 44 | 4 | |
| currentQuorumPercent | uint32 | 48 | 4 | |
| url | uint8[256] | 52 | 256 | |
| result | uint8 | 308 | 1 |
structQCPInfo
313B9 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposer | id | 0 | 32 | |
| currentTotalVotingPower | uint32 | 32 | 4 | |
| numberOfYes | uint32 | 36 | 4 | |
| numberOfNo | uint32 | 40 | 4 | |
| proposedEpoch | uint32 | 44 | 4 | |
| currentQuorumPercent | uint32 | 48 | 4 | |
| newQuorumPercent | uint32 | 52 | 4 | |
| url | uint8[256] | 56 | 256 | |
| result | uint8 | 312 | 1 |
structIPOPInfo
329B11 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposer | id | 0 | 32 | |
| totalWeight | uint64 | 32 | 8 | |
| assignedFund | uint64 | 40 | 8 | |
| currentTotalVotingPower | uint32 | 48 | 4 | |
| numberOfYes | uint32 | 52 | 4 | |
| numberOfNo | uint32 | 56 | 4 | |
| proposedEpoch | uint32 | 60 | 4 | |
| ipoContractIndex | uint32 | 64 | 4 | |
| currentQuorumPercent | uint32 | 68 | 4 | |
| url | uint8[256] | 72 | 256 | |
| result | uint8 | 328 | 1 |
structQEarnPInfo
326B11 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposer | id | 0 | 32 | |
| amountOfInvestPerEpoch | uint64 | 32 | 8 | |
| assignedFundPerEpoch | uint64 | 40 | 8 | |
| currentTotalVotingPower | uint32 | 48 | 4 | |
| numberOfYes | uint32 | 52 | 4 | |
| numberOfNo | uint32 | 56 | 4 | |
| proposedEpoch | uint32 | 60 | 4 | |
| currentQuorumPercent | uint32 | 64 | 4 | |
| url | uint8[256] | 68 | 256 | |
| numberOfEpoch | uint8 | 324 | 1 | |
| result | uint8 | 325 | 1 |
structFundPInfo
325B11 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposer | id | 0 | 32 | |
| pricePerOneQcap | uint64 | 32 | 8 | |
| currentTotalVotingPower | uint32 | 40 | 4 | |
| numberOfYes | uint32 | 44 | 4 | |
| numberOfNo | uint32 | 48 | 4 | |
| amountOfQcap | uint32 | 52 | 4 | |
| restSaleAmount | uint32 | 56 | 4 | |
| proposedEpoch | uint32 | 60 | 4 | |
| currentQuorumPercent | uint32 | 64 | 4 | |
| url | uint8[256] | 68 | 256 | |
| result | uint8 | 324 | 1 |
structMKTPInfo
337B13 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposer | id | 0 | 32 | |
| amountOfQubic | uint64 | 32 | 8 | |
| shareName | uint64 | 40 | 8 | |
| currentTotalVotingPower | uint32 | 48 | 4 | |
| numberOfYes | uint32 | 52 | 4 | |
| numberOfNo | uint32 | 56 | 4 | |
| amountOfQcap | uint32 | 60 | 4 | |
| currentQuorumPercent | uint32 | 64 | 4 | |
| proposedEpoch | uint32 | 68 | 4 | |
| shareIndex | uint32 | 72 | 4 | |
| amountOfShare | uint32 | 76 | 4 | |
| url | uint8[256] | 80 | 256 | |
| result | uint8 | 336 | 1 |
structAlloPInfo
321B11 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposer | id | 0 | 32 | |
| currentTotalVotingPower | uint32 | 32 | 4 | |
| numberOfYes | uint32 | 36 | 4 | |
| numberOfNo | uint32 | 40 | 4 | |
| proposedEpoch | uint32 | 44 | 4 | |
| currentQuorumPercent | uint32 | 48 | 4 | |
| reinvested | uint32 | 52 | 4 | |
| distributed | uint32 | 56 | 4 | |
| burnQcap | uint32 | 60 | 4 | |
| url | uint8[256] | 64 | 256 | |
| result | uint8 | 320 | 1 |
Raw JSON
{ "contractIndex": 10, "contractName": "QVAULT", "contractAddress": "KAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAXIUO", "epoch": 204, "coreVersion": "v1.282.0", "structs": { "Asset": { "name": "Asset", "byteLength": 40, "fields": [ { "name": "issuer", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "assetName", "type": "uint64", "offset": 32, "byteLength": 8 } ] }, "GPInfo": { "name": "GPInfo", "fields": [ { "name": "proposer", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "currentTotalVotingPower", "type": "uint32", "offset": 32, "byteLength": 4 }, { "name": "numberOfYes", "type": "uint32", "offset": 36, "byteLength": 4 }, { "name": "numberOfNo", "type": "uint32", "offset": 40, "byteLength": 4 }, { "name": "proposedEpoch", "type": "uint32", "offset": 44, "byteLength": 4 }, { "name": "currentQuorumPercent", "type": "uint32", "offset": 48, "byteLength": 4 }, { "name": "url", "type": "array", "offset": 52, "byteLength": 256, "arrayLength": 256, "arrayItemType": "uint8", "arrayItemByteLength": 1 }, { "name": "result", "type": "uint8", "offset": 308, "byteLength": 1 } ], "byteLength": 309 }, "QCPInfo": { "name": "QCPInfo", "fields": [ { "name": "proposer", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "currentTotalVotingPower", "type": "uint32", "offset": 32, "byteLength": 4 }, { "name": "numberOfYes", "type": "uint32", "offset": 36, "byteLength": 4 }, { "name": "numberOfNo", "type": "uint32", "offset": 40, "byteLength": 4 }, { "name": "proposedEpoch", "type": "uint32", "offset": 44, "byteLength": 4 }, { "name": "currentQuorumPercent", "type": "uint32", "offset": 48, "byteLength": 4 }, { "name": "newQuorumPercent", "type": "uint32", "offset": 52, "byteLength": 4 }, { "name": "url", "type": "array", "offset": 56, "byteLength": 256, "arrayLength": 256, "arrayItemType": "uint8", "arrayItemByteLength": 1 }, { "name": "result", "type": "uint8", "offset": 312, "byteLength": 1 } ], "byteLength": 313 }, "IPOPInfo": { "name": "IPOPInfo", "fields": [ { "name": "proposer", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "totalWeight", "type": "uint64", "offset": 32, "byteLength": 8 }, { "name": "assignedFund", "type": "uint64", "offset": 40, "byteLength": 8 }, { "name": "currentTotalVotingPower", "type": "uint32", "offset": 48, "byteLength": 4 }, { "name": "numberOfYes", "type": "uint32", "offset": 52, "byteLength": 4 }, { "name": "numberOfNo", "type": "uint32", "offset": 56, "byteLength": 4 }, { "name": "proposedEpoch", "type": "uint32", "offset": 60, "byteLength": 4 }, { "name": "ipoContractIndex", "type": "uint32", "offset": 64, "byteLength": 4 }, { "name": "currentQuorumPercent", "type": "uint32", "offset": 68, "byteLength": 4 }, { "name": "url", "type": "array", "offset": 72, "byteLength": 256, "arrayLength": 256, "arrayItemType": "uint8", "arrayItemByteLength": 1 }, { "name": "result", "type": "uint8", "offset": 328, "byteLength": 1 } ], "byteLength": 329 }, "QEarnPInfo": { "name": "QEarnPInfo", "fields": [ { "name": "proposer", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "amountOfInvestPerEpoch", "type": "uint64", "offset": 32, "byteLength": 8 }, { "name": "assignedFundPerEpoch", "type": "uint64", "offset": 40, "byteLength": 8 }, { "name": "currentTotalVotingPower", "type": "uint32", "offset": 48, "byteLength": 4 }, { "name": "numberOfYes", "type": "uint32", "offset": 52, "byteLength": 4 }, { "name": "numberOfNo", "type": "uint32", "offset": 56, "byteLength": 4 }, { "name": "proposedEpoch", "type": "uint32", "offset": 60, "byteLength": 4 }, { "name": "currentQuorumPercent", "type": "uint32", "offset": 64, "byteLength": 4 }, { "name": "url", "type": "array", "offset": 68, "byteLength": 256, "arrayLength": 256, "arrayItemType": "uint8", "arrayItemByteLength": 1 }, { "name": "numberOfEpoch", "type": "uint8", "offset": 324, "byteLength": 1 }, { "name": "result", "type": "uint8", "offset": 325, "byteLength": 1 } ], "byteLength": 326 }, "FundPInfo": { "name": "FundPInfo", "fields": [ { "name": "proposer", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "pricePerOneQcap", "type": "uint64", "offset": 32, "byteLength": 8 }, { "name": "currentTotalVotingPower", "type": "uint32", "offset": 40, "byteLength": 4 }, { "name": "numberOfYes", "type": "uint32", "offset": 44, "byteLength": 4 }, { "name": "numberOfNo", "type": "uint32", "offset": 48, "byteLength": 4 }, { "name": "amountOfQcap", "type": "uint32", "offset": 52, "byteLength": 4 }, { "name": "restSaleAmount", "type": "uint32", "offset": 56, "byteLength": 4 }, { "name": "proposedEpoch", "type": "uint32", "offset": 60, "byteLength": 4 }, { "name": "currentQuorumPercent", "type": "uint32", "offset": 64, "byteLength": 4 }, { "name": "url", "type": "array", "offset": 68, "byteLength": 256, "arrayLength": 256, "arrayItemType": "uint8", "arrayItemByteLength": 1 }, { "name": "result", "type": "uint8", "offset": 324, "byteLength": 1 } ], "byteLength": 325 }, "MKTPInfo": { "name": "MKTPInfo", "fields": [ { "name": "proposer", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "amountOfQubic", "type": "uint64", "offset": 32, "byteLength": 8 }, { "name": "shareName", "type": "uint64", "offset": 40, "byteLength": 8 }, { "name": "currentTotalVotingPower", "type": "uint32", "offset": 48, "byteLength": 4 }, { "name": "numberOfYes", "type": "uint32", "offset": 52, "byteLength": 4 }, { "name": "numberOfNo", "type": "uint32", "offset": 56, "byteLength": 4 }, { "name": "amountOfQcap", "type": "uint32", "offset": 60, "byteLength": 4 }, { "name": "currentQuorumPercent", "type": "uint32", "offset": 64, "byteLength": 4 }, { "name": "proposedEpoch", "type": "uint32", "offset": 68, "byteLength": 4 }, { "name": "shareIndex", "type": "uint32", "offset": 72, "byteLength": 4 }, { "name": "amountOfShare", "type": "uint32", "offset": 76, "byteLength": 4 }, { "name": "url", "type": "array", "offset": 80, "byteLength": 256, "arrayLength": 256, "arrayItemType": "uint8", "arrayItemByteLength": 1 }, { "name": "result", "type": "uint8", "offset": 336, "byteLength": 1 } ], "byteLength": 337 }, "AlloPInfo": { "name": "AlloPInfo", "fields": [ { "name": "proposer", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "currentTotalVotingPower", "type": "uint32", "offset": 32, "byteLength": 4 }, { "name": "numberOfYes", "type": "uint32", "offset": 36, "byteLength": 4 }, { "name": "numberOfNo", "type": "uint32", "offset": 40, "byteLength": 4 }, { "name": "proposedEpoch", "type": "uint32", "offset": 44, "byteLength": 4 }, { "name": "currentQuorumPercent", "type": "uint32", "offset": 48, "byteLength": 4 }, { "name": "reinvested", "type": "uint32", "offset": 52, "byteLength": 4 }, { "name": "distributed", "type": "uint32", "offset": 56, "byteLength": 4 }, { "name": "burnQcap", "type": "uint32", "offset": 60, "byteLength": 4 }, { "name": "url", "type": "array", "offset": 64, "byteLength": 256, "arrayLength": 256, "arrayItemType": "uint8", "arrayItemByteLength": 1 }, { "name": "result", "type": "uint8", "offset": 320, "byteLength": 1 } ], "byteLength": 321 } }, "procedures": [ { "kind": "procedure", "inputType": 1, "name": "stake", "inputFields": [ { "name": "amount", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 4, "outputSize": 4 }, { "kind": "procedure", "inputType": 2, "name": "unStake", "inputFields": [ { "name": "amount", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 4, "outputSize": 4 }, { "kind": "procedure", "inputType": 3, "name": "submitGP", "inputFields": [ { "name": "url", "type": "array", "offset": 0, "byteLength": 256, "arrayLength": 256, "arrayItemType": "uint8", "arrayItemByteLength": 1 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 256, "outputSize": 4 }, { "kind": "procedure", "inputType": 4, "name": "submitQCP", "inputFields": [ { "name": "newQuorumPercent", "type": "uint32", "offset": 0, "byteLength": 4 }, { "name": "url", "type": "array", "offset": 4, "byteLength": 256, "arrayLength": 256, "arrayItemType": "uint8", "arrayItemByteLength": 1 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 260, "outputSize": 4 }, { "kind": "procedure", "inputType": 5, "name": "submitIPOP", "inputFields": [ { "name": "ipoContractIndex", "type": "uint32", "offset": 0, "byteLength": 4 }, { "name": "url", "type": "array", "offset": 4, "byteLength": 256, "arrayLength": 256, "arrayItemType": "uint8", "arrayItemByteLength": 1 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 260, "outputSize": 4 }, { "kind": "procedure", "inputType": 6, "name": "submitQEarnP", "inputFields": [ { "name": "amountPerEpoch", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "numberOfEpoch", "type": "uint32", "offset": 8, "byteLength": 4 }, { "name": "url", "type": "array", "offset": 12, "byteLength": 256, "arrayLength": 256, "arrayItemType": "uint8", "arrayItemByteLength": 1 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 268, "outputSize": 4 }, { "kind": "procedure", "inputType": 7, "name": "submitFundP", "inputFields": [ { "name": "priceOfOneQcap", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "amountOfQcap", "type": "uint32", "offset": 8, "byteLength": 4 }, { "name": "url", "type": "array", "offset": 12, "byteLength": 256, "arrayLength": 256, "arrayItemType": "uint8", "arrayItemByteLength": 1 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 268, "outputSize": 4 }, { "kind": "procedure", "inputType": 8, "name": "submitMKTP", "inputFields": [ { "name": "amountOfQubic", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "shareName", "type": "uint64", "offset": 8, "byteLength": 8 }, { "name": "amountOfQcap", "type": "uint32", "offset": 16, "byteLength": 4 }, { "name": "indexOfShare", "type": "uint32", "offset": 20, "byteLength": 4 }, { "name": "amountOfShare", "type": "uint32", "offset": 24, "byteLength": 4 }, { "name": "url", "type": "array", "offset": 28, "byteLength": 256, "arrayLength": 256, "arrayItemType": "uint8", "arrayItemByteLength": 1 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 284, "outputSize": 4 }, { "kind": "procedure", "inputType": 9, "name": "submitAlloP", "inputFields": [ { "name": "reinvested", "type": "uint32", "offset": 0, "byteLength": 4 }, { "name": "burn", "type": "uint32", "offset": 4, "byteLength": 4 }, { "name": "distribute", "type": "uint32", "offset": 8, "byteLength": 4 }, { "name": "url", "type": "array", "offset": 12, "byteLength": 256, "arrayLength": 256, "arrayItemType": "uint8", "arrayItemByteLength": 1 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 268, "outputSize": 4 }, { "kind": "procedure", "inputType": 11, "name": "voteInProposal", "inputFields": [ { "name": "priceOfIPO", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "proposalType", "type": "uint32", "offset": 8, "byteLength": 4 }, { "name": "proposalId", "type": "uint32", "offset": 12, "byteLength": 4 }, { "name": "yes", "type": "uint8", "offset": 16, "byteLength": 1 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 17, "outputSize": 4 }, { "kind": "procedure", "inputType": 12, "name": "buyQcap", "inputFields": [ { "name": "amount", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 } ], "inputSize": 4, "outputSize": 4 }, { "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 }, { "name": "returnCode", "type": "sint32", "offset": 8, "byteLength": 4 } ], "inputSize": 52, "outputSize": 12 } ], "functions": [ { "kind": "function", "inputType": 1, "name": "getData", "inputFields": [], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 }, { "name": "totalVotingPower", "type": "uint64", "offset": 4, "byteLength": 8 }, { "name": "proposalCreateFund", "type": "uint64", "offset": 12, "byteLength": 8 }, { "name": "reinvestingFund", "type": "uint64", "offset": 20, "byteLength": 8 }, { "name": "totalEpochRevenue", "type": "uint64", "offset": 28, "byteLength": 8 }, { "name": "fundForBurn", "type": "uint64", "offset": 36, "byteLength": 8 }, { "name": "totalStakedQcapAmount", "type": "uint64", "offset": 44, "byteLength": 8 }, { "name": "qcapMarketCap", "type": "uint64", "offset": 52, "byteLength": 8 }, { "name": "raisedFundByQcap", "type": "uint64", "offset": 60, "byteLength": 8 }, { "name": "lastRoundPriceOfQcap", "type": "uint64", "offset": 68, "byteLength": 8 }, { "name": "revenueByQearn", "type": "uint64", "offset": 76, "byteLength": 8 }, { "name": "qcapSoldAmount", "type": "uint32", "offset": 84, "byteLength": 4 }, { "name": "shareholderDividend", "type": "uint32", "offset": 88, "byteLength": 4 }, { "name": "QCAPHolderPermille", "type": "uint32", "offset": 92, "byteLength": 4 }, { "name": "reinvestingPermille", "type": "uint32", "offset": 96, "byteLength": 4 }, { "name": "burnPermille", "type": "uint32", "offset": 100, "byteLength": 4 }, { "name": "qcapBurnPermille", "type": "uint32", "offset": 104, "byteLength": 4 }, { "name": "numberOfStaker", "type": "uint32", "offset": 108, "byteLength": 4 }, { "name": "numberOfVotingPower", "type": "uint32", "offset": 112, "byteLength": 4 }, { "name": "numberOfGP", "type": "uint32", "offset": 116, "byteLength": 4 }, { "name": "numberOfQCP", "type": "uint32", "offset": 120, "byteLength": 4 }, { "name": "numberOfIPOP", "type": "uint32", "offset": 124, "byteLength": 4 }, { "name": "numberOfQEarnP", "type": "uint32", "offset": 128, "byteLength": 4 }, { "name": "numberOfFundP", "type": "uint32", "offset": 132, "byteLength": 4 }, { "name": "numberOfMKTP", "type": "uint32", "offset": 136, "byteLength": 4 }, { "name": "numberOfAlloP", "type": "uint32", "offset": 140, "byteLength": 4 }, { "name": "transferRightsFee", "type": "uint32", "offset": 144, "byteLength": 4 }, { "name": "minQuorumRq", "type": "uint32", "offset": 148, "byteLength": 4 }, { "name": "maxQuorumRq", "type": "uint32", "offset": 152, "byteLength": 4 }, { "name": "totalQcapBurntAmount", "type": "uint32", "offset": 156, "byteLength": 4 }, { "name": "circulatingSupply", "type": "uint32", "offset": 160, "byteLength": 4 }, { "name": "quorumPercent", "type": "uint32", "offset": 164, "byteLength": 4 } ], "inputSize": 0, "outputSize": 168 }, { "kind": "function", "inputType": 2, "name": "getStakedAmountAndVotingPower", "inputFields": [ { "name": "address", "type": "id", "offset": 0, "byteLength": 32 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 }, { "name": "stakedAmount", "type": "uint32", "offset": 4, "byteLength": 4 }, { "name": "votingPower", "type": "uint32", "offset": 8, "byteLength": 4 } ], "inputSize": 32, "outputSize": 12 }, { "kind": "function", "inputType": 3, "name": "getGP", "inputFields": [ { "name": "proposalId", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 }, { "name": "proposal", "type": "struct", "offset": 4, "byteLength": 309, "structRef": "GPInfo" } ], "inputSize": 4, "outputSize": 313 }, { "kind": "function", "inputType": 4, "name": "getQCP", "inputFields": [ { "name": "proposalId", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 }, { "name": "proposal", "type": "struct", "offset": 4, "byteLength": 313, "structRef": "QCPInfo" } ], "inputSize": 4, "outputSize": 317 }, { "kind": "function", "inputType": 5, "name": "getIPOP", "inputFields": [ { "name": "proposalId", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 }, { "name": "proposal", "type": "struct", "offset": 4, "byteLength": 329, "structRef": "IPOPInfo" } ], "inputSize": 4, "outputSize": 333 }, { "kind": "function", "inputType": 6, "name": "getQEarnP", "inputFields": [ { "name": "proposalId", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 }, { "name": "proposal", "type": "struct", "offset": 4, "byteLength": 326, "structRef": "QEarnPInfo" } ], "inputSize": 4, "outputSize": 330 }, { "kind": "function", "inputType": 7, "name": "getFundP", "inputFields": [ { "name": "proposalId", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 }, { "name": "proposal", "type": "struct", "offset": 4, "byteLength": 325, "structRef": "FundPInfo" } ], "inputSize": 4, "outputSize": 329 }, { "kind": "function", "inputType": 8, "name": "getMKTP", "inputFields": [ { "name": "proposalId", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 }, { "name": "proposal", "type": "struct", "offset": 4, "byteLength": 337, "structRef": "MKTPInfo" } ], "inputSize": 4, "outputSize": 341 }, { "kind": "function", "inputType": 9, "name": "getAlloP", "inputFields": [ { "name": "proposalId", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 }, { "name": "proposal", "type": "struct", "offset": 4, "byteLength": 321, "structRef": "AlloPInfo" } ], "inputSize": 4, "outputSize": 325 }, { "kind": "function", "inputType": 11, "name": "getIdentitiesHvVtPw", "inputFields": [ { "name": "offset", "type": "uint32", "offset": 0, "byteLength": 4 }, { "name": "count", "type": "uint32", "offset": 4, "byteLength": 4 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 }, { "name": "idList", "type": "array", "offset": 4, "byteLength": 8192, "arrayLength": 256, "arrayItemType": "id", "arrayItemByteLength": 32 }, { "name": "amountList", "type": "array", "offset": 8196, "byteLength": 1024, "arrayLength": 256, "arrayItemType": "uint32", "arrayItemByteLength": 4 } ], "inputSize": 8, "outputSize": 9220 }, { "kind": "function", "inputType": 12, "name": "ppCreationPower", "inputFields": [ { "name": "address", "type": "id", "offset": 0, "byteLength": 32 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 }, { "name": "status", "type": "uint8", "offset": 4, "byteLength": 1 } ], "inputSize": 32, "outputSize": 5 }, { "kind": "function", "inputType": 13, "name": "getQcapBurntAmountInLastEpoches", "inputFields": [ { "name": "numberOfLastEpoches", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 }, { "name": "burntAmount", "type": "uint32", "offset": 4, "byteLength": 4 } ], "inputSize": 4, "outputSize": 8 }, { "kind": "function", "inputType": 14, "name": "getAmountToBeSoldPerYear", "inputFields": [ { "name": "year", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "amount", "type": "uint32", "offset": 0, "byteLength": 4 } ], "inputSize": 4, "outputSize": 4 }, { "kind": "function", "inputType": 15, "name": "getTotalRevenueInQcap", "inputFields": [], "outputFields": [ { "name": "revenue", "type": "uint64", "offset": 0, "byteLength": 8 } ], "inputSize": 0, "outputSize": 8 }, { "kind": "function", "inputType": 16, "name": "getRevenueInQcapPerEpoch", "inputFields": [ { "name": "epoch", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "epochTotalRevenue", "type": "uint64", "offset": 0, "byteLength": 8 }, { "name": "epochOneQcapRevenue", "type": "uint64", "offset": 8, "byteLength": 8 }, { "name": "epochOneQvaultRevenue", "type": "uint64", "offset": 16, "byteLength": 8 }, { "name": "epochReinvestAmount", "type": "uint64", "offset": 24, "byteLength": 8 } ], "inputSize": 4, "outputSize": 32 }, { "kind": "function", "inputType": 17, "name": "getRevenuePerShare", "inputFields": [ { "name": "contractIndex", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "revenue", "type": "uint64", "offset": 0, "byteLength": 8 } ], "inputSize": 4, "outputSize": 8 }, { "kind": "function", "inputType": 18, "name": "getAmountOfShareQvaultHold", "inputFields": [ { "name": "assetInfo", "type": "struct", "offset": 0, "byteLength": 40, "structRef": "Asset" } ], "outputFields": [ { "name": "amount", "type": "uint32", "offset": 0, "byteLength": 4 } ], "inputSize": 40, "outputSize": 4 }, { "kind": "function", "inputType": 19, "name": "getNumberOfHolderAndAvgAm", "inputFields": [], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 }, { "name": "numberOfQcapHolder", "type": "uint32", "offset": 4, "byteLength": 4 }, { "name": "avgAmount", "type": "uint32", "offset": 8, "byteLength": 4 } ], "inputSize": 0, "outputSize": 12 }, { "kind": "function", "inputType": 20, "name": "getAmountForQearnInUpcomingEpoch", "inputFields": [ { "name": "epoch", "type": "uint32", "offset": 0, "byteLength": 4 } ], "outputFields": [ { "name": "returnCode", "type": "sint32", "offset": 0, "byteLength": 4 }, { "name": "amount", "type": "uint64", "offset": 4, "byteLength": 8 } ], "inputSize": 4, "outputSize": 12 }, { "kind": "function", "inputType": 21, "name": "getVoteInProposal", "inputFields": [ { "name": "userID", "type": "id", "offset": 0, "byteLength": 32 }, { "name": "proposalType", "type": "uint64", "offset": 32, "byteLength": 8 }, { "name": "proposalId", "type": "uint64", "offset": 40, "byteLength": 8 } ], "outputFields": [ { "name": "returnCode", "type": "sint64", "offset": 0, "byteLength": 8 }, { "name": "isVoted", "type": "sint64", "offset": 8, "byteLength": 8 }, { "name": "votingDecision", "type": "sint64", "offset": 16, "byteLength": 8 } ], "inputSize": 48, "outputSize": 24 } ], "effectiveFromEpoch": 204, "effectiveToEpoch": null }