/* 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 IAToken extends Contract { clone(): IAToken; methods: { redeem(_amount: number | string): CeloTxObject; }; events: { allEvents: ( options?: EventOptions, cb?: Callback ) => EventEmitter; }; } export const ABI: AbiItem[] = [ { inputs: [{ internalType: "uint256", name: "_amount", type: "uint256" }], name: "redeem", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; export function newIAToken(web3: Web3, address: string): IAToken { return new web3.eth.Contract(ABI, address) as any; }