SaffronPool

Verified contract

Active on Ethereum with 32 txns
Deployed by via 0x6a05b5a1 at 11716171
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.07
0x721ba98f05e006ec4d9f0abd3152eedefc2cf599e3a67c79072247fd8ec71bfd
0xd4a1217f0fc56450714190546ac37c3a3596500e63d01841df5105df4e704698
0xb90006af77801305f3e64d78bd6749484287d096f4c8abcb5de59a7ed2ef9667
0x3d4b59cbe4e9ff0ddef45824cc06c15616f5fcdf654121966c9b2117e711be91
0xe03fc24571d8201c8265b1e75c72e9a4d9d11f95b238cfd961e7dc8635c02286
From
0xfe1b84315458592f61dc595b3f430f23a3f667f8003a6a32776db937360b7fa8
0x693b35bf881de3b6865f57f3b3c3a1a33be4f3c6c93d694b410f4b31687cf76b
0x3109cc2c3d19ac87a3094ce684c11c3c0f3ca9700bfd5627fd3ac73df9c82adf
0x7461fc2c36e4604a68d338233bae2dc982c284fedf4a80d3da4634e90d1a6bd9
0x3e1361cf11a8926078ee806a50fc98d1c74a0870398fff45faf0a95b767f29e5

Functions
Getter at block 21229618
SFI_address(view returns (address)
0xb753428af26e81097e7fd17f40c88aaa3e04902c
SFI_ratio(view returns (uint256)
500000000000000000000
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)
504930385
base_asset_address(view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
best_adapter_address(view returns (address)
0xc2ac2434a64d46b32932aa8c4ec131c96c9b1d65
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)
0xdac17f958d2ee523a2206206994597c13d831ec7
get_current_epoch(view returns (uint256)
105
get_epoch_cycle_params(view returns (uint256uint256)
(1604239200, 1209600)
governance(view returns (address)
0x09e9ff67d9d5a25fa465db6f0bede5560581f8cb
pool_interest(view returns (uint256)
377787
pool_principal(view returns (uint256)
504930385
strategy(view returns (address)
0xc7a70b08c826da7509e48c3e555574292915bd21
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.