@ardier16/q-js-sdk
Version:
Typescript Library to interact with Q System Contracts
56 lines (43 loc) • 1.42 kB
TypeScript
/* 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 IParameters extends BaseContract {
constructor(
jsonInterface: any[],
address?: string,
options?: ContractOptions
): IParameters;
clone(): IParameters;
methods: {
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>;
};
events: {
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
};
}