SinglePool Factory
This contract is a single pool creation/management contract, where liquidity providers deposit/withdraw assets, and Plus Pool users bring or return utilized assets from a single pool.
Address
Polygon Mainnet : 0x504722a6eabb3d1573bada9abd585ae177d52e7a
Events, Read-Only Functions, and State-Changing Functions
Events
CreatePool
event CreatePool(address token, address pool, uint exid);Event to create new SinglePool
Parameters
token: A token address in target tokenpool: SinglePool contract address of this poolexid: SinglePool ID
SetDepositActive
event SetDepositActive(address poolAddress, bool b);Event that occurs when SinglePool deposit availability is changed
SetWithdrawActive
event SetWithdrawActive(address poolAddress, bool b);Event that occurs when SinglePool withdrawal availability is changed
ChangeMiningRate
event ChangeMiningRate(uint _mining);Event that occurs when SinglePool mining rate is changed
Read-Only Functions
mining
The mining rate of the pool
It is a value between 0 and 10000, in units of 0.01%
Default - 500
getPoolCount
Number of SinglePools
borrowBalanceStored
function borrowBalanceStored(address token, address user, address poolAddress) public view returns (uint) Utilized asset quantity
Parameters
token: Token addressuser: User addresspoolAddress: SinglePool address
Last updated