SaffronPool

Verified contract

Active on Ethereum with 31 txns
Deployed by via 0x0db0844b at 12945021
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 $5.12
0xd3124ad5f4bc0e9bd755d159c0c8f494451b43b9f9c557283bc1eced69ccc7c9
0x338139579616c3994fce806cd7569fea697bf9cb44fc40d3ed822e5c4de0528a
0xe2f05b06da1863b6d9e39a724bd4f1764571ffcc6fbb72cf06eb7785e8b6381c
0x861ef75fe9c4c6961ba981f7a34d8c20b4a1d419383d316ff59a78e2757f6b8c
0xc4e2d73b0399d7a38c26e9b9e8e6591cab55e20d170537a3a580824f13e39fb9
0x34aa68c08d8023f5e3b2a7a8d1013cc01ba1f99df42b094ed6d8a88a838623a0
0x97f37a3fd148ef2455eaec0ac2bf206cd32d56b7564cef91ef6c2d21390bff1e
0xfa2ed1d8d178ca64d0aafa92b3140f54e28e4acbdffa4e773fa5cfd18f62504f
0x8d4d09ed3b7d8eacf3d802c00782c9155fadacfa00fb14fd00890ac6651092dd
0x0717068914bb271fa754d752cc661a8a8ecc8a1ed634e57acb6048b25dec2345

Functions
Getter at block 21216505
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)
0
base_asset_address(view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
best_adapter_address(view returns (address)
0xd973f4728d6fe8dbb83c0533f6a5e4564e832554
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)
28842104
pool_principal(view returns (uint256)
0
strategy(view returns (address)
0x0ecc64675d6a34d46054b4a4ed64923d77d82582
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
set_strategy(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.