FeeSharingSystem
Verified contract
Active on
Ethereum with 67,463 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 589.803313 | $3,279.72 |
$1,934,389.72 |
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21228334 | 2 days ago | | | 0 | 0.0016069088 | |
| 21228035 | 2 days ago | | | 0 | 0.0010817509 | |
| 21227675 | 2 days ago | | | 0 | 0.0010068405 | |
| 21220562 | 3 days ago | | | 0 | 0.0016379454 | |
| 21218028 | 4 days ago | | | 0 | 0.0020506378 | |
| 21214650 | 4 days ago | | | 0 | 0.0011450296 | |
| 21214239 | 4 days ago | | | 0 | 0.0017003623 | |
| 21208033 | 5 days ago | | | 0 | 0.0011539613 | |
| 21206790 | 5 days ago | | | 0 | 0.00099665440 | |
| 21200875 | 6 days ago | | | 0 | 0.0024372024 |
ABI
ABI objects
Getter at block 21245501
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DEPOSIT_ROLE() view returns (bytes32)
0x2561bf26f818282a3be40719542054d2173eb0d38539e8a8d3cff22f29fd2384
PRECISION_FACTOR() view returns (uint256)
1000000000000000000
REWARD_UPDATE_ROLE() view returns (bytes32)
0xd139c7f3a5460f246794bd24bff3478b49114f682a7cc4513889d72531631b96
calculateSharePriceInX2Y2() view returns (uint256)
15415110934126656229
currentRewardPerBlock() view returns (uint256)
107380153846153
lastRewardAdjustment() view returns (uint256)
0
lastRewardBlock() view returns (uint256)
21245501
lastUpdateBlock() view returns (uint256)
21240147
periodEndBlock() view returns (uint256)
21246647
rewardPerTokenStored() view returns (uint256)
474137116617152
rewardToken() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
tokenDistributor() view returns (address)
0xb329e39ebefd16f40d38f07643652ce17ca5bac1
totalShares() view returns (uint256)
29969897645363984490363879
x2y2Token() view returns (address)
0x1e4ede388cbc9f4b5c79681b7f94d36a11abebc9
Read-only
calculatePendingRewards(address user) view returns (uint256)
calculateSharesValueInX2Y2(address user) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
userInfo(address) view returns (uint256 shares, uint256 userRewardPerTokenPaid, uint256 rewards)
State-modifying
Events deposit(uint256 amount, bool claimRewardToken)
depositFor(address user, uint256 amount) returns (bool)
grantRole(bytes32 role, address account)
harvest()
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
updateRewards(uint256 reward, uint256 rewardDurationInBlocks)
withdraw(uint256 shares, bool claimRewardToken)
withdrawAll(bool claimRewardToken)
Deposit(address indexed user, uint256 amount, uint256 harvestedAmount)
Harvest(address indexed user, uint256 harvestedAmount)
NewRewardPeriod(uint256 numberBlocks, uint256 rewardPerBlock, uint256 reward)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Withdraw(address indexed user, uint256 amount, uint256 harvestedAmount)
constructor(address _x2y2Token, address _rewardToken, address _tokenDistributor)
This contract contains no fallback and receive objects.
This contract contains no error objects.