Controller
A smart contract from which refinancing operations for a vault-pair can be executed. Refinancing of vault's debt can be 100% or partial.
FUNCTIONS
doRefinancing()
Performs a forced refinancing routine
_vaultAddr:
the Fuji Vault address where the collateral is coming from.
_newProvider:
The new protocol where all the funds will move.
_ratioA:
Ratio to determine how much debt position to move.
ratioB:
Ratio A divided by Ratio B is less or equal to 1 and more than 0.
_flashNum:
Integer identifier of flashloan provider.
setFujiAdmin()
Sets the fujiAdmin address that is used for verification in doRefinancing()
Last updated