SaffronERC20StakingPool

Verified contract

Active on Ethereum with 246 txns
Deployed by via 0x3c5771b5 at 11619272
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 $808.78
0xd0c2391fd8200568c2a5269a2f04a9a8d9596029afc38a38ffdc93ec8b2746fc
0xe48c279fc50f9fa3b70891d87b3b658cbd23fa8d61169f88994f9f7923a07945
0x20f31bbcf488bb7eb4458f478b3a95d051d3caa69e54acf7bd7f8ca44372528c
0x6217b28d6d68ef7e1535e44faba5956da6bee5064c2f26f5f874ff2580830922
0x77729a1010b57aa0fd62496487c5d664b2ae145455d7b2c8cdf5a5ad28abcb28
0x0e926a715d29bfa590ea1e3fd4c78b87c728c5c64d16ba1a077ac21726544f23
0xa742bf8d95b3d55ebb6e777ff78c6100d36a205cc809ae1b2de304a96e74e064
0x04d5591363fc920a18d0928cc88edf4e0e31b9a07e5d42c4e2283fd875a1e45a
0x5d2a4e25cc990259ec3aaf1e38ac1141f6f07c53ee6c8ce730d635ee31bbae7d
0x4c59889e65cd250f615ce773bb2a999018a49baa9514c707ece6d86b2990d709

Functions
Getter at block 21390229
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)
107
get_epoch_cycle_params(view returns (uint256uint256)
(1604239200, 1209600)
governance(view returns (address)
0x09e9ff67d9d5a25fa465db6f0bede5560581f8cb
pool_principal(view returns (uint256)
26132393252961215943
strategy(view returns (address)
0x304375b943d33ac58327752ec7ac277ab41fb0af
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.