ForwarderChainlessDomain
Simple minimal forwarder to be used together with an ERC2771 compatible contract. See {ERC2771Context}.
Methods
execute
function execute(ForwarderChainlessDomain.ForwardRequest req, bytes signature) external payable returns (bool, bytes)
Parameters
Name | Type | Description |
---|---|---|
req | ForwarderChainlessDomain.ForwardRequest | undefined |
signature | bytes | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
_1 | bytes | undefined |
getNonce
function getNonce(address from) external view returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
from | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
verify
function verify(ForwarderChainlessDomain.ForwardRequest req, bytes signature) external view returns (bool)
Parameters
Name | Type | Description |
---|---|---|
req | ForwarderChainlessDomain.ForwardRequest | undefined |
signature | bytes | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |