SaffronERC20StakingPool

Verified contract

Active on Ethereum with 25 txns
Deployed by via 0xadff2788 at 12669703
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 $30.22
ERC-20
--
0x4055f30b4632fae2cb73f84d0bbc5674e2a15118794493763d805a2b0d069621
0x91b484ddac61e3304697f23e8ec0a3c67e85260d28d809c1ea8cf04892100ed8
0x629e7fb0e2dadc7d1591c4aa00ac3d4e0d8d27159de4f019b68c33c318f11c22
0x0a9904f4ec936dff123d8e8008cebd1299d8cbadb6a386c2aeffd0aab0cc4418
0x45f652439e6c56be5392ccca5747e5d21c9d9f5a01f8773da5605488dec8bb55
0xb66dbf002ea3d0061dc67ebd0517ebc647e383b7c1dba836a33c3452f3aed52e
0xa1ce167072c16718c0bb15fb4dd9264c906f0503116b00946378e47495f884a8
0xa99b379dc02e5e05c82fc17880435b770ff8374ce1112cbbbae81ab42ced40ca
0xc1e779bdbe71697f9627d1bf56ea301e46b2d10c3381e0f05e0dfae7ea67e4a7
0x690464eef07d2ccdaae13c31abf63d884ffb4c9cf08f5f3dfb1b34af29c5ae3a

Functions
Getter at block 20891587
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)
55914745441601178020
strategy(view returns (address)
0xf9c61b7b76c0b644ce0b107344227a82e34b7793
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.