SaffronERC20StakingPool

Verified contract

Active on Ethereum with 133 txns
Deployed by via 0x60524cdd at 11441767
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 $14.11
ERC-20
--
0x0138b5a4cc8a7e2b460f8754e424f4861148d0ff98d04206cc5aa845bf024503
0xbf755337e69635f9f06c6b04ffba1b55016d4cfed4f49bc03e0ca87e9115d47d
0x766f2edc3bb00bf9c77183b2f64ba5f4da37fd9004ff584fdf2f32b873ed1136
0xbc1419222589cbdb1433b6f601c7c60bd420efb898c9f40cc7fd630e0a25b32a
0xd893ff140c412d19ba23e11640e5073f4a0db94d87da9466dab7b4e54261d4d7
0x3fca4cb5b3d7c5e2113a31f7da235dcb17ab5693149febc81c41cb661974b0be
0xd8f518e83d59d07118f8665b4caece05334f86feb262c06df0e0a12f0740bb65
0xb3310cd671ef2e01da8b807f8cdc6aba6e08070aeb29f20ecba971809772c561
0xddb7f1be346edc97a279464abbc7416fa54c1336cf26840729e0f7d8aadb6da7
0xad0f484c26a31bf6d5ad15669c80b000ea1320181f31cad29ecc76417baf63bd

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