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