import { AbiItem } from 'web3-utils'; export const bewSwapAbi: AbiItem[] = [ { inputs: [ { internalType: 'address', name: 'owner', type: 'address' }, { internalType: 'address payable', name: 'feeAccount', type: 'address' }, { internalType: 'uint256', name: 'feePct', type: 'uint256' }, ], stateMutability: 'nonpayable', type: 'constructor', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'previousFeeAccount', type: 'address' }, { indexed: true, internalType: 'address', name: 'newFeeAccount', type: 'address' }, ], name: 'FeeAccountUpdated', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'uint256', name: 'previousFeePct', type: 'uint256' }, { indexed: true, internalType: 'uint256', name: 'newFeePct', type: 'uint256' }, ], name: 'FeePctUpdated', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'previousOwner', type: 'address' }, { indexed: true, internalType: 'address', name: 'newOwner', type: 'address' }, ], name: 'OwnershipTransferred', type: 'event', }, { stateMutability: 'payable', type: 'fallback' }, { inputs: [], name: 'feeAccount', outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'feePct', outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'owner', outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [ { internalType: 'contract IUniRouter', name: 'router', type: 'address' }, { internalType: 'uint256', name: 'amountOut', type: 'uint256' }, { internalType: 'address[]', name: 'path', type: 'address[]' }, { internalType: 'address payable', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'deadline', type: 'uint256' }, ], name: 'swapETHForExactTokens', outputs: [], stateMutability: 'payable', type: 'function', }, { inputs: [ { internalType: 'contract IUniRouter', name: 'router', type: 'address' }, { internalType: 'uint256', name: 'amountOutMin', type: 'uint256' }, { internalType: 'address[]', name: 'path', type: 'address[]' }, { internalType: 'address', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'deadline', type: 'uint256' }, ], name: 'swapExactETHForTokens', outputs: [], stateMutability: 'payable', type: 'function', }, { inputs: [ { internalType: 'contract IUniRouter', name: 'router', type: 'address' }, { internalType: 'uint256', name: 'amountIn', type: 'uint256' }, { internalType: 'uint256', name: 'amountOutMin', type: 'uint256' }, { internalType: 'address[]', name: 'path', type: 'address[]' }, { internalType: 'address payable', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'deadline', type: 'uint256' }, ], name: 'swapExactTokensForETH', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'contract IUniRouter', name: 'router', type: 'address' }, { internalType: 'uint256', name: 'amountIn', type: 'uint256' }, { internalType: 'uint256', name: 'amountOutMin', type: 'uint256' }, { internalType: 'address[]', name: 'path', type: 'address[]' }, { internalType: 'address', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'deadline', type: 'uint256' }, ], name: 'swapExactTokensForTokens', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'contract IUniRouter', name: 'router', type: 'address' }, { internalType: 'uint256', name: 'amountOut', type: 'uint256' }, { internalType: 'uint256', name: 'amountInMax', type: 'uint256' }, { internalType: 'address[]', name: 'path', type: 'address[]' }, { internalType: 'address payable', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'deadline', type: 'uint256' }, ], name: 'swapTokensForExactETH', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'contract IUniRouter', name: 'router', type: 'address' }, { internalType: 'uint256', name: 'amountOut', type: 'uint256' }, { internalType: 'uint256', name: 'amountInMax', type: 'uint256' }, { internalType: 'address[]', name: 'path', type: 'address[]' }, { internalType: 'address', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'deadline', type: 'uint256' }, ], name: 'swapTokensForExactTokens', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }], name: 'transferOwnership', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [{ internalType: 'address payable', name: 'newFeeAccount', type: 'address' }], name: 'updateFeeAccount', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [{ internalType: 'uint256', name: 'newFeePct', type: 'uint256' }], name: 'updateFeePct', outputs: [], stateMutability: 'nonpayable', type: 'function', }, ];