Compounder
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
7
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "Compounder"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Compounder"
ABI
ABI objects
Getter at block 21269356 autocompoundThreshold() view returns (uint256 minStakeAmtEth) selfEligibleCompound() view returns (bool eligible)
MAX_COMPOUND_FEE() view returns (uint256)
2000
MAX_SLIPPAGE() view returns (uint256)
9000
MIN_DELAY() view returns (uint256)
86400
MIN_UNIV3_ROUTE_LENGTH() view returns (uint256)
43
PERCENT_DIVISOR() view returns (uint256)
10000
UNIV3_NEXT_OFFSET() view returns (uint256)
23
addressProvider() view returns (address)
0x0000000000000000000000000000000000000000
baseToken() view returns (address)
0x0000000000000000000000000000000000000000
bountyManager() view returns (address)
0x0000000000000000000000000000000000000000
compoundFee() view returns (uint256)
0
lockZap() view returns (address)
0x0000000000000000000000000000000000000000
multiFeeDistribution() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
poolHelper() view returns (address)
0x0000000000000000000000000000000000000000
priceProvider() view returns (address)
0x0000000000000000000000000000000000000000
rdntToken() view returns (address)
0x0000000000000000000000000000000000000000
uniRouter() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getUniV3Route(address _tokenIn, address _tokenOut) view returns (bytes)
isEligibleForAutoCompound(address _user, uint256 _pending) view returns (bool)
isEligibleForCompound(uint256 _pending) view returns (bool eligible)
lastAutocompound(address) view returns (uint256)
userEligibleForCompound(address _user) view returns (bool eligible)
viewPendingRewards(address _user) view returns (address[] tokens, uint256[] amts)
State-modifying
Events claimCompound(address _user, bool _execute, uint256 _slippage) returns (uint256 fee)
initialize(address _uniRouter, address _mfd, address _baseToken, address _addressProvider, address _lockZap, uint256 _compoundFee)
pause()
renounceOwnership()
selfCompound(uint256 _slippage)
setBountyManager(address _manager)
setCompoundFee(uint256 _compoundFee)
setPoolHelper(address _poolHelper)
setUniRouter(address _uniRouter)
setUniV3Route(address _tokenIn, address _tokenOut, bytes _route)
transferOwnership(address newOwner)
unpause()
BountyManagerUpdated(address indexed _manager)
CompoundFeeUpdated(uint256 indexed _compoundFee)
Initialized(uint8 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
PoolHelperUpdated(address indexed _poolHelper)
RoutesUniV3Updated(address indexed _tokenIn, address indexed _tokenOut, bytes _route)
UniRouterUpdated(address indexed _uniRouter)
Unpaused(address account)
constructor()
This contract contains no fallback and receive objects.
AddressZero()
ArrayLengthMismatch()
InsufficientStakeAmount()
InvalidCompoundFee()
InvalidSlippage()
NotBountyManager()
NotEligible()
SwapFailed(address asset, uint256 amount)
WrongRoute(address fromToken, address toToken)