{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "ExecuteMsg",
  "oneOf": [
    {
      "description": "Bind a referrer for a miner. Only litium-mine can call.",
      "type": "object",
      "required": [
        "bind_referrer"
      ],
      "properties": {
        "bind_referrer": {
          "type": "object",
          "required": [
            "miner",
            "referrer"
          ],
          "properties": {
            "miner": {
              "type": "string"
            },
            "referrer": {
              "type": "string"
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    {
      "description": "Accrue referral reward for a miner's referrer. Only litium-mine can call. If miner has no referrer, accrues to community pool.",
      "type": "object",
      "required": [
        "accrue_reward"
      ],
      "properties": {
        "accrue_reward": {
          "type": "object",
          "required": [
            "amount",
            "miner"
          ],
          "properties": {
            "amount": {
              "$ref": "#/definitions/Uint128"
            },
            "miner": {
              "type": "string"
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    {
      "description": "Claim accumulated referral rewards. Called by referrer directly.",
      "type": "object",
      "required": [
        "claim_rewards"
      ],
      "properties": {
        "claim_rewards": {
          "type": "object",
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    {
      "description": "Claim community pool balance. Admin only.",
      "type": "object",
      "required": [
        "claim_community_pool"
      ],
      "properties": {
        "claim_community_pool": {
          "type": "object",
          "required": [
            "to"
          ],
          "properties": {
            "to": {
              "type": "string"
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    {
      "description": "Update config. Admin only.",
      "type": "object",
      "required": [
        "update_config"
      ],
      "properties": {
        "update_config": {
          "type": "object",
          "properties": {
            "admin": {
              "type": [
                "string",
                "null"
              ]
            },
            "community_pool_addr": {
              "type": [
                "string",
                "null"
              ]
            },
            "core_contract": {
              "type": [
                "string",
                "null"
              ]
            },
            "mine_contract": {
              "type": [
                "string",
                "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 referral stats, community pool, and clears all referrer bindings.",
      "type": "object",
      "required": [
        "reset_state"
      ],
      "properties": {
        "reset_state": {
          "type": "object",
          "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": {
        "community_pool_addr": {
          "type": [
            "string",
            "null"
          ]
        },
        "community_pool_balance": {
          "anyOf": [
            {
              "$ref": "#/definitions/Uint128"
            },
            {
              "type": "null"
            }
          ]
        },
        "paused": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "total_accrued_rewards": {
          "anyOf": [
            {
              "$ref": "#/definitions/Uint128"
            },
            {
              "type": "null"
            }
          ]
        },
        "total_claimed_rewards": {
          "anyOf": [
            {
              "$ref": "#/definitions/Uint128"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "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/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-mine/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