Source on GitHub

QVAULT

Idx 10·Since e204·2 ABI versions
KAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAXIUO
12Procedures
20Functions
8Structs
2ABI Versions

Current ABI

e204Open Snapshot →

Procedures

12State-changing
procstake#1
in 4Bout 4B
input1 field · 4B
nametypeoffsetbyteslayout
amountuint3204
output1 field · 4B
nametypeoffsetbyteslayout
returnCodesint3204
procunStake#2
in 4Bout 4B
input1 field · 4B
nametypeoffsetbyteslayout
amountuint3204
output1 field · 4B
nametypeoffsetbyteslayout
returnCodesint3204
procsubmitGP#3
in 256Bout 4B
input1 field · 256B
nametypeoffsetbyteslayout
urluint8[256]0256
output1 field · 4B
nametypeoffsetbyteslayout
returnCodesint3204
procsubmitQCP#4
in 260Bout 4B
input2 fields · 260B
nametypeoffsetbyteslayout
newQuorumPercentuint3204
urluint8[256]4256
output1 field · 4B
nametypeoffsetbyteslayout
returnCodesint3204
procsubmitIPOP#5
in 260Bout 4B
input2 fields · 260B
nametypeoffsetbyteslayout
ipoContractIndexuint3204
urluint8[256]4256
output1 field · 4B
nametypeoffsetbyteslayout
returnCodesint3204
procsubmitQEarnP#6
in 268Bout 4B
input3 fields · 268B
nametypeoffsetbyteslayout
amountPerEpochuint6408
numberOfEpochuint3284
urluint8[256]12256
output1 field · 4B
nametypeoffsetbyteslayout
returnCodesint3204
procsubmitFundP#7
in 268Bout 4B
input3 fields · 268B
nametypeoffsetbyteslayout
priceOfOneQcapuint6408
amountOfQcapuint3284
urluint8[256]12256
output1 field · 4B
nametypeoffsetbyteslayout
returnCodesint3204
procsubmitMKTP#8
in 284Bout 4B
input6 fields · 284B
nametypeoffsetbyteslayout
amountOfQubicuint6408
shareNameuint6488
amountOfQcapuint32164
indexOfShareuint32204
amountOfShareuint32244
urluint8[256]28256
output1 field · 4B
nametypeoffsetbyteslayout
returnCodesint3204
procsubmitAlloP#9
in 268Bout 4B
input4 fields · 268B
nametypeoffsetbyteslayout
reinvesteduint3204
burnuint3244
distributeuint3284
urluint8[256]12256
output1 field · 4B
nametypeoffsetbyteslayout
returnCodesint3204
procvoteInProposal#11
in 17Bout 4B
input4 fields · 17B
nametypeoffsetbyteslayout
priceOfIPOuint6408
proposalTypeuint3284
proposalIduint32124
yesuint8161
output1 field · 4B
nametypeoffsetbyteslayout
returnCodesint3204
procbuyQcap#12
in 4Bout 4B
input1 field · 4B
nametypeoffsetbyteslayout
amountuint3204
output1 field · 4B
nametypeoffsetbyteslayout
returnCodesint3204
procTransferShareManagementRights#13
in 52Bout 12B
input3 fields · 52B
nametypeoffsetbyteslayout
assetAsset040
numberOfSharessint64408
newManagingContractIndexuint32484
output2 fields · 12B
nametypeoffsetbyteslayout
transferredNumberOfSharessint6408
returnCodesint3284

Functions

