SaffronERC20StakingPool

Verified contract

Active on Ethereum with 31 txns
Deployed by via 0x0fd074db at 12850262
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 $1.25
ERC-20
Value $0
0xf22cde9c88c4cfbef95948fe7c5927eca96e6219bcd3616e403ca70647889478
0xfcbf9a1f66837b620324c90ee948dd16aa9650b6b05f8d0848ea00e0a2db2ea4
0x56eba8c78f75530825037344e58799b6ded1bfc660f66e76fe2f4f6f63d405fe
0x6ee211caf86e668449af0ccb24faaf19eec4f1b93fd4a572b673ef1c2a947343
0x3c8cc217417667e7024c58fd9b5cd8e5e216bb5d130461296bfa23a370d67a8c
0x1323706704f7bff272649c950039be1e6fd7d641dd7e8a574df0e9922e5c0ad6
0x9f18317c7963d4857146438aa03e0290730578fbf9bbda51788bd3c809913dd1
0xeb67218ba8808d4a3f0e55eaf5ab0145649faa79ea3315edb2d89dd629072bca
0x86722dc27256dc623a90ec219a563520a1a744372beee5443b5a3fd8fef7b57a
0x4afa2c92d335b6dcc49b0bd14d64d6d1d39d27d0939d40167a8a101a475e02a0

Functions
Getter at block 21223470
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)
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.