{ "contract_name": "stargaze-fair-burn", "contract_version": "1.0.4", "idl_version": "1.0.0", "instantiate": { "$schema": "http://json-schema.org/draft-07/schema#", "title": "InstantiateMsg", "type": "object", "required": [ "fee_bps" ], "properties": { "fee_bps": { "description": "The percentage of funds to be burned, represented as basis points", "type": "integer", "format": "uint64", "minimum": 0.0 } }, "additionalProperties": false }, "execute": { "$schema": "http://json-schema.org/draft-07/schema#", "title": "ExecuteMsg", "oneOf": [ { "type": "object", "required": [ "fair_burn" ], "properties": { "fair_burn": { "type": "object", "properties": { "recipient": { "type": [ "string", "null" ] } }, "additionalProperties": false } }, "additionalProperties": false } ] }, "query": { "$schema": "http://json-schema.org/draft-07/schema#", "title": "QueryMsg", "oneOf": [ { "type": "object", "required": [ "contract_version" ], "properties": { "contract_version": { "type": "object", "additionalProperties": false } }, "additionalProperties": false }, { "type": "object", "required": [ "config" ], "properties": { "config": { "type": "object", "additionalProperties": false } }, "additionalProperties": false } ] }, "migrate": null, "sudo": null, "responses": { "config": { "$schema": "http://json-schema.org/draft-07/schema#", "title": "Config", "type": "object", "required": [ "fee_percent" ], "properties": { "fee_percent": { "description": "The percentage of funds to be burned", "allOf": [ { "$ref": "#/definitions/Decimal" } ] } }, "additionalProperties": false, "definitions": { "Decimal": { "description": "A fixed-point decimal value with 18 fractional digits, i.e. Decimal(1_000_000_000_000_000_000) == 1.0\n\nThe greatest possible value that can be represented is 340282366920938463463.374607431768211455 (which is (2^128 - 1) / 10^18)", "type": "string" } } }, "contract_version": { "$schema": "http://json-schema.org/draft-07/schema#", "title": "ContractVersion", "type": "object", "required": [ "contract", "version" ], "properties": { "contract": { "description": "contract is the crate name of the implementing contract, eg. `crate:cw20-base` we will use other prefixes for other languages, and their standard global namespacing", "type": "string" }, "version": { "description": "version is any string that this implementation knows. It may be simple counter \"1\", \"2\". or semantic version on release tags \"v0.7.0\", or some custom feature flag list. the only code that needs to understand the version parsing is code that knows how to migrate from the given contract (and is tied to it's implementation somehow)", "type": "string" } }, "additionalProperties": false } } }