SaffronERC20StakingPool

Verified contract

Active on Ethereum with 22 txns
Deployed by via 0x69931f31 at 12850255
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
--
0xe2d77632d773feb35bffafaf241b5f2bd23d5062e69e82d8bbc08bcba0fdc855
0x36f98ccf50905d5e3653b192509e32a00a74f14fe1265fa763bc2b9aad92016e
0xa211e19d0fc45ddce89b5c83b4780966e02afd11e744b2a710621373dd70dbdc
0xda128dc9169e33d75897c9e803ec383d7f55232f10f389777ac5bd70f0f39c1d
0x100a24176674555245fb2697d403d48f8062790d1eb731eef992efc7c2eb8fd9
0x5f229a6719135c0c17c8c7cae9e92b74258b7a5ab96dac84108c4e89f9e585ee
0x4d273945af64ab8bf9ad0defc7c0343c9667880a13cb64a3463ebe9844ed9c0b
0x9c290dcad2a3c609a0434092862cc71401cb0ae1344bdbe953766d76e081f20a
0x369640f5c129eafecd740e4e4c24a15fe157867abffb3102b42f85fbc33d1872
0xa0312486c8450b11a7bd0eefde099fce498320b14312f9593fb72d33733ff64d

Functions
Getter at block 21226326
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)
105
get_epoch_cycle_params(view returns (uint256uint256)
(1604239200, 1209600)
governance(view returns (address)
0x09e9ff67d9d5a25fa465db6f0bede5560581f8cb
pool_principal(view returns (uint256)
29237388586439897407
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.