None
None
{
"Enum": [
{
"ItemCreated": {
"itemId": "<UInt64>",
"metadataURL": {
"Enum": [
{
"None": []
},
{
"Some": [
{
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
"<String of size 64 containing lowercase hex characters.>"
]
}
]
},
"url": "<String>"
}
]
}
]
}
}
},
{
"ItemStatusChanged": {
"additionalData": {
"bytes": [
"<UInt8>"
]
},
"itemId": "<UInt64>",
"newStatus": {
"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": []
}
]
}
}
}
]
}
None
None
{
"items": [
[
"<UInt64>",
{
"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": []
}
]
}
}
]
],
"next_item_id": "<UInt64>",
"roles": [
[
{
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
[
{
"Enum": [
{
"ADMIN": []
},
{
"PRODUCER": []
},
{
"TRANSPORTER": []
},
{
"SELLER": []
}
]
}
]
]
]
}
{
"Enum": [
{
"None": []
},
{
"Some": [
{
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
"<String of size 64 containing lowercase hex characters.>"
]
}
]
},
"url": "<String>"
}
]
}
]
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"RoleWasNotGranted": []
},
{
"RoleWasAlreadyGranted": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
}
]
}
None
{
"additional_data": {
"bytes": [
"<UInt8>"
]
},
"item_id": "<UInt64>",
"new_status": {
"Enum": [
{
"Produced": []
},
{
"InTransit": []
},
{
"InStore": []
},
{
"Sold": []
}
]
}
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"RoleWasNotGranted": []
},
{
"RoleWasAlreadyGranted": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
}
]
}
None
{
"additional_data": {
"bytes": [
"<UInt8>"
]
},
"item_id": "<UInt64>"
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"RoleWasNotGranted": []
},
{
"RoleWasAlreadyGranted": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
}
]
}
None
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"ADMIN": []
},
{
"PRODUCER": []
},
{
"TRANSPORTER": []
},
{
"SELLER": []
}
]
}
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"RoleWasNotGranted": []
},
{
"RoleWasAlreadyGranted": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
}
]
}
None
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"ADMIN": []
},
{
"PRODUCER": []
},
{
"TRANSPORTER": []
},
{
"SELLER": []
}
]
}
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"RoleWasNotGranted": []
},
{
"RoleWasAlreadyGranted": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
}
]
}
None
Address |
---|
🗎<7854,0> |