@bitgo-beta/statics 10.0.1-alpha.23 → 10.0.1-alpha.231
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 +2402 -0
- package/dist/src/account.d.ts +260 -4
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +407 -10
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +3 -1
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +4 -1
- package/dist/src/base.d.ts +1127 -24
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1177 -39
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +2797 -1298
- 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/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 +34 -3
- package/dist/src/networks.d.ts +429 -4
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +599 -48
- package/dist/src/ofc.d.ts +138 -0
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +286 -4
- 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 +3 -1
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +70 -2
- package/dist/tsconfig.tsbuildinfo +1 -2737
- 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,42 @@ declare class AdaTestnet extends Testnet implements AdaNetwork {
|
|
|
110
121
|
poolDeposit: number;
|
|
111
122
|
stakeKeyDeposit: number;
|
|
112
123
|
}
|
|
124
|
+
declare class Apt extends Mainnet implements AccountNetwork {
|
|
125
|
+
name: string;
|
|
126
|
+
family: CoinFamily;
|
|
127
|
+
explorerUrl: string;
|
|
128
|
+
}
|
|
129
|
+
declare class AptTestnet extends Testnet implements AccountNetwork {
|
|
130
|
+
name: string;
|
|
131
|
+
family: CoinFamily;
|
|
132
|
+
explorerUrl: string;
|
|
133
|
+
}
|
|
134
|
+
declare class Arbitrum extends Mainnet implements EthereumNetwork {
|
|
135
|
+
name: string;
|
|
136
|
+
family: CoinFamily;
|
|
137
|
+
explorerUrl: string;
|
|
138
|
+
accountExplorerUrl: string;
|
|
139
|
+
chainId: number;
|
|
140
|
+
nativeCoinOperationHashPrefix: string;
|
|
141
|
+
tokenOperationHashPrefix: string;
|
|
142
|
+
forwarderFactoryAddress: string;
|
|
143
|
+
forwarderImplementationAddress: string;
|
|
144
|
+
walletFactoryAddress: string;
|
|
145
|
+
walletImplementationAddress: string;
|
|
146
|
+
}
|
|
147
|
+
declare class ArbitrumTestnet extends Testnet implements EthereumNetwork {
|
|
148
|
+
name: string;
|
|
149
|
+
family: CoinFamily;
|
|
150
|
+
explorerUrl: string;
|
|
151
|
+
accountExplorerUrl: string;
|
|
152
|
+
chainId: number;
|
|
153
|
+
nativeCoinOperationHashPrefix: string;
|
|
154
|
+
tokenOperationHashPrefix: string;
|
|
155
|
+
forwarderFactoryAddress: string;
|
|
156
|
+
forwarderImplementationAddress: string;
|
|
157
|
+
walletFactoryAddress: string;
|
|
158
|
+
walletImplementationAddress: string;
|
|
159
|
+
}
|
|
113
160
|
declare class AvalancheC extends Mainnet implements AccountNetwork {
|
|
114
161
|
name: string;
|
|
115
162
|
family: CoinFamily;
|
|
@@ -137,6 +184,7 @@ declare class AvalancheP extends Mainnet implements AvalancheNetwork {
|
|
|
137
184
|
alias: string;
|
|
138
185
|
vm: string;
|
|
139
186
|
txFee: string;
|
|
187
|
+
maxImportFee: string;
|
|
140
188
|
createSubnetTx: string;
|
|
141
189
|
createChainTx: string;
|
|
142
190
|
creationTxFee: string;
|
|
@@ -162,6 +210,7 @@ declare class AvalanchePTestnet extends Testnet implements AvalancheNetwork {
|
|
|
162
210
|
hrp: string;
|
|
163
211
|
vm: string;
|
|
164
212
|
txFee: string;
|
|
213
|
+
maxImportFee: string;
|
|
165
214
|
createSubnetTx: string;
|
|
166
215
|
createChainTx: string;
|
|
167
216
|
creationTxFee: string;
|
|
@@ -180,6 +229,9 @@ declare class BinanceSmartChain extends Mainnet implements EthereumNetwork {
|
|
|
180
229
|
explorerUrl: string;
|
|
181
230
|
accountExplorerUrl: string;
|
|
182
231
|
chainId: number;
|
|
232
|
+
nativeCoinOperationHashPrefix: string;
|
|
233
|
+
tokenOperationHashPrefix: string;
|
|
234
|
+
batcherContractAddress: string;
|
|
183
235
|
}
|
|
184
236
|
declare class BinanceSmartChainTestnet extends Testnet implements EthereumNetwork {
|
|
185
237
|
name: string;
|
|
@@ -187,6 +239,23 @@ declare class BinanceSmartChainTestnet extends Testnet implements EthereumNetwor
|
|
|
187
239
|
explorerUrl: string;
|
|
188
240
|
accountExplorerUrl: string;
|
|
189
241
|
chainId: number;
|
|
242
|
+
nativeCoinOperationHashPrefix: string;
|
|
243
|
+
tokenOperationHashPrefix: string;
|
|
244
|
+
batcherContractAddress: string;
|
|
245
|
+
}
|
|
246
|
+
declare class LightningBitcoin extends Mainnet implements LightningNetwork {
|
|
247
|
+
name: string;
|
|
248
|
+
family: CoinFamily;
|
|
249
|
+
utxolibName: string;
|
|
250
|
+
explorerUrl: string;
|
|
251
|
+
lightningServicePubKey: string;
|
|
252
|
+
}
|
|
253
|
+
declare class LightningBitcoinTestnet extends Testnet implements LightningNetwork {
|
|
254
|
+
name: string;
|
|
255
|
+
family: CoinFamily;
|
|
256
|
+
utxolibName: string;
|
|
257
|
+
explorerUrl: string;
|
|
258
|
+
lightningServicePubKey: string;
|
|
190
259
|
}
|
|
191
260
|
declare class Bitcoin extends Mainnet implements UtxoNetwork {
|
|
192
261
|
name: string;
|
|
@@ -200,6 +269,24 @@ declare class BitcoinTestnet extends Testnet implements UtxoNetwork {
|
|
|
200
269
|
utxolibName: string;
|
|
201
270
|
explorerUrl: string;
|
|
202
271
|
}
|
|
272
|
+
declare class BitcoinPublicSignet extends Testnet implements UtxoNetwork {
|
|
273
|
+
name: string;
|
|
274
|
+
family: CoinFamily;
|
|
275
|
+
utxolibName: string;
|
|
276
|
+
explorerUrl: string;
|
|
277
|
+
}
|
|
278
|
+
declare class BitcoinTestnet4 extends Testnet implements UtxoNetwork {
|
|
279
|
+
name: string;
|
|
280
|
+
family: CoinFamily;
|
|
281
|
+
utxolibName: string;
|
|
282
|
+
explorerUrl: string;
|
|
283
|
+
}
|
|
284
|
+
declare class BitcoinBitGoSignet extends Testnet implements UtxoNetwork {
|
|
285
|
+
name: string;
|
|
286
|
+
family: CoinFamily;
|
|
287
|
+
utxolibName: string;
|
|
288
|
+
explorerUrl: string;
|
|
289
|
+
}
|
|
203
290
|
declare class BitcoinCash extends Mainnet implements UtxoNetwork {
|
|
204
291
|
name: string;
|
|
205
292
|
family: CoinFamily;
|
|
@@ -280,7 +367,6 @@ declare class Polkadot extends Mainnet implements DotNetwork {
|
|
|
280
367
|
genesisHash: string;
|
|
281
368
|
specVersion: number;
|
|
282
369
|
chainName: string;
|
|
283
|
-
metadataRpc: `0x${string}`;
|
|
284
370
|
txVersion: number;
|
|
285
371
|
}
|
|
286
372
|
declare class PolkadotTestnet extends Testnet implements DotNetwork {
|
|
@@ -291,7 +377,6 @@ declare class PolkadotTestnet extends Testnet implements DotNetwork {
|
|
|
291
377
|
genesisHash: string;
|
|
292
378
|
specVersion: number;
|
|
293
379
|
chainName: string;
|
|
294
|
-
metadataRpc: `0x${string}`;
|
|
295
380
|
txVersion: number;
|
|
296
381
|
}
|
|
297
382
|
declare class Celo extends Mainnet implements EthereumNetwork {
|
|
@@ -300,6 +385,8 @@ declare class Celo extends Mainnet implements EthereumNetwork {
|
|
|
300
385
|
explorerUrl: string;
|
|
301
386
|
accountExplorerUrl: string;
|
|
302
387
|
chainId: number;
|
|
388
|
+
nativeCoinOperationHashPrefix: string;
|
|
389
|
+
tokenOperationHashPrefix: string;
|
|
303
390
|
}
|
|
304
391
|
declare class CeloTestnet extends Testnet implements EthereumNetwork {
|
|
305
392
|
name: string;
|
|
@@ -307,6 +394,8 @@ declare class CeloTestnet extends Testnet implements EthereumNetwork {
|
|
|
307
394
|
explorerUrl: string;
|
|
308
395
|
accountExplorerUrl: string;
|
|
309
396
|
chainId: number;
|
|
397
|
+
nativeCoinOperationHashPrefix: string;
|
|
398
|
+
tokenOperationHashPrefix: string;
|
|
310
399
|
}
|
|
311
400
|
declare class Casper extends Mainnet implements AccountNetwork {
|
|
312
401
|
name: string;
|
|
@@ -325,10 +414,13 @@ declare class Ethereum extends Mainnet implements EthereumNetwork {
|
|
|
325
414
|
family: CoinFamily;
|
|
326
415
|
explorerUrl: string;
|
|
327
416
|
accountExplorerUrl: string;
|
|
417
|
+
blockExplorerUrl: string;
|
|
328
418
|
chainId: number;
|
|
329
419
|
batcherContractAddress: string;
|
|
330
420
|
forwarderFactoryAddress: string;
|
|
331
421
|
forwarderImplementationAddress: string;
|
|
422
|
+
nativeCoinOperationHashPrefix: string;
|
|
423
|
+
tokenOperationHashPrefix: string;
|
|
332
424
|
}
|
|
333
425
|
declare class Ethereum2 extends Mainnet implements AccountNetwork {
|
|
334
426
|
name: string;
|
|
@@ -345,6 +437,8 @@ declare class EthereumW extends Mainnet implements EthereumNetwork {
|
|
|
345
437
|
batcherContractAddress: string;
|
|
346
438
|
forwarderFactoryAddress: string;
|
|
347
439
|
forwarderImplementationAddress: string;
|
|
440
|
+
nativeCoinOperationHashPrefix: string;
|
|
441
|
+
tokenOperationHashPrefix: string;
|
|
348
442
|
}
|
|
349
443
|
declare class Pyrmont extends Testnet implements AccountNetwork {
|
|
350
444
|
name: string;
|
|
@@ -361,16 +455,34 @@ declare class Kovan extends Testnet implements EthereumNetwork {
|
|
|
361
455
|
batcherContractAddress: string;
|
|
362
456
|
forwarderFactoryAddress: string;
|
|
363
457
|
forwarderImplementationAddress: string;
|
|
458
|
+
nativeCoinOperationHashPrefix: string;
|
|
459
|
+
tokenOperationHashPrefix: string;
|
|
364
460
|
}
|
|
365
461
|
declare class Goerli extends Testnet implements EthereumNetwork {
|
|
366
462
|
name: string;
|
|
367
463
|
family: CoinFamily;
|
|
368
464
|
explorerUrl: string;
|
|
369
465
|
accountExplorerUrl: string;
|
|
466
|
+
blockExplorerUrl: string;
|
|
467
|
+
chainId: number;
|
|
468
|
+
batcherContractAddress: string;
|
|
469
|
+
forwarderFactoryAddress: string;
|
|
470
|
+
forwarderImplementationAddress: string;
|
|
471
|
+
nativeCoinOperationHashPrefix: string;
|
|
472
|
+
tokenOperationHashPrefix: string;
|
|
473
|
+
}
|
|
474
|
+
declare class Holesky extends Testnet implements EthereumNetwork {
|
|
475
|
+
name: string;
|
|
476
|
+
family: CoinFamily;
|
|
477
|
+
explorerUrl: string;
|
|
478
|
+
accountExplorerUrl: string;
|
|
479
|
+
blockExplorerUrl: string;
|
|
370
480
|
chainId: number;
|
|
371
481
|
batcherContractAddress: string;
|
|
372
482
|
forwarderFactoryAddress: string;
|
|
373
483
|
forwarderImplementationAddress: string;
|
|
484
|
+
nativeCoinOperationHashPrefix: string;
|
|
485
|
+
tokenOperationHashPrefix: string;
|
|
374
486
|
}
|
|
375
487
|
declare class EthereumClassic extends Mainnet implements EthereumNetwork {
|
|
376
488
|
name: string;
|
|
@@ -378,6 +490,8 @@ declare class EthereumClassic extends Mainnet implements EthereumNetwork {
|
|
|
378
490
|
explorerUrl: string;
|
|
379
491
|
accountExplorerUrl: string;
|
|
380
492
|
chainId: number;
|
|
493
|
+
nativeCoinOperationHashPrefix: string;
|
|
494
|
+
tokenOperationHashPrefix: string;
|
|
381
495
|
}
|
|
382
496
|
declare class EthereumClassicTestnet extends Testnet implements EthereumNetwork {
|
|
383
497
|
name: string;
|
|
@@ -385,6 +499,8 @@ declare class EthereumClassicTestnet extends Testnet implements EthereumNetwork
|
|
|
385
499
|
explorerUrl: string;
|
|
386
500
|
accountExplorerUrl: string;
|
|
387
501
|
chainId: number;
|
|
502
|
+
nativeCoinOperationHashPrefix: string;
|
|
503
|
+
tokenOperationHashPrefix: string;
|
|
388
504
|
}
|
|
389
505
|
declare class Eos extends Mainnet implements AccountNetwork {
|
|
390
506
|
name: string;
|
|
@@ -434,6 +550,8 @@ declare class Rbtc extends Mainnet implements EthereumNetwork {
|
|
|
434
550
|
explorerUrl: string;
|
|
435
551
|
accountExplorerUrl: string;
|
|
436
552
|
chainId: number;
|
|
553
|
+
nativeCoinOperationHashPrefix: string;
|
|
554
|
+
tokenOperationHashPrefix: string;
|
|
437
555
|
}
|
|
438
556
|
declare class RbtcTestnet extends Testnet implements EthereumNetwork {
|
|
439
557
|
name: string;
|
|
@@ -441,6 +559,8 @@ declare class RbtcTestnet extends Testnet implements EthereumNetwork {
|
|
|
441
559
|
explorerUrl: string;
|
|
442
560
|
accountExplorerUrl: string;
|
|
443
561
|
chainId: number;
|
|
562
|
+
nativeCoinOperationHashPrefix: string;
|
|
563
|
+
tokenOperationHashPrefix: string;
|
|
444
564
|
}
|
|
445
565
|
declare class Stellar extends Mainnet implements AccountNetwork {
|
|
446
566
|
name: string;
|
|
@@ -482,6 +602,126 @@ declare class AtomTestnet extends Testnet implements AccountNetwork {
|
|
|
482
602
|
family: CoinFamily;
|
|
483
603
|
explorerUrl: string;
|
|
484
604
|
}
|
|
605
|
+
declare class Osmo extends Mainnet implements AccountNetwork {
|
|
606
|
+
name: string;
|
|
607
|
+
family: CoinFamily;
|
|
608
|
+
explorerUrl: string;
|
|
609
|
+
}
|
|
610
|
+
declare class OsmoTestnet extends Testnet implements AccountNetwork {
|
|
611
|
+
name: string;
|
|
612
|
+
family: CoinFamily;
|
|
613
|
+
explorerUrl: string;
|
|
614
|
+
}
|
|
615
|
+
declare class Tia extends Mainnet implements AccountNetwork {
|
|
616
|
+
name: string;
|
|
617
|
+
family: CoinFamily;
|
|
618
|
+
explorerUrl: string;
|
|
619
|
+
}
|
|
620
|
+
declare class TiaTestnet extends Testnet implements AccountNetwork {
|
|
621
|
+
name: string;
|
|
622
|
+
family: CoinFamily;
|
|
623
|
+
explorerUrl: string;
|
|
624
|
+
}
|
|
625
|
+
declare class Hash extends Mainnet implements AccountNetwork {
|
|
626
|
+
name: string;
|
|
627
|
+
family: CoinFamily;
|
|
628
|
+
explorerUrl: string;
|
|
629
|
+
}
|
|
630
|
+
declare class HashTestnet extends Testnet implements AccountNetwork {
|
|
631
|
+
name: string;
|
|
632
|
+
family: CoinFamily;
|
|
633
|
+
explorerUrl: string;
|
|
634
|
+
}
|
|
635
|
+
declare class Bld extends Mainnet implements AccountNetwork {
|
|
636
|
+
name: string;
|
|
637
|
+
family: CoinFamily;
|
|
638
|
+
explorerUrl: string;
|
|
639
|
+
}
|
|
640
|
+
declare class BldTestnet extends Testnet implements AccountNetwork {
|
|
641
|
+
name: string;
|
|
642
|
+
family: CoinFamily;
|
|
643
|
+
explorerUrl: string;
|
|
644
|
+
}
|
|
645
|
+
declare class Sei extends Mainnet implements AccountNetwork {
|
|
646
|
+
name: string;
|
|
647
|
+
family: CoinFamily;
|
|
648
|
+
explorerUrl: string;
|
|
649
|
+
}
|
|
650
|
+
declare class SeiTestnet extends Testnet implements AccountNetwork {
|
|
651
|
+
name: string;
|
|
652
|
+
family: CoinFamily;
|
|
653
|
+
explorerUrl: string;
|
|
654
|
+
}
|
|
655
|
+
declare class Zeta extends Mainnet implements AccountNetwork {
|
|
656
|
+
name: string;
|
|
657
|
+
family: CoinFamily;
|
|
658
|
+
explorerUrl: string;
|
|
659
|
+
}
|
|
660
|
+
declare class ZetaTestnet extends Testnet implements AccountNetwork {
|
|
661
|
+
name: string;
|
|
662
|
+
family: CoinFamily;
|
|
663
|
+
explorerUrl: string;
|
|
664
|
+
}
|
|
665
|
+
declare class Injective extends Mainnet implements AccountNetwork {
|
|
666
|
+
name: string;
|
|
667
|
+
family: CoinFamily;
|
|
668
|
+
explorerUrl: string;
|
|
669
|
+
}
|
|
670
|
+
declare class InjectiveTestnet extends Testnet implements AccountNetwork {
|
|
671
|
+
name: string;
|
|
672
|
+
family: CoinFamily;
|
|
673
|
+
explorerUrl: string;
|
|
674
|
+
}
|
|
675
|
+
declare class Kava extends Mainnet implements AccountNetwork {
|
|
676
|
+
name: string;
|
|
677
|
+
family: CoinFamily;
|
|
678
|
+
explorerUrl: string;
|
|
679
|
+
}
|
|
680
|
+
declare class KavaTestnet extends Testnet implements AccountNetwork {
|
|
681
|
+
name: string;
|
|
682
|
+
family: CoinFamily;
|
|
683
|
+
explorerUrl: string;
|
|
684
|
+
}
|
|
685
|
+
declare class Ton extends Mainnet implements AccountNetwork {
|
|
686
|
+
name: string;
|
|
687
|
+
family: CoinFamily;
|
|
688
|
+
explorerUrl: string;
|
|
689
|
+
}
|
|
690
|
+
declare class TonTestnet extends Testnet implements AccountNetwork {
|
|
691
|
+
name: string;
|
|
692
|
+
family: CoinFamily;
|
|
693
|
+
explorerUrl: string;
|
|
694
|
+
}
|
|
695
|
+
declare class Coreum extends Mainnet implements AccountNetwork {
|
|
696
|
+
name: string;
|
|
697
|
+
family: CoinFamily;
|
|
698
|
+
explorerUrl: string;
|
|
699
|
+
}
|
|
700
|
+
declare class CoreumTestnet extends Testnet implements AccountNetwork {
|
|
701
|
+
name: string;
|
|
702
|
+
family: CoinFamily;
|
|
703
|
+
explorerUrl: string;
|
|
704
|
+
}
|
|
705
|
+
declare class Rune extends Mainnet implements AccountNetwork {
|
|
706
|
+
name: string;
|
|
707
|
+
family: CoinFamily;
|
|
708
|
+
explorerUrl: string;
|
|
709
|
+
}
|
|
710
|
+
declare class RuneTestNet extends Testnet implements AccountNetwork {
|
|
711
|
+
name: string;
|
|
712
|
+
family: CoinFamily;
|
|
713
|
+
explorerUrl: string;
|
|
714
|
+
}
|
|
715
|
+
declare class Islm extends Mainnet implements AccountNetwork {
|
|
716
|
+
name: string;
|
|
717
|
+
family: CoinFamily;
|
|
718
|
+
explorerUrl: string;
|
|
719
|
+
}
|
|
720
|
+
declare class IslmTestnet extends Testnet implements AccountNetwork {
|
|
721
|
+
name: string;
|
|
722
|
+
family: CoinFamily;
|
|
723
|
+
explorerUrl: string;
|
|
724
|
+
}
|
|
485
725
|
declare class Stx extends Mainnet implements StacksNetwork {
|
|
486
726
|
name: string;
|
|
487
727
|
family: CoinFamily;
|
|
@@ -519,6 +759,7 @@ declare class Fiat extends Mainnet implements BaseNetwork {
|
|
|
519
759
|
declare class Trx extends Mainnet implements TronNetwork {
|
|
520
760
|
name: string;
|
|
521
761
|
family: CoinFamily;
|
|
762
|
+
accountExplorerUrl: string;
|
|
522
763
|
explorerUrl: string;
|
|
523
764
|
maxFeeLimit: string;
|
|
524
765
|
contractCallFeeLimit: string;
|
|
@@ -526,6 +767,7 @@ declare class Trx extends Mainnet implements TronNetwork {
|
|
|
526
767
|
declare class TrxTestnet extends Testnet implements TronNetwork {
|
|
527
768
|
name: string;
|
|
528
769
|
family: CoinFamily;
|
|
770
|
+
accountExplorerUrl: string;
|
|
529
771
|
explorerUrl: string;
|
|
530
772
|
maxFeeLimit: string;
|
|
531
773
|
contractCallFeeLimit: string;
|
|
@@ -588,6 +830,9 @@ declare class Polygon extends Mainnet implements EthereumNetwork {
|
|
|
588
830
|
forwarderImplementationAddress: string;
|
|
589
831
|
walletFactoryAddress: string;
|
|
590
832
|
walletImplementationAddress: string;
|
|
833
|
+
batcherContractAddress: string;
|
|
834
|
+
nativeCoinOperationHashPrefix: string;
|
|
835
|
+
tokenOperationHashPrefix: string;
|
|
591
836
|
}
|
|
592
837
|
declare class PolygonTestnet extends Testnet implements EthereumNetwork {
|
|
593
838
|
name: string;
|
|
@@ -599,21 +844,162 @@ declare class PolygonTestnet extends Testnet implements EthereumNetwork {
|
|
|
599
844
|
forwarderImplementationAddress: string;
|
|
600
845
|
walletFactoryAddress: string;
|
|
601
846
|
walletImplementationAddress: string;
|
|
847
|
+
batcherContractAddress: string;
|
|
848
|
+
nativeCoinOperationHashPrefix: string;
|
|
849
|
+
tokenOperationHashPrefix: string;
|
|
850
|
+
}
|
|
851
|
+
declare class Optimism extends Mainnet implements EthereumNetwork {
|
|
852
|
+
name: string;
|
|
853
|
+
family: CoinFamily;
|
|
854
|
+
explorerUrl: string;
|
|
855
|
+
accountExplorerUrl: string;
|
|
856
|
+
chainId: number;
|
|
857
|
+
nativeCoinOperationHashPrefix: string;
|
|
858
|
+
tokenOperationHashPrefix: string;
|
|
859
|
+
forwarderFactoryAddress: string;
|
|
860
|
+
forwarderImplementationAddress: string;
|
|
861
|
+
walletFactoryAddress: string;
|
|
862
|
+
walletImplementationAddress: string;
|
|
863
|
+
}
|
|
864
|
+
declare class OptimismTestnet extends Testnet implements EthereumNetwork {
|
|
865
|
+
name: string;
|
|
866
|
+
family: CoinFamily;
|
|
867
|
+
explorerUrl: string;
|
|
868
|
+
accountExplorerUrl: string;
|
|
869
|
+
chainId: number;
|
|
870
|
+
nativeCoinOperationHashPrefix: string;
|
|
871
|
+
tokenOperationHashPrefix: string;
|
|
872
|
+
forwarderFactoryAddress: string;
|
|
873
|
+
forwarderImplementationAddress: string;
|
|
874
|
+
walletFactoryAddress: string;
|
|
875
|
+
walletImplementationAddress: string;
|
|
876
|
+
}
|
|
877
|
+
declare class ZkSync extends Mainnet implements EthereumNetwork {
|
|
878
|
+
name: string;
|
|
879
|
+
family: CoinFamily;
|
|
880
|
+
explorerUrl: string;
|
|
881
|
+
accountExplorerUrl: string;
|
|
882
|
+
chainId: number;
|
|
883
|
+
nativeCoinOperationHashPrefix: string;
|
|
884
|
+
tokenOperationHashPrefix: string;
|
|
885
|
+
}
|
|
886
|
+
declare class ZkSyncTestnet extends Testnet implements EthereumNetwork {
|
|
887
|
+
name: string;
|
|
888
|
+
family: CoinFamily;
|
|
889
|
+
explorerUrl: string;
|
|
890
|
+
accountExplorerUrl: string;
|
|
891
|
+
chainId: number;
|
|
892
|
+
nativeCoinOperationHashPrefix: string;
|
|
893
|
+
tokenOperationHashPrefix: string;
|
|
894
|
+
forwarderFactoryAddress: string;
|
|
895
|
+
forwarderImplementationAddress: string;
|
|
896
|
+
walletFactoryAddress: string;
|
|
897
|
+
walletImplementationAddress: string;
|
|
898
|
+
}
|
|
899
|
+
declare class Berachain extends Mainnet implements EthereumNetwork {
|
|
900
|
+
name: string;
|
|
901
|
+
family: CoinFamily;
|
|
902
|
+
explorerUrl: string;
|
|
903
|
+
accountExplorerUrl: string;
|
|
904
|
+
chainId: number;
|
|
905
|
+
nativeCoinOperationHashPrefix: string;
|
|
906
|
+
tokenOperationHashPrefix: string;
|
|
907
|
+
}
|
|
908
|
+
declare class BerachainTestnet extends Testnet implements EthereumNetwork {
|
|
909
|
+
name: string;
|
|
910
|
+
family: CoinFamily;
|
|
911
|
+
explorerUrl: string;
|
|
912
|
+
accountExplorerUrl: string;
|
|
913
|
+
chainId: number;
|
|
914
|
+
nativeCoinOperationHashPrefix: string;
|
|
915
|
+
tokenOperationHashPrefix: string;
|
|
916
|
+
forwarderFactoryAddress: string;
|
|
917
|
+
forwarderImplementationAddress: string;
|
|
918
|
+
walletFactoryAddress: string;
|
|
919
|
+
walletImplementationAddress: string;
|
|
920
|
+
batcherContractAddress: string;
|
|
921
|
+
}
|
|
922
|
+
declare class Oas extends Mainnet implements EthereumNetwork {
|
|
923
|
+
name: string;
|
|
924
|
+
family: CoinFamily;
|
|
925
|
+
explorerUrl: string;
|
|
926
|
+
accountExplorerUrl: string;
|
|
927
|
+
chainId: number;
|
|
928
|
+
nativeCoinOperationHashPrefix: string;
|
|
929
|
+
}
|
|
930
|
+
declare class OasTestnet extends Testnet implements EthereumNetwork {
|
|
931
|
+
name: string;
|
|
932
|
+
family: CoinFamily;
|
|
933
|
+
explorerUrl: string;
|
|
934
|
+
accountExplorerUrl: string;
|
|
935
|
+
chainId: number;
|
|
936
|
+
nativeCoinOperationHashPrefix: string;
|
|
937
|
+
forwarderFactoryAddress: string;
|
|
938
|
+
forwarderImplementationAddress: string;
|
|
939
|
+
}
|
|
940
|
+
declare class Coredao extends Mainnet implements EthereumNetwork {
|
|
941
|
+
name: string;
|
|
942
|
+
family: CoinFamily;
|
|
943
|
+
explorerUrl: string;
|
|
944
|
+
accountExplorerUrl: string;
|
|
945
|
+
chainId: number;
|
|
946
|
+
nativeCoinOperationHashPrefix: string;
|
|
947
|
+
}
|
|
948
|
+
declare class CoredaoTestnet extends Testnet implements EthereumNetwork {
|
|
949
|
+
name: string;
|
|
950
|
+
family: CoinFamily;
|
|
951
|
+
explorerUrl: string;
|
|
952
|
+
accountExplorerUrl: string;
|
|
953
|
+
chainId: number;
|
|
954
|
+
nativeCoinOperationHashPrefix: string;
|
|
955
|
+
}
|
|
956
|
+
declare class BaseChainTestnet extends Testnet implements EthereumNetwork {
|
|
957
|
+
name: string;
|
|
958
|
+
family: CoinFamily;
|
|
959
|
+
explorerUrl: string;
|
|
960
|
+
accountExplorerUrl: string;
|
|
961
|
+
chainId: number;
|
|
962
|
+
nativeCoinOperationHashPrefix: string;
|
|
963
|
+
tokenOperationHashPrefix: string;
|
|
964
|
+
forwarderFactoryAddress: string;
|
|
965
|
+
forwarderImplementationAddress: string;
|
|
966
|
+
walletFactoryAddress: string;
|
|
967
|
+
walletImplementationAddress: string;
|
|
968
|
+
}
|
|
969
|
+
declare class BaseChain extends Mainnet implements EthereumNetwork {
|
|
970
|
+
name: string;
|
|
971
|
+
family: CoinFamily;
|
|
972
|
+
explorerUrl: string;
|
|
973
|
+
accountExplorerUrl: string;
|
|
974
|
+
chainId: number;
|
|
975
|
+
nativeCoinOperationHashPrefix: string;
|
|
976
|
+
tokenOperationHashPrefix: string;
|
|
977
|
+
forwarderFactoryAddress: string;
|
|
978
|
+
forwarderImplementationAddress: string;
|
|
979
|
+
walletFactoryAddress: string;
|
|
980
|
+
walletImplementationAddress: string;
|
|
602
981
|
}
|
|
603
982
|
export declare const Networks: {
|
|
604
983
|
main: {
|
|
605
984
|
ada: Readonly<Ada>;
|
|
606
985
|
algorand: Readonly<Algorand>;
|
|
986
|
+
apt: Readonly<Apt>;
|
|
987
|
+
arbitrum: Readonly<Arbitrum>;
|
|
607
988
|
atom: Readonly<Atom>;
|
|
608
989
|
avalancheC: Readonly<AvalancheC>;
|
|
609
990
|
avalancheP: Readonly<AvalancheP>;
|
|
991
|
+
basechain: Readonly<BaseChain>;
|
|
610
992
|
bitcoin: Readonly<Bitcoin>;
|
|
611
993
|
bitcoinCash: Readonly<BitcoinCash>;
|
|
612
994
|
bitcoinGold: Readonly<BitcoinGold>;
|
|
613
995
|
bitcoinSV: Readonly<BitcoinSV>;
|
|
996
|
+
bera: Readonly<Berachain>;
|
|
997
|
+
bld: Readonly<Bld>;
|
|
614
998
|
bsc: Readonly<BinanceSmartChain>;
|
|
615
999
|
casper: Readonly<Casper>;
|
|
616
1000
|
celo: Readonly<Celo>;
|
|
1001
|
+
coredao: Readonly<Coredao>;
|
|
1002
|
+
coreum: Readonly<Coreum>;
|
|
617
1003
|
dash: Readonly<Dash>;
|
|
618
1004
|
dogecoin: Readonly<Dogecoin>;
|
|
619
1005
|
dot: Readonly<Polkadot>;
|
|
@@ -624,34 +1010,57 @@ export declare const Networks: {
|
|
|
624
1010
|
ethereumClassic: Readonly<EthereumClassic>;
|
|
625
1011
|
ethereumW: Readonly<EthereumW>;
|
|
626
1012
|
fiat: Readonly<Fiat>;
|
|
1013
|
+
hash: Readonly<Hash>;
|
|
627
1014
|
hedera: Readonly<Hedera>;
|
|
1015
|
+
injective: Readonly<Injective>;
|
|
1016
|
+
islm: Readonly<Islm>;
|
|
1017
|
+
kava: Readonly<Kava>;
|
|
1018
|
+
lnbtc: Readonly<LightningBitcoin>;
|
|
628
1019
|
litecoin: Readonly<Litecoin>;
|
|
629
1020
|
polygon: Readonly<Polygon>;
|
|
1021
|
+
oas: Readonly<Oas>;
|
|
630
1022
|
ofc: Readonly<Ofc>;
|
|
1023
|
+
optimism: Readonly<Optimism>;
|
|
1024
|
+
osmo: Readonly<Osmo>;
|
|
631
1025
|
rbtc: Readonly<Rbtc>;
|
|
1026
|
+
rune: Readonly<Rune>;
|
|
632
1027
|
stellar: Readonly<Stellar>;
|
|
1028
|
+
sei: Readonly<Sei>;
|
|
633
1029
|
sol: Readonly<Sol>;
|
|
634
1030
|
sui: Readonly<Sui>;
|
|
635
1031
|
near: Readonly<Near>;
|
|
636
1032
|
stx: Readonly<Stx>;
|
|
637
1033
|
susd: Readonly<SUSD>;
|
|
1034
|
+
tia: Readonly<Tia>;
|
|
1035
|
+
ton: Readonly<Ton>;
|
|
638
1036
|
trx: Readonly<Trx>;
|
|
639
1037
|
xrp: Readonly<Xrp>;
|
|
640
1038
|
xtz: Readonly<Xtz>;
|
|
641
1039
|
zCash: Readonly<ZCash>;
|
|
1040
|
+
zeta: Readonly<Zeta>;
|
|
1041
|
+
zkSync: Readonly<ZkSync>;
|
|
642
1042
|
};
|
|
643
1043
|
test: {
|
|
644
1044
|
ada: Readonly<AdaTestnet>;
|
|
645
1045
|
algorand: Readonly<AlgorandTestnet>;
|
|
1046
|
+
apt: Readonly<AptTestnet>;
|
|
1047
|
+
arbitrum: Readonly<ArbitrumTestnet>;
|
|
646
1048
|
atom: Readonly<AtomTestnet>;
|
|
647
1049
|
avalancheC: Readonly<AvalancheCTestnet>;
|
|
648
1050
|
avalancheP: Readonly<AvalanchePTestnet>;
|
|
1051
|
+
basechain: Readonly<BaseChainTestnet>;
|
|
649
1052
|
bitcoin: Readonly<BitcoinTestnet>;
|
|
1053
|
+
bitcoinPublicSignet: Readonly<BitcoinPublicSignet>;
|
|
1054
|
+
bitcoinTestnet4: Readonly<BitcoinTestnet4>;
|
|
1055
|
+
bitcoinBitGoSignet: Readonly<BitcoinBitGoSignet>;
|
|
650
1056
|
bitcoinCash: Readonly<BitcoinCashTestnet>;
|
|
651
1057
|
bitcoinGold: Readonly<BitcoinGoldTestnet>;
|
|
652
1058
|
bitcoinSV: Readonly<BitcoinSVTestnet>;
|
|
1059
|
+
bera: Readonly<BerachainTestnet>;
|
|
1060
|
+
bld: Readonly<BldTestnet>;
|
|
653
1061
|
bsc: Readonly<BinanceSmartChainTestnet>;
|
|
654
1062
|
casper: Readonly<CasperTestnet>;
|
|
1063
|
+
coredao: Readonly<CoredaoTestnet>;
|
|
655
1064
|
celo: Readonly<CeloTestnet>;
|
|
656
1065
|
dash: Readonly<DashTestnet>;
|
|
657
1066
|
dogecoin: Readonly<DogecoinTestnet>;
|
|
@@ -661,23 +1070,39 @@ export declare const Networks: {
|
|
|
661
1070
|
fiat: Readonly<FiatTestnet>;
|
|
662
1071
|
pyrmont: Readonly<Pyrmont>;
|
|
663
1072
|
ethereumClassicTestnet: Readonly<EthereumClassicTestnet>;
|
|
1073
|
+
hash: Readonly<HashTestnet>;
|
|
664
1074
|
hedera: Readonly<HederaTestnet>;
|
|
1075
|
+
injective: Readonly<InjectiveTestnet>;
|
|
1076
|
+
islm: Readonly<IslmTestnet>;
|
|
1077
|
+
kava: Readonly<KavaTestnet>;
|
|
665
1078
|
kovan: Readonly<Kovan>;
|
|
666
1079
|
goerli: Readonly<Goerli>;
|
|
1080
|
+
holesky: Readonly<Holesky>;
|
|
1081
|
+
lnbtc: Readonly<LightningBitcoinTestnet>;
|
|
667
1082
|
litecoin: Readonly<LitecoinTestnet>;
|
|
668
1083
|
polygon: Readonly<PolygonTestnet>;
|
|
1084
|
+
oas: Readonly<OasTestnet>;
|
|
669
1085
|
ofc: Readonly<OfcTestnet>;
|
|
1086
|
+
optimism: Readonly<OptimismTestnet>;
|
|
1087
|
+
osmo: Readonly<OsmoTestnet>;
|
|
670
1088
|
rbtc: Readonly<RbtcTestnet>;
|
|
1089
|
+
rune: Readonly<RuneTestNet>;
|
|
671
1090
|
stellar: Readonly<StellarTestnet>;
|
|
1091
|
+
sei: Readonly<SeiTestnet>;
|
|
672
1092
|
sol: Readonly<SolTestnet>;
|
|
673
1093
|
sui: Readonly<SuiTestnet>;
|
|
674
1094
|
near: Readonly<NearTestnet>;
|
|
675
1095
|
stx: Readonly<StxTestnet>;
|
|
676
1096
|
susd: Readonly<SUSDTestnet>;
|
|
1097
|
+
coreum: Readonly<CoreumTestnet>;
|
|
1098
|
+
tia: Readonly<TiaTestnet>;
|
|
1099
|
+
ton: Readonly<TonTestnet>;
|
|
677
1100
|
trx: Readonly<TrxTestnet>;
|
|
678
1101
|
xrp: Readonly<XrpTestnet>;
|
|
679
1102
|
xtz: Readonly<XtzTestnet>;
|
|
680
1103
|
zCash: Readonly<ZCashTestnet>;
|
|
1104
|
+
zeta: Readonly<ZetaTestnet>;
|
|
1105
|
+
zkSync: Readonly<ZkSyncTestnet>;
|
|
681
1106
|
};
|
|
682
1107
|
};
|
|
683
1108
|
export {};
|