UNPKG

@ardier16/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

61 lines (47 loc) 1.55 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import BN from "bn.js"; import { ContractOptions } from "web3-eth-contract"; import { EventLog } from "web3-core"; import { EventEmitter } from "events"; import { Callback, PayableTransactionObject, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract, } from "./types"; interface EventOptions { filter?: object; fromBlock?: BlockType; topics?: string[]; } export interface IMutableFxPriceFeed extends BaseContract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ): IMutableFxPriceFeed; clone(): IMutableFxPriceFeed; methods: { baseTokenAddr(): NonPayableTransactionObject<string>; decimalPlaces(): NonPayableTransactionObject<string>; exchangeRate(): NonPayableTransactionObject<string>; getMaintainers(): NonPayableTransactionObject<string[]>; pair(): NonPayableTransactionObject<string>; pricingTime(): NonPayableTransactionObject<string>; quoteTokenAddr(): NonPayableTransactionObject<string>; updateTime(): NonPayableTransactionObject<string>; setMaintainer(_maintainer: string): NonPayableTransactionObject<void>; leaveMaintainers(): NonPayableTransactionObject<void>; setExchangeRate( _exrate: number | string | BN, _pricingTime: number | string | BN ): NonPayableTransactionObject<boolean>; }; events: { allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter; }; }