fallback

MixinFallback

onlyDelegateCall

modifier onlyDelegateCall()

fallback

fallback() external payable

Delegate calls to pool extension.

Delegatecall restricted to owner, staticcall accessible by everyone. Restricting delegatecall to owner effectively locks direct calls.

receive

receive() external payable

Allows transfers to pool.

Prevents accidental transfer to implementation contract.

_checkDelegateCall

function _checkDelegateCall() private view

_getApplicationAdapter

function _getApplicationAdapter(bytes4 selector) private view returns (address)

Returns the address of the application adapter.

Parameters

NameTypeDescription

selector

bytes4

Hash of the method signature.

Return Values

NameTypeDescription

[0]

address

Address of the application adapter.

Last updated