TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 41 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
-
variable spans 46 additional slots
Balances ($5,996,814.26)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WBTC | ERC-20 | 75.321722 | $79,616.00 |
$5,996,814.24 | |
COLON | ERC-20 | 11.383669 | $0.001247 |
$0.01 | |
$ | ERC-20 | 50K | -- | -- | |
$ | ERC-20 | 50K | -- | -- | |
DOG | ERC-20 | 117.669578 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20525312 | 3 months ago | | | 0 | 0.00059329228 | |
| 20525299 | 3 months ago | | | 0 | 0.00059068855 | |
| 20525270 | 3 months ago | | | 0 | 0.00065822181 | |
| 20525236 | 3 months ago | | | 0 | 0.00061212804 | |
| 20525211 | 3 months ago | | | 0 | 0.00093174891 | |
| 20525202 | 3 months ago | | | 0 | 0.00087523177 | |
| 20525165 | 3 months ago | | | 0 | 0.00085687443 | |
| 20525136 | 3 months ago | | | 0 | 0.00097683632 | |
| 20525112 | 3 months ago | | | 0 | 0.0017582746 | |
| 20525109 | 3 months ago | | | 0 | 0.0018139884 |
ABI
ABI objects
Getter at block 21158336 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
amm() view returns (address)
0xe0438eb3703bf871e31ce639bd351109c88666ea
baseToken() view returns (address)
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
baseTokenCap() view returns (uint256)
200000000000000000000
borrowRateSnapshot() view returns (uint128 borrowIndex, uint128 timestamp)
(borrowIndex=1150056612581890033, timestamp=1731227927)
emaLeverageRatio() view returns (uint40 lastTime, uint24 sampleInterval, uint96 lastValue, uint96 lastEmaValue)
(lastTime=1731227927, sampleInterval=60, lastValue=1987042834823503061, lastEmaValue=1983752950692955839)
fToken() view returns (address)
0x576b4779727f5998577bb4e25bf726abe742b9f7
fundingCostScale() view returns (uint256)
250000000000000000
getFundingRate() view returns (uint256 _fundingRate)
47753744582114
getHarvesterRatio() view returns (uint256)
0
getRebalancePoolRatio() view returns (uint256)
666666666
leverageRatio() view returns (uint256)
1987042834823503061
platform() view returns (address)
0x0084c2e1b1823564e597ff4848a88d61ac63d703
priceOracle() view returns (address)
0x4f8330946669d71014efdce30ef19a256643fba8
rebalancePoolSplitter() view returns (address)
0x6e854737e091ca0d2ad9da36f93302b9aa995a62
referenceBaseTokenPrice() view returns (uint256)
63850109713767925431599
strategy() view returns (address)
0x0000000000000000000000000000000000000000
strategyUnderlying() view returns (uint256)
0
totalBaseToken() view returns (uint256)
75321721407414165725
xToken() view returns (address)
0x9f23562ec47249761222ef7ac02b327a8c45ba7d
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 _priceOracle, uint256 _baseTokenCap, uint24 sampleInterval, address _amm)
initializeProtocol(uint256 _baseIn) returns (uint256 fTokenOut, uint256 xTokenOut)
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)
updateFundingCostScale(uint256 _newScale)
updateHarvesterRatio(uint32 _newRatio)
updatePlatform(address _platform)
updatePriceOracle(address _priceOracle)
updateRebalancePoolRatio(uint32 _newRatio)
updateRebalancePoolSplitter(address _splitter)
updateStrategy(address _strategy)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
CaptureFundingRate(uint256 timestamp, uint256 borrowIndex)
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)
UpdateFundingCostScale(uint256 oldScale, uint256 newScale)
UpdateHarvesterRatio(uint256 oldRatio, uint256 newRatio)
UpdatePlatform(address indexed oldPlatform, address indexed newPlatform)
UpdatePriceOracle(address indexed oldPriceOracle, address indexed newPriceOracle)
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()