loans
pallet. 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 accountbond_extra
: stash accountunbond
: controller account, max unbond queues: 32rebond
: controller accountwithdraw_unbonded
: controller accountnominate
: controller accountpayout_stakers
: check validators do submit this call before the deadline.x
is the base asset amount and y
the quote asset amount of the [X, Y]
pair with k
being a constant.Pools
storage item of the AMM pallet. It consists of a triple map of both pool assets and some states about the pool.