LiquidationRow

Verified contract

Active on Ethereum with 97 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

No balances found for "LiquidationRow"

0x516f147925355eae9778aa6e79dce782000fe5f8c3ca7024a997fd3238535bbc
0x5c37992daf291f01fd522f1c684ef614e5bf56c06ea9671c21c93593d862bfec
0x47bd77e27dd84b216cdb4a1d42f3a236966d9eb404a5087aef0fc2e412de1e37
0x0e414d0472f441d2d0c7e328bd005b97dc8f8dcb5f75563ca4c3ab9ce82c2b8b
0xab63aa10f6d4e8d526058fecf7a643c67330ac1a1151dd216d61132f0a35fac8
0x2002dca4fbb74a19261bdc917ab5bc22f792c9a1488e79a0e4807fbeb6659c12
0x5eb4e87ffb9ea30215454832ea18b3a73d74fd0ae9f5e066fda424773097e39f
0x8c29042ab17a4016216e523a64f3facf6c8e3816f0648203e726addb2569781c
0xd704dad2a9138c5425857a8064b0157b46232f10010369bf6557e8065affad82
0x04b583118119cda251b532b11fd59e1230af0ac02b1c5d07b05d30843c9d3ab8

Functions
Getter at block 20896619
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[])
[]
priceMarginBps(view returns (uint256)
600
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