{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ConfigResponse",
"type": "object",
"required": [
"admin",
"alpha",
"beta",
"core_contract",
"estimated_gas_cost_uboot",
"fee_bucket_duration",
"fee_num_buckets",
"genesis_time",
"max_proof_age",
"min_profitable_difficulty",
"paused",
"pid_interval",
"refer_contract",
"stake_contract",
"token_contract",
"warmup_base_rate",
"window_size"
],
"properties": {
"admin": {
"type": "string"
},
"alpha": {
"description": "PID alpha as micros [300_000..700_000].",
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"beta": {
"description": "PID beta as micros [0..900_000].",
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"core_contract": {
"type": "string"
},
"estimated_gas_cost_uboot": {
"$ref": "#/definitions/Uint128"
},
"fee_bucket_duration": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"fee_num_buckets": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
},
"genesis_time": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"max_proof_age": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"min_profitable_difficulty": {
"description": "Dynamic minimum difficulty based on gas cost and base_rate (spec ยง8.4).",
"type": "integer",
"format": "uint32",
"minimum": 0.0
},
"paused": {
"type": "boolean"
},
"pid_interval": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"refer_contract": {
"type": "string"
},
"stake_contract": {
"type": "string"
},
"token_contract": {
"type": "string"
},
"warmup_base_rate": {
"$ref": "#/definitions/Uint128"
},
"window_size": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
}
},
"additionalProperties": false,
"definitions": {
"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"
}
}
}
cw-cyber/contracts/litium-mine/schema/config_response.json
ฯ 0.0%