{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "InstantiateMsg",
"type": "object",
"required": [
"decimals",
"initial_balances",
"name",
"symbol"
],
"properties": {
"decimals": {
"type": "integer",
"format": "uint8",
"minimum": 0.0
},
"initial_balances": {
"type": "array",
"items": {
"$ref": "#/definitions/Cw20Coin"
}
},
"mint": {
"anyOf": [
{
"$ref": "#/definitions/MinterResponse"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"symbol": {
"type": "string"
}
},
"definitions": {
"Cw20Coin": {
"type": "object",
"required": [
"address",
"amount"
],
"properties": {
"address": {
"type": "string"
},
"amount": {
"$ref": "#/definitions/Uint128"
}
}
},
"MinterResponse": {
"type": "object",
"required": [
"minter"
],
"properties": {
"cap": {
"description": "cap is how many more tokens can be issued by the minter",
"anyOf": [
{
"$ref": "#/definitions/Uint128"
},
{
"type": "null"
}
]
},
"minter": {
"type": "string"
}
}
},
"Uint128": {
"description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```",
"type": "string"
}
}
}