SaffronERC20StakingPool

Verified contract

Active on Ethereum with 187 txns
Deployed by via 0x0862a18b at 11619278
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 $31.33
0xc9a6e1b09c1943583ab799ae81b61d9ecd6170549ecb26b271b26f8b62c8c0e5
0x047355a5c7c6427af380b14444f1e251a5b751fdad964449fff1e2d459b167fa
0x9fbdf1409a029b7db46e6ad92013d57c5c3abbf5cb38cad9e31a42b4512a44ac
0xb16befedeb948da938f228a9a6ebbfae24b33fb47dbd61dcb30b97e267b7beb8
0x2d7c7a3c63a76ac547b98a7f1730fea4720e3edaceef16987d6321aed04afbca
0x151e8673f7e3e1c6c4328b972929054560017101d779a9bd58c331a08b46fc9f
0x7581b7e895f6d96ef4ec5702a828bd517d164533a812873f5aaadd23d2b294cc
0x10c921ed8c983bc0970ffe133e4906e54f0ec63977b1bf08aab720528b93bb96
0x73eb182f939ecf2a27bfcc09d8e9508cec78e613d27dbc023390b35ed4e39fda
0xbaa81d33607e6a6eeaba0fc332871038ab95d364641f83031148d81e47efcacb

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