SaffronERC20StakingPool

Verified contract

Active on Ethereum with 20 txns
Deployed by via 0xd2f70fab at 12073812
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
0x408a84bfe4fd1c9159862df3b83f8f18294b7312652638b673c4dba559922dfc
0x844d2fa190974d428bfba4509468485c105ec91080f1c0076053086349a062d8
0xea93049c984c10348663fdf721fd061bb5a25864f8f965d5874bb7c173e771e1
0xd5534639d1fe4fbadce6a96abd0d09907c1891d142bd6a5b44c23e9ffadb9e81
0xe0e6c46c8529c6c20ddfd51e3f0dd3853a739cf89d305be612645c9d1ab4b7ba
0xce3584d766bcb8b12508d23292f158fb6c491cd7ee63a622d7c888cc86070acf
0x745534164ead7afa3fea0534c350f2279a17a1f696df2fe6bde4917670a0be98
0x11477f516b61ab689c2cca2282a516517e9c3eff4200b511b44092c9d80fb1c7
0xda6d728dd06abbeb9c2a360cc1f6e43b9dad9ddd710832d8e2e20cc05fd39333
0xc7584f0f69158fa57fde656beadf9894e056feb8ddbb9feb00352aa63c8c2272

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