Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/bch/bch.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BitGoBase, BaseCoin } from '@bitgo/sdk-core';
import { BitGoBase } from '@bitgo/sdk-core';
import * as utxolib from '@bitgo/utxo-lib';

import { AbstractUtxoCoin, UtxoNetwork } from '../../abstractUtxoCoin';
Expand All @@ -8,7 +8,7 @@ export class Bch extends AbstractUtxoCoin {
super(bitgo, network || utxolib.networks.bitcoincash);
}

static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Bch {
return new Bch(bitgo);
}

Expand Down
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/bch/tbch.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @prettier
*/
import { BaseCoin, BitGoBase } from '@bitgo/sdk-core';
import { BitGoBase } from '@bitgo/sdk-core';
import * as bitcoin from '@bitgo/utxo-lib';

import { Bch } from './bch';
Expand All @@ -11,7 +11,7 @@ export class Tbch extends Bch {
super(bitgo, bitcoin.networks.bitcoincashTestnet);
}

static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Tbch {
return new Tbch(bitgo);
}
}
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/bcha/bcha.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BitGoBase, BaseCoin } from '@bitgo/sdk-core';
import { BitGoBase } from '@bitgo/sdk-core';
import * as utxolib from '@bitgo/utxo-lib';

import { Bch } from '../bch/bch';
Expand All @@ -9,7 +9,7 @@ export class Bcha extends Bch {
super(bitgo, network || utxolib.networks.ecash);
}

static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Bcha {
return new Bcha(bitgo);
}

Expand Down
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/bcha/tbcha.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @prettier
*/
import { BitGoBase, BaseCoin } from '@bitgo/sdk-core';
import { BitGoBase } from '@bitgo/sdk-core';
import * as utxolib from '@bitgo/utxo-lib';

import { Bcha } from './bcha';
Expand All @@ -11,7 +11,7 @@ export class Tbcha extends Bcha {
super(bitgo, utxolib.networks.ecashTest);
}

static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Tbcha {
return new Tbcha(bitgo);
}
}
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/bsv/bsv.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BitGoBase, BaseCoin } from '@bitgo/sdk-core';
import { BitGoBase } from '@bitgo/sdk-core';
import * as utxolib from '@bitgo/utxo-lib';

import { UtxoNetwork } from '../../abstractUtxoCoin';
Expand All @@ -9,7 +9,7 @@ export class Bsv extends Bch {
super(bitgo, network || utxolib.networks.bitcoinsv);
}

static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Bsv {
return new Bsv(bitgo);
}
}
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/bsv/tbsv.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @prettier
*/
import { BitGoBase, BaseCoin } from '@bitgo/sdk-core';
import { BitGoBase } from '@bitgo/sdk-core';
import * as utxolib from '@bitgo/utxo-lib';

import { Bsv } from './bsv';
Expand All @@ -11,7 +11,7 @@ export class Tbsv extends Bsv {
super(bitgo, utxolib.networks.bitcoinsvTestnet);
}

static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Tbsv {
return new Tbsv(bitgo);
}
}
3 changes: 1 addition & 2 deletions modules/abstract-utxo/src/impl/btc/btc.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {
BitGoBase,
BaseCoin,
VerifyRecoveryTransactionOptions as BaseVerifyRecoveryTransactionOptions,
Wallet,
} from '@bitgo/sdk-core';
Expand All @@ -19,7 +18,7 @@ export class Btc extends AbstractUtxoCoin {
super(bitgo, network || utxolib.networks.bitcoin);
}

static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Btc {
return new Btc(bitgo);
}

Expand Down
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/btc/tbtc.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @prettier
*/
import { BaseCoin, BitGoBase } from '@bitgo/sdk-core';
import { BitGoBase } from '@bitgo/sdk-core';
import * as utxolib from '@bitgo/utxo-lib';

import { Btc } from './btc';
Expand All @@ -11,7 +11,7 @@ export class Tbtc extends Btc {
super(bitgo, utxolib.networks.testnet);
}

static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Tbtc {
return new Tbtc(bitgo);
}
}
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/btc/tbtc4.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @prettier
*/
import { BaseCoin, BitGoBase } from '@bitgo/sdk-core';
import { BitGoBase } from '@bitgo/sdk-core';
import * as utxolib from '@bitgo/utxo-lib';

import { Btc } from './btc';
Expand All @@ -11,7 +11,7 @@ export class Tbtc4 extends Btc {
super(bitgo, utxolib.networks.bitcoinTestnet4);
}

static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Tbtc4 {
return new Tbtc4(bitgo);
}
}
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/btc/tbtcbgsig.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @prettier
*/
import { BaseCoin, BitGoBase } from '@bitgo/sdk-core';
import { BitGoBase } from '@bitgo/sdk-core';
import * as utxolib from '@bitgo/utxo-lib';

import { Btc } from './btc';
Expand All @@ -11,7 +11,7 @@ export class Tbtcbgsig extends Btc {
super(bitgo, utxolib.networks.bitcoinBitGoSignet);
}

static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Tbtcbgsig {
return new Tbtcbgsig(bitgo);
}
}
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/btc/tbtcsig.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @prettier
*/
import { BaseCoin, BitGoBase } from '@bitgo/sdk-core';
import { BitGoBase } from '@bitgo/sdk-core';
import * as utxolib from '@bitgo/utxo-lib';

