/* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ import {Contract, Signer} from 'ethers'; import {Provider} from 'ethers/providers'; import {IUniswapExchange} from './IUniswapExchange'; export class IUniswapExchangeFactory { static connect(address: string, signerOrProvider: Signer | Provider): IUniswapExchange { return new Contract(address, _abi, signerOrProvider) as IUniswapExchange; } } const _abi = [ { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'provider', type: 'address', }, { indexed: true, internalType: 'uint256', name: 'eth_amount', type: 'uint256', }, { indexed: true, internalType: 'uint256', name: 'token_amount', type: 'uint256', }, ], name: 'AddLiquidity', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'buyer', type: 'address', }, { indexed: true, internalType: 'uint256', name: 'tokens_sold', type: 'uint256', }, { indexed: true, internalType: 'uint256', name: 'eth_bought', type: 'uint256', }, ], name: 'EthPurchase', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'provider', type: 'address', }, { indexed: true, internalType: 'uint256', name: 'eth_amount', type: 'uint256', }, { indexed: true, internalType: 'uint256', name: 'token_amount', type: 'uint256', }, ], name: 'RemoveLiquidity', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'buyer', type: 'address', }, { indexed: true, internalType: 'uint256', name: 'eth_sold', type: 'uint256', }, { indexed: true, internalType: 'uint256', name: 'tokens_bought', type: 'uint256', }, ], name: 'TokenPurchase', type: 'event', }, ];