@bitgo-beta/statics 10.0.1-alpha.21 → 10.0.1-alpha.210
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mocharc.js +1 -1
- package/CHANGELOG.md +2369 -0
- package/dist/src/account.d.ts +325 -36
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +499 -53
- package/dist/src/ada.d.ts +3 -1
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +6 -2
- package/dist/src/avaxp.d.ts +3 -1
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +7 -2
- package/dist/src/base.d.ts +1090 -23
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1145 -37
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +2712 -1295
- package/dist/src/constants.d.ts +2 -0
- package/dist/src/constants.d.ts.map +1 -0
- package/dist/src/constants.js +5 -0
- package/dist/src/errors.d.ts +6 -0
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/errors.js +16 -2
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +11 -3
- package/dist/src/lightning.d.ts +43 -0
- package/dist/src/lightning.d.ts.map +1 -0
- package/dist/src/lightning.js +60 -0
- package/dist/src/map.d.ts +2 -0
- package/dist/src/map.d.ts.map +1 -1
- package/dist/src/map.js +26 -3
- package/dist/src/networks.d.ts +367 -4
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +513 -46
- package/dist/src/ofc.d.ts +189 -8
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +378 -10
- package/dist/src/tokenConfig.d.ts +60 -12
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +125 -2
- package/dist/src/utxo.d.ts +6 -2
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +72 -3
- package/dist/tsconfig.tsbuildinfo +1 -2717
- package/package.json +2 -2
- package/dist/resources/dot/index.d.ts +0 -3
- package/dist/resources/dot/index.d.ts.map +0 -1
- package/dist/resources/dot/index.js +0 -15
- package/dist/resources/dot/mainnet.d.ts +0 -2
- package/dist/resources/dot/mainnet.d.ts.map +0 -1
- package/dist/resources/dot/mainnet.js +0 -5
- package/dist/resources/dot/westend.d.ts +0 -2
- package/dist/resources/dot/westend.d.ts.map +0 -1
- package/dist/resources/dot/westend.js +0 -5
- package/resources/dot/index.ts +0 -2
- package/resources/dot/mainnet.ts +0 -2
- package/resources/dot/westend.ts +0 -2
package/dist/src/networks.d.ts
CHANGED
|
@@ -12,6 +12,14 @@ export declare abstract class BaseNetwork {
|
|
|
12
12
|
export interface UtxoNetwork extends BaseNetwork {
|
|
13
13
|
utxolibName: string;
|
|
14
14
|
}
|
|
15
|
+
export interface LightningNetwork extends UtxoNetwork {
|
|
16
|
+
/**
|
|
17
|
+
* The public key of the Lightning service, used for deriving the shared Elliptic Curve Diffie-Hellman (ECDH) secret
|
|
18
|
+
* between the user's extended private key and the Lightning service. This key facilitates secure communication
|
|
19
|
+
* by enabling the creation of a shared secret for encryption and decryption of data.
|
|
20
|
+
*/
|
|
21
|
+
lightningServicePubKey: string;
|
|
22
|
+
}
|
|
15
23
|
export interface AdaNetwork extends BaseNetwork {
|
|
16
24
|
utxolibName: string;
|
|
17
25
|
poolDeposit: number;
|
|
@@ -40,20 +48,21 @@ export interface AvalancheNetwork extends BaseNetwork {
|
|
|
40
48
|
readonly minDelegationFee: string;
|
|
41
49
|
readonly avaxAssetID: string;
|
|
42
50
|
readonly txFee: string;
|
|
51
|
+
readonly maxImportFee: string;
|
|
43
52
|
}
|
|
44
53
|
export interface AccountNetwork extends BaseNetwork {
|
|
45
54
|
readonly accountExplorerUrl?: string;
|
|
55
|
+
readonly blockExplorerUrl?: string;
|
|
46
56
|
}
|
|
47
57
|
/**
|
|
48
58
|
* Specification name type of the chain. Used in setting up the registry
|
|
49
59
|
*/
|
|
50
|
-
export
|
|
60
|
+
export type PolkadotSpecNameType = 'kusama' | 'polkadot' | 'westend' | 'statemint' | 'statemine';
|
|
51
61
|
export interface DotNetwork extends AccountNetwork {
|
|
52
62
|
readonly specName: PolkadotSpecNameType;
|
|
53
63
|
readonly genesisHash: string;
|
|
54
64
|
readonly specVersion: number;
|
|
55
65
|
readonly chainName: string;
|
|
56
|
-
readonly metadataRpc: `0x${string}`;
|
|
57
66
|
readonly txVersion: number;
|
|
58
67
|
}
|
|
59
68
|
export interface EthereumNetwork extends AccountNetwork {
|
|
@@ -61,6 +70,8 @@ export interface EthereumNetwork extends AccountNetwork {
|
|
|
61
70
|
readonly batcherContractAddress?: string;
|
|
62
71
|
readonly forwarderFactoryAddress?: string;
|
|
63
72
|
readonly forwarderImplementationAddress?: string;
|
|
73
|
+
readonly nativeCoinOperationHashPrefix?: string;
|
|
74
|
+
readonly tokenOperationHashPrefix?: string;
|
|
64
75
|
}
|
|
65
76
|
export interface TronNetwork extends AccountNetwork {
|
|
66
77
|
maxFeeLimit: string;
|
|
@@ -110,6 +121,32 @@ declare class AdaTestnet extends Testnet implements AdaNetwork {
|
|
|
110
121
|
poolDeposit: number;
|
|
111
122
|
stakeKeyDeposit: number;
|
|
112
123
|
}
|
|
124
|
+
declare class Arbitrum extends Mainnet implements EthereumNetwork {
|
|
125
|
+
name: string;
|
|
126
|
+
family: CoinFamily;
|
|
127
|
+
explorerUrl: string;
|
|
128
|
+
accountExplorerUrl: string;
|
|
129
|
+
chainId: number;
|
|
130
|
+
nativeCoinOperationHashPrefix: string;
|
|
131
|
+
tokenOperationHashPrefix: string;
|
|
132
|
+
forwarderFactoryAddress: string;
|
|
133
|
+
forwarderImplementationAddress: string;
|
|
134
|
+
walletFactoryAddress: string;
|
|
135
|
+
walletImplementationAddress: string;
|
|
136
|
+
}
|
|
137
|
+
declare class ArbitrumTestnet extends Testnet implements EthereumNetwork {
|
|
138
|
+
name: string;
|
|
139
|
+
family: CoinFamily;
|
|
140
|
+
explorerUrl: string;
|
|
141
|
+
accountExplorerUrl: string;
|
|
142
|
+
chainId: number;
|
|
143
|
+
nativeCoinOperationHashPrefix: string;
|
|
144
|
+
tokenOperationHashPrefix: string;
|
|
145
|
+
forwarderFactoryAddress: string;
|
|
146
|
+
forwarderImplementationAddress: string;
|
|
147
|
+
walletFactoryAddress: string;
|
|
148
|
+
walletImplementationAddress: string;
|
|
149
|
+
}
|
|
113
150
|
declare class AvalancheC extends Mainnet implements AccountNetwork {
|
|
114
151
|
name: string;
|
|
115
152
|
family: CoinFamily;
|
|
@@ -137,6 +174,7 @@ declare class AvalancheP extends Mainnet implements AvalancheNetwork {
|
|
|
137
174
|
alias: string;
|
|
138
175
|
vm: string;
|
|
139
176
|
txFee: string;
|
|
177
|
+
maxImportFee: string;
|
|
140
178
|
createSubnetTx: string;
|
|
141
179
|
createChainTx: string;
|
|
142
180
|
creationTxFee: string;
|
|
@@ -162,6 +200,7 @@ declare class AvalanchePTestnet extends Testnet implements AvalancheNetwork {
|
|
|
162
200
|
hrp: string;
|
|
163
201
|
vm: string;
|
|
164
202
|
txFee: string;
|
|
203
|
+
maxImportFee: string;
|
|
165
204
|
createSubnetTx: string;
|
|
166
205
|
createChainTx: string;
|
|
167
206
|
creationTxFee: string;
|
|
@@ -180,6 +219,9 @@ declare class BinanceSmartChain extends Mainnet implements EthereumNetwork {
|
|
|
180
219
|
explorerUrl: string;
|
|
181
220
|
accountExplorerUrl: string;
|
|
182
221
|
chainId: number;
|
|
222
|
+
nativeCoinOperationHashPrefix: string;
|
|
223
|
+
tokenOperationHashPrefix: string;
|
|
224
|
+
batcherContractAddress: string;
|
|
183
225
|
}
|
|
184
226
|
declare class BinanceSmartChainTestnet extends Testnet implements EthereumNetwork {
|
|
185
227
|
name: string;
|
|
@@ -187,6 +229,23 @@ declare class BinanceSmartChainTestnet extends Testnet implements EthereumNetwor
|
|
|
187
229
|
explorerUrl: string;
|
|
188
230
|
accountExplorerUrl: string;
|
|
189
231
|
chainId: number;
|
|
232
|
+
nativeCoinOperationHashPrefix: string;
|
|
233
|
+
tokenOperationHashPrefix: string;
|
|
234
|
+
batcherContractAddress: string;
|
|
235
|
+
}
|
|
236
|
+
declare class LightningBitcoin extends Mainnet implements LightningNetwork {
|
|
237
|
+
name: string;
|
|
238
|
+
family: CoinFamily;
|
|
239
|
+
utxolibName: string;
|
|
240
|
+
explorerUrl: string;
|
|
241
|
+
lightningServicePubKey: string;
|
|
242
|
+
}
|
|
243
|
+
declare class LightningBitcoinTestnet extends Testnet implements LightningNetwork {
|
|
244
|
+
name: string;
|
|
245
|
+
family: CoinFamily;
|
|
246
|
+
utxolibName: string;
|
|
247
|
+
explorerUrl: string;
|
|
248
|
+
lightningServicePubKey: string;
|
|
190
249
|
}
|
|
191
250
|
declare class Bitcoin extends Mainnet implements UtxoNetwork {
|
|
192
251
|
name: string;
|
|
@@ -200,6 +259,24 @@ declare class BitcoinTestnet extends Testnet implements UtxoNetwork {
|
|
|
200
259
|
utxolibName: string;
|
|
201
260
|
explorerUrl: string;
|
|
202
261
|
}
|
|
262
|
+
declare class BitcoinPublicSignet extends Testnet implements UtxoNetwork {
|
|
263
|
+
name: string;
|
|
264
|
+
family: CoinFamily;
|
|
265
|
+
utxolibName: string;
|
|
266
|
+
explorerUrl: string;
|
|
267
|
+
}
|
|
268
|
+
declare class BitcoinTestnet4 extends Testnet implements UtxoNetwork {
|
|
269
|
+
name: string;
|
|
270
|
+
family: CoinFamily;
|
|
271
|
+
utxolibName: string;
|
|
272
|
+
explorerUrl: string;
|
|
273
|
+
}
|
|
274
|
+
declare class BitcoinBitGoSignet extends Testnet implements UtxoNetwork {
|
|
275
|
+
name: string;
|
|
276
|
+
family: CoinFamily;
|
|
277
|
+
utxolibName: string;
|
|
278
|
+
explorerUrl: string;
|
|
279
|
+
}
|
|
203
280
|
declare class BitcoinCash extends Mainnet implements UtxoNetwork {
|
|
204
281
|
name: string;
|
|
205
282
|
family: CoinFamily;
|
|
@@ -280,7 +357,6 @@ declare class Polkadot extends Mainnet implements DotNetwork {
|
|
|
280
357
|
genesisHash: string;
|
|
281
358
|
specVersion: number;
|
|
282
359
|
chainName: string;
|
|
283
|
-
metadataRpc: `0x${string}`;
|
|
284
360
|
txVersion: number;
|
|
285
361
|
}
|
|
286
362
|
declare class PolkadotTestnet extends Testnet implements DotNetwork {
|
|
@@ -291,7 +367,6 @@ declare class PolkadotTestnet extends Testnet implements DotNetwork {
|
|
|
291
367
|
genesisHash: string;
|
|
292
368
|
specVersion: number;
|
|
293
369
|
chainName: string;
|
|
294
|
-
metadataRpc: `0x${string}`;
|
|
295
370
|
txVersion: number;
|
|
296
371
|
}
|
|
297
372
|
declare class Celo extends Mainnet implements EthereumNetwork {
|
|
@@ -300,6 +375,8 @@ declare class Celo extends Mainnet implements EthereumNetwork {
|
|
|
300
375
|
explorerUrl: string;
|
|
301
376
|
accountExplorerUrl: string;
|
|
302
377
|
chainId: number;
|
|
378
|
+
nativeCoinOperationHashPrefix: string;
|
|
379
|
+
tokenOperationHashPrefix: string;
|
|
303
380
|
}
|
|
304
381
|
declare class CeloTestnet extends Testnet implements EthereumNetwork {
|
|
305
382
|
name: string;
|
|
@@ -307,6 +384,8 @@ declare class CeloTestnet extends Testnet implements EthereumNetwork {
|
|
|
307
384
|
explorerUrl: string;
|
|
308
385
|
accountExplorerUrl: string;
|
|
309
386
|
chainId: number;
|
|
387
|
+
nativeCoinOperationHashPrefix: string;
|
|
388
|
+
tokenOperationHashPrefix: string;
|
|
310
389
|
}
|
|
311
390
|
declare class Casper extends Mainnet implements AccountNetwork {
|
|
312
391
|
name: string;
|
|
@@ -325,10 +404,13 @@ declare class Ethereum extends Mainnet implements EthereumNetwork {
|
|
|
325
404
|
family: CoinFamily;
|
|
326
405
|
explorerUrl: string;
|
|
327
406
|
accountExplorerUrl: string;
|
|
407
|
+
blockExplorerUrl: string;
|
|
328
408
|
chainId: number;
|
|
329
409
|
batcherContractAddress: string;
|
|
330
410
|
forwarderFactoryAddress: string;
|
|
331
411
|
forwarderImplementationAddress: string;
|
|
412
|
+
nativeCoinOperationHashPrefix: string;
|
|
413
|
+
tokenOperationHashPrefix: string;
|
|
332
414
|
}
|
|
333
415
|
declare class Ethereum2 extends Mainnet implements AccountNetwork {
|
|
334
416
|
name: string;
|
|
@@ -345,6 +427,8 @@ declare class EthereumW extends Mainnet implements EthereumNetwork {
|
|
|
345
427
|
batcherContractAddress: string;
|
|
346
428
|
forwarderFactoryAddress: string;
|
|
347
429
|
forwarderImplementationAddress: string;
|
|
430
|
+
nativeCoinOperationHashPrefix: string;
|
|
431
|
+
tokenOperationHashPrefix: string;
|
|
348
432
|
}
|
|
349
433
|
declare class Pyrmont extends Testnet implements AccountNetwork {
|
|
350
434
|
name: string;
|
|
@@ -361,16 +445,34 @@ declare class Kovan extends Testnet implements EthereumNetwork {
|
|
|
361
445
|
batcherContractAddress: string;
|
|
362
446
|
forwarderFactoryAddress: string;
|
|
363
447
|
forwarderImplementationAddress: string;
|
|
448
|
+
nativeCoinOperationHashPrefix: string;
|
|
449
|
+
tokenOperationHashPrefix: string;
|
|
364
450
|
}
|
|
365
451
|
declare class Goerli extends Testnet implements EthereumNetwork {
|
|
366
452
|
name: string;
|
|
367
453
|
family: CoinFamily;
|
|
368
454
|
explorerUrl: string;
|
|
369
455
|
accountExplorerUrl: string;
|
|
456
|
+
blockExplorerUrl: string;
|
|
370
457
|
chainId: number;
|
|
371
458
|
batcherContractAddress: string;
|
|
372
459
|
forwarderFactoryAddress: string;
|
|
373
460
|
forwarderImplementationAddress: string;
|
|
461
|
+
nativeCoinOperationHashPrefix: string;
|
|
462
|
+
tokenOperationHashPrefix: string;
|
|
463
|
+
}
|
|
464
|
+
declare class Holesky extends Testnet implements EthereumNetwork {
|
|
465
|
+
name: string;
|
|
466
|
+
family: CoinFamily;
|
|
467
|
+
explorerUrl: string;
|
|
468
|
+
accountExplorerUrl: string;
|
|
469
|
+
blockExplorerUrl: string;
|
|
470
|
+
chainId: number;
|
|
471
|
+
batcherContractAddress: string;
|
|
472
|
+
forwarderFactoryAddress: string;
|
|
473
|
+
forwarderImplementationAddress: string;
|
|
474
|
+
nativeCoinOperationHashPrefix: string;
|
|
475
|
+
tokenOperationHashPrefix: string;
|
|
374
476
|
}
|
|
375
477
|
declare class EthereumClassic extends Mainnet implements EthereumNetwork {
|
|
376
478
|
name: string;
|
|
@@ -378,6 +480,8 @@ declare class EthereumClassic extends Mainnet implements EthereumNetwork {
|
|
|
378
480
|
explorerUrl: string;
|
|
379
481
|
accountExplorerUrl: string;
|
|
380
482
|
chainId: number;
|
|
483
|
+
nativeCoinOperationHashPrefix: string;
|
|
484
|
+
tokenOperationHashPrefix: string;
|
|
381
485
|
}
|
|
382
486
|
declare class EthereumClassicTestnet extends Testnet implements EthereumNetwork {
|
|
383
487
|
name: string;
|
|
@@ -385,6 +489,8 @@ declare class EthereumClassicTestnet extends Testnet implements EthereumNetwork
|
|
|
385
489
|
explorerUrl: string;
|
|
386
490
|
accountExplorerUrl: string;
|
|
387
491
|
chainId: number;
|
|
492
|
+
nativeCoinOperationHashPrefix: string;
|
|
493
|
+
tokenOperationHashPrefix: string;
|
|
388
494
|
}
|
|
389
495
|
declare class Eos extends Mainnet implements AccountNetwork {
|
|
390
496
|
name: string;
|
|
@@ -434,6 +540,8 @@ declare class Rbtc extends Mainnet implements EthereumNetwork {
|
|
|
434
540
|
explorerUrl: string;
|
|
435
541
|
accountExplorerUrl: string;
|
|
436
542
|
chainId: number;
|
|
543
|
+
nativeCoinOperationHashPrefix: string;
|
|
544
|
+
tokenOperationHashPrefix: string;
|
|
437
545
|
}
|
|
438
546
|
declare class RbtcTestnet extends Testnet implements EthereumNetwork {
|
|
439
547
|
name: string;
|
|
@@ -441,6 +549,8 @@ declare class RbtcTestnet extends Testnet implements EthereumNetwork {
|
|
|
441
549
|
explorerUrl: string;
|
|
442
550
|
accountExplorerUrl: string;
|
|
443
551
|
chainId: number;
|
|
552
|
+
nativeCoinOperationHashPrefix: string;
|
|
553
|
+
tokenOperationHashPrefix: string;
|
|
444
554
|
}
|
|
445
555
|
declare class Stellar extends Mainnet implements AccountNetwork {
|
|
446
556
|
name: string;
|
|
@@ -482,6 +592,116 @@ declare class AtomTestnet extends Testnet implements AccountNetwork {
|
|
|
482
592
|
family: CoinFamily;
|
|
483
593
|
explorerUrl: string;
|
|
484
594
|
}
|
|
595
|
+
declare class Osmo extends Mainnet implements AccountNetwork {
|
|
596
|
+
name: string;
|
|
597
|
+
family: CoinFamily;
|
|
598
|
+
explorerUrl: string;
|
|
599
|
+
}
|
|
600
|
+
declare class OsmoTestnet extends Testnet implements AccountNetwork {
|
|
601
|
+
name: string;
|
|
602
|
+
family: CoinFamily;
|
|
603
|
+
explorerUrl: string;
|
|
604
|
+
}
|
|
605
|
+
declare class Tia extends Mainnet implements AccountNetwork {
|
|
606
|
+
name: string;
|
|
607
|
+
family: CoinFamily;
|
|
608
|
+
explorerUrl: string;
|
|
609
|
+
}
|
|
610
|
+
declare class TiaTestnet extends Testnet implements AccountNetwork {
|
|
611
|
+
name: string;
|
|
612
|
+
family: CoinFamily;
|
|
613
|
+
explorerUrl: string;
|
|
614
|
+
}
|
|
615
|
+
declare class Hash extends Mainnet implements AccountNetwork {
|
|
616
|
+
name: string;
|
|
617
|
+
family: CoinFamily;
|
|
618
|
+
explorerUrl: string;
|
|
619
|
+
}
|
|
620
|
+
declare class HashTestnet extends Testnet implements AccountNetwork {
|
|
621
|
+
name: string;
|
|
622
|
+
family: CoinFamily;
|
|
623
|
+
explorerUrl: string;
|
|
624
|
+
}
|
|
625
|
+
declare class Bld extends Mainnet implements AccountNetwork {
|
|
626
|
+
name: string;
|
|
627
|
+
family: CoinFamily;
|
|
628
|
+
explorerUrl: string;
|
|
629
|
+
}
|
|
630
|
+
declare class BldTestnet extends Testnet implements AccountNetwork {
|
|
631
|
+
name: string;
|
|
632
|
+
family: CoinFamily;
|
|
633
|
+
explorerUrl: string;
|
|
634
|
+
}
|
|
635
|
+
declare class Sei extends Mainnet implements AccountNetwork {
|
|
636
|
+
name: string;
|
|
637
|
+
family: CoinFamily;
|
|
638
|
+
explorerUrl: string;
|
|
639
|
+
}
|
|
640
|
+
declare class SeiTestnet extends Testnet implements AccountNetwork {
|
|
641
|
+
name: string;
|
|
642
|
+
family: CoinFamily;
|
|
643
|
+
explorerUrl: string;
|
|
644
|
+
}
|
|
645
|
+
declare class Zeta extends Mainnet implements AccountNetwork {
|
|
646
|
+
name: string;
|
|
647
|
+
family: CoinFamily;
|
|
648
|
+
explorerUrl: string;
|
|
649
|
+
}
|
|
650
|
+
declare class ZetaTestnet extends Testnet implements AccountNetwork {
|
|
651
|
+
name: string;
|
|
652
|
+
family: CoinFamily;
|
|
653
|
+
explorerUrl: string;
|
|
654
|
+
}
|
|
655
|
+
declare class Injective extends Mainnet implements AccountNetwork {
|
|
656
|
+
name: string;
|
|
657
|
+
family: CoinFamily;
|
|
658
|
+
explorerUrl: string;
|
|
659
|
+
}
|
|
660
|
+
declare class InjectiveTestnet extends Testnet implements AccountNetwork {
|
|
661
|
+
name: string;
|
|
662
|
+
family: CoinFamily;
|
|
663
|
+
explorerUrl: string;
|
|
664
|
+
}
|
|
665
|
+
declare class Kava extends Mainnet implements AccountNetwork {
|
|
666
|
+
name: string;
|
|
667
|
+
family: CoinFamily;
|
|
668
|
+
explorerUrl: string;
|
|
669
|
+
}
|
|
670
|
+
declare class KavaTestnet extends Testnet implements AccountNetwork {
|
|
671
|
+
name: string;
|
|
672
|
+
family: CoinFamily;
|
|
673
|
+
explorerUrl: string;
|
|
674
|
+
}
|
|
675
|
+
declare class Ton extends Mainnet implements AccountNetwork {
|
|
676
|
+
name: string;
|
|
677
|
+
family: CoinFamily;
|
|
678
|
+
explorerUrl: string;
|
|
679
|
+
}
|
|
680
|
+
declare class TonTestnet extends Testnet implements AccountNetwork {
|
|
681
|
+
name: string;
|
|
682
|
+
family: CoinFamily;
|
|
683
|
+
explorerUrl: string;
|
|
684
|
+
}
|
|
685
|
+
declare class Coreum extends Mainnet implements AccountNetwork {
|
|
686
|
+
name: string;
|
|
687
|
+
family: CoinFamily;
|
|
688
|
+
explorerUrl: string;
|
|
689
|
+
}
|
|
690
|
+
declare class CoreumTestnet extends Testnet implements AccountNetwork {
|
|
691
|
+
name: string;
|
|
692
|
+
family: CoinFamily;
|
|
693
|
+
explorerUrl: string;
|
|
694
|
+
}
|
|
695
|
+
declare class Islm extends Mainnet implements AccountNetwork {
|
|
696
|
+
name: string;
|
|
697
|
+
family: CoinFamily;
|
|
698
|
+
explorerUrl: string;
|
|
699
|
+
}
|
|
700
|
+
declare class IslmTestnet extends Testnet implements AccountNetwork {
|
|
701
|
+
name: string;
|
|
702
|
+
family: CoinFamily;
|
|
703
|
+
explorerUrl: string;
|
|
704
|
+
}
|
|
485
705
|
declare class Stx extends Mainnet implements StacksNetwork {
|
|
486
706
|
name: string;
|
|
487
707
|
family: CoinFamily;
|
|
@@ -519,6 +739,7 @@ declare class Fiat extends Mainnet implements BaseNetwork {
|
|
|
519
739
|
declare class Trx extends Mainnet implements TronNetwork {
|
|
520
740
|
name: string;
|
|
521
741
|
family: CoinFamily;
|
|
742
|
+
accountExplorerUrl: string;
|
|
522
743
|
explorerUrl: string;
|
|
523
744
|
maxFeeLimit: string;
|
|
524
745
|
contractCallFeeLimit: string;
|
|
@@ -526,6 +747,7 @@ declare class Trx extends Mainnet implements TronNetwork {
|
|
|
526
747
|
declare class TrxTestnet extends Testnet implements TronNetwork {
|
|
527
748
|
name: string;
|
|
528
749
|
family: CoinFamily;
|
|
750
|
+
accountExplorerUrl: string;
|
|
529
751
|
explorerUrl: string;
|
|
530
752
|
maxFeeLimit: string;
|
|
531
753
|
contractCallFeeLimit: string;
|
|
@@ -588,6 +810,9 @@ declare class Polygon extends Mainnet implements EthereumNetwork {
|
|
|
588
810
|
forwarderImplementationAddress: string;
|
|
589
811
|
walletFactoryAddress: string;
|
|
590
812
|
walletImplementationAddress: string;
|
|
813
|
+
batcherContractAddress: string;
|
|
814
|
+
nativeCoinOperationHashPrefix: string;
|
|
815
|
+
tokenOperationHashPrefix: string;
|
|
591
816
|
}
|
|
592
817
|
declare class PolygonTestnet extends Testnet implements EthereumNetwork {
|
|
593
818
|
name: string;
|
|
@@ -599,21 +824,126 @@ declare class PolygonTestnet extends Testnet implements EthereumNetwork {
|
|
|
599
824
|
forwarderImplementationAddress: string;
|
|
600
825
|
walletFactoryAddress: string;
|
|
601
826
|
walletImplementationAddress: string;
|
|
827
|
+
batcherContractAddress: string;
|
|
828
|
+
nativeCoinOperationHashPrefix: string;
|
|
829
|
+
tokenOperationHashPrefix: string;
|
|
830
|
+
}
|
|
831
|
+
declare class Optimism extends Mainnet implements EthereumNetwork {
|
|
832
|
+
name: string;
|
|
833
|
+
family: CoinFamily;
|
|
834
|
+
explorerUrl: string;
|
|
835
|
+
accountExplorerUrl: string;
|
|
836
|
+
chainId: number;
|
|
837
|
+
nativeCoinOperationHashPrefix: string;
|
|
838
|
+
tokenOperationHashPrefix: string;
|
|
839
|
+
forwarderFactoryAddress: string;
|
|
840
|
+
forwarderImplementationAddress: string;
|
|
841
|
+
walletFactoryAddress: string;
|
|
842
|
+
walletImplementationAddress: string;
|
|
843
|
+
}
|
|
844
|
+
declare class OptimismTestnet extends Testnet implements EthereumNetwork {
|
|
845
|
+
name: string;
|
|
846
|
+
family: CoinFamily;
|
|
847
|
+
explorerUrl: string;
|
|
848
|
+
accountExplorerUrl: string;
|
|
849
|
+
chainId: number;
|
|
850
|
+
nativeCoinOperationHashPrefix: string;
|
|
851
|
+
tokenOperationHashPrefix: string;
|
|
852
|
+
forwarderFactoryAddress: string;
|
|
853
|
+
forwarderImplementationAddress: string;
|
|
854
|
+
walletFactoryAddress: string;
|
|
855
|
+
walletImplementationAddress: string;
|
|
856
|
+
}
|
|
857
|
+
declare class ZkSync extends Mainnet implements EthereumNetwork {
|
|
858
|
+
name: string;
|
|
859
|
+
family: CoinFamily;
|
|
860
|
+
explorerUrl: string;
|
|
861
|
+
accountExplorerUrl: string;
|
|
862
|
+
chainId: number;
|
|
863
|
+
nativeCoinOperationHashPrefix: string;
|
|
864
|
+
tokenOperationHashPrefix: string;
|
|
865
|
+
}
|
|
866
|
+
declare class ZkSyncTestnet extends Testnet implements EthereumNetwork {
|
|
867
|
+
name: string;
|
|
868
|
+
family: CoinFamily;
|
|
869
|
+
explorerUrl: string;
|
|
870
|
+
accountExplorerUrl: string;
|
|
871
|
+
chainId: number;
|
|
872
|
+
nativeCoinOperationHashPrefix: string;
|
|
873
|
+
tokenOperationHashPrefix: string;
|
|
874
|
+
forwarderFactoryAddress: string;
|
|
875
|
+
forwarderImplementationAddress: string;
|
|
876
|
+
walletFactoryAddress: string;
|
|
877
|
+
walletImplementationAddress: string;
|
|
878
|
+
}
|
|
879
|
+
declare class Berachain extends Mainnet implements EthereumNetwork {
|
|
880
|
+
name: string;
|
|
881
|
+
family: CoinFamily;
|
|
882
|
+
explorerUrl: string;
|
|
883
|
+
accountExplorerUrl: string;
|
|
884
|
+
chainId: number;
|
|
885
|
+
nativeCoinOperationHashPrefix: string;
|
|
886
|
+
tokenOperationHashPrefix: string;
|
|
887
|
+
}
|
|
888
|
+
declare class BerachainTestnet extends Testnet implements EthereumNetwork {
|
|
889
|
+
name: string;
|
|
890
|
+
family: CoinFamily;
|
|
891
|
+
explorerUrl: string;
|
|
892
|
+
accountExplorerUrl: string;
|
|
893
|
+
chainId: number;
|
|
894
|
+
nativeCoinOperationHashPrefix: string;
|
|
895
|
+
tokenOperationHashPrefix: string;
|
|
896
|
+
forwarderFactoryAddress: string;
|
|
897
|
+
forwarderImplementationAddress: string;
|
|
898
|
+
walletFactoryAddress: string;
|
|
899
|
+
walletImplementationAddress: string;
|
|
900
|
+
batcherContractAddress: string;
|
|
901
|
+
}
|
|
902
|
+
declare class BaseChainTestnet extends Testnet implements EthereumNetwork {
|
|
903
|
+
name: string;
|
|
904
|
+
family: CoinFamily;
|
|
905
|
+
explorerUrl: string;
|
|
906
|
+
accountExplorerUrl: string;
|
|
907
|
+
chainId: number;
|
|
908
|
+
nativeCoinOperationHashPrefix: string;
|
|
909
|
+
tokenOperationHashPrefix: string;
|
|
910
|
+
forwarderFactoryAddress: string;
|
|
911
|
+
forwarderImplementationAddress: string;
|
|
912
|
+
walletFactoryAddress: string;
|
|
913
|
+
walletImplementationAddress: string;
|
|
914
|
+
}
|
|
915
|
+
declare class BaseChain extends Mainnet implements EthereumNetwork {
|
|
916
|
+
name: string;
|
|
917
|
+
family: CoinFamily;
|
|
918
|
+
explorerUrl: string;
|
|
919
|
+
accountExplorerUrl: string;
|
|
920
|
+
chainId: number;
|
|
921
|
+
nativeCoinOperationHashPrefix: string;
|
|
922
|
+
tokenOperationHashPrefix: string;
|
|
923
|
+
forwarderFactoryAddress: string;
|
|
924
|
+
forwarderImplementationAddress: string;
|
|
925
|
+
walletFactoryAddress: string;
|
|
926
|
+
walletImplementationAddress: string;
|
|
602
927
|
}
|
|
603
928
|
export declare const Networks: {
|
|
604
929
|
main: {
|
|
605
930
|
ada: Readonly<Ada>;
|
|
606
931
|
algorand: Readonly<Algorand>;
|
|
932
|
+
arbitrum: Readonly<Arbitrum>;
|
|
607
933
|
atom: Readonly<Atom>;
|
|
608
934
|
avalancheC: Readonly<AvalancheC>;
|
|
609
935
|
avalancheP: Readonly<AvalancheP>;
|
|
936
|
+
basechain: Readonly<BaseChain>;
|
|
610
937
|
bitcoin: Readonly<Bitcoin>;
|
|
611
938
|
bitcoinCash: Readonly<BitcoinCash>;
|
|
612
939
|
bitcoinGold: Readonly<BitcoinGold>;
|
|
613
940
|
bitcoinSV: Readonly<BitcoinSV>;
|
|
941
|
+
bera: Readonly<Berachain>;
|
|
942
|
+
bld: Readonly<Bld>;
|
|
614
943
|
bsc: Readonly<BinanceSmartChain>;
|
|
615
944
|
casper: Readonly<Casper>;
|
|
616
945
|
celo: Readonly<Celo>;
|
|
946
|
+
coreum: Readonly<Coreum>;
|
|
617
947
|
dash: Readonly<Dash>;
|
|
618
948
|
dogecoin: Readonly<Dogecoin>;
|
|
619
949
|
dot: Readonly<Polkadot>;
|
|
@@ -624,32 +954,51 @@ export declare const Networks: {
|
|
|
624
954
|
ethereumClassic: Readonly<EthereumClassic>;
|
|
625
955
|
ethereumW: Readonly<EthereumW>;
|
|
626
956
|
fiat: Readonly<Fiat>;
|
|
957
|
+
hash: Readonly<Hash>;
|
|
627
958
|
hedera: Readonly<Hedera>;
|
|
959
|
+
injective: Readonly<Injective>;
|
|
960
|
+
islm: Readonly<Islm>;
|
|
961
|
+
kava: Readonly<Kava>;
|
|
962
|
+
lnbtc: Readonly<LightningBitcoin>;
|
|
628
963
|
litecoin: Readonly<Litecoin>;
|
|
629
964
|
polygon: Readonly<Polygon>;
|
|
630
965
|
ofc: Readonly<Ofc>;
|
|
966
|
+
optimism: Readonly<Optimism>;
|
|
967
|
+
osmo: Readonly<Osmo>;
|
|
631
968
|
rbtc: Readonly<Rbtc>;
|
|
632
969
|
stellar: Readonly<Stellar>;
|
|
970
|
+
sei: Readonly<Sei>;
|
|
633
971
|
sol: Readonly<Sol>;
|
|
634
972
|
sui: Readonly<Sui>;
|
|
635
973
|
near: Readonly<Near>;
|
|
636
974
|
stx: Readonly<Stx>;
|
|
637
975
|
susd: Readonly<SUSD>;
|
|
976
|
+
tia: Readonly<Tia>;
|
|
977
|
+
ton: Readonly<Ton>;
|
|
638
978
|
trx: Readonly<Trx>;
|
|
639
979
|
xrp: Readonly<Xrp>;
|
|
640
980
|
xtz: Readonly<Xtz>;
|
|
641
981
|
zCash: Readonly<ZCash>;
|
|
982
|
+
zeta: Readonly<Zeta>;
|
|
983
|
+
zkSync: Readonly<ZkSync>;
|
|
642
984
|
};
|
|
643
985
|
test: {
|
|
644
986
|
ada: Readonly<AdaTestnet>;
|
|
645
987
|
algorand: Readonly<AlgorandTestnet>;
|
|
988
|
+
arbitrum: Readonly<ArbitrumTestnet>;
|
|
646
989
|
atom: Readonly<AtomTestnet>;
|
|
647
990
|
avalancheC: Readonly<AvalancheCTestnet>;
|
|
648
991
|
avalancheP: Readonly<AvalanchePTestnet>;
|
|
992
|
+
basechain: Readonly<BaseChainTestnet>;
|
|
649
993
|
bitcoin: Readonly<BitcoinTestnet>;
|
|
994
|
+
bitcoinPublicSignet: Readonly<BitcoinPublicSignet>;
|
|
995
|
+
bitcoinTestnet4: Readonly<BitcoinTestnet4>;
|
|
996
|
+
bitcoinBitGoSignet: Readonly<BitcoinBitGoSignet>;
|
|
650
997
|
bitcoinCash: Readonly<BitcoinCashTestnet>;
|
|
651
998
|
bitcoinGold: Readonly<BitcoinGoldTestnet>;
|
|
652
999
|
bitcoinSV: Readonly<BitcoinSVTestnet>;
|
|
1000
|
+
bera: Readonly<BerachainTestnet>;
|
|
1001
|
+
bld: Readonly<BldTestnet>;
|
|
653
1002
|
bsc: Readonly<BinanceSmartChainTestnet>;
|
|
654
1003
|
casper: Readonly<CasperTestnet>;
|
|
655
1004
|
celo: Readonly<CeloTestnet>;
|
|
@@ -661,23 +1010,37 @@ export declare const Networks: {
|
|
|
661
1010
|
fiat: Readonly<FiatTestnet>;
|
|
662
1011
|
pyrmont: Readonly<Pyrmont>;
|
|
663
1012
|
ethereumClassicTestnet: Readonly<EthereumClassicTestnet>;
|
|
1013
|
+
hash: Readonly<HashTestnet>;
|
|
664
1014
|
hedera: Readonly<HederaTestnet>;
|
|
1015
|
+
injective: Readonly<InjectiveTestnet>;
|
|
1016
|
+
islm: Readonly<IslmTestnet>;
|
|
1017
|
+
kava: Readonly<KavaTestnet>;
|
|
665
1018
|
kovan: Readonly<Kovan>;
|
|
666
1019
|
goerli: Readonly<Goerli>;
|
|
1020
|
+
holesky: Readonly<Holesky>;
|
|
1021
|
+
lnbtc: Readonly<LightningBitcoinTestnet>;
|
|
667
1022
|
litecoin: Readonly<LitecoinTestnet>;
|
|
668
1023
|
polygon: Readonly<PolygonTestnet>;
|
|
669
1024
|
ofc: Readonly<OfcTestnet>;
|
|
1025
|
+
optimism: Readonly<OptimismTestnet>;
|
|
1026
|
+
osmo: Readonly<OsmoTestnet>;
|
|
670
1027
|
rbtc: Readonly<RbtcTestnet>;
|
|
671
1028
|
stellar: Readonly<StellarTestnet>;
|
|
1029
|
+
sei: Readonly<SeiTestnet>;
|
|
672
1030
|
sol: Readonly<SolTestnet>;
|
|
673
1031
|
sui: Readonly<SuiTestnet>;
|
|
674
1032
|
near: Readonly<NearTestnet>;
|
|
675
1033
|
stx: Readonly<StxTestnet>;
|
|
676
1034
|
susd: Readonly<SUSDTestnet>;
|
|
1035
|
+
coreum: Readonly<CoreumTestnet>;
|
|
1036
|
+
tia: Readonly<TiaTestnet>;
|
|
1037
|
+
ton: Readonly<TonTestnet>;
|
|
677
1038
|
trx: Readonly<TrxTestnet>;
|
|
678
1039
|
xrp: Readonly<XrpTestnet>;
|
|
679
1040
|
xtz: Readonly<XtzTestnet>;
|
|
680
1041
|
zCash: Readonly<ZCashTestnet>;
|
|
1042
|
+
zeta: Readonly<ZetaTestnet>;
|
|
1043
|
+
zkSync: Readonly<ZkSyncTestnet>;
|
|
681
1044
|
};
|
|
682
1045
|
};
|
|
683
1046
|
export {};
|