SaffronERC20StakingPool

Verified contract

Active on Ethereum with 30 txns
Deployed by via 0x27e8ecc2 at 12850257
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
0x018992455b468ce89ae0d1b73c1d560ea5993623ed0078e06743a98263fd9bd9
0x439515e43e2aa7b47d43f7e70d4c47ef78a0c3d3287a9dffd236999848c06cd6
0x07fa0e9fb7a829e6669cd03164af4357812b2eb7c1bfca2cd36512676dc1cfcf
From
0xb94633fd05e52de16950171d46e6e4feca016d9ac590ae3a7a12e83cafb96dec
0x4425cd6140c16c2b0ee5fdf3c515c64134bd5fdc50edc3dc543b6d64a3a42b68
0xfd96eac510793a7487721fa4d37ae7fb6ba40f84ed05735ee3a35ebdc7ebced9
0xb42207138c693d81c4b1c6286797710f524ccc7fbec4914b4ad3b7d24515d81f
0x18d34869a5a24071c0e2b19faa264af53c4f9887132f98c08987588a0e491cee
0x1ac9be43d7a530e1d356942fd992eff3eb8fe17d3332dba1852805f341e545aa
From
0x2c64daa92bb92f06086c8e73250bd1e0b604af436ca58b3f7bda878766c813aa

Functions
Getter at block 21226383
SFI_address(view returns (address)
0xb753428af26e81097e7fd17f40c88aaa3e04902c
_shutdown(view returns (bool)
true
base_asset_address(view returns (address)
0x23a9292830fc80db7f563edb28d2fe6fb47f8624
epoch_cycle(view returns (uint256 start_dateuint256 duration)
(start_date=1604239200, duration=1209600)
get_base_asset_address(view returns (address)
0x23a9292830fc80db7f563edb28d2fe6fb47f8624
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)
0
strategy(view returns (address)
0x444a9e60b28064b9ce94ccce074842082a36a4c4
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.