{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "ExecuteMsg",
  "oneOf": [
    {
      "description": "Submit a proof with client-chosen difficulty.",
      "type": "object",
      "required": [
        "submit_proof"
      ],
      "properties": {
        "submit_proof": {
          "type": "object",
          "required": [
            "challenge",
            "difficulty",
            "hash",
            "miner_address",
            "nonce",
            "timestamp"
          ],
          "properties": {
            "challenge": {
              "type": "string"
            },
            "difficulty": {
              "type": "integer",
              "format": "uint32",
              "minimum": 0.0
            },
            "hash": {
              "type": "string"
            },
            "miner_address": {
              "type": "string"
            },
            "nonce": {
              "type": "integer",
              "format": "uint64",
              "minimum": 0.0
            },
            "referrer": {
              "type": [
                "string",
                "null"
              ]
            },
            "timestamp": {
              "type": "integer",
              "format": "uint64",
              "minimum": 0.0
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    {
      "description": "Accrue transfer fees from litium-core (called by core contract only).",
      "type": "object",
      "required": [
        "accrue_fees"
      ],
      "properties": {
        "accrue_fees": {
          "type": "object",
          "required": [
            "amount"
          ],
          "properties": {
            "amount": {
              "$ref": "#/definitions/Uint128"
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    {
      "description": "Update config. Admin only.",
      "type": "object",
      "required": [
        "update_config"
      ],
      "properties": {
        "update_config": {
          "type": "object",
          "properties": {
            "admin": {
              "type": [
                "string",
                "null"
              ]
            },
            "core_contract": {
              "type": [
                "string",
                "null"
              ]
            },
            "estimated_gas_cost_uboot": {
              "anyOf": [
                {
                  "$ref": "#/definitions/Uint128"
                },
                {
                  "type": "null"
                }
              ]
            },
            "genesis_time": {
              "type": [
                "integer",
                "null"
              ],
              "format": "uint64",
              "minimum": 0.0
            },
            "max_proof_age": {
              "type": [
                "integer",
                "null"
              ],
              "format": "uint64",
              "minimum": 0.0
            },
            "pid_interval": {
              "type": [
                "integer",
                "null"
              ],
              "format": "uint64",
              "minimum": 0.0
            },
            "refer_contract": {
              "type": [
                "string",
                "null"
              ]
            },
            "stake_contract": {
              "type": [
                "string",
                "null"
              ]
            },
            "warmup_base_rate": {
              "anyOf": [
                {
                  "$ref": "#/definitions/Uint128"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    {
      "description": "Testing helper: mutate critical runtime state in-place (admin only).",
      "type": "object",
      "required": [
        "apply_testing_overrides"
      ],
      "properties": {
        "apply_testing_overrides": {
          "type": "object",
          "required": [
            "overrides"
          ],
          "properties": {
            "overrides": {
              "$ref": "#/definitions/TestingOverrides"
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    {
      "description": "Full state reset for daily testing (admin only). Zeroes stats, window, PID, fees, miner stats, proof hashes. Optionally sets a new genesis_time (defaults to current block time).",
      "type": "object",
      "required": [
        "reset_state"
      ],
      "properties": {
        "reset_state": {
          "type": "object",
          "properties": {
            "genesis_time": {
              "type": [
                "integer",
                "null"
              ],
              "format": "uint64",
              "minimum": 0.0
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    {
      "type": "object",
      "required": [
        "pause"
      ],
      "properties": {
        "pause": {
          "type": "object",
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    {
      "type": "object",
      "required": [
        "unpause"
      ],
      "properties": {
        "unpause": {
          "type": "object",
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    }
  ],
  "definitions": {
    "TestingOverrides": {
      "type": "object",
      "properties": {
        "max_proof_age": {
          "type": [
            "integer",
            "null"
          ],
          "format": "uint64",
          "minimum": 0.0
        },
        "override_windowed_fees": {
          "anyOf": [
            {
              "$ref": "#/definitions/Uint128"
            },
            {
              "type": "null"
            }
          ]
        },
        "pid_alpha": {
          "type": [
            "integer",
            "null"
          ],
          "format": "uint64",
          "minimum": 0.0
        },
        "pid_beta": {
          "type": [
            "integer",
            "null"
          ],
          "format": "uint64",
          "minimum": 0.0
        },
        "stats_total_proofs": {
          "type": [
            "integer",
            "null"
          ],
          "format": "uint64",
          "minimum": 0.0
        },
        "stats_total_rewards": {
          "anyOf": [
            {
              "$ref": "#/definitions/Uint128"
            },
            {
              "type": "null"
            }
          ]
        },
        "window_count": {
          "type": [
            "integer",
            "null"
          ],
          "format": "uint64",
          "minimum": 0.0
        },
        "window_total_d": {
          "type": [
            "integer",
            "null"
          ],
          "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"
    }
  }
}

Dimensions

cw-cyber/contracts/hub-protocols/schema/execute_msg.json
cw-cyber/contracts/litium-core/schema/execute_msg.json
cw-cyber/contracts/hub-channels/schema/execute_msg.json
cw-cyber/contracts/hub-networks/schema/execute_msg.json
cw-cyber/contracts/litium-refer/schema/execute_msg.json
cw-cyber/contracts/cw-cyber-gift/schema/execute_msg.json
cw-cyber/contracts/hub-tokens/schema/execute_msg.json
cw-cyber/contracts/hub-skills/schema/execute_msg.json
cw-cyber/contracts/litium-wrap/schema/execute_msg.json
cw-cyber/contracts/hub-libs/schema/execute_msg.json
cw-cyber/contracts/cw-cyber-passport/schema/execute_msg.json
cw-cyber/contracts/litium-stake/schema/execute_msg.json
cw-cyber/contracts/cw-cyber-subgraph/schema/execute_msg.json
cw-cyber/contracts/hub-protocols/src/schema/execute_msg.json

Local Graph