X2Y2Compounder
Verified contract
Active on
Ethereum with 13,710 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($136.78)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 0.041246 | $3,316.14 |
$136.78 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21166949 | 6 hours ago | | | 0 | 0.0095975727 | |
| 21165181 | 12 hours ago | | | 0 | 0.0089876448 | |
| 21149540 | 3 days ago | | | 0 | 0.0022938686 | |
| 21133146 | 5 days ago | | | 0 | 0.0048136403 | |
| 21132419 | 5 days ago | | | 0 | 0.00054751696 | |
| 21132417 | 5 days ago | | | 0 | 0.0042322039 | |
| 21119170 | 7 days ago | | | 0 | 0.0011102610 | |
| 21119021 | 7 days ago | | | 0 | 0.0015666172 | |
| 21103518 | 9 days ago | | | 0 | 0.0011182765 | |
| 21100501 | 10 days ago | | | 0 | 0.0012671205 |
ABI
ABI objects
Getter at block 21168839 calculateSharePriceInX2Y2() view returns (uint256)
MAXIMUM_HARVEST_BUFFER_BLOCKS() view returns (uint256)
6500
MINIMUM_DEPOSIT_X2Y2() view returns (uint256)
1000000000000000000
calculateSharePriceInPrimeShare() view returns (uint256)
123979188878671856
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 user) view returns (uint256)
userInfo(address) view returns (uint256)
State-modifying
Events 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()
ConversionToX2Y2(uint256 amountSold, uint256 amountReceived)
Deposit(address indexed user, uint256 amount)
FailedConversion()
HarvestStart()
HarvestStop()
NewHarvestBufferBlocks(uint256 harvestBufferBlocks)
NewMaximumPriceX2Y2InWETH(uint256 value)
NewThresholdAmount(uint256 thresholdAmount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
Unpaused(address account)
Withdraw(address indexed user, uint256 amount)
constructor(address _feeSharingSystem, address _uniswapRouter)
This contract contains no fallback and receive objects.
This contract contains no error objects.