0 txs
5 calls
constructor
constructor()
functions
configuredGauges
viewfunction configuredGauges(address) view returns (address)
gauge
viewfunction gauge() view returns (address)
hookReceiverConfig
viewfunction hookReceiverConfig(address _silo) view returns (uint24 hooksBefore, uint24 hooksAfter)
maxLiquidation
viewfunction maxLiquidation(address _borrower) view returns (uint256 collateralToLiquidate, uint256 debtToRepay, bool sTokenRequired)
owner
viewfunction owner() view returns (address)
pendingOwner
viewfunction pendingOwner() view returns (address)
shareToken
viewfunction shareToken() view returns (address)
siloConfig
viewfunction siloConfig() view returns (address)
acceptOwnership
nonpayablefunction acceptOwnership()
afterAction
nonpayablefunction afterAction(address _silo, uint256 _action, bytes _inputAndOutput)
beforeAction
nonpayablefunction beforeAction(address, uint256, bytes)
initialize
nonpayablefunction initialize(address _siloConfig, bytes _data)
liquidationCall
nonpayablefunction liquidationCall(address _collateralAsset, address _debtAsset, address _borrower, uint256 _maxDebtToCover, bool _receiveSToken) returns (uint256 withdrawCollateral, uint256 repayDebtAssets)
removeGauge
nonpayablefunction removeGauge(address _shareToken)
renounceOwnership
nonpayablefunction renounceOwnership()
setGauge
nonpayablefunction setGauge(address _gauge, address _shareToken)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
events
GaugeConfigured
event GaugeConfigured(address gauge, address shareToken)
GaugeRemoved
event GaugeRemoved(address shareToken)
HookConfigured
event HookConfigured(address silo, uint24 hooksBefore, uint24 hooksAfter)
Initialized
event Initialized(uint64 version)
LiquidationCall
event LiquidationCall(address indexed liquidator, bool receiveSToken)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
OwnershipTransferStarted
event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
errors
AddressEmptyCode
error AddressEmptyCode(address target)
AlreadyConfigured
error AlreadyConfigured()
CantRemoveActiveGauge
error CantRemoveActiveGauge()
EmptyGaugeAddress
error EmptyGaugeAddress()
EmptySiloConfig
error EmptySiloConfig()
FailedCall
error FailedCall()
FullLiquidationRequired
error FullLiquidationRequired()
GaugeAlreadyConfigured
error GaugeAlreadyConfigured()
GaugeIsNotConfigured
error GaugeIsNotConfigured()
InsufficientBalance
error InsufficientBalance(uint256 balance, uint256 needed)
InvalidInitialization
error InvalidInitialization()
InvalidShareToken
error InvalidShareToken()
NoDebtToCover
error NoDebtToCover()
NoRepayAssets
error NoRepayAssets()
NotInitializing
error NotInitializing()
OwnableInvalidOwner
error OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount
error OwnableUnauthorizedAccount(address account)
OwnerIsZeroAddress
error OwnerIsZeroAddress()
RequestNotSupported
error RequestNotSupported()
SafeERC20FailedOperation
error SafeERC20FailedOperation(address token)
UnexpectedCollateralToken
error UnexpectedCollateralToken()
UnexpectedDebtToken
error UnexpectedDebtToken()
UnknownRatio
error UnknownRatio()
UserIsSolvent
error UserIsSolvent()
WrongGaugeShareToken
error WrongGaugeShareToken()
creation bytecode
0x3d602d80600a3d3981f3363d3d373d3d3d363d73fbc289d9e9f1cec70bb1e6eb3c6f839867fc0ce55af43d82803e903d91602b57fd5bf3