{
"contractIndex": 18,
"contractName": "QIP",
"contractAddress": "SAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABNI",
"epoch": 189,
"coreVersion": "v1.268.1",
"structs": {
"Asset": {
"name": "Asset",
"byteLength": 40,
"fields": [
{
"name": "issuer",
"type": "id",
"offset": 0,
"byteLength": 32
},
{
"name": "assetName",
"type": "uint64",
"offset": 32,
"byteLength": 8
}
]
}
},
"procedures": [
{
"kind": "procedure",
"inputType": 1,
"name": "createICO",
"inputFields": [
{
"name": "issuer",
"type": "id",
"offset": 0,
"byteLength": 32
},
{
"name": "address1",
"type": "id",
"offset": 32,
"byteLength": 32
},
{
"name": "assetName",
"type": "uint64",
"offset": 64,
"byteLength": 8
},
{
"name": "price1",
"type": "uint64",
"offset": 72,
"byteLength": 8
},
{
"name": "price2",
"type": "uint64",
"offset": 80,
"byteLength": 8
},
{
"name": "price3",
"type": "uint64",
"offset": 88,
"byteLength": 8
},
{
"name": "saleAmountForPhase1",
"type": "uint64",
"offset": 96,
"byteLength": 8
},
{
"name": "saleAmountForPhase2",
"type": "uint64",
"offset": 104,
"byteLength": 8
},
{
"name": "saleAmountForPhase3",
"type": "uint64",
"offset": 112,
"byteLength": 8
},
{
"name": "percent1",
"type": "uint32",
"offset": 120,
"byteLength": 4
},
{
"name": "startEpoch",
"type": "uint32",
"offset": 124,
"byteLength": 4
}
],
"outputFields": [
{
"name": "returnCode",
"type": "sint32",
"offset": 0,
"byteLength": 4
}
],
"inputSize": 128,
"outputSize": 4
},
{
"kind": "procedure",
"inputType": 2,
"name": "buyToken",
"inputFields": [
{
"name": "indexOfICO",
"type": "uint32",
"offset": 0,
"byteLength": 4
},
{
"name": "amount",
"type": "uint64",
"offset": 4,
"byteLength": 8
}
],
"outputFields": [
{
"name": "returnCode",
"type": "sint32",
"offset": 0,
"byteLength": 4
}
],
"inputSize": 12,
"outputSize": 4
},
{
"kind": "procedure",
"inputType": 3,
"name": "TransferShareManagementRights",
"inputFields": [
{
"name": "asset",
"type": "struct",
"offset": 0,
"byteLength": 40,
"structRef": "Asset"
},
{
"name": "numberOfShares",
"type": "sint64",
"offset": 40,
"byteLength": 8
},
{
"name": "newManagingContractIndex",
"type": "uint32",
"offset": 48,
"byteLength": 4
}
],
"outputFields": [
{
"name": "transferredNumberOfShares",
"type": "sint64",
"offset": 0,
"byteLength": 8
}
],
"inputSize": 52,
"outputSize": 8
}
],
"functions": [
{
"kind": "function",
"inputType": 1,
"name": "getICOInfo",
"inputFields": [
{
"name": "indexOfICO",
"type": "uint32",
"offset": 0,
"byteLength": 4
}
],
"outputFields": [
{
"name": "creatorOfICO",
"type": "id",
"offset": 0,
"byteLength": 32
},
{
"name": "issuer",
"type": "id",
"offset": 32,
"byteLength": 32
},
{
"name": "address1",
"type": "id",
"offset": 64,
"byteLength": 32
},
{
"name": "assetName",
"type": "uint64",
"offset": 96,
"byteLength": 8
},
{
"name": "price1",
"type": "uint64",
"offset": 104,
"byteLength": 8
},
{
"name": "price2",
"type": "uint64",
"offset": 112,
"byteLength": 8
},
{
"name": "price3",
"type": "uint64",
"offset": 120,
"byteLength": 8
},
{
"name": "saleAmountForPhase1",
"type": "uint64",
"offset": 128,
"byteLength": 8
},
{
"name": "saleAmountForPhase2",
"type": "uint64",
"offset": 136,
"byteLength": 8
},
{
"name": "saleAmountForPhase3",
"type": "uint64",
"offset": 144,
"byteLength": 8
},
{
"name": "remainingAmountForPhase1",
"type": "uint64",
"offset": 152,
"byteLength": 8
},
{
"name": "remainingAmountForPhase2",
"type": "uint64",
"offset": 160,
"byteLength": 8
},
{
"name": "remainingAmountForPhase3",
"type": "uint64",
"offset": 168,
"byteLength": 8
},
{
"name": "percent1",
"type": "uint32",
"offset": 176,
"byteLength": 4
},
{
"name": "startEpoch",
"type": "uint32",
"offset": 180,
"byteLength": 4
}
],
"inputSize": 4,
"outputSize": 184
}
],
"effectiveFromEpoch": 189,
"effectiveToEpoch": null
}