Vaulta

eosunitpool1

Contract

The data structures defined by this contract.

  • Action parameter in addconfig

    {
      "name": "addconfig",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "status",
          "type": "uint8"
        },
        {
          "name": "base_interest",
          "type": "uint64"
        },
        {
          "name": "base_reward",
          "type": "uint64"
        },
        {
          "name": "base_reward_borrow_rate",
          "type": "uint64"
        },
        {
          "name": "reserve_factor",
          "type": "uint64"
        },
        {
          "name": "stake_price",
          "type": "float64"
        },
        {
          "name": "total_reward",
          "type": "asset"
        },
        {
          "name": "released_reward",
          "type": "asset"
        },
        {
          "name": "total_cash",
          "type": "asset"
        },
        {
          "name": "total_borrow",
          "type": "asset"
        },
        {
          "name": "total_reservers",
          "type": "asset"
        },
        {
          "name": "current_interest",
          "type": "float64"
        },
        {
          "name": "liquid_threshold",
          "type": "uint64"
        },
        {
          "name": "borrow_threshold",
          "type": "uint64"
        },
        {
          "name": "over_stake_threshold",
          "type": "uint64"
        },
        {
          "name": "liquid_reward",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in addkink

    {
      "name": "addkink",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "min",
          "type": "float64"
        },
        {
          "name": "max",
          "type": "float64"
        },
        {
          "name": "jump_interest",
          "type": "uint64"
        },
        {
          "name": "jump_reward",
          "type": "uint64"
        },
        {
          "name": "jump_borrow",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in borrow

    {
      "name": "borrow",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "borrow_asset",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Table row type of borrowed

    {
      "name": "borrowed",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "unclaimed",
          "type": "asset"
        },
        {
          "name": "claimed",
          "type": "asset"
        },
        {
          "name": "interest",
          "type": "float64"
        },
        {
          "name": "time",
          "type": "uint64"
        },
        {
          "name": "count",
          "type": "uint64"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "borrow",
          "type": "asset"
        }
      ]
    }
  • Action parameter in claim

    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    }
  • Action parameter in claimborrow

    {
      "name": "claimborrow",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    }
  • Action parameter in claimsupply

    {
      "name": "claimsupply",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    }
  • Action parameter in clear

    {
      "name": "clear",
      "base": "",
      "fields": []
    }
  • Table row type of config

    {
      "name": "config",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "status",
          "type": "uint8"
        },
        {
          "name": "base_interest",
          "type": "uint64"
        },
        {
          "name": "base_reward",
          "type": "uint64"
        },
        {
          "name": "base_reward_borrow_rate",
          "type": "uint64"
        },
        {
          "name": "reserve_factor",
          "type": "uint64"
        },
        {
          "name": "stake_price",
          "type": "float64"
        },
        {
          "name": "total_cash",
          "type": "asset"
        },
        {
          "name": "total_borrow",
          "type": "asset"
        },
        {
          "name": "total_reservers",
          "type": "asset"
        },
        {
          "name": "total_reward",
          "type": "asset"
        },
        {
          "name": "released_reward",
          "type": "asset"
        },
        {
          "name": "current_interest",
          "type": "float64"
        },
        {
          "name": "interest_count",
          "type": "uint64"
        },
        {
          "name": "reward_count",
          "type": "uint64"
        },
        {
          "name": "liquid_threshold",
          "type": "uint64"
        },
        {
          "name": "borrow_threshold",
          "type": "uint64"
        },
        {
          "name": "over_stake_threshold",
          "type": "uint64"
        },
        {
          "name": "liquid_reward",
          "type": "uint64"
        },
        {
          "name": "editprice_count",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in delconfig

    {
      "name": "delconfig",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        }
      ]
    }
  • Action parameter in delkink

    {
      "name": "delkink",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in editconfig

    {
      "name": "editconfig",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "status",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in editprice

    {
      "name": "editprice",
      "base": "",
      "fields": [
        {
          "name": "price",
          "type": "string"
        }
      ]
    }
  • Action parameter in interest

    {
      "name": "interest",
      "base": "",
      "fields": [
        {
          "name": "reward_count",
          "type": "uint64"
        },
        {
          "name": "page_size",
          "type": "uint64"
        }
      ]
    }
  • Table row type of kink

    {
      "name": "kink",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "min",
          "type": "float64"
        },
        {
          "name": "max",
          "type": "float64"
        },
        {
          "name": "jump_interest",
          "type": "uint64"
        },
        {
          "name": "jump_reward",
          "type": "uint64"
        },
        {
          "name": "jump_borrow",
          "type": "uint64"
        }
      ]
    }
  • Table row type of liquid

    {
      "name": "liquid",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "stake",
          "type": "asset"
        },
        {
          "name": "borrow",
          "type": "asset"
        },
        {
          "name": "time",
          "type": "uint64"
        },
        {
          "name": "stake_contract",
          "type": "name"
        }
      ]
    }
  • Action parameter in liquiding

    {
      "name": "liquiding",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    }
  • Action parameter in redeem

    {
      "name": "redeem",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "token",
          "type": "asset"
        }
      ]
    }
  • Action parameter in reserve

    {
      "name": "reserve",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "rate",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in stake

    {
      "name": "stake",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    }
  • Table row type of supply

    {
      "name": "supply",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "unclaimed",
          "type": "asset"
        },
        {
          "name": "claimed",
          "type": "asset"
        },
        {
          "name": "stake",
          "type": "asset"
        },
        {
          "name": "interest",
          "type": "float64"
        },
        {
          "name": "pub_key",
          "type": "string"
        },
        {
          "name": "time",
          "type": "uint64"
        },
        {
          "name": "count",
          "type": "uint64"
        },
        {
          "name": "status",
          "type": "uint8"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    }
  • Action parameter in unstake

    {
      "name": "unstake",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    }