SaffronERC20StakingPool

Verified contract

Active on Ethereum with 277 txns
Deployed by via 0x19c77eaa at 11441748
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 $4.79
ERC-20
--
0x07733b69f37c7e9a06b2dde7953d8694019b60d267b07025925c419522227ad4
0x2a22ea7c2c9881aa2e67aaeeaf8d39d6c4efb80e1bfefff27b5a190f3db38863
0x6b0f827a5ddfba411fab55530abb8d54da5a572984559dfaf3c68557d5643f47
0xd89d53b64200e09ae70e8079a79c4f4fc731637b71190fd92b2d185424329f7d
0xe3a101d56abdf9882f17c01c7afce2a9edaf310f7fb8ded19de6c78e8b6aca88
0x93d8cb018040d63fbb62b4b546578e61a3df3627d65b4429d5e8bdfd9262f2e1
From
0xdc6d4c0659e2a3fe05f1e42ae421308e1deb87a2266620ba5ef846d7bea4ef9c
0xa9fe6f0ea32640aec0fbc66e6717b6dd6fadcf995db31111a6a2610aee02b051
0x6d46b5f45369bdb69f8357ab2bfd25d2e9be6bf935b33f438e2ca7bd089fb13c
0xb4f0344a42b57b05abe3200d71cdc657dced970bf517ab91fbfe1fe5b966c339

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