SaffronERC20StakingPool

Verified contract

Active on Ethereum with 40 txns
Deployed by via 0x09934c7f at 11716169
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
0x882cbddbfa65c8458a0a0bbf68574e1b1f97f97ff25a3a5a2c2f63cdec6ce62e
0x998351dd807559df6135caa9158946fb03c8616743f7b9587be8b72fbb64f265
0x9ee96b26ad51cb094442d0b32046936764f447e0e3de16a1bd6dd256f5e0dfe6
0x4ce03a4f1f57b3be5111a892a37127775199c21956267ddc72275961f5e2b737
0xee4699169f57710d3c4fa3e28fa3ca801600e035732dc03a46807ef905b3499b
0x15a5ef8113dc6a4d84788f553d528727e2cef984efe5026377b1ead367bd3360
0x1328acb3209ecafe5160a52356e04f13b06e4efb0c976f29145f812a57ba7599
0x691511a96e2894b1637e466cf31a2432ac3d112714ba2b9de08e71bd45e60fd8
0x854fa797e1eabf2a4ec323c3f9ed8669435cfc4a0853855dcd5fdbfde5c458d8
0x53a434f1b1e5d06a2347d6175a7d733cae4f4e760554c7c1c055d10a02817415

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