PlusPool Factory
This contract creates PlusPools and manages the state of each PlusPool.
Events
Read-Only Functions
CreatePool
event CreatePool(address tokenA, address tokenB, address lpToken, uint borrowFactor, uint liquidationFactor, bool borrowableA, bool borrowableB, address poolAddress, uint exid);
- Event to create new PlusPool
- Parameters
tokenA
: A token address in LPtokenB
: B token address in LPlpToken
: address in LPborrowFactor
: Utilization cost interest rate of utilized assetsliquidationFactor
: automatic return factorborrowableA
: Whether tokenA can be borrowableborrowableB
: Whether tokenB can be borrowablepoolAddress
: PlusPool contract address of this poolexid
: PlusPool id
SetDepositActive
event SetDepositActive(address plusPoolAddress, bool b);
- Event that occurs when PlusPool deposit availability is changed
SetWithdrawActive
event SetWithdrawActive(address plusPoolAddress, bool b);
- Event that occurs when PlusPool withdrawal availability is changed
Last modified 7mo ago