For the complete documentation index, see llms.txt. This page is also available as Markdown.

IExtensionsMap

IExtensionsMap

eApps

function eApps() external view returns (address)

Returns the address of the applications extension contract.

eNavView

function eNavView() external view returns (address)

Returns the address of the navigation view extension contract.

eOracle

function eOracle() external view returns (address)

Returns the address of the oracle extension contract

eUpgrade

function eUpgrade() external view returns (address)

Returns the address of the upgrade extension contract.

eCrosschain

Returns the address of the cross-chain handler extension contract.

eGmxCallback

Returns the address of the GMX v2 callback extension contract.

wrappedNative

Returns the address of the wrapped native token.

It is used for initializing it in the pool implementation immutable storage without passing it in the constructor.

getExtensionBySelector

Returns the map of an extension's selector.

Stores all extensions selectors and addresses in its bytecode for gas efficiency.

Parameters

Name
Type
Description

selector

bytes4

Selector of the function signature.

Return Values

Name
Type
Description

extension

address

Address of the target extensions.

shouldDelegatecall

bool

Boolean if should maintain context of call or not.

Last updated