KLAYswap
Search…
PlusPool Factory
This contract creates PlusPools and manages the state of each PlusPool.

Events, Read-Only Functions, and State-Changing Functions

Events

Events

CreatePool
1
event CreatePool(address tokenA, address tokenB, address lpToken, uint borrowFactor, uint liquidationFactor, bool borrowableA, bool borrowableB, address poolAddress, uint exid);
Copied!
  • Event to create new PlusPool
  • Parameters
    • tokenA : A token address in LP
    • tokenB : B token address in LP
    • lpToken : address in LP
    • borrowFactor : Utilization cost interest rate of utilized assets
    • liquidationFactor : automatic return factor
    • borrowableA : Whether tokenA can be borrowable
    • borrowableB : Whether tokenB can be borrowable
    • poolAddress : PlusPool contract address of this pool
    • exid : PlusPool id
SetDepositActive
1
event SetDepositActive(address plusPoolAddress, bool b);
Copied!
  • Event that occurs when PlusPool deposit availability is changed
SetWithdrawActive
1
event SetWithdrawActive(address plusPoolAddress, bool b);
Copied!
  • Event that occurs when PlusPool withdrawal availability is changed
Last modified 15d ago