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

MixinFallback

Overview

License: Apache 2.0

abstract contract MixinFallback is MixinImmutables, MixinStorage

Errors info

PoolImplementationDirectCallNotAllowed

error PoolImplementationDirectCallNotAllowed()

PoolMethodNotAllowed

error PoolMethodNotAllowed()

PoolVersionNotSupported

error PoolVersionNotSupported()

Modifiers info

onlyDelegateCall

Functions info

fallback

Delegate calls to pool extension.

Extensions are persistent, while adapters are upgradable by the governance.

uses shouldDelegatecall to flag selectors that should prompt a delegatecall. Delegatecall restricted to owner, staticcall accessible by everyone.

Restricting delegatecall to owner effectively locks direct calls.

receive

Allows transfers to pool.

Prevents accidental transfer to implementation contract.

Last updated