PlusPool Factory
This contract creates PlusPools and manages the state of each PlusPool.
Events
CreatePool
event CreatePool(address token0, address token1, address lpToken, uint borrowFactor, uint liquidationFactor, bool borrowable0, bool borrowable1, address poolAddress, uint exid);
- Event to create new PlusPool
- Parameters
token0
: token0 address in LPtoken1
: token1 address in LPlpToken
: address in LPborrowFactor
: Utilization cost interest rate of utilized assetsliquidationFactor
: automatic return factorborrowable0
: Whether token0 can be borrowableborrowable1
: Whether token1 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