TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 34 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 39 additional slots
Balances ($9,994,144.20)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
sfrxETH | ERC-20 | 2.913295K | $3,430.53 |
$9,994,144.2 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20891854 | a month ago | | | 0 | 0.0024843817 | |
| 20876836 | a month ago | | | 0 | 0.0036510141 | |
| 20862547 | 2 months ago | | | 0 | 0.0056482884 | |
| 20801464 | 2 months ago | | | 0 | 0.0032874720 | |
| 20787027 | 2 months ago | | | 0 | 0.0062084252 | |
| 20623045 | 3 months ago | | | 0 | 0.0019984757 | |
| 20479999 | 3 months ago | | | 0 | 0.00061916627 | |
| 20429804 | 4 months ago | | | 0 | 0.0018282207 | |
| 20052291 | 5 months ago | | | 0 | 0.0019644659 | |
| 20002130 | 5 months ago | | | 0 | 0.0024771147 |
ABI
ABI objects
Getter at block 21205280 collateralRatio() view returns (uint256) currentBaseTokenPrice() view returns (uint256) isBaseTokenPriceValid() view returns (bool _isValid) isUnderCollateral() view returns (bool)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
FX_MARKET_ROLE() view returns (bytes32)
0xe88ed2d35c0cfab359fb462bf5a023d04cb058b5e7f26c13b23a5904cff6b510
PROTOCOL_INITIALIZER_ROLE() view returns (bytes32)
0x7a674bc9ca1d5ae35bc3b985343a16fa8652fb50eae4a09af3e0555006940964
SETTLE_WHITELIST_ROLE() view returns (bytes32)
0x8e2ea90053027dd0e107693aeca5d0e7b6cd7291479d8384fbbcee6d132d6716
baseToken() view returns (address)
0xac3e018457b222d93114458476f3e3416abbe38f
baseTokenCap() view returns (uint256)
5000000000000000000000
emaLeverageRatio() view returns (uint40 lastTime, uint24 sampleInterval, uint96 lastValue, uint96 lastEmaValue)
(lastTime=1731784367, sampleInterval=60, lastValue=1765938873285227697, lastEmaValue=1815171989235949641)
fToken() view returns (address)
0xa87f04c9743fd1933f82bddec9692e9d97673769
getHarvesterRatio() view returns (uint256)
10000000
getRebalancePoolRatio() view returns (uint256)
500000000
harvestable() view returns (uint256)
620354587444672509
leverageRatio() view returns (uint256)
1765938873285227697
platform() view returns (address)
0x0084c2e1b1823564e597ff4848a88d61ac63d703
priceOracle() view returns (address)
0xffe563c168c01e05da4f3d81938af158466ad793
rateProvider() view returns (address)
0x7ced6167b5a08111dc8d0d2f9f7e482c4da62506
rebalancePoolSplitter() view returns (address)
0xb26ca48fe4ee94a4fe8815f7e54e99124f997540
referenceBaseTokenPrice() view returns (uint256)
3240652520326128373477
strategy() view returns (address)
0x0000000000000000000000000000000000000000
strategyUnderlying() view returns (uint256)
0
totalBaseToken() view returns (uint256)
3218320842767082660227
xToken() view returns (address)
0x2bb0c32101456f5960d4e994bac183fe0dc6c82c
Read-only
getRoleAdmin(bytes32 role) view returns (bytes32)
getUnderlyingValue(uint256 _amount) view returns (uint256)
getWrapppedValue(uint256 _amount) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
maxMintableFToken(uint256 _newCollateralRatio) view returns (uint256 _maxBaseIn, uint256 _maxFTokenMintable)
maxMintableXToken(uint256 _newCollateralRatio) view returns (uint256 _maxBaseIn, uint256 _maxXTokenMintable)
maxRedeemableFToken(uint256 _newCollateralRatio) view returns (uint256 _maxBaseOut, uint256 _maxFTokenRedeemable)
maxRedeemableXToken(uint256 _newCollateralRatio) view returns (uint256 _maxBaseOut, uint256 _maxXTokenRedeemable)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
grantRole(bytes32 role, address account)
harvest()
initialize(address _platform, address _rebalancePoolSplitter, address _rateProvider, address _priceOracle, uint256 _baseTokenCap, uint24 sampleInterval)
initializeProtocol(uint256 _baseIn) returns (uint256, uint256)
mintFToken(uint256 _baseIn, address _recipient) returns (uint256 _fTokenOut)
mintXToken(uint256 _baseIn, address _recipient) returns (uint256 _xTokenOut)
notifyStrategyProfit(uint256 _amount)
redeem(uint256 _fTokenIn, uint256 _xTokenIn, address _owner) returns (uint256 _baseOut)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
settle()
transferToStrategy(uint256 _amount)
updateBaseTokenCap(uint256 _baseTokenCap)
updateEMASampleInterval(uint24 _sampleInterval)
updateHarvesterRatio(uint32 _newRatio)
updatePlatform(address _platform)
updatePriceOracle(address _priceOracle)
updateRateProvider(address _rateProvider)
updateRebalancePoolRatio(uint32 _newRatio)
updateRebalancePoolSplitter(address _splitter)
updateStrategy(address _strategy)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
Harvest(address indexed caller, uint256 totalRewards, uint256 rebalancePoolRewards, uint256 harvestBounty)
Initialized(uint8 version)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Settle(uint256 oldPrice, uint256 newPrice)
UpdateBaseTokenCap(uint256 oldBaseTokenCap, uint256 newBaseTokenCap)
UpdateEMASampleInterval(uint256 oldSampleInterval, uint256 newSampleInterval)
UpdateHarvesterRatio(uint256 oldRatio, uint256 newRatio)
UpdatePlatform(address indexed oldPlatform, address indexed newPlatform)
UpdatePriceOracle(address indexed oldPriceOracle, address indexed newPriceOracle)
UpdateRateProvider(address indexed oldRateProvider, address indexed newRateProvider)
UpdateRebalancePoolRatio(uint256 oldRatio, uint256 newRatio)
UpdateRebalancePoolSplitter(address indexed oldRebalancePoolSplitter, address indexed newRebalancePoolSplitter)
UpdateStrategy(address indexed oldStrategy, address indexed newStrategy)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
ErrorCollateralRatioTooSmall()
ErrorEMASampleIntervalTooSmall()
ErrorExceedTotalCap()
ErrorHarvesterRatioTooLarge()
ErrorInsufficientInitialBaseToken()
ErrorInvalidOraclePrice()
ErrorInvalidTwapPrice()
ErrorProtocolInitialized()
ErrorRebalancePoolRatioTooLarge()
ErrorUnderCollateral()
ErrorZeroAddress()