LiquidationRow

Verified contract

Active on Ethereum with 328 txns
Deployed by via 0x6b124b5d at 20735896
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 1 additional slot
ERC-20
Value $1,313.74
ERC-20
Value $232.63
ERC-20
Value $141.8
ERC-20
Value $50.19
ERC-20
Value $26.74
0x9580bd32bdf058c41145853261f3a4d0bb2499e1363ed2ed7777192737d32489
0xf3ee68370d6139aa1e7c40b770c42a83cfe1d0162e873eb081421884e5ecdc8b
0xb8acdff41b0a6d1ee665ee2fddb172c93e5c120d943df11890bddf2e2afb326e
0x172f06f5732a3f152206b4bb5ae15bb95af4415516345e6e61ccb2e5ddef16b1
0x32f1f3f5fcba65ddb52cffd26e04e1f2981573e934f904452729d2c5c6f53407
0x52117f581efac62874535540e22abe67108d631037d7034b567ec0e84d2e6af1
0x7de52095f53e7d4cd880bc62495f220cb1192b240a33b7d5c8cc61b1ec314b52
0xa5f02adfaebc0a18cc285b0eb0c1e3660f1e26a7f708ed36a95da63b771a53dd
0x64f34360f86800a8427c58d7969f429b466999098b5052fcfc6f2014f7c77ef7
0x51c2a04ff2a46593ab8dde34fe7e86090b97924cee53640a3a42a0394d583e02

Functions
Getter at block 21241422
MAX_PCT(view returns (uint256)
10000
accessController(view returns (address)
0x37767cbff88cb623e9404e959560984f7d742df6
feeBps(view returns (uint256)
0
feeReceiver(view returns (address)
0x0000000000000000000000000000000000000000
getSystemRegistry(view returns (address)
0x2218f90a98b0c070676f249ef44834686daa4285
getTokens(view returns (address[])
[0xC0c293ce456fF0ED870ADd98a0828Dd4d2903DBF, 0xba100000625a3754423978a60c9317c58a424e3D, 0x6DF0E641FC9847c0c6Fde39bE6253045440c14d3, 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, 0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B]
priceMarginBps(view returns (uint256)
1000
Read-only
balanceOf(address tokenAddressaddress vaultAddressview returns (uint256)
calculateFee(uint256 amountview returns (uint256)
getVaultsForToken(address tokenAddressview returns (address[])
isWhitelisted(address swapperview returns (bool)
totalBalanceOf(address tokenAddressview returns (uint256)
State-modifying
addToWhitelist(address swapper
claimsVaultRewards(address[] vaults
liquidateVaultsForToken(struct ILiquidationRowLiquidationParams liquidationParams
liquidateVaultsForTokens(struct ILiquidationRowLiquidationParams[] liquidationParams
removeFromWhitelist(address swapper
setFeeAndReceiver(address _feeReceiveruint256 _feeBps
setPriceMarginBps(uint256 _priceMarginBps
Events
BalanceUpdated(address indexed tokenaddress indexed vaultuint256 balance
FeeReceiverSet(address indexed feeReceiveruint256 feeBps
FeesTransferred(address indexed receiveruint256 amountReceiveduint256 fees
GasUsedForVault(address indexed vaultuint256 gasAmountbytes32 action
PriceMarginSet(uint256 priceMarginBps
SwapperAdded(address indexed swapper
SwapperRemoved(address indexed swapper
VaultLiquidated(address indexed vaultaddress indexed fromTokenaddress indexed toTokenuint256 amount
Constructor
constructor(address _systemRegistry
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessDenied(
AmountsMismatch(uint256 sellAmountuint256 buyAmount
DeadlineExceeded(uint256 deadlineuint256 currentTimestamp
FeeTooHigh(
InsufficientAmountReceived(uint256 expectedAmountuint256 amountReceived
InsufficientBalance(address token
InvalidParam(string paramName
InvalidRewardToken(
ItemExists(
ItemNotFound(
NothingToLiquidate(
SellAmountMismatch(uint256 totalBalanceToLiquidateuint256 buyAmount
UndefinedAddress(
ZeroAddress(string paramName