Skip to main content

OpenMEVpermitter.sol

Enables permit-style approvals for all ERC20 tokens, regardless of whether they implement EIP2612 or not.

Methods

currentNonce

Solidity
function currentNonce(address) external view returns (uint256)
Details Owner and current nonce. :::

Parameters

NameTypeDescription
_0addressundefined

Returns

NameTypeDescription
_0uint256undefined

executePermitTransferFrom

Solidity
function executePermitTransferFrom(address from, address to, uint256 amount, OpenMEVpermitter.PermitTransferFrom permit, OpenMEVpermitter.Signature sig) external nonpayable

Parameters

NameTypeDescription
fromaddressundefined
toaddressundefined
amountuint256undefined
permitOpenMEVpermitter.PermitTransferFromundefined
sigOpenMEVpermitter.Signatureundefined

hashPermit

Solidity
function hashPermit(OpenMEVpermitter.PermitTransferFrom permit, uint256 nonce) external view returns (bytes32 h)

Parameters

NameTypeDescription
permitOpenMEVpermitter.PermitTransferFromundefined
nonceuint256undefined

Returns

NameTypeDescription
hbytes32undefined