SaffronERC20StakingPool

Verified contract

Active on Ethereum with 36 txns
Deployed by via 0xd0334edb at 11716157
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
0x823adc7cb65aee881a5f79e01745c180cdcb4e53b4be098aed29342ae433a6a9
0x19cdb564d18cd4fff0fb0279122f9394348958a014565318382d1ca5844ab656
0xcdf30fc960deb6271c954343f04beb826ff0ec4265d386166a86b63318b1796b
0xd7c9e09733f7fa78f8b0b9142174a907aa278ff365e135f410e4ed08d5a349db
0xc69069e629e3f74c1d1c0454288e67ee02be09f8e3550c8c68f8b0491a79f60f
0x16da851c2a84dd5bbbc7815c038e8b2e9df284f477b3ab48e9a1fe5c0b20b60c
0x341da2ca0aba23f6b1589ea31d22d1a1ae44d250eb227ff1c8b6dfd9d8034dc6
0x6103860440142f92a0187513672a84fb6dc4aeb2e181e51aba0442dd3d0313f5
0x6521df9fef9507363dda6dfe9af69093da8202cbd7174c440bd6f859a376d546
0xb1f1f0997aae7504e52084d22f0e9ec286c07dd8180bac2879964b80289bfc37

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