EApps
Overview
License: Apache-2.0-or-later
contract EApps is IEAppsA universal aggregator for external contracts positions.
External positions are consolidating into a single view contract. As more apps are connected, can be split into multiple mixing.
Future-proof as can route to dedicated extensions, should the size of the contract become too big.
Errors info
UnknownApplication
error UnknownApplication(uint256 appType)Functions info
constructor
constructor(EAppsParams memory params)The different immutable addresses will result in different deployed addresses on different networks.
Parameters:
params
struct EAppsParams
Chain-specific addresses bundled into a single struct.
getAppTokenBalances (0x64397f68)
Uses temporary storage to cache token prices, which can be used in MixinPoolValue.
Parameters:
packedApplications
uint256
The uint encoded bitmap flags of the active applications.
Return values:
appBalances
struct ExternalApp[]
The arrays of lists of token balances grouped by application type.
getUniV4TokenIds (0x0bd692b8)
Returns the pool's Uniswap V4 active liquidity positions.
Return values:
tokenIds
uint256[]
Array of liquidity position token ids.
Last updated