SaffronERC20StakingPool

Verified contract

Active on Ethereum with 285 txns
Deployed by via 0xaa5e1932 at 11716156
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
ERC-20
Value $463.1
0xfb7641ffad830aed148b97d30df3950295a8c64774b98de2a9b0c48c56a399e1
0x87e961a5afec801e2399e7a61e55f69427e828df1186e7a4b89afb9e0c60979f
0x26107df656f5d77e508db681b822858a9e5cacd607ade11cca745be4d0c6ba7e
0x99b511ab9145ca474cbbfe72744889f50cfcbd83c8e72e86201f3829dffa3394
0x75fac4c382da2c7465962e05a27aedfb336051929e256da33006b8b6a465b027
0x20163413a7875dcc419ffecc640bdca14cefb8cec2171fb645ba17493c931460
0x7e075cd149dc19269d74e7517ac600193a27411d8d8a97fec48abbe867807d9b
0xf1d2bf1000c9cef58ac66c9c923a3b5e21968e6906791540d1a1d853e76e179d
0x726a4ca58f81c483d1583cfd4d838fcc09ffdc1d2f935b5acbe4d69b4f7b3360
0x22dfa64f8c816e54d592e33725a1e762457c18e0f0c557ce4f05c2e7a6df46c9
From

Functions
Getter at block 20883996
SFI_address(view returns (address)
0xb753428af26e81097e7fd17f40c88aaa3e04902c
_shutdown(view returns (bool)
true
base_asset_address(view returns (address)
0xb753428af26e81097e7fd17f40c88aaa3e04902c
epoch_cycle(view returns (uint256 start_dateuint256 duration)
(start_date=1604239200, duration=1209600)
get_base_asset_address(view returns (address)
0xb753428af26e81097e7fd17f40c88aaa3e04902c
get_current_epoch(view returns (uint256)
102
get_epoch_cycle_params(view returns (uint256uint256)
(1604239200, 1209600)
governance(view returns (address)
0x09e9ff67d9d5a25fa465db6f0bede5560581f8cb
pool_principal(view returns (uint256)
15650575781055362481
strategy(view returns (address)
0xc7a70b08c826da7509e48c3e555574292915bd21
Read-only
SFI_earned(uint256view returns (uint256)
dsec_token_addresses(uint256view returns (address)
epoch_principal(uint256view returns (uint256)
epoch_wound_down(uint256view returns (bool)
get_epoch_end(uint256 epochview returns (uint256)
get_seconds_until_epoch_end(uint256 epochview returns (uint256)
hourly_strategy(addresspure 
principal_token_addresses(uint256view returns (address)
saffron_LP_token_info(addressview returns (bool existsuint256 epochuint8 token_type)
total_dsec(uint256view returns (uint256)
State-modifying
add_liquidity(uint256 amountuint8 tranche
erc_sweep(address _tokenaddress _to
new_epoch(uint256 epochaddress saffron_LP_dsec_token_addressaddress saffron_LP_principal_token_address
remove_liquidity(address dsec_token_addressuint256 dsec_amountaddress principal_token_addressuint256 principal_amount
set_base_asset_address(address to
set_governance(address to
shutdown(
wind_down_epoch(uint256 epochuint256 amount_sfi
Events
AddLiquidity(uint256 new_pool_principaluint256 new_epoch_principaluint256 new_total_dsec
DsecGeneration(uint256 time_remaininguint256 amountuint256 dsecaddress dsec_addressuint256 epochuint256 trancheaddress user_addressaddress principal_token_addr
ErcSwept(address whoaddress toaddress tokenuint256 amount
RemoveLiquidityDsec(uint256 dsec_percentuint256 SFI_owned
RemoveLiquidityPrincipal(uint256 principal
WindDownEpochState(uint256 previous_epochuint256 SFI_earneduint256 epoch_dsec
Constructor
constructor(address _strategyaddress _base_assetaddress _SFI_addressbool epoch_cycle_reset
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.