Data structures

Below are the data structures used by the Thrift protocol when communicating with the node

struct AmountCommission
{

1: required i16 commission = 0;

}

struct CumulativeAmount

{

1: required i64 integral = 0;

2: required i64 fraction = 0;

}

typedef map<Currency, general.Amount> Balance;

typedef map<Currency, CumulativeAmount> Total;

struct SmartContractDeploy

{

1: string sourceCode

2: list<general.ByteCodeObject> byteCodeObjects

3: string hashState

4: i32 tokenStandard

}

// Smart contract info

struct SmartContract


On This Page
Data structures