Minimal Forwarder

Simple minimal forwarder to be used together with an ERC2771 compatible contract. See {ERC2771Context}.

Methods

execute

function execute(MinimalForwarder.ForwardRequest req, bytes signature) external payable returns (bool, bytes)

Parameters

NameTypeDescription

req

MinimalForwarder.ForwardRequest

undefined

signature

bytes

undefined

Returns

NameTypeDescription

_0

bool

undefined

_1

bytes

undefined

getNonce

function getNonce(address from) external view returns (uint256)

Parameters

NameTypeDescription

from

address

undefined

Returns

NameTypeDescription

_0

uint256

undefined

verify

function verify(MinimalForwarder.ForwardRequest req, bytes signature) external view returns (bool)

Parameters

NameTypeDescription

req

MinimalForwarder.ForwardRequest

undefined

signature

bytes

undefined

Returns

NameTypeDescription

_0

bool

undefined

Last updated