-
Notifications
You must be signed in to change notification settings - Fork 16
/
index.d.ts
23 lines (19 loc) · 810 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
// Type definitions for EOSLime
// Project: https://github.com/LimeChain/eoslime
// Definitions by: Lyubomir Kiprov <https://github.com/bakasura980>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { utils } from './types/utils';
import { ContractFactory } from './types/contract';
import { Provider, NetworkDetails } from './types/provider';
import { AccountFactory, MultiSignatureFactory } from './types/account';
interface EOSLime {
utils: utils;
Provider: Provider;
Account: AccountFactory;
Contract: ContractFactory;
MultiSigAccount: MultiSignatureFactory;
}
export const utils: utils;
export const NETWORKS: Array<string>;
export function init (network?: string, config?: NetworkDetails): EOSLime;
export function init (config?: NetworkDetails): EOSLime;