SaffronPool

Verified contract

Active on Ethereum with 39 txns
Deployed by via 0x30c86e81 at 11950530
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 $6.96
0x31c11c834f424949ddd2711da55f1e225bcdc42c5cf8ad6bc64a31b7b17f3eca
0xbe51ccdd3cf026b0762e7edbae5c728e5065d6dc0ef6446ed8ef5c21a4cdeb44
0xa6fcb9d03e9e8952e188c6023eba9da9f26a160bf03eeebb1c2a91a54461b010
0x1b3006fa8d7d242d3b15ce9a4ce6ae71683ea18874512017e01ea27f9d66bb09
0x63b7bf0dd52357c206b5c6e3fd42872e0adcad7e55dfca7acb791d045f23b019
0x989b50aa67a0d315d4340f63235c2752031551bc72683c8d1d7a0547af380125
0xecb38625e1f68a15dc3bc165cbf99be408d4057c7e58e61b158133bf97273c4e
From
0xd30b2e9446025232cf5b870420c67fa41047f466a17c13ba7dce4b197d37f87e
0xe9292019b3b318b48a056362f02107d78ea1f20879f87a3f6dc2f95eb55abaf6
0xd46527f3093a3d194d91939be55783477bafabddb249d00cbbd940d2ff6dabf4

Functions
Getter at block 21305477
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)
6499764498000000000
base_asset_address(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
best_adapter_address(view returns (address)
0x0de68d6c4aa4f54ee78c520433cf17516330d79d
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)
0x6b175474e89094c44da98b954eedeac495271d0f
get_current_epoch(view returns (uint256)
106
get_epoch_cycle_params(view returns (uint256uint256)
(1604239200, 1209600)
governance(view returns (address)
0x866552e34b82f46a9640882a1faa2b5a8f21953b
pool_interest(view returns (uint256)
11176309493430392010
pool_principal(view returns (uint256)
6499764498000000000
strategy(view returns (address)
0x769e038f3c449c096de53245993b9b622741264a
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.