@bitgo-beta/statics 15.1.1-beta.63 → 15.1.1-beta.630
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 +2447 -0
- package/dist/src/account.d.ts +209 -9
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +365 -69
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +5 -3
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +4 -3
- package/dist/src/base.d.ts +1142 -43
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1181 -58
- package/dist/src/coins/erc20Coins.d.ts +2 -0
- package/dist/src/coins/erc20Coins.d.ts.map +1 -0
- package/dist/src/coins/erc20Coins.js +13 -0
- package/dist/src/coins.d.ts +0 -1
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +2849 -1359
- 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 +359 -9
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +486 -53
- package/dist/src/ofc.d.ts +240 -0
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +506 -14
- package/dist/src/tokenConfig.d.ts +48 -17
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +109 -26
- package/dist/src/utxo.d.ts +3 -1
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +75 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -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,14 +48,16 @@ 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;
|
|
@@ -60,6 +70,8 @@ export interface EthereumNetwork extends AccountNetwork {
|
|
|
60
70
|
readonly batcherContractAddress?: string;
|
|
61
71
|
readonly forwarderFactoryAddress?: string;
|
|
62
72
|
readonly forwarderImplementationAddress?: string;
|
|
73
|
+
readonly nativeCoinOperationHashPrefix?: string;
|
|
74
|
+
readonly tokenOperationHashPrefix?: string;
|
|
63
75
|
}
|
|
64
76
|
export interface TronNetwork extends AccountNetwork {
|
|
65
77
|
maxFeeLimit: string;
|
|
@@ -109,6 +121,42 @@ declare class AdaTestnet extends Testnet implements AdaNetwork {
|
|
|
109
121
|
poolDeposit: number;
|
|
110
122
|
stakeKeyDeposit: number;
|
|
111
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
|
+
}
|
|
112
160
|
declare class AvalancheC extends Mainnet implements AccountNetwork {
|
|
113
161
|
name: string;
|
|
114
162
|
family: CoinFamily;
|
|
@@ -136,6 +184,7 @@ declare class AvalancheP extends Mainnet implements AvalancheNetwork {
|
|
|
136
184
|
alias: string;
|
|
137
185
|
vm: string;
|
|
138
186
|
txFee: string;
|
|
187
|
+
maxImportFee: string;
|
|
139
188
|
createSubnetTx: string;
|
|
140
189
|
createChainTx: string;
|
|
141
190
|
creationTxFee: string;
|
|
@@ -161,6 +210,7 @@ declare class AvalanchePTestnet extends Testnet implements AvalancheNetwork {
|
|
|
161
210
|
hrp: string;
|
|
162
211
|
vm: string;
|
|
163
212
|
txFee: string;
|
|
213
|
+
maxImportFee: string;
|
|
164
214
|
createSubnetTx: string;
|
|
165
215
|
createChainTx: string;
|
|
166
216
|
creationTxFee: string;
|
|
@@ -179,6 +229,9 @@ declare class BinanceSmartChain extends Mainnet implements EthereumNetwork {
|
|
|
179
229
|
explorerUrl: string;
|
|
180
230
|
accountExplorerUrl: string;
|
|
181
231
|
chainId: number;
|
|
232
|
+
nativeCoinOperationHashPrefix: string;
|
|
233
|
+
tokenOperationHashPrefix: string;
|
|
234
|
+
batcherContractAddress: string;
|
|
182
235
|
}
|
|
183
236
|
declare class BinanceSmartChainTestnet extends Testnet implements EthereumNetwork {
|
|
184
237
|
name: string;
|
|
@@ -186,20 +239,23 @@ declare class BinanceSmartChainTestnet extends Testnet implements EthereumNetwor
|
|
|
186
239
|
explorerUrl: string;
|
|
187
240
|
accountExplorerUrl: string;
|
|
188
241
|
chainId: number;
|
|
242
|
+
nativeCoinOperationHashPrefix: string;
|
|
243
|
+
tokenOperationHashPrefix: string;
|
|
244
|
+
batcherContractAddress: string;
|
|
189
245
|
}
|
|
190
|
-
declare class
|
|
246
|
+
declare class LightningBitcoin extends Mainnet implements LightningNetwork {
|
|
191
247
|
name: string;
|
|
192
248
|
family: CoinFamily;
|
|
249
|
+
utxolibName: string;
|
|
193
250
|
explorerUrl: string;
|
|
194
|
-
|
|
195
|
-
chainId: number;
|
|
251
|
+
lightningServicePubKey: string;
|
|
196
252
|
}
|
|
197
|
-
declare class
|
|
253
|
+
declare class LightningBitcoinTestnet extends Testnet implements LightningNetwork {
|
|
198
254
|
name: string;
|
|
199
255
|
family: CoinFamily;
|
|
256
|
+
utxolibName: string;
|
|
200
257
|
explorerUrl: string;
|
|
201
|
-
|
|
202
|
-
chainId: number;
|
|
258
|
+
lightningServicePubKey: string;
|
|
203
259
|
}
|
|
204
260
|
declare class Bitcoin extends Mainnet implements UtxoNetwork {
|
|
205
261
|
name: string;
|
|
@@ -213,6 +269,24 @@ declare class BitcoinTestnet extends Testnet implements UtxoNetwork {
|
|
|
213
269
|
utxolibName: string;
|
|
214
270
|
explorerUrl: string;
|
|
215
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
|
+
}
|
|
216
290
|
declare class BitcoinCash extends Mainnet implements UtxoNetwork {
|
|
217
291
|
name: string;
|
|
218
292
|
family: CoinFamily;
|
|
@@ -311,6 +385,8 @@ declare class Celo extends Mainnet implements EthereumNetwork {
|
|
|
311
385
|
explorerUrl: string;
|
|
312
386
|
accountExplorerUrl: string;
|
|
313
387
|
chainId: number;
|
|
388
|
+
nativeCoinOperationHashPrefix: string;
|
|
389
|
+
tokenOperationHashPrefix: string;
|
|
314
390
|
}
|
|
315
391
|
declare class CeloTestnet extends Testnet implements EthereumNetwork {
|
|
316
392
|
name: string;
|
|
@@ -318,6 +394,8 @@ declare class CeloTestnet extends Testnet implements EthereumNetwork {
|
|
|
318
394
|
explorerUrl: string;
|
|
319
395
|
accountExplorerUrl: string;
|
|
320
396
|
chainId: number;
|
|
397
|
+
nativeCoinOperationHashPrefix: string;
|
|
398
|
+
tokenOperationHashPrefix: string;
|
|
321
399
|
}
|
|
322
400
|
declare class Casper extends Mainnet implements AccountNetwork {
|
|
323
401
|
name: string;
|
|
@@ -336,10 +414,13 @@ declare class Ethereum extends Mainnet implements EthereumNetwork {
|
|
|
336
414
|
family: CoinFamily;
|
|
337
415
|
explorerUrl: string;
|
|
338
416
|
accountExplorerUrl: string;
|
|
417
|
+
blockExplorerUrl: string;
|
|
339
418
|
chainId: number;
|
|
340
419
|
batcherContractAddress: string;
|
|
341
420
|
forwarderFactoryAddress: string;
|
|
342
421
|
forwarderImplementationAddress: string;
|
|
422
|
+
nativeCoinOperationHashPrefix: string;
|
|
423
|
+
tokenOperationHashPrefix: string;
|
|
343
424
|
}
|
|
344
425
|
declare class Ethereum2 extends Mainnet implements AccountNetwork {
|
|
345
426
|
name: string;
|
|
@@ -356,6 +437,8 @@ declare class EthereumW extends Mainnet implements EthereumNetwork {
|
|
|
356
437
|
batcherContractAddress: string;
|
|
357
438
|
forwarderFactoryAddress: string;
|
|
358
439
|
forwarderImplementationAddress: string;
|
|
440
|
+
nativeCoinOperationHashPrefix: string;
|
|
441
|
+
tokenOperationHashPrefix: string;
|
|
359
442
|
}
|
|
360
443
|
declare class Pyrmont extends Testnet implements AccountNetwork {
|
|
361
444
|
name: string;
|
|
@@ -372,16 +455,34 @@ declare class Kovan extends Testnet implements EthereumNetwork {
|
|
|
372
455
|
batcherContractAddress: string;
|
|
373
456
|
forwarderFactoryAddress: string;
|
|
374
457
|
forwarderImplementationAddress: string;
|
|
458
|
+
nativeCoinOperationHashPrefix: string;
|
|
459
|
+
tokenOperationHashPrefix: string;
|
|
375
460
|
}
|
|
376
461
|
declare class Goerli extends Testnet implements EthereumNetwork {
|
|
377
462
|
name: string;
|
|
378
463
|
family: CoinFamily;
|
|
379
464
|
explorerUrl: string;
|
|
380
465
|
accountExplorerUrl: string;
|
|
466
|
+
blockExplorerUrl: string;
|
|
381
467
|
chainId: number;
|
|
382
468
|
batcherContractAddress: string;
|
|
383
469
|
forwarderFactoryAddress: string;
|
|
384
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;
|
|
480
|
+
chainId: number;
|
|
481
|
+
batcherContractAddress: string;
|
|
482
|
+
forwarderFactoryAddress: string;
|
|
483
|
+
forwarderImplementationAddress: string;
|
|
484
|
+
nativeCoinOperationHashPrefix: string;
|
|
485
|
+
tokenOperationHashPrefix: string;
|
|
385
486
|
}
|
|
386
487
|
declare class EthereumClassic extends Mainnet implements EthereumNetwork {
|
|
387
488
|
name: string;
|
|
@@ -389,6 +490,8 @@ declare class EthereumClassic extends Mainnet implements EthereumNetwork {
|
|
|
389
490
|
explorerUrl: string;
|
|
390
491
|
accountExplorerUrl: string;
|
|
391
492
|
chainId: number;
|
|
493
|
+
nativeCoinOperationHashPrefix: string;
|
|
494
|
+
tokenOperationHashPrefix: string;
|
|
392
495
|
}
|
|
393
496
|
declare class EthereumClassicTestnet extends Testnet implements EthereumNetwork {
|
|
394
497
|
name: string;
|
|
@@ -396,6 +499,8 @@ declare class EthereumClassicTestnet extends Testnet implements EthereumNetwork
|
|
|
396
499
|
explorerUrl: string;
|
|
397
500
|
accountExplorerUrl: string;
|
|
398
501
|
chainId: number;
|
|
502
|
+
nativeCoinOperationHashPrefix: string;
|
|
503
|
+
tokenOperationHashPrefix: string;
|
|
399
504
|
}
|
|
400
505
|
declare class Eos extends Mainnet implements AccountNetwork {
|
|
401
506
|
name: string;
|
|
@@ -445,6 +550,8 @@ declare class Rbtc extends Mainnet implements EthereumNetwork {
|
|
|
445
550
|
explorerUrl: string;
|
|
446
551
|
accountExplorerUrl: string;
|
|
447
552
|
chainId: number;
|
|
553
|
+
nativeCoinOperationHashPrefix: string;
|
|
554
|
+
tokenOperationHashPrefix: string;
|
|
448
555
|
}
|
|
449
556
|
declare class RbtcTestnet extends Testnet implements EthereumNetwork {
|
|
450
557
|
name: string;
|
|
@@ -452,6 +559,8 @@ declare class RbtcTestnet extends Testnet implements EthereumNetwork {
|
|
|
452
559
|
explorerUrl: string;
|
|
453
560
|
accountExplorerUrl: string;
|
|
454
561
|
chainId: number;
|
|
562
|
+
nativeCoinOperationHashPrefix: string;
|
|
563
|
+
tokenOperationHashPrefix: string;
|
|
455
564
|
}
|
|
456
565
|
declare class Stellar extends Mainnet implements AccountNetwork {
|
|
457
566
|
name: string;
|
|
@@ -543,6 +652,16 @@ declare class SeiTestnet extends Testnet implements AccountNetwork {
|
|
|
543
652
|
family: CoinFamily;
|
|
544
653
|
explorerUrl: string;
|
|
545
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
|
+
}
|
|
546
665
|
declare class Injective extends Mainnet implements AccountNetwork {
|
|
547
666
|
name: string;
|
|
548
667
|
family: CoinFamily;
|
|
@@ -553,6 +672,56 @@ declare class InjectiveTestnet extends Testnet implements AccountNetwork {
|
|
|
553
672
|
family: CoinFamily;
|
|
554
673
|
explorerUrl: string;
|
|
555
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
|
+
}
|
|
556
725
|
declare class Stx extends Mainnet implements StacksNetwork {
|
|
557
726
|
name: string;
|
|
558
727
|
family: CoinFamily;
|
|
@@ -590,6 +759,7 @@ declare class Fiat extends Mainnet implements BaseNetwork {
|
|
|
590
759
|
declare class Trx extends Mainnet implements TronNetwork {
|
|
591
760
|
name: string;
|
|
592
761
|
family: CoinFamily;
|
|
762
|
+
accountExplorerUrl: string;
|
|
593
763
|
explorerUrl: string;
|
|
594
764
|
maxFeeLimit: string;
|
|
595
765
|
contractCallFeeLimit: string;
|
|
@@ -597,6 +767,7 @@ declare class Trx extends Mainnet implements TronNetwork {
|
|
|
597
767
|
declare class TrxTestnet extends Testnet implements TronNetwork {
|
|
598
768
|
name: string;
|
|
599
769
|
family: CoinFamily;
|
|
770
|
+
accountExplorerUrl: string;
|
|
600
771
|
explorerUrl: string;
|
|
601
772
|
maxFeeLimit: string;
|
|
602
773
|
contractCallFeeLimit: string;
|
|
@@ -615,11 +786,13 @@ declare class Xtz extends Mainnet implements AccountNetwork {
|
|
|
615
786
|
name: string;
|
|
616
787
|
family: CoinFamily;
|
|
617
788
|
explorerUrl: string;
|
|
789
|
+
accountExplorerUrl: string;
|
|
618
790
|
}
|
|
619
791
|
declare class XtzTestnet extends Testnet implements AccountNetwork {
|
|
620
792
|
name: string;
|
|
621
793
|
family: CoinFamily;
|
|
622
794
|
explorerUrl: string;
|
|
795
|
+
accountExplorerUrl: string;
|
|
623
796
|
}
|
|
624
797
|
declare class ZCash extends Mainnet implements UtxoNetwork {
|
|
625
798
|
name: string;
|
|
@@ -658,6 +831,8 @@ declare class Polygon extends Mainnet implements EthereumNetwork {
|
|
|
658
831
|
walletFactoryAddress: string;
|
|
659
832
|
walletImplementationAddress: string;
|
|
660
833
|
batcherContractAddress: string;
|
|
834
|
+
nativeCoinOperationHashPrefix: string;
|
|
835
|
+
tokenOperationHashPrefix: string;
|
|
661
836
|
}
|
|
662
837
|
declare class PolygonTestnet extends Testnet implements EthereumNetwork {
|
|
663
838
|
name: string;
|
|
@@ -670,23 +845,171 @@ declare class PolygonTestnet extends Testnet implements EthereumNetwork {
|
|
|
670
845
|
walletFactoryAddress: string;
|
|
671
846
|
walletImplementationAddress: string;
|
|
672
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
|
+
batcherContractAddress: string;
|
|
930
|
+
forwarderFactoryAddress: string;
|
|
931
|
+
forwarderImplementationAddress: string;
|
|
932
|
+
}
|
|
933
|
+
declare class OasTestnet extends Testnet implements EthereumNetwork {
|
|
934
|
+
name: string;
|
|
935
|
+
family: CoinFamily;
|
|
936
|
+
explorerUrl: string;
|
|
937
|
+
accountExplorerUrl: string;
|
|
938
|
+
chainId: number;
|
|
939
|
+
nativeCoinOperationHashPrefix: string;
|
|
940
|
+
batcherContractAddress: string;
|
|
941
|
+
forwarderFactoryAddress: string;
|
|
942
|
+
forwarderImplementationAddress: string;
|
|
943
|
+
}
|
|
944
|
+
declare class Coredao extends Mainnet implements EthereumNetwork {
|
|
945
|
+
name: string;
|
|
946
|
+
family: CoinFamily;
|
|
947
|
+
explorerUrl: string;
|
|
948
|
+
accountExplorerUrl: string;
|
|
949
|
+
chainId: number;
|
|
950
|
+
nativeCoinOperationHashPrefix: string;
|
|
951
|
+
batcherContractAddress: string;
|
|
952
|
+
forwarderFactoryAddress: string;
|
|
953
|
+
forwarderImplementationAddress: string;
|
|
954
|
+
}
|
|
955
|
+
declare class CoredaoTestnet extends Testnet implements EthereumNetwork {
|
|
956
|
+
name: string;
|
|
957
|
+
family: CoinFamily;
|
|
958
|
+
explorerUrl: string;
|
|
959
|
+
accountExplorerUrl: string;
|
|
960
|
+
chainId: number;
|
|
961
|
+
nativeCoinOperationHashPrefix: string;
|
|
962
|
+
batcherContractAddress: string;
|
|
963
|
+
forwarderFactoryAddress: string;
|
|
964
|
+
forwarderImplementationAddress: string;
|
|
965
|
+
}
|
|
966
|
+
declare class BaseChainTestnet extends Testnet implements EthereumNetwork {
|
|
967
|
+
name: string;
|
|
968
|
+
family: CoinFamily;
|
|
969
|
+
explorerUrl: string;
|
|
970
|
+
accountExplorerUrl: string;
|
|
971
|
+
chainId: number;
|
|
972
|
+
nativeCoinOperationHashPrefix: string;
|
|
973
|
+
tokenOperationHashPrefix: string;
|
|
974
|
+
forwarderFactoryAddress: string;
|
|
975
|
+
forwarderImplementationAddress: string;
|
|
976
|
+
walletFactoryAddress: string;
|
|
977
|
+
walletImplementationAddress: string;
|
|
978
|
+
}
|
|
979
|
+
declare class BaseChain extends Mainnet implements EthereumNetwork {
|
|
980
|
+
name: string;
|
|
981
|
+
family: CoinFamily;
|
|
982
|
+
explorerUrl: string;
|
|
983
|
+
accountExplorerUrl: string;
|
|
984
|
+
chainId: number;
|
|
985
|
+
nativeCoinOperationHashPrefix: string;
|
|
986
|
+
tokenOperationHashPrefix: string;
|
|
987
|
+
forwarderFactoryAddress: string;
|
|
988
|
+
forwarderImplementationAddress: string;
|
|
989
|
+
walletFactoryAddress: string;
|
|
990
|
+
walletImplementationAddress: string;
|
|
673
991
|
}
|
|
674
992
|
export declare const Networks: {
|
|
675
993
|
main: {
|
|
676
994
|
ada: Readonly<Ada>;
|
|
677
995
|
algorand: Readonly<Algorand>;
|
|
996
|
+
apt: Readonly<Apt>;
|
|
997
|
+
arbitrum: Readonly<Arbitrum>;
|
|
678
998
|
atom: Readonly<Atom>;
|
|
679
999
|
avalancheC: Readonly<AvalancheC>;
|
|
680
1000
|
avalancheP: Readonly<AvalancheP>;
|
|
1001
|
+
basechain: Readonly<BaseChain>;
|
|
681
1002
|
bitcoin: Readonly<Bitcoin>;
|
|
682
1003
|
bitcoinCash: Readonly<BitcoinCash>;
|
|
683
1004
|
bitcoinGold: Readonly<BitcoinGold>;
|
|
684
1005
|
bitcoinSV: Readonly<BitcoinSV>;
|
|
1006
|
+
bera: Readonly<Berachain>;
|
|
685
1007
|
bld: Readonly<Bld>;
|
|
686
1008
|
bsc: Readonly<BinanceSmartChain>;
|
|
687
|
-
bnb: Readonly<BNBSmartChain>;
|
|
688
1009
|
casper: Readonly<Casper>;
|
|
689
1010
|
celo: Readonly<Celo>;
|
|
1011
|
+
coredao: Readonly<Coredao>;
|
|
1012
|
+
coreum: Readonly<Coreum>;
|
|
690
1013
|
dash: Readonly<Dash>;
|
|
691
1014
|
dogecoin: Readonly<Dogecoin>;
|
|
692
1015
|
dot: Readonly<Polkadot>;
|
|
@@ -700,11 +1023,17 @@ export declare const Networks: {
|
|
|
700
1023
|
hash: Readonly<Hash>;
|
|
701
1024
|
hedera: Readonly<Hedera>;
|
|
702
1025
|
injective: Readonly<Injective>;
|
|
1026
|
+
islm: Readonly<Islm>;
|
|
1027
|
+
kava: Readonly<Kava>;
|
|
1028
|
+
lnbtc: Readonly<LightningBitcoin>;
|
|
703
1029
|
litecoin: Readonly<Litecoin>;
|
|
704
1030
|
polygon: Readonly<Polygon>;
|
|
1031
|
+
oas: Readonly<Oas>;
|
|
705
1032
|
ofc: Readonly<Ofc>;
|
|
1033
|
+
optimism: Readonly<Optimism>;
|
|
706
1034
|
osmo: Readonly<Osmo>;
|
|
707
1035
|
rbtc: Readonly<Rbtc>;
|
|
1036
|
+
rune: Readonly<Rune>;
|
|
708
1037
|
stellar: Readonly<Stellar>;
|
|
709
1038
|
sei: Readonly<Sei>;
|
|
710
1039
|
sol: Readonly<Sol>;
|
|
@@ -713,25 +1042,35 @@ export declare const Networks: {
|
|
|
713
1042
|
stx: Readonly<Stx>;
|
|
714
1043
|
susd: Readonly<SUSD>;
|
|
715
1044
|
tia: Readonly<Tia>;
|
|
1045
|
+
ton: Readonly<Ton>;
|
|
716
1046
|
trx: Readonly<Trx>;
|
|
717
1047
|
xrp: Readonly<Xrp>;
|
|
718
1048
|
xtz: Readonly<Xtz>;
|
|
719
1049
|
zCash: Readonly<ZCash>;
|
|
1050
|
+
zeta: Readonly<Zeta>;
|
|
1051
|
+
zkSync: Readonly<ZkSync>;
|
|
720
1052
|
};
|
|
721
1053
|
test: {
|
|
722
1054
|
ada: Readonly<AdaTestnet>;
|
|
723
1055
|
algorand: Readonly<AlgorandTestnet>;
|
|
1056
|
+
apt: Readonly<AptTestnet>;
|
|
1057
|
+
arbitrum: Readonly<ArbitrumTestnet>;
|
|
724
1058
|
atom: Readonly<AtomTestnet>;
|
|
725
1059
|
avalancheC: Readonly<AvalancheCTestnet>;
|
|
726
1060
|
avalancheP: Readonly<AvalanchePTestnet>;
|
|
1061
|
+
basechain: Readonly<BaseChainTestnet>;
|
|
727
1062
|
bitcoin: Readonly<BitcoinTestnet>;
|
|
1063
|
+
bitcoinPublicSignet: Readonly<BitcoinPublicSignet>;
|
|
1064
|
+
bitcoinTestnet4: Readonly<BitcoinTestnet4>;
|
|
1065
|
+
bitcoinBitGoSignet: Readonly<BitcoinBitGoSignet>;
|
|
728
1066
|
bitcoinCash: Readonly<BitcoinCashTestnet>;
|
|
729
1067
|
bitcoinGold: Readonly<BitcoinGoldTestnet>;
|
|
730
1068
|
bitcoinSV: Readonly<BitcoinSVTestnet>;
|
|
1069
|
+
bera: Readonly<BerachainTestnet>;
|
|
731
1070
|
bld: Readonly<BldTestnet>;
|
|
732
1071
|
bsc: Readonly<BinanceSmartChainTestnet>;
|
|
733
|
-
bnb: Readonly<BNBSmartChainTestnet>;
|
|
734
1072
|
casper: Readonly<CasperTestnet>;
|
|
1073
|
+
coredao: Readonly<CoredaoTestnet>;
|
|
735
1074
|
celo: Readonly<CeloTestnet>;
|
|
736
1075
|
dash: Readonly<DashTestnet>;
|
|
737
1076
|
dogecoin: Readonly<DogecoinTestnet>;
|
|
@@ -744,13 +1083,20 @@ export declare const Networks: {
|
|
|
744
1083
|
hash: Readonly<HashTestnet>;
|
|
745
1084
|
hedera: Readonly<HederaTestnet>;
|
|
746
1085
|
injective: Readonly<InjectiveTestnet>;
|
|
1086
|
+
islm: Readonly<IslmTestnet>;
|
|
1087
|
+
kava: Readonly<KavaTestnet>;
|
|
747
1088
|
kovan: Readonly<Kovan>;
|
|
748
1089
|
goerli: Readonly<Goerli>;
|
|
1090
|
+
holesky: Readonly<Holesky>;
|
|
1091
|
+
lnbtc: Readonly<LightningBitcoinTestnet>;
|
|
749
1092
|
litecoin: Readonly<LitecoinTestnet>;
|
|
750
1093
|
polygon: Readonly<PolygonTestnet>;
|
|
1094
|
+
oas: Readonly<OasTestnet>;
|
|
751
1095
|
ofc: Readonly<OfcTestnet>;
|
|
1096
|
+
optimism: Readonly<OptimismTestnet>;
|
|
752
1097
|
osmo: Readonly<OsmoTestnet>;
|
|
753
1098
|
rbtc: Readonly<RbtcTestnet>;
|
|
1099
|
+
rune: Readonly<RuneTestNet>;
|
|
754
1100
|
stellar: Readonly<StellarTestnet>;
|
|
755
1101
|
sei: Readonly<SeiTestnet>;
|
|
756
1102
|
sol: Readonly<SolTestnet>;
|
|
@@ -758,11 +1104,15 @@ export declare const Networks: {
|
|
|
758
1104
|
near: Readonly<NearTestnet>;
|
|
759
1105
|
stx: Readonly<StxTestnet>;
|
|
760
1106
|
susd: Readonly<SUSDTestnet>;
|
|
1107
|
+
coreum: Readonly<CoreumTestnet>;
|
|
761
1108
|
tia: Readonly<TiaTestnet>;
|
|
1109
|
+
ton: Readonly<TonTestnet>;
|
|
762
1110
|
trx: Readonly<TrxTestnet>;
|
|
763
1111
|
xrp: Readonly<XrpTestnet>;
|
|
764
1112
|
xtz: Readonly<XtzTestnet>;
|
|
765
1113
|
zCash: Readonly<ZCashTestnet>;
|
|
1114
|
+
zeta: Readonly<ZetaTestnet>;
|
|
1115
|
+
zkSync: Readonly<ZkSyncTestnet>;
|
|
766
1116
|
};
|
|
767
1117
|
};
|
|
768
1118
|
export {};
|