Compoundor

Verified contract

Active on Base with 22,310 txns
Deployed by via 0x95459438 at 2401082
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $174.15
ERC-20
Value $67.08
ERC-20
Value $34.81
ERC-20
Value $1.77
ERC-20
Value $1.19
ERC-20
Value $0.77
ERC-20
Value $0.5
ERC-20
Value $0.16
ERC-20
Value $0.15
ERC-20
Value $0.14
0x782f74095330ea4c079151642172acdd3b1a17a65f212ea21847d45c123d9268
0x4cb0815cb9ffe12cad0d4bb6e328b6c94ce5137b94616200fca07c80485cc87a
0xa99f5a396249bbfa5370d0e678f4a6cd81f4a77a4e8123ba7ce5d6ecdef1963a
0xa65f3541c00d3acc105cd4ebcd496838e9651f9914ba94c8f03fc0bc1e260c67
0xa99a00a2fd1dc62d8b7bf61611874d4cdae947dbe805df9fbfdc0067b6a83863
0x5599e21d209b2384eed42ef3393cd010d8ea204794b8574c3ebba0426b541add
0xe40c799ace1ecfa4a8ded004a8a03032c7aa30dd7c85b18699fbc550a048db55
0x4847ea375ee84d8beb497d832cefebe7dadec32ddaf2ff49758d3d8aed99bb34
0x747cdf5771bfe14258c34f0699bce2ef4418f25f33026caced821c0ee9d4df07
0xd82df4a25b81ab606e2738da6fc364e5cab4d7b818474453bc7826da40ba29cf

Functions
Getter at block 22757890
MAX_POSITIONS_PER_ADDRESS(view returns (uint32)
100
MAX_REWARD_X64(view returns (uint64)
368934881474191032
TWAPSeconds(view returns (uint32)
60
compounderRewardX64(view returns (uint64)
0
factory(view returns (address)
0x33128a8fc17869897dce68ed026d694621f6fdfd
maxTWAPTickDifference(view returns (uint32)
100
nonfungiblePositionManager(view returns (address)
0x03a520b32c04bf3beef7beb72e919cf822ed34f1
owner(view returns (address)
0x8df57e3d9ddde355dce1adb19ebce93419ffa0fb
swapRouter(view returns (address)
0x2626664c2603336e57b271c5c0b26f421741e481
totalRewardX64(view returns (uint64)
368934881474191032
weth(view returns (address)
0x4200000000000000000000000000000000000006
Read-only
accountBalances(addressaddressview returns (uint256)
accountTokens(addressuint256view returns (uint256)
balanceOf(address accountview returns (uint256 balance)
ownerOf(uint256view returns (address)
State-modifying
autoCompound(struct ICompoundorAutoCompoundParams paramsreturns (uint256 reward0uint256 reward1uint256 compounded0uint256 compounded1)
collect(struct INonfungiblePositionManagerCollectParams paramsreturns (uint256 amount0uint256 amount1)
decreaseLiquidityAndCollect(struct ICompoundorDecreaseLiquidityAndCollectParams paramsreturns (uint256 amount0uint256 amount1)
multicall(bytes[] datareturns (bytes[] results)
onERC721Received(addressaddress fromuint256 tokenIdbytesreturns (bytes4)
renounceOwnership(
setReward(uint64 _totalRewardX64uint64 _compounderRewardX64
setTWAPConfig(uint32 _maxTWAPTickDifferenceuint32 _TWAPSeconds
transferOwnership(address newOwner
withdrawBalance(address tokenaddress touint256 amount
withdrawToken(uint256 tokenIdaddress tobool withdrawBalancesbytes data
Events
AutoCompounded(address accountuint256 tokenIduint256 amountAdded0uint256 amountAdded1uint256 reward0uint256 reward1address token0address token1
BalanceAdded(address accountaddress tokenuint256 amount
BalanceRemoved(address accountaddress tokenuint256 amount
BalanceWithdrawn(address accountaddress tokenaddress touint256 amount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RewardUpdated(address accountuint64 totalRewardX64uint64 compounderRewardX64
TWAPConfigUpdated(address accountuint32 maxTWAPTickDifferenceuint32 TWAPSeconds
TokenDeposited(address accountuint256 tokenId
TokenWithdrawn(address accountaddress touint256 tokenId
Constructor
constructor(address _wethaddress _factoryaddress _nonfungiblePositionManageraddress _swapRouter
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.