LP_Staking

Verified contract

Active on Ethereum with 520 txns
Deployed by via 0x2a369e45 at 13314877
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $22.05
ERC-20
--
0x8ce17309d3b2d6d67d456c070123746f39a8e9479e161741c59bf9bb9df91627
0x5696158ec36bdbe3fac25574b103f6084b44d439753466566cafb4b795f87563
0x1c8aa82563abac716075c0b35157876f60d153e9a8c81c5c5d503f6d1a7997c3
0x4fd7947eafaf6ecdaa967a76389d05ab906d999a96266f8d83b1950c474f176e
0xd739725aa36531051b92c04238cf516b3e8384904287f2d7fc2434e6ea750d9b
0x947eef36beefc59c422b2198c6f53d26958b8380787eae6ec60aa59fa169394e
0xcf6d1dea39158e85c0ec10946095e1dd9b1d9a8855678e371c8d5a175bdf8b25
0xbd16f084cb0efcbdb367786232f8a5801126522da77d0ff5bfca590694ba8a00
0x539085160f5140eedea70e5b4c9a44737f30ccb40e5dd0371682a7cea2e4c83b
0xf46ef4d250b01e11b50c74b408223986e1a67de46c974cd5d3f445655887b497

Functions
Getter at block 21200945
epoch_count(view returns (uint8)
65
epoch_reward(view returns (uint256)
1785000000000000000000
epoch_seconds(view returns (uint256)
86400
get_current_epoch_number(view returns (uint8)
65
staking_end(view returns (uint256)
1638456740
staking_start(view returns (uint256)
1632840740
total_staked(view returns (uint256)
1959856149198262
trusted_lp_token(view returns (address)
0x42b7b8f8f83fa5cbf0176f8c24ad51ebcd4b5f17
trusted_reward_token(view returns (address)
0xcb84d72e61e383767c4dfeb2d8ff7f4fb89abc6e
Read-only
epochs(uint256view returns (uint8 epoch_numberuint248 balance)
get_available_reward(address userview returns (uint256)
prerewards(addressview returns (uint256)
total_staked_for_user(address userview returns (uint256)
users(addressview returns (bool has_prerewardsuint8 epoch_startuint168 balance)
State-modifying
emergency_refund(address[] _users
init_prerewards(struct LP_StakingPrereward[] _usersuint256 _prerewards_total
set_controller(address new_controller
stake(uint168 valuereturns (bool)
unstake(returns (bool)
withdraw_rewards(returns (bool)
Events

This contract contains no event objects.

Constructor
constructor(address lp_token_addressaddress reward_token_addressuint8 _epoch_countuint256 _epoch_secondsuint256 _epoch_rewardaddress _rewards_refund
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.