AutoCompound

Verified contract

Active on Ethereum with 1,010 txns
Deployed by via 0xf51d68da at 19969939
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $6,132.65
ERC-20
Value $2,960.61
ERC-20
Value $601.12
ERC-20
Value $434.45
ERC-20
Value $363.84
ERC-20
Value $351.4
ERC-20
Value $332.37
ERC-20
Value $203.43
ERC-20
Value $199.14
ERC-20
Value $148.94
0xb72415da761514d8c51062c479354b75b1c57cb7630238825258a8d2a1fa44bd
0x74948eab9a35689ea9f84de002d2a6321fb5a672722962f793a90e40ecae4f14
0xb42a667dca462288bb75e9bfeae697a12795c247fce106d14eb6b446391c15e4
0xcadcfe9db62e2f65d0fc6dd638a72537e4080b2125de77204198f1f6fcff9266
0x18ca51a3a4af0088de39d16a193ba41cc898e0579ad09261555f524914ebadd4
0x54af1d90c37e001cf12f0dc1c89f6face1b79dcc8bbd5cba796200688b2c8bd8
0xaaba754bd105f584f5a3250a953c752474b80b7d9e17b1b6bb35632255e09db7
0xde4481b58ca0c50a6b31f428c0ceffa4a6a8535487801235d6d115e5220bc6bb
0x35035f237c68b1a7f8440747309332ffc0d4ff9eb866964b7c0b56d939daccb2
0x3e7705366af02bf8ccfa6b8836e71e9c61b4b8d52402d7cf2cdc8705e22ca600

Functions
Getter at block 21248340
MAX_REWARD_X64(view returns (uint64)
368934881474191032
MAX_TWAP_TICK_DIFFERENCE(view returns (uint32)
200
MIN_TWAP_SECONDS(view returns (uint32)
60
TWAPSeconds(view returns (uint32)
60
factory(view returns (address)
0x1f98431c8ad98523631ae4a59f267346ea31f984
maxTWAPTickDifference(view returns (uint16)
100
nonfungiblePositionManager(view returns (address)
0xc36442b4a4522e871399cd717abdd847ab11fe88
owner(view returns (address)
0xaac25e85e752425dd1a92674ceeaf603758d3124
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
totalRewardX64(view returns (uint64)
368934881474191032
universalRouter(view returns (address)
0x0000000000000000000000000000000000000000
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
withdrawer(view returns (address)
0x5663ba1b0b1d9b8559cfe049b33fe3b194852e82
zeroxRouter(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
operators(addressview returns (bool)
positionBalances(uint256addressview returns (uint256)
vaults(addressview returns (bool)
State-modifying
acceptOwnership(
execute(struct AutoCompoundExecuteParams params
executeWithVault(struct AutoCompoundExecuteParams paramsaddress vault
multicall(bytes[] datareturns (bytes[] results)
renounceOwnership(
setOperator(address _operatorbool _active
setReward(uint64 _totalRewardX64
setTWAPConfig(uint16 _maxTWAPTickDifferenceuint32 _TWAPSeconds
setVault(address _vault
setWithdrawer(address _withdrawer
transferOwnership(address newOwner
uniswapV3SwapCallback(int256 amount0Deltaint256 amount1Deltabytes data
withdrawBalances(address[] tokensaddress to
withdrawETH(address to
withdrawLeftoverBalances(uint256 tokenIdaddress to
Events
AutoCompounded(address accountuint256 tokenIduint256 amountAdded0uint256 amountAdded1uint256 reward0uint256 reward1address token0address token1
BalanceAdded(uint256 tokenIdaddress tokenuint256 amount
BalanceRemoved(uint256 tokenIdaddress tokenuint256 amount
BalanceWithdrawn(uint256 tokenIdaddress tokenaddress touint256 amount
OperatorChanged(address newOperatorbool active
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RewardUpdated(address accountuint64 totalRewardX64
Swap(address indexed tokenInaddress indexed tokenOutuint256 amountInuint256 amountOut
TWAPConfigChanged(uint32 TWAPSecondsuint16 maxTWAPTickDifference
VaultSet(address newVault
WithdrawerChanged(address newWithdrawer
Constructor
constructor(address _npmaddress _operatoraddress _withdraweruint32 _TWAPSecondsuint16 _maxTWAPTickDifference
Fallback and receive
receive(
Errors
AmountError(
ChainlinkPriceError(
CollateralFactorExceedsMax(
CollateralFail(
CollateralValueLimit(
CollectError(
DailyDebtIncreaseLimit(
DailyLendIncreaseLimit(
DebtChanged(
EtherSendFailed(
ExceedsMaxReward(
GlobalDebtLimit(
GlobalLendLimit(
InsufficientLiquidity(
InterestNotUpdated(
InvalidConfig(
InvalidPool(
InvalidToken(
MinLoanSize(
MissingSwapData(
NeedsRepay(
NoEtherToken(
NoLiquidity(
NoSharesRepayed(
NotConfigured(
NotEnoughReward(
NotLiquidatable(
NotReady(
NotSupportedFeeTier(
NotSupportedWhatToDo(
NotWETH(
PriceDifferenceExceeded(
Reentrancy(
SameRange(
SameToken(
SelfSend(
SequencerDown(
SequencerGracePeriodNotOver(
SlippageError(
SwapAmountTooLarge(
SwapFailed(
TWAPCheckFailed(
TooMuchEtherSent(
TransferError(
TransformFailed(
TransformNotAllowed(
Unauthorized(
WrongContract(