forked from trufflesuite/drizzle-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
43 lines (27 loc) · 988 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
declare module drizzle {
export class Drizzle {
constructor(options: any, store: any);
addContract(contractConfig: any, ...args: any[]): void;
deleteContract(contractName: any): void;
findContractByAddress(address: any): any;
generateStore(options: any): any;
}
export const EventActions: {
EVENT_CHANGED: string;
EVENT_ERROR: string;
EVENT_FIRED: string;
};
export const drizzleSagas: any[];
export function generateContractsInitialState(options: any): any;
export function generateStore(_ref: any): any;
export namespace drizzleReducers {
function accountBalances(...args: any[]): any;
function accounts(...args: any[]): any;
function contracts(...args: any[]): any;
function currentBlock(...args: any[]): any;
function drizzleStatus(...args: any[]): any;
function transactionStack(...args: any[]): any;
function transactions(...args: any[]): any;
function web3(...args: any[]): any;
}
}