QIP
Idx 18·Since e189·1 ABI version
SAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABNI
Procedures
3proccreateICO#1
in 128Bout 4B
→input11 fields · 128B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| issuer | id | 0 | 32 | |
| address1 | id | 32 | 32 | |
| assetName | uint64 | 64 | 8 | |
| price1 | uint64 | 72 | 8 | |
| price2 | uint64 | 80 | 8 | |
| price3 | uint64 | 88 | 8 | |
| saleAmountForPhase1 | uint64 | 96 | 8 | |
| saleAmountForPhase2 | uint64 | 104 | 8 | |
| saleAmountForPhase3 | uint64 | 112 | 8 | |
| percent1 | uint32 | 120 | 4 | |
| startEpoch | uint32 | 124 | 4 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procbuyToken#2
in 12Bout 4B
→input2 fields · 12B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| indexOfICO | uint32 | 0 | 4 | |
| amount | uint64 | 4 | 8 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
Functions
1funcgetICOInfo#1
in 4Bout 184B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| indexOfICO | uint32 | 0 | 4 |
←output15 fields · 184B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| creatorOfICO | id | 0 | 32 | |
| issuer | id | 32 | 32 | |
| address1 | id | 64 | 32 | |
| assetName | uint64 | 96 | 8 | |
| price1 | uint64 | 104 | 8 | |
| price2 | uint64 | 112 | 8 | |
| price3 | uint64 | 120 | 8 | |
| saleAmountForPhase1 | uint64 | 128 | 8 | |
| saleAmountForPhase2 | uint64 | 136 | 8 | |
| saleAmountForPhase3 | uint64 | 144 | 8 | |
| remainingAmountForPhase1 | uint64 | 152 | 8 | |
| remainingAmountForPhase2 | uint64 | 160 | 8 | |
| remainingAmountForPhase3 | uint64 | 168 | 8 | |
| percent1 | uint32 | 176 | 4 | |
| startEpoch | uint32 | 180 | 4 |
Structs
1structAsset
40B2 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| issuer | id | 0 | 32 | |
| assetName | uint64 | 32 | 8 |
Raw JSON
{ "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 }