{ "contract_name": "base-factory", "contract_version": "3.14.0", "idl_version": "1.0.0", "instantiate": { "$schema": "http://json-schema.org/draft-07/schema#", "title": "InstantiateMsg", "type": "object", "required": [ "params" ], "properties": { "params": { "$ref": "#/definitions/MinterParams_for_Nullable_Empty" } }, "additionalProperties": false, "definitions": { "Coin": { "type": "object", "required": [ "amount", "denom" ], "properties": { "amount": { "$ref": "#/definitions/Uint128" }, "denom": { "type": "string" } } }, "Empty": { "description": "An empty struct that serves as a placeholder in different places, such as contracts that don't set a custom message.\n\nIt is designed to be expressable in correct JSON and JSON Schema but contains no meaningful data. Previously we used enums without cases, but those cannot represented as valid JSON Schema (https://github.com/CosmWasm/cosmwasm/issues/451)", "type": "object" }, "MinterParams_for_Nullable_Empty": { "description": "Common params for all minters used for storage", "type": "object", "required": [ "allowed_sg721_code_ids", "code_id", "creation_fee", "frozen", "max_trading_offset_secs", "min_mint_price", "mint_fee_bps" ], "properties": { "allowed_sg721_code_ids": { "type": "array", "items": { "type": "integer", "format": "uint64", "minimum": 0.0 } }, "code_id": { "description": "The minter code id", "type": "integer", "format": "uint64", "minimum": 0.0 }, "creation_fee": { "$ref": "#/definitions/Coin" }, "extension": { "anyOf": [ { "$ref": "#/definitions/Empty" }, { "type": "null" } ] }, "frozen": { "type": "boolean" }, "max_trading_offset_secs": { "type": "integer", "format": "uint64", "minimum": 0.0 }, "min_mint_price": { "$ref": "#/definitions/Coin" }, "mint_fee_bps": { "type": "integer", "format": "uint64", "minimum": 0.0 } }, "additionalProperties": false }, "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" } } }, "execute": { "$schema": "http://json-schema.org/draft-07/schema#", "title": "ExecuteMsg", "oneOf": [ { "type": "object", "required": [ "create_minter" ], "properties": { "create_minter": { "$ref": "#/definitions/CreateMinterMsg_for_Nullable_Empty" } }, "additionalProperties": false } ], "definitions": { "CollectionInfo_for_RoyaltyInfoResponse": { "type": "object", "required": [ "creator", "description", "image" ], "properties": { "creator": { "type": "string" }, "description": { "type": "string" }, "explicit_content": { "type": [ "boolean", "null" ] }, "external_link": { "type": [ "string", "null" ] }, "image": { "type": "string" }, "royalty_info": { "anyOf": [ { "$ref": "#/definitions/RoyaltyInfoResponse" }, { "type": "null" } ] }, "start_trading_time": { "anyOf": [ { "$ref": "#/definitions/Timestamp" }, { "type": "null" } ] } }, "additionalProperties": false }, "CollectionParams": { "type": "object", "required": [ "code_id", "info", "name", "symbol" ], "properties": { "code_id": { "description": "The collection code id", "type": "integer", "format": "uint64", "minimum": 0.0 }, "info": { "$ref": "#/definitions/CollectionInfo_for_RoyaltyInfoResponse" }, "name": { "type": "string" }, "symbol": { "type": "string" } }, "additionalProperties": false }, "CreateMinterMsg_for_Nullable_Empty": { "type": "object", "required": [ "collection_params" ], "properties": { "collection_params": { "$ref": "#/definitions/CollectionParams" }, "init_msg": { "anyOf": [ { "$ref": "#/definitions/Empty" }, { "type": "null" } ] } }, "additionalProperties": false }, "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" }, "Empty": { "description": "An empty struct that serves as a placeholder in different places, such as contracts that don't set a custom message.\n\nIt is designed to be expressable in correct JSON and JSON Schema but contains no meaningful data. Previously we used enums without cases, but those cannot represented as valid JSON Schema (https://github.com/CosmWasm/cosmwasm/issues/451)", "type": "object" }, "RoyaltyInfoResponse": { "type": "object", "required": [ "payment_address", "share" ], "properties": { "payment_address": { "type": "string" }, "share": { "$ref": "#/definitions/Decimal" } }, "additionalProperties": false }, "Timestamp": { "description": "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.\n\n## Examples\n\n``` # use cosmwasm_std::Timestamp; let ts = Timestamp::from_nanos(1_000_000_202); assert_eq!(ts.nanos(), 1_000_000_202); assert_eq!(ts.seconds(), 1); assert_eq!(ts.subsec_nanos(), 202);\n\nlet ts = ts.plus_seconds(2); assert_eq!(ts.nanos(), 3_000_000_202); assert_eq!(ts.seconds(), 3); assert_eq!(ts.subsec_nanos(), 202); ```", "allOf": [ { "$ref": "#/definitions/Uint64" } ] }, "Uint64": { "description": "A thin wrapper around u64 that is using strings for JSON encoding/decoding, such that the full u64 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 `u64` to get the value out:\n\n``` # use cosmwasm_std::Uint64; let a = Uint64::from(42u64); assert_eq!(a.u64(), 42);\n\nlet b = Uint64::from(70u32); assert_eq!(b.u64(), 70); ```", "type": "string" } } }, "query": null, "migrate": null, "sudo": null, "responses": null }