Compoundor

Verified contract

Active on Ethereum with 1,985 txns
Deployed by via 0x3a87e83d at 15149205
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1,051.15
ERC-20
Value $638.5
ERC-20
Value $29.48
ERC-20
Value $28.72
ERC-20
Value $22.89
ERC-20
Value $21.17
ERC-20
Value $12.39
ERC-20
Value $9.25
ERC-20
Value $3.1
ERC-20
Value $1.75
0x6bfb70b9d0950e6128a0c503c64f7cbf10361c312ad9a02a381f37577e88145a
0x36dfe96b7a6bdd706861e41f5272249daad059e2b5665659681d7cb2678743fe
0xa3b2cdcf8c23592c43e7f9188af097272b29cb29aa6d711e80bbed222f9b6bfb
0x58916927a3d37019577a41b7b4fae38a10c958e8518d79755c789607dc5b2aeb
0xc94bfe9b9822a42661d1a8c14e6c4cee4d475e830fb422ddd913397d9531e3be
0xa68ba474c63a5280992dd25b5b82094337b77a3c011d26268933995005bd658c
0x63b71b5938bc9517188d26b06511647ec181e2a5318481f67b24b7b99980ef75
0x0db0c5f26c51b43a6b9f1826a46783b6e081dc66b48b4bfd56b8564f88bafa31
0x431e2da7edb480da5eb8c131a69cdbbc2ed900d73a8def1c6640b7477458e8e6
0x78663da3960d6b03d6061306605f86b2e9a2b5f9926ad63b7a17d885d30538b8

Functions
Getter at block 20902211
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)
0x1f98431c8ad98523631ae4a59f267346ea31f984
maxTWAPTickDifference(view returns (uint32)
100
nonfungiblePositionManager(view returns (address)
0xc36442b4a4522e871399cd717abdd847ab11fe88
owner(view returns (address)
0x79fdc753638c9e848ebf55aae96ff7606befafb3
swapRouter(view returns (address)
0xe592427a0aece92de3edee1f18e0157c05861564
totalRewardX64(view returns (uint64)
368934881474191032
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
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.