loanspallet. This function call checks the user's account value and the given sufficient collateral. It will update the user's borrow balance, transfer the tokens to the user's account address, and update the money market's floating interest rates.
bond: stash account
bond_extra: stash account
unbond: controller account, max unbond queues: 32
rebond: controller account
withdraw_unbonded: controller account
nominate: controller account
payout_stakers: check validators do submit this call before the deadline.
xis the base asset amount and
ythe quote asset amount of the
[X, Y]pair with
kbeing a constant.
Poolsstorage item of the AMM pallet. It consists of a triple map of both pool assets and some states about the pool.