Skip to main content

IPermit2

Git Source

Functions

permitTransferFrom

function permitTransferFrom(
PermitTransferFrom calldata permit,
SignatureTransferDetails calldata transferDetails,
address owner,
bytes calldata signature
) external;

Structs

TokenPermissions

struct TokenPermissions {
address token;
uint256 amount;
}

PermitTransferFrom

struct PermitTransferFrom {
TokenPermissions permitted;
uint256 nonce;
uint256 deadline;
}

SignatureTransferDetails

struct SignatureTransferDetails {
address to;
uint256 requestedAmount;
}