moneymarket-liquidation-queue 0.1.0

A MoneyMarket liquidation contract - handles over liquidation model
Documentation
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "InstantiateMsg",
  "type": "object",
  "required": [
    "bid_fee",
    "liquidation_threshold",
    "liquidator_fee",
    "oracle_contract",
    "overseer",
    "owner",
    "price_timeframe",
    "safe_ratio",
    "stable_contract",
    "waiting_period"
  ],
  "properties": {
    "bid_fee": {
      "description": "Fee applied to executed bids Sent to Overseer interest buffer",
      "allOf": [
        {
          "$ref": "#/definitions/Decimal256"
        }
      ]
    },
    "liquidation_threshold": {
      "description": "Liquidation threshold amount in stable denom. When the current collaterals value is smaller than the threshold, all collaterals will be liquidated",
      "allOf": [
        {
          "$ref": "#/definitions/Uint256"
        }
      ]
    },
    "liquidator_fee": {
      "description": "Fee applied to executed bids Sent to the address executing the liquidation",
      "allOf": [
        {
          "$ref": "#/definitions/Decimal256"
        }
      ]
    },
    "oracle_contract": {
      "type": "string"
    },
    "overseer": {
      "type": "string"
    },
    "owner": {
      "type": "string"
    },
    "price_timeframe": {
      "description": "Valid oracle price timeframe",
      "type": "integer",
      "format": "uint64",
      "minimum": 0.0
    },
    "safe_ratio": {
      "description": "borrow_amount / borrow_limit must always be bigger than safe_ratio.",
      "allOf": [
        {
          "$ref": "#/definitions/Decimal256"
        }
      ]
    },
    "stable_contract": {
      "type": "string"
    },
    "waiting_period": {
      "description": "Time period that needs to pass for a bid to be activated (seconds)",
      "type": "integer",
      "format": "uint64",
      "minimum": 0.0
    }
  },
  "definitions": {
    "Decimal256": {
      "description": "A fixed-point decimal value with 18 fractional digits, i.e. Decimal256(1_000_000_000_000_000_000) == 1.0 The greatest possible value that can be represented is 115792089237316195423570985008687907853269984665640564039457.584007913129639935 (which is (2^128 - 1) / 10^18)",
      "type": "string"
    },
    "Uint256": {
      "type": "string"
    }
  }
}