MetaTransactionsFacet
struct AppStorage s
event MetaTransactionExecuted(address userAddress, address payable relayerAddress, bytes functionSignature)
function getNonce(address user) external view returns (uint256 nonce_)
Query the latest nonce of an address
Name | Type | Description |
---|---|---|
user | address | Address to query |
Name | Type | Description |
---|---|---|
nonce_ | uint256 | The latest nonce for the address |
struct MetaTransaction {
uint256 nonce;
address from;
bytes functionSignature;
}
function executeMetaTransaction(address userAddress, bytes functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV) public payable returns (bytes)