UNPKG

@ardier16/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

82 lines (59 loc) 2.23 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 IMutableParameters extends BaseContract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ): IMutableParameters; clone(): IMutableParameters; methods: { getAddr(_key: string): NonPayableTransactionObject<string>; getAddrKeys(): NonPayableTransactionObject<string[]>; getBool(_key: string): NonPayableTransactionObject<boolean>; getBoolKeys(): NonPayableTransactionObject<string[]>; getBytes32(_key: string): NonPayableTransactionObject<string>; getBytes32Keys(): NonPayableTransactionObject<string[]>; getString(_key: string): NonPayableTransactionObject<string>; getStringKeys(): NonPayableTransactionObject<string[]>; getUint(_key: string): NonPayableTransactionObject<string>; getUintKeys(): NonPayableTransactionObject<string[]>; removeUint(_key: string): NonPayableTransactionObject<void>; removeAddr(_key: string): NonPayableTransactionObject<void>; removeString(_key: string): NonPayableTransactionObject<void>; removeBytes32(_key: string): NonPayableTransactionObject<void>; removeBool(_key: string): NonPayableTransactionObject<void>; setAddr(_key: string, _val: string): NonPayableTransactionObject<void>; setUint( _key: string, _val: number | string | BN ): NonPayableTransactionObject<void>; setString(_key: string, _val: string): NonPayableTransactionObject<void>; setBytes32( _key: string, _val: string | number[] ): NonPayableTransactionObject<void>; setBool(_key: string, _val: boolean): NonPayableTransactionObject<void>; }; events: { allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter; }; }