SaffronPool

Verified contract

Active on Ethereum with 36 txns
Deployed by via 0xc7a00d3e at 12850247
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
0xcae0d7cc27db686fd8b9ff8278074ab6ad02bbfe71a58db64a8c060d6c0d2ec2
From
0x44a6e5152700f8740b74332aa89c978a9f4329acaa4b8e42748c190c4ae967f4
0x8e67a38c9a662a60db9661dc0841e83de6ec87dc26372fb22dc415038326db20
0x5068016f525df94c159f46128b0e7eda83d216541a3108a85a7f7b7641086e00
0x228414182e8d540065e3657b618389a44ce22b74aa9fd79fff2118e1fdef10e7
0xfe1fe4feb7e8d19de23940f64d429482de79ebb7103be5eac771a738c8d5ee25
0xeabd9bc1f2957ceee4e0008710f57e6a82c669fb170f184da4115b2c827d0eea
0xa75f496f2b5b02bc700ae8e40596eb1deaa8df536a6118865f85bf755e50011b
0x6d3d50989c21f6044314518353ae25b85496f7717f4132d4464a8e0fcd7b62f8
0x9248d5eee92547f1fd141939819cc83fa64372fb48314ffdd89cd4cb111d172a

Functions
Getter at block 21226328
SFI_address(view returns (address)
0xb753428af26e81097e7fd17f40c88aaa3e04902c
SFI_ratio(view returns (uint256)
2000000
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)
59
base_asset_address(view returns (address)
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
best_adapter_address(view returns (address)
0xde68063e0776972ca0222e1ad259468844024f45
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)
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
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)
3
pool_principal(view returns (uint256)
59
strategy(view returns (address)
0x444a9e60b28064b9ce94ccce074842082a36a4c4
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.