2018-06-13 22:39:39 +03:00
|
|
|
'use strict';
|
|
|
|
|
2018-06-22 09:07:57 +03:00
|
|
|
// This is empty in node, and used by browserify to inject extra goodies
|
2018-06-24 11:03:21 +03:00
|
|
|
import {} from './utils/shims';
|
2018-06-22 09:07:57 +03:00
|
|
|
|
2018-06-13 22:39:39 +03:00
|
|
|
import { Contract, Interface } from './contracts';
|
|
|
|
import * as providers from './providers';
|
|
|
|
import * as errors from './utils/errors';
|
2018-06-18 12:42:41 +03:00
|
|
|
import { getNetwork } from './providers/networks';
|
2018-06-21 03:29:54 +03:00
|
|
|
import * as utils from './utils';
|
2018-06-13 22:39:39 +03:00
|
|
|
import { HDNode, SigningKey, Wallet } from './wallet';
|
2018-06-24 11:03:21 +03:00
|
|
|
import * as wordlists from './wordlists';
|
2018-06-13 22:39:39 +03:00
|
|
|
|
2018-06-24 12:31:24 +03:00
|
|
|
import { version } from './_version';
|
2018-06-13 22:39:39 +03:00
|
|
|
|
2018-07-12 09:49:48 +03:00
|
|
|
const constants = utils.constants;
|
|
|
|
|
2018-06-13 22:39:39 +03:00
|
|
|
export {
|
|
|
|
Wallet,
|
|
|
|
|
|
|
|
HDNode,
|
|
|
|
SigningKey,
|
|
|
|
|
|
|
|
Contract,
|
|
|
|
Interface,
|
|
|
|
|
2018-06-18 12:42:41 +03:00
|
|
|
getNetwork,
|
2018-06-13 22:39:39 +03:00
|
|
|
providers,
|
|
|
|
|
|
|
|
errors,
|
2018-07-12 09:49:48 +03:00
|
|
|
constants,
|
2018-06-13 22:39:39 +03:00
|
|
|
utils,
|
|
|
|
|
2018-06-24 11:03:21 +03:00
|
|
|
wordlists,
|
|
|
|
|
2018-06-19 09:12:57 +03:00
|
|
|
version
|
2018-06-13 22:39:39 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
export default {
|
2018-06-24 11:03:21 +03:00
|
|
|
Wallet,
|
|
|
|
|
|
|
|
HDNode,
|
|
|
|
SigningKey,
|
2018-06-13 22:39:39 +03:00
|
|
|
|
2018-06-24 11:03:21 +03:00
|
|
|
Contract,
|
|
|
|
Interface,
|
2018-06-13 22:39:39 +03:00
|
|
|
|
2018-06-24 11:03:21 +03:00
|
|
|
getNetwork,
|
|
|
|
providers,
|
2018-06-13 22:39:39 +03:00
|
|
|
|
2018-06-24 11:03:21 +03:00
|
|
|
errors,
|
2018-07-12 09:49:48 +03:00
|
|
|
constants,
|
2018-06-24 11:03:21 +03:00
|
|
|
utils,
|
2018-06-13 22:39:39 +03:00
|
|
|
|
2018-06-24 11:03:21 +03:00
|
|
|
wordlists,
|
2018-06-13 22:39:39 +03:00
|
|
|
|
2018-06-24 11:03:21 +03:00
|
|
|
version
|
2018-06-13 22:39:39 +03:00
|
|
|
}
|