UNPKG

@ardier16/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

94 lines (70 loc) 2.52 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 AParameters extends BaseContract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ): AParameters; clone(): AParameters; methods: { 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>; setBytes32( _key: string, _val: string | number[] ): NonPayableTransactionObject<void>; getAddrKeys(): NonPayableTransactionObject<string[]>; getUintKeys(): NonPayableTransactionObject<string[]>; getStringKeys(): NonPayableTransactionObject<string[]>; getBytes32Keys(): NonPayableTransactionObject<string[]>; getBoolKeys(): NonPayableTransactionObject<string[]>; getAddr(_key: string): NonPayableTransactionObject<string>; getUint(_key: string): NonPayableTransactionObject<string>; getString(_key: string): NonPayableTransactionObject<string>; getBytes32(_key: string): NonPayableTransactionObject<string>; getBool(_key: string): NonPayableTransactionObject<boolean>; initialize( _registry: string, _uintKeys: string[], _uintVals: (number | string | BN)[], _addrKeys: string[], _addrVals: string[], _strKeys: string[], _strVals: string[], _boolKeys: string[], _boolVals: boolean[] ): 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>; setBool(_key: string, _val: boolean): NonPayableTransactionObject<void>; }; events: { allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter; }; }