{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "QueryMsg",
"anyOf": [
{
"description": "Returns the reserve and supply quantities, as well as the spot price to buy 1 token",
"type": "object",
"required": [
"curve_info"
],
"properties": {
"curve_info": {
"type": "object"
}
},
"additionalProperties": false
},
{
"description": "Implements CW20. Returns the current balance of the given address, 0 if unset.",
"type": "object",
"required": [
"balance"
],
"properties": {
"balance": {
"type": "object",
"required": [
"address"
],
"properties": {
"address": {
"type": "string"
}
}
}
},
"additionalProperties": false
},
{
"description": "Implements CW20. Returns metadata on the contract - name, decimals, supply, etc.",
"type": "object",
"required": [
"token_info"
],
"properties": {
"token_info": {
"type": "object"
}
},
"additionalProperties": false
},
{
"description": "Implements CW20 \"allowance\" extension. Returns how much spender can use from owner account, 0 if unset.",
"type": "object",
"required": [
"allowance"
],
"properties": {
"allowance": {
"type": "object",
"required": [
"owner",
"spender"
],
"properties": {
"owner": {
"type": "string"
},
"spender": {
"type": "string"
}
}
}
},
"additionalProperties": false
}
]
}