{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "InstantiateMsg",
"type": "object",
"required": [
"core_contract",
"max_proof_age",
"refer_contract",
"stake_contract",
"token_contract",
"warmup_base_rate"
],
"properties": {
"admin": {
"description": "Admin address (defaults to sender).",
"type": [
"string",
"null"
]
},
"core_contract": {
"description": "litium-core contract address.",
"type": "string"
},
"estimated_gas_cost_uboot": {
"description": "Estimated gas cost in uboot.",
"anyOf": [
{
"$ref": "#/definitions/Uint128"
},
{
"type": "null"
}
]
},
"fee_bucket_duration": {
"description": "Seconds per fee bucket (default: 600).",
"type": [
"integer",
"null"
],
"format": "uint64",
"minimum": 0.0
},
"fee_num_buckets": {
"description": "Number of fee buckets in ring buffer (default: 36).",
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0.0
},
"genesis_time": {
"description": "Genesis time override (unix seconds). Defaults to 1772619159.",
"type": [
"integer",
"null"
],
"format": "uint64",
"minimum": 0.0
},
"max_proof_age": {
"description": "Maximum proof age in seconds.",
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"pid_interval": {
"description": "PID update interval K (default: 100).",
"type": [
"integer",
"null"
],
"format": "uint64",
"minimum": 0.0
},
"refer_contract": {
"description": "litium-refer contract address.",
"type": "string"
},
"stake_contract": {
"description": "litium-stake contract address.",
"type": "string"
},
"token_contract": {
"description": "litium-core CW-20 contract address (token contract).",
"type": "string"
},
"warmup_base_rate": {
"description": "Fixed base_rate during warmup (first N proofs).",
"allOf": [
{
"$ref": "#/definitions/Uint128"
}
]
},
"window_size": {
"description": "Sliding window size N (default: 5000).",
"type": [
"integer",
"null"
],
"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/instantiate_msg.json
ฯ 0.0%