20Read-only
funcgetData#1
in 0Bout 168B
output32 fields · 168B
nametypeoffsetbyteslayout
returnCodesint3204
totalVotingPoweruint6448
proposalCreateFunduint64128
reinvestingFunduint64208
totalEpochRevenueuint64288
fundForBurnuint64368
totalStakedQcapAmountuint64448
qcapMarketCapuint64528
raisedFundByQcapuint64608
lastRoundPriceOfQcapuint64688
revenueByQearnuint64768
qcapSoldAmountuint32844
shareholderDividenduint32884
QCAPHolderPermilleuint32924
reinvestingPermilleuint32964
burnPermilleuint321004
qcapBurnPermilleuint321044
numberOfStakeruint321084
numberOfVotingPoweruint321124
numberOfGPuint321164
numberOfQCPuint321204
numberOfIPOPuint321244
numberOfQEarnPuint321284
numberOfFundPuint321324
numberOfMKTPuint321364
numberOfAlloPuint321404
transferRightsFeeuint321444
minQuorumRquint321484
maxQuorumRquint321524
totalQcapBurntAmountuint321564
circulatingSupplyuint321604
quorumPercentuint321644
funcgetStakedAmountAndVotingPower#2
in 32Bout 12B
input1 field · 32B
nametypeoffsetbyteslayout
addressid032
output3 fields · 12B
nametypeoffsetbyteslayout
returnCodesint3204
stakedAmountuint3244
votingPoweruint3284
funcgetGP#3
in 4Bout 313B
input1 field · 4B
nametypeoffsetbyteslayout
proposalIduint3204
output2 fields · 313B
nametypeoffsetbyteslayout
returnCodesint3204
proposalGPInfo4309
funcgetQCP#4
in 4Bout 317B
input1 field · 4B
nametypeoffsetbyteslayout
proposalIduint3204
output2 fields · 317B
nametypeoffsetbyteslayout
returnCodesint3204
proposalQCPInfo4313
funcgetIPOP#5
in 4Bout 333B
input1 field · 4B
nametypeoffsetbyteslayout
proposalIduint3204
output2 fields · 333B
nametypeoffsetbyteslayout
returnCodesint3204
proposalIPOPInfo4329
funcgetQEarnP#6
in 4Bout 330B
input1 field · 4B
nametypeoffsetbyteslayout
proposalIduint3204
output2 fields · 330B
nametypeoffsetbyteslayout
returnCodesint3204
proposalQEarnPInfo4326
funcgetFundP#7
in 4Bout 329B
input1 field · 4B
nametypeoffsetbyteslayout
proposalIduint3204
output2 fields · 329B
nametypeoffsetbyteslayout
returnCodesint3204
proposalFundPInfo4325
funcgetMKTP#8
in 4Bout 341B
input1 field · 4B
nametypeoffsetbyteslayout
proposalIduint3204
output2 fields · 341B
nametypeoffsetbyteslayout
returnCodesint3204
proposalMKTPInfo4337
funcgetAlloP#9
in 4Bout 325B
input1 field · 4B
nametypeoffsetbyteslayout
proposalIduint3204
output2 fields · 325B
nametypeoffsetbyteslayout
returnCodesint3204
proposalAlloPInfo4321
funcgetIdentitiesHvVtPw#11
in 8Bout 9220B
input2 fields · 8B
nametypeoffsetbyteslayout
offsetuint3204
countuint3244
output3 fields · 9220B
nametypeoffsetbyteslayout
returnCodesint3204
idListid[256]48192
amountListuint32[256]81961024
funcppCreationPower#12
in 32Bout 5B
input1 field · 32B
nametypeoffsetbyteslayout
addressid032
output2 fields · 5B
nametypeoffsetbyteslayout
returnCodesint3204
statusuint841
funcgetQcapBurntAmountInLastEpoches#13
in 4Bout 8B
input1 field · 4B
nametypeoffsetbyteslayout
numberOfLastEpochesuint3204
output2 fields · 8B
nametypeoffsetbyteslayout
returnCodesint3204
burntAmountuint3244
funcgetAmountToBeSoldPerYear#14
in 4Bout 4B
input1 field · 4B
nametypeoffsetbyteslayout
yearuint3204
output1 field · 4B
nametypeoffsetbyteslayout
amountuint3204
funcgetTotalRevenueInQcap#15
in 0Bout 8B
output1 field · 8B
nametypeoffsetbyteslayout
revenueuint6408
funcgetRevenueInQcapPerEpoch#16
in 4Bout 32B
input1 field · 4B
nametypeoffsetbyteslayout
epochuint3204
output4 fields · 32B
nametypeoffsetbyteslayout
epochTotalRevenueuint6408
epochOneQcapRevenueuint6488
epochOneQvaultRevenueuint64168
epochReinvestAmountuint64248
funcgetRevenuePerShare#17
in 4Bout 8B
input1 field · 4B
nametypeoffsetbyteslayout
contractIndexuint3204
output1 field · 8B
nametypeoffsetbyteslayout
revenueuint6408
funcgetAmountOfShareQvaultHold#18
in 40Bout 4B
input1 field · 40B
nametypeoffsetbyteslayout
assetInfoAsset040
output1 field · 4B
nametypeoffsetbyteslayout
amountuint3204
funcgetNumberOfHolderAndAvgAm#19
in 0Bout 12B
output3 fields · 12B
nametypeoffsetbyteslayout
returnCodesint3204
numberOfQcapHolderuint3244
avgAmountuint3284
funcgetAmountForQearnInUpcomingEpoch#20
in 4Bout 12B
input1 field · 4B
nametypeoffsetbyteslayout
epochuint3204
output2 fields · 12B
nametypeoffsetbyteslayout
returnCodesint3204
amountuint6448
funcgetVoteInProposal#21
in 48Bout 24B
input3 fields · 48B
nametypeoffsetbyteslayout
userIDid032
proposalTypeuint64328
proposalIduint64408
output3 fields · 24B
nametypeoffsetbyteslayout
returnCodesint6408
isVotedsint6488
votingDecisionsint64168

