{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "EmissionInfoResponse",
  "type": "object",
  "required": [
    "alpha",
    "beta",
    "emission_rate",
    "gross_rate",
    "mining_rate",
    "staking_rate",
    "windowed_fees"
  ],
  "properties": {
    "alpha": {
      "description": "Current PID alpha as micros.",
      "type": "integer",
      "format": "uint64",
      "minimum": 0.0
    },
    "beta": {
      "description": "Current PID beta as micros.",
      "type": "integer",
      "format": "uint64",
      "minimum": 0.0
    },
    "emission_rate": {
      "description": "Current emission rate (atomic LI per second).",
      "allOf": [
        {
          "$ref": "#/definitions/Uint128"
        }
      ]
    },
    "gross_rate": {
      "description": "Gross reward rate G (emission + fees*(1-beta)) per second.",
      "allOf": [
        {
          "$ref": "#/definitions/Uint128"
        }
      ]
    },
    "mining_rate": {
      "description": "Mining share of gross rate.",
      "allOf": [
        {
          "$ref": "#/definitions/Uint128"
        }
      ]
    },
    "staking_rate": {
      "description": "Staking share of gross rate.",
      "allOf": [
        {
          "$ref": "#/definitions/Uint128"
        }
      ]
    },
    "windowed_fees": {
      "description": "Windowed fee sum (raw fees in current window).",
      "allOf": [
        {
          "$ref": "#/definitions/Uint128"
        }
      ]
    }
  },
  "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"
    }
  }
}

Local Graph