@q-dev/q-ts-gdk-sdk
Version:
Typescript Library to interact with GDK Contracts
73 lines (60 loc) • 1.95 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type BN from "bn.js";
import type { ContractOptions } from "web3-eth-contract";
import type { EventLog } from "web3-core";
import type { EventEmitter } from "events";
import type {
Callback,
PayableTransactionObject,
NonPayableTransactionObject,
BlockType,
ContractEventLog,
BaseContract,
} from "./types";
export interface EventOptions {
filter?: object;
fromBlock?: BlockType;
topics?: string[];
}
export interface IDAOParameterStorage extends BaseContract {
constructor(
jsonInterface: any[],
address?: string,
options?: ContractOptions
): IDAOParameterStorage;
clone(): IDAOParameterStorage;
methods: {
changeDAOParameter(
parameter_: [string, string | number[], number | string | BN]
): NonPayableTransactionObject<void>;
changeDAOParameters(
parameters_: [string, string | number[], number | string | BN][]
): NonPayableTransactionObject<void>;
checkPermission(
member_: string,
permission_: string
): NonPayableTransactionObject<boolean>;
getDAOParameter(
parameterName_: string
): NonPayableTransactionObject<[string, string, string]>;
getDAOParameters(): NonPayableTransactionObject<[string, string, string][]>;
getResource(): NonPayableTransactionObject<string>;
removeDAOParameter(
parameterName_: string
): NonPayableTransactionObject<void>;
removeDAOParameters(
parameterNames_: string[]
): NonPayableTransactionObject<void>;
setDAOParameter(
parameter_: [string, string | number[], number | string | BN]
): NonPayableTransactionObject<void>;
setDAOParameters(
parameters_: [string, string | number[], number | string | BN][]
): NonPayableTransactionObject<void>;
};
events: {
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
};
}