AutoCompound

Verified contract

Active on Ethereum with 857 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 $2,939.2
ERC-20
Value $649.08
ERC-20
Value $499.28
ERC-20
Value $249.35
ERC-20
Value $218.9
ERC-20
Value $216.35
ERC-20
Value $92.08
ERC-20
Value $86.65
ERC-20
Value $68.54
ERC-20
Value $55.87
0xce186f54877a1663e0229821e633b4975a6efad58efdd7eca8e772ba3a270b3c
0x1546f9b37224632a0997a7b9130b9473d2777978f201ffa93115c36524ac3650
0x8bb10195384b37eb5e3810f0dbad095a2a6f6c96f3fbfa2cb4534c4dd457f07d
0xa7ad1e8b6b8efbafb576ff6a363eac4f212ce5d0a627f1e3dbb32faa4b804f53
0xacb5739bb939ca90c111009b2488717ed999457b9db079258bd27502267707c4
0x63939f067c2b2ed4fac51c69a84b1accedf9e25e57c3983b84415e856a9428a0
0x2cd3b87ee7a6b3277637a3ca2952ea77c1995df7b67464e93427a01fb72d8e27
0x5faf6c7774d12de62062b664afa071c823fdffb32a05c18778431eac64f7ebc5
0x430bc940a1ba62013f9dee85365723f15c02e1dd002d21a93610fd48fc11747b
0x4bf1ab4c37aa807a8418bd9c39689c7b3c6f9d4bb8dfde5a0f1797dea49ed48c

Functions
Getter at block 20814429
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)
0x8df57e3d9ddde355dce1adb19ebce93419ffa0fb
pendingOwner(view returns (address)
0xaac25e85e752425dd1a92674ceeaf603758d3124
totalRewardX64(view returns (uint64)
368934881474191032
universalRouter(view returns (address)
0x0000000000000000000000000000000000000000
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
withdrawer(view returns (address)
0xe247a0b71c396b024d8048529801763eda4928d3
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(