SaffronERC20StakingPool

Verified contract

Active on Ethereum with 19 txns
Deployed by via 0xb5f25e66 at 12217429
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 $0
0xcf27f696ee877deb69aef549ff7f9e420e24b98a991be39128a7fd7dadeffdf8
0x3a773a834228c26fbf6343b76f1e8bfc5625212be7229f036cfa98bff595186e
0xec8fec053f534c35f9742fcf1a22a7cfbed2dff51950494c7d26ab47f1dd861e
0x580deb043c9dcb96707ece4df2c6ead3e55898601b7f149d45070b2e2cfe1f08
0xccc95e5a0881580adbceba4783f517ac6e30faf129452cecc808fd7bb565f916
0xb45fc850620a6343db35d6b5ea0adfce8525aaa56859e6541a2e6a7f79caa06a
0xa31ddcacbb5ce2c48ade7ace298c187aea45270605eca9aca2fde8852a384573
0x3877dbc8264b922894c23900db6e203935a51ad65990a2226c58422dcbf6892a
0x557ca3e898934b72a07851f290289f2557a8dc6e5ce97cc01da76dc8e75c5519
0x0457645921067a8e57379cad6e3fe0b07ebe96fe101a2e5a89d4f8581a7bf58b

Functions
Getter at block 21265634
SFI_address(view returns (address)
0xb753428af26e81097e7fd17f40c88aaa3e04902c
_shutdown(view returns (bool)
true
base_asset_address(view returns (address)
0x66f473b96f0ae6e1cafe0113c1353ba43e381eda
epoch_cycle(view returns (uint256 start_dateuint256 duration)
(start_date=1604239200, duration=1209600)
get_base_asset_address(view returns (address)
0x66f473b96f0ae6e1cafe0113c1353ba43e381eda
get_current_epoch(view returns (uint256)
106
get_epoch_cycle_params(view returns (uint256uint256)
(1604239200, 1209600)
governance(view returns (address)
0x09e9ff67d9d5a25fa465db6f0bede5560581f8cb
pool_principal(view returns (uint256)
0
strategy(view returns (address)
0xf44d84c7430152ddf1cf6ccd8a46544a08099bd1
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
set_strategy(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.