import { Action } from '../../Action'; import { getAddr } from '../../addresses'; import { bytes } from '../../types'; /** * AaveV4DelegateWithdrawWithSigAction - Approves a spender to withdraw from the specified reserve using an EIP712-typed intent. * * @category AaveV4 */ export class AaveV4DelegateWithdrawWithSigAction extends Action { /** * @param permit EIP712-typed intent. * @param signature The EIP712-compliant signature bytes. */ constructor( permit: Array, signature: bytes, ) { super( 'AaveV4DelegateWithdrawWithSig', getAddr('AaveV4DelegateWithdrawWithSig'), [ ['address', 'uint256', 'address', 'address', 'uint256', 'uint256', 'uint256'], 'bytes', ], [permit, signature], ); } }