SaffronERC20StakingPool

Verified contract

Active on Ethereum with 27 txns
Deployed by via 0xb30953b2 at 12945011
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
0xa9694578051a7406bcf28baa9661281a99c94cbe9a02f8ac8d25cdf6c68fcbaa
0x9124413569df20b2cfca4113613305260029695c0ba35bb5c459cdb6acaa311b
0x7f34233fd43e91a8989e04e0c56f8775397cfe8aa93adb3c248045f15a61f9d1
0x5df7659ca2e9d0021aef9107837bd632453879c2eb7dc8690760742998bb98f5
0x2560b6cc0ffec497ad1ed4c88ab57398d313d598873abf0d49833e1f3c699f42
0x21676194366ed7f92f23fe7db368fe66ee37607bbc8587075260868a71ee51fc
0xb99a6de136434d6774c1047213ead3386ac9aafda75c26426f2a6e90f6d79ce2
0xe6d2ccde36604f69e8049b1e7946c4237523ac4dd521f05f0e51c22c47952bdb
0xe9d6aa3c4d62431eafcf6ca22fb365612bdfe998ea62e7e4999ffa1ac75797ee
0x1d14f05260b321778f34dbeb084be0127b5d5b38ec4d02973c3ee0a63cf731bf

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