None
None
None
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"Admin": []
},
{
"Mapper": []
},
{
"StateSyncer": []
}
]
}
}
None
[
"<Bool>"
]
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"Admin": []
},
{
"Mapper": []
},
{
"StateSyncer": []
}
]
}
}
None
None
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"Admin": []
},
{
"Mapper": []
},
{
"StateSyncer": []
}
]
}
}
None
None
{
"amount": "<Amount in microCCD>"
}
None
None
{
"account": "<AccountAddress>"
}
None
None
{
"migrate": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<String>",
"<String with lowercase hex>"
]
]
}
]
},
"module": "<String of size 64 containing lowercase hex characters.>"
}
{
"Enum": [
{
"InvalidTokenId": []
},
{
"InsufficientFunds": []
},
{
"Unauthorized": []
},
{
"Custom": [
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"ContractPaused": []
},
{
"InvokeContractError": []
},
{
"InvokeTransferError": []
},
{
"TokenNotMapped": []
},
{
"RoleNotAssigned": []
},
{
"WithdrawFeeTooLow": []
},
{
"OperationAlreadyProcessed": []
},
{
"FailedUpgradeMissingModule": []
},
{
"FailedUpgradeMissingContract": []
},
{
"FailedUpgradeUnsupportedModuleVersion": []
},
{
"OnlyAccountsCanWithdraw": []
}
]
}
]
}
]
}
None
{
"paused": "<Bool>"
}
{
"Enum": [
{
"InvalidTokenId": []
},
{
"InsufficientFunds": []
},
{
"Unauthorized": []
},
{
"Custom": [
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"ContractPaused": []
},
{
"InvokeContractError": []
},
{
"InvokeTransferError": []
},
{
"TokenNotMapped": []
},
{
"RoleNotAssigned": []
},
{
"WithdrawFeeTooLow": []
},
{
"OperationAlreadyProcessed": []
},
{
"FailedUpgradeMissingModule": []
},
{
"FailedUpgradeMissingContract": []
},
{
"FailedUpgradeUnsupportedModuleVersion": []
},
{
"OnlyAccountsCanWithdraw": []
}
]
}
]
}
]
}
None
"<UInt64>"
None
"<Bool>"
{
"Enum": [
{
"Deposit": [
{
"amount": "<String of size at most 74 containing an unsigned integer.>",
"id": "<UInt64>",
"root": [
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>"
],
"token_id": "<String with lowercase hex>",
"user": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
}
}
]
},
{
"TokenMap": [
{
"child": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<UInt64>",
"root": [
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>"
]
}
]
}
]
}
None
None
{
"amount": "<String of size at most 74 containing an unsigned integer.>",
"eth_address": [
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>"
],
"token": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"token_id": "<String with lowercase hex>"
}
None
None