Compoundor

Verified contract

Active on Base with 21,713 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 $107.33
ERC-20
Value $50.69
ERC-20
Value $38.42
ERC-20
Value $1.78
ERC-20
Value $1.77
ERC-20
Value $0.28
ERC-20
Value $0.22
ERC-20
Value $0.1
ERC-20
Value $0.09
ERC-20
Value $0.07
0x6a4f5d39cd523fdefea3fa38ed6efcf18be1ed0063d3ade84b2fc807860d2d91
0xd390f61ae14015bdcda886199bd1e80bb5c81e405f6cfabcd6a4e0f4cdfcdaea
0xc60907e598b8dbbd89c067d165971ece1a0c9d809e013206a0183d9a3ce3f3c7
0x3232b5d86c39bd434a30838e4a9a55547dd75798233d47770425de5cbcb52154
0xb9059b0cae620ef67b1cb99a84ea172d5713031b2517d7ed2b39e76a15d27b97
0x8182ad12f24f14270288520884f4d93eed3b7a2fe91b67be49af3cda9d48753c
0xee28561c0f44c8589227c83aec1b132f47e75a48f17f763e1c8c942d7a5585bb
0x72f2f7afe54bb5f48ebb0855ec4a35a637264c71bf3113d3c1ffe319795fbddc
0x3508bb3a7c35b6670d8c014b77ede6e8dbcd8f223855828778ab493af0617598
0xa5c5d5de6e2012cf6a1d39fc390aea7e1095235265431ed19e02172ede963c75

Functions
Getter at block 21747128
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.