import { Btc } from './btc';
Expand All @@ -11,7 +11,7 @@ export class Tbtcsig extends Btc {
super(bitgo, utxolib.networks.bitcoinPublicSignet);
}

static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Tbtcsig {
return new Tbtcsig(bitgo);
}
}
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/btg/btg.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BitGoBase, BaseCoin } from '@bitgo/sdk-core';
import { BitGoBase } from '@bitgo/sdk-core';
import * as utxolib from '@bitgo/utxo-lib';

import { AbstractUtxoCoin, UtxoNetwork } from '../../abstractUtxoCoin';
Expand All @@ -8,7 +8,7 @@ export class Btg extends AbstractUtxoCoin {
super(bitgo, network || utxolib.networks.bitcoingold);
}

static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Btg {
return new Btg(bitgo);
}
}
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/dash/dash.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BitGoBase, BaseCoin } from '@bitgo/sdk-core';
import { BitGoBase } from '@bitgo/sdk-core';
import * as utxolib from '@bitgo/utxo-lib';

import { AbstractUtxoCoin, UtxoNetwork } from '../../abstractUtxoCoin';
Expand All @@ -8,7 +8,7 @@ export class Dash extends AbstractUtxoCoin {
super(bitgo, network || utxolib.networks.dash);
}

static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Dash {
return new Dash(bitgo);
}
}
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/dash/tdash.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @prettier
*/
import { BitGoBase, BaseCoin } from '@bitgo/sdk-core';
import { BitGoBase } from '@bitgo/sdk-core';
import * as utxolib from '@bitgo/utxo-lib';

import { Dash } from './dash';
Expand All @@ -10,7 +10,7 @@ export class Tdash extends Dash {
constructor(bitgo: BitGoBase) {
super(bitgo, utxolib.networks.dashTest);
}
static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Tdash {
return new Tdash(bitgo);
}
}
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/doge/doge.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BaseCoin, BitGoBase, HalfSignedUtxoTransaction, SignedTransaction } from '@bitgo/sdk-core';
import { BitGoBase, HalfSignedUtxoTransaction, SignedTransaction } from '@bitgo/sdk-core';
import { bitgo, networks } from '@bitgo/utxo-lib';

import {
Expand Down Expand Up @@ -60,7 +60,7 @@ export class Doge extends AbstractUtxoCoin {
super(bitgo, network || networks.dogecoin, 'bigint');
}

static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Doge {
return new Doge(bitgo);
}

Expand Down
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/doge/tdoge.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @prettier
*/
import { BitGoBase, BaseCoin } from '@bitgo/sdk-core';
import { BitGoBase } from '@bitgo/sdk-core';
import * as utxolib from '@bitgo/utxo-lib';

import { Doge } from './doge';
Expand All @@ -10,7 +10,7 @@ export class Tdoge extends Doge {
constructor(bitgo: BitGoBase) {
super(bitgo, utxolib.networks.dogecoinTest);
}
static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Tdoge {
return new Tdoge(bitgo);
}
}
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/ltc/ltc.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BitGoBase, BaseCoin } from '@bitgo/sdk-core';
import { BitGoBase } from '@bitgo/sdk-core';
import * as utxolib from '@bitgo/utxo-lib';

import { AbstractUtxoCoin, UtxoNetwork } from '../../abstractUtxoCoin';
Expand All @@ -12,7 +12,7 @@ export class Ltc extends AbstractUtxoCoin {
this.supportAltScriptDestination = false;
}

static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Ltc {
return new Ltc(bitgo);
}
}
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/ltc/tltc.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BitGoBase, BaseCoin } from '@bitgo/sdk-core';
import { BitGoBase } from '@bitgo/sdk-core';
import * as utxolib from '@bitgo/utxo-lib';

import { Ltc } from './ltc';
Expand All @@ -10,7 +10,7 @@ export class Tltc extends Ltc {
// support alt destinations on test
this.supportAltScriptDestination = false;
}
static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Tltc {
return new Tltc(bitgo);
}
}
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/zec/tzec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BaseCoin, BitGoBase } from '@bitgo/sdk-core';
import { BitGoBase } from '@bitgo/sdk-core';
import * as utxolib from '@bitgo/utxo-lib';

import { Zec } from './zec';
Expand All @@ -8,7 +8,7 @@ export class Tzec extends Zec {
super(bitgo, utxolib.networks.zcashTest);
}

static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Tzec {
return new Tzec(bitgo);
}
}
4 changes: 2 additions & 2 deletions modules/abstract-utxo/src/impl/zec/zec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @prettier
*/
import { BitGoBase, BaseCoin } from '@bitgo/sdk-core';
import { BitGoBase } from '@bitgo/sdk-core';
import * as utxolib from '@bitgo/utxo-lib';

import { AbstractUtxoCoin, UtxoNetwork } from '../../abstractUtxoCoin';
Expand All @@ -11,7 +11,7 @@ export class Zec extends AbstractUtxoCoin {
super(bitgo, network || utxolib.networks.zcash);
}

static createInstance(bitgo: BitGoBase): BaseCoin {
static createInstance(bitgo: BitGoBase): Zec {
return new Zec(bitgo);
}
}
Loading
Loading