Skip to main content

MinimalForwarder

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
reqMinimalForwarder.ForwardRequestundefined
signaturebytesundefined

Returns

NameTypeDescription
_0boolundefined
_1bytesundefined

getNonce

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

Parameters

NameTypeDescription
fromaddressundefined

Returns

NameTypeDescription
_0uint256undefined

verify

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

Parameters

NameTypeDescription
reqMinimalForwarder.ForwardRequestundefined
signaturebytesundefined

Returns

NameTypeDescription
_0boolundefined