X2Y2Compounder

Verified contract

Active on Ethereum with 13,710 txns
Deployed by via 0x2af18238 at 14808503
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $136.78
0x1db30b6bf2d05317e5cb892ecfcb8e8ff6ba3513bf82c16ce6b0bfdba27bdef5
0x684b13eddf8e23ccb42f3360aa61cac67d123383f1c2338384692373d452d27e
From
0x506c7df03db6dc8a91c9242808e631ab7a4d03244b1540931a7cb0bc3fea1776
0x200dc1f99eb8a80d2ebe3c2d1807b3c8917f95767ce7c77613fc64997b65e0af
0x9cb44d0ad24435aece8d88fa62b81f7d8b0a865a17ca40ca96d432d3fd0c1fee
0x24221cfe39c0cd03c2054d0574a4a7b9343cec662aff2ef7e3aec0b1823350f4
0x71e1f83e3da03349ad1d3ae86d1f1a16f3617665ceee609e901cf62bf8dfc77e
0x972fd973729793d5a3bea8431d6e3704a826bf6cdc6950457abcfc3321a94b75
0x0b8b2485e1f27ea64d6bdd73deb4b849b66f932b916495502544ec85546eb188
0xc9334345202710bda6fed37015c6501724d77c1ca54759ae0f9db979c7af3abf

Functions
Getter at block 21168839
MAXIMUM_HARVEST_BUFFER_BLOCKS(view returns (uint256)
6500
MINIMUM_DEPOSIT_X2Y2(view returns (uint256)
1000000000000000000
calculateSharePriceInPrimeShare(view returns (uint256)
123979188878671856
 
calculateSharePriceInX2Y2(view returns (uint256)
canHarvest(view returns (bool)
true
feeSharingSystem(view returns (address)
0xc8c3cc5be962b6d281e4a53dbcce1359f76a1b85
harvestBufferBlocks(view returns (uint256)
0
lastHarvestBlock(view returns (uint256)
21166949
maxPriceX2Y2InWETH(view returns (uint256)
0
owner(view returns (address)
0x5d7cca9fb832bbd99c8bd720ebda39b028648301
paused(view returns (bool)
false
rewardToken(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
thresholdAmount(view returns (uint256)
100000000000000000
totalShares(view returns (uint256)
76495600455872615200131208
uniswapRouter(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
x2y2Token(view returns (address)
0x1e4ede388cbc9f4b5c79681b7f94d36a11abebc9
Read-only
calculateSharesValueInX2Y2(address userview returns (uint256)
userInfo(addressview returns (uint256)
State-modifying
checkAndAdjustRewardTokenAllowanceIfRequired(
checkAndAdjustX2Y2TokenAllowanceIfRequired(
deposit(uint256 amount
harvestAndSellAndCompound(
pause(
renounceOwnership(
startHarvest(
stopHarvest(
transferOwnership(address newOwner
unpause(
updateHarvestBufferBlocks(uint256 _newHarvestBufferBlocks
updateMaxPriceOfX2Y2InWETH(uint256 _newMaxPriceX2Y2InWETH
updateThresholdAmount(uint256 _newThresholdAmount
withdraw(uint256 shares
withdrawAll(
Events
ConversionToX2Y2(uint256 amountSolduint256 amountReceived
Deposit(address indexed useruint256 amount
FailedConversion(
HarvestStart(
HarvestStop(
NewHarvestBufferBlocks(uint256 harvestBufferBlocks
NewMaximumPriceX2Y2InWETH(uint256 value
NewThresholdAmount(uint256 thresholdAmount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
Unpaused(address account
Withdraw(address indexed useruint256 amount
Constructor
constructor(address _feeSharingSystemaddress _uniswapRouter
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.