SaffronERC20StakingPool
Verified contract
Active on
Ethereum with 133 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
Balances ($14.11)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
SFI | ERC-20 | 0.573647 | $24.60 |
$14.11 | |
SLP | ERC-20 | 10.112423 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11569740 | 4 years ago | | | 0 | 0.0078016510 | |
| 11550912 | 4 years ago | | | 0 | 0.0087898800 | |
| 11550208 | 4 years ago | | | 0 | 0.0088804100 | |
| 11550188 | 4 years ago | | | 0 | 0.010252340 | |
| 11546966 | 4 years ago | | | 0 | 0.0072663300 | |
| 11544325 | 4 years ago | | | 0 | 0.0060682086 | |
| 11543836 | 4 years ago | | | 0 | 0.0079976765 | |
| 11543822 | 4 years ago | | | 0 | 0.0080571480 | |
| 11540572 | 4 years ago | | | 0 | 0.0099594160 | |
| 11540440 | 4 years ago | | | 0 | 0.0071778140 |
ABI
ABI objects
Getter at block 21259753
SFI_address() view returns (address)
0xb753428af26e81097e7fd17f40c88aaa3e04902c
_shutdown() view returns (bool)
true
base_asset_address() view returns (address)
0x23a9292830fc80db7f563edb28d2fe6fb47f8624
epoch_cycle() view returns (uint256 start_date, uint256 duration)
(start_date=1604239200, duration=1209600)
get_base_asset_address() view returns (address)
0x23a9292830fc80db7f563edb28d2fe6fb47f8624
get_current_epoch() view returns (uint256)
106
get_epoch_cycle_params() view returns (uint256, uint256)
(1604239200, 1209600)
governance() view returns (address)
0x09e9ff67d9d5a25fa465db6f0bede5560581f8cb
pool_principal() view returns (uint256)
10112423284601693314
strategy() view returns (address)
0xf4aa3b60ead8df9768816f20710a99bbf372393c
Read-only
SFI_earned(uint256) view returns (uint256)
dsec_token_addresses(uint256) view returns (address)
epoch_principal(uint256) view returns (uint256)
epoch_wound_down(uint256) view returns (bool)
get_epoch_end(uint256 epoch) view returns (uint256)
get_seconds_until_epoch_end(uint256 epoch) view returns (uint256)
hourly_strategy(address) pure
principal_token_addresses(uint256) view returns (address)
saffron_LP_token_info(address) view returns (bool exists, uint256 epoch, uint8 token_type)
total_dsec(uint256) view returns (uint256)
State-modifying
Events add_liquidity(uint256 amount, uint8 tranche)
erc_sweep(address _token, address _to)
new_epoch(uint256 epoch, address saffron_LP_dsec_token_address, address saffron_LP_principal_token_address)
remove_liquidity(address dsec_token_address, uint256 dsec_amount, address principal_token_address, uint256 principal_amount)
set_base_asset_address(address to)
set_governance(address to)
shutdown()
wind_down_epoch(uint256 epoch, uint256 amount_sfi)
AddLiquidity(uint256 new_pool_principal, uint256 new_epoch_principal, uint256 new_total_dsec)
DsecGeneration(uint256 time_remaining, uint256 amount, uint256 dsec, address dsec_address, uint256 epoch, uint256 tranche, address user_address, address principal_token_addr)
ErcSwept(address who, address to, address token, uint256 amount)
RemoveLiquidityDsec(uint256 dsec_percent, uint256 SFI_owned)
RemoveLiquidityPrincipal(uint256 principal)
WindDownEpochState(uint256 previous_epoch, uint256 SFI_earned, uint256 epoch_dsec)
constructor(address _strategy, address _base_asset, address _SFI_address, bool epoch_cycle_reset)
This contract contains no fallback and receive objects.
This contract contains no error objects.