/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { AbiItem, Callback, CeloTxObject, Contract, EventLog, } from "@celo/connect"; import { EventEmitter } from "events"; import Web3 from "web3"; import { EventOptions } from "./types"; export interface ISymmetricSwap extends Contract { clone(): ISymmetricSwap; methods: { paused(): CeloTxObject; swap(from: string, to: string, amount: number | string): CeloTxObject; }; events: { allEvents: ( options?: EventOptions, cb?: Callback ) => EventEmitter; }; } export const ABI: AbiItem[] = [ { inputs: [], name: "paused", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, ], name: "swap", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; export function newISymmetricSwap(web3: Web3, address: string): ISymmetricSwap { return new web3.eth.Contract(ABI, address) as any; }