ozAccountProxyL2

The account that gets created when calling createNewProxy() on ozProxyFactoryFacet, where the user will receive the ETH transfers.

It differs from ozAccountProxy (on L1) that it doesn't have the Gelato integration since there's no bridging involved.

It keeps Open Zeppelin's BeaconProxy strategy since this implementation still follows the UpgradeableBeacon pattern used on the L1 contracts.

Github repo here.

System methods

_delegate

function _delegate(address implementation) internal;

Once it detects a call, it queries the msg.data to check if it's one of the authorized functions which calldata can be forwarded untampered to the implementation (OZLFacet).

If it's not authorized, it sends the same calldata each time, which is the configuration of the Account.

Parameters:

Name
Type
Description

implementation

address

The implementation

Last updated