@q-dev/q-ts-gdk-sdk
Version:
Typescript Library to interact with GDK Contracts
79 lines (72 loc) • 1.82 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 type DeployedDAOVoting = ContractEventLog<{
votingAddress: string;
0: string;
1: [
string,
string,
string,
[string, [string, string, string, string, string, string]][]
];
}>;
export interface IVotingFactory extends BaseContract {
constructor(
jsonInterface: any[],
address?: string,
options?: ContractOptions
): IVotingFactory;
clone(): IVotingFactory;
methods: {
deployDAOVoting(
params_: [
string,
string,
string,
[
string,
[
number | string | BN,
number | string | BN,
number | string | BN,
number | string | BN,
number | string | BN,
number | string | BN
]
][]
]
): NonPayableTransactionObject<string>;
};
events: {
DeployedDAOVoting(cb?: Callback<DeployedDAOVoting>): EventEmitter;
DeployedDAOVoting(
options?: EventOptions,
cb?: Callback<DeployedDAOVoting>
): EventEmitter;
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
};
once(event: "DeployedDAOVoting", cb: Callback<DeployedDAOVoting>): void;
once(
event: "DeployedDAOVoting",
options: EventOptions,
cb: Callback<DeployedDAOVoting>
): void;
}