TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 40 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 ($676,481.42)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ezETH | ERC-20 | 176.977724 | $3,822.41 |
$676,481.42 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21284124 | 3 days ago | | | 0 | 0.0039373158 | |
| 21233983 | 10 days ago | | | 0 | 0.0070112158 | |
| 21183781 | 17 days ago | | | 0 | 0.014994345 | |
| 21133597 | 24 days ago | | | 0 | 0.0052712530 | |
| 21083414 | a month ago | | | 0 | 0.0033632849 | |
| 21033230 | a month ago | | | 0 | 0.0022305993 | |
| 20945657 | 2 months ago | | | 0 | 0.0039971247 | |
| 20868499 | 2 months ago | | | 0 | 0.011342332 | |
| 20818273 | 2 months ago | | | 0 | 0.0055785337 | |
| 20673384 | 3 months ago | | | 0 | 0.00031671142 |
ABI
ABI objects
Getter at block 21303798 collateralRatio() view returns (uint256) currentBaseTokenPrice() view returns (uint256) harvestable() 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)
0xbf5495efe5db9ce00f80364c8b423567e58d2110
baseTokenCap() view returns (uint256)
200000000000000000000
emaLeverageRatio() view returns (uint40 lastTime, uint24 sampleInterval, uint96 lastValue, uint96 lastEmaValue)
(lastTime=1732990319, sampleInterval=60, lastValue=2282500482312610807, lastEmaValue=1328842252541685958)
fToken() view returns (address)
0x50b4dc15b34e31671c9ca40f9eb05d7ebd6b13f9
getHarvesterRatio() view returns (uint256)
10000000
getRebalancePoolRatio() view returns (uint256)
500000000
leverageRatio() view returns (uint256)
2282500482312610807
platform() view returns (address)
0x0084c2e1b1823564e597ff4848a88d61ac63d703
priceOracle() view returns (address)
0x564a464c9c357de593fa48efd784048a9e366523
rateProvider() view returns (address)
0xe3ff08070ab3ad7eee7a1cab35105f27df8eff10
rebalancePoolSplitter() view returns (address)
0x2755eebf220bfd31b83fd9244b6d061bca225311
referenceBaseTokenPrice() view returns (uint256)
3374553159266666666666
strategy() view returns (address)
0x0000000000000000000000000000000000000000
strategyUnderlying() view returns (uint256)
0
totalBaseToken() view returns (uint256)
182033091550134651000
xToken() view returns (address)
0x2e5a5af7ee900d34bcfb70c47023bf1d6be35cf5
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()