export const ZAP_ABI = [ { inputs: [ { internalType: 'address', name: 'bondAddress', type: 'address' }, { internalType: 'address', name: 'wethAddress', type: 'address' }, ], stateMutability: 'nonpayable', type: 'constructor', }, { inputs: [{ internalType: 'address', name: 'target', type: 'address' }], name: 'AddressEmptyCode', type: 'error', }, { inputs: [{ internalType: 'address', name: 'account', type: 'address' }], name: 'AddressInsufficientBalance', type: 'error', }, { inputs: [], name: 'FailedInnerCall', type: 'error' }, { inputs: [], name: 'MCV2_ZapV1__EthTransferFailed', type: 'error' }, { inputs: [], name: 'MCV2_ZapV1__InvalidReceiver', type: 'error' }, { inputs: [], name: 'MCV2_ZapV1__ReserveIsNotWETH', type: 'error' }, { inputs: [], name: 'MCV2_ZapV1__SlippageLimitExceeded', type: 'error' }, { inputs: [{ internalType: 'address', name: 'owner', type: 'address' }], name: 'OwnableInvalidOwner', type: 'error', }, { inputs: [{ internalType: 'address', name: 'account', type: 'address' }], name: 'OwnableUnauthorizedAccount', type: 'error', }, { inputs: [{ internalType: 'address', name: 'token', type: 'address' }], name: 'SafeERC20FailedOperation', type: 'error', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'previousOwner', type: 'address', }, { indexed: true, internalType: 'address', name: 'newOwner', type: 'address', }, ], name: 'OwnershipTransferred', type: 'event', }, { inputs: [], name: 'BOND', outputs: [{ internalType: 'contract MCV2_Bond', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'WETH', outputs: [{ internalType: 'contract IWETH', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [ { internalType: 'address', name: 'token', type: 'address' }, { internalType: 'uint256', name: 'tokensToBurn', type: 'uint256' }, { internalType: 'uint256', name: 'minRefund', type: 'uint256' }, { internalType: 'address', name: 'receiver', type: 'address' }, ], name: 'burnToEth', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address', name: 'token', type: 'address' }, { internalType: 'uint256', name: 'tokensToMint', type: 'uint256' }, { internalType: 'address', name: 'receiver', type: 'address' }, ], name: 'mintWithEth', outputs: [], stateMutability: 'payable', type: 'function', }, { inputs: [], name: 'owner', outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'renounceOwnership', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [{ internalType: 'address', name: 'receiver', type: 'address' }], name: 'rescueETH', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }], name: 'transferOwnership', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { stateMutability: 'payable', type: 'receive' }, ] as const;