SaffronERC20StakingPool

Verified contract

Active on Ethereum with 327 txns
Deployed by via 0xa98744fa at 11352827
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
ERC-20
--
0x2fe457af61f5c1a58dc8a78928dc2fa81d172fffd6eb5af4e44f647dde488d0a
0x1ee9bdf0cf8bd4b0a5f0594db59e60c91d4fc80b50a20dc54d5af2442a434104
From
0xfb6ba72c33cb04e24d6e9e971b6b2b094652a8d390dbdcd610386a416cc42392
0x56613a1087693ed99646576696085cb9923582d72e28b498ed41235a8e892875
0x733743c9b00c6f2ca89a2d4e67960a32d0524059afcc61819ebf0ce04014a403
0xd6b555cb01143399ad6a3770a8fb002d73ab02b1d83583a748b6d7e02d09148e
0x772b8674ad5ab7a8271d4b2b1c4d7dbb6635e9d0658fa2a9c8e96f0bf21811bd
0xd41a8f311c19997c251a1ff9b2ca3ebc204f55efed196b1d7aaab86f6edf208c
0xd1e21ccebe2713740275a54e7023cc437d55415ff475e70d8684c57616d47117
0x2c2f490c3a743c022ebc54dd5acaf44621582c4ff43ea0e55eee84a7a947a86e
From

Functions
Getter at block 20984670
SFI_address(view returns (address)
0xb753428af26e81097e7fd17f40c88aaa3e04902c
_shutdown(view returns (bool)
true
base_asset_address(view returns (address)
0xc76225124f3caab07f609b1d147a31de43926cd6
epoch_cycle(view returns (uint256 start_dateuint256 duration)
(start_date=1604239200, duration=1209600)
get_base_asset_address(view returns (address)
0xc76225124f3caab07f609b1d147a31de43926cd6
get_current_epoch(view returns (uint256)
103
get_epoch_cycle_params(view returns (uint256uint256)
(1604239200, 1209600)
governance(view returns (address)
0x09e9ff67d9d5a25fa465db6f0bede5560581f8cb
pool_principal(view returns (uint256)
278901968
strategy(view returns (address)
0x36f23bab8c0d4b643e796e317e9c115fe9d6c3b8
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.