AssurancePool.sol
View Functions
primaryBalance
Fetch the primary reserve balance.
Return Values
peripheralBalance
Fetch the peripheral reserve balance.
Return Values
excessBalance
Fetch the excess reserve balance.
Return Values
reserveBalance
Fetch the total reserve (primary + peripheral) balance.
Return Values
RTD
Fetch the current Reserve to Debt ratio of the reserve.
Return Values
targetRTD
Fetch the target Reserve to Debt ratio of the reserve.
Return Values
hasValidRTD
Fetch the RTD (Reserve to Debt ratio) state of the reserve.
Return Values
neededReserves
Fetch the needed amount of reserve tokens to reach the target RTD.
Return Values
Mutative Functions
depositIntoPrimaryReserve
Deposit provided amount of reserve tokens into to the network's primary reserve.
Call Params
depositIntoPeripheralReserve
Deposit provided amount of reserve tokens into to the network's peripheral reserve.
Call Params
depositIntoExcessReserve
Deposit provided amount of reserve tokens into to the network's excess reserve.
Call Params
deposit
Deposit provided amount of reserve tokens into either the primary reserve, or excess reserve depending on the reserve's current RTD.
Call Params
withdraw
Withdraws the provided amount of reserve tokens from the excess reserve.
Call Params
Last updated