Solidity API
LiquidationAuction02
vault
contract IVault vaultvaultManagerParameters
contract IVaultManagerParameters vaultManagerParameterscdpRegistry
contract ICDPRegistry cdpRegistryforceTransferAssetStore
contract IForceTransferAssetStore forceTransferAssetStoreDENOMINATOR_1E2
uint256 DENOMINATOR_1E2WRAPPED_TO_UNDERLYING_ORACLE_TYPE
uint256 WRAPPED_TO_UNDERLYING_ORACLE_TYPEBuyout
event Buyout(address asset, address owner, address buyer, uint256 amount, uint256 price, uint256 penalty)checkpoint
constructor
Name
Type
Description
buyout
Name
Type
Description
_liquidate
_calcLiquidationParams
CDPRegistry
CDP
cdpList
cdpIndex
vault
cr
Added
Removed
constructor
checkpoint
batchCheckpointForAsset
batchCheckpoint
isAlive
isListed
_removeCdp
_addCdp
getCdpsByCollateral
getCdpsByOwner
getAllCdps
getCdpsCount
getCdpsCountForCollateral
CollateralRegistry
CollateralAdded
CollateralRemoved
collateralId
collateralList
constructor
addCollateral
removeCollateral
isCollateral
collaterals
collateralsCount
GCD
name
symbol
version
decimals
totalSupply
balanceOf
allowance
Approval
Transfer
initialize
Name
Type
Description
_authorizeUpgrade
mint
Name
Type
Description
burn
Name
Type
Description
burn
Name
Type
Description
transfer
Name
Type
Description
transferFrom
Name
Type
Description
approve
Name
Type
Description
increaseAllowance
decreaseAllowance
_approve
_burn
CDPManager01
vault
vaultManagerParameters
oracleRegistry
cdpRegistry
WETH
Q112
DENOMINATOR_1E5
Join
Exit
LiquidationTriggered
checkpoint
constructor
Name
Type
Description
receive
join
Name
Type
Description
join_Eth
Name
Type
Description
exit
Name
Type
Description
exit_targetRepayment
Name
Type
Description
exit_Eth
Name
Type
Description
exit_Eth_targetRepayment
Name
Type
Description
_repay
_ensurePositionCollateralization
triggerLiquidation
Name
Type
Description
getCollateralUsdValue_q112
_isLiquidatablePosition
Name
Type
Description
Name
Type
Description
_ensureOracle
isLiquidatablePosition
Name
Type
Description
Name
Type
Description
utilizationRatio
Name
Type
Description
Name
Type
Description
liquidationPrice_q112
Name
Type
Description
Name
Type
Description
_calcPrincipal
VaultManagerParameters
initialCollateralRatio
liquidationRatio
liquidationDiscount
devaluationPeriod
constructor
setCollateral
Name
Type
Description
setInitialCollateralRatio
Name
Type
Description
setLiquidationRatio
Name
Type
Description
setLiquidationDiscount
Name
Type
Description
setDevaluationPeriod
Name
Type
Description
Vault
weth
DENOMINATOR_1E5
DENOMINATOR_1E2
gcd
collaterals
debts
liquidationBlock
liquidationPrice
tokenDebts
stabilityFee
liquidationFee
oracleType
lastUpdate
notLiquidating
initialize
Name
Type
Description
_authorizeUpgrade
receive
update
Name
Type
Description
spawn
Name
Type
Description
destroy
Name
Type
Description
depositMain
Name
Type
Description
depositEth
Name
Type
Description
withdrawMain
Name
Type
Description
withdrawEth
Name
Type
Description
borrow
Name
Type
Description
repay
Name
Type
Description
Name
Type
Description
chargeFee
Name
Type
Description
triggerLiquidation
Name
Type
Description
liquidate
Name
Type
Description
changeOracleType
Name
Type
Description
getTotalDebt
Name
Type
Description
Name
Type
Description
calculateFee
Name
Type
Description
Name
Type
Description
VaultParameters
stabilityFee
liquidationFee
tokenDebtLimit
canModifyVault
isManager
isOracleTypeEnabled
vault
foundation
initialize
_authorizeUpgrade
setManager
Name
Type
Description
setFoundation
Name
Type
Description
setCollateral
Name
Type
Description
setVaultAccess
Name
Type
Description
setStabilityFee
Name
Type
Description
setLiquidationFee
Name
Type
Description
setOracleType
Name
Type
Description
setTokenDebtLimit
Name
Type
Description
Last updated