IERC3009
Inherits: IStatefulERC712
Author: M^0 Labs
The interface as defined by EIP-3009: https://eips.ethereum.org/EIPS/eip-3009
Functions
transferWithAuthorization
Execute a transfer with a signed authorization.
Parameters
transferWithAuthorization
Execute a transfer with a signed authorization.
Parameters
transferWithAuthorization
Execute a transfer with a signed authorization.
Parameters
receiveWithAuthorization
Receive a transfer with a signed authorization from the payer.
This has an additional check to ensure that the payee's address matches the caller of this function to prevent front-running attacks. (See security considerations)
Parameters
receiveWithAuthorization
Receive a transfer with a signed authorization from the payer.
This has an additional check to ensure that the payee's address matches the caller of this function to prevent front-running attacks. (See security considerations)
Parameters
receiveWithAuthorization
Receive a transfer with a signed authorization from the payer.
This has an additional check to ensure that the payee's address matches the caller of this function to prevent front-running attacks. (See security considerations)
Parameters
cancelAuthorization
Attempt to cancel an authorization.
Parameters
cancelAuthorization
Attempt to cancel an authorization.
Parameters
cancelAuthorization
Attempt to cancel an authorization.
Parameters
authorizationState
Returns the state of an authorization.
Nonces are randomly generated 32-byte data unique to the authorizer's address
Parameters
Returns
TRANSFER_WITH_AUTHORIZATION_TYPEHASH
Returns transferWithAuthorization
typehash.
RECEIVE_WITH_AUTHORIZATION_TYPEHASH
Returns receiveWithAuthorization
typehash.
CANCEL_AUTHORIZATION_TYPEHASH
Returns cancelAuthorization
typehash.
Events
AuthorizationCanceled
Emitted when an authorization has been canceled.
Parameters
AuthorizationUsed
Emitted when an authorization has been used.
Parameters
Errors
AuthorizationAlreadyUsed
Emitted when an authorization has already been used.
Parameters
AuthorizationExpired
Emitted when an authorization is expired.
Parameters
AuthorizationNotYetValid
Emitted when an authorization is not yet valid.
Parameters
CallerMustBePayee
Emitted when the caller of receiveWithAuthorization
is not the payee.
Parameters