Structs

8Shared types
structAsset
40B2 fields
fields
nametypeoffsetbyteslayout
issuerid032
assetNameuint64328
structGPInfo
309B8 fields
fields
nametypeoffsetbyteslayout
proposerid032
currentTotalVotingPoweruint32324
numberOfYesuint32364
numberOfNouint32404
proposedEpochuint32444
currentQuorumPercentuint32484
urluint8[256]52256
resultuint83081
structQCPInfo
313B9 fields
fields
nametypeoffsetbyteslayout
proposerid032
currentTotalVotingPoweruint32324
numberOfYesuint32364
numberOfNouint32404
proposedEpochuint32444
currentQuorumPercentuint32484
newQuorumPercentuint32524
urluint8[256]56256
resultuint83121
structIPOPInfo
329B11 fields
fields
nametypeoffsetbyteslayout
proposerid032
totalWeightuint64328
assignedFunduint64408
currentTotalVotingPoweruint32484
numberOfYesuint32524
numberOfNouint32564
proposedEpochuint32604
ipoContractIndexuint32644
currentQuorumPercentuint32684
urluint8[256]72256
resultuint83281
structQEarnPInfo
326B11 fields
fields
nametypeoffsetbyteslayout
proposerid032
amountOfInvestPerEpochuint64328
assignedFundPerEpochuint64408
currentTotalVotingPoweruint32484
numberOfYesuint32524
numberOfNouint32564
proposedEpochuint32604
currentQuorumPercentuint32644
urluint8[256]68256
numberOfEpochuint83241
resultuint83251
structFundPInfo
325B11 fields
fields
nametypeoffsetbyteslayout
proposerid032
pricePerOneQcapuint64328
currentTotalVotingPoweruint32404
numberOfYesuint32444
numberOfNouint32484
amountOfQcapuint32524
restSaleAmountuint32564
proposedEpochuint32604
currentQuorumPercentuint32644
urluint8[256]68256
resultuint83241
structMKTPInfo
337B13 fields
fields
nametypeoffsetbyteslayout
proposerid032
amountOfQubicuint64328
shareNameuint64408
currentTotalVotingPoweruint32484
numberOfYesuint32524
numberOfNouint32564
amountOfQcapuint32604
currentQuorumPercentuint32644
proposedEpochuint32684
shareIndexuint32724
amountOfShareuint32764
urluint8[256]80256
resultuint83361
structAlloPInfo
321B11 fields
fields
nametypeoffsetbyteslayout
proposerid032
currentTotalVotingPoweruint32324
numberOfYesuint32364
numberOfNouint32404
proposedEpochuint32444
currentQuorumPercentuint32484
reinvesteduint32524
distributeduint32564
burnQcapuint32604
urluint8[256]64256
resultuint83201

Raw JSON

/v1/contracts/10
contracts/10.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
}
QVAULT | qubic registry