Compounder

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xf62b38d8 at 19374799
Slot
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

No balances found for "Compounder"

No transactions found for "Compounder"


Functions
Getter at block 21269356
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
 
autocompoundThreshold(view returns (uint256 minStakeAmtEth)
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
 
selfEligibleCompound(view returns (bool eligible)
uniRouter(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getUniV3Route(address _tokenInaddress _tokenOutview returns (bytes)
isEligibleForAutoCompound(address _useruint256 _pendingview returns (bool)
isEligibleForCompound(uint256 _pendingview returns (bool eligible)
lastAutocompound(addressview returns (uint256)
userEligibleForCompound(address _userview returns (bool eligible)
viewPendingRewards(address _userview returns (address[] tokensuint256[] amts)
State-modifying
claimCompound(address _userbool _executeuint256 _slippagereturns (uint256 fee)
initialize(address _uniRouteraddress _mfdaddress _baseTokenaddress _addressProvideraddress _lockZapuint256 _compoundFee
pause(
renounceOwnership(
selfCompound(uint256 _slippage
setBountyManager(address _manager
setCompoundFee(uint256 _compoundFee
setPoolHelper(address _poolHelper
setUniRouter(address _uniRouter
setUniV3Route(address _tokenInaddress _tokenOutbytes _route
transferOwnership(address newOwner
unpause(
Events
BountyManagerUpdated(address indexed _manager
CompoundFeeUpdated(uint256 indexed _compoundFee
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
PoolHelperUpdated(address indexed _poolHelper
RoutesUniV3Updated(address indexed _tokenInaddress indexed _tokenOutbytes _route
UniRouterUpdated(address indexed _uniRouter
Unpaused(address account
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressZero(
ArrayLengthMismatch(
InsufficientStakeAmount(
InvalidCompoundFee(
InvalidSlippage(
NotBountyManager(
NotEligible(
SwapFailed(address assetuint256 amount
WrongRoute(address fromTokenaddress toToken