SwapAndAddPermit2Data
struct SwapAndAddPermit2Data {
SwapAndAddData swapAndAddData;
PermitBatchTransferFrom permit;
bytes signature;
}
Name | Type | Description |
---|---|---|
swapAndAddData | SwapAndAddData | SwapAndAddData struct containing data for swapping one of the tokens for the other and adding liquidity |
permit | PermitBatchTransferFrom | PermitBatchTransferFrom struct of signatures containing Permit2 approvals |
signature | bytes | Data containing the signature of msg.sender to verify by Permit2 |