{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "WindowStatusResponse",
"type": "object",
"required": [
"alpha",
"base_rate",
"beta",
"min_profitable_difficulty",
"proof_count",
"window_d_rate",
"window_entries",
"window_size"
],
"properties": {
"alpha": {
"description": "Current PID alpha as decimal string.",
"type": "string"
},
"base_rate": {
"description": "Current base_rate (atomic LI per difficulty bit).",
"allOf": [
{
"$ref": "#/definitions/Uint128"
}
]
},
"beta": {
"description": "Current PID beta as decimal string.",
"type": "string"
},
"min_profitable_difficulty": {
"description": "Dynamic minimum profitable difficulty (spec ยง8.4).",
"type": "integer",
"format": "uint32",
"minimum": 0.0
},
"proof_count": {
"description": "Total proofs ever accepted (monotonic).",
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"window_d_rate": {
"description": "Current D_rate as decimal string (difficulty bits per second).",
"type": "string"
},
"window_entries": {
"description": "Current number of entries in the window buffer.",
"type": "integer",
"format": "uint32",
"minimum": 0.0
},
"window_size": {
"description": "Configured window size N.",
"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/window_status_response.json
ฯ 0.0%