Comment on page

Delegation

Contract instantiated via CREATE2 to handle a Delegation by a delegator to a delegatee. A Delegation allows his owner to execute calls on behalf of the contract. This contract is intended to be counterfactually instantiated via CREATE2 through the LowLevelDelegator contract. This contract will hold tickets that will be delegated to a chosen delegatee.

Write methods description

initialize()

Initializes the delegation.
Parameters:
Name
Type
Description
_lockUntil
uint96
Timestamp until which the delegation is locked.

executeCalls()

Executes calls on behalf of this contract.
Parameters:
Name
Type
Description
_calls
Call[]
The array of calls to be executed.
Return:
Name
Type
Description
_data
bytes[]
An array of the return values for each of the calls.

setLockUntil()

Set the timestamp until which the delegation is locked.
Parameters:
Name
Type
Description
_lockUntil
uint96
The timestamp until which the delegation is locked.

Read methods description

lockUntil()

Timestamp until which the delegation is locked.
Last modified 6mo ago