SaffronPool

Verified contract

Active on Ethereum with 39 txns
Deployed by via 0x7f8a4072 at 12073820
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
4 additional variables
ERC-20
Value $0.1
0x429c5cf89db99bff11c504895b3371ceeaef5a84431fb187773d88bb82ab5e52
0xa73916050371f6c015a06cf80087455ff6ad003c01d48f5f712e3445101f9120
0x3770d875d61783ac76bda0c8e20495c60323d4a6341775dca54d4cd39d1817c0
0x5d8e004f1de63562ce93c7be71f7db2e5a53704f65e987f541a27af538ed8cee
0x95164548a4bc426dd2a24b495c18983e2338b90ebb215f841efba1e65bc56983
0x641570ea24177f4681496c7a417f2335d0bd26db986c6bd44a6f3a18e25fee8d
0x408c0993ff6e13aa2ec036ff71e7e79080d58d4e0a4f95b9515a6af58a19bdac
0xf78a2df474ffea42443901645054dc2f90ce230fc8a9b66eddd54f9e4ebaeca0
0x493a5dab8c451fb5461d20f342558b7647915daf21904f53cf5cf102a4d4e0a1
0xf6218178aa5e68c041cef4296f592f57b86df73669757f035712b020fc83f5e8

Functions
Getter at block 21380448
SFI_address(view returns (address)
0xb753428af26e81097e7fd17f40c88aaa3e04902c
SFI_ratio(view returns (uint256)
500000000
TRANCHE_SFI_MULTIPLIER(view returns (uint256 Suint256 AAuint256 A)
(S=90000, AA=0, A=10000)
_shutdown(view returns (bool)
true
adapter_total_principal(view returns (uint256)
236454613
base_asset_address(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
best_adapter_address(view returns (address)
0xf28dd3c5f776ebb84d170d05b57015b884f46d5c
epoch_cycle(view returns (uint256 start_dateuint256 duration)
(start_date=1604239200, duration=1209600)
 
get_available_S_balances(view returns (uint256uint256)
get_base_asset_address(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
get_current_epoch(view returns (uint256)
107
get_epoch_cycle_params(view returns (uint256uint256)
(1604239200, 1209600)
governance(view returns (address)
0x866552e34b82f46a9640882a1faa2b5a8f21953b
pool_interest(view returns (uint256)
245722
pool_principal(view returns (uint256)
236454613
strategy(view returns (address)
0x5834afa9612f029351646ef0ea18f35b7da77a28
tranche_A_multiplier(view returns (uint256)
10
Read-only
dsec_token_addresses(uint256uint256view 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)
principal_token_addresses(uint256uint256view returns (address)
tranche_SFI_earned(uint256uint256view returns (uint256)
tranche_S_virtual_unutilized(uint256uint256view returns (uint256)
tranche_S_virtual_utilized(uint256uint256view returns (uint256)
tranche_interest_earned(uint256uint256view returns (uint256)
tranche_total_dsec(uint256uint256view returns (uint256)
tranche_total_principal(uint256uint256view returns (uint256)
tranche_total_unutilized(uint256uint256view returns (uint256)
tranche_total_utilized(uint256uint256view returns (uint256)
State-modifying
add_liquidity(uint256 amountuint8 tranche
delete_adapters(
erc_sweep(address _tokenaddress _to
hourly_strategy(address adapter_address
new_epoch(uint256 epochaddress[] saffron_LP_dsec_token_addressesaddress[] saffron_LP_principal_token_addresses
remove_liquidity(address dsec_token_addressuint256 dsec_amountaddress principal_token_addressuint256 principal_amount
set_best_adapter(address to
set_governance(address to
shutdown(
sweep(address _to
wind_down_epoch(uint256 epochuint256 amount_sfi
Events
AddLiquidity(uint256 new_pool_principaluint256 new_epoch_principaluint256 new_eternal_balanceuint256 new_tranche_principaluint256 new_tranche_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 interest_owneduint256 SFI_owned
RemoveLiquidityPrincipal(uint256 principal
StrategicDeploy(address adapter_addressuint256 amountuint256 epoch
Swept(address whoaddress touint256 sfiBaluint256 baseBal
TrancheBalance(uint256 trancheuint256 amountuint256 deposituint256 capacityuint256 changeuint256 consumeduint256 utilized_consumeduint256 unutilized_consumeduint256 available_utilizeduint256 available_unutilized
WindDownEpochSFI(uint256 previous_epochuint256 S_SFIuint256 AA_SFIuint256 A_SFI
WindDownEpochState(uint256 epochuint256 tranche_S_interestuint256 tranche_AA_interestuint256 tranche_A_interestuint256 tranche_SFI_earnings_Suint256 tranche_SFI_earnings_AAuint256 tranche_SFI_earnings_A
Constructor
constructor(address _strategyaddress _base_assetaddress _SFI_addressuint256 _SFI_ratiobool epoch_cycle_reset
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.