OnChainLiquidator

Verified contract

Active on Ethereum with 9 txns
Deployed by via 0x411d20cb at 17355061
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "OnChainLiquidator"

0x2d65bca291c46240d23e4925e8ac970484aba8ab068c09d7cae11d7d6b557652
0x7c6d90a9d81096b37858f4ef5afe516d0819cf51567eb1bdd19cd4da75c9c857
0x9144c9bcfd00f141e88bdf760f94575fbf1f428b136bc23db0f0e4c483b81037
0x4b878da017b290865a28e5e1c2e1e09076a5ce9448cf2c755eebbc5fcc7740aa
0x3c89a7e1aaa26a7eb25c4272781d4a38c6e66eb1fb7881d3ef55155a8fdc5567
0x97871c59c87993e3f1007d3a18e2b84dcbdb26e6a1b8d7f275d31c82989dd7cb
0x615456d6b559037b6b2575fc8607697ea059fe7f6f7f6db9d4fc7145a94e8ff1
0xd44a1f7ab07d769ec9b74dfdea7eb6759fd33fb1b17049a560a6891ea65acb82
0x048c77fbd7575a5a4e203c7453a9d9146d2839c5373fac7e2662fb0d9975eb82

Functions
Getter at block 21425367
NULL_ADDRESS(view returns (address)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
QUOTE_PRICE_SCALE(view returns (uint256)
1000000000000000000
WETH9(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
balancerVault(view returns (address)
0xba12222222228d8ba445958a75a0704d566bf2c8
factory(view returns (address)
0x1f98431c8ad98523631ae4a59f267346ea31f984
stEth(view returns (address)
0xae7ab96520de3a18e5e111b5eaab095312d7fe84
sushiSwapRouter(view returns (address)
0xd9e1ce17f2641f24ae83637ab66a2cca9c378b9f
uniswapRouter(view returns (address)
0xe592427a0aece92de3edee1f18e0157c05861564
wstEth(view returns (address)
0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0
Read-only
poolConfigs(addressview returns (uint8 exchangeuint24 uniswapPoolFeebool swapViaWethbytes32 balancerPoolIdaddress curvePool)
State-modifying
absorbAndArbitrage(address cometaddress[] liquidatableAccountsaddress[] assetsstruct OnChainLiquidatorPoolConfig[] poolConfigsuint256[] maxAmountsToPurchaseaddress flashLoanPairTokenuint24 flashLoanPoolFeeuint256 liquidationThreshold
refundETH(payable 
sweepToken(address tokenuint256 amountMinimumaddress recipientpayable 
uniswapV3FlashCallback(uint256 fee0uint256 fee1bytes data
unwrapWETH9(uint256 amountMinimumaddress recipientpayable 
Events
Absorb(address indexed initiatoraddress[] accounts
AbsorbWithoutBuyingCollateral(
BuyAndSwap(address indexed tokenInaddress indexed tokenOutuint256 baseAmountPaiduint256 assetBalanceuint256 amountOut
Pay(address indexed tokenaddress indexed payeraddress indexed recipientuint256 value
Swap(address indexed tokenInaddress indexed tokenOutuint256 amountInuint256 amountOutstruct OnChainLiquidatorPoolConfig poolConfig
Constructor
constructor(address balancerVault_address sushiSwapRouter_address uniswapRouter_address uniswapV3Factory_address stEth_address wstEth_address WETH9_
Fallback and receive
receive(
Errors
InsufficientAmountOut(address tokenInaddress tokenOutuint256 amountInuint256 amountOutuint256 amountOutMinstruct OnChainLiquidatorPoolConfig poolConfig
InsufficientBalance(uint256 availableuint256 required
InvalidArgument(
InvalidExchange(
InvalidPoolConfig(address swapTokenstruct OnChainLiquidatorPoolConfig poolConfig
Unauthorized(