File tree Expand file tree Collapse file tree 20 files changed +39
-40
lines changed
modules/abstract-utxo/src/impl Expand file tree Collapse file tree 20 files changed +39
-40
lines changed Original file line number Diff line number Diff line change 1- import { BitGoBase , BaseCoin } from '@bitgo/sdk-core' ;
1+ import { BitGoBase } from '@bitgo/sdk-core' ;
22import * as utxolib from '@bitgo/utxo-lib' ;
33
44import { AbstractUtxoCoin , UtxoNetwork } from '../../abstractUtxoCoin' ;
@@ -8,7 +8,7 @@ export class Bch extends AbstractUtxoCoin {
88 super ( bitgo , network || utxolib . networks . bitcoincash ) ;
99 }
1010
11- static createInstance ( bitgo : BitGoBase ) : BaseCoin {
11+ static createInstance ( bitgo : BitGoBase ) : Bch {
1212 return new Bch ( bitgo ) ;
1313 }
1414
Original file line number Diff line number Diff line change 11/**
22 * @prettier
33 */
4- import { BaseCoin , BitGoBase } from '@bitgo/sdk-core' ;
4+ import { BitGoBase } from '@bitgo/sdk-core' ;
55import * as bitcoin from '@bitgo/utxo-lib' ;
66
77import { Bch } from './bch' ;
@@ -11,7 +11,7 @@ export class Tbch extends Bch {
1111 super ( bitgo , bitcoin . networks . bitcoincashTestnet ) ;
1212 }
1313
14- static createInstance ( bitgo : BitGoBase ) : BaseCoin {
14+ static createInstance ( bitgo : BitGoBase ) : Tbch {
1515 return new Tbch ( bitgo ) ;
1616 }
1717}
Original file line number Diff line number Diff line change 1- import { BitGoBase , BaseCoin } from '@bitgo/sdk-core' ;
1+ import { BitGoBase } from '@bitgo/sdk-core' ;
22import * as utxolib from '@bitgo/utxo-lib' ;
33
44import { Bch } from '../bch/bch' ;
@@ -9,7 +9,7 @@ export class Bcha extends Bch {
99 super ( bitgo , network || utxolib . networks . ecash ) ;
1010 }
1111
12- static createInstance ( bitgo : BitGoBase ) : BaseCoin {
12+ static createInstance ( bitgo : BitGoBase ) : Bcha {
1313 return new Bcha ( bitgo ) ;
1414 }
1515
Original file line number Diff line number Diff line change 11/**
22 * @prettier
33 */
4- import { BitGoBase , BaseCoin } from '@bitgo/sdk-core' ;
4+ import { BitGoBase } from '@bitgo/sdk-core' ;
55import * as utxolib from '@bitgo/utxo-lib' ;
66
77import { Bcha } from './bcha' ;
@@ -11,7 +11,7 @@ export class Tbcha extends Bcha {
1111 super ( bitgo , utxolib . networks . ecashTest ) ;
1212 }
1313
14- static createInstance ( bitgo : BitGoBase ) : BaseCoin {
14+ static createInstance ( bitgo : BitGoBase ) : Tbcha {
1515 return new Tbcha ( bitgo ) ;
1616 }
1717}
Original file line number Diff line number Diff line change 1- import { BitGoBase , BaseCoin } from '@bitgo/sdk-core' ;
1+ import { BitGoBase } from '@bitgo/sdk-core' ;
22import * as utxolib from '@bitgo/utxo-lib' ;
33
44import { UtxoNetwork } from '../../abstractUtxoCoin' ;
@@ -9,7 +9,7 @@ export class Bsv extends Bch {
99 super ( bitgo , network || utxolib . networks . bitcoinsv ) ;
1010 }
1111
12- static createInstance ( bitgo : BitGoBase ) : BaseCoin {
12+ static createInstance ( bitgo : BitGoBase ) : Bsv {
1313 return new Bsv ( bitgo ) ;
1414 }
1515}
Original file line number Diff line number Diff line change 11/**
22 * @prettier
33 */
4- import { BitGoBase , BaseCoin } from '@bitgo/sdk-core' ;
4+ import { BitGoBase } from '@bitgo/sdk-core' ;
55import * as utxolib from '@bitgo/utxo-lib' ;
66
77import { Bsv } from './bsv' ;
@@ -11,7 +11,7 @@ export class Tbsv extends Bsv {
1111 super ( bitgo , utxolib . networks . bitcoinsvTestnet ) ;
1212 }
1313
14- static createInstance ( bitgo : BitGoBase ) : BaseCoin {
14+ static createInstance ( bitgo : BitGoBase ) : Tbsv {
1515 return new Tbsv ( bitgo ) ;
1616 }
1717}
Original file line number Diff line number Diff line change 11import {
22 BitGoBase ,
3- BaseCoin ,
43 VerifyRecoveryTransactionOptions as BaseVerifyRecoveryTransactionOptions ,
54 Wallet ,
65} from '@bitgo/sdk-core' ;
@@ -19,7 +18,7 @@ export class Btc extends AbstractUtxoCoin {
1918 super ( bitgo , network || utxolib . networks . bitcoin ) ;
2019 }
2120
22- static createInstance ( bitgo : BitGoBase ) : BaseCoin {
21+ static createInstance ( bitgo : BitGoBase ) : Btc {
2322 return new Btc ( bitgo ) ;
2423 }
2524
Original file line number Diff line number Diff line change 11/**
22 * @prettier
33 */
4- import { BaseCoin , BitGoBase } from '@bitgo/sdk-core' ;
4+ import { BitGoBase } from '@bitgo/sdk-core' ;
55import * as utxolib from '@bitgo/utxo-lib' ;
66
77import { Btc } from './btc' ;
@@ -11,7 +11,7 @@ export class Tbtc extends Btc {
1111 super ( bitgo , utxolib . networks . testnet ) ;
1212 }
1313
14- static createInstance ( bitgo : BitGoBase ) : BaseCoin {
14+ static createInstance ( bitgo : BitGoBase ) : Tbtc {
1515 return new Tbtc ( bitgo ) ;
1616 }
1717}
Original file line number Diff line number Diff line change 11/**
22 * @prettier
33 */
4- import { BaseCoin , BitGoBase } from '@bitgo/sdk-core' ;
4+ import { BitGoBase } from '@bitgo/sdk-core' ;
55import * as utxolib from '@bitgo/utxo-lib' ;
66
77import { Btc } from './btc' ;
@@ -11,7 +11,7 @@ export class Tbtc4 extends Btc {
1111 super ( bitgo , utxolib . networks . bitcoinTestnet4 ) ;
1212 }
1313
14- static createInstance ( bitgo : BitGoBase ) : BaseCoin {
14+ static createInstance ( bitgo : BitGoBase ) : Tbtc4 {
1515 return new Tbtc4 ( bitgo ) ;
1616 }
1717}
Original file line number Diff line number Diff line change 11/**
22 * @prettier
33 */
4- import { BaseCoin , BitGoBase } from '@bitgo/sdk-core' ;
4+ import { BitGoBase } from '@bitgo/sdk-core' ;
55import * as utxolib from '@bitgo/utxo-lib' ;
66
77import { Btc } from './btc' ;
@@ -11,7 +11,7 @@ export class Tbtcbgsig extends Btc {
1111 super ( bitgo , utxolib . networks . bitcoinBitGoSignet ) ;
1212 }
1313
14- static createInstance ( bitgo : BitGoBase ) : BaseCoin {
14+ static createInstance ( bitgo : BitGoBase ) : Tbtcbgsig {
1515 return new Tbtcbgsig ( bitgo ) ;
1616 }
1717}
You can’t perform that action at this time.
0 commit comments