SaffronERC20StakingPool

Verified contract

Active on Ethereum with 22 txns
Deployed by via 0x988c3b4b at 12669695
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
0x468aa258c6de38d4311a069a4fc37c08cfda5e6b1373e73f9eb4f7534af6e128
0x1d5093ae440c68566979135f4f32993b1b589a7a11b552aee5622f5d0cc5cbf0
From
0x3c6b248bff75f4902c294276c17053a37fee8fef90d942b2fc6c07712cd38d67
0xd24aa8b092f6295340bae9a92501d1f8833b33aab349e9b4c9b4c031871a4356
From
0xf3a903c2e3a4c1f8ee6731936ce9ecd66322c2a586a1b7ae5147596dbd0e4c64
0x66fe9c27b98a74686664744a88267faf7433e5e47a26911ba7d34bee4897fdd8
0x216bc808656a14a7d2cf412fb4ac748315ee91ea0ec483fbd37dcbca2baba215
0xba12ed1403b0120b3482c80a89554081f4531b8ecf18f6cf0e5fdaa28328dc5b
0x29f44d350098f763c73f5b6bb2b9c020d43c18cb79ec40283846cf8b3dbda9d9
0xe9c55a07ab714be98f1061ea7c705929151601a23098df2cce3abf718a81f4fa

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