{
"programType": "contract",
"specVersion": "1.2",
"encodingVersion": "1",
"concreteTypes": [
{
"type": "()",
"concreteTypeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
},
{
"type": "enum std::option::Option<struct std::string::String>",
"concreteTypeId": "7c06d929390a9aeeb8ffccf8173ac0d101a9976d99dda01cce74541a81e75ac0",
"metadataTypeId": 1,
"typeArguments": [
"9a7f1d3e963c10e0a4ea70a8e20a4813d1dc5682e28f74cb102ae50d32f7f98c"
]
},
{
"type": "enum std::option::Option<u64>",
"concreteTypeId": "d852149004cc9ec0bbe7dc4e37bffea1d41469b759512b6136f2e865a4c06e7d",
"metadataTypeId": 1,
"typeArguments": [
"1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
]
},
{
"type": "enum std::option::Option<u8>",
"concreteTypeId": "2da102c46c7263beeed95818cd7bee801716ba8303dddafdcd0f6c9efda4a0f1",
"metadataTypeId": 1,
"typeArguments": [
"c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b"
]
},
{
"type": "struct std::address::Address",
"concreteTypeId": "f597b637c3b0f588fb8d7086c6f4735caa3122b85f0423b82e489f9bb58e2308",
"metadataTypeId": 4
},
{
"type": "struct std::asset_id::AssetId",
"concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974",
"metadataTypeId": 5
},
{
"type": "struct std::string::String",
"concreteTypeId": "9a7f1d3e963c10e0a4ea70a8e20a4813d1dc5682e28f74cb102ae50d32f7f98c",
"metadataTypeId": 8
},
{
"type": "u64",
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
},
{
"type": "u8",
"concreteTypeId": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b"
}
],
"metadataTypes": [
{
"type": "b256",
"metadataTypeId": 0
},
{
"type": "enum std::option::Option",
"metadataTypeId": 1,
"components": [
{
"name": "None",
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
},
{
"name": "Some",
"typeId": 2
}
],
"typeParameters": [
2
]
},
{
"type": "generic T",
"metadataTypeId": 2
},
{
"type": "raw untyped ptr",
"metadataTypeId": 3
},
{
"type": "struct std::address::Address",
"metadataTypeId": 4,
"components": [
{
"name": "bits",
"typeId": 0
}
]
},
{
"type": "struct std::asset_id::AssetId",
"metadataTypeId": 5,
"components": [
{
"name": "bits",
"typeId": 0
}
]
},
{
"type": "struct std::bytes::Bytes",
"metadataTypeId": 6,
"components": [
{
"name": "buf",
"typeId": 7
},
{
"name": "len",
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
}
]
},
{
"type": "struct std::bytes::RawBytes",
"metadataTypeId": 7,
"components": [
{
"name": "ptr",
"typeId": 3
},
{
"name": "cap",
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
}
]
},
{
"type": "struct std::string::String",
"metadataTypeId": 8,
"components": [
{
"name": "bytes",
"typeId": 6
}
]
}
],
"functions": [
{
"name": "decimals",
"inputs": [
{
"name": "asset",
"concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
}
],
"output": "2da102c46c7263beeed95818cd7bee801716ba8303dddafdcd0f6c9efda4a0f1",
"attributes": [
{
"name": "storage",
"arguments": [
"read"
]
}
]
},
{
"name": "name",
"inputs": [
{
"name": "asset",
"concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
}
],
"output": "7c06d929390a9aeeb8ffccf8173ac0d101a9976d99dda01cce74541a81e75ac0",
"attributes": [
{
"name": "storage",
"arguments": [
"read"
]
}
]
},
{
"name": "symbol",
"inputs": [
{
"name": "asset",
"concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
}
],
"output": "7c06d929390a9aeeb8ffccf8173ac0d101a9976d99dda01cce74541a81e75ac0",
"attributes": [
{
"name": "storage",
"arguments": [
"read"
]
}
]
},
{
"name": "total_assets",
"inputs": [],
"output": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
"attributes": [
{
"name": "storage",
"arguments": [
"read"
]
}
]
},
{
"name": "total_supply",
"inputs": [
{
"name": "asset",
"concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
}
],
"output": "d852149004cc9ec0bbe7dc4e37bffea1d41469b759512b6136f2e865a4c06e7d",
"attributes": [
{
"name": "storage",
"arguments": [
"read"
]
}
]
},
{
"name": "mint_to_address",
"inputs": [
{
"name": "recipient",
"concreteTypeId": "f597b637c3b0f588fb8d7086c6f4735caa3122b85f0423b82e489f9bb58e2308"
},
{
"name": "amount",
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
}
],
"output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
"attributes": [
{
"name": "storage",
"arguments": [
"read",
"write"
]
}
]
}
],
"loggedTypes": [],
"messagesTypes": [],
"configurables": [],
"errorCodes": {},
"panickingCalls": {}
}