@bitgo-beta/statics 10.0.1-alpha.24 → 10.0.1-alpha.241
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 +2546 -0
- package/dist/src/account.d.ts +260 -4
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +440 -42
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +6 -3
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +6 -3
- package/dist/src/base.d.ts +1183 -28
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1236 -45
- 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.map +1 -1
- package/dist/src/coins.js +2928 -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/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 +439 -4
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +610 -50
- 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 +60 -12
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +130 -7
- package/dist/src/utxo.d.ts +3 -1
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +76 -3
- 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;
|
|
370
467
|
chainId: number;
|
|
371
468
|
batcherContractAddress: string;
|
|
372
469
|
forwarderFactoryAddress: string;
|
|
373
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;
|
|
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,172 @@ 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
|
+
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;
|
|
602
991
|
}
|
|
603
992
|
export declare const Networks: {
|
|
604
993
|
main: {
|
|
605
994
|
ada: Readonly<Ada>;
|
|
606
995
|
algorand: Readonly<Algorand>;
|
|
996
|
+
apt: Readonly<Apt>;
|
|
997
|
+
arbitrum: Readonly<Arbitrum>;
|
|
607
998
|
atom: Readonly<Atom>;
|
|
608
999
|
avalancheC: Readonly<AvalancheC>;
|
|
609
1000
|
avalancheP: Readonly<AvalancheP>;
|
|
1001
|
+
basechain: Readonly<BaseChain>;
|
|
610
1002
|
bitcoin: Readonly<Bitcoin>;
|
|
611
1003
|
bitcoinCash: Readonly<BitcoinCash>;
|
|
612
1004
|
bitcoinGold: Readonly<BitcoinGold>;
|
|
613
1005
|
bitcoinSV: Readonly<BitcoinSV>;
|
|
1006
|
+
bera: Readonly<Berachain>;
|
|
1007
|
+
bld: Readonly<Bld>;
|
|
614
1008
|
bsc: Readonly<BinanceSmartChain>;
|
|
615
1009
|
casper: Readonly<Casper>;
|
|
616
1010
|
celo: Readonly<Celo>;
|
|
1011
|
+
coredao: Readonly<Coredao>;
|
|
1012
|
+
coreum: Readonly<Coreum>;
|
|
617
1013
|
dash: Readonly<Dash>;
|
|
618
1014
|
dogecoin: Readonly<Dogecoin>;
|
|
619
1015
|
dot: Readonly<Polkadot>;
|
|
@@ -624,34 +1020,57 @@ export declare const Networks: {
|
|
|
624
1020
|
ethereumClassic: Readonly<EthereumClassic>;
|
|
625
1021
|
ethereumW: Readonly<EthereumW>;
|
|
626
1022
|
fiat: Readonly<Fiat>;
|
|
1023
|
+
hash: Readonly<Hash>;
|
|
627
1024
|
hedera: Readonly<Hedera>;
|
|
1025
|
+
injective: Readonly<Injective>;
|
|
1026
|
+
islm: Readonly<Islm>;
|
|
1027
|
+
kava: Readonly<Kava>;
|
|
1028
|
+
lnbtc: Readonly<LightningBitcoin>;
|
|
628
1029
|
litecoin: Readonly<Litecoin>;
|
|
629
1030
|
polygon: Readonly<Polygon>;
|
|
1031
|
+
oas: Readonly<Oas>;
|
|
630
1032
|
ofc: Readonly<Ofc>;
|
|
1033
|
+
optimism: Readonly<Optimism>;
|
|
1034
|
+
osmo: Readonly<Osmo>;
|
|
631
1035
|
rbtc: Readonly<Rbtc>;
|
|
1036
|
+
rune: Readonly<Rune>;
|
|
632
1037
|
stellar: Readonly<Stellar>;
|
|
1038
|
+
sei: Readonly<Sei>;
|
|
633
1039
|
sol: Readonly<Sol>;
|
|
634
1040
|
sui: Readonly<Sui>;
|
|
635
1041
|
near: Readonly<Near>;
|
|
636
1042
|
stx: Readonly<Stx>;
|
|
637
1043
|
susd: Readonly<SUSD>;
|
|
1044
|
+
tia: Readonly<Tia>;
|
|
1045
|
+
ton: Readonly<Ton>;
|
|
638
1046
|
trx: Readonly<Trx>;
|
|
639
1047
|
xrp: Readonly<Xrp>;
|
|
640
1048
|
xtz: Readonly<Xtz>;
|
|
641
1049
|
zCash: Readonly<ZCash>;
|
|
1050
|
+
zeta: Readonly<Zeta>;
|
|
1051
|
+
zkSync: Readonly<ZkSync>;
|
|
642
1052
|
};
|
|
643
1053
|
test: {
|
|
644
1054
|
ada: Readonly<AdaTestnet>;
|
|
645
1055
|
algorand: Readonly<AlgorandTestnet>;
|
|
1056
|
+
apt: Readonly<AptTestnet>;
|
|
1057
|
+
arbitrum: Readonly<ArbitrumTestnet>;
|
|
646
1058
|
atom: Readonly<AtomTestnet>;
|
|
647
1059
|
avalancheC: Readonly<AvalancheCTestnet>;
|
|
648
1060
|
avalancheP: Readonly<AvalanchePTestnet>;
|
|
1061
|
+
basechain: Readonly<BaseChainTestnet>;
|
|
649
1062
|
bitcoin: Readonly<BitcoinTestnet>;
|
|
1063
|
+
bitcoinPublicSignet: Readonly<BitcoinPublicSignet>;
|
|
1064
|
+
bitcoinTestnet4: Readonly<BitcoinTestnet4>;
|
|
1065
|
+
bitcoinBitGoSignet: Readonly<BitcoinBitGoSignet>;
|
|
650
1066
|
bitcoinCash: Readonly<BitcoinCashTestnet>;
|
|
651
1067
|
bitcoinGold: Readonly<BitcoinGoldTestnet>;
|
|
652
1068
|
bitcoinSV: Readonly<BitcoinSVTestnet>;
|
|
1069
|
+
bera: Readonly<BerachainTestnet>;
|
|
1070
|
+
bld: Readonly<BldTestnet>;
|
|
653
1071
|
bsc: Readonly<BinanceSmartChainTestnet>;
|
|
654
1072
|
casper: Readonly<CasperTestnet>;
|
|
1073
|
+
coredao: Readonly<CoredaoTestnet>;
|
|
655
1074
|
celo: Readonly<CeloTestnet>;
|
|
656
1075
|
dash: Readonly<DashTestnet>;
|
|
657
1076
|
dogecoin: Readonly<DogecoinTestnet>;
|
|
@@ -661,23 +1080,39 @@ export declare const Networks: {
|
|
|
661
1080
|
fiat: Readonly<FiatTestnet>;
|
|
662
1081
|
pyrmont: Readonly<Pyrmont>;
|
|
663
1082
|
ethereumClassicTestnet: Readonly<EthereumClassicTestnet>;
|
|
1083
|
+
hash: Readonly<HashTestnet>;
|
|
664
1084
|
hedera: Readonly<HederaTestnet>;
|
|
1085
|
+
injective: Readonly<InjectiveTestnet>;
|
|
1086
|
+
islm: Readonly<IslmTestnet>;
|
|
1087
|
+
kava: Readonly<KavaTestnet>;
|
|
665
1088
|
kovan: Readonly<Kovan>;
|
|
666
1089
|
goerli: Readonly<Goerli>;
|
|
1090
|
+
holesky: Readonly<Holesky>;
|
|
1091
|
+
lnbtc: Readonly<LightningBitcoinTestnet>;
|
|
667
1092
|
litecoin: Readonly<LitecoinTestnet>;
|
|
668
1093
|
polygon: Readonly<PolygonTestnet>;
|
|
1094
|
+
oas: Readonly<OasTestnet>;
|
|
669
1095
|
ofc: Readonly<OfcTestnet>;
|
|
1096
|
+
optimism: Readonly<OptimismTestnet>;
|
|
1097
|
+
osmo: Readonly<OsmoTestnet>;
|
|
670
1098
|
rbtc: Readonly<RbtcTestnet>;
|
|
1099
|
+
rune: Readonly<RuneTestNet>;
|
|
671
1100
|
stellar: Readonly<StellarTestnet>;
|
|
1101
|
+
sei: Readonly<SeiTestnet>;
|
|
672
1102
|
sol: Readonly<SolTestnet>;
|
|
673
1103
|
sui: Readonly<SuiTestnet>;
|
|
674
1104
|
near: Readonly<NearTestnet>;
|
|
675
1105
|
stx: Readonly<StxTestnet>;
|
|
676
1106
|
susd: Readonly<SUSDTestnet>;
|
|
1107
|
+
coreum: Readonly<CoreumTestnet>;
|
|
1108
|
+
tia: Readonly<TiaTestnet>;
|
|
1109
|
+
ton: Readonly<TonTestnet>;
|
|
677
1110
|
trx: Readonly<TrxTestnet>;
|
|
678
1111
|
xrp: Readonly<XrpTestnet>;
|
|
679
1112
|
xtz: Readonly<XtzTestnet>;
|
|
680
1113
|
zCash: Readonly<ZCashTestnet>;
|
|
1114
|
+
zeta: Readonly<ZetaTestnet>;
|
|
1115
|
+
zkSync: Readonly<ZkSyncTestnet>;
|
|
681
1116
|
};
|
|
682
1117
|
};
|
|
683
1118
|
export {};
|