Lending Pool Actions

fn choose_market_rule(
    &mut self,
    market_rule_id: RuleId,
) -> Result<(), LendingPoolError>;
fn set_as_collateral(
    &mut self,
    asset: AccountId,
    use_as_collateral: bool,
) -> Result<(), LendingPoolError>;
fn deposit(
    &mut self,
    asset: AccountId,
    on_behalf_of: AccountId,
    amount: Balance,
    data: Vec<u8>,
) -> Result<(), LendingPoolError>;
fn withdraw(
    &mut self,
    asset: AccountId,
    on_behalf_of: AccountId,
    amount: Balance,
    data: Vec<u8>,
) -> Result<Balance, LendingPoolError>;

Last updated