[
{
"authorized_account": "<AccountAddress>",
"from": {
"Enum": [
{
"Produced": []
},
{
"InTransit": []
},
{
"InStore": []
},
{
"Sold": []
}
]
},
"to": [
{
"Enum": [
{
"Produced": []
},
{
"InTransit": []
},
{
"InStore": []
},
{
"Sold": []
}
]
}
]
}
]
None
{
"Enum": [
{
"ItemCreated": [
{
"item_id": "<UInt64>",
"metadata_url": {
"Enum": [
{
"None": []
},
{
"Some": [
{
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
"<String of size 64 containing lowercase hex characters.>"
]
}
]
},
"url": "<String>"
}
]
}
]
}
}
]
},
{
"ItemStatusChanged": [
{
"additional_data": {
"bytes": [
"<UInt8>"
]
},
"item_id": "<UInt64>",
"new_status": {
"Enum": [
{
"Produced": []
},
{
"InTransit": []
},
{
"InStore": []
},
{
"Sold": []
}
]
}
}
]
},
{
"GrantRole": [
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"Admin": []
},
{
"Producer": []
},
{
"Transporter": []
},
{
"Seller": []
}
]
}
}
]
},
{
"RevokeRole": [
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"Admin": []
},
{
"Producer": []
},
{
"Transporter": []
},
{
"Seller": []
}
]
}
}
]
},
{
"Nonce": [
{
"account": "<AccountAddress>",
"nonce": "<UInt64>"
}
]
}
]
}
None
None
"<UInt64>"
{
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
}
None
[
{
"Enum": [
{
"Admin": []
},
{
"Producer": []
},
{
"Transporter": []
},
{
"Seller": []
}
]
}
]
"<UInt64>"
None
{
"metadata_url": {
"Enum": [
{
"None": []
},
{
"Some": [
{
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
"<String of size 64 containing lowercase hex characters.>"
]
}
]
},
"url": "<String>"
}
]
}
]
},
"status": {
"Enum": [
{
"Produced": []
},
{
"InTransit": []
},
{
"InStore": []
},
{
"Sold": []
}
]
}
}
{
"Enum": [
{
"None": []
},
{
"Some": [
{
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
"<String of size 64 containing lowercase hex characters.>"
]
}
]
},
"url": "<String>"
}
]
}
]
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
}
]
}
None
{
"additional_data": {
"bytes": [
"<UInt8>"
]
},
"item_id": "<UInt64>",
"new_status": {
"Enum": [
{
"Produced": []
},
{
"InTransit": []
},
{
"InStore": []
},
{
"Sold": []
}
]
}
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
}
]
}
None
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"Admin": []
},
{
"Producer": []
},
{
"Transporter": []
},
{
"Seller": []
}
]
}
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
}
]
}
None
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"Admin": []
},
{
"Producer": []
},
{
"Transporter": []
},
{
"Seller": []
}
]
}
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
}
]
}
None
{
"message": {
"contract_address": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"entry_point": "<String>",
"nonce": "<UInt64>",
"payload": [
"<UInt8>"
],
"timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
},
"signature": [
[
"<UInt8>",
[
[
"<UInt8>",
{
"Enum": [
{
"Ed25519": [
"<String of size 128 containing lowercase hex characters.>"
]
}
]
}
]
]
]
],
"signer": "<AccountAddress>"
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
}
]
}
None
{
"message": {
"contract_address": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"entry_point": "<String>",
"nonce": "<UInt64>",
"payload": [
"<UInt8>"
],
"timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
},
"signature": [
[
"<UInt8>",
[
[
"<UInt8>",
{
"Enum": [
{
"Ed25519": [
"<String of size 128 containing lowercase hex characters.>"
]
}
]
}
]
]
]
],
"signer": "<AccountAddress>"
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
}
]
}
[
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>"
]
{
"queries": [
"<String>"
]
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
}
]
}
[
{
"Enum": [
{
"NoSupport": []
},
{
"Support": []
},
{
"SupportBy": [
[
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
]
}
]
}
]
{
"contract_address": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"entry_point": "<String>",
"nonce": "<UInt64>",
"payload": [
"<UInt8>"
],
"timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
}
None
None
[
"<AccountAddress>"
]
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
}
]
}
[
"<UInt64>"
]