1 |
|
2 |
|
3 |
|
4 | import { BaseCoin as StaticsBaseCoin } from '@bitgo/statics';
|
5 | import { BitGo } from '../bitgo';
|
6 | import { BaseCoin } from './baseCoin';
|
7 | export declare type CoinConstructor = (bitgo: BitGo, staticsCoin?: Readonly<StaticsBaseCoin>) => BaseCoin;
|
8 | export declare class CoinFactory {
|
9 | private coinConstructors;
|
10 | |
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | getInstance(bitgo: BitGo, name: string): BaseCoin;
|
18 | registerCoinConstructor(name: string, constructor: CoinConstructor): void;
|
19 | }
|
20 | export declare const GlobalCoinFactory: CoinFactory;
|
21 | //# sourceMappingURL=coinFactory.d.ts.map |
\ | No newline at end of file |