@bitgo-beta/statics 15.1.1-beta.73 → 15.1.1-beta.731
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 +2606 -0
- package/dist/src/account.d.ts +310 -21
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +519 -76
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +7 -3
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +6 -3
- package/dist/src/base.d.ts +1209 -35
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1250 -46
- package/dist/src/coinFeatures.d.ts +75 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +423 -0
- package/dist/src/coins/avaxTokens.d.ts +2 -0
- package/dist/src/coins/avaxTokens.d.ts.map +1 -0
- package/dist/src/coins/avaxTokens.js +92 -0
- package/dist/src/coins/bscTokens.d.ts +2 -0
- package/dist/src/coins/bscTokens.d.ts.map +1 -0
- package/dist/src/coins/bscTokens.js +135 -0
- 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 +1338 -0
- package/dist/src/coins/ofcCoins.d.ts +2 -0
- package/dist/src/coins/ofcCoins.d.ts.map +1 -0
- package/dist/src/coins/ofcCoins.js +233 -0
- package/dist/src/coins/ofcErc20Coins.d.ts +3 -0
- package/dist/src/coins/ofcErc20Coins.d.ts.map +1 -0
- package/dist/src/coins/ofcErc20Coins.js +1266 -0
- package/dist/src/coins/polygonTokens.d.ts +2 -0
- package/dist/src/coins/polygonTokens.d.ts.map +1 -0
- package/dist/src/coins/polygonTokens.js +131 -0
- package/dist/src/coins/solTokens.d.ts +2 -0
- package/dist/src/coins/solTokens.d.ts.map +1 -0
- package/dist/src/coins/solTokens.js +324 -0
- package/dist/src/coins.d.ts +0 -1
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +336 -1505
- package/dist/src/constants.d.ts +1 -0
- package/dist/src/constants.d.ts.map +1 -1
- package/dist/src/constants.js +3 -2
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +13 -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 +46 -3
- package/dist/src/networks.d.ts +486 -1
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +651 -42
- package/dist/src/ofc.d.ts +279 -0
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +583 -14
- package/dist/src/tokenConfig.d.ts +69 -13
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +136 -7
- package/dist/src/utxo.d.ts +3 -1
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +77 -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,17 @@ 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';
|
|
61
|
+
export type BittensorSpecNameType = 'kusama' | 'polkadot' | 'westend' | 'statemint' | 'statemine' | 'node-subtensor';
|
|
51
62
|
export interface DotNetwork extends AccountNetwork {
|
|
52
63
|
readonly specName: PolkadotSpecNameType;
|
|
53
64
|
readonly genesisHash: string;
|
|
@@ -60,6 +71,8 @@ export interface EthereumNetwork extends AccountNetwork {
|
|
|
60
71
|
readonly batcherContractAddress?: string;
|
|
61
72
|
readonly forwarderFactoryAddress?: string;
|
|
62
73
|
readonly forwarderImplementationAddress?: string;
|
|
74
|
+
readonly nativeCoinOperationHashPrefix?: string;
|
|
75
|
+
readonly tokenOperationHashPrefix?: string;
|
|
63
76
|
}
|
|
64
77
|
export interface TronNetwork extends AccountNetwork {
|
|
65
78
|
maxFeeLimit: string;
|
|
@@ -109,6 +122,56 @@ declare class AdaTestnet extends Testnet implements AdaNetwork {
|
|
|
109
122
|
poolDeposit: number;
|
|
110
123
|
stakeKeyDeposit: number;
|
|
111
124
|
}
|
|
125
|
+
declare class Apt extends Mainnet implements AccountNetwork {
|
|
126
|
+
name: string;
|
|
127
|
+
family: CoinFamily;
|
|
128
|
+
explorerUrl: string;
|
|
129
|
+
accountExplorerUrl: string;
|
|
130
|
+
blockExplorerUrl: string;
|
|
131
|
+
}
|
|
132
|
+
declare class AptTestnet extends Testnet implements AccountNetwork {
|
|
133
|
+
name: string;
|
|
134
|
+
family: CoinFamily;
|
|
135
|
+
explorerUrl: string;
|
|
136
|
+
accountExplorerUrl: string;
|
|
137
|
+
blockExplorerUrl: string;
|
|
138
|
+
}
|
|
139
|
+
declare class Icp extends Mainnet implements AccountNetwork {
|
|
140
|
+
name: string;
|
|
141
|
+
family: CoinFamily;
|
|
142
|
+
explorerUrl: string;
|
|
143
|
+
}
|
|
144
|
+
declare class IcpTestnet extends Testnet implements AccountNetwork {
|
|
145
|
+
name: string;
|
|
146
|
+
family: CoinFamily;
|
|
147
|
+
explorerUrl: string;
|
|
148
|
+
}
|
|
149
|
+
declare class Arbitrum extends Mainnet implements EthereumNetwork {
|
|
150
|
+
name: string;
|
|
151
|
+
family: CoinFamily;
|
|
152
|
+
explorerUrl: string;
|
|
153
|
+
accountExplorerUrl: string;
|
|
154
|
+
chainId: number;
|
|
155
|
+
nativeCoinOperationHashPrefix: string;
|
|
156
|
+
tokenOperationHashPrefix: string;
|
|
157
|
+
forwarderFactoryAddress: string;
|
|
158
|
+
forwarderImplementationAddress: string;
|
|
159
|
+
walletFactoryAddress: string;
|
|
160
|
+
walletImplementationAddress: string;
|
|
161
|
+
}
|
|
162
|
+
declare class ArbitrumTestnet extends Testnet implements EthereumNetwork {
|
|
163
|
+
name: string;
|
|
164
|
+
family: CoinFamily;
|
|
165
|
+
explorerUrl: string;
|
|
166
|
+
accountExplorerUrl: string;
|
|
167
|
+
chainId: number;
|
|
168
|
+
nativeCoinOperationHashPrefix: string;
|
|
169
|
+
tokenOperationHashPrefix: string;
|
|
170
|
+
forwarderFactoryAddress: string;
|
|
171
|
+
forwarderImplementationAddress: string;
|
|
172
|
+
walletFactoryAddress: string;
|
|
173
|
+
walletImplementationAddress: string;
|
|
174
|
+
}
|
|
112
175
|
declare class AvalancheC extends Mainnet implements AccountNetwork {
|
|
113
176
|
name: string;
|
|
114
177
|
family: CoinFamily;
|
|
@@ -136,6 +199,7 @@ declare class AvalancheP extends Mainnet implements AvalancheNetwork {
|
|
|
136
199
|
alias: string;
|
|
137
200
|
vm: string;
|
|
138
201
|
txFee: string;
|
|
202
|
+
maxImportFee: string;
|
|
139
203
|
createSubnetTx: string;
|
|
140
204
|
createChainTx: string;
|
|
141
205
|
creationTxFee: string;
|
|
@@ -161,6 +225,7 @@ declare class AvalanchePTestnet extends Testnet implements AvalancheNetwork {
|
|
|
161
225
|
hrp: string;
|
|
162
226
|
vm: string;
|
|
163
227
|
txFee: string;
|
|
228
|
+
maxImportFee: string;
|
|
164
229
|
createSubnetTx: string;
|
|
165
230
|
createChainTx: string;
|
|
166
231
|
creationTxFee: string;
|
|
@@ -179,6 +244,9 @@ declare class BinanceSmartChain extends Mainnet implements EthereumNetwork {
|
|
|
179
244
|
explorerUrl: string;
|
|
180
245
|
accountExplorerUrl: string;
|
|
181
246
|
chainId: number;
|
|
247
|
+
nativeCoinOperationHashPrefix: string;
|
|
248
|
+
tokenOperationHashPrefix: string;
|
|
249
|
+
batcherContractAddress: string;
|
|
182
250
|
}
|
|
183
251
|
declare class BinanceSmartChainTestnet extends Testnet implements EthereumNetwork {
|
|
184
252
|
name: string;
|
|
@@ -186,6 +254,23 @@ declare class BinanceSmartChainTestnet extends Testnet implements EthereumNetwor
|
|
|
186
254
|
explorerUrl: string;
|
|
187
255
|
accountExplorerUrl: string;
|
|
188
256
|
chainId: number;
|
|
257
|
+
nativeCoinOperationHashPrefix: string;
|
|
258
|
+
tokenOperationHashPrefix: string;
|
|
259
|
+
batcherContractAddress: string;
|
|
260
|
+
}
|
|
261
|
+
declare class LightningBitcoin extends Mainnet implements LightningNetwork {
|
|
262
|
+
name: string;
|
|
263
|
+
family: CoinFamily;
|
|
264
|
+
utxolibName: string;
|
|
265
|
+
explorerUrl: string;
|
|
266
|
+
lightningServicePubKey: string;
|
|
267
|
+
}
|
|
268
|
+
declare class LightningBitcoinTestnet extends Testnet implements LightningNetwork {
|
|
269
|
+
name: string;
|
|
270
|
+
family: CoinFamily;
|
|
271
|
+
utxolibName: string;
|
|
272
|
+
explorerUrl: string;
|
|
273
|
+
lightningServicePubKey: string;
|
|
189
274
|
}
|
|
190
275
|
declare class Bitcoin extends Mainnet implements UtxoNetwork {
|
|
191
276
|
name: string;
|
|
@@ -199,6 +284,24 @@ declare class BitcoinTestnet extends Testnet implements UtxoNetwork {
|
|
|
199
284
|
utxolibName: string;
|
|
200
285
|
explorerUrl: string;
|
|
201
286
|
}
|
|
287
|
+
declare class BitcoinPublicSignet extends Testnet implements UtxoNetwork {
|
|
288
|
+
name: string;
|
|
289
|
+
family: CoinFamily;
|
|
290
|
+
utxolibName: string;
|
|
291
|
+
explorerUrl: string;
|
|
292
|
+
}
|
|
293
|
+
declare class BitcoinTestnet4 extends Testnet implements UtxoNetwork {
|
|
294
|
+
name: string;
|
|
295
|
+
family: CoinFamily;
|
|
296
|
+
utxolibName: string;
|
|
297
|
+
explorerUrl: string;
|
|
298
|
+
}
|
|
299
|
+
declare class BitcoinBitGoSignet extends Testnet implements UtxoNetwork {
|
|
300
|
+
name: string;
|
|
301
|
+
family: CoinFamily;
|
|
302
|
+
utxolibName: string;
|
|
303
|
+
explorerUrl: string;
|
|
304
|
+
}
|
|
202
305
|
declare class BitcoinCash extends Mainnet implements UtxoNetwork {
|
|
203
306
|
name: string;
|
|
204
307
|
family: CoinFamily;
|
|
@@ -297,6 +400,8 @@ declare class Celo extends Mainnet implements EthereumNetwork {
|
|
|
297
400
|
explorerUrl: string;
|
|
298
401
|
accountExplorerUrl: string;
|
|
299
402
|
chainId: number;
|
|
403
|
+
nativeCoinOperationHashPrefix: string;
|
|
404
|
+
tokenOperationHashPrefix: string;
|
|
300
405
|
}
|
|
301
406
|
declare class CeloTestnet extends Testnet implements EthereumNetwork {
|
|
302
407
|
name: string;
|
|
@@ -304,6 +409,8 @@ declare class CeloTestnet extends Testnet implements EthereumNetwork {
|
|
|
304
409
|
explorerUrl: string;
|
|
305
410
|
accountExplorerUrl: string;
|
|
306
411
|
chainId: number;
|
|
412
|
+
nativeCoinOperationHashPrefix: string;
|
|
413
|
+
tokenOperationHashPrefix: string;
|
|
307
414
|
}
|
|
308
415
|
declare class Casper extends Mainnet implements AccountNetwork {
|
|
309
416
|
name: string;
|
|
@@ -322,10 +429,13 @@ declare class Ethereum extends Mainnet implements EthereumNetwork {
|
|
|
322
429
|
family: CoinFamily;
|
|
323
430
|
explorerUrl: string;
|
|
324
431
|
accountExplorerUrl: string;
|
|
432
|
+
blockExplorerUrl: string;
|
|
325
433
|
chainId: number;
|
|
326
434
|
batcherContractAddress: string;
|
|
327
435
|
forwarderFactoryAddress: string;
|
|
328
436
|
forwarderImplementationAddress: string;
|
|
437
|
+
nativeCoinOperationHashPrefix: string;
|
|
438
|
+
tokenOperationHashPrefix: string;
|
|
329
439
|
}
|
|
330
440
|
declare class Ethereum2 extends Mainnet implements AccountNetwork {
|
|
331
441
|
name: string;
|
|
@@ -342,6 +452,8 @@ declare class EthereumW extends Mainnet implements EthereumNetwork {
|
|
|
342
452
|
batcherContractAddress: string;
|
|
343
453
|
forwarderFactoryAddress: string;
|
|
344
454
|
forwarderImplementationAddress: string;
|
|
455
|
+
nativeCoinOperationHashPrefix: string;
|
|
456
|
+
tokenOperationHashPrefix: string;
|
|
345
457
|
}
|
|
346
458
|
declare class Pyrmont extends Testnet implements AccountNetwork {
|
|
347
459
|
name: string;
|
|
@@ -358,16 +470,34 @@ declare class Kovan extends Testnet implements EthereumNetwork {
|
|
|
358
470
|
batcherContractAddress: string;
|
|
359
471
|
forwarderFactoryAddress: string;
|
|
360
472
|
forwarderImplementationAddress: string;
|
|
473
|
+
nativeCoinOperationHashPrefix: string;
|
|
474
|
+
tokenOperationHashPrefix: string;
|
|
361
475
|
}
|
|
362
476
|
declare class Goerli extends Testnet implements EthereumNetwork {
|
|
363
477
|
name: string;
|
|
364
478
|
family: CoinFamily;
|
|
365
479
|
explorerUrl: string;
|
|
366
480
|
accountExplorerUrl: string;
|
|
481
|
+
blockExplorerUrl: string;
|
|
367
482
|
chainId: number;
|
|
368
483
|
batcherContractAddress: string;
|
|
369
484
|
forwarderFactoryAddress: string;
|
|
370
485
|
forwarderImplementationAddress: string;
|
|
486
|
+
nativeCoinOperationHashPrefix: string;
|
|
487
|
+
tokenOperationHashPrefix: string;
|
|
488
|
+
}
|
|
489
|
+
declare class Holesky extends Testnet implements EthereumNetwork {
|
|
490
|
+
name: string;
|
|
491
|
+
family: CoinFamily;
|
|
492
|
+
explorerUrl: string;
|
|
493
|
+
accountExplorerUrl: string;
|
|
494
|
+
blockExplorerUrl: string;
|
|
495
|
+
chainId: number;
|
|
496
|
+
batcherContractAddress: string;
|
|
497
|
+
forwarderFactoryAddress: string;
|
|
498
|
+
forwarderImplementationAddress: string;
|
|
499
|
+
nativeCoinOperationHashPrefix: string;
|
|
500
|
+
tokenOperationHashPrefix: string;
|
|
371
501
|
}
|
|
372
502
|
declare class EthereumClassic extends Mainnet implements EthereumNetwork {
|
|
373
503
|
name: string;
|
|
@@ -375,6 +505,8 @@ declare class EthereumClassic extends Mainnet implements EthereumNetwork {
|
|
|
375
505
|
explorerUrl: string;
|
|
376
506
|
accountExplorerUrl: string;
|
|
377
507
|
chainId: number;
|
|
508
|
+
nativeCoinOperationHashPrefix: string;
|
|
509
|
+
tokenOperationHashPrefix: string;
|
|
378
510
|
}
|
|
379
511
|
declare class EthereumClassicTestnet extends Testnet implements EthereumNetwork {
|
|
380
512
|
name: string;
|
|
@@ -382,6 +514,8 @@ declare class EthereumClassicTestnet extends Testnet implements EthereumNetwork
|
|
|
382
514
|
explorerUrl: string;
|
|
383
515
|
accountExplorerUrl: string;
|
|
384
516
|
chainId: number;
|
|
517
|
+
nativeCoinOperationHashPrefix: string;
|
|
518
|
+
tokenOperationHashPrefix: string;
|
|
385
519
|
}
|
|
386
520
|
declare class Eos extends Mainnet implements AccountNetwork {
|
|
387
521
|
name: string;
|
|
@@ -431,6 +565,8 @@ declare class Rbtc extends Mainnet implements EthereumNetwork {
|
|
|
431
565
|
explorerUrl: string;
|
|
432
566
|
accountExplorerUrl: string;
|
|
433
567
|
chainId: number;
|
|
568
|
+
nativeCoinOperationHashPrefix: string;
|
|
569
|
+
tokenOperationHashPrefix: string;
|
|
434
570
|
}
|
|
435
571
|
declare class RbtcTestnet extends Testnet implements EthereumNetwork {
|
|
436
572
|
name: string;
|
|
@@ -438,6 +574,8 @@ declare class RbtcTestnet extends Testnet implements EthereumNetwork {
|
|
|
438
574
|
explorerUrl: string;
|
|
439
575
|
accountExplorerUrl: string;
|
|
440
576
|
chainId: number;
|
|
577
|
+
nativeCoinOperationHashPrefix: string;
|
|
578
|
+
tokenOperationHashPrefix: string;
|
|
441
579
|
}
|
|
442
580
|
declare class Stellar extends Mainnet implements AccountNetwork {
|
|
443
581
|
name: string;
|
|
@@ -549,6 +687,66 @@ declare class InjectiveTestnet extends Testnet implements AccountNetwork {
|
|
|
549
687
|
family: CoinFamily;
|
|
550
688
|
explorerUrl: string;
|
|
551
689
|
}
|
|
690
|
+
declare class Kava extends Mainnet implements AccountNetwork {
|
|
691
|
+
name: string;
|
|
692
|
+
family: CoinFamily;
|
|
693
|
+
explorerUrl: string;
|
|
694
|
+
}
|
|
695
|
+
declare class KavaTestnet extends Testnet implements AccountNetwork {
|
|
696
|
+
name: string;
|
|
697
|
+
family: CoinFamily;
|
|
698
|
+
explorerUrl: string;
|
|
699
|
+
}
|
|
700
|
+
declare class Ton extends Mainnet implements AccountNetwork {
|
|
701
|
+
name: string;
|
|
702
|
+
family: CoinFamily;
|
|
703
|
+
explorerUrl: string;
|
|
704
|
+
}
|
|
705
|
+
declare class TonTestnet extends Testnet implements AccountNetwork {
|
|
706
|
+
name: string;
|
|
707
|
+
family: CoinFamily;
|
|
708
|
+
explorerUrl: string;
|
|
709
|
+
}
|
|
710
|
+
declare class Coreum extends Mainnet implements AccountNetwork {
|
|
711
|
+
name: string;
|
|
712
|
+
family: CoinFamily;
|
|
713
|
+
explorerUrl: string;
|
|
714
|
+
}
|
|
715
|
+
declare class CoreumTestnet extends Testnet implements AccountNetwork {
|
|
716
|
+
name: string;
|
|
717
|
+
family: CoinFamily;
|
|
718
|
+
explorerUrl: string;
|
|
719
|
+
}
|
|
720
|
+
declare class Rune extends Mainnet implements AccountNetwork {
|
|
721
|
+
name: string;
|
|
722
|
+
family: CoinFamily;
|
|
723
|
+
explorerUrl: string;
|
|
724
|
+
}
|
|
725
|
+
declare class RuneTestNet extends Testnet implements AccountNetwork {
|
|
726
|
+
name: string;
|
|
727
|
+
family: CoinFamily;
|
|
728
|
+
explorerUrl: string;
|
|
729
|
+
}
|
|
730
|
+
declare class Baby extends Mainnet implements AccountNetwork {
|
|
731
|
+
name: string;
|
|
732
|
+
family: CoinFamily;
|
|
733
|
+
explorerUrl: string;
|
|
734
|
+
}
|
|
735
|
+
declare class BabyTestnet extends Testnet implements AccountNetwork {
|
|
736
|
+
name: string;
|
|
737
|
+
family: CoinFamily;
|
|
738
|
+
explorerUrl: string;
|
|
739
|
+
}
|
|
740
|
+
declare class Islm extends Mainnet implements AccountNetwork {
|
|
741
|
+
name: string;
|
|
742
|
+
family: CoinFamily;
|
|
743
|
+
explorerUrl: string;
|
|
744
|
+
}
|
|
745
|
+
declare class IslmTestnet extends Testnet implements AccountNetwork {
|
|
746
|
+
name: string;
|
|
747
|
+
family: CoinFamily;
|
|
748
|
+
explorerUrl: string;
|
|
749
|
+
}
|
|
552
750
|
declare class Stx extends Mainnet implements StacksNetwork {
|
|
553
751
|
name: string;
|
|
554
752
|
family: CoinFamily;
|
|
@@ -583,9 +781,25 @@ declare class Fiat extends Mainnet implements BaseNetwork {
|
|
|
583
781
|
family: CoinFamily;
|
|
584
782
|
explorerUrl: undefined;
|
|
585
783
|
}
|
|
784
|
+
declare class Bittensor extends Mainnet implements AccountNetwork {
|
|
785
|
+
name: string;
|
|
786
|
+
family: CoinFamily;
|
|
787
|
+
explorerUrl: string;
|
|
788
|
+
}
|
|
789
|
+
declare class BittensorTestnet extends Testnet implements AccountNetwork {
|
|
790
|
+
name: string;
|
|
791
|
+
family: CoinFamily;
|
|
792
|
+
explorerUrl: string;
|
|
793
|
+
specName: BittensorSpecNameType;
|
|
794
|
+
genesisHash: string;
|
|
795
|
+
specVersion: number;
|
|
796
|
+
chainName: string;
|
|
797
|
+
txVersion: number;
|
|
798
|
+
}
|
|
586
799
|
declare class Trx extends Mainnet implements TronNetwork {
|
|
587
800
|
name: string;
|
|
588
801
|
family: CoinFamily;
|
|
802
|
+
accountExplorerUrl: string;
|
|
589
803
|
explorerUrl: string;
|
|
590
804
|
maxFeeLimit: string;
|
|
591
805
|
contractCallFeeLimit: string;
|
|
@@ -593,6 +807,7 @@ declare class Trx extends Mainnet implements TronNetwork {
|
|
|
593
807
|
declare class TrxTestnet extends Testnet implements TronNetwork {
|
|
594
808
|
name: string;
|
|
595
809
|
family: CoinFamily;
|
|
810
|
+
accountExplorerUrl: string;
|
|
596
811
|
explorerUrl: string;
|
|
597
812
|
maxFeeLimit: string;
|
|
598
813
|
contractCallFeeLimit: string;
|
|
@@ -611,11 +826,13 @@ declare class Xtz extends Mainnet implements AccountNetwork {
|
|
|
611
826
|
name: string;
|
|
612
827
|
family: CoinFamily;
|
|
613
828
|
explorerUrl: string;
|
|
829
|
+
accountExplorerUrl: string;
|
|
614
830
|
}
|
|
615
831
|
declare class XtzTestnet extends Testnet implements AccountNetwork {
|
|
616
832
|
name: string;
|
|
617
833
|
family: CoinFamily;
|
|
618
834
|
explorerUrl: string;
|
|
835
|
+
accountExplorerUrl: string;
|
|
619
836
|
}
|
|
620
837
|
declare class ZCash extends Mainnet implements UtxoNetwork {
|
|
621
838
|
name: string;
|
|
@@ -654,6 +871,8 @@ declare class Polygon extends Mainnet implements EthereumNetwork {
|
|
|
654
871
|
walletFactoryAddress: string;
|
|
655
872
|
walletImplementationAddress: string;
|
|
656
873
|
batcherContractAddress: string;
|
|
874
|
+
nativeCoinOperationHashPrefix: string;
|
|
875
|
+
tokenOperationHashPrefix: string;
|
|
657
876
|
}
|
|
658
877
|
declare class PolygonTestnet extends Testnet implements EthereumNetwork {
|
|
659
878
|
name: string;
|
|
@@ -666,22 +885,249 @@ declare class PolygonTestnet extends Testnet implements EthereumNetwork {
|
|
|
666
885
|
walletFactoryAddress: string;
|
|
667
886
|
walletImplementationAddress: string;
|
|
668
887
|
batcherContractAddress: string;
|
|
888
|
+
nativeCoinOperationHashPrefix: string;
|
|
889
|
+
tokenOperationHashPrefix: string;
|
|
890
|
+
}
|
|
891
|
+
declare class Optimism extends Mainnet implements EthereumNetwork {
|
|
892
|
+
name: string;
|
|
893
|
+
family: CoinFamily;
|
|
894
|
+
explorerUrl: string;
|
|
895
|
+
accountExplorerUrl: string;
|
|
896
|
+
chainId: number;
|
|
897
|
+
nativeCoinOperationHashPrefix: string;
|
|
898
|
+
tokenOperationHashPrefix: string;
|
|
899
|
+
forwarderFactoryAddress: string;
|
|
900
|
+
forwarderImplementationAddress: string;
|
|
901
|
+
walletFactoryAddress: string;
|
|
902
|
+
walletImplementationAddress: string;
|
|
903
|
+
}
|
|
904
|
+
declare class OptimismTestnet extends Testnet implements EthereumNetwork {
|
|
905
|
+
name: string;
|
|
906
|
+
family: CoinFamily;
|
|
907
|
+
explorerUrl: string;
|
|
908
|
+
accountExplorerUrl: string;
|
|
909
|
+
chainId: number;
|
|
910
|
+
nativeCoinOperationHashPrefix: string;
|
|
911
|
+
tokenOperationHashPrefix: string;
|
|
912
|
+
forwarderFactoryAddress: string;
|
|
913
|
+
forwarderImplementationAddress: string;
|
|
914
|
+
walletFactoryAddress: string;
|
|
915
|
+
walletImplementationAddress: string;
|
|
916
|
+
}
|
|
917
|
+
declare class ZkSync extends Mainnet implements EthereumNetwork {
|
|
918
|
+
name: string;
|
|
919
|
+
family: CoinFamily;
|
|
920
|
+
explorerUrl: string;
|
|
921
|
+
accountExplorerUrl: string;
|
|
922
|
+
chainId: number;
|
|
923
|
+
nativeCoinOperationHashPrefix: string;
|
|
924
|
+
tokenOperationHashPrefix: string;
|
|
925
|
+
}
|
|
926
|
+
declare class ZkSyncTestnet extends Testnet implements EthereumNetwork {
|
|
927
|
+
name: string;
|
|
928
|
+
family: CoinFamily;
|
|
929
|
+
explorerUrl: string;
|
|
930
|
+
accountExplorerUrl: string;
|
|
931
|
+
chainId: number;
|
|
932
|
+
nativeCoinOperationHashPrefix: string;
|
|
933
|
+
tokenOperationHashPrefix: string;
|
|
934
|
+
forwarderFactoryAddress: string;
|
|
935
|
+
forwarderImplementationAddress: string;
|
|
936
|
+
walletFactoryAddress: string;
|
|
937
|
+
walletImplementationAddress: string;
|
|
938
|
+
}
|
|
939
|
+
declare class Berachain extends Mainnet implements EthereumNetwork {
|
|
940
|
+
name: string;
|
|
941
|
+
family: CoinFamily;
|
|
942
|
+
explorerUrl: string;
|
|
943
|
+
accountExplorerUrl: string;
|
|
944
|
+
chainId: number;
|
|
945
|
+
nativeCoinOperationHashPrefix: string;
|
|
946
|
+
tokenOperationHashPrefix: string;
|
|
947
|
+
batcherContractAddress: string;
|
|
948
|
+
forwarderFactoryAddress: string;
|
|
949
|
+
forwarderImplementationAddress: string;
|
|
950
|
+
}
|
|
951
|
+
declare class BerachainTestnet extends Testnet implements EthereumNetwork {
|
|
952
|
+
name: string;
|
|
953
|
+
family: CoinFamily;
|
|
954
|
+
explorerUrl: string;
|
|
955
|
+
accountExplorerUrl: string;
|
|
956
|
+
chainId: number;
|
|
957
|
+
nativeCoinOperationHashPrefix: string;
|
|
958
|
+
tokenOperationHashPrefix: string;
|
|
959
|
+
batcherContractAddress: string;
|
|
960
|
+
forwarderFactoryAddress: string;
|
|
961
|
+
forwarderImplementationAddress: string;
|
|
962
|
+
}
|
|
963
|
+
declare class Oas extends Mainnet implements EthereumNetwork {
|
|
964
|
+
name: string;
|
|
965
|
+
family: CoinFamily;
|
|
966
|
+
explorerUrl: string;
|
|
967
|
+
accountExplorerUrl: string;
|
|
968
|
+
chainId: number;
|
|
969
|
+
nativeCoinOperationHashPrefix: string;
|
|
970
|
+
batcherContractAddress: string;
|
|
971
|
+
forwarderFactoryAddress: string;
|
|
972
|
+
forwarderImplementationAddress: string;
|
|
973
|
+
}
|
|
974
|
+
declare class OasTestnet extends Testnet implements EthereumNetwork {
|
|
975
|
+
name: string;
|
|
976
|
+
family: CoinFamily;
|
|
977
|
+
explorerUrl: string;
|
|
978
|
+
accountExplorerUrl: string;
|
|
979
|
+
chainId: number;
|
|
980
|
+
nativeCoinOperationHashPrefix: string;
|
|
981
|
+
batcherContractAddress: string;
|
|
982
|
+
forwarderFactoryAddress: string;
|
|
983
|
+
forwarderImplementationAddress: string;
|
|
984
|
+
}
|
|
985
|
+
declare class Coredao extends Mainnet implements EthereumNetwork {
|
|
986
|
+
name: string;
|
|
987
|
+
family: CoinFamily;
|
|
988
|
+
explorerUrl: string;
|
|
989
|
+
accountExplorerUrl: string;
|
|
990
|
+
chainId: number;
|
|
991
|
+
nativeCoinOperationHashPrefix: string;
|
|
992
|
+
batcherContractAddress: string;
|
|
993
|
+
forwarderFactoryAddress: string;
|
|
994
|
+
forwarderImplementationAddress: string;
|
|
995
|
+
}
|
|
996
|
+
declare class CoredaoTestnet extends Testnet implements EthereumNetwork {
|
|
997
|
+
name: string;
|
|
998
|
+
family: CoinFamily;
|
|
999
|
+
explorerUrl: string;
|
|
1000
|
+
accountExplorerUrl: string;
|
|
1001
|
+
chainId: number;
|
|
1002
|
+
nativeCoinOperationHashPrefix: string;
|
|
1003
|
+
batcherContractAddress: string;
|
|
1004
|
+
forwarderFactoryAddress: string;
|
|
1005
|
+
forwarderImplementationAddress: string;
|
|
1006
|
+
}
|
|
1007
|
+
declare class Xdc extends Mainnet implements EthereumNetwork {
|
|
1008
|
+
name: string;
|
|
1009
|
+
family: CoinFamily;
|
|
1010
|
+
explorerUrl: string;
|
|
1011
|
+
accountExplorerUrl: string;
|
|
1012
|
+
chainId: number;
|
|
1013
|
+
nativeCoinOperationHashPrefix: string;
|
|
1014
|
+
}
|
|
1015
|
+
declare class XdcTestnet extends Testnet implements EthereumNetwork {
|
|
1016
|
+
name: string;
|
|
1017
|
+
family: CoinFamily;
|
|
1018
|
+
explorerUrl: string;
|
|
1019
|
+
accountExplorerUrl: string;
|
|
1020
|
+
chainId: number;
|
|
1021
|
+
nativeCoinOperationHashPrefix: string;
|
|
1022
|
+
batcherContractAddress: string;
|
|
1023
|
+
forwarderFactoryAddress: string;
|
|
1024
|
+
forwarderImplementationAddress: string;
|
|
1025
|
+
}
|
|
1026
|
+
declare class Wemix extends Mainnet implements EthereumNetwork {
|
|
1027
|
+
name: string;
|
|
1028
|
+
family: CoinFamily;
|
|
1029
|
+
explorerUrl: string;
|
|
1030
|
+
accountExplorerUrl: string;
|
|
1031
|
+
chainId: number;
|
|
1032
|
+
nativeCoinOperationHashPrefix: string;
|
|
1033
|
+
}
|
|
1034
|
+
declare class WemixTestnet extends Testnet implements EthereumNetwork {
|
|
1035
|
+
name: string;
|
|
1036
|
+
family: CoinFamily;
|
|
1037
|
+
explorerUrl: string;
|
|
1038
|
+
accountExplorerUrl: string;
|
|
1039
|
+
chainId: number;
|
|
1040
|
+
nativeCoinOperationHashPrefix: string;
|
|
1041
|
+
batcherContractAddress: string;
|
|
1042
|
+
forwarderFactoryAddress: string;
|
|
1043
|
+
forwarderImplementationAddress: string;
|
|
1044
|
+
}
|
|
1045
|
+
declare class Flare extends Mainnet implements EthereumNetwork {
|
|
1046
|
+
name: string;
|
|
1047
|
+
family: CoinFamily;
|
|
1048
|
+
explorerUrl: string;
|
|
1049
|
+
accountExplorerUrl: string;
|
|
1050
|
+
chainId: number;
|
|
1051
|
+
nativeCoinOperationHashPrefix: string;
|
|
1052
|
+
}
|
|
1053
|
+
declare class FlareTestnet extends Testnet implements EthereumNetwork {
|
|
1054
|
+
name: string;
|
|
1055
|
+
family: CoinFamily;
|
|
1056
|
+
explorerUrl: string;
|
|
1057
|
+
accountExplorerUrl: string;
|
|
1058
|
+
chainId: number;
|
|
1059
|
+
nativeCoinOperationHashPrefix: string;
|
|
1060
|
+
batcherContractAddress: string;
|
|
1061
|
+
forwarderFactoryAddress: string;
|
|
1062
|
+
forwarderImplementationAddress: string;
|
|
1063
|
+
}
|
|
1064
|
+
declare class Songbird extends Mainnet implements EthereumNetwork {
|
|
1065
|
+
name: string;
|
|
1066
|
+
family: CoinFamily;
|
|
1067
|
+
explorerUrl: string;
|
|
1068
|
+
accountExplorerUrl: string;
|
|
1069
|
+
chainId: number;
|
|
1070
|
+
nativeCoinOperationHashPrefix: string;
|
|
1071
|
+
}
|
|
1072
|
+
declare class SongbirdTestnet extends Testnet implements EthereumNetwork {
|
|
1073
|
+
name: string;
|
|
1074
|
+
family: CoinFamily;
|
|
1075
|
+
explorerUrl: string;
|
|
1076
|
+
accountExplorerUrl: string;
|
|
1077
|
+
chainId: number;
|
|
1078
|
+
nativeCoinOperationHashPrefix: string;
|
|
1079
|
+
batcherContractAddress: string;
|
|
1080
|
+
forwarderFactoryAddress: string;
|
|
1081
|
+
forwarderImplementationAddress: string;
|
|
1082
|
+
}
|
|
1083
|
+
declare class BaseChainTestnet extends Testnet implements EthereumNetwork {
|
|
1084
|
+
name: string;
|
|
1085
|
+
family: CoinFamily;
|
|
1086
|
+
explorerUrl: string;
|
|
1087
|
+
accountExplorerUrl: string;
|
|
1088
|
+
chainId: number;
|
|
1089
|
+
nativeCoinOperationHashPrefix: string;
|
|
1090
|
+
tokenOperationHashPrefix: string;
|
|
1091
|
+
forwarderFactoryAddress: string;
|
|
1092
|
+
forwarderImplementationAddress: string;
|
|
1093
|
+
walletFactoryAddress: string;
|
|
1094
|
+
walletImplementationAddress: string;
|
|
1095
|
+
}
|
|
1096
|
+
declare class BaseChain extends Mainnet implements EthereumNetwork {
|
|
1097
|
+
name: string;
|
|
1098
|
+
family: CoinFamily;
|
|
1099
|
+
explorerUrl: string;
|
|
1100
|
+
accountExplorerUrl: string;
|
|
1101
|
+
chainId: number;
|
|
1102
|
+
nativeCoinOperationHashPrefix: string;
|
|
1103
|
+
tokenOperationHashPrefix: string;
|
|
1104
|
+
forwarderFactoryAddress: string;
|
|
1105
|
+
forwarderImplementationAddress: string;
|
|
1106
|
+
walletFactoryAddress: string;
|
|
1107
|
+
walletImplementationAddress: string;
|
|
669
1108
|
}
|
|
670
1109
|
export declare const Networks: {
|
|
671
1110
|
main: {
|
|
672
1111
|
ada: Readonly<Ada>;
|
|
673
1112
|
algorand: Readonly<Algorand>;
|
|
1113
|
+
apt: Readonly<Apt>;
|
|
1114
|
+
arbitrum: Readonly<Arbitrum>;
|
|
674
1115
|
atom: Readonly<Atom>;
|
|
675
1116
|
avalancheC: Readonly<AvalancheC>;
|
|
676
1117
|
avalancheP: Readonly<AvalancheP>;
|
|
1118
|
+
baby: Readonly<Baby>;
|
|
1119
|
+
basechain: Readonly<BaseChain>;
|
|
677
1120
|
bitcoin: Readonly<Bitcoin>;
|
|
678
1121
|
bitcoinCash: Readonly<BitcoinCash>;
|
|
679
1122
|
bitcoinGold: Readonly<BitcoinGold>;
|
|
680
1123
|
bitcoinSV: Readonly<BitcoinSV>;
|
|
1124
|
+
bera: Readonly<Berachain>;
|
|
681
1125
|
bld: Readonly<Bld>;
|
|
682
1126
|
bsc: Readonly<BinanceSmartChain>;
|
|
683
1127
|
casper: Readonly<Casper>;
|
|
684
1128
|
celo: Readonly<Celo>;
|
|
1129
|
+
coredao: Readonly<Coredao>;
|
|
1130
|
+
coreum: Readonly<Coreum>;
|
|
685
1131
|
dash: Readonly<Dash>;
|
|
686
1132
|
dogecoin: Readonly<Dogecoin>;
|
|
687
1133
|
dot: Readonly<Polkadot>;
|
|
@@ -692,41 +1138,64 @@ export declare const Networks: {
|
|
|
692
1138
|
ethereumClassic: Readonly<EthereumClassic>;
|
|
693
1139
|
ethereumW: Readonly<EthereumW>;
|
|
694
1140
|
fiat: Readonly<Fiat>;
|
|
1141
|
+
flr: Readonly<Flare>;
|
|
695
1142
|
hash: Readonly<Hash>;
|
|
696
1143
|
hedera: Readonly<Hedera>;
|
|
1144
|
+
icp: Readonly<Icp>;
|
|
697
1145
|
injective: Readonly<Injective>;
|
|
1146
|
+
islm: Readonly<Islm>;
|
|
1147
|
+
kava: Readonly<Kava>;
|
|
1148
|
+
lnbtc: Readonly<LightningBitcoin>;
|
|
698
1149
|
litecoin: Readonly<Litecoin>;
|
|
699
1150
|
polygon: Readonly<Polygon>;
|
|
1151
|
+
oas: Readonly<Oas>;
|
|
700
1152
|
ofc: Readonly<Ofc>;
|
|
1153
|
+
optimism: Readonly<Optimism>;
|
|
701
1154
|
osmo: Readonly<Osmo>;
|
|
702
1155
|
rbtc: Readonly<Rbtc>;
|
|
1156
|
+
rune: Readonly<Rune>;
|
|
703
1157
|
stellar: Readonly<Stellar>;
|
|
704
1158
|
sei: Readonly<Sei>;
|
|
1159
|
+
sgb: Readonly<Songbird>;
|
|
705
1160
|
sol: Readonly<Sol>;
|
|
706
1161
|
sui: Readonly<Sui>;
|
|
707
1162
|
near: Readonly<Near>;
|
|
708
1163
|
stx: Readonly<Stx>;
|
|
709
1164
|
susd: Readonly<SUSD>;
|
|
1165
|
+
tao: Readonly<Bittensor>;
|
|
710
1166
|
tia: Readonly<Tia>;
|
|
1167
|
+
ton: Readonly<Ton>;
|
|
711
1168
|
trx: Readonly<Trx>;
|
|
1169
|
+
wemix: Readonly<Wemix>;
|
|
1170
|
+
xdc: Readonly<Xdc>;
|
|
712
1171
|
xrp: Readonly<Xrp>;
|
|
713
1172
|
xtz: Readonly<Xtz>;
|
|
714
1173
|
zCash: Readonly<ZCash>;
|
|
715
1174
|
zeta: Readonly<Zeta>;
|
|
1175
|
+
zkSync: Readonly<ZkSync>;
|
|
716
1176
|
};
|
|
717
1177
|
test: {
|
|
718
1178
|
ada: Readonly<AdaTestnet>;
|
|
719
1179
|
algorand: Readonly<AlgorandTestnet>;
|
|
1180
|
+
apt: Readonly<AptTestnet>;
|
|
1181
|
+
arbitrum: Readonly<ArbitrumTestnet>;
|
|
720
1182
|
atom: Readonly<AtomTestnet>;
|
|
721
1183
|
avalancheC: Readonly<AvalancheCTestnet>;
|
|
722
1184
|
avalancheP: Readonly<AvalanchePTestnet>;
|
|
1185
|
+
baby: Readonly<BabyTestnet>;
|
|
1186
|
+
basechain: Readonly<BaseChainTestnet>;
|
|
723
1187
|
bitcoin: Readonly<BitcoinTestnet>;
|
|
1188
|
+
bitcoinPublicSignet: Readonly<BitcoinPublicSignet>;
|
|
1189
|
+
bitcoinTestnet4: Readonly<BitcoinTestnet4>;
|
|
1190
|
+
bitcoinBitGoSignet: Readonly<BitcoinBitGoSignet>;
|
|
724
1191
|
bitcoinCash: Readonly<BitcoinCashTestnet>;
|
|
725
1192
|
bitcoinGold: Readonly<BitcoinGoldTestnet>;
|
|
726
1193
|
bitcoinSV: Readonly<BitcoinSVTestnet>;
|
|
1194
|
+
bera: Readonly<BerachainTestnet>;
|
|
727
1195
|
bld: Readonly<BldTestnet>;
|
|
728
1196
|
bsc: Readonly<BinanceSmartChainTestnet>;
|
|
729
1197
|
casper: Readonly<CasperTestnet>;
|
|
1198
|
+
coredao: Readonly<CoredaoTestnet>;
|
|
730
1199
|
celo: Readonly<CeloTestnet>;
|
|
731
1200
|
dash: Readonly<DashTestnet>;
|
|
732
1201
|
dogecoin: Readonly<DogecoinTestnet>;
|
|
@@ -734,18 +1203,28 @@ export declare const Networks: {
|
|
|
734
1203
|
eCash: Readonly<ECashTestnet>;
|
|
735
1204
|
eos: Readonly<EosTestnet>;
|
|
736
1205
|
fiat: Readonly<FiatTestnet>;
|
|
1206
|
+
flr: Readonly<FlareTestnet>;
|
|
737
1207
|
pyrmont: Readonly<Pyrmont>;
|
|
738
1208
|
ethereumClassicTestnet: Readonly<EthereumClassicTestnet>;
|
|
739
1209
|
hash: Readonly<HashTestnet>;
|
|
740
1210
|
hedera: Readonly<HederaTestnet>;
|
|
1211
|
+
icp: Readonly<IcpTestnet>;
|
|
741
1212
|
injective: Readonly<InjectiveTestnet>;
|
|
1213
|
+
islm: Readonly<IslmTestnet>;
|
|
1214
|
+
kava: Readonly<KavaTestnet>;
|
|
742
1215
|
kovan: Readonly<Kovan>;
|
|
743
1216
|
goerli: Readonly<Goerli>;
|
|
1217
|
+
holesky: Readonly<Holesky>;
|
|
1218
|
+
lnbtc: Readonly<LightningBitcoinTestnet>;
|
|
744
1219
|
litecoin: Readonly<LitecoinTestnet>;
|
|
745
1220
|
polygon: Readonly<PolygonTestnet>;
|
|
1221
|
+
oas: Readonly<OasTestnet>;
|
|
746
1222
|
ofc: Readonly<OfcTestnet>;
|
|
1223
|
+
optimism: Readonly<OptimismTestnet>;
|
|
747
1224
|
osmo: Readonly<OsmoTestnet>;
|
|
748
1225
|
rbtc: Readonly<RbtcTestnet>;
|
|
1226
|
+
rune: Readonly<RuneTestNet>;
|
|
1227
|
+
sgb: Readonly<SongbirdTestnet>;
|
|
749
1228
|
stellar: Readonly<StellarTestnet>;
|
|
750
1229
|
sei: Readonly<SeiTestnet>;
|
|
751
1230
|
sol: Readonly<SolTestnet>;
|
|
@@ -753,12 +1232,18 @@ export declare const Networks: {
|
|
|
753
1232
|
near: Readonly<NearTestnet>;
|
|
754
1233
|
stx: Readonly<StxTestnet>;
|
|
755
1234
|
susd: Readonly<SUSDTestnet>;
|
|
1235
|
+
coreum: Readonly<CoreumTestnet>;
|
|
1236
|
+
tao: Readonly<BittensorTestnet>;
|
|
756
1237
|
tia: Readonly<TiaTestnet>;
|
|
1238
|
+
ton: Readonly<TonTestnet>;
|
|
757
1239
|
trx: Readonly<TrxTestnet>;
|
|
1240
|
+
wemix: Readonly<WemixTestnet>;
|
|
1241
|
+
xdc: Readonly<XdcTestnet>;
|
|
758
1242
|
xrp: Readonly<XrpTestnet>;
|
|
759
1243
|
xtz: Readonly<XtzTestnet>;
|
|
760
1244
|
zCash: Readonly<ZCashTestnet>;
|
|
761
1245
|
zeta: Readonly<ZetaTestnet>;
|
|
1246
|
+
zkSync: Readonly<ZkSyncTestnet>;
|
|
762
1247
|
};
|
|
763
1248
|
};
|
|
764
1249
|
export {};
|