MerkleRewardsDistributor

Verified contract

Active on Ethereum with 23 txns
Deployed by via 0xf4bb7333 at 16144035
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $1.91
ERC-20
Value $1,423.6
ERC-20
Value $9.26
ERC-20
Value $5
ERC-20
Value $3.84
ERC-20
Value $0.62
ERC-20
Value $0.01
ERC-20
Value $0
0xf98a527addd15787352acb52975836819d030dcd618a711f78b815492a711377
0x7fd22118f9eab3d2d0a69759aedd6baa57182cb55d2fc6f10bf4430deac4fa28
0x269116e1968fc35fa7c55f32794991a601aee0bee601f5ce331c2f47ddbb18d0
0xe300a51a63ed546c666252c391a90bd9e3345dc648cbc74f492451b4e558a74d
0x3032ee49b6ab9c90b49d6fb036bed20aeae4fc908a96113d7cae09725c6d797b
0x5794593738c866e4153b2d088bba3eb46f506427d296fc988bb2302743955a5b
0xd70ed223c6eb7746e2715e615ea7d499f392a3fc4766f16c22c54420b1c43fdb
0x95874d249a5d8dd8e4c9a763b608c489ed35a0fe430e07d5a92a1be81acc55f3
0x35d2b0854cc3e0da947f06a1b07ec2dd2cb30a0feae798d4726217ce94a3de20
0x61b33cfa2097ec7350a4f6ca1c50190c89cd5ad7b73c95db5a6f0d4b73c1771d

Functions
Getter at block 21333062
BPS_MAX(view returns (uint16)
10000
adminAddress(view returns (address)
0xf7ffef737e122fdac725898201d41fd30df71d1a
betweenEpochs(view returns (bool)
false
claimsDisabled(view returns (bool)
false
currentEpoch(view returns (uint256)
6
daoAddress(view returns (address)
0xa8047c2a86d5a188b0e15c3c10e2bc144cb272c2
merkleRoot(view returns (bytes32)
0x1a84d73d73aa0485c58ea3f3704c097d57bc3216b60892c14c0e8df344174210
minStakeAmount(view returns (uint256)
2000000000000000000000
owner(view returns (address)
0xc8e2d405ece9e066383c92d7c889266bc946f2ab
routerContract(view returns (address)
0xd9e1ce17f2641f24ae83637ab66a2cca9c378b9f
swapTimeout(view returns (uint256)
900
tokenContract(view returns (address)
0x618679df9efcd19694bb1daa8d00718eacfa2883
treasuryAddress(view returns (address)
0xd6901cfba94ae408d6ccef593cda88914d775104
treasuryFeeBps(view returns (uint16)
0
treasuryFees(view returns (uint256)
0
Read-only
claimed(bytes32view returns (bool)
State-modifying
claim(uint256 amountToClaimbytes32[] merkleProof
endEpoch(uint256 epochNumberuint256 ethAttributedaddress[] ethSwapPathuint256 ethReturnMinaddress[] tokensAttributeduint256[] amountsAttributedaddress[][] swapPathsuint256[] amountsOutMin
nextEpoch(bytes32 newMerkleRootbytes newMerkleCDI
renounceOwnership(
setAdminAddress(address _adminAddress
setDaoAddress(address _daoAddress
setMinStakeAmount(uint256 _minStakeAmount
setRouterContract(address _routerContract
setSwapTimeout(uint256 _swapTimeout
setTreasuryAddress(address _treasuryAddress
setTreasuryFeeBps(uint16 _treasuryFeeBps
transferOwnership(address newOwner
Events
AdminAddressUpdated(address indexed fromaddress indexed to
Claimed(address indexed accountuint256 epochuint256 amount
DaoAddressUpdated(address indexed fromaddress indexed to
DepositedTreasuryFees(address indexed addruint256 amount
EpochEnded(uint256 endedEpochNumuint256 timestamp
EpochStarted(uint256 epochNumber
EthSwapped(uint256 swapAmountOutuint256 receivedTokensuint256 epoch
MerkleProofCIDUpdated(bytes newMerkleCDI
MinStakeAmountUpdated(uint256 fromuint256 to
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RouterContractUpdated(address indexed fromaddress indexed to
SwapTimeoutUpdated(uint256 fromuint256 to
TokensSwapped(uint256 swapAmountOutuint256 receivedTokensuint256 epochaddress indexed tokenAddress
TreasuryAddressUpdated(address indexed fromaddress indexed to
TreasuryFeeTaken(uint256 epochuint256 amount
TreasuryFeeUpdated(uint256 fromuint256 to
Constructor
constructor(address _adminAddressaddress _treasuryAddressaddress _daoAddressaddress tokenAddressaddress routerAddress
Fallback and receive
receive(
Errors
ClaimsDisabledUntilNextEpoch(
IncorrectEpoch(
InsufficientEthBalance(uint256 requireduint256 actual
InsufficientTokenBalance(address tokenuint256 requireduint256 actual
InvalidEpoch(
InvalidMerkleProof(
InvalidRequest(string msg
InvalidTreasuryFee(
MismatchedArrayLengths(
NoTokensAttributed(
OnlyAdmin(
OnlyDao(
RewardAlreadyClaimed(