A reactive data-store for web3 and smart contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

42 lines
1.1 KiB

import {
Drizzle,
IDrizzleOptions,
generateStore,
IStoreConfig,
generateContractsInitialState,
} from './types';
type drizzleSagas = any[];
export {
Drizzle,
IDrizzleOptions,
generateStore,
IStoreConfig,
generateContractsInitialState,
drizzleSagas,
};
export enum EventActions {
EVENT_FIRED = 'EVENT_FIRED',
EVENT_CHANGED = 'EVENT_CHANGED',
EVENT_ERROR = 'EVENT_ERROR',
}
export namespace drizzleReducers {
type state = any | undefined | null;
export interface IAction {
[key: string]: any;
type: string;
}
export function accounts(state: state, action: IAction): any;
export function accountBalances(state: state, action: IAction): any;
export function contracts(state: state, action: IAction): any;
export function currentBlock(state: state, action: IAction): any;
export function drizzleStatus(state: state, action: IAction): any;
export function transactions(state: state, action: IAction): any;
export function transactionStack(state: state, action: IAction): any;
export function web3(state: state, action: IAction): any;
}