Custody [bLUNA]
Config
InstantiateMsg
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
#[serde(rename_all = "snake_case")]
pub struct InstantiateMsg {
pub owner: String,
pub collateral_token: String,
pub overseer_contract: String,
pub market_contract: String,
pub reward_contract: String,
pub liquidation_contract: String,
pub stable_denom: String,
pub basset_info: BAssetInfo,
}
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
pub struct BAssetInfo {
pub name: String,
pub symbol: String,
pub decimals: u8,
}{
"owner": "terra1...",
"collateral_token": "terra1...",
"overseer_contract": "terra1...",
"market_contract": "terra1...",
"reward_contract": "terra1...",
"liquidation_contract": "terra1...",
"stable_denom": "uusd",
"basset_info": {
"name": "bonded luna",
"symbol": "ubluna",
"decimals": 6
}
}ExecuteMsg
Receive
ReceiveUpdateConfig
UpdateConfig[Internal] LockCollateral
[Internal] LockCollateral[Internal] UnlockCollateral
[Internal] UnlockCollateral[Internal] DistributeRewards
[Internal] DistributeRewards[Internal] LiquidateCollateral
[Internal] LiquidateCollateralWithdrawCollateral
WithdrawCollateralReceive Hooks
DepositCollateral
DepositCollateralQueryMsg
Config
ConfigConfigResponse
ConfigResponseBorrower
BorrowerBorrowerResponse
BorrowerResponseBorrowers
BorrowersBorrowersResponse
BorrowersResponseLast updated
Was this helpful?