diff --git a/modules/abstract-utxo/src/recovery/backupKeyRecovery.ts b/modules/abstract-utxo/src/recovery/backupKeyRecovery.ts index 8dd2e735ef..024d325aff 100644 --- a/modules/abstract-utxo/src/recovery/backupKeyRecovery.ts +++ b/modules/abstract-utxo/src/recovery/backupKeyRecovery.ts @@ -2,20 +2,14 @@ * @prettier */ +import * as assert from 'assert'; import * as _ from 'lodash'; import * as utxolib from '@bitgo/utxo-lib'; -const { - getInternalChainCode, - parseOutputId, - scriptTypeForChain, - WalletUnspentSigner, - outputScripts, - getExternalChainCode, -} = utxolib.bitgo; +const { getInternalChainCode, scriptTypeForChain, outputScripts, getExternalChainCode } = utxolib.bitgo; type ChainCode = utxolib.bitgo.ChainCode; type RootWalletKeys = utxolib.bitgo.RootWalletKeys; -type WalletUnspent = utxolib.bitgo.WalletUnspent; +type WalletUnspent = utxolib.bitgo.WalletUnspent; type WalletUnspentJSON = utxolib.bitgo.WalletUnspent & { valueString: string; }; @@ -36,14 +30,13 @@ import { import { AbstractUtxoCoin } from '../abstractUtxoCoin'; import { forCoin, RecoveryProvider } from './RecoveryProvider'; -import { ApiNotImplementedError, ApiRequestError } from './baseApi'; -import { SmartbitApi } from './smartbitApi'; import { MempoolApi } from './mempoolApi'; import { CoingeckoApi } from './coingeckoApi'; -import { signAndVerifyWalletTransaction } from '../sign'; +import { signAndVerifyPsbt } from '../sign'; +import { getMainnet, networks } from '@bitgo/utxo-lib'; -export interface OfflineVaultTxInfo { - inputs: WalletUnspent[]; +export interface OfflineVaultTxInfo { + inputs: WalletUnspent[]; } export interface FormattedOfflineVaultTxInfo { @@ -62,16 +55,17 @@ export interface FormattedOfflineVaultTxInfo { * @param txHex * @returns {{txHex: *, txInfo: {unspents: *}, feeInfo: {}, coin: void}} */ -function formatForOfflineVault( +function formatForOfflineVault( coinName: string, - txInfo: OfflineVaultTxInfo, + txInfo: OfflineVaultTxInfo, txHex: string ): FormattedOfflineVaultTxInfo { return { txHex, txInfo: { unspents: txInfo.inputs.map((input) => { - return { ...input, value: Number(input.value), valueString: input.value.toString() }; + assert(input.valueString); + return { ...input, valueString: input.valueString }; }), }, feeInfo: {}, @@ -133,19 +127,32 @@ export interface RecoverParams { recoveryProvider?: RecoveryProvider; } -async function queryBlockchainUnspentsPath( +async function queryBlockchainUnspentsPath( coin: AbstractUtxoCoin, params: RecoverParams, walletKeys: RootWalletKeys, chain: ChainCode -): Promise[]> { +): Promise[]> { + const scriptType = scriptTypeForChain(chain); + const fetchPrevTx = + !utxolib.bitgo.outputScripts.hasWitnessData(scriptType) && getMainnet(coin.network) !== networks.zcash; const recoveryProvider = params.recoveryProvider ?? forCoin(coin.getChain(), params.apiKey); const MAX_SEQUENTIAL_ADDRESSES_WITHOUT_TXS = params.scan || 20; let numSequentialAddressesWithoutTxs = 0; + const prevTxCache = new Map(); + + async function getPrevTx(txid: string): Promise { + let prevTxHex = prevTxCache.get(txid); + if (!prevTxHex) { + prevTxHex = await recoveryProvider.getTransactionHex(txid); + prevTxCache.set(txid, prevTxHex); + } + return prevTxHex; + } async function gatherUnspents(addrIndex: number) { const walletKeysForUnspent = walletKeys.deriveForChainAndIndex(chain, addrIndex); - const address = coin.createMultiSigAddress(scriptTypeForChain(chain), 2, walletKeysForUnspent.publicKeys); + const address = coin.createMultiSigAddress(scriptType, 2, walletKeysForUnspent.publicKeys); const addrInfo = await recoveryProvider.getAddressInfo(address.address); // we use txCount here because it implies usage - having tx'es means the addr was generated and used @@ -157,32 +164,26 @@ async function queryBlockchainUnspentsPath 0) { console.log(`Found an address with balance: ${address.address} with balance ${addrInfo.balance}`); const addressUnspents = await recoveryProvider.getUnspentsForAddresses([address.address]); - const processedUnspents = await Promise.all( - addressUnspents.map(async (u): Promise> => { + addressUnspents.map(async (u): Promise> => { + const { txid, vout } = utxolib.bitgo.parseOutputId(u.id); + let val = BigInt(u.value); if (coin.amountType === 'bigint') { // blockchair returns the number with the correct precision, but in number format // json parse won't parse it correctly, so we requery the txid for the tx hex to decode here - let val = BigInt(u.value) as TNumber; if (!Number.isSafeInteger(u.value)) { - const { txid, vout } = utxolib.bitgo.parseOutputId(u.id); - const txHex = await recoveryProvider.getTransactionHex(txid); - const tx = coin.createTransactionFromHex(txHex); + const txHex = await getPrevTx(txid); + const tx = coin.createTransactionFromHex(txHex); val = tx.outs[vout].value; } - return { - ...u, - value: val, - chain: chain, - index: addrIndex, - } as WalletUnspent; - } else { - return { - ...u, - chain: chain, - index: addrIndex, - } as WalletUnspent; } + return { + ...u, + value: val, + chain: chain, + index: addrIndex, + prevTx: fetchPrevTx ? Buffer.from(await getPrevTx(txid), 'hex') : undefined, + } as WalletUnspent; }) ); @@ -201,7 +202,7 @@ async function queryBlockchainUnspentsPath[] = []; + const walletUnspents: WalletUnspent[] = []; // This will populate walletAddresses await gatherUnspents(0); @@ -225,18 +226,24 @@ async function getRecoveryFeePerBytes( } } -export type BackupKeyRecoveryTransansaction = { - inputs: WalletUnspent[]; +export type BackupKeyRecoveryTransansaction = { + inputs?: WalletUnspent[]; transactionHex: string; coin: string; backupKey: string; - recoveryAmount: TNumber; - // smartbit api response - tx?: unknown; + recoveryAmount: number; + recoveryAmountString: string; }; /** - * Builds a funds recovery transaction without BitGo + * Builds a funds recovery transaction without BitGo. + * + * Returns transaction hex in legacy format for unsigned sweep transaction, half signed backup recovery transaction with KRS provider (only keyternal), + * fully signed backup recovery transaction without a KRS provider. + * + * Returns PSBT hex for half signed backup recovery transaction with KRS provider (excluding keyternal) + * For PSBT hex cases, Unspents are not required in response. + * * @param coin * @param bitgo * @param params @@ -250,11 +257,11 @@ export type BackupKeyRecoveryTransansaction( +export async function backupKeyRecovery( coin: AbstractUtxoCoin, bitgo: BitGoBase, params: RecoverParams -): Promise | FormattedOfflineVaultTxInfo> { +): Promise { if (_.isUndefined(params.userKey)) { throw new Error('missing userKey'); } @@ -276,6 +283,7 @@ export async function backupKeyRecovery[] = ( + const unspents: WalletUnspent[] = ( await Promise.all( outputScripts.scriptTypes2Of3 .filter( @@ -299,23 +307,25 @@ export async function backupKeyRecovery [ ...queries, - queryBlockchainUnspentsPath(coin, params, walletKeys, getExternalChainCode(addressType)), - queryBlockchainUnspentsPath(coin, params, walletKeys, getInternalChainCode(addressType)), + queryBlockchainUnspentsPath(coin, params, walletKeys, getExternalChainCode(addressType)), + queryBlockchainUnspentsPath(coin, params, walletKeys, getInternalChainCode(addressType)), ], - [] as Promise[]>[] + [] as Promise[]>[] ) ) ).flat(); // Execute the queries and gather the unspents - const totalInputAmount = utxolib.bitgo.unspentSum(unspents, coin.amountType); - if (totalInputAmount <= 0) { + const totalInputAmount = utxolib.bitgo.unspentSum(unspents, 'bigint'); + if (totalInputAmount <= BigInt(0)) { throw new ErrorNoInputToRecover(); } - // Build the transaction - const transactionBuilder = utxolib.bitgo.createTransactionBuilderForNetwork(coin.network); - const txInfo = {} as BackupKeyRecoveryTransansaction; + // Build the psbt + const psbt = utxolib.bitgo.createPsbtForNetwork({ network: coin.network }); + // xpubs can become handy for many things. + utxolib.bitgo.addXpubsToPsbt(psbt, walletKeys); + const txInfo = {} as BackupKeyRecoveryTransansaction; const feePerByte: number = await getRecoveryFeePerBytes(coin, { defaultValue: 100 }); @@ -324,50 +334,40 @@ export async function backupKeyRecovery(approximateSize * feePerByte, coin.amountType); + const approximateFee = BigInt(approximateSize * feePerByte); - // Construct a transaction - txInfo.inputs = unspents; + txInfo.inputs = + responseTxFormat === 'legacy' + ? unspents.map((u) => ({ ...u, value: Number(u.value), valueString: u.value.toString(), prevTx: undefined })) + : undefined; unspents.forEach((unspent) => { - const { txid, vout } = parseOutputId(unspent.id); - transactionBuilder.addInput( - txid, - vout, - 0xffffffff, - utxolib.address.toOutputScript(unspent.address, coin.network), - unspent.value - ); + utxolib.bitgo.addWalletUnspentToPsbt(psbt, unspent, walletKeys, 'user', 'backup', coin.network); }); - let krsFee: TNumber = utxolib.bitgo.toTNumber(0, coin.amountType); + let krsFee = BigInt(0); if (isKrsRecovery && params.krsProvider) { try { - krsFee = utxolib.bitgo.toTNumber( - await calculateFeeAmount(coin, { provider: params.krsProvider }), - coin.amountType - ); + krsFee = BigInt(await calculateFeeAmount(coin, { provider: params.krsProvider })); } catch (err) { // Don't let this error block the recovery - console.dir(err); } } - const recoveryAmount = utxolib.bitgo.toTNumber( - BigInt(totalInputAmount) - BigInt(approximateFee) - BigInt(krsFee), - coin.amountType - ); + const recoveryAmount = totalInputAmount - approximateFee - krsFee; - if (recoveryAmount < 0) { + if (recoveryAmount < BigInt(0)) { throw new Error(`this wallet\'s balance is too low to pay the fees specified by the KRS provider. Existing balance on wallet: ${totalInputAmount.toString()}. Estimated network fee for the recovery transaction : ${approximateFee.toString()}, KRS fee to pay: ${krsFee.toString()}. After deducting fees, your total recoverable balance is ${recoveryAmount.toString()}`); } - transactionBuilder.addOutput(params.recoveryDestination, recoveryAmount); + const recoveryOutputScript = utxolib.address.toOutputScript(params.recoveryDestination, coin.network); + psbt.addOutput({ script: recoveryOutputScript, value: recoveryAmount }); - if (krsProvider && krsFee > 0) { + if (krsProvider && krsFee > BigInt(0)) { if (!krsProvider.feeAddresses) { throw new Error(`keyProvider must define feeAddresses`); } @@ -378,65 +378,36 @@ export async function backupKeyRecovery, txHex); + // TODO BTC-317 - When ready to PSBTify OVC, send psbt hex and skip unspents in response. + const txHex = psbt.getUnsignedTx().toBuffer().toString('hex'); + return formatForOfflineVault(coin.getChain(), txInfo as OfflineVaultTxInfo, txHex); } else { - let transaction = signAndVerifyWalletTransaction( - transactionBuilder, - unspents, - new WalletUnspentSigner(walletKeys, walletKeys.user, walletKeys.backup), - { isLastSignature: false } - ); - if (!isKrsRecovery) { - transaction = signAndVerifyWalletTransaction( - transaction, - unspents, - new WalletUnspentSigner(walletKeys, walletKeys.backup, walletKeys.user), - { isLastSignature: true } - ); - } - - txInfo.transactionHex = transaction.toBuffer().toString('hex'); - - let transactionDetails; - try { - transactionDetails = await SmartbitApi.forCoin(coin.getChain()).getTransactionDetails(transaction); - } catch (e) { - // some coins don't have a reliable third party verification endpoint, or sometimes the third party endpoint - // could be unavailable due to service outage, so we continue without verification for those coins, but we will - // let users know that they should verify their own - // this message should be piped to WRW and displayed on the UI - if (e instanceof ApiNotImplementedError || e instanceof ApiRequestError) { - console.log('Please verify your transaction by decoding the tx hex using a third-party api of your choice'); - } else { - throw e; - } - } - - if (transactionDetails) { - /** - * Verify that the txhex user signs correspond to the correct tx they intended - * by 1) getting back the decoded transaction based on the txhex - * and then 2) compute the txid (hash), h1 of the decoded transaction 3) compare h1 - * to the txid (hash) of the transaction (including unspent info) we constructed - */ - if (transactionDetails.TxId !== transaction.getId()) { - console.log('txhash/txid returned by blockexplorer: ', transactionDetails.TxId); - console.log('txhash/txid of the transaction bitgo constructed', transaction.getId()); - throw new Error('inconsistent recovery transaction id'); - } - txInfo.tx = transactionDetails; + signAndVerifyPsbt(psbt, walletKeys.user, { isLastSignature: false }); + if (isKrsRecovery) { + // The KRS provider keyternal solely supports P2SH, P2WSH, and P2SH-P2WSH input script types. + // It currently uses an outdated BitGoJS SDK, which relies on a legacy transaction builder for cosigning. + // Unfortunately, upgrading the keyternal code presents challenges, + // which hinders the integration of the latest BitGoJS SDK with PSBT signing support. + txInfo.transactionHex = + params.krsProvider === 'keyternal' + ? utxolib.bitgo.extractP2msOnlyHalfSignedTx(psbt).toBuffer().toString('hex') + : psbt.toHex(); + } else { + const tx = signAndVerifyPsbt(psbt, walletKeys.backup, { isLastSignature: true }); + txInfo.transactionHex = tx.toBuffer().toString('hex'); } } if (isKrsRecovery) { txInfo.coin = coin.getChain(); txInfo.backupKey = params.backupKey; - txInfo.recoveryAmount = recoveryAmount; + txInfo.recoveryAmount = Number(recoveryAmount); + txInfo.recoveryAmountString = recoveryAmount.toString(); } return txInfo; diff --git a/modules/abstract-utxo/src/recovery/index.ts b/modules/abstract-utxo/src/recovery/index.ts index 6c43a75b09..206cfa8b19 100644 --- a/modules/abstract-utxo/src/recovery/index.ts +++ b/modules/abstract-utxo/src/recovery/index.ts @@ -4,4 +4,3 @@ export * from './baseApi'; export * from './coingeckoApi'; export * from './crossChainRecovery'; export * from './mempoolApi'; -export * from './smartbitApi'; diff --git a/modules/abstract-utxo/src/recovery/smartbitApi.ts b/modules/abstract-utxo/src/recovery/smartbitApi.ts deleted file mode 100644 index ac56a00994..0000000000 --- a/modules/abstract-utxo/src/recovery/smartbitApi.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * @prettier - */ -import * as utxolib from '@bitgo/utxo-lib'; -import { ApiNotImplementedError, BaseApi } from './baseApi'; - -export class SmartbitApi extends BaseApi { - static forCoin(coinName: string): SmartbitApi { - switch (coinName) { - case 'btc': - return new SmartbitApi('https://api.smartbit.com.au/v1'); - case 'tbtc': - return new SmartbitApi('https://testnet-api.smartbit.com.au/v1'); - } - throw new ApiNotImplementedError(coinName); - } - - constructor(baseUrl: string) { - super(baseUrl); - } - - async getTransactionDetails( - tx: utxolib.bitgo.UtxoTransaction - ): Promise { - const path = '/blockchain/decodetx'; - const res = await this.post(path, { hex: tx.toBuffer().toString('hex') }); - - /** - * Smartbit's response when something goes wrong - * {"success":false,"error":{"code":"REQ_ERROR","message":"TX decode failed"}} - * we should process the error message here - * interpret the res from smartbit - */ - - return res.map((body) => { - if (!body.success) { - throw new Error(body.error.message); - } - return body.transaction; - }); - } -} diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json index a2aec3beef..80e2031f34 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "c04a7db78c3d2413cc07c51d6763d47802d61720097e884f19902e3e2195cc3b:1", + "id": "969b2e80c94f2770a89331ba3d320fd7ad77d88b4e9e0af5aa364e5d327ef0d2:0", "address": "3CrAfG2D2h7NRRHBG3q2tQWX267r7vr228", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "65ab17b74035f0b0161cd42250eddd39d752e0a4d017399df46c83f688dde97d:1", + "id": "3bbc695af5cf9407850612cfaa4b9fb924895c0b9c0c48b1f343ee4f6a6ddb75:2", "address": "31q5r9bTAnNqw5w8orWip8dgeXa4NLYJ9N", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "32c8cc0f1ea4790393cae788d054764a93f83c062dfaa94925c6316d76609730:1", + "id": "f89c9b399120757e4f380be22e45345e4b54c0dfc70a902fe651e1b9d9448a4e:3", "address": "34brE2zXJvpFnjutLqyH6chmJ8EjU8Bhnx", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "02000000033bcc95213e2e90194f887e092017d60278d463671dc507cc13243d8cb77d4ac001000000fdfe000048304502210080733c3c4bec59f7d33b5d6d7b16d3329f2d228061b85762b4e6c97786b109d8022045d40e7c06bc02cf522a7d4c15f6fca3bcfbc5ae26f68dadd5f63bf9f2c14b2c41483045022100b116a2448f033f7d0a04d3fa33fdb77f76221044cc9ac0432314ca60b12af809022066635dfb8d532a0d81564b79b276fcdcce05bb497ede1738990eb6b17ba1c44a414c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff7de9dd88f6836cf49d3917d0a4e052d739dded5022d41c16b0f03540b717ab6501000000fc0047304402206387ee2c268bdec9107c4a6e9e14e925bb562020d0a651ca633d365122b8e3a402201489dd1e189d6e3d6bf3e87b26ae2e54fa5cbac7cbeef5deb9254f070704f5e24147304402206ed0527332ac9a11dce8ec4c967ddd44b7933fe1baac8869f417f8be5ed16e6e02203f60841e00167365dde6888023a21707c7a67744e4f2ea5e7bd41030d3bcde2d414c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff309760766d31c62549a9fa2d063cf8934a7654d088e7ca930379a41e0fccc83201000000fdfd0000483045022100e341e8352ea0cdb75eca79fdbdc182657d7b12fd6054f58fc36a524172fc3a8b022022b0035846c6d41cf9a92656a14ca566ab5846880b661f212f4eecf81edc49a44147304402205179ef45796baba0c6544b044acb4a17df30215c0554224ea6dcc58edc64af2802200b4d346533d4733909a0b018b3af7a30994600df8a9306bc74ca37f8069ada0f414c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "bb2eed97a64eea09c35225dd86590306f4f269a581e26eb74d22ceb758f757e4" + "transactionHex": "0200000003d2f07e325d4e36aaf50a9e4e8bd877add70f323dba3193a870274fc9802e9b9600000000fdfe0000483045022100cf2ead72e4cc7e8b981c9b97963d01967e21150748f2092a085223a04d66c4e402200164020fb7d5d6b4348be39d3178ed3b5162c9088bab4a7d902be7a702ccb30241483045022100d9ac83f57b59a7bb76743cc9456f962c185a01b37db73dfcb58bc5d5647e5ca202206d2ae1f6353f05d1e74ce363ec98b79f8ce7f3df24903b7764905491665fdba4414c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff75db6d6a4fee43f3b1480c9c0b5c8924b99f4baacf1206850794cff55a69bc3b02000000fdfd0000473044022034d903a21826dec8d0d59cd311321463955c60dcae98e9f3c716b885cb60df4002200583e670861653ba783fa9a5e0bbadfb90c07d7afa4df159e3abb099946e2c314148304502210098ed94385c4cfcc6c4dc01082a82de469200f82e1aaf376b19914d50dcdcb1150220737bbc039735a8cbc66763894cd9ec22362660add2692d6fcefd6e52a277b921414c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff4e8a44d9b9e151e62f900ac7dfc0544b5e34452ee20b384f7e752091399b9cf803000000fc0047304402205488988efb4ec360131caf2d72ef0dde69a8c3b2b189de3169a20be19182c9520220441021477979f2181126fd7a4c1e25cad48ef4aee607ed4c480944860d1ed719414730440220344a2be9d113126598af2cc91ed0effd5fc701e68312a788238d8f26d8a6b40a02202cf625b1390637856338f98eba1158fc2f49280d9aadc6dc68f6fff84dc4c5c5414c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "7fb135259ff4dee45d3a454bd6f40c5c797558f23d23af58fd8fd072a0faa99e" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json index 39620a794b..06e38ac8f4 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "d03e57cb65ea7b86411a879afc98d428cb9f7caed4cd5c1c537ed6af6f356173:1", + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", "address": "37qPMKZpagdNztA82mXrE81ch2kPzYxEnH", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "625f1e94548949733d43b367c4d30d3e3444cce5011300959fc6001d5f29ea06:1", + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", "address": "37VmFTmUhwppU2FcKM3uawLjj4oYBQZsN1", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "36de98ad2db9129e3b2982e0b028f3994dabeecb75b0f80f055e8d0427218a18:1", + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", "address": "324RMNET22VF4qLHUcVJtvWKVwbNDoj8Sv", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "02000000037361356fafd67e531c5ccdd4ae7c9fcb28d498fc9a871a41867bea65cb573ed001000000fdfe0000483045022100874628c406337f3a8089a5610ad15e7786f26e66aac634af24b63d5e79c0ff82022049fe641d686a366b9d59a8080db9c6a83196c782d06599b1a55675d0a559e22d41483045022100938ab583f20a5ea8570165749262f4b75f2b97bfdd18f631f34f0d7f838e7b8e0220028d862886671e0a4b474c6ad0790f3975ed3af2e368ff3348d1cfe36ca2709d414c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff06ea295f1d00c69f95001301e5cc44343e0dd3c467b3433d73498954941e5f6201000000fc00473044022071368259df8590e9067842451c67e0579d719b8fe8dc03a7ee8e0e6f43394633022038e48fa7910e1c80575f348d146ddc882326013622f345499e8e1d475b6790084147304402201a7b7190e118e6d1c7e2baf52cc04de7e642acf86f7ba74ceb19d7aad414be3d022051eb48b07c7a25415723548bc12496c762776f34dc099c49a5ada4d371a997a2414c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff188a2127048d5e050ff8b075cbeeab4d99f328b0e082293b9e12b92dad98de3601000000fdfd0000473044022042aa3e29cd16c7dc7b0818c7e65755c97bf506e4b0fe3754edf85a9c4600f4300220486e5ea8842a5e2ee19bae3283c0e5590dd0df98eb6e8b73e58e11c357c0fccd41483045022100ae0a0c5f31a33dce264e240a12ec5586317071b45202f71440712c56beafcdd202201fa4f1fd3d799eea403dcffdfb84ab3814c8095a8efc80fcfd4c9d772ce07a19414c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "a6de1b087d1d2a96dae1ef292dc116f4700fe35cc34b6aa87563a0d3323a61fd" + "transactionHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f10400000000fdfd00004730440220598b9635321b84288a98f18ad67edfcf7f17700c7311461a8ea012a02a4816cf022047ed5a11ba070bbf259e59af9b2539fb2745cbb1c676c45682ad8442586c161341483045022100f5cc47efa1098ee72f66275b788c74bac5a71942e5e2461fa6e14150c7703c46022043f89f794b59fc42d1589706b9971e2357b7248b43f4cc1d0811d65eebbb64eb414c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aefffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce02000000fc00473044022075fe49b226bcfecd592d00c52858fa8baaaa0b39a559cde4b51b78b9b41279c502205284a3b1b94aaf9cbe2058b8d630a5b1c11cdba55b7a48f6cbc228f2ac0edfdd414730440220203fbc816565c682085be7c9098e32d73c1b39b0046c13ac55d000bfad237fe702201d3c1439781f4b49232797fb808d92e1ef9cf5b3792a6dbc983867440f815f4f414c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb603000000fc00473044022011a60ad423411b349277e4839ca85c142b0be7b684332bc39ac2cdfb54262ee602201b4a29b235eda63b76789e24900ad37de10759e12c19cd91f5b90aaed920cec641473044022067352af017a6089b88d0e0912b01d83d9058c83ae5a366844b2f907196214cb302206d553b6ddd24447ab6c9b851b933a7dfaac472050e63713fa8574d0f9a285573414c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "81150ef37eeb0d66ae1208a8b7a44fe3b17a54b18fea1e513bd48f9e80cb05cc" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..b8044bc9fa --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a502000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f1040000000000fffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce0200000000ffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb60300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a82391000100c10200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0100e1f5050000000017a9144365f80ae9830dab1d9124be68c74c2fa23bbc128702483045022100a11ddd35d11f11db6d3203f3cf0853d6476a3ed2caeebb64515fdfcac68c24bb0220400b4012a26faa8f392dc13d7e91cd7de7d30d9cbd5fc4a395fea2c327c49e56012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f00000000220202d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc61483045022100c14ac9f702182391af1ca706441acea7c1a9bbba10d17b7bf7cf6dd1dc3286aa02204f54aab32094e32a11371de7b6911d9ce1564314c2629d82293399b7b94227064101030441000000010469522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53ae2206029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d148374ad8600000000000000000100000000000000220602d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc611403a82391000000000000000001000000000000002206030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3514e15f6f2100000000000000000100000000000000000100fdfe000200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0300c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b0000000017a9143fafee16e19a14db449ab3a57da1fd3ef89daa59870247304402204cffc8ecf659d2ff378de47a0830d2a7acba33ce9dd069c4feb0c37edb95f26302203ae4ed814496c8394fd7eb373c4ed1cdca8468c30e7069da70ae308a14a7a722012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a7473044022064be90775ffa315b1536aeed1b42255ac3ac33f58f0d1d7e8e903d85e92cf7120220434bf9a0d4592f64446300bc61d1a6e2b9a2e1d81737c34e2d9ee9a052418fe241010304410000000104695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453ae2206021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a71403a82391000000000000000001000000020000002206026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f3024148374ad8600000000000000000100000002000000220603b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b914e15f6f2100000000000000000100000002000000000100fd1e010200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0400a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e1110000000017a914040c4ab99a665c767adaa50fb28dce2ae514363b8702483045022100979e2be8551d5b0aeca6a4e6b4f6b594cd1d77926d2f68f0baf4f68d068f6d8302207f7c1982dceae939c85f4b95f9117e22c5b0e1177b511c5c05f54d73802f7e9d012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c473044022058d715f6bd6a4e46c7a50dec897fe757c444d3292d15faf65d66bde8c6fced2202201d3dfc6570f14093b8dbfcbf10d4e6abdad622319aaeb7273a9eb1ae7d7c668941010304410000000104695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53ae2206022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d14e15f6f21000000000000000001000000030000002206023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c1403a8239100000000000000000100000003000000220602b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b148374ad86000000000000000001000000030000000000", + "coin": "bch", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "901ef9400a82954c47dbd6f92bb7e46c83067a40ac20c7f40414d64a83ee00f9" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..aab51f61ef --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", + "address": "37qPMKZpagdNztA82mXrE81ch2kPzYxEnH", + "value": 100000000, + "chain": 1, + "index": 0, + "valueString": "100000000" + }, + { + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", + "address": "37VmFTmUhwppU2FcKM3uawLjj4oYBQZsN1", + "value": 200000000, + "chain": 1, + "index": 2, + "valueString": "200000000" + }, + { + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", + "address": "324RMNET22VF4qLHUcVJtvWKVwbNDoj8Sv", + "value": 300000000, + "chain": 1, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f10400000000b700483045022100a9ebf6af4865014bd31cd6d484caaf4fc42dbd370708164839358182a27fcf7c02203be6ab9cc19b649752edabae59583a55307b07cd22d78eb08938ebf632e282bd4100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aefffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce02000000b6004730440220585cb801a93d5c127a389abe847fe0b4ed53bce7cf2aa626a06e6c8a2622575302207004c663a68ab2ae8a7fb60658c75315680527fb4fdcc97b0bc8cce77c5f0f2f4100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb603000000b700483045022100d87aa744cf8f48c7b0da325783c33289399e9f882d9a368a908ca665557dfae002202f2b0f5013e87c7278beb45265c572acd46f1feae61b9cafb7e4ebfcb82557c84100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", + "coin": "bch", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "581ee650cf3bfe00ed086e6b5608c4c4875f6b67614a82bcb94e45fa7e6175f3" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json deleted file mode 100644 index 83c69abddb..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "d03e57cb65ea7b86411a879afc98d428cb9f7caed4cd5c1c537ed6af6f356173:1", - "address": "37qPMKZpagdNztA82mXrE81ch2kPzYxEnH", - "value": 100000000, - "chain": 1, - "index": 0 - }, - { - "id": "625f1e94548949733d43b367c4d30d3e3444cce5011300959fc6001d5f29ea06:1", - "address": "37VmFTmUhwppU2FcKM3uawLjj4oYBQZsN1", - "value": 200000000, - "chain": 1, - "index": 2 - }, - { - "id": "36de98ad2db9129e3b2982e0b028f3994dabeecb75b0f80f055e8d0427218a18:1", - "address": "324RMNET22VF4qLHUcVJtvWKVwbNDoj8Sv", - "value": 300000000, - "chain": 1, - "index": 3 - } - ], - "transactionHex": "02000000037361356fafd67e531c5ccdd4ae7c9fcb28d498fc9a871a41867bea65cb573ed001000000b6004730440220677bc84538554beaf558e0b0e1efac288f86c2ca63a73f2ef782dc512b6cb23002203a4eb1c18966b1aa851bb1dfcdde64386b67b7c12dac8afebbbe6e5ef1fa3ee94100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff06ea295f1d00c69f95001301e5cc44343e0dd3c467b3433d73498954941e5f6201000000b700483045022100d24f1412f235c8ea11eaf3101732a635838d96e00ef509124e536fd6d45d46b30220123570ee1cd6de33da822feaff0e7c9ab3b59b638dc8d05821019304e6325fd54100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff188a2127048d5e050ff8b075cbeeab4d99f328b0e082293b9e12b92dad98de3601000000b60047304402203a7dda6e90a17e5dc1980c905e24ff7bcfd777e6570a5a2d39f2afb36c15b10202201126b415377a19df9b837b15cb7b73703268489bec5a19c0ae5e48efb85ab4f04100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", - "coin": "bch", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "5ede0a38cb9f19cd482144bd8f4668b24fc640ef54372aa62e38548d3b66dd22" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json index d792921490..7e2a006015 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bch/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "02000000037361356fafd67e531c5ccdd4ae7c9fcb28d498fc9a871a41867bea65cb573ed00100000000ffffffff06ea295f1d00c69f95001301e5cc44343e0dd3c467b3433d73498954941e5f620100000000ffffffff188a2127048d5e050ff8b075cbeeab4d99f328b0e082293b9e12b92dad98de360100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f1040000000000fffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce0200000000ffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb60300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "d03e57cb65ea7b86411a879afc98d428cb9f7caed4cd5c1c537ed6af6f356173:1", + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", "address": "37qPMKZpagdNztA82mXrE81ch2kPzYxEnH", "value": 100000000, - "valueString": "100000000", "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "625f1e94548949733d43b367c4d30d3e3444cce5011300959fc6001d5f29ea06:1", + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", "address": "37VmFTmUhwppU2FcKM3uawLjj4oYBQZsN1", "value": 200000000, - "valueString": "200000000", "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "36de98ad2db9129e3b2982e0b028f3994dabeecb75b0f80f055e8d0427218a18:1", + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", "address": "324RMNET22VF4qLHUcVJtvWKVwbNDoj8Sv", "value": 300000000, - "valueString": "300000000", "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "bch", - "txid": "d62ccec28180bfda03f1a8676bfbc568bbf6d228b14c5dfd71ca2f760dffae7f" -} + "txid": "584b61466c05a64b86f5f8c419a532574607c3770ddda1c53d988ec158b50195" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json index a2aec3beef..80e2031f34 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "c04a7db78c3d2413cc07c51d6763d47802d61720097e884f19902e3e2195cc3b:1", + "id": "969b2e80c94f2770a89331ba3d320fd7ad77d88b4e9e0af5aa364e5d327ef0d2:0", "address": "3CrAfG2D2h7NRRHBG3q2tQWX267r7vr228", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "65ab17b74035f0b0161cd42250eddd39d752e0a4d017399df46c83f688dde97d:1", + "id": "3bbc695af5cf9407850612cfaa4b9fb924895c0b9c0c48b1f343ee4f6a6ddb75:2", "address": "31q5r9bTAnNqw5w8orWip8dgeXa4NLYJ9N", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "32c8cc0f1ea4790393cae788d054764a93f83c062dfaa94925c6316d76609730:1", + "id": "f89c9b399120757e4f380be22e45345e4b54c0dfc70a902fe651e1b9d9448a4e:3", "address": "34brE2zXJvpFnjutLqyH6chmJ8EjU8Bhnx", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "02000000033bcc95213e2e90194f887e092017d60278d463671dc507cc13243d8cb77d4ac001000000fdfe000048304502210080733c3c4bec59f7d33b5d6d7b16d3329f2d228061b85762b4e6c97786b109d8022045d40e7c06bc02cf522a7d4c15f6fca3bcfbc5ae26f68dadd5f63bf9f2c14b2c41483045022100b116a2448f033f7d0a04d3fa33fdb77f76221044cc9ac0432314ca60b12af809022066635dfb8d532a0d81564b79b276fcdcce05bb497ede1738990eb6b17ba1c44a414c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff7de9dd88f6836cf49d3917d0a4e052d739dded5022d41c16b0f03540b717ab6501000000fc0047304402206387ee2c268bdec9107c4a6e9e14e925bb562020d0a651ca633d365122b8e3a402201489dd1e189d6e3d6bf3e87b26ae2e54fa5cbac7cbeef5deb9254f070704f5e24147304402206ed0527332ac9a11dce8ec4c967ddd44b7933fe1baac8869f417f8be5ed16e6e02203f60841e00167365dde6888023a21707c7a67744e4f2ea5e7bd41030d3bcde2d414c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff309760766d31c62549a9fa2d063cf8934a7654d088e7ca930379a41e0fccc83201000000fdfd0000483045022100e341e8352ea0cdb75eca79fdbdc182657d7b12fd6054f58fc36a524172fc3a8b022022b0035846c6d41cf9a92656a14ca566ab5846880b661f212f4eecf81edc49a44147304402205179ef45796baba0c6544b044acb4a17df30215c0554224ea6dcc58edc64af2802200b4d346533d4733909a0b018b3af7a30994600df8a9306bc74ca37f8069ada0f414c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "bb2eed97a64eea09c35225dd86590306f4f269a581e26eb74d22ceb758f757e4" + "transactionHex": "0200000003d2f07e325d4e36aaf50a9e4e8bd877add70f323dba3193a870274fc9802e9b9600000000fdfe0000483045022100cf2ead72e4cc7e8b981c9b97963d01967e21150748f2092a085223a04d66c4e402200164020fb7d5d6b4348be39d3178ed3b5162c9088bab4a7d902be7a702ccb30241483045022100d9ac83f57b59a7bb76743cc9456f962c185a01b37db73dfcb58bc5d5647e5ca202206d2ae1f6353f05d1e74ce363ec98b79f8ce7f3df24903b7764905491665fdba4414c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff75db6d6a4fee43f3b1480c9c0b5c8924b99f4baacf1206850794cff55a69bc3b02000000fdfd0000473044022034d903a21826dec8d0d59cd311321463955c60dcae98e9f3c716b885cb60df4002200583e670861653ba783fa9a5e0bbadfb90c07d7afa4df159e3abb099946e2c314148304502210098ed94385c4cfcc6c4dc01082a82de469200f82e1aaf376b19914d50dcdcb1150220737bbc039735a8cbc66763894cd9ec22362660add2692d6fcefd6e52a277b921414c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff4e8a44d9b9e151e62f900ac7dfc0544b5e34452ee20b384f7e752091399b9cf803000000fc0047304402205488988efb4ec360131caf2d72ef0dde69a8c3b2b189de3169a20be19182c9520220441021477979f2181126fd7a4c1e25cad48ef4aee607ed4c480944860d1ed719414730440220344a2be9d113126598af2cc91ed0effd5fc701e68312a788238d8f26d8a6b40a02202cf625b1390637856338f98eba1158fc2f49280d9aadc6dc68f6fff84dc4c5c5414c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "7fb135259ff4dee45d3a454bd6f40c5c797558f23d23af58fd8fd072a0faa99e" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json index 39620a794b..06e38ac8f4 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "d03e57cb65ea7b86411a879afc98d428cb9f7caed4cd5c1c537ed6af6f356173:1", + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", "address": "37qPMKZpagdNztA82mXrE81ch2kPzYxEnH", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "625f1e94548949733d43b367c4d30d3e3444cce5011300959fc6001d5f29ea06:1", + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", "address": "37VmFTmUhwppU2FcKM3uawLjj4oYBQZsN1", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "36de98ad2db9129e3b2982e0b028f3994dabeecb75b0f80f055e8d0427218a18:1", + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", "address": "324RMNET22VF4qLHUcVJtvWKVwbNDoj8Sv", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "02000000037361356fafd67e531c5ccdd4ae7c9fcb28d498fc9a871a41867bea65cb573ed001000000fdfe0000483045022100874628c406337f3a8089a5610ad15e7786f26e66aac634af24b63d5e79c0ff82022049fe641d686a366b9d59a8080db9c6a83196c782d06599b1a55675d0a559e22d41483045022100938ab583f20a5ea8570165749262f4b75f2b97bfdd18f631f34f0d7f838e7b8e0220028d862886671e0a4b474c6ad0790f3975ed3af2e368ff3348d1cfe36ca2709d414c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff06ea295f1d00c69f95001301e5cc44343e0dd3c467b3433d73498954941e5f6201000000fc00473044022071368259df8590e9067842451c67e0579d719b8fe8dc03a7ee8e0e6f43394633022038e48fa7910e1c80575f348d146ddc882326013622f345499e8e1d475b6790084147304402201a7b7190e118e6d1c7e2baf52cc04de7e642acf86f7ba74ceb19d7aad414be3d022051eb48b07c7a25415723548bc12496c762776f34dc099c49a5ada4d371a997a2414c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff188a2127048d5e050ff8b075cbeeab4d99f328b0e082293b9e12b92dad98de3601000000fdfd0000473044022042aa3e29cd16c7dc7b0818c7e65755c97bf506e4b0fe3754edf85a9c4600f4300220486e5ea8842a5e2ee19bae3283c0e5590dd0df98eb6e8b73e58e11c357c0fccd41483045022100ae0a0c5f31a33dce264e240a12ec5586317071b45202f71440712c56beafcdd202201fa4f1fd3d799eea403dcffdfb84ab3814c8095a8efc80fcfd4c9d772ce07a19414c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "a6de1b087d1d2a96dae1ef292dc116f4700fe35cc34b6aa87563a0d3323a61fd" + "transactionHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f10400000000fdfd00004730440220598b9635321b84288a98f18ad67edfcf7f17700c7311461a8ea012a02a4816cf022047ed5a11ba070bbf259e59af9b2539fb2745cbb1c676c45682ad8442586c161341483045022100f5cc47efa1098ee72f66275b788c74bac5a71942e5e2461fa6e14150c7703c46022043f89f794b59fc42d1589706b9971e2357b7248b43f4cc1d0811d65eebbb64eb414c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aefffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce02000000fc00473044022075fe49b226bcfecd592d00c52858fa8baaaa0b39a559cde4b51b78b9b41279c502205284a3b1b94aaf9cbe2058b8d630a5b1c11cdba55b7a48f6cbc228f2ac0edfdd414730440220203fbc816565c682085be7c9098e32d73c1b39b0046c13ac55d000bfad237fe702201d3c1439781f4b49232797fb808d92e1ef9cf5b3792a6dbc983867440f815f4f414c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb603000000fc00473044022011a60ad423411b349277e4839ca85c142b0be7b684332bc39ac2cdfb54262ee602201b4a29b235eda63b76789e24900ad37de10759e12c19cd91f5b90aaed920cec641473044022067352af017a6089b88d0e0912b01d83d9058c83ae5a366844b2f907196214cb302206d553b6ddd24447ab6c9b851b933a7dfaac472050e63713fa8574d0f9a285573414c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "81150ef37eeb0d66ae1208a8b7a44fe3b17a54b18fea1e513bd48f9e80cb05cc" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..d0eb27e552 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a502000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f1040000000000fffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce0200000000ffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb60300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a82391000100c10200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0100e1f5050000000017a9144365f80ae9830dab1d9124be68c74c2fa23bbc128702483045022100a11ddd35d11f11db6d3203f3cf0853d6476a3ed2caeebb64515fdfcac68c24bb0220400b4012a26faa8f392dc13d7e91cd7de7d30d9cbd5fc4a395fea2c327c49e56012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f00000000220202d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc61483045022100c14ac9f702182391af1ca706441acea7c1a9bbba10d17b7bf7cf6dd1dc3286aa02204f54aab32094e32a11371de7b6911d9ce1564314c2629d82293399b7b94227064101030441000000010469522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53ae2206029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d148374ad8600000000000000000100000000000000220602d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc611403a82391000000000000000001000000000000002206030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3514e15f6f2100000000000000000100000000000000000100fdfe000200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0300c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b0000000017a9143fafee16e19a14db449ab3a57da1fd3ef89daa59870247304402204cffc8ecf659d2ff378de47a0830d2a7acba33ce9dd069c4feb0c37edb95f26302203ae4ed814496c8394fd7eb373c4ed1cdca8468c30e7069da70ae308a14a7a722012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a7473044022064be90775ffa315b1536aeed1b42255ac3ac33f58f0d1d7e8e903d85e92cf7120220434bf9a0d4592f64446300bc61d1a6e2b9a2e1d81737c34e2d9ee9a052418fe241010304410000000104695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453ae2206021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a71403a82391000000000000000001000000020000002206026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f3024148374ad8600000000000000000100000002000000220603b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b914e15f6f2100000000000000000100000002000000000100fd1e010200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0400a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e1110000000017a914040c4ab99a665c767adaa50fb28dce2ae514363b8702483045022100979e2be8551d5b0aeca6a4e6b4f6b594cd1d77926d2f68f0baf4f68d068f6d8302207f7c1982dceae939c85f4b95f9117e22c5b0e1177b511c5c05f54d73802f7e9d012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c473044022058d715f6bd6a4e46c7a50dec897fe757c444d3292d15faf65d66bde8c6fced2202201d3dfc6570f14093b8dbfcbf10d4e6abdad622319aaeb7273a9eb1ae7d7c668941010304410000000104695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53ae2206022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d14e15f6f21000000000000000001000000030000002206023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c1403a8239100000000000000000100000003000000220602b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b148374ad86000000000000000001000000030000000000", + "coin": "bcha", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "901ef9400a82954c47dbd6f92bb7e46c83067a40ac20c7f40414d64a83ee00f9" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..201b083f82 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", + "address": "37qPMKZpagdNztA82mXrE81ch2kPzYxEnH", + "value": 100000000, + "chain": 1, + "index": 0, + "valueString": "100000000" + }, + { + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", + "address": "37VmFTmUhwppU2FcKM3uawLjj4oYBQZsN1", + "value": 200000000, + "chain": 1, + "index": 2, + "valueString": "200000000" + }, + { + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", + "address": "324RMNET22VF4qLHUcVJtvWKVwbNDoj8Sv", + "value": 300000000, + "chain": 1, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f10400000000b700483045022100a9ebf6af4865014bd31cd6d484caaf4fc42dbd370708164839358182a27fcf7c02203be6ab9cc19b649752edabae59583a55307b07cd22d78eb08938ebf632e282bd4100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aefffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce02000000b6004730440220585cb801a93d5c127a389abe847fe0b4ed53bce7cf2aa626a06e6c8a2622575302207004c663a68ab2ae8a7fb60658c75315680527fb4fdcc97b0bc8cce77c5f0f2f4100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb603000000b700483045022100d87aa744cf8f48c7b0da325783c33289399e9f882d9a368a908ca665557dfae002202f2b0f5013e87c7278beb45265c572acd46f1feae61b9cafb7e4ebfcb82557c84100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", + "coin": "bcha", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "581ee650cf3bfe00ed086e6b5608c4c4875f6b67614a82bcb94e45fa7e6175f3" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json deleted file mode 100644 index 5579571fbc..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "d03e57cb65ea7b86411a879afc98d428cb9f7caed4cd5c1c537ed6af6f356173:1", - "address": "37qPMKZpagdNztA82mXrE81ch2kPzYxEnH", - "value": 100000000, - "chain": 1, - "index": 0 - }, - { - "id": "625f1e94548949733d43b367c4d30d3e3444cce5011300959fc6001d5f29ea06:1", - "address": "37VmFTmUhwppU2FcKM3uawLjj4oYBQZsN1", - "value": 200000000, - "chain": 1, - "index": 2 - }, - { - "id": "36de98ad2db9129e3b2982e0b028f3994dabeecb75b0f80f055e8d0427218a18:1", - "address": "324RMNET22VF4qLHUcVJtvWKVwbNDoj8Sv", - "value": 300000000, - "chain": 1, - "index": 3 - } - ], - "transactionHex": "02000000037361356fafd67e531c5ccdd4ae7c9fcb28d498fc9a871a41867bea65cb573ed001000000b6004730440220677bc84538554beaf558e0b0e1efac288f86c2ca63a73f2ef782dc512b6cb23002203a4eb1c18966b1aa851bb1dfcdde64386b67b7c12dac8afebbbe6e5ef1fa3ee94100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff06ea295f1d00c69f95001301e5cc44343e0dd3c467b3433d73498954941e5f6201000000b700483045022100d24f1412f235c8ea11eaf3101732a635838d96e00ef509124e536fd6d45d46b30220123570ee1cd6de33da822feaff0e7c9ab3b59b638dc8d05821019304e6325fd54100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff188a2127048d5e050ff8b075cbeeab4d99f328b0e082293b9e12b92dad98de3601000000b60047304402203a7dda6e90a17e5dc1980c905e24ff7bcfd777e6570a5a2d39f2afb36c15b10202201126b415377a19df9b837b15cb7b73703268489bec5a19c0ae5e48efb85ab4f04100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", - "coin": "bcha", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "5ede0a38cb9f19cd482144bd8f4668b24fc640ef54372aa62e38548d3b66dd22" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json index 3de8699e6c..18789a267e 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bcha/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json @@ -1,9 +1,9 @@ { - "txHex": "02000000037361356fafd67e531c5ccdd4ae7c9fcb28d498fc9a871a41867bea65cb573ed00100000000ffffffff06ea295f1d00c69f95001301e5cc44343e0dd3c467b3433d73498954941e5f620100000000ffffffff188a2127048d5e050ff8b075cbeeab4d99f328b0e082293b9e12b92dad98de360100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f1040000000000fffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce0200000000ffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb60300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "d03e57cb65ea7b86411a879afc98d428cb9f7caed4cd5c1c537ed6af6f356173:1", + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", "address": "37qPMKZpagdNztA82mXrE81ch2kPzYxEnH", "value": 100000000, "chain": 1, @@ -11,7 +11,7 @@ "valueString": "100000000" }, { - "id": "625f1e94548949733d43b367c4d30d3e3444cce5011300959fc6001d5f29ea06:1", + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", "address": "37VmFTmUhwppU2FcKM3uawLjj4oYBQZsN1", "value": 200000000, "chain": 1, @@ -19,7 +19,7 @@ "valueString": "200000000" }, { - "id": "36de98ad2db9129e3b2982e0b028f3994dabeecb75b0f80f055e8d0427218a18:1", + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", "address": "324RMNET22VF4qLHUcVJtvWKVwbNDoj8Sv", "value": 300000000, "chain": 1, @@ -30,5 +30,5 @@ }, "feeInfo": {}, "coin": "bcha", - "txid": "d62ccec28180bfda03f1a8676bfbc568bbf6d228b14c5dfd71ca2f760dffae7f" + "txid": "584b61466c05a64b86f5f8c419a532574607c3770ddda1c53d988ec158b50195" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json index a2aec3beef..80e2031f34 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "c04a7db78c3d2413cc07c51d6763d47802d61720097e884f19902e3e2195cc3b:1", + "id": "969b2e80c94f2770a89331ba3d320fd7ad77d88b4e9e0af5aa364e5d327ef0d2:0", "address": "3CrAfG2D2h7NRRHBG3q2tQWX267r7vr228", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "65ab17b74035f0b0161cd42250eddd39d752e0a4d017399df46c83f688dde97d:1", + "id": "3bbc695af5cf9407850612cfaa4b9fb924895c0b9c0c48b1f343ee4f6a6ddb75:2", "address": "31q5r9bTAnNqw5w8orWip8dgeXa4NLYJ9N", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "32c8cc0f1ea4790393cae788d054764a93f83c062dfaa94925c6316d76609730:1", + "id": "f89c9b399120757e4f380be22e45345e4b54c0dfc70a902fe651e1b9d9448a4e:3", "address": "34brE2zXJvpFnjutLqyH6chmJ8EjU8Bhnx", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "02000000033bcc95213e2e90194f887e092017d60278d463671dc507cc13243d8cb77d4ac001000000fdfe000048304502210080733c3c4bec59f7d33b5d6d7b16d3329f2d228061b85762b4e6c97786b109d8022045d40e7c06bc02cf522a7d4c15f6fca3bcfbc5ae26f68dadd5f63bf9f2c14b2c41483045022100b116a2448f033f7d0a04d3fa33fdb77f76221044cc9ac0432314ca60b12af809022066635dfb8d532a0d81564b79b276fcdcce05bb497ede1738990eb6b17ba1c44a414c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff7de9dd88f6836cf49d3917d0a4e052d739dded5022d41c16b0f03540b717ab6501000000fc0047304402206387ee2c268bdec9107c4a6e9e14e925bb562020d0a651ca633d365122b8e3a402201489dd1e189d6e3d6bf3e87b26ae2e54fa5cbac7cbeef5deb9254f070704f5e24147304402206ed0527332ac9a11dce8ec4c967ddd44b7933fe1baac8869f417f8be5ed16e6e02203f60841e00167365dde6888023a21707c7a67744e4f2ea5e7bd41030d3bcde2d414c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff309760766d31c62549a9fa2d063cf8934a7654d088e7ca930379a41e0fccc83201000000fdfd0000483045022100e341e8352ea0cdb75eca79fdbdc182657d7b12fd6054f58fc36a524172fc3a8b022022b0035846c6d41cf9a92656a14ca566ab5846880b661f212f4eecf81edc49a44147304402205179ef45796baba0c6544b044acb4a17df30215c0554224ea6dcc58edc64af2802200b4d346533d4733909a0b018b3af7a30994600df8a9306bc74ca37f8069ada0f414c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "bb2eed97a64eea09c35225dd86590306f4f269a581e26eb74d22ceb758f757e4" + "transactionHex": "0200000003d2f07e325d4e36aaf50a9e4e8bd877add70f323dba3193a870274fc9802e9b9600000000fdfe0000483045022100cf2ead72e4cc7e8b981c9b97963d01967e21150748f2092a085223a04d66c4e402200164020fb7d5d6b4348be39d3178ed3b5162c9088bab4a7d902be7a702ccb30241483045022100d9ac83f57b59a7bb76743cc9456f962c185a01b37db73dfcb58bc5d5647e5ca202206d2ae1f6353f05d1e74ce363ec98b79f8ce7f3df24903b7764905491665fdba4414c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff75db6d6a4fee43f3b1480c9c0b5c8924b99f4baacf1206850794cff55a69bc3b02000000fdfd0000473044022034d903a21826dec8d0d59cd311321463955c60dcae98e9f3c716b885cb60df4002200583e670861653ba783fa9a5e0bbadfb90c07d7afa4df159e3abb099946e2c314148304502210098ed94385c4cfcc6c4dc01082a82de469200f82e1aaf376b19914d50dcdcb1150220737bbc039735a8cbc66763894cd9ec22362660add2692d6fcefd6e52a277b921414c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff4e8a44d9b9e151e62f900ac7dfc0544b5e34452ee20b384f7e752091399b9cf803000000fc0047304402205488988efb4ec360131caf2d72ef0dde69a8c3b2b189de3169a20be19182c9520220441021477979f2181126fd7a4c1e25cad48ef4aee607ed4c480944860d1ed719414730440220344a2be9d113126598af2cc91ed0effd5fc701e68312a788238d8f26d8a6b40a02202cf625b1390637856338f98eba1158fc2f49280d9aadc6dc68f6fff84dc4c5c5414c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "7fb135259ff4dee45d3a454bd6f40c5c797558f23d23af58fd8fd072a0faa99e" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json index 39620a794b..06e38ac8f4 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "d03e57cb65ea7b86411a879afc98d428cb9f7caed4cd5c1c537ed6af6f356173:1", + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", "address": "37qPMKZpagdNztA82mXrE81ch2kPzYxEnH", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "625f1e94548949733d43b367c4d30d3e3444cce5011300959fc6001d5f29ea06:1", + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", "address": "37VmFTmUhwppU2FcKM3uawLjj4oYBQZsN1", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "36de98ad2db9129e3b2982e0b028f3994dabeecb75b0f80f055e8d0427218a18:1", + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", "address": "324RMNET22VF4qLHUcVJtvWKVwbNDoj8Sv", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "02000000037361356fafd67e531c5ccdd4ae7c9fcb28d498fc9a871a41867bea65cb573ed001000000fdfe0000483045022100874628c406337f3a8089a5610ad15e7786f26e66aac634af24b63d5e79c0ff82022049fe641d686a366b9d59a8080db9c6a83196c782d06599b1a55675d0a559e22d41483045022100938ab583f20a5ea8570165749262f4b75f2b97bfdd18f631f34f0d7f838e7b8e0220028d862886671e0a4b474c6ad0790f3975ed3af2e368ff3348d1cfe36ca2709d414c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff06ea295f1d00c69f95001301e5cc44343e0dd3c467b3433d73498954941e5f6201000000fc00473044022071368259df8590e9067842451c67e0579d719b8fe8dc03a7ee8e0e6f43394633022038e48fa7910e1c80575f348d146ddc882326013622f345499e8e1d475b6790084147304402201a7b7190e118e6d1c7e2baf52cc04de7e642acf86f7ba74ceb19d7aad414be3d022051eb48b07c7a25415723548bc12496c762776f34dc099c49a5ada4d371a997a2414c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff188a2127048d5e050ff8b075cbeeab4d99f328b0e082293b9e12b92dad98de3601000000fdfd0000473044022042aa3e29cd16c7dc7b0818c7e65755c97bf506e4b0fe3754edf85a9c4600f4300220486e5ea8842a5e2ee19bae3283c0e5590dd0df98eb6e8b73e58e11c357c0fccd41483045022100ae0a0c5f31a33dce264e240a12ec5586317071b45202f71440712c56beafcdd202201fa4f1fd3d799eea403dcffdfb84ab3814c8095a8efc80fcfd4c9d772ce07a19414c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "a6de1b087d1d2a96dae1ef292dc116f4700fe35cc34b6aa87563a0d3323a61fd" + "transactionHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f10400000000fdfd00004730440220598b9635321b84288a98f18ad67edfcf7f17700c7311461a8ea012a02a4816cf022047ed5a11ba070bbf259e59af9b2539fb2745cbb1c676c45682ad8442586c161341483045022100f5cc47efa1098ee72f66275b788c74bac5a71942e5e2461fa6e14150c7703c46022043f89f794b59fc42d1589706b9971e2357b7248b43f4cc1d0811d65eebbb64eb414c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aefffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce02000000fc00473044022075fe49b226bcfecd592d00c52858fa8baaaa0b39a559cde4b51b78b9b41279c502205284a3b1b94aaf9cbe2058b8d630a5b1c11cdba55b7a48f6cbc228f2ac0edfdd414730440220203fbc816565c682085be7c9098e32d73c1b39b0046c13ac55d000bfad237fe702201d3c1439781f4b49232797fb808d92e1ef9cf5b3792a6dbc983867440f815f4f414c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb603000000fc00473044022011a60ad423411b349277e4839ca85c142b0be7b684332bc39ac2cdfb54262ee602201b4a29b235eda63b76789e24900ad37de10759e12c19cd91f5b90aaed920cec641473044022067352af017a6089b88d0e0912b01d83d9058c83ae5a366844b2f907196214cb302206d553b6ddd24447ab6c9b851b933a7dfaac472050e63713fa8574d0f9a285573414c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "81150ef37eeb0d66ae1208a8b7a44fe3b17a54b18fea1e513bd48f9e80cb05cc" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..6dba0316c3 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a502000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f1040000000000fffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce0200000000ffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb60300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a82391000100c10200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0100e1f5050000000017a9144365f80ae9830dab1d9124be68c74c2fa23bbc128702483045022100a11ddd35d11f11db6d3203f3cf0853d6476a3ed2caeebb64515fdfcac68c24bb0220400b4012a26faa8f392dc13d7e91cd7de7d30d9cbd5fc4a395fea2c327c49e56012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f00000000220202d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc61483045022100c14ac9f702182391af1ca706441acea7c1a9bbba10d17b7bf7cf6dd1dc3286aa02204f54aab32094e32a11371de7b6911d9ce1564314c2629d82293399b7b94227064101030441000000010469522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53ae2206029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d148374ad8600000000000000000100000000000000220602d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc611403a82391000000000000000001000000000000002206030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3514e15f6f2100000000000000000100000000000000000100fdfe000200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0300c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b0000000017a9143fafee16e19a14db449ab3a57da1fd3ef89daa59870247304402204cffc8ecf659d2ff378de47a0830d2a7acba33ce9dd069c4feb0c37edb95f26302203ae4ed814496c8394fd7eb373c4ed1cdca8468c30e7069da70ae308a14a7a722012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a7473044022064be90775ffa315b1536aeed1b42255ac3ac33f58f0d1d7e8e903d85e92cf7120220434bf9a0d4592f64446300bc61d1a6e2b9a2e1d81737c34e2d9ee9a052418fe241010304410000000104695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453ae2206021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a71403a82391000000000000000001000000020000002206026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f3024148374ad8600000000000000000100000002000000220603b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b914e15f6f2100000000000000000100000002000000000100fd1e010200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0400a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e1110000000017a914040c4ab99a665c767adaa50fb28dce2ae514363b8702483045022100979e2be8551d5b0aeca6a4e6b4f6b594cd1d77926d2f68f0baf4f68d068f6d8302207f7c1982dceae939c85f4b95f9117e22c5b0e1177b511c5c05f54d73802f7e9d012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c473044022058d715f6bd6a4e46c7a50dec897fe757c444d3292d15faf65d66bde8c6fced2202201d3dfc6570f14093b8dbfcbf10d4e6abdad622319aaeb7273a9eb1ae7d7c668941010304410000000104695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53ae2206022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d14e15f6f21000000000000000001000000030000002206023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c1403a8239100000000000000000100000003000000220602b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b148374ad86000000000000000001000000030000000000", + "coin": "bsv", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "901ef9400a82954c47dbd6f92bb7e46c83067a40ac20c7f40414d64a83ee00f9" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..d02a61fff1 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", + "address": "37qPMKZpagdNztA82mXrE81ch2kPzYxEnH", + "value": 100000000, + "chain": 1, + "index": 0, + "valueString": "100000000" + }, + { + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", + "address": "37VmFTmUhwppU2FcKM3uawLjj4oYBQZsN1", + "value": 200000000, + "chain": 1, + "index": 2, + "valueString": "200000000" + }, + { + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", + "address": "324RMNET22VF4qLHUcVJtvWKVwbNDoj8Sv", + "value": 300000000, + "chain": 1, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f10400000000b700483045022100a9ebf6af4865014bd31cd6d484caaf4fc42dbd370708164839358182a27fcf7c02203be6ab9cc19b649752edabae59583a55307b07cd22d78eb08938ebf632e282bd4100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aefffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce02000000b6004730440220585cb801a93d5c127a389abe847fe0b4ed53bce7cf2aa626a06e6c8a2622575302207004c663a68ab2ae8a7fb60658c75315680527fb4fdcc97b0bc8cce77c5f0f2f4100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb603000000b700483045022100d87aa744cf8f48c7b0da325783c33289399e9f882d9a368a908ca665557dfae002202f2b0f5013e87c7278beb45265c572acd46f1feae61b9cafb7e4ebfcb82557c84100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", + "coin": "bsv", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "581ee650cf3bfe00ed086e6b5608c4c4875f6b67614a82bcb94e45fa7e6175f3" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json deleted file mode 100644 index df695ad074..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "d03e57cb65ea7b86411a879afc98d428cb9f7caed4cd5c1c537ed6af6f356173:1", - "address": "37qPMKZpagdNztA82mXrE81ch2kPzYxEnH", - "value": 100000000, - "chain": 1, - "index": 0 - }, - { - "id": "625f1e94548949733d43b367c4d30d3e3444cce5011300959fc6001d5f29ea06:1", - "address": "37VmFTmUhwppU2FcKM3uawLjj4oYBQZsN1", - "value": 200000000, - "chain": 1, - "index": 2 - }, - { - "id": "36de98ad2db9129e3b2982e0b028f3994dabeecb75b0f80f055e8d0427218a18:1", - "address": "324RMNET22VF4qLHUcVJtvWKVwbNDoj8Sv", - "value": 300000000, - "chain": 1, - "index": 3 - } - ], - "transactionHex": "02000000037361356fafd67e531c5ccdd4ae7c9fcb28d498fc9a871a41867bea65cb573ed001000000b6004730440220677bc84538554beaf558e0b0e1efac288f86c2ca63a73f2ef782dc512b6cb23002203a4eb1c18966b1aa851bb1dfcdde64386b67b7c12dac8afebbbe6e5ef1fa3ee94100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff06ea295f1d00c69f95001301e5cc44343e0dd3c467b3433d73498954941e5f6201000000b700483045022100d24f1412f235c8ea11eaf3101732a635838d96e00ef509124e536fd6d45d46b30220123570ee1cd6de33da822feaff0e7c9ab3b59b638dc8d05821019304e6325fd54100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff188a2127048d5e050ff8b075cbeeab4d99f328b0e082293b9e12b92dad98de3601000000b60047304402203a7dda6e90a17e5dc1980c905e24ff7bcfd777e6570a5a2d39f2afb36c15b10202201126b415377a19df9b837b15cb7b73703268489bec5a19c0ae5e48efb85ab4f04100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", - "coin": "bsv", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "5ede0a38cb9f19cd482144bd8f4668b24fc640ef54372aa62e38548d3b66dd22" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json index 539b10dd35..ceaa47966c 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/bsv/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "02000000037361356fafd67e531c5ccdd4ae7c9fcb28d498fc9a871a41867bea65cb573ed00100000000ffffffff06ea295f1d00c69f95001301e5cc44343e0dd3c467b3433d73498954941e5f620100000000ffffffff188a2127048d5e050ff8b075cbeeab4d99f328b0e082293b9e12b92dad98de360100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f1040000000000fffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce0200000000ffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb60300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "d03e57cb65ea7b86411a879afc98d428cb9f7caed4cd5c1c537ed6af6f356173:1", + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", "address": "37qPMKZpagdNztA82mXrE81ch2kPzYxEnH", "value": 100000000, - "valueString": "100000000", "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "625f1e94548949733d43b367c4d30d3e3444cce5011300959fc6001d5f29ea06:1", + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", "address": "37VmFTmUhwppU2FcKM3uawLjj4oYBQZsN1", "value": 200000000, - "valueString": "200000000", "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "36de98ad2db9129e3b2982e0b028f3994dabeecb75b0f80f055e8d0427218a18:1", + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", "address": "324RMNET22VF4qLHUcVJtvWKVwbNDoj8Sv", "value": 300000000, - "valueString": "300000000", "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "bsv", - "txid": "d62ccec28180bfda03f1a8676bfbc568bbf6d228b14c5dfd71ca2f760dffae7f" -} + "txid": "584b61466c05a64b86f5f8c419a532574607c3770ddda1c53d988ec158b50195" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json index a631bdd747..5cdb27be31 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "c04a7db78c3d2413cc07c51d6763d47802d61720097e884f19902e3e2195cc3b:1", + "id": "c35632d302cbce17584464d2932d93aab8be0f10ce2507a97a5a9d2c7e1a177b:0", "address": "3CrAfG2D2h7NRRHBG3q2tQWX267r7vr228", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "65ab17b74035f0b0161cd42250eddd39d752e0a4d017399df46c83f688dde97d:1", + "id": "a94f373ba53af0a6d35991c460149b1f3bb2c6981110ca505248b2c6e673d997:2", "address": "31q5r9bTAnNqw5w8orWip8dgeXa4NLYJ9N", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "32c8cc0f1ea4790393cae788d054764a93f83c062dfaa94925c6316d76609730:1", + "id": "2ced3812039330d831d4546175fc7486cfbc2feb754e5ce5e5df5867ae677056:3", "address": "34brE2zXJvpFnjutLqyH6chmJ8EjU8Bhnx", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "01000000033bcc95213e2e90194f887e092017d60278d463671dc507cc13243d8cb77d4ac001000000fc0047304402205b0f840d3f63479f243a7adb287406145c349fe56b3ad0ba52c08e602d71be72022054c37207b46322d6b5384c1621d35c4c062ab1069b21745a1b6c30ed0ac21a920147304402204dc0bd89c096c01a97188144810fa1333a4d11fbbea0d71007ea00e4d9d745930220111aa9783455c8585009e55002120877e485bbd01b970d725a00d6ada8490b94014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff7de9dd88f6836cf49d3917d0a4e052d739dded5022d41c16b0f03540b717ab6501000000fdfe0000483045022100f133c0ef694daa787a723df513126c07fb8f29264c0993c3519e7f66d43a9371022014c89e5d9ea4a5d2f7c7b29460f75de9d4ae567612bae630fcbcb2ccdc676347014830450221009e0dddc122d59fbf7f83bb5c6eb6fa6ba25ae555f69923b2ebf6d298028eac140220260508f2cb3ffa07918a75c2b182ac6183d0a08980d64a4f942f5c75512dd107014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff309760766d31c62549a9fa2d063cf8934a7654d088e7ca930379a41e0fccc83201000000fdfd0000483045022100ee2c9fd389fba6678474b15a743a0c2cd70d21ab54c95c9f2f2c7d7735f77cc6022067c140815fe31d3cf32a6e223e97d236f75e9f4941849b3862784e1ca193bd6a01473044022075e06f81c2ca901ad50e6d5eaed190a6ab6b14da1354cf76e1edff64887dd7c6022032a41d9d60b4b0f638ab25b1780cb24eeeeb3e8b154b8ee4db29c90a73805fb9014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "d4f4bb4ede1b10bcfd2b0585a411ad4b47979843295cdbcd47d3405f8fab6d7f" + "transactionHex": "01000000037b171a7e2c9d5a7aa90725ce100fbeb8aa932d93d264445817cecb02d33256c300000000fdfd000048304502210090afd8e3bfd9e080ebf66d1367d1947033c5c8682558d14de429412152df5e0202204d9e6838c10d2c863a8d3ef6114b4beb4663eaa2189e56c87be3ffa81a2c316301473044022032bb84e66cf44a3ce2a9114b06c616b8044b5df4ae743e779dd7bdbaab31093c02206ae22a743cbd4c59996ee44044431363ee9d1f0b8468c3539aee9d692f936a52014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff97d973e6c6b2485250ca101198c6b23b1f9b1460c49159d3a6f03aa53b374fa902000000fc00473044022020ca41765bdfec55a1f1467111e699fb44b85d268efe5462ed5deb85596393f102203f1e8066f3ddb4d7bee5397b41593fe1ff99a3d72dcaa361e4a0ba8e59a2ae430147304402200934c3a7471cc655e73e9a9ef5994738a621f43081a585ceb7e2bb0470a3b74e02200177e4ea17e4ff5418fe3535fa2c2a43e9ad433f87372b317c11de131de5a8a9014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff567067ae6758dfe5e55c4e75eb2fbccf8674fc756154d431d83093031238ed2c03000000fc0047304402200f5e67793a44288724dab7136cd55e1e21442da67660d1c68b0f4816389253d0022077a9c303a80a63d703114504915131d24e867450405b78b42fbf3520b58e177b01473044022050243f1fc531961c7bf1cc63a08d823edf6a75524eb1f75d70846e8f657fb09d0220747e1a591f2d08151b8391f7790f9a6e62e8451ebe468ca42338ddd570e75aed014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "a0455b558005c37d3927a82712bb26cefa467bde2f89bc1c97a0a2645492b873" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json index 9923605283..1287fd4efc 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "d03e57cb65ea7b86411a879afc98d428cb9f7caed4cd5c1c537ed6af6f356173:1", + "id": "818236f569e2c257866e3b2b2f496d32b9972d67bbae0fffe10bd5d15c439a28:0", "address": "37qPMKZpagdNztA82mXrE81ch2kPzYxEnH", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "625f1e94548949733d43b367c4d30d3e3444cce5011300959fc6001d5f29ea06:1", + "id": "3c8a8235f781763203ceea667a440934e00ab639866664a04e18fc8b14862b1f:2", "address": "37VmFTmUhwppU2FcKM3uawLjj4oYBQZsN1", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "36de98ad2db9129e3b2982e0b028f3994dabeecb75b0f80f055e8d0427218a18:1", + "id": "959bb11cb05102765373e1174b0ef61d75ca7b81d3245aa82e9756219cc360dc:3", "address": "324RMNET22VF4qLHUcVJtvWKVwbNDoj8Sv", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "01000000037361356fafd67e531c5ccdd4ae7c9fcb28d498fc9a871a41867bea65cb573ed001000000fc004730440220690f6fa247c01346a9d04e91c67c4d34a2035ba3b422b8399521ea6576f2a0fb022066d64cccc949cd48c2c71fd7001e16139ef3edba02d0675a2b3cf84ac05b158d01473044022047962b853b2278054faad3ec629885400b4b9190461ccc33f8a38aadf352a573022023068648731674004d5a04a1169a4ee119dae9a64e5f37f57917d45bf7e79037014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff06ea295f1d00c69f95001301e5cc44343e0dd3c467b3433d73498954941e5f6201000000fdfe0000483045022100c663966196a2a0f5431c6fed66d24b09ded00b55f8dda3393c174ec231d5926e02201ef03f4b8d79950906a25d9c1d53ffbb05c671e9999373d3cd0b2c74ce00c0ab01483045022100a1c2d0316e296520d07d89586dfc48bbf429840c5c7c46cf0c259e927b4d5fba02203640217e20731de537236aae8c8e123e641eb7a4928c313f0dfee98fc7977862014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff188a2127048d5e050ff8b075cbeeab4d99f328b0e082293b9e12b92dad98de3601000000fdfe0000483045022100e445044e3b8882d615fe031c751d2a80ddc90f4bf4b0453135118e69a51a6d29022007ed721398153b53822bc155fbbfbb85d6ae092d4d82a03ff28c5e4feb77e6b201483045022100f33e47e7b00f0cc5508e9b28b9e786ba6868073f6208dfc6fe5c029a5acc4c22022053c8bf3661b4184034e36004afe1334d8d3df85c07dab5881746e1fa4e983a4c014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "52f0f490d721d16ba390bad3e35375a738c54b7683c5e196b0a36fdb81181293" + "transactionHex": "0100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f536828100000000fc0047304402203bf1f574c794fd8f68e90722c57cc93ce136ccddf3b30b5ce64342c89c83a7f3022019e8c18c6c94acd2c384c76f65ad417dc0c729fcabf8c20a77c521641b751a0301473044022100d091b48bd6cc8e7955fc281c313e2f43ae4caee4326cd1c03f84ae179de5e5e6021f32aeb1dcee1695875f459b40a7fabdae99d3991338dc101dffcfd9a18f85bf014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c02000000fdfd0000483045022100c26df93a70b8383d26b033a750483a33ebe2474bafc640ff376ad9eae4d2fb95022042154846c2f042cbfce1d59fe22620ea7433552913c027588b9fbd6da43eb846014730440220477c29b238a95f6574eca9ecbb4d71e32696a1e0fd1f4e9c471838c07e0637fe02201365e92f8ab0b901a56f5258ceabc278967645503caef4a32c0c4c00f8283a2a014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b9503000000fdfd0000473044022049ed363ab4890ea65ce8fbe76030fa329ccea35dba3aaec24582838eb6139d7c0220072794c17dbc26de84a25e2804f5408115f12437c9bb50bc3abb713c4e5a297601483045022100c278f9d719f0071d56091c6b8dc7abe911e9df0512373505ed82a180f3f2b2f5022012db544b4301d259b8419ed49bd36d76265e834e9536efee8c867f9f4b4f11ee014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "328a694e782f085a82ec01a93056c57541adca82ce3007a0f910f1b2291c1d24" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..cd3e0be8e9 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a50100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f53682810000000000ffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c0200000000ffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b950300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a82391000100c10100000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0100e1f5050000000017a9144365f80ae9830dab1d9124be68c74c2fa23bbc128702483045022100858c9aa2a8a09e21aa6c2690d9310d29b611b5c3c4684a278a35df474b77d2c5022006557c234f65761407cafba42273f10380c3f0fc672fb78a3d19d7d4de1953ed012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f00000000220202d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc61483045022100c15ce99736373c306708f8cc510a4ad85e109c0482918cde4cd64957eece542a022063a15d21b3c13ed5e5bc350b3bc677183c4041cca4b90c25ec4318f4f2d67dc20101030401000000010469522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53ae2206029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d148374ad8600000000000000000100000000000000220602d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc611403a82391000000000000000001000000000000002206030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3514e15f6f2100000000000000000100000000000000000100fdfe000100000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0300c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b0000000017a9143fafee16e19a14db449ab3a57da1fd3ef89daa59870247304402203eac5776ee059ab03970aa4de32186769f24c90225b015b1c2af58f900ce1f9c02201c8ab9bf330aff31efdf9937e4bdff4a79629df2e506a445387c5404d5fd6f07012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a7483045022100c4767d763ba74be1c9e39cc0972e31ff89865b03973f218c1ea2cc26334be8ae02201e164bca6f26364ee522d967aa70ea53b00c548a6f876478033d629759a3380501010304010000000104695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453ae2206021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a71403a82391000000000000000001000000020000002206026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f3024148374ad8600000000000000000100000002000000220603b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b914e15f6f2100000000000000000100000002000000000100fd1e010100000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0400a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e1110000000017a914040c4ab99a665c767adaa50fb28dce2ae514363b8702483045022100f1048d424cecee8bb0f80f884a141ac77d66ec734d5b678e7179c21f0dd6999d0220652a35be4ca4e7acc73ad8d45e8483cba4420e0f99c7b77608cbba5ca507966b012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c483045022100e722510ad6c3aabcad9684e302c07bbb56c8c8fa860d68d800d1d3582b4bdee202202e40d997fdec7dc1c8b61d450b75cfde8c285caa12cd7b5e8897083ecad0ea5e01010304010000000104695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53ae2206022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d14e15f6f21000000000000000001000000030000002206023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c1403a8239100000000000000000100000003000000220602b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b148374ad86000000000000000001000000030000000000", + "coin": "btc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "8f52b9ad56724efdcd392f50d8cda59e333d2eb7a3e3b2ac0edf191463a2751e" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..1dbe933578 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "818236f569e2c257866e3b2b2f496d32b9972d67bbae0fffe10bd5d15c439a28:0", + "address": "37qPMKZpagdNztA82mXrE81ch2kPzYxEnH", + "value": 100000000, + "chain": 1, + "index": 0, + "valueString": "100000000" + }, + { + "id": "3c8a8235f781763203ceea667a440934e00ab639866664a04e18fc8b14862b1f:2", + "address": "37VmFTmUhwppU2FcKM3uawLjj4oYBQZsN1", + "value": 200000000, + "chain": 1, + "index": 2, + "valueString": "200000000" + }, + { + "id": "959bb11cb05102765373e1174b0ef61d75ca7b81d3245aa82e9756219cc360dc:3", + "address": "324RMNET22VF4qLHUcVJtvWKVwbNDoj8Sv", + "value": 300000000, + "chain": 1, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "0100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f536828100000000b60047304402203828c6052fc53c573b8ad653ac80fe26e1d1ddde683faca519b2820212da4f7d02205e7e55a1cc552687f5a9ec8e9bd135557c09d9b2aaa0019929288c630fd1ceea0100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c02000000b700483045022100f758208f72138002f57aae96b15a7b60a059d78da132c0e3c7e0abb4bd567f3f02205ce0a003b117d77542d8e1a46eded5c661996e69ee123c146d65338b9cd881250100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b9503000000b700483045022100adf4e985196efef77c9bd658691e056c54e2ef6b9b829f1bec67f5d457ce828f02206c2c11f191d754f418383635d37b2a47f0539857e75b631f9637733fdfc678850100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", + "coin": "btc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "7cb327f1dde5aac990f3b053a4aa24d1dc2009d682c5c76062d9cb5737feb36e" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json deleted file mode 100644 index 97ffa2b82f..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "d03e57cb65ea7b86411a879afc98d428cb9f7caed4cd5c1c537ed6af6f356173:1", - "address": "37qPMKZpagdNztA82mXrE81ch2kPzYxEnH", - "value": 100000000, - "chain": 1, - "index": 0 - }, - { - "id": "625f1e94548949733d43b367c4d30d3e3444cce5011300959fc6001d5f29ea06:1", - "address": "37VmFTmUhwppU2FcKM3uawLjj4oYBQZsN1", - "value": 200000000, - "chain": 1, - "index": 2 - }, - { - "id": "36de98ad2db9129e3b2982e0b028f3994dabeecb75b0f80f055e8d0427218a18:1", - "address": "324RMNET22VF4qLHUcVJtvWKVwbNDoj8Sv", - "value": 300000000, - "chain": 1, - "index": 3 - } - ], - "transactionHex": "01000000037361356fafd67e531c5ccdd4ae7c9fcb28d498fc9a871a41867bea65cb573ed001000000b600473044022054a4bace32d9dc165c64f2fd06ca37540482d4492b8fcce40d4c217e603f19aa0220661b51f34762c842d75843645c877694c3de84c77bc1d87cf0a9f2576fdc13260100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff06ea295f1d00c69f95001301e5cc44343e0dd3c467b3433d73498954941e5f6201000000b600473044022007a5ebd42497fce7d761e29258d8bb751f7e1d73317f94805cda27bb059dbdc5022011a3110453c518595ef71c42694dccc9f155ef2acc5b591ae4671963f0fc66bf0100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff188a2127048d5e050ff8b075cbeeab4d99f328b0e082293b9e12b92dad98de3601000000b700483045022100ffd6e869e4fb591f228edaa034dba09e3ad4a010d5704d25011e4d4031e7886502204c4c80f102570127e60378a5fc6e96feb74ff4ea1848185ffa22cd88901d29b70100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", - "coin": "btc", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "9db3b3967ec7376937be3a2c80d2af396cecfd3d4e30b600db33943755159ae2" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json index 1ff6ca0338..97c849966f 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "01000000037361356fafd67e531c5ccdd4ae7c9fcb28d498fc9a871a41867bea65cb573ed00100000000ffffffff06ea295f1d00c69f95001301e5cc44343e0dd3c467b3433d73498954941e5f620100000000ffffffff188a2127048d5e050ff8b075cbeeab4d99f328b0e082293b9e12b92dad98de360100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "0100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f53682810000000000ffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c0200000000ffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b950300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "d03e57cb65ea7b86411a879afc98d428cb9f7caed4cd5c1c537ed6af6f356173:1", + "id": "818236f569e2c257866e3b2b2f496d32b9972d67bbae0fffe10bd5d15c439a28:0", "address": "37qPMKZpagdNztA82mXrE81ch2kPzYxEnH", "value": 100000000, - "valueString": "100000000", "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "625f1e94548949733d43b367c4d30d3e3444cce5011300959fc6001d5f29ea06:1", + "id": "3c8a8235f781763203ceea667a440934e00ab639866664a04e18fc8b14862b1f:2", "address": "37VmFTmUhwppU2FcKM3uawLjj4oYBQZsN1", "value": 200000000, - "valueString": "200000000", "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "36de98ad2db9129e3b2982e0b028f3994dabeecb75b0f80f055e8d0427218a18:1", + "id": "959bb11cb05102765373e1174b0ef61d75ca7b81d3245aa82e9756219cc360dc:3", "address": "324RMNET22VF4qLHUcVJtvWKVwbNDoj8Sv", "value": 300000000, - "valueString": "300000000", "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "btc", - "txid": "0480ae84648c6612413ed94f0fcf5608cbaaafed66e699f591d2d851cba5eafa" -} + "txid": "15454128619e030a6338799449934241c024abf40d52585e9e003eef622636b7" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json index 8818218299..a11b157f4b 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "a618341e107609ceda44e25106f760e7be24395b2e065e1e3406bd6426445b37:1", + "id": "887016e6d1109bdb219ce8ce3671879f4d3410eb4abba6ca760dcaf88834c02e:0", "address": "3AhqDeNcRqKug9f6AZAyRinKjPp3VCggdB", "value": 100000000, "chain": 11, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "f53c755d343070869f44b4a82cb9f776e105f84e426ea95211ff2ebed5e1f9a9:1", + "id": "16839837f79f95b5cbf22424ea879f8d21a852208bd5539b79c6b004a46d9221:2", "address": "3F8siz584kAZfJW3mcA28DUZbFD8yYx7Zm", "value": 200000000, "chain": 11, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "621ff0c097d01259a804a515b24621c3593463d360ebc084d64fef7cc6a3871e:1", + "id": "0bffcb3fad2801934dbf7b555b3bcec9dbb2d3377b79f820e8d3cdb16576f1b5:3", "address": "3BKBVWeK4w2P3H6YK8AE3FVxZ5nsRNU6wX", "value": 300000000, "chain": 11, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "01000000000103375b442664bd06341e5e062e5b3924bee760f70651e244dace0976101e3418a60100000023220020b858b5820bca303626d8d5a5291b5a0dcf839c76d61c32eb226c9d08fd06e3a4ffffffffa9f9e1d5be2eff1152a96e424ef805e176f7b92ca8b4449f867030345d753cf501000000232200201063b62f857751aaeaf8c7ef5636d48511fac0008f8ee69e4b1a006b2b74e553ffffffff1e87a3c67cef4fd684c0eb60d3633459c32146b215a504a85912d097c0f01f6201000000232200202b16216e81e558810abe7604a67aa97b737f64d40b3de22d5fccdf2b6c972f03ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87040047304402206e38660a1441cc0141a702e6b7b0b67904edf35e4f18647610d0a2b0803ed44b0220119b38aefc339f4b38bc1cea8004a0ed6909341ba6a1b554c7e7db530bbc70eb014730440220407749b8fe190c9d36d3afbba8441103992c34912cf7b6bb43a5f832f51b000b02200b4678382057fae53d7536e444d1437369aef749f70ce50e2c90b5694be542fd01695221032484ff761a521ee38b094232984175f1db28c90fe304c7242c0057330b6e024a21022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae04004830450221009c58fcb4784c17f67029e837ce6353128835e354eb489424f90f63ca92a75c6302203d6753e8dbe20fcc2062862236fba54a4f080e06e852c1d205077be0ace2d9b10147304402202da678e0afd17c85347b2a77591f825761114c3995ccebbf4481f048fc26dd9c022054300fe75a0741bb77f1a0d30f596b52c08b3689c927693ce9029555ebeb29aa0169522102678b7a7d9dc0736691adc5b681808f1bbc981563ffa23e1c302d0a4006e7fa252103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae040047304402200cf772b092f250c1698b76a69b1a349a52570d4381d7bf9e0b2349a8ba1f00de022005a31665d507fabc214896bbbc4f2a9bff020408552264cdb2b352ca89518bf00147304402207592adf6b9885d4e47cdd259783fb782f63bfb30dc5251b0ae4e6a84813dd09d022044daf2cc62dd17fb64f846152158c3fa04757b14e40dc80138a1dccfa5b83f720169522102be72efeb6abfd486e92e30221f854983722118d820c90d5b2999b8623b27abee2103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", - "txid": "0c411da8903d30e452f29a953050ff6158e4bf6c5165738af9fe7a7ef9f80ed1" + "transactionHex": "010000000001032ec03488f8ca0d76caa6bb4aeb10344d9f877136cee89c21db9b10d1e61670880000000023220020b858b5820bca303626d8d5a5291b5a0dcf839c76d61c32eb226c9d08fd06e3a4ffffffff21926da404b0c6799b53d58b2052a8218d9f87ea2424f2cbb5959ff73798831602000000232200201063b62f857751aaeaf8c7ef5636d48511fac0008f8ee69e4b1a006b2b74e553ffffffffb5f17665b1cdd3e820f8797b37d3b2dbc9ce3b5b557bbf4d930128ad3fcbff0b03000000232200202b16216e81e558810abe7604a67aa97b737f64d40b3de22d5fccdf2b6c972f03ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87040047304402207d54be589b6c1025283b43402f788e5df2823be0c08a67d00c707f998d33905f02200abe7d2722a62f66fd4582af266b36254c8966184b4383e935aa76810c85b88d0147304402204427ff567bc701a9662a74bd730bc70dd22d30695f50678ad81785b4584c8845022028a7561021e5fdd140d30b3abdec13c05cc448da9e5e38bfc0cf9d693735732501695221032484ff761a521ee38b094232984175f1db28c90fe304c7242c0057330b6e024a21022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0400483045022100da3a4808be7bb6ef4ac1534e310b79b6297c6aaae7fb36540e598fddba1b3e83022013626ce8a8512ae8252edb8c635b003c588a8369480821152f5d96327e56e1d20147304402203b0df6269ffffa3635a9698bd06863c9a4193547492953ca52b92609dbb78e0c02205200d9013e6eef136eba572406231127e1ed8cbcc36548c14234fe68d163064d0169522102678b7a7d9dc0736691adc5b681808f1bbc981563ffa23e1c302d0a4006e7fa252103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae0400483045022100bb2721b111314619ca01a60ceba591ce63ee7b04901584eaa6194f14de421e080220209f5acfcb77f27c3659913590f2ae11f06d40947457faa6065248059349b445014730440220585ed3ebe3361cf7b77c5ca45074468dd71fd16f26c6ba2c0a5126c43dd6751a02207a894f15c968736063a77b62aa3a7e5e1188d893c1392d4f37ee92310d5538590169522102be72efeb6abfd486e92e30221f854983722118d820c90d5b2999b8623b27abee2103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", + "txid": "032cba72ac12735687826665632affe4270704422534de39b72fa14d07d3b83a" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json index 67526f0941..e620a4c709 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "4e7134b992a57b35acec657974fb0dbaff5304f6b3645037f05f526352b18e50:1", + "id": "c3d8cd849b9f1939bea833ef14735be7c293bc7739241098ce386b968420aa4a:0", "address": "3PeXf4UiyRneENKQrarZ3yt9dwTM4xgFZQ", "value": 100000000, "chain": 11, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "98a101ffd98d2ce1bcddfb4b34ac071ac54da417377cceb468ddcdcc4ef19a3e:1", + "id": "7f0246d1beeb93f1990650508d4dbfb6a35ae4489abb5aa6724896efb4ad8c43:2", "address": "3Qz9psfsDLD1F7W2hdKzcyPxn16BkSxpZN", "value": 200000000, "chain": 11, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "67b1893259423705b645ccdae1c050ea8e43017bd292d97e0e5a80b8405ad5bc:1", + "id": "6cc0e85f057729f4485b2051c3f2ed6dbc8141a6283cd3697f52f90d482947e3:3", "address": "381yBi3uNArm5xCHCtW4FGay4wJRzSGegj", "value": 300000000, "chain": 11, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "01000000000103508eb15263525ff0375064b3f60453ffba0dfb747965ecac357ba592b934714e01000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffff3e9af14ecccddd68b4ce7c3717a44dc51a07ac344bfbddbce12c8dd9ff01a19801000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffffbcd55a40b8805a0e7ed992d27b01438eea50c0e1dacc45b6053742593289b16701000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100aa62e3414f5dc1cd78f717d92c52d498fa97dca3fc56cf8ee5b631f87501851102206e878a82890da7c8f707b48caf0a6393914e5d3f56d50e141ef3c238374e25e301473044022066751e62716f4d47f256564df3f6a06b22666a8652a5a885b3600a7917657feb02200d0e001dd4b509876f3d9b2d39de8ee51d3c7cc49115457c0db45921bf97f3de016952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0400483045022100b77e2c9637ce3b913eec2b3bb5359156d04186691089ff8b948404a76c05241a02207e9b8dc1d522a441de265fa2a5277273b68ed18a0111c692a3d6a3ca190a6bc901483045022100d82d25499dfb8d742d95de25b2a4e81a81a5bac5131339473aad0c6efcec223602206af0ac7b100994db30ca6dcdfbd2a00bd171df9bd8eca91bfc6393ec74c5497f0169522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae040047304402201f292e9f4069a21441bca20beb7fbbada6252b25f27674e70472c2d6a68a718b02201af88ca7f39a701ba106e2d7ffa49d09fc529bbcab91dd367721d5b378b5700d01483045022100a88a210f6adb9df297ac14d138951eedbbbf27dcf917b00227ece3c23e3c770202201d659abcf102590729a2cfa5bd3f9e4d53d52ff308b4da9a375cd0ee23b68c270169522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", - "txid": "8d472ed4dc48cb0dde3d89692d373193660fdbfedf7823a9ac9134fb46de2a3d" + "transactionHex": "010000000001034aaa2084966b38ce9810243977bc93c2e75b7314ef33a8be39199f9b84cdd8c300000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffff438cadb4ef964872a65abb9a48e45aa3b6bf4d8d50500699f193ebbed146027f02000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffffe34729480df9527f69d33c28a64181bc6dedf2c351205b48f42977055fe8c06c03000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100ac7a0a1f45645b1b550f3e44b1c4db2b6e41b702e30c6ac504407e240b305f6f02204a376cf87826c3ec0ea05ddafc05df3f1d9c62f7f213041346a222eec309fb980147304402205b2c335f1770f77bca9264687efd55eb074ca0ca176d5fc48c0d7cd4e7c85af1022027bacc464154faadf0ee6ad8bade5b188ea5afdc8f5262644e3c00e094e2c83c016952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0400463043021f753406a28aa9b4b47430cd0c0e4bd0d392e99ecf58e85ed7a1bd9c43d1c3e1022073bb1d8e33981210760b609c056862464b4a4cd74a9fb5510a57f4a88be7ec4801473044022010221b0c005bbd30a61eba6b4f4031fd4a4480de816134274e050043b31a08c6022038e14ce618fa997209db4e715a2f6385e8dce21e76c397d6182becc99af7b8620169522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae0400473044022018ceec1e4a56b15f767b3dcb6b0cda382e225ded7f450a732eb080bd0837101502203570e94107651c6a590b8681b7f8795a572cccec1395509960df8270ff94859c014730440220167f9a698cc6d7b4425226ef34f3db8197e701a284de0962108edb774fe7d45a0220171dfed54a1c56911388621589bdb77d6d67c5b5d06560e9e2322d5f32a523540169522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", + "txid": "c6865e1296858dbbcda5eed4de7b07cbf959802acd27ac26ca68120e76f521be" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..f46338a14f --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a501000000034aaa2084966b38ce9810243977bc93c2e75b7314ef33a8be39199f9b84cdd8c30000000000ffffffff438cadb4ef964872a65abb9a48e45aa3b6bf4d8d50500699f193ebbed146027f0200000000ffffffffe34729480df9527f69d33c28a64181bc6dedf2c351205b48f42977055fe8c06c0300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a823910001012000e1f5050000000017a914f0da56d9bb06310289d808a22ad68457a760ac038722020386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c548304502210097c2aa44c0f495846c9d3661235e7b6ce9fe8fd8337001156eff75a1ade70466022033608757fd1d2fbcc26d9379ab0ffc65728a9d3d1a0faed1ae13c49f97719468010103040100000001042200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae80001056952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae2206022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda414e15f6f2100000000000000000b00000000000000220602f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e227003148374ad8600000000000000000b0000000000000022060386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c51403a8239100000000000000000b000000000000000001012000c2eb0b0000000017a914ff888f939bb7911883d2a990b48b20449b0a3b6087220202787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd483045022100e8cb817725036eaa7ef25aa5b3f75038e3a85b80e3400dd4c49772392e88358702207da866724fb735ec1c11defe1148b87593465ddf669d2f8265dc3438ff381986010103040100000001042200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104010569522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae2206021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d148374ad8600000000000000000b00000002000000220602787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd1403a8239100000000000000000b00000002000000220603f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff14e15f6f2100000000000000000b000000020000000001012000a3e1110000000017a91445665f38d00633b9a2cb7f73c2fffb9dc6c95efa87220202a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d8473044022000d7b0ff8fbe7c0e977d24540f769406d66930a65e7821f165f33a6afcd25ce1022047de2d86c480fbc27a4d016f1b78a1922076be3a721397e10e23719f91c23133010103040100000001042200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06010569522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae220602a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d81403a8239100000000000000000b0000000300000022060391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f18148374ad8600000000000000000b00000003000000220603cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a3914e15f6f2100000000000000000b000000030000000000", + "coin": "btc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "54893c251e7356739826e0ee00127daddc52bb1280b9a808a73678f0d3b0e79a" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..181e873973 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "c3d8cd849b9f1939bea833ef14735be7c293bc7739241098ce386b968420aa4a:0", + "address": "3PeXf4UiyRneENKQrarZ3yt9dwTM4xgFZQ", + "value": 100000000, + "chain": 11, + "index": 0, + "valueString": "100000000" + }, + { + "id": "7f0246d1beeb93f1990650508d4dbfb6a35ae4489abb5aa6724896efb4ad8c43:2", + "address": "3Qz9psfsDLD1F7W2hdKzcyPxn16BkSxpZN", + "value": 200000000, + "chain": 11, + "index": 2, + "valueString": "200000000" + }, + { + "id": "6cc0e85f057729f4485b2051c3f2ed6dbc8141a6283cd3697f52f90d482947e3:3", + "address": "381yBi3uNArm5xCHCtW4FGay4wJRzSGegj", + "value": 300000000, + "chain": 11, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "010000000001034aaa2084966b38ce9810243977bc93c2e75b7314ef33a8be39199f9b84cdd8c300000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffff438cadb4ef964872a65abb9a48e45aa3b6bf4d8d50500699f193ebbed146027f02000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffffe34729480df9527f69d33c28a64181bc6dedf2c351205b48f42977055fe8c06c03000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf870500473044022008f803a8276a5bb4c5d818e910e185f5212833eb808cd39bc305c15ec6345d2a0220323f437f6a7118f8c6b4a6c6b373b3018d3c4ed25b9149d9b64a6d1c6c0418e60100006952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae05004830450221009508613d107aa55ac2837a0c5f1425d48b55d30ed6a7f90945e40ca7680f3da2022039b5231227a7237d680bb0adba3aa4bfe4f355e1128bc181dbbcf07db3ca513301000069522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae050047304402206307490d80aa26421b98da586d95f1c81ec37ba5f0f7242a2775a601e249da3a02206f76f4b9d0eea59c81c98de0be090f8471fa5e58bbcd4e6cbcf2d6a0581828a601000069522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", + "coin": "btc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "709929d8ec6cba5831d4e1d494af9b0b575509182c502f325c192ff05b254f50" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService.json deleted file mode 100644 index dd00678658..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "4e7134b992a57b35acec657974fb0dbaff5304f6b3645037f05f526352b18e50:1", - "address": "3PeXf4UiyRneENKQrarZ3yt9dwTM4xgFZQ", - "value": 100000000, - "chain": 11, - "index": 0 - }, - { - "id": "98a101ffd98d2ce1bcddfb4b34ac071ac54da417377cceb468ddcdcc4ef19a3e:1", - "address": "3Qz9psfsDLD1F7W2hdKzcyPxn16BkSxpZN", - "value": 200000000, - "chain": 11, - "index": 2 - }, - { - "id": "67b1893259423705b645ccdae1c050ea8e43017bd292d97e0e5a80b8405ad5bc:1", - "address": "381yBi3uNArm5xCHCtW4FGay4wJRzSGegj", - "value": 300000000, - "chain": 11, - "index": 3 - } - ], - "transactionHex": "01000000000103508eb15263525ff0375064b3f60453ffba0dfb747965ecac357ba592b934714e01000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffff3e9af14ecccddd68b4ce7c3717a44dc51a07ac344bfbddbce12c8dd9ff01a19801000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffffbcd55a40b8805a0e7ed992d27b01438eea50c0e1dacc45b6053742593289b16701000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf870500483045022100dd31cecb0b88562c8d929efee59c74d9bfe6fc433ee9ce0e855ae4f151ff124802200f1a5360d36c8c7908caef77875f84adfd045e16e72c2b2e33d02454f656f84a0100006952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae050048304502210090a34fef00fabe0fd0ea1fb70dc6e643e76d0db0307b4b8f594c0b3cddc16a9602206e1945e0dc0757b6e570da0c8e599bf08a93f0bfb65b9c81d0714e6e87c9dea901000069522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae0500483045022100ac347901f8c1b73d0f082ab1e1973b09e46b286b904b3fda984a89695658498902203ea11bb6794f0e87336a7db93cd4c7857445744533f76e4ea630f4952a77ca8701000069522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", - "coin": "btc", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "4da1fb0b1f3129f6d2f268098f8febf20c029571f37d5599a2a48a7ecd1648ca" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json index c33e80b742..35eecfca48 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "0100000003508eb15263525ff0375064b3f60453ffba0dfb747965ecac357ba592b934714e0100000000ffffffff3e9af14ecccddd68b4ce7c3717a44dc51a07ac344bfbddbce12c8dd9ff01a1980100000000ffffffffbcd55a40b8805a0e7ed992d27b01438eea50c0e1dacc45b6053742593289b1670100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "01000000034aaa2084966b38ce9810243977bc93c2e75b7314ef33a8be39199f9b84cdd8c30000000000ffffffff438cadb4ef964872a65abb9a48e45aa3b6bf4d8d50500699f193ebbed146027f0200000000ffffffffe34729480df9527f69d33c28a64181bc6dedf2c351205b48f42977055fe8c06c0300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "4e7134b992a57b35acec657974fb0dbaff5304f6b3645037f05f526352b18e50:1", + "id": "c3d8cd849b9f1939bea833ef14735be7c293bc7739241098ce386b968420aa4a:0", "address": "3PeXf4UiyRneENKQrarZ3yt9dwTM4xgFZQ", "value": 100000000, - "valueString": "100000000", "chain": 11, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "98a101ffd98d2ce1bcddfb4b34ac071ac54da417377cceb468ddcdcc4ef19a3e:1", + "id": "7f0246d1beeb93f1990650508d4dbfb6a35ae4489abb5aa6724896efb4ad8c43:2", "address": "3Qz9psfsDLD1F7W2hdKzcyPxn16BkSxpZN", "value": 200000000, - "valueString": "200000000", "chain": 11, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "67b1893259423705b645ccdae1c050ea8e43017bd292d97e0e5a80b8405ad5bc:1", + "id": "6cc0e85f057729f4485b2051c3f2ed6dbc8141a6283cd3697f52f90d482947e3:3", "address": "381yBi3uNArm5xCHCtW4FGay4wJRzSGegj", "value": 300000000, - "valueString": "300000000", "chain": 11, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "btc", - "txid": "bc2f2749a68ae5230ecb90a559dcc301ceb7fdd1f23803b31a3e80e35f5d6a6d" -} + "txid": "f6e2efdf6719634a3ad9bce3a866f4540720c2601e89a87840ac2930f576d764" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2tr-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2tr-fullSignedRecovery-customUserKeyPath.json index 0bce86b1e6..1bb7919952 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2tr-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2tr-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "ce8d1a5021663dca935a0eaedf28ed79a1b4e4c0b261e108d9428c1ce53e0fa9:1", + "id": "bd94494ed5f5aeb83e54ad4cabf7fc5efefeb97b47f9aa8b79d87e104a2607ef:0", "address": "bc1pr6whavsvtjs9wukwxt9l8t8z4cj7erycw3aqg4szqja9q5prr77qyc6pqc", "value": 100000000, "chain": 31, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "c71d8096afb0144c560e2a31e9d6ee851050c410194f0f8fc86dfc9766026b41:1", + "id": "eafa0aefe4062420a2a50573ac6830483b30ebe79fce8da58cf071c172ffdbd4:2", "address": "bc1p8vl64kccrqxl9smfd9x5dq6wyspqphqezdd4wzj0d8jgdnw4xjdspsa7rn", "value": 200000000, "chain": 31, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "089e324919c7ca112e6455305c306d7b76861fa5eb694367e6607fb9536ba190:1", + "id": "ecaf045a0b2f7e1b667d5fe02f676ae788c24b4cebc3ff18ead8877ced13c7f2:3", "address": "bc1pd5enxvqupqlcz6tan6vkdgwrt2gxqdvx8xa75a86adtg6g60zhhq7054z3", "value": 300000000, "chain": 31, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "01000000000103a90f3ee51c8c42d908e161b2c0e4b4a179ed28dfae0e5a93ca3d6621501a8dce0100000000ffffffff416b026697fc6dc88f0f4f1910c4501085eed6e9312a0e564c14b0af96801dc70100000000ffffffff90a16b53b97f60e6674369eba51f86767b6d305c3055642e11cac71949329e080100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8704404735dc4d322754fb85fe39966226cd59b32753758682633dd77da42d5b6b06c3a2e4bb87be730d33e0e27598e0da16997c7bb9360f561cf1c9bce22e85ce566440a74b354c1deebef878da3a60781eb2c41c0f359d32420cb55b89316c8cac3df1bce7979993e0b8b246da5982d8dd3b27db7a713957bc311a2d6d15f5ba140e1144204fa2a74016854082e063d260de5401518db0566d853b3cfddd03484dea94fc11ad20d4c149c56e614423aa7c55c91d71b9b30dd8e8af29b9e04fc003dcc8ed3c3bbfac61c0d73d45b503a6ccd7415d3aa9ce7ac2fed592b892861b5ccd38869d5b6a588cc85d503a0d622e4c5a538fc4061d41a4d76943880028022adf565a2b5e7df0d083a33b8977ba2126df5628953c9f7cf356897a4985c5d98f97c75a7dd8cfe662600440b4089d7352c43450a044c1d36a42a404c2b567ba13ba3d8b55d6ec0f1f5509e504fe305ec2a2cb8dd05221f1db03f3b974e9e6d4c4d4132bee40939734e4555f40e09054a45d8ba86bed033ca6cebd074cb2a7066a3981933f6fa82e5a4a6541d50a15f0877c4b263e8f7816dbaa4a5e777f08fab04690fe993cadc4a4494906214420b3688855cfe427576031737562f66cadabf8e4b04e92ec6fa359edff6680b3f2ad20c74b86531a1df0f93372432e4c21524040a4037e3a828a1b7b99b391852345b8ac61c0e47e9d15b49db7b1487ff89d9c98507b957541d9b51bf2b3f2cd5b05b7722e98a3841eb28228fb5461898e0f0adf251d1c61c6645f686b803ecbcf1f4814f69515651bebba8bbfdf61248ec30583a2b4a9be8daa289fa828538bb7774d5186b40440da59c5513845e949b3c2d32b3f5596499cfed200eeeef11ba9b5c9b5ccbbc35626604dfbe49467a9cffa25193318ee83145a886cdefde8783c8303da40d10b2840faccfae1ae0b19916bb04218fd0863d3de3b6c773855b8d6ac1bec81e7dab85b5bc6d0850cd96293cab87cc89ece2980088b0db8cb7dcc6440547a5a7d96a42944208e827169785e0328bc78cf96ca17b2446fabc6f280729012332ee159b0772c66ad2085ed62cc40a0d24b22a0b0eae7b340c5873a73198856c41f5a21c7a56e0104c3ac61c04d62e502f2b741eb9a14720b5708e52a8ef0d9a21387b994307c227bc7a31965f1f4d5dbf948920c0f00c7a2f5cc74095649931ed3865afbcc46116199850510b611ac3446ef33a196bb71ce7090d1846940c792b6b55e73677db9a37fd807a900000000", - "txid": "e8702a9b1c0a9a6286d31ab2aa4839f1556008ef521e1903eef87b0cb48da4a5" + "transactionHex": "01000000000103ef07264a107ed8798baaf9477bb9fefe5efcf7ab4cad543eb8aef5d54e4994bd0000000000ffffffffd4dbff72c171f08ca58dce9fe7eb303b483068ac7305a5a2202406e4ef0afaea0200000000fffffffff2c713ed7c87d8ea18ffc3eb4c4bc288e76a672fe05f7d661b7e2f0b5a04afec0300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87044052dccbb98a041f88a7bb63d63b3468c862dd8247d7893837b9d343e4ba9be580b534b80d8ee30dbeb814f50179ae24494e9d0e87470313f2b42cadc6a06cd32d40b692e26f8fffb37af86284df6f3014ce0cd65dd25ee5026931394470be4ab60acd4e70dfe0d0c5d37d9f0db6bad07ad72f537a828947467a69d359a58a1fdff444204fa2a74016854082e063d260de5401518db0566d853b3cfddd03484dea94fc11ad20d4c149c56e614423aa7c55c91d71b9b30dd8e8af29b9e04fc003dcc8ed3c3bbfac61c0d73d45b503a6ccd7415d3aa9ce7ac2fed592b892861b5ccd38869d5b6a588cc85d503a0d622e4c5a538fc4061d41a4d76943880028022adf565a2b5e7df0d083a33b8977ba2126df5628953c9f7cf356897a4985c5d98f97c75a7dd8cfe662600440deb49e26d9aa7e0a04b8bcf224102454a72cdb39697d6efeef5fbabb99cf965ed4982ed3583db49b224dc62e8a628e062f4eec02ff6cc1162569646bb284d9e940b34d31572ec92b1c4b4e64e881a2301b3d468116dbbe53ddd83aa0a447254ce766f19af4051cf3c833166694863d1e40026ecbebfb1252ec637c273767f0c6b74420b3688855cfe427576031737562f66cadabf8e4b04e92ec6fa359edff6680b3f2ad20c74b86531a1df0f93372432e4c21524040a4037e3a828a1b7b99b391852345b8ac61c0e47e9d15b49db7b1487ff89d9c98507b957541d9b51bf2b3f2cd5b05b7722e98a3841eb28228fb5461898e0f0adf251d1c61c6645f686b803ecbcf1f4814f69515651bebba8bbfdf61248ec30583a2b4a9be8daa289fa828538bb7774d5186b4044008bd27d7225a8209060a10133aaf7de0cca256be396912627d9452a6043247a673b862cb06af3dacbc4e7bce1d74b9bc411c5f8922e13fc705e82cd2b18502a840cd72a1b7dbea3367ec18b26fb9f24a0c9ce76029c8cf38253ffe652fdabef40e7578a7ab54fbb98f75dd34c9c33ebc440baa1a99d3d52acaa9670e9f622e3ab344208e827169785e0328bc78cf96ca17b2446fabc6f280729012332ee159b0772c66ad2085ed62cc40a0d24b22a0b0eae7b340c5873a73198856c41f5a21c7a56e0104c3ac61c04d62e502f2b741eb9a14720b5708e52a8ef0d9a21387b994307c227bc7a31965f1f4d5dbf948920c0f00c7a2f5cc74095649931ed3865afbcc46116199850510b611ac3446ef33a196bb71ce7090d1846940c792b6b55e73677db9a37fd807a900000000", + "txid": "6df77f1daf826ad8d6727eed90433b402e0985792c7797ea4d6a81143e4bdb74" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2tr-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2tr-fullSignedRecovery.json index 0f334ba774..765a7d367a 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2tr-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2tr-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "9cf295ddfa67cfcc33ab4321f1c4f0c31a343069c841e41d352c7053536049ea:1", + "id": "7ca8ba68a39451bae5a9a72f9cfacbcb66962f9a30b9aa6b926199f55848fd3f:0", "address": "bc1phk6lhy2tka2kxsx6hjd3c0z2h2e0rcrere9lr3kqsg0p6xxqe2pq2ark68", "value": 100000000, "chain": 31, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "03335d059c6f363eb21687bdfb57b93ecae466f0582669afe5f56cfe7de6d4f2:1", + "id": "952d60c533de8911c2a3c8abf97c7609e501789360114ab2c30972432d661a2e:2", "address": "bc1punyhjurx29e2577msed4mzlu5py2snp6s2zwf2uux2ek5xk2ps6sxyqcqj", "value": 200000000, "chain": 31, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "9d6b8af626c6ce6c62a810f74f168768b4383ec49425a84b97d6240c2f273408:1", + "id": "3560f8d5fb32b816e22ce229cf3c4cdd2e52ca4b765455e9cbab9ffe2b79f006:3", "address": "bc1pgrsntg8rd9qdjf06demu0423ysxftqddx9twyqy38fsg9qyj82xs3y9tyr", "value": 300000000, "chain": 31, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "01000000000103ea49605353702c351de441c86930341ac3f0c4f12143ab33cccf67fadd95f29c0100000000fffffffff2d4e67dfe6cf5e5af692658f066e4ca3eb957fbbd8716b23e366f9c055d33030100000000ffffffff0834272f0c24d6974ba82594c43e38b46887164ff710a8626ccec626f68a6b9d0100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8704407bcbe161f409dc15ad0d638710a7afc6e01a4416554f656869bab4583313e1d07363f2493f703e48d8530a287e7ad5741b8ef43228b5fc27f0ef0fa96ae9c32840181542d606719f10c0c68d4013a657313e8ae18985f2cf9e390088933e19ffbebc397a04ef533e066ceb37533b8b9228968391e65300436ec71b55fb08dbf6c444201ce1b0b4d5d856368637b75808b138f042b335d23bb46d297f19b09000a8612ead20d4c149c56e614423aa7c55c91d71b9b30dd8e8af29b9e04fc003dcc8ed3c3bbfac61c0312363917d7b7b60c312a0a2fa761f885a76746769436ccd1ff042c9e9dc81495d503a0d622e4c5a538fc4061d41a4d76943880028022adf565a2b5e7df0d083d0cb8bfdb6c6e7213b38bca5978bd646de4a79848028a610ef92e4d7a302603d0440bed408d4810a3c5ba5752eda0e2a4b925af75536fb1db2cbad9f0e1b87c46b412c3cc6ee2a660c0b4c5b2d6c773602c239bac691550f721f3c2f0dd2d66f5b3940e30f1a0d82943aaaf0f70bc112268fe1673a10ca691fa4da54263e07a44f06bdaeddd069ede0e253f7611a06ee033f05dd91c4ae3bf8902138122378fde23b5f44202e67678ed40b48ac431f0b7be9a788cf4b53482d675aa7e4eeef6970b8bd7651ad20c74b86531a1df0f93372432e4c21524040a4037e3a828a1b7b99b391852345b8ac61c0d6ac24e8540ba9c29208766c42027c2cdef71c45e8ec41cd0fb66abb9ab260bca3841eb28228fb5461898e0f0adf251d1c61c6645f686b803ecbcf1f4814f695eb36bcc16894bb28839cab2e681a2dc88418268eb7f7b1a9b44cff569e1ef85804406b6d210a9ed0d1f8bfe0d7e38b4730066b9a477fe884f46446ddb8386afd6a76c86cadffddb04f4b1541f2cd6848153f6f5888620f286bdc8244b8ba2076fcff401c0cd579aeb31dafaf32e317ef606652e5c881abca3515c23c4b168d775422c20f2e552463205105c3f96f08764ff4c55c93d27165acd01264bc8fee32815c294420145fc970734cac345d322ea533f7e82b57c9758e49e1426091e7d1bcbb86e0cfad2085ed62cc40a0d24b22a0b0eae7b340c5873a73198856c41f5a21c7a56e0104c3ac61c13d64a0b237496a7450abb3375815d47bf93907317fe23b2d5c48759cd35fc782f1f4d5dbf948920c0f00c7a2f5cc74095649931ed3865afbcc46116199850510e6e4a517245c10ab719832f5ede9671bcec0c03d80e3f1bbc1a861601465de7700000000", - "txid": "39750e9863dc6f4296985a4212a0c9b04a992b4fb0ab93b7b1dc091f57d160ea" + "transactionHex": "010000000001033ffd4858f59961926baab9309a2f9666cbcbfa9c2fa7a9e5ba5194a368baa87c0000000000ffffffff2e1a662d437209c3b24a1160937801e509767cf9abc8a3c21189de33c5602d950200000000ffffffff06f0792bfe9fabcbe95554764bca522edd4c3ccf29e22ce216b832fbd5f860350300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870440dab3ce7de5a7ebba1ad528e7c8d63bb4e76027ed8f3afba43f6cd18706c9c88bd0a0d206e72cccc49c9f20886a3af9a7e0e8ff2c3ab3cfcca44823a17b2b38a8409f252a964b38bb8912e7ed6042497d42b2d98560b0c02fc04c1922f8feaa9e562fd418851cc61b8079e727cdb65831c15f6f61644665ce91709145883166539f44201ce1b0b4d5d856368637b75808b138f042b335d23bb46d297f19b09000a8612ead20d4c149c56e614423aa7c55c91d71b9b30dd8e8af29b9e04fc003dcc8ed3c3bbfac61c0312363917d7b7b60c312a0a2fa761f885a76746769436ccd1ff042c9e9dc81495d503a0d622e4c5a538fc4061d41a4d76943880028022adf565a2b5e7df0d083d0cb8bfdb6c6e7213b38bca5978bd646de4a79848028a610ef92e4d7a302603d0440b18803d002bcdeaa23a052ec7277621d82674176955cf58cd1bc550248da08e279b3c2cd98c0a1191827664565be4ef67686e61a08ff00c58ee31564ef25aaca40f84725946c9bc57e1ce5b2ede0333d767b26c83dd7cf18f3905122420a076f42c2630c5e7d39db1b7640944588ad13dd929bd78a2c722e32e270d8a14733fec244202e67678ed40b48ac431f0b7be9a788cf4b53482d675aa7e4eeef6970b8bd7651ad20c74b86531a1df0f93372432e4c21524040a4037e3a828a1b7b99b391852345b8ac61c0d6ac24e8540ba9c29208766c42027c2cdef71c45e8ec41cd0fb66abb9ab260bca3841eb28228fb5461898e0f0adf251d1c61c6645f686b803ecbcf1f4814f695eb36bcc16894bb28839cab2e681a2dc88418268eb7f7b1a9b44cff569e1ef8580440ad360516c463d126466908ffe34441a21b2bf2427fdff5d3084c4d37f771a2c732124f8f4820848a32d89adcd6541b4ae5efee978aef74339860b14bf9a1c832405206f5fff75494b4df5685d71bd90c91eba9fa5900a560c7d4b64c5862d8e37d50dc1dde666aa6b5ed0028cae6a2c83d2d92610940dbd7cf100faa86d122ee0d4420145fc970734cac345d322ea533f7e82b57c9758e49e1426091e7d1bcbb86e0cfad2085ed62cc40a0d24b22a0b0eae7b340c5873a73198856c41f5a21c7a56e0104c3ac61c13d64a0b237496a7450abb3375815d47bf93907317fe23b2d5c48759cd35fc782f1f4d5dbf948920c0f00c7a2f5cc74095649931ed3865afbcc46116199850510e6e4a517245c10ab719832f5ede9671bcec0c03d80e3f1bbc1a861601465de7700000000", + "txid": "7e2eb66172a9206d5fab6bde3b645506c7619de018956b1f7501bd50923917cc" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2tr-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2tr-keyRecoveryService-dai.json new file mode 100644 index 0000000000..37daa2ae42 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2tr-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a501000000033ffd4858f59961926baab9309a2f9666cbcbfa9c2fa7a9e5ba5194a368baa87c0000000000ffffffff2e1a662d437209c3b24a1160937801e509767cf9abc8a3c21189de33c5602d950200000000ffffffff06f0792bfe9fabcbe95554764bca522edd4c3ccf29e22ce216b832fbd5f860350300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a823910001012b00e1f50500000000225120bdb5fb914bb7556340dabc9b1c3c4abab2f1e0791e4bf1c6c0821e1d18c0ca820103040000000041141ce1b0b4d5d856368637b75808b138f042b335d23bb46d297f19b09000a8612e325f5fbe6b49895c08cbf9e52d26d769779d386635c86cc26b0b4b1b91475e6c40a627ebf90cbfc6244bea1880059effae39ead9aa975b2a04a14538467dc206fe68c98863cfa31e695d8f8447d4ac2629a6980b74f61aeb4613d7b8687e0522b36215c0312363917d7b7b60c312a0a2fa761f885a76746769436ccd1ff042c9e9dc81495d503a0d622e4c5a538fc4061d41a4d76943880028022adf565a2b5e7df0d083d0cb8bfdb6c6e7213b38bca5978bd646de4a79848028a610ef92e4d7a302603d45201ce1b0b4d5d856368637b75808b138f042b335d23bb46d297f19b09000a8612ead20d4c149c56e614423aa7c55c91d71b9b30dd8e8af29b9e04fc003dcc8ed3c3bbfacc021161ce1b0b4d5d856368637b75808b138f042b335d23bb46d297f19b09000a8612e3501325f5fbe6b49895c08cbf9e52d26d769779d386635c86cc26b0b4b1b91475e6c03a8239100000000000000001f000000000000002116d4c149c56e614423aa7c55c91d71b9b30dd8e8af29b9e04fc003dcc8ed3c3bbf3501325f5fbe6b49895c08cbf9e52d26d769779d386635c86cc26b0b4b1b91475e6ce15f6f2100000000000000001f000000000000000001012b00c2eb0b00000000225120e4c97970665172aa7bdb865b5d8bfca048a84c3a8284e4ab9c32b36a1aca0c350103040000000041142e67678ed40b48ac431f0b7be9a788cf4b53482d675aa7e4eeef6970b8bd76513faf7daf92673d9d95496f14c10cb75430758aa69ba585cbbf8483280eea396940b291e5058577aed1b34d6d806d5b657928a691abad4fe89d197322c9bb7b66ed6513f29faf4c7e9af8ce8a7e7d81092ef2ccb3fe46311e9097d3eae812af05176215c0d6ac24e8540ba9c29208766c42027c2cdef71c45e8ec41cd0fb66abb9ab260bca3841eb28228fb5461898e0f0adf251d1c61c6645f686b803ecbcf1f4814f695eb36bcc16894bb28839cab2e681a2dc88418268eb7f7b1a9b44cff569e1ef85845202e67678ed40b48ac431f0b7be9a788cf4b53482d675aa7e4eeef6970b8bd7651ad20c74b86531a1df0f93372432e4c21524040a4037e3a828a1b7b99b391852345b8acc021162e67678ed40b48ac431f0b7be9a788cf4b53482d675aa7e4eeef6970b8bd765135013faf7daf92673d9d95496f14c10cb75430758aa69ba585cbbf8483280eea396903a8239100000000000000001f000000020000002116c74b86531a1df0f93372432e4c21524040a4037e3a828a1b7b99b391852345b835013faf7daf92673d9d95496f14c10cb75430758aa69ba585cbbf8483280eea3969e15f6f2100000000000000001f000000020000000001012b00a3e1110000000022512040e135a0e36940d925fa6e77c7d551240c9581ad3156e200913a608280923a8d010304000000004114145fc970734cac345d322ea533f7e82b57c9758e49e1426091e7d1bcbb86e0cf1d85570e9fcc236c931721342e3b6757f122d9e001e83c1706d59da175dd73264083c8f4674c3f940a7eaef84ebb6065ea3c3e7681f246ea8998c737144e4467dd3e78ef340ee73ee13532df2d2704375796dae61613d9341cd3328fcf1ba5295b6215c13d64a0b237496a7450abb3375815d47bf93907317fe23b2d5c48759cd35fc782f1f4d5dbf948920c0f00c7a2f5cc74095649931ed3865afbcc46116199850510e6e4a517245c10ab719832f5ede9671bcec0c03d80e3f1bbc1a861601465de774520145fc970734cac345d322ea533f7e82b57c9758e49e1426091e7d1bcbb86e0cfad2085ed62cc40a0d24b22a0b0eae7b340c5873a73198856c41f5a21c7a56e0104c3acc02116145fc970734cac345d322ea533f7e82b57c9758e49e1426091e7d1bcbb86e0cf35011d85570e9fcc236c931721342e3b6757f122d9e001e83c1706d59da175dd732603a8239100000000000000001f00000003000000211685ed62cc40a0d24b22a0b0eae7b340c5873a73198856c41f5a21c7a56e0104c335011d85570e9fcc236c931721342e3b6757f122d9e001e83c1706d59da175dd7326e15f6f2100000000000000001f000000030000000000", + "coin": "btc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "22656c97134b567b952da548a5ea1b658e0f4c1715ff8171d1f256e3960152ac" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2tr-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2tr-keyRecoveryService.json deleted file mode 100644 index 8ae47da569..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2tr-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "9cf295ddfa67cfcc33ab4321f1c4f0c31a343069c841e41d352c7053536049ea:1", - "address": "bc1phk6lhy2tka2kxsx6hjd3c0z2h2e0rcrere9lr3kqsg0p6xxqe2pq2ark68", - "value": 100000000, - "chain": 31, - "index": 0 - }, - { - "id": "03335d059c6f363eb21687bdfb57b93ecae466f0582669afe5f56cfe7de6d4f2:1", - "address": "bc1punyhjurx29e2577msed4mzlu5py2snp6s2zwf2uux2ek5xk2ps6sxyqcqj", - "value": 200000000, - "chain": 31, - "index": 2 - }, - { - "id": "9d6b8af626c6ce6c62a810f74f168768b4383ec49425a84b97d6240c2f273408:1", - "address": "bc1pgrsntg8rd9qdjf06demu0423ysxftqddx9twyqy38fsg9qyj82xs3y9tyr", - "value": 300000000, - "chain": 31, - "index": 3 - } - ], - "transactionHex": "01000000000103ea49605353702c351de441c86930341ac3f0c4f12143ab33cccf67fadd95f29c0100000000fffffffff2d4e67dfe6cf5e5af692658f066e4ca3eb957fbbd8716b23e366f9c055d33030100000000ffffffff0834272f0c24d6974ba82594c43e38b46887164ff710a8626ccec626f68a6b9d0100000000ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf870400402c9c80eec0e2c508b159fd4a27efcaaa6d0a94334f28fc50377dd165fec19afd0b771c5bbd962a2e9f814d8c48bfb622abd1ef3545ce2df6ddca43a8b61fe3f544201ce1b0b4d5d856368637b75808b138f042b335d23bb46d297f19b09000a8612ead20d4c149c56e614423aa7c55c91d71b9b30dd8e8af29b9e04fc003dcc8ed3c3bbfac61c0312363917d7b7b60c312a0a2fa761f885a76746769436ccd1ff042c9e9dc81495d503a0d622e4c5a538fc4061d41a4d76943880028022adf565a2b5e7df0d083d0cb8bfdb6c6e7213b38bca5978bd646de4a79848028a610ef92e4d7a302603d0400401d8d3424ff8d8086f17f9c83513343d285b409d8711fea091052ae25b85365d4658ffdac0d3f61a9fa571ebfd783129f35d667bca376d9796e5cc711b3db4a4244202e67678ed40b48ac431f0b7be9a788cf4b53482d675aa7e4eeef6970b8bd7651ad20c74b86531a1df0f93372432e4c21524040a4037e3a828a1b7b99b391852345b8ac61c0d6ac24e8540ba9c29208766c42027c2cdef71c45e8ec41cd0fb66abb9ab260bca3841eb28228fb5461898e0f0adf251d1c61c6645f686b803ecbcf1f4814f695eb36bcc16894bb28839cab2e681a2dc88418268eb7f7b1a9b44cff569e1ef85804004063e8e41efd08d9b0b2f88bf970e52e1318f0b9496d149240654d28d6d771c2015f30fbe7e682c222baec8c7741a28869e05564a2f9720bf83025d26205d734444420145fc970734cac345d322ea533f7e82b57c9758e49e1426091e7d1bcbb86e0cfad2085ed62cc40a0d24b22a0b0eae7b340c5873a73198856c41f5a21c7a56e0104c3ac61c13d64a0b237496a7450abb3375815d47bf93907317fe23b2d5c48759cd35fc782f1f4d5dbf948920c0f00c7a2f5cc74095649931ed3865afbcc46116199850510e6e4a517245c10ab719832f5ede9671bcec0c03d80e3f1bbc1a861601465de7700000000", - "coin": "btc", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "e93a628f81c1aab21c34deb71da15fe2b376ef5c55be32ca9a926c7f547384f7" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2tr-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2tr-unsignedRecovery.json index 89fce8d405..7c3d99f04c 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2tr-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2tr-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "0100000003ea49605353702c351de441c86930341ac3f0c4f12143ab33cccf67fadd95f29c0100000000fffffffff2d4e67dfe6cf5e5af692658f066e4ca3eb957fbbd8716b23e366f9c055d33030100000000ffffffff0834272f0c24d6974ba82594c43e38b46887164ff710a8626ccec626f68a6b9d0100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "01000000033ffd4858f59961926baab9309a2f9666cbcbfa9c2fa7a9e5ba5194a368baa87c0000000000ffffffff2e1a662d437209c3b24a1160937801e509767cf9abc8a3c21189de33c5602d950200000000ffffffff06f0792bfe9fabcbe95554764bca522edd4c3ccf29e22ce216b832fbd5f860350300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "9cf295ddfa67cfcc33ab4321f1c4f0c31a343069c841e41d352c7053536049ea:1", + "id": "7ca8ba68a39451bae5a9a72f9cfacbcb66962f9a30b9aa6b926199f55848fd3f:0", "address": "bc1phk6lhy2tka2kxsx6hjd3c0z2h2e0rcrere9lr3kqsg0p6xxqe2pq2ark68", "value": 100000000, - "valueString": "100000000", "chain": 31, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "03335d059c6f363eb21687bdfb57b93ecae466f0582669afe5f56cfe7de6d4f2:1", + "id": "952d60c533de8911c2a3c8abf97c7609e501789360114ab2c30972432d661a2e:2", "address": "bc1punyhjurx29e2577msed4mzlu5py2snp6s2zwf2uux2ek5xk2ps6sxyqcqj", "value": 200000000, - "valueString": "200000000", "chain": 31, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "9d6b8af626c6ce6c62a810f74f168768b4383ec49425a84b97d6240c2f273408:1", + "id": "3560f8d5fb32b816e22ce229cf3c4cdd2e52ca4b765455e9cbab9ffe2b79f006:3", "address": "bc1pgrsntg8rd9qdjf06demu0423ysxftqddx9twyqy38fsg9qyj82xs3y9tyr", "value": 300000000, - "valueString": "300000000", "chain": 31, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "btc", - "txid": "39750e9863dc6f4296985a4212a0c9b04a992b4fb0ab93b7b1dc091f57d160ea" -} + "txid": "7e2eb66172a9206d5fab6bde3b645506c7619de018956b1f7501bd50923917cc" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2trMusig2-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2trMusig2-fullSignedRecovery-customUserKeyPath.json new file mode 100644 index 0000000000..80c19d0e41 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2trMusig2-fullSignedRecovery-customUserKeyPath.json @@ -0,0 +1,30 @@ +{ + "inputs": [ + { + "id": "e5a626c354aeeb03cdff8e686228abedefa8b38669fce2a53c69857b3be50de1:0", + "address": "bc1pnchn7al5kjsdwjj6elzdcrx73gxeypv0c6dutqaznny7rkfj6pusyw2ww0", + "value": 100000000, + "chain": 41, + "index": 0, + "valueString": "100000000" + }, + { + "id": "788e76b93f024c4cf633ea2395aaa1f6ecdb761716f3870edb91e7705e060ab1:2", + "address": "bc1pacvp0j2zdxvygk6kg95ku0gn6w42wr9l6pfc6vhuect4jz90t0wqx9n9wr", + "value": 200000000, + "chain": 41, + "index": 2, + "valueString": "200000000" + }, + { + "id": "48315cd4735d4528a3cb6d87444506f91000b6b078761cedbda604c93a0bb792:3", + "address": "bc1p3pvmz34le42zf8mk4hw84c42fazv9kmk94l7wtjydjp6wdhjcj4qdtuwcl", + "value": 300000000, + "chain": 41, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "01000000000103e10de53b7b85693ca5e2fc6986b3a8efedab2862688effcd03ebae54c326a6e50000000000ffffffffb10a065e70e791db0e87f3161776dbecf6a1aa9523ea33f64c4c023fb9768e780200000000ffffffff92b70b3ac904a6bded1c7678b0b60010f9064544876dcba328455d73d45c31480300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870440e6792fe6231ee0eb3d633016b943cf323b2cb3de75887166e70ea606d1987995c6537ca41c7bcdd920699e77d5301f59c49a7a2d7849860442f29cf1cfa7aff5407667495bc90c5f58e77db0e28c94dc27a98315734e85f8079acfa649982ed5c71bb0d59839db314dadd76909eac777d62a36729acca15ea34261f5f6f1f37d0e4420fb35352c31bb6136fcc9f14b29775d06fdbe89f67339ffc8583d9cf0e4f4b95dad20c8c3073f14d56926710445b3bfa3cb3c0ea2c223d0b5e2bfbc06a0ca7f8503bcac41c1005c62da63b9d8d8bcf1207877cfd4182f3f7a040402ee1e1ecfb8ca6d73baa3fb116a4ad3a03e27bcf2ac8570a8c9b000d337087019aed731c95178481b4a7c0440017b02974d0559a9cd7c17eab259c3515865980d996c147e9b08936ee0ad822084cd2c311841c3ce7375d3c06d1b4d30f3878fe52a82594cdb7783c07136eecc40d7176e97f98d1dcdaf3a4b5f9341ccc664fedefa24e912c2ec88ef5daa0630639d8e7f6861c42701cae63d8a291f3d3fcc88943560d681dcd371fe521a8acd63442023e24dfc0a397fc61cb26ea857b9c844d54c00d406bec924ecf73675f713d2dcad20cdc13238cbc54d045ddf3d82e5eb9e34c8987ed636a939fc25721fd2f1321388ac41c1fe7ce647d153bd84f07b7e5211f84bb206fab6da765983177ea2e9ff398c917c96c2d14e98bcbcfa3e33accbf4efcbf2e46a5d8bc1fe8bf79a8ed7d4b20ce41e04401997d16396a0240c0a6afd8a7fa9b35ede4369da808a327aaf20c7f7f3528c33a3aa6f60876a97e1e8a4e50b6e86b661acf71902a8dd07ad8c4ac84013e5b32b40fe3461f35beace70657f8fad15019c63f372ca63c14886f0afbd04e99d53219c14224c9f36ba6bb82e7b27f7a7e64121bf7fa9d72501df099e81e777bc3cfc854420db7359656a56882cd0785d354076d104fb07fb1c56e23beaceafde7efd1f0bf5ad2023df6e8bc726a54706c9c56b0bfccd04e7598e56a6d56984ac93023419f49db5ac41c1964d9e42931aa6d0b2fa62a49dc05bbf426a37a70fe162f885a4d3ba9e3cbaae46bc77ba410e7146abe9d508b0ea489d8498206ff9fae9348c656a58b0a2308e00000000", + "txid": "5422f2cce42ade7f0a6c216850cfc1c18e8d7fdcc15158dcdf1f6c1268c14c48" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2trMusig2-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2trMusig2-fullSignedRecovery.json new file mode 100644 index 0000000000..cac38e5f4e --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2trMusig2-fullSignedRecovery.json @@ -0,0 +1,30 @@ +{ + "inputs": [ + { + "id": "d674d0e6a19688b98626853ef1dc181f1db5a45eb1a02e4a459caaf00fb3a860:0", + "address": "bc1p8qdlmtsw6ehy9u4w8lpw4xw6shg7jknu7fhrlaclpdaqtfp0pueslfd6ul", + "value": 100000000, + "chain": 41, + "index": 0, + "valueString": "100000000" + }, + { + "id": "1cb91131c03fc39b025274d40a6617246e8c326f43cee77a1f614c3c81ee2315:2", + "address": "bc1phc2yazexcn6rylkhqsrlcl96t0kwk5qnuvdz77m56j9wpfpgz8hqpegscf", + "value": 200000000, + "chain": 41, + "index": 2, + "valueString": "200000000" + }, + { + "id": "598de04498cf9dd911dafb02878c099baa4849f7b285e57d9e838c502547854e:3", + "address": "bc1pyk4ezmq0gyez0sxjd74ztwy54870cq9dh6drlzrmmsu6k7wtq3kqsq7p6c", + "value": 300000000, + "chain": 41, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "0100000000010360a8b30ff0aa9c454a2ea0b15ea4b51d1f18dcf13e852686b98896a1e6d074d60000000000ffffffff1523ee813c4c611f7ae7ce436f328c6e2417660ad47452029bc33fc03111b91c0200000000ffffffff4e854725508c839e7de585b2f74948aa9b098c8702fbda11d99dcf9844e08d590300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8704401d18752bdb055f3906704b825b3042961380881e795377ac254b0e71e7261b00ed86350f74576584ce543286e759064c8662482fbe5b3d75352048988274fbdd406ee6afffb567437d127b4d331519a9896d746434ab067553bedfa8fb0f9d1dd1744f372c3ba1a46b43e79a9211c02da92ddccf49e253f6ab38787aa5c130da52442099733a9b244ac527f0d79b340c0aa5aed43fcde952b51bf49d2da6dbd7e31b80ad20c8c3073f14d56926710445b3bfa3cb3c0ea2c223d0b5e2bfbc06a0ca7f8503bcac41c0e807c1c6edff45083a9d0d5f3771b7c02c3a015413f51f862efdf113f63d1d33fb116a4ad3a03e27bcf2ac8570a8c9b000d337087019aed731c95178481b4a7c0440716651336ee507726b0455e5b1c1a352fdf998abb37ba32ed4c7e998f27769d331679d988db040c40d0ad1f655e0fe2d289326c3e91d879ffa5d342cbca918a34050626e648407a6c8df3434fccff6024179e7cca4759a9f58308157de84acfae150abdabb64f99fc252196251e485650e39bb3cd9e11d997d0833caa6d4881e7e44204ea87845bafeb6f623523a5efba3d23ea2a05e79dacd3c7e3c1cd44f5e8ac842ad20cdc13238cbc54d045ddf3d82e5eb9e34c8987ed636a939fc25721fd2f1321388ac41c18068d228c90640ffad1897166bacdad48fab80aa74421c935f6d7291898f104496c2d14e98bcbcfa3e33accbf4efcbf2e46a5d8bc1fe8bf79a8ed7d4b20ce41e044044aa522c555ff76a711e3aa1eac75066dda636841301a90b87c678ef35171d2fb3f012fa1e1082a500d204d3edcfa2282848f66844433ef23dee889d6d4ca4d0400858808e853b21525c06492d36452d21bffa72d74f9d3ec81d8ab3db5dd50afb9caa467ed6a6a77b61062d3e43e2d03d623772b2b37e2ee6b0a78690c380749644205431da6074ad73f81cca3f94f6162efff682bd3d308433aabfea355ba72701b8ad2023df6e8bc726a54706c9c56b0bfccd04e7598e56a6d56984ac93023419f49db5ac41c003928cb5445eb076cfbbbf062f32fe35bfcfc4ec98ed9a833b7beae6e8108cf946bc77ba410e7146abe9d508b0ea489d8498206ff9fae9348c656a58b0a2308e00000000", + "txid": "c21af54a5e1057542e1d63f1bdb6bdc9f5864e03d9e9344ad4868def5676ec82" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2trMusig2-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2trMusig2-keyRecoveryService-dai.json new file mode 100644 index 0000000000..0ec6f18fd7 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2trMusig2-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a5010000000360a8b30ff0aa9c454a2ea0b15ea4b51d1f18dcf13e852686b98896a1e6d074d60000000000ffffffff1523ee813c4c611f7ae7ce436f328c6e2417660ad47452029bc33fc03111b91c0200000000ffffffff4e854725508c839e7de585b2f74948aa9b098c8702fbda11d99dcf9844e08d590300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a823910001012b00e1f50500000000225120381bfdae0ed66e42f2ae3fc2ea99da85d1e95a7cf26e3ff71f0b7a05a42f0f3301030400000000411499733a9b244ac527f0d79b340c0aa5aed43fcde952b51bf49d2da6dbd7e31b80fa2f5b1ed749cb60910d218c15ca21def9de5e29f61b117840db5237c37653ff40a6d5b4b8d2393dda2ed0b4c6f5c59506952aa95b138d8efc42312a603bddbdfcf03892320ac2c7d191815ad819add14aa5336c06033730a76445979aa394603c4215c0e807c1c6edff45083a9d0d5f3771b7c02c3a015413f51f862efdf113f63d1d33fb116a4ad3a03e27bcf2ac8570a8c9b000d337087019aed731c95178481b4a7c452099733a9b244ac527f0d79b340c0aa5aed43fcde952b51bf49d2da6dbd7e31b80ad20c8c3073f14d56926710445b3bfa3cb3c0ea2c223d0b5e2bfbc06a0ca7f8503bcacc0211699733a9b244ac527f0d79b340c0aa5aed43fcde952b51bf49d2da6dbd7e31b803501fa2f5b1ed749cb60910d218c15ca21def9de5e29f61b117840db5237c37653ff03a82391000000000000000029000000000000002116c8c3073f14d56926710445b3bfa3cb3c0ea2c223d0b5e2bfbc06a0ca7f8503bc3501fa2f5b1ed749cb60910d218c15ca21def9de5e29f61b117840db5237c37653ffe15f6f21000000000000000029000000000000000001012b00c2eb0b00000000225120be144e8b26c4f4327ed70407fc7cba5beceb5013e31a2f7b74d48ae0a42811ee0103040000000041144ea87845bafeb6f623523a5efba3d23ea2a05e79dacd3c7e3c1cd44f5e8ac8429e64d800b25cc65ed7a44c4e8168c962692ce051da036106149ee5e240509dbe40307242bb4fc03cebe50e8f0296010a927bc96facabc27001d71cab71ee10db9862b79498b6e6eeef2b6eaa7919c6201c8131c883f677e259ceae607e0a0837ac4215c18068d228c90640ffad1897166bacdad48fab80aa74421c935f6d7291898f104496c2d14e98bcbcfa3e33accbf4efcbf2e46a5d8bc1fe8bf79a8ed7d4b20ce41e45204ea87845bafeb6f623523a5efba3d23ea2a05e79dacd3c7e3c1cd44f5e8ac842ad20cdc13238cbc54d045ddf3d82e5eb9e34c8987ed636a939fc25721fd2f1321388acc021164ea87845bafeb6f623523a5efba3d23ea2a05e79dacd3c7e3c1cd44f5e8ac84235019e64d800b25cc65ed7a44c4e8168c962692ce051da036106149ee5e240509dbe03a82391000000000000000029000000020000002116cdc13238cbc54d045ddf3d82e5eb9e34c8987ed636a939fc25721fd2f132138835019e64d800b25cc65ed7a44c4e8168c962692ce051da036106149ee5e240509dbee15f6f21000000000000000029000000020000000001012b00a3e1110000000022512025ab916c0f413227c0d26faa25b894a9fcfc00adbe9a3f887bdc39ab79cb046c0103040000000041145431da6074ad73f81cca3f94f6162efff682bd3d308433aabfea355ba72701b8bef937bd526108627a5b8f396bac4b521f5917b087209a6ac56107dabb92583240f101cb3cbc2ea2af47c17bf5ee598bb949799af630059c47f23a77458acac3eb65139e87ce7008e150eb0d13b02cec9ec5bf8e3f16abe7d25dc2be71b5f838194215c003928cb5445eb076cfbbbf062f32fe35bfcfc4ec98ed9a833b7beae6e8108cf946bc77ba410e7146abe9d508b0ea489d8498206ff9fae9348c656a58b0a2308e45205431da6074ad73f81cca3f94f6162efff682bd3d308433aabfea355ba72701b8ad2023df6e8bc726a54706c9c56b0bfccd04e7598e56a6d56984ac93023419f49db5acc0211623df6e8bc726a54706c9c56b0bfccd04e7598e56a6d56984ac93023419f49db53501bef937bd526108627a5b8f396bac4b521f5917b087209a6ac56107dabb925832e15f6f210000000000000000290000000300000021165431da6074ad73f81cca3f94f6162efff682bd3d308433aabfea355ba72701b83501bef937bd526108627a5b8f396bac4b521f5917b087209a6ac56107dabb92583203a82391000000000000000029000000030000000000", + "coin": "btc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "793c6702f0d6e1681186a4d66ee447a36a4afdc2ec3e71abddfa2e4d47662d6b" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2trMusig2-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2trMusig2-unsignedRecovery.json new file mode 100644 index 0000000000..21af2e85f1 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2trMusig2-unsignedRecovery.json @@ -0,0 +1,34 @@ +{ + "txHex": "010000000360a8b30ff0aa9c454a2ea0b15ea4b51d1f18dcf13e852686b98896a1e6d074d60000000000ffffffff1523ee813c4c611f7ae7ce436f328c6e2417660ad47452029bc33fc03111b91c0200000000ffffffff4e854725508c839e7de585b2f74948aa9b098c8702fbda11d99dcf9844e08d590300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txInfo": { + "unspents": [ + { + "id": "d674d0e6a19688b98626853ef1dc181f1db5a45eb1a02e4a459caaf00fb3a860:0", + "address": "bc1p8qdlmtsw6ehy9u4w8lpw4xw6shg7jknu7fhrlaclpdaqtfp0pueslfd6ul", + "value": 100000000, + "chain": 41, + "index": 0, + "valueString": "100000000" + }, + { + "id": "1cb91131c03fc39b025274d40a6617246e8c326f43cee77a1f614c3c81ee2315:2", + "address": "bc1phc2yazexcn6rylkhqsrlcl96t0kwk5qnuvdz77m56j9wpfpgz8hqpegscf", + "value": 200000000, + "chain": 41, + "index": 2, + "valueString": "200000000" + }, + { + "id": "598de04498cf9dd911dafb02878c099baa4849f7b285e57d9e838c502547854e:3", + "address": "bc1pyk4ezmq0gyez0sxjd74ztwy54870cq9dh6drlzrmmsu6k7wtq3kqsq7p6c", + "value": 300000000, + "chain": 41, + "index": 3, + "valueString": "300000000" + } + ] + }, + "feeInfo": {}, + "coin": "btc", + "txid": "c21af54a5e1057542e1d63f1bdb6bdc9f5864e03d9e9344ad4868def5676ec82" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json index 689ba036d0..1d108de594 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "be5b9bdb05956b95040ec8aa1797c9fee8571996f5e854ebec3d48befeba3467:1", + "id": "175dbc7fab42ec55fd2a8d7062f30d973315b9d4c175c65173117f438e79a50c:0", "address": "bc1qdneyaj2s0wxu2egqac347kjsvxmcgyqpj7xkpshsa3tcghhs3ecqugs57y", "value": 100000000, "chain": 21, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "bf0d2c62e0e877a8047d58d1841548c6eaf03b5994a888307859acb07ddc7770:1", + "id": "ece5336891c75f99c4b26be522c903483b6fe01d989a9a3e2179d418bc4fff33:2", "address": "bc1q8lxf2fq0yhzd2ytndhcc4432yjugacfxgxrha69xsjhctuztlcas2d69lf", "value": 200000000, "chain": 21, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "ecdfad65cd8de9e3f925bb3a80f1b32d4b03a11ec0c00731dc2a3091c8be891b:1", + "id": "fe88d5200cdf96648e5c5c886760deb41ddcd7e1475e9fe8fd7e7448b47d39b4:3", "address": "bc1q55jrprtwpfvu3jaq729sq0rraynctezqtpdtgrc5e5v60ssptwaqvm6hpf", "value": 300000000, "chain": 21, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "010000000001036734bafebe483deceb54e8f5961957e8fec99717aac80e04956b9505db9b5bbe0100000000ffffffff7077dc7db0ac59783088a894593bf0eac6481584d1587d04a877e8e0622c0dbf0100000000ffffffff1b89bec891302adc3107c0c01ea1034b2db3f1803abb25f9e3e98dcd65addfec0100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100ed497e9d6a09c4ba961922a62859a711deb764502856e0d617ffcc622152fbf902204cb2b98c23b32fd053182c9f8f558b0b8a606829071831e2b7f6e213ee992e9401483045022100e54532819b1599777b8311ffab94209779593da7dbcea7bc27cca6efe97a524702205c1cde0f7e216121361a8edc166acb77d1c38eb11aa0568cd6407d56303a93ba0169522102e7386fc3b8f8f334c51add4a7c325c804896d60fd3fa33f3206b6f0143081865210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae0400483045022100ae6b3929acbdc713a3330103e3a9bbd03487b8575800e3f6ab8623e2efc08272022030e6e42af9b0b4ffbd92c507d67a86959dd9c2fee0f46dcf2ab8e84320cf0e7101483045022100e1fd2ecdd3334a6a83ff2229d59b0b9a81636359ce0c8ec2857c2f09e3d701ab0220432b775dc503a9d549e0d6ac7ddb90c58ceeb5ca9721678e2260f38a33105e98016952210262e2d7db076a14af58f92fbc591d870606afc4362f8deead03425bf16de332fe2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae0400483045022100c00e6f84c6efc9fc46c8cb223c0318257258e63860fbf6c46fb66a49f8aca5fc02204b5bf73d9a6a725164e127d98b27c513d2e5283952cc3918953de1bc70517b1501483045022100a776edf1bff020b850e1bfc4046e722e23c5665052f4b48cb708766cd48827dc02203b3b64837893be44da2d68cc2b24e29f2e810555bd202fe2bfb1df598ee97d700169522102b107ccb600ca89ca074c0b6c95e48bfff7f2dc9d33e4bdf9a5c929053f4a87c921032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", - "txid": "15fe61766797c76e1da3046d5ddbdf647d8d031d9128c3765f4d1fa3b78de87f" + "transactionHex": "010000000001030ca5798e437f117351c675c1d4b91533970df362708d2afd55ec42ab7fbc5d170000000000ffffffff33ff4fbc18d479213e9a9a981de06f3b4803c922e56bb2c4995fc7916833e5ec0200000000ffffffffb4397db448747efde89f5e47e1d7dc1db4de6067885c5c8e6496df0c20d588fe0300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100fab04bb98db89733b6f685333b9b3ef4bbef840d08dad44e4d57b0b4a96ba96702207c202dc5c8eb7eff9c36d17d87e03f1cdd5d4069000007a060f2e7ffaa23643501483045022100e57e55249c38e9545861bac9fd50ea9fb8242c0a200eb8427e58e35c892171890220719e39f9d3374dc8142c970c06bb5998a70121a7efa4460bc794b4f450d8a23d0169522102e7386fc3b8f8f334c51add4a7c325c804896d60fd3fa33f3206b6f0143081865210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae04004730440220040e4e229b845e795a0e6d0ef81d06fedf9e6d8ce03472f6c259f8d9dd4ada030220315c3b83c85aad471566c4d8aeca11a32d11bc8aa43f293fb20e65633e75376b01473044022047b6cc1dc6e2f90d44dde327c8db8961091f9bbb14c78b71cca6e3513e24bf20022016cdc94f0e75ffeb3d8c1446ecf71a32e0b9f7815ee88e53da26fc9049df0518016952210262e2d7db076a14af58f92fbc591d870606afc4362f8deead03425bf16de332fe2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae0400483045022100c7ed2926d59747e64853622796b16c0a7a2ffebfbb7830b725d7d71cf707ea8502203c83136368afb8e5ffbb0f85de1f0025f736e24b0303894e7903f1a34544421b014730440220058a7a96110d0135fefe0466b4fb03c23eeacd4a1abb1c77b19859c06e6dbff30220481e39b7413333eb8ab4c4a0b75a2de245b026b14ad093927f57b866d138d3860169522102b107ccb600ca89ca074c0b6c95e48bfff7f2dc9d33e4bdf9a5c929053f4a87c921032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", + "txid": "2243a0dc3d63f94bca937404d1a2c49fc0703f6054122d4e518b0f36a05bdc67" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json index 852edc8cbc..d1f95856ab 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "ef0bab6daae6a8f0a6b17198ccc3cbae5554f44794dcbe028f133d3052013702:1", + "id": "d3c756572affce5f37fc6c556f3c1113be063a7c61df6ff8b3008848ea9bfdb1:0", "address": "bc1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gsxkxwxc", "value": 100000000, "chain": 21, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "cbbfe10f6d74c415251d56ffae4aeeb012bd03c2d1ac854cb10dfa08effd519e:1", + "id": "9d21659b6e9ef5b353b7f41b590d10508b999b46392b60136e0614e3e1db8368:2", "address": "bc1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2uts5rvzzm", "value": 200000000, "chain": 21, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "41c356a3c28ab9713aaf75d274ab65bb17e11e51d5a160b99e326b241bc2ed01:1", + "id": "552e492060fd183e0d6fb8be789bcd51c92248c77fdc622e2a318d946361e195:3", "address": "bc1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0s2sufdt", "value": 300000000, "chain": 21, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "0100000000010302370152303d138f02bedc9447f45455aecbc3cc9871b1a6f0a8e6aa6dab0bef0100000000ffffffff9e51fdef08fa0db14c85acd1c203bd12b0ee4aaeff561d2515c4746d0fe1bfcb0100000000ffffffff01edc21b246b329eb960a1d5511ee117bb65ab74d275af3a71b98ac2a356c3410100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100a1983ce9e531ecd601f1ff47202a97ba0c3a691f5a342311eb944228af6c2a6e0220565cb5318aaef3d8c20bd93e83317c6fc522657555317dbfebdee46e152e0de10147304402204a47d2df4056f5049a6e30bd2daadd92d47f589cf894b73becc811b65496b10302204ec878a747bc3711f20f669cdf5d3576e5db1e48ced073476a46c48ce18cd2e0016952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae0400483045022100a13049968f2b4a083e5fe5d61ba5a4fd09f3dbc6f0d6bb817ec3d7dd09109b0f02205d67cac76c59dc957dcaf3c8dfa60c9b37e02556dfe7a9f56d41e077ef15c55001473044022078476c63e997db7846c60fb9bbcc072071885b19bd5decd7b6803710b019a436022079772a67194d5d886b35550af5a9ce4fb247bfca6b4ed3d5b9de0c9f54d8502b01695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae0400483045022100bb98c77c329b0b3e4c2f7298978f1d12378609e31ab0248ca6204b1e7ea8b2430220141efa8c4c3ba3460f1827415aa6ebd2547e8e45d94378b79645645c98ab0c230148304502210086a0da18fc7856dfba13ede317d00e00993393d29236b363f548e765a9d291ab0220133dd52e037e14e91d02b5d45514632b46dd7c9786d464eed84c55c8d8c5142e0169522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", - "txid": "dc9295cfa0f659af44fa78619502b296a8398502d6b67f6daf6e853dffb4f8a4" + "transactionHex": "01000000000103b1fd9bea488800b3f86fdf617c3a06be13113c6f556cfc375fceff2a5756c7d30000000000ffffffff6883dbe1e314066e13602b39469b998b50100d591bf4b753b3f59e6e9b65219d0200000000ffffffff95e16163948d312a2e62dc7fc74822c951cd9b78beb86f0d3e18fd6020492e550300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100957d87027590327a121c4df72ebc9f965c4f2ef5f3ef93a94fe2800eb151178102207272b6243d1b346fdfc473971b3654b1d7b404175abad7b9d7a7e13c2dfbc8b601483045022100c7eb476a4d88154a05506724757e7e311fd61d020899477fab17622edcfe5d0d02200ecad823cfb5662d04052d1a9e08a2dbfd35fb06b0468438ea2b7548be26f43c016952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae0400473044022076e2fa09def10747f9462d315de880f53bd9d96e7708936783264c0986b66a36022005157ebecdf90a49c97e1b2020880d0cfa70aa6dc26efc2c940a351ff2527c7d0148304502210098a7534e6bea4a3e11e68d2da14b601e07274150c4d977313f85c84e1cd653870220256187239b37a52c2b082a7b9b20c40d87d29b8500ba096af10762f7639b585301695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae0400483045022100f01ca9bcb642ce768882c6024ebc02920449fab5249b2d65f585840e2b27e5eb022068ca7cf0d3ba6959f8edb483b97f16d8323ae00cbda822c4f1b26c2e4765bb3f014730440220342091e15dfa7164474b14b2413dcf1f243c944852f5e9fadd43952068ad6ba1022023f7d93132890f0b765e4a4ac257ab8599d9aa0fde8ab4b98718a334134ca3900169522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", + "txid": "7959a63f331f9984fbdcf764b31435fb993116bbcddb68441af939402daff1d8" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..34107dc2f0 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a50100000003b1fd9bea488800b3f86fdf617c3a06be13113c6f556cfc375fceff2a5756c7d30000000000ffffffff6883dbe1e314066e13602b39469b998b50100d591bf4b753b3f59e6e9b65219d0200000000ffffffff95e16163948d312a2e62dc7fc74822c951cd9b78beb86f0d3e18fd6020492e550300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a823910001012b00e1f50500000000220020a67d3630815a8019181ea89cb190b6fc016c1198ce4f4ecfbd887a6f772a7f9122020391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab483045022100e0738509171e10b8f5410e7c9ff524cfd3b6e80aed77c5c1021e6d3aa43db7690220235b979221d04c03d9af4ee11b7482f5b6c654f79b283d86c6968962d5f588d7010103040100000001056952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae22060285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c14e15f6f210000000000000000150000000000000022060391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab1403a8239100000000000000001500000000000000220603a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb8148374ad86000000000000000015000000000000000001012b00c2eb0b000000002200208b0a497c62b7128694ad7f8efd2b4a6dc084c92a149a6a412371f90fce5057172202027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a473044022064523245caef905574e009c4ae6bfdc374eddbb021037dbb839dbee026efd9760220754c8affb3247ca0d2db97b27ed1ce55797e64dcea50fecaeabdab820512515a01010304010000000105695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae220602003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f03614e15f6f210000000000000000150000000200000022060257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de2148374ad86000000000000000015000000020000002206027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a1403a82391000000000000000015000000020000000001012b00a3e11100000000220020264668d6062f55da885e7454f5f0c28dc07a9a6fbef4b10f4bcdbde5c2d34a1f220202b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90547304402204488e6315f9599f6bfa3b5465b9306e42c6906548a1f346f5405b89f0f2eee6e02207635465fadc5f5c8722689c18a7feaaa58601ca6e4b55af7b1d492c48c3b0a9d0101030401000000010569522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae220602b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a9051403a8239100000000000000001500000003000000220602da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff148374ad86000000000000000015000000030000002206032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a414e15f6f21000000000000000015000000030000000000", + "coin": "btc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "074919108e267d48672ac585410f9fefaa547ef84f4eb1c8a6e1bc72e93df893" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..e086165ef9 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "d3c756572affce5f37fc6c556f3c1113be063a7c61df6ff8b3008848ea9bfdb1:0", + "address": "bc1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gsxkxwxc", + "value": 100000000, + "chain": 21, + "index": 0, + "valueString": "100000000" + }, + { + "id": "9d21659b6e9ef5b353b7f41b590d10508b999b46392b60136e0614e3e1db8368:2", + "address": "bc1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2uts5rvzzm", + "value": 200000000, + "chain": 21, + "index": 2, + "valueString": "200000000" + }, + { + "id": "552e492060fd183e0d6fb8be789bcd51c92248c77fdc622e2a318d946361e195:3", + "address": "bc1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0s2sufdt", + "value": 300000000, + "chain": 21, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "01000000000103b1fd9bea488800b3f86fdf617c3a06be13113c6f556cfc375fceff2a5756c7d30000000000ffffffff6883dbe1e314066e13602b39469b998b50100d591bf4b753b3f59e6e9b65219d0200000000ffffffff95e16163948d312a2e62dc7fc74822c951cd9b78beb86f0d3e18fd6020492e550300000000ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf870500473044022064684a4f4dde1fd1cfced8658d8417b23193f5844a614805d1d8c53db6ea83ac02205d08d6e0a85fdb167a31e2f17e938130214bbc9361690dd1e37d2b9ef741f9ce0100006952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae05004830450221009a997961bd4bff14ff3a7c12ed2d0bd4133df2a81fd00bf6a2132a43ba1cfd2f022048db4dde9dab08b4fefc40794dd802919ff000097a74e6f4a001be47e2745916010000695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae050047304402202fa7b5c19dcdedf9cb2b28a79b3b5568b811ab5dfa5d2d1285a257563d289b520220516da8e767ca58809db67d9635664190356d3fe85e0a54a942ebb317fb86008501000069522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", + "coin": "btc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "588799e9c78373ea7fde449cc01843e003fb687d867ce823e521139dc211d848" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService.json deleted file mode 100644 index 5e7890437d..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "ef0bab6daae6a8f0a6b17198ccc3cbae5554f44794dcbe028f133d3052013702:1", - "address": "bc1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gsxkxwxc", - "value": 100000000, - "chain": 21, - "index": 0 - }, - { - "id": "cbbfe10f6d74c415251d56ffae4aeeb012bd03c2d1ac854cb10dfa08effd519e:1", - "address": "bc1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2uts5rvzzm", - "value": 200000000, - "chain": 21, - "index": 2 - }, - { - "id": "41c356a3c28ab9713aaf75d274ab65bb17e11e51d5a160b99e326b241bc2ed01:1", - "address": "bc1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0s2sufdt", - "value": 300000000, - "chain": 21, - "index": 3 - } - ], - "transactionHex": "0100000000010302370152303d138f02bedc9447f45455aecbc3cc9871b1a6f0a8e6aa6dab0bef0100000000ffffffff9e51fdef08fa0db14c85acd1c203bd12b0ee4aaeff561d2515c4746d0fe1bfcb0100000000ffffffff01edc21b246b329eb960a1d5511ee117bb65ab74d275af3a71b98ac2a356c3410100000000ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf870500483045022100d113c1257b324e99c5f3e1d9d8262717bec8590fe2470a9f8ebf5dc8825c164802201e9ea0177dd130cefe185baae12a3b3eef661e46b9b53f18c78ec0cbb286b1fb0100006952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae0500483045022100959927b6bea412ddf8987eef2d6ed67756c5cf9bfd8c1a444fb06412d8403600022065188c050491576dc4321a7e34c164448c84ab8b097b12d5e8a9def973c6bb9e010000695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae0500483045022100b96abd62f2d53efc4fce2e385e56c359c9bd714c2908078fa989e4697e537da002205e000a5c8089737d7bd5eed0fc205abdd8c87125dbdb0fe9240b6eb8b5219aa901000069522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", - "coin": "btc", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "397a3f06c18b2d8031b4adcc292698cdde90e49baa0dce38d149da09cb365f53" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json index 51a8989782..34911e799b 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btc/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "010000000302370152303d138f02bedc9447f45455aecbc3cc9871b1a6f0a8e6aa6dab0bef0100000000ffffffff9e51fdef08fa0db14c85acd1c203bd12b0ee4aaeff561d2515c4746d0fe1bfcb0100000000ffffffff01edc21b246b329eb960a1d5511ee117bb65ab74d275af3a71b98ac2a356c3410100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "0100000003b1fd9bea488800b3f86fdf617c3a06be13113c6f556cfc375fceff2a5756c7d30000000000ffffffff6883dbe1e314066e13602b39469b998b50100d591bf4b753b3f59e6e9b65219d0200000000ffffffff95e16163948d312a2e62dc7fc74822c951cd9b78beb86f0d3e18fd6020492e550300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "ef0bab6daae6a8f0a6b17198ccc3cbae5554f44794dcbe028f133d3052013702:1", + "id": "d3c756572affce5f37fc6c556f3c1113be063a7c61df6ff8b3008848ea9bfdb1:0", "address": "bc1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gsxkxwxc", "value": 100000000, - "valueString": "100000000", "chain": 21, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "cbbfe10f6d74c415251d56ffae4aeeb012bd03c2d1ac854cb10dfa08effd519e:1", + "id": "9d21659b6e9ef5b353b7f41b590d10508b999b46392b60136e0614e3e1db8368:2", "address": "bc1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2uts5rvzzm", "value": 200000000, - "valueString": "200000000", "chain": 21, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "41c356a3c28ab9713aaf75d274ab65bb17e11e51d5a160b99e326b241bc2ed01:1", + "id": "552e492060fd183e0d6fb8be789bcd51c92248c77fdc622e2a318d946361e195:3", "address": "bc1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0s2sufdt", "value": 300000000, - "valueString": "300000000", "chain": 21, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "btc", - "txid": "dc9295cfa0f659af44fa78619502b296a8398502d6b67f6daf6e853dffb4f8a4" -} + "txid": "7959a63f331f9984fbdcf764b31435fb993116bbcddb68441af939402daff1d8" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json index 924b531fff..6b95198323 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "20a539ce2008eed29268339b1c21fadf763affdc3c40451d4e24604f215e9d08:1", + "id": "969b2e80c94f2770a89331ba3d320fd7ad77d88b4e9e0af5aa364e5d327ef0d2:0", "address": "ASw2PDPPowT99DnjhbpmcfQgMAkpuUfAUD", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "3498320fa16483d37456e12d6aa6dc79507d4b7c61a3ff02de81a48dfcdb0ab1:1", + "id": "3bbc695af5cf9407850612cfaa4b9fb924895c0b9c0c48b1f343ee4f6a6ddb75:2", "address": "AFuwa6xdx2icetShFQWTYPXqycD3AwLPmH", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "ce560fcc595d2138f1d7de472e3438e036b62922b14a8caea954c08fffc3e03e:1", + "id": "f89c9b399120757e4f380be22e45345e4b54c0dfc70a902fe651e1b9d9448a4e:3", "address": "AJghwzMi6BA2WYRSnPy1psbvdCsiDtDVDi", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "0200000003089d5e214f60244e1d45403cdcff3a76dffa211c9b336892d2ee0820ce39a52001000000fdfd0000483045022100d3fdfe990165115252a3850f8b1fd61ad66cb72238aff98c3dbc1cfbc0abac840220748f3c7f2b16bb22efd7f0b72f1345067c4c6ba468baa0d0189c324119ecca894147304402207aaeb70609216511de39e7c9cec5b6d68690311a023103ea03dd2826d83c8aef02200c2b0dbc4af6bba35a13d6503ae0bd7ef0e2a2989d77ae3b76df69a9393ee51f414c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffffb10adbfc8da481de02ffa3617c4b7d5079dca66a2de15674d38364a10f32983401000000fdfe00004830450221008ed87eb6f9d0388a5e96ead7494d2edf839fa18f59ee2bb3923cd96e0e8d466a02205cc60dc62e659b13ae10aaf8390c25ec900d97c0ee7af00107f25c383b86de7a41483045022100e1ec0ecfa92cb56cbc2a2c73019c78134c0611192da08b7d4b65d2bbbab975c8022001101464e4c7cb4694004c18c09f6e4f72eb88ffb069a966163514de6ccc0205414c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff3ee0c3ff8fc054a9ae8c4ab12229b636e038342e47ded7f138215d59cc0f56ce01000000fdfd0000473044022008275f11dc8b124c2e532f6a480c41cac5ccc1362b026e1d9f120d74e43fe83f02206b57c1e9c9e614d46d2ca5644b1f7d67a5ee5df78413520a9c0816b3dbcc9b9541483045022100d08c068e892fc934419256afc65d5d4b763fd1a879a5f7f56703b1e2f1a82d2402202ed89aeeb1cf489eecb2a6a0d7ef40f74099584686f1d37030277c7af684f9ac414c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "7cffab929592878c68cb3d1f80b716c3bcb6af2f504ff52752fc1d398337aaaa" + "transactionHex": "0200000003d2f07e325d4e36aaf50a9e4e8bd877add70f323dba3193a870274fc9802e9b9600000000fdfd0000483045022100b8f547352ee06e61819a983e876feff655c5dea9e9f384f42a1628f0ad3aa251022062c5e8267169e4cd99f3d1150915074fe46ebce7d4b5230c8f3e1bad122a19ee41473044022029a70fd70620aa944c3cac2e65dac6a350031ded11af9a9c422648739117a90b022053f9c7eac7c91f3bff7df5277543369668f1acfb66e9c29caa8355eb26afa55e414c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff75db6d6a4fee43f3b1480c9c0b5c8924b99f4baacf1206850794cff55a69bc3b02000000fdfe0000483045022100efff2b51f58b375078fcf7e005e1ce8ed9bd93ac50bdc835283eea035da7dd9a0220406d80b9c502c8746b48f776d05698d696c17261521aeee14daa8408c3cf667441483045022100a97ffb972ee80b36ce33b2cde67f260166482eca339dffa6bea5c6d3270b755b022056c5033a1ae5826fafd4c9c1d4ac10a57405474a3854e77d908388947bf6745d414c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff4e8a44d9b9e151e62f900ac7dfc0544b5e34452ee20b384f7e752091399b9cf803000000fdfd000047304402200b5c1bb75f1121ce929f48825edea04c5d09ee85033a7ce28ba55783da87db28022015093f68362033cc510038f6d5949ed5790cf8b2e0587acf7516c5768411824641483045022100ce135689415046276d2318271412cb75db29c0f2a5968904cd5cc7821a34418202201246a0b34bf5eff7b0a3d7d728960b35f1376e11d7c948dcc4fb74643c8e7839414c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "193e5921e5c2a02f3057e504a5d48e6ed7c99181b53ba8cb70c8693c92ec98a1" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json index a7044144d5..e98b86bd1a 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "94f17dccfb5b490895c56d33c7055c1d2d4c492b3f919d116a3d7274d00a35b8:1", + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", "address": "AMvF5Gw1Mvy9igfgUKXaxNun27PNiLLNkc", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "50977419b7122fd429c79a790670f4fea5719bb97f20a70c3170d6c2bc26cc39:1", + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", "address": "AMacyR8fVCAbBpmAku3eKCEu49SX1JbzmL", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "61844d00eb67eae0b730740f444933db2fc83e83030eff9e80f1abde64759140:1", + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", "address": "AG9H5KbdoGq1ndqqvAV3dBQUq2ELyFa81n", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "0200000003b8350ad074723d6a119d913f2b494c2d1d5c05c7336dc59508495bfbcc7df19401000000fdfd0000483045022100d2ac41edbe9b1af1527e4ddf2b89a52dcd91d70747876615bb2bdfad598b9db502205fb1b8a2243fc4b514474e1e67c19fef88e3965ff8e1d9e3535d108c63be12124147304402205325cb201be65a0f3331fe3545c926111ebe36b36c30981f84ee33f31da2e3fb02205bc3aa631bf467199d9efa74f9547e162455af9a985a3ac6cb6d8f2db0b38417414c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff39cc26bcc2d670310ca7207fb99b71a5fef47006799ac729d42f12b71974975001000000fdfe00004830450221009f44a23d736ed12e83ace552de879e091c72ead7489b76217f53396676a60ae102205ed4d539d2d52695370b9aa25c2ed10ee6ea39094a71606c34802f1f122786ae41483045022100f4a561e38f3936046dff6adb1fc6545c881f7d8e27ae2c59ad0c93ff7ca3105d0220651da11432a70f558d35957300c70b946bf95a859b7bef2003426efae40a5302414c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff40917564deabf1809eff0e03833ec82fdb3349440f7430b7e0ea67eb004d846101000000fdfe0000483045022100c93673791d39a7bf002cabe6b0954609703c86fb7c98b7760b4ef1aed335d5cf0220621c466f59b209c2764cc01dfd1a9c3d7794d0977b66405aa8f6e0ccf4f3594041483045022100cc220713ca9944e8dd8b48e72784bb6b7e7ac891b279ec4ce4a3be80edcb57a30220212ff1f9a7d20bafef239cf7ba3c7266a66678b8b7f8cff8cd19910513324bc9414c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "57f48b8f8d86380bb6c698ff896f01a0c9a2c22a5da61d80aa7200a20181cb67" + "transactionHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f10400000000fdfd00004830450221009defc0c1ff2917e4ce5555eeb7a13785d05f4cabf093f66722d4c07413e9e573022062ebfeef2a1fcc6ca97919e0a6d23472fe1acc204c7a5bb91ad534ef22cba3974147304402202e01e9d25f66e8f27d77be1306026c369bcf5c8a30ebb9ea29e38ec9d4c6722b022023ac28e483708bb50e55aa6f1940e0b1209a2d05c91cf61a068136ba451a87c2414c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aefffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce02000000fdfd000047304402205e5dbd8712469b57ffc61f764f7245a724075010398ff81378f145046bd2239a0220786579dad52e4d2a5149a91602882e969bca381eb41e8ea3d531183df9f2b03a4148304502210094639cca310f22d49f340bc17fea3085954c263bd94b29f81c5d0b27b8c855f6022016e89d1f9ea5635c2100b5f6d057e178b6ffec7f615fa37287cb64d64cc02fe7414c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb603000000fdfd0000473044022069d2c28da534292cb0ef28f32fce54b1d3d9d9a14545336c62b8437bc541fe92022020370d9f358ba2875816f3ae961965754ab0312689d5238ed8009c012b2555f341483045022100d00bff45d9c37fe269f0a8d49480ba8c46ba8e6791ef4b40cbaa2be09b2439aa0220787925e918bf8c4e3a7ca0f9910f2fe054d94ea990d0de8531ecdb8862c373bf414c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "c962b94c925f702e527b77bcc28fff8cffcbd534466809cdcf1970939e63fc73" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..cf52533917 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a502000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f1040000000000fffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce0200000000ffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb60300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a82391000100c10200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0100e1f5050000000017a9144365f80ae9830dab1d9124be68c74c2fa23bbc128702483045022100a11ddd35d11f11db6d3203f3cf0853d6476a3ed2caeebb64515fdfcac68c24bb0220400b4012a26faa8f392dc13d7e91cd7de7d30d9cbd5fc4a395fea2c327c49e56012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f00000000220202d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6147304402206e3ba2ea964e13d08e01aa40c66397d56ee898de75f03d249afcd6acdfeacf6a02205a3a1a3699faeac8e6bc9c878f009cc0b1afdebdc6418f9c74ca06e7473e9dd94101030441000000010469522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53ae2206029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d148374ad8600000000000000000100000000000000220602d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc611403a82391000000000000000001000000000000002206030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3514e15f6f2100000000000000000100000000000000000100fdfe000200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0300c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b0000000017a9143fafee16e19a14db449ab3a57da1fd3ef89daa59870247304402204cffc8ecf659d2ff378de47a0830d2a7acba33ce9dd069c4feb0c37edb95f26302203ae4ed814496c8394fd7eb373c4ed1cdca8468c30e7069da70ae308a14a7a722012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a7483045022100da74281b46e1be333186b1c31bf98be74079506555e9f93c836c3126557487d702202a2fc78ad7fa820910e5f90e811ce871feb40cd32995e07df6ea3cc5d13ceb4541010304410000000104695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453ae2206021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a71403a82391000000000000000001000000020000002206026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f3024148374ad8600000000000000000100000002000000220603b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b914e15f6f2100000000000000000100000002000000000100fd1e010200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0400a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e1110000000017a914040c4ab99a665c767adaa50fb28dce2ae514363b8702483045022100979e2be8551d5b0aeca6a4e6b4f6b594cd1d77926d2f68f0baf4f68d068f6d8302207f7c1982dceae939c85f4b95f9117e22c5b0e1177b511c5c05f54d73802f7e9d012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c483045022100b125076eb1bde3f3ca68ca4d851ff7a44e12ce59202dda0439e114f08dd8b25302201191ba9662a77066ab4e6084ac92179d4dd9827fa26b6f41409617812302ceb341010304410000000104695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53ae2206022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d14e15f6f21000000000000000001000000030000002206023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c1403a8239100000000000000000100000003000000220602b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b148374ad86000000000000000001000000030000000000", + "coin": "btg", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "901ef9400a82954c47dbd6f92bb7e46c83067a40ac20c7f40414d64a83ee00f9" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..8352792538 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", + "address": "AMvF5Gw1Mvy9igfgUKXaxNun27PNiLLNkc", + "value": 100000000, + "chain": 1, + "index": 0, + "valueString": "100000000" + }, + { + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", + "address": "AMacyR8fVCAbBpmAku3eKCEu49SX1JbzmL", + "value": 200000000, + "chain": 1, + "index": 2, + "valueString": "200000000" + }, + { + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", + "address": "AG9H5KbdoGq1ndqqvAV3dBQUq2ELyFa81n", + "value": 300000000, + "chain": 1, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f10400000000b60047304402205b76a867cf8bdb578296d6f7dba2915f439e9e4037fe2cdbcd2bdc366a8ea9fb022021687fd222d1abb9364a096082780c0442b1bd3686fd8d4e7db5f025acac76024100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aefffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce02000000b700483045022100c31981c7bf5a4e9d184e00de785406f947ff5f5e9b4d0474523a956b8226c271022034692b40ad12f217ee6c0c7281611f8b9022595f035beaf4c0d383a01e3d9ab64100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb603000000b700483045022100a07580705d82d60257bc4641749acba89beb9829a8977dcedab2844050bc43c102206c376875fcf7d13266e6f7a736d79817f5a2a8f731c403bd2385d8dd32b45a954100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", + "coin": "btg", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "4a35af07c3c4c97a899a50f51c91eaa5e6e0744f082c0ef2746469cbcbfb6007" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json deleted file mode 100644 index 473bdcf4a5..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "94f17dccfb5b490895c56d33c7055c1d2d4c492b3f919d116a3d7274d00a35b8:1", - "address": "AMvF5Gw1Mvy9igfgUKXaxNun27PNiLLNkc", - "value": 100000000, - "chain": 1, - "index": 0 - }, - { - "id": "50977419b7122fd429c79a790670f4fea5719bb97f20a70c3170d6c2bc26cc39:1", - "address": "AMacyR8fVCAbBpmAku3eKCEu49SX1JbzmL", - "value": 200000000, - "chain": 1, - "index": 2 - }, - { - "id": "61844d00eb67eae0b730740f444933db2fc83e83030eff9e80f1abde64759140:1", - "address": "AG9H5KbdoGq1ndqqvAV3dBQUq2ELyFa81n", - "value": 300000000, - "chain": 1, - "index": 3 - } - ], - "transactionHex": "0200000003b8350ad074723d6a119d913f2b494c2d1d5c05c7336dc59508495bfbcc7df19401000000b60047304402204fd69ce4a0324003042127886e55b22eb6a4e4413f4f0368b42e4c01e0947b9b02207f6136e42e5566efcae9200fd7ac1be09b75790ec9f524f439316c7908375f724100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff39cc26bcc2d670310ca7207fb99b71a5fef47006799ac729d42f12b71974975001000000b700483045022100a134207c7621c81a30e176d9d3067dd2bd69dffd29b5f16eb1ed46cb031fabb202206d4e85bdc666f39aac5c1fcd92949b96eff3fc5935fe2c8e66913d700e4550fe4100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff40917564deabf1809eff0e03833ec82fdb3349440f7430b7e0ea67eb004d846101000000b60047304402204fdc313f38d25bb7bf1acf53af7c3d39ed0748da96ff2a4b500c3ad84981b16b0220694cb845dd91c88c960066d8b1089b46ad40aaeab188cb2d57505acb2b5bdd624100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", - "coin": "btg", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "a67e44dfb0b9059679c2068e21d5319eb44d1179092930d99d08cd4b3071c337" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json index 4e0028b11c..bb5bdbcf44 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "0200000003b8350ad074723d6a119d913f2b494c2d1d5c05c7336dc59508495bfbcc7df1940100000000ffffffff39cc26bcc2d670310ca7207fb99b71a5fef47006799ac729d42f12b7197497500100000000ffffffff40917564deabf1809eff0e03833ec82fdb3349440f7430b7e0ea67eb004d84610100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f1040000000000fffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce0200000000ffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb60300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "94f17dccfb5b490895c56d33c7055c1d2d4c492b3f919d116a3d7274d00a35b8:1", + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", "address": "AMvF5Gw1Mvy9igfgUKXaxNun27PNiLLNkc", "value": 100000000, - "valueString": "100000000", "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "50977419b7122fd429c79a790670f4fea5719bb97f20a70c3170d6c2bc26cc39:1", + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", "address": "AMacyR8fVCAbBpmAku3eKCEu49SX1JbzmL", "value": 200000000, - "valueString": "200000000", "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "61844d00eb67eae0b730740f444933db2fc83e83030eff9e80f1abde64759140:1", + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", "address": "AG9H5KbdoGq1ndqqvAV3dBQUq2ELyFa81n", "value": 300000000, - "valueString": "300000000", "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "btg", - "txid": "79146ad0e3b460dcdb12f6538e84e7ffcc3fef20e5e12ae44e4d174e06a0b0d9" -} + "txid": "584b61466c05a64b86f5f8c419a532574607c3770ddda1c53d988ec158b50195" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json index 8b90c8c4ea..c1e71bf623 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "f368cc45713234cfd8511cab60ce5f8feb64c4cfb2ccc49d030cc187dfd51b83:1", + "id": "bcd789032cfb298e3127fecd18b02aadabfb8aeb75ff84160f57391b8c37ee18:0", "address": "AQngwbjoD5fgPxAec7Ai9ygV4UT2Gd5Ze1", "value": 100000000, "chain": 11, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "a3cb917755f55a0d79d81924f0632d7752990fc48d8bcb80b07d26e5d44ddab9:1", + "id": "c65a1ce52c43be54a930625d8284f9d585ca0c9f0cf1374612cbf5cb2f5ed887:2", "address": "AVDjSwSJqzWLP71cDA9krUNivKr7k4bNBo", "value": 200000000, "chain": 11, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "a2360c01ffcf28568171e84163f730dccd4ad18d224756767ea5fa062c8933a6:1", + "id": "1c5b650a59b7bba82618255a337eda822205fb16a87217c191138a98bea60040:3", "address": "ARQ3DU1VrBN9m5c6kg9xmWQ7tARrEcppnx", "value": 300000000, "chain": 11, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "02000000000103831bd5df87c10c039dc4ccb2cfc464eb8f5fce60ab1c51d8cf34327145cc68f30100000023220020b858b5820bca303626d8d5a5291b5a0dcf839c76d61c32eb226c9d08fd06e3a4ffffffffb9da4dd4e5267db080cb8b8dc40f9952772d63f02419d8790d5af5557791cba301000000232200201063b62f857751aaeaf8c7ef5636d48511fac0008f8ee69e4b1a006b2b74e553ffffffffa633892c06faa57e765647228dd14acddc30f76341e871815628cfff010c36a201000000232200202b16216e81e558810abe7604a67aa97b737f64d40b3de22d5fccdf2b6c972f03ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87040047304402207a00ff7c06f47dce4a1a850d47cd6da71347fd1f9c8909ed980e39c38efcbd2802201849c1ef03bc71bdd070e273042cbf23d5f6bccd7ad0e333618845def4c06d2e41473044022046e778c48004d3b76fb9d25dc0a6b6c8300ae848afdbe1fb5e9e683ac6c7a83e022009e7c41d051b03d8841e0f1e8a455c26b208733543a63bb9c644afab41009e0341695221032484ff761a521ee38b094232984175f1db28c90fe304c7242c0057330b6e024a21022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae040047304402201ec49a3182ee593b892f7c65a74fbc559a6b6da44f2b2433071e1daca92950760220763da864f753e75e1669c73a2ca3c892a98c980870faea26533e5aa719f1da3c41483045022100c4f2362a671dc6a85804eb3832c9d1d315c404eea3c35e14ee3d5d22058f24a00220167bb24287f3eb1b5ba1ab33b066496c4d59063f5d51d8baa2cd57e29f0cd3994169522102678b7a7d9dc0736691adc5b681808f1bbc981563ffa23e1c302d0a4006e7fa252103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae040047304402203566e46caeb92c5b7561c08acb5d66a07f39a18e83f58616bbf5cdbf564792aa02207afa238761264a0194210c8201c8ea3fc554e56bfd2708acd6652e9834275fa341483045022100e6a052ef2e14b2c2b9a5315b45c129966c24690fc4c9c985ebe778c1edd5293d022006a5e0f0fe80df9b5be0eb0d876c22b6b3895717a9661d0a5aa2859939bfbde54169522102be72efeb6abfd486e92e30221f854983722118d820c90d5b2999b8623b27abee2103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", - "txid": "cc760954c134fd31df5284e4291454ec6b908ae66e933410373969499c533013" + "transactionHex": "0200000000010318ee378c1b39570f1684ff75eb8afbabad2ab018cdfe27318e29fb2c0389d7bc0000000023220020b858b5820bca303626d8d5a5291b5a0dcf839c76d61c32eb226c9d08fd06e3a4ffffffff87d85e2fcbf5cb124637f10c9f0cca85d5f984825d6230a954be432ce51c5ac602000000232200201063b62f857751aaeaf8c7ef5636d48511fac0008f8ee69e4b1a006b2b74e553ffffffff4000a6be988a1391c11772a816fb052282da7e335a251826a8bbb7590a655b1c03000000232200202b16216e81e558810abe7604a67aa97b737f64d40b3de22d5fccdf2b6c972f03ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87040047304402206dc9a08b0ca5b54cc01d005ca3971c7640dc72006909161cda1c9ef885a207b702206f59987f2ea3cfc70db5161e3e580e8ba6109d8b3f4899a5102a0c5e98ec86db41473044022069481e4e7110f03d7d4a8ea16b98d0cfb795d92368199f69a2b083ce0158456102207aea91686ad791fc378e836316869b3ebedbf97bf96193e62af2a5971981238e41695221032484ff761a521ee38b094232984175f1db28c90fe304c7242c0057330b6e024a21022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0400473044022054bd7e6e29d886742e30c3dc98620094ec36d2a2e9c6507ff0401e0c1898ae1402203eff090052ccba88c6c379acca97f6f59bda2aaf8086d99e1fe650227d63fdfd4147304402202306b0c28398bd5463ce53dd2ed923034a6b54ff874758e799972fef089a44f0022015b72586ca941278436b0cda6adb4e0346b9c0f0a16c86455c98a1087cf4ef2d4169522102678b7a7d9dc0736691adc5b681808f1bbc981563ffa23e1c302d0a4006e7fa252103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae0400483045022100ff211ff2b0db98865ba3bfaa0b25ab725c14f6aa6711401e706ff6dba2ffe045022029aaeb759d06eb47770669041abe66ce1f1c86c3e40df13905e4f7b60232433e414730440220539cad26a2239f47cc294d9118566354558e6a87d14f0d9a50a928baa1d5fdb502204ca4c44645fe7c141130b460a5231d5e70126880fdc63908b9d194f26e278dd74169522102be72efeb6abfd486e92e30221f854983722118d820c90d5b2999b8623b27abee2103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", + "txid": "24bd31823f5142a00276b8157b0c32a8da48d2ecfd6e8d561f001fd53296a0c1" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json index 9361ebb514..2d59f71bcd 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "3044550eda939274c600ff73a9f084f85ab164fabf69c1b7d8498b3627caf7b1:1", + "id": "6dd97a8fc76b7e1bca2d783119701bd5f9e9c7a5906b2acda882ca5dae2af2bf:0", "address": "AdjPP1qukg8QxApyJ8rHnEnJy26KnBr2ik", "value": 100000000, "chain": 11, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "cb0b658fa8b76d302afcb56b9e4eb922c2658d0836149ff8a947f61dda6b599f:1", + "id": "8e142ebe27821ab594c67a511886365ab4ebb8a2b467ac0b2b590d9da83f31ff:2", "address": "Af51Yq33zaYmxv1b9BKjMEJ875jAY12YW1", "value": 200000000, "chain": 11, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "b73bae8239d8c5023b115e428100c59f927b89b176edde5f874d3c2c21d5f71b:1", + "id": "5f43e10044e4cf2d972a413def7f16c32c91383d1316bd809d4e2e6db00de2cb:3", "address": "AN6pufR69RCXokhqeSVnyXV8Q1wQkNsJjq", "value": 300000000, "chain": 11, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "02000000000103b1f7ca27368b49d8b7c169bffa64b15af884f0a973ff00c6749293da0e55443001000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffff9f596bda1df647a9f89f1436088d65c222b94e9e6bb5fc2a306db7a88f650bcb01000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffff1bf7d5212c3c4d875fdeed76b1897b929fc50081425e113b02c5d83982ae3bb701000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100dc17373fa560284100ee0923575f4364b1836a05359bbd5f14c16f9178cf279b02204a12e5d53c3e15bf2d39d1e1eb7af5ee91229988b8020fe32a0ae34547abc54741473044022063e39f3e0d0adfc31c7a7cc7cb481f2827a4aae5c7069319da115f3492f7c12f02205d3cd7c79250918e2ed1eea399ca2e3dbef80d88bcc28e991e3f83bcbcf3b7fb416952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0400473044022055b9aa5886083d5174db0dd1694d0986f127714a7276de66afcc6ec7ceb6b13b022042263e228e67300235fe90f099cd0eb866cc3a4296e028a8cecb0ba57429e3c741473044022009177846deb411ed91edc9d9b5b8306c16a96135a40c58a6172ba8dbcfc14e3002200e363f371693d975b36d905fe63c43e5cdfede65fa88e44577e2159f763b54b24169522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae04004730440220237f4584fe565eae0bd297c0247644558305c8b6dcb928ca11115e982a7725f00220147997cde7faec3e8becae61d2504c70b509c1820eb7300b864cc2f2f0e1c0af41483045022100eab4e6cec3e46130e8746ca95d78c7606da39e15a08d4933f5511176eaa4af1002201964d271b86844861b1fee1d045e0d2868740b36700ee78b6fff672ba78726484169522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", - "txid": "f52f751f608ae01528385648e32072e328ca6cd182c357afe02b42185272a1d4" + "transactionHex": "02000000000103bff22aae5dca82a8cd2a6b90a5c7e9f9d51b701931782dca1b7e6bc78f7ad96d00000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffffff313fa89d0d592b0bac67b4a2b8ebb45a368618517ac694b51a8227be2e148e02000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffffcbe20db06d2e4e9d80bd16133d38912cc3167fef3d412a972dcfe44400e1435f03000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87040047304402206a2fb1ef3ff8d029d544516c668e2e84f84efd6a1165c113a7d5df02c4673aa9022006cd896dc9c030c237e620ccba3fa98d6533554624e7ef6871e43449f0f96dea41483045022100df7e2bdb97fa3900e134f28377fb1422c02bc4f678aa768b2c40cc0d2deaad7f02207a95834cd3c9febab07ffdefb55c87c9de990e132baeb72a3b7ac92c47bbdd8c416952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0400473044022001b078d7c6631b51a3c9e5fa42cf4f1d5eb3da0eec984cbe74292f721b7a629b022021b80fe98eb72ea4b3bcf7b9c867376f737fe922a405de3b8564523977b45d5f41473044022003ed851f67967314d40cafe3a2af9808103bae9020b4c74473ca0dee4e304c6902205ccdfb11fded4c5e9a6db8a33e63f8e2c54e2777f71483f4c22b7fd4657648da4169522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae0400473044022022d322ffc05132621fd6b5319fc0b654b6de23990ca8395b989c3a88b856ae680220621ae41041746c28e7c0ca9409f44685c33b50e9747e3d475f3cdd575941e5b441483045022100eba0e1cf4b921ee68e87d1d0a3cd0e59c4c0657243572596f46323a98f32fa23022063854fe5d5654f4ef19e35305082e0e37156db27ead9a120a648dcc388400fe14169522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", + "txid": "96d55958f7fd54789597e1deebfa82cd679524ff22a8d42bc4c54ef9079b0cdd" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..9a1efd92f3 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a50200000003bff22aae5dca82a8cd2a6b90a5c7e9f9d51b701931782dca1b7e6bc78f7ad96d0000000000ffffffffff313fa89d0d592b0bac67b4a2b8ebb45a368618517ac694b51a8227be2e148e0200000000ffffffffcbe20db06d2e4e9d80bd16133d38912cc3167fef3d412a972dcfe44400e1435f0300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a823910001012000e1f5050000000017a914f0da56d9bb06310289d808a22ad68457a760ac038722020386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c5483045022100926e50302c32141b962fa7e31282db8a1b300945221180bb99a0ef435b2c02b802203929aa8f1548d05647bcfb6e1af3c95a3e4a4728e5e9c4d561d26530c7bce5d5410103044100000001042200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae80001056952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae2206022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda414e15f6f2100000000000000000b00000000000000220602f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e227003148374ad8600000000000000000b0000000000000022060386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c51403a8239100000000000000000b000000000000000001012000c2eb0b0000000017a914ff888f939bb7911883d2a990b48b20449b0a3b6087220202787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd4730440220225b61ae2a0b021c726be02aeedf0aad03c9d56448ea7fcb8e23ac13aef2ef660220473e4f3da7fc779c1af4b188cfe6e48309108dfd894ee7c5381d02dd15f7d60f410103044100000001042200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104010569522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae2206021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d148374ad8600000000000000000b00000002000000220602787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd1403a8239100000000000000000b00000002000000220603f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff14e15f6f2100000000000000000b000000020000000001012000a3e1110000000017a91445665f38d00633b9a2cb7f73c2fffb9dc6c95efa87220202a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d84830450221009d21e0eb76337714a4c1bcb98c9ce67d60b01854a86dad8a6abb4f8b0edd6bc8022008b3901b3d373c268bc2bd7b4b1f35a6d6ada32a6f4280abeca685ae2936ed54410103044100000001042200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06010569522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae220602a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d81403a8239100000000000000000b0000000300000022060391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f18148374ad8600000000000000000b00000003000000220603cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a3914e15f6f2100000000000000000b000000030000000000", + "coin": "btg", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "e464c61bb585dfc17b2961e45d855167abaad62d7bd0c14cd5821782b28b1d43" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..1b95591dbd --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "6dd97a8fc76b7e1bca2d783119701bd5f9e9c7a5906b2acda882ca5dae2af2bf:0", + "address": "AdjPP1qukg8QxApyJ8rHnEnJy26KnBr2ik", + "value": 100000000, + "chain": 11, + "index": 0, + "valueString": "100000000" + }, + { + "id": "8e142ebe27821ab594c67a511886365ab4ebb8a2b467ac0b2b590d9da83f31ff:2", + "address": "Af51Yq33zaYmxv1b9BKjMEJ875jAY12YW1", + "value": 200000000, + "chain": 11, + "index": 2, + "valueString": "200000000" + }, + { + "id": "5f43e10044e4cf2d972a413def7f16c32c91383d1316bd809d4e2e6db00de2cb:3", + "address": "AN6pufR69RCXokhqeSVnyXV8Q1wQkNsJjq", + "value": 300000000, + "chain": 11, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "02000000000103bff22aae5dca82a8cd2a6b90a5c7e9f9d51b701931782dca1b7e6bc78f7ad96d00000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffffff313fa89d0d592b0bac67b4a2b8ebb45a368618517ac694b51a8227be2e148e02000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffffcbe20db06d2e4e9d80bd16133d38912cc3167fef3d412a972dcfe44400e1435f03000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf870500473044022023ba7850a4d92c511a76ee2479782dbbd2b41adf7d7dfc09816ec54a2701b874022004f4754d587ab13f621335f398c2c2931f20406835d8deeeb4954f8ea8602f584100006952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae050047304402205890e6af058fc51c6e7794d6109742d267ff7ee196b8d28b8019f8eb49a6572002206559b945ba4ffa3f11cb5d45913bd0a0050fa831d17f04f7c3002216c246cd0341000069522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae0500483045022100f2010ab2f72bd745745e2d77e370a0b28a4d9c1de523c0359b7de5b3e30c3ff902200850c57464fff514b9d75c7d4770cef7041ec0990129235a6230ba7009385fcb41000069522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", + "coin": "btg", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "9ba65b96e97205882168865f7aac00a4c7e72e48b0b7823b3e2f291634814561" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService.json deleted file mode 100644 index 0c4d5c2321..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "3044550eda939274c600ff73a9f084f85ab164fabf69c1b7d8498b3627caf7b1:1", - "address": "AdjPP1qukg8QxApyJ8rHnEnJy26KnBr2ik", - "value": 100000000, - "chain": 11, - "index": 0 - }, - { - "id": "cb0b658fa8b76d302afcb56b9e4eb922c2658d0836149ff8a947f61dda6b599f:1", - "address": "Af51Yq33zaYmxv1b9BKjMEJ875jAY12YW1", - "value": 200000000, - "chain": 11, - "index": 2 - }, - { - "id": "b73bae8239d8c5023b115e428100c59f927b89b176edde5f874d3c2c21d5f71b:1", - "address": "AN6pufR69RCXokhqeSVnyXV8Q1wQkNsJjq", - "value": 300000000, - "chain": 11, - "index": 3 - } - ], - "transactionHex": "02000000000103b1f7ca27368b49d8b7c169bffa64b15af884f0a973ff00c6749293da0e55443001000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffff9f596bda1df647a9f89f1436088d65c222b94e9e6bb5fc2a306db7a88f650bcb01000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffff1bf7d5212c3c4d875fdeed76b1897b929fc50081425e113b02c5d83982ae3bb701000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf87050047304402204b9dd3fc2f122c0a0af5afe52e0dbcc624cf0e2427dfecfa63a0484039891206022038b758bca4658109bdfba0c337ad63fe549be245aa60f675c08d3c0c470a47294100006952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae05004830450221008000fb5edef65977749e6764baee184f3c2d46dab6fec97b090145042f595409022013e5b3750b89cd59d5d726ee2594db450dc22c82ec54c5dc22cc83fdda93899441000069522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae0500483045022100ab031619ffc54252d1db19669b2aa0482379f7f8c9155143c43d84bc18a70aea022063d82c158fdd2eb138ea4f0d00435944f87f2a4032489fbc7e1045b6a87b0c1f41000069522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", - "coin": "btg", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "104b0307a8dc533287b8958bca6e280a90ebe55c54b7e58511e5d7d092a27932" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json index 6f7dc19102..720380399c 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "0200000003b1f7ca27368b49d8b7c169bffa64b15af884f0a973ff00c6749293da0e5544300100000000ffffffff9f596bda1df647a9f89f1436088d65c222b94e9e6bb5fc2a306db7a88f650bcb0100000000ffffffff1bf7d5212c3c4d875fdeed76b1897b929fc50081425e113b02c5d83982ae3bb70100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "0200000003bff22aae5dca82a8cd2a6b90a5c7e9f9d51b701931782dca1b7e6bc78f7ad96d0000000000ffffffffff313fa89d0d592b0bac67b4a2b8ebb45a368618517ac694b51a8227be2e148e0200000000ffffffffcbe20db06d2e4e9d80bd16133d38912cc3167fef3d412a972dcfe44400e1435f0300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "3044550eda939274c600ff73a9f084f85ab164fabf69c1b7d8498b3627caf7b1:1", + "id": "6dd97a8fc76b7e1bca2d783119701bd5f9e9c7a5906b2acda882ca5dae2af2bf:0", "address": "AdjPP1qukg8QxApyJ8rHnEnJy26KnBr2ik", "value": 100000000, - "valueString": "100000000", "chain": 11, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "cb0b658fa8b76d302afcb56b9e4eb922c2658d0836149ff8a947f61dda6b599f:1", + "id": "8e142ebe27821ab594c67a511886365ab4ebb8a2b467ac0b2b590d9da83f31ff:2", "address": "Af51Yq33zaYmxv1b9BKjMEJ875jAY12YW1", "value": 200000000, - "valueString": "200000000", "chain": 11, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "b73bae8239d8c5023b115e428100c59f927b89b176edde5f874d3c2c21d5f71b:1", + "id": "5f43e10044e4cf2d972a413def7f16c32c91383d1316bd809d4e2e6db00de2cb:3", "address": "AN6pufR69RCXokhqeSVnyXV8Q1wQkNsJjq", "value": 300000000, - "valueString": "300000000", "chain": 11, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "btg", - "txid": "ae7a020fd752d6b81aad05a9efe9828e2b5183a5b59c41bbf5b57eca237b1607" -} + "txid": "a9a962d95db30c3614892deaf7581517889b0518348aa829485d8941e2e7a4cb" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json index 6db846d236..d4a33acdf7 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "9b5f914624d4960d10f481a564b9be0b9484304bc5c0e6dde355fa3c2b0a8eaf:1", + "id": "4c01eb1ec38fb1af9bf007527dc465591671c3e071b6bb553806c07ca16d3627:0", "address": "btg1qdneyaj2s0wxu2egqac347kjsvxmcgyqpj7xkpshsa3tcghhs3ecqjg5fww", "value": 100000000, "chain": 21, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "ce22fd4e39217e4f2736e0410124f2b57f7ad1682e32b4d05bd34885b71721c1:1", + "id": "ec20ffad64f65809ad7a339cfdf884a86ed77aa76cbbf20ed0b396ca39181b6c:2", "address": "btg1q8lxf2fq0yhzd2ytndhcc4432yjugacfxgxrha69xsjhctuztlcasyd7c0r", "value": 200000000, "chain": 21, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "07667f481a1041d9e2f7c7235cce824b8bd675d342fb005ea54ac693d69dd8ae:1", + "id": "4bde16165eae2a583c977a1acd126f8907fefae17605ed0cf245a8e7118d2309:3", "address": "btg1q55jrprtwpfvu3jaq729sq0rraynctezqtpdtgrc5e5v60ssptwaqzm723r", "value": 300000000, "chain": 21, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "02000000000103af8e0a2b3cfa55e3dde6c0c54b3084940bbeb964a581f4100d96d42446915f9b0100000000ffffffffc12117b78548d35bd0b4322e68d17a7fb5f2240141e036274f7e21394efd22ce0100000000ffffffffaed89dd693c64aa55e00fb42d375d68b4b82ce5c23c7f7e2d941101a487f66070100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87040048304502210094b6b4a63e4f54e4ec23a04b2b5171a351dac038536fbffac19b3a0d678b095d022032f3b483a142c1d03129b8d8e67692913c09309bcadaac536c2a63fba5c17b444147304402201baac1559c171e4700aa4ffcc6661e6e89c4792a10d5391b80353ad307e057a2022005f4f7982cbd157dd804a3bbb760ca87e90a4caee577b7c26b618d2b4b8b94444169522102e7386fc3b8f8f334c51add4a7c325c804896d60fd3fa33f3206b6f0143081865210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae04004730440220110964b690da565faa4b383cf436d655de29ed14ff9f35b6aa6f27ba25b6d4180220281708811268c40ff51eaadb6d9b4485d46d0a68c945ba5e2db16defca38ea0d4147304402206467bb9a3b72bf9207ead07f51f71585e2516a33abbd26ae4ae849ed87e7e0c102204798e6f41f80554b528df96cfcb4147f42637f2b939f9f770fed16d97840d1bb416952210262e2d7db076a14af58f92fbc591d870606afc4362f8deead03425bf16de332fe2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae04004730440220016276c9007327138b10ef1fcf9a49921727574792be00a87b835af802d1e2a702201e1841f6e8518264d773fa17fcc27fa6fc666b845df2100f65ddc42b461b58ca41473044022039f859a12fd0d95d3199e15359bbb773c9c2f567adf2cfbc75247161cb648cf4022029ed1c9f35a96efc9debca0cd130ffb68799a3ff7c2e0873a6cde47a4269042a4169522102b107ccb600ca89ca074c0b6c95e48bfff7f2dc9d33e4bdf9a5c929053f4a87c921032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", - "txid": "0d95b23c24d807f1e8fbc297314db7670fbc829384b1f4f6b69f5273f0ff0184" + "transactionHex": "0200000000010327366da17cc0063855bbb671e0c371165965c47d5207f09bafb18fc31eeb014c0000000000ffffffff6c1b1839ca96b3d00ef2bb6ca77ad76ea884f8fd9c337aad0958f664adff20ec0200000000ffffffff09238d11e7a845f20ced0576e1fafe07896f12cd1a7a973c582aae5e1616de4b0300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87040048304502210091fc0bc5cc565d374e62b25a1b4031eec1d78076fa0eb89e236039bc9f3c2b7f02204b1b97986df527c8eb9ad9425ff34d7ef76bdaa6ca35e6005494a4a25b10dc12414730440220291a7d08ed2c6e5f0a16739d71c638659d48f518b4a1fa1bd410fb8da71914e50220795a3a84f835dd0ca14c9471d50f251d1bb850a97ed3510b84939ba3c182529e4169522102e7386fc3b8f8f334c51add4a7c325c804896d60fd3fa33f3206b6f0143081865210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae0400483045022100866d16409f86df9d737c7517f8513530efbc674aee61549b13f432402dcd113102205e08c7f01a9c7a4f8c2d58401ecaaa107417444762af608b5a7e2c428d97c59041473044022020dd56c3a04e03baeba34a52fcc9bd494e6fe7074de8e06cec03a5c55e7e095d022073c5fcebf368ecd7857b6c63218a306a10c66025039839bb340d62d4925e93b7416952210262e2d7db076a14af58f92fbc591d870606afc4362f8deead03425bf16de332fe2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae0400483045022100a45fc50375caba74fb20b7117e8bc87cf970c2c4f9776b224105d0b262aac2e4022021ca4a06cea1fdd10a25b0ba496ddd82a7112e896779cc842604722d8e39eef64147304402207e06f49c1ca05c1d707b57e2ef88767a452dbf0a093c5cefb47f43bbea74d2220220724b7798095f6209276f79a71638fbeb2a8c788dcbb0058327be43d5fcb19dae4169522102b107ccb600ca89ca074c0b6c95e48bfff7f2dc9d33e4bdf9a5c929053f4a87c921032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", + "txid": "f85fc7e94ef1b1dd91c4f46e73d5127db971eab9c9bb71ebc82e4cf707c1cdf1" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json index b1e4d97ec9..192076a472 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "c134901031c7dc789eb05f6c9000fb8022f684361298db79be0de0c99cffde89:1", + "id": "25fd0569f5f9262f835e2ddce637e855d2c14f3c69fac1fc9673f15cbc3d21d0:0", "address": "btg1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gsgkznkj", "value": 100000000, "chain": 21, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "d19986a8b745892442a2d58b0e7ab9e903966ff433702a35c724cb12209a17e6:1", + "id": "073aaf33915f067c9827ea28e8bc7062424fb733f60fd742d1c7bd7114e7ee09:2", "address": "btg1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2uts6rglj3", "value": 200000000, "chain": 21, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "7ffd092e5baa2e25c71614607110825f7d1037f205f725e9f27dd5be1447b22f:1", + "id": "5355e0877a936d38e6e68addb20beece60cc4db232d12041145358e48ef2df1e:3", "address": "btg1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0sysc5ap", "value": 300000000, "chain": 21, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "0200000000010389deff9cc9e00dbe79db98123684f62280fb00906c5fb09e78dcc731109034c10100000000ffffffffe6179a2012cb24c7352a7033f46f9603e9b97a0e8bd5a242248945b7a88699d10100000000ffffffff2fb24714bed57df2e925f705f237107d5f821071601416c7252eaa5b2e09fd7f0100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87040047304402204768180047b459cefd16802ef8e924ee321638bb18e713c8ca2c3523de96208a02202cf8eeaba5d161da4de81b90ea6581df9b10283194fcde087515fe32215931324147304402205357ddab356025715cece8365c0bf1f11cf80b46ff8d267566134ca3013d6f2b022064456d18023c5c8005dd6091b17756a2fafb641296abe573e4b7ddde95b4c186416952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae0400483045022100cd4e2a3a173c17d5f91ce5bacb111b3516a35858f774595df7ddb273efe4aab102202c616eadbf5b37ff09ee6f54c096e7cd1ef5363bdfcf4ad3f57b26ad0941d0a241483045022100d5ebbc4b3c8b075648cdc73aefb86016299a2be6b2e6f64eb930aab2eb7d9add02206b59f0c7e6cf664f5a4dba057aa3c8b24be0f5677208fdb70176b29fad112eb641695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae04004830450221008c6deb273fbc57f4ed4e34ecbdd3aa646f266fb15235416990b5fba8305e64c402204f404c8d4867510767784bbf16e0c51cf6de270cd2ae2411c693b1da88907edf41483045022100d9886eec19e916ded49e20965e3119707c095ddb03a10bb3877e5e1c5bf6b88d022044cc81e7ee8f4227fa419d3a74c18b049cc9c64b7ebedc21c5df436e01d2a12c4169522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", - "txid": "e7d38436aac3dcaf5a79e2da0a74a166cac08840032bd64b7bbb81e299bae446" + "transactionHex": "02000000000103d0213dbc5cf17396fcc1fa693c4fc1d255e837e6dc2d5e832f26f9f56905fd250000000000ffffffff09eee71471bdc7d142d70ff633b74f426270bce828ea27987c065f9133af3a070200000000ffffffff1edff28ee45853144120d132b24dcc60ceee0bb2dd8ae6e6386d937a87e055530300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87040047304402203bce749f11ddbf8672003d226f2dc74746b05ce8af9e69591df5ab7cba9ed3fb022055d50f8aa32b1037a7cde01e4f785f927c10d0fb55de293a8c4fe394c74bbfb0414730440220066546173248328a64dd6a7bfde8640ab05e1219a640112181532932ac013cd00220620d3bdf9cd86ae2e849f34a2c8586e1d472f56b72bae592b6d68967a06cf890416952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae040047304402205c285b3a8ef04c0dab95b4599c537666e1bc20ee4d450947e8fffc496842942602204323780c668dfc8da3d96ec109da429ad2f71e92d78567f15c81784f0f84eb3f41483045022100845a9426907f2c73ce938507e0b0ba56d3d4a52064b908515c22d8239999ddad0220644c7a37c7d64785667d865fb5ba0a799dbadf35f64cb1d3f5fdf2ea70c85c3741695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae040047304402203454060c6b52468a113047e2acbd8caf3d6dcbf67ac9dc52c59c35996f237842022059d5fd1e77edd53465d98455b5333c89d516d2186ccd2a1a06dee34f5da5a59341483045022100ae3240e88800e3aea79fb00c598d1de00cfbe3216756e5c72329a26f74e5de5602207d7c96aed049403d76b8341ac1a59893fe32b90533c7f7f1848dc82a6310365f4169522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", + "txid": "a5f7d4b77f5e86ff9478e5ae3fa605adbe1e91037994a4898dad52a35139da3e" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..cce6465e9f --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a50200000003d0213dbc5cf17396fcc1fa693c4fc1d255e837e6dc2d5e832f26f9f56905fd250000000000ffffffff09eee71471bdc7d142d70ff633b74f426270bce828ea27987c065f9133af3a070200000000ffffffff1edff28ee45853144120d132b24dcc60ceee0bb2dd8ae6e6386d937a87e055530300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a823910001012b00e1f50500000000220020a67d3630815a8019181ea89cb190b6fc016c1198ce4f4ecfbd887a6f772a7f9122020391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab4830450221008d005129a2cb232fddc23426efb8f99a600bba51c328f78269e1d332796b6637022041ad00741581e6a7389505148e21118e777c804ea412eab8c5e2bfc8582e03ea410103044100000001056952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae22060285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c14e15f6f210000000000000000150000000000000022060391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab1403a8239100000000000000001500000000000000220603a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb8148374ad86000000000000000015000000000000000001012b00c2eb0b000000002200208b0a497c62b7128694ad7f8efd2b4a6dc084c92a149a6a412371f90fce5057172202027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a483045022100e0af80c146823083d4f60257b71bfa7156d9070dc989c2cbec1000926a1b449d02202566bb49c60419eaf4f824f0741855bad8a903737c51c1df2ca1d97fe34d538241010304410000000105695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae220602003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f03614e15f6f210000000000000000150000000200000022060257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de2148374ad86000000000000000015000000020000002206027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a1403a82391000000000000000015000000020000000001012b00a3e11100000000220020264668d6062f55da885e7454f5f0c28dc07a9a6fbef4b10f4bcdbde5c2d34a1f220202b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a905483045022100ebf31832cc92aeac0fbe02d3e32a5d31e43f30ffef49b59da2d80ba248646fcf02201bf780606447314a09db303ddc485fd5aa69a894f8e5171a2be624d9a2b9da964101030441000000010569522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae220602b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a9051403a8239100000000000000001500000003000000220602da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff148374ad86000000000000000015000000030000002206032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a414e15f6f21000000000000000015000000030000000000", + "coin": "btg", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "24f230e1b95e002a3db215daaaedf07a749ad8bba25c91ac811437191bd1d619" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..6d77c0ce74 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "25fd0569f5f9262f835e2ddce637e855d2c14f3c69fac1fc9673f15cbc3d21d0:0", + "address": "btg1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gsgkznkj", + "value": 100000000, + "chain": 21, + "index": 0, + "valueString": "100000000" + }, + { + "id": "073aaf33915f067c9827ea28e8bc7062424fb733f60fd742d1c7bd7114e7ee09:2", + "address": "btg1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2uts6rglj3", + "value": 200000000, + "chain": 21, + "index": 2, + "valueString": "200000000" + }, + { + "id": "5355e0877a936d38e6e68addb20beece60cc4db232d12041145358e48ef2df1e:3", + "address": "btg1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0sysc5ap", + "value": 300000000, + "chain": 21, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "02000000000103d0213dbc5cf17396fcc1fa693c4fc1d255e837e6dc2d5e832f26f9f56905fd250000000000ffffffff09eee71471bdc7d142d70ff633b74f426270bce828ea27987c065f9133af3a070200000000ffffffff1edff28ee45853144120d132b24dcc60ceee0bb2dd8ae6e6386d937a87e055530300000000ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf870500483045022100ed1c38356058a5a50f6b8cc91b81436629dbc13310c90bfefff7cb4d9faad496022012463ad530fcc9692abf17f174e4a79ab345fcb29b842a8ce467cdc43560e3014100006952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae0500473044022043025a84ca7f8758e5234f7a0471bc3c37ab1d7385926545ad48fc8f3c19d9c7022075f3227aa93d89e560935c92a45bc09df899821d210410a21c65a5000a06ba46410000695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae05004730440220233f1cf9fd0cbedc23c5f4229a51315c0eae168cf4693227ae3f30326ba643ba02202bed886ebd6052e5a38ae922fa6ec6f6ea11b7923e342875a61d78a9b813054441000069522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", + "coin": "btg", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "e1324074773d9d56433648c7ca776818231ea78185890b094325305497a23ac2" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-keyRecoveryService.json deleted file mode 100644 index 3007d3d1bb..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "c134901031c7dc789eb05f6c9000fb8022f684361298db79be0de0c99cffde89:1", - "address": "btg1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gsgkznkj", - "value": 100000000, - "chain": 21, - "index": 0 - }, - { - "id": "d19986a8b745892442a2d58b0e7ab9e903966ff433702a35c724cb12209a17e6:1", - "address": "btg1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2uts6rglj3", - "value": 200000000, - "chain": 21, - "index": 2 - }, - { - "id": "7ffd092e5baa2e25c71614607110825f7d1037f205f725e9f27dd5be1447b22f:1", - "address": "btg1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0sysc5ap", - "value": 300000000, - "chain": 21, - "index": 3 - } - ], - "transactionHex": "0200000000010389deff9cc9e00dbe79db98123684f62280fb00906c5fb09e78dcc731109034c10100000000ffffffffe6179a2012cb24c7352a7033f46f9603e9b97a0e8bd5a242248945b7a88699d10100000000ffffffff2fb24714bed57df2e925f705f237107d5f821071601416c7252eaa5b2e09fd7f0100000000ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8705004830450221008c1941f2b12fef6a8135c7dc9f88471dbe44ddbb462301bb45ab47c2bb71134002206ce09ea62691a44e5d251e646555de848f437345e7b55d6489d409dbc1f06f954100006952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae0500473044022004c5af813ff7733658c716eec8d8d15a2000db0312eb69cc5c61988f4710064c02206d6b07bcd118d618e11244ecd565abde097149ea49613e7cc1d5aa192948e6e1410000695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae0500483045022100eb9f23fe9ed7e3a19f725860aa08d25e186c17bba6038d621cd16929c445b8c902203d02b3950c7062ea3d32364cd294bab905eed671df381dafae666b3a3e0b56a341000069522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", - "coin": "btg", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "48bc91c8e93dbbec71e6fe1ca43244cd6b3fea71f6f5c4353264ea8a5fca588c" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json index 043dfbbd9f..2f86845738 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/btg/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "020000000389deff9cc9e00dbe79db98123684f62280fb00906c5fb09e78dcc731109034c10100000000ffffffffe6179a2012cb24c7352a7033f46f9603e9b97a0e8bd5a242248945b7a88699d10100000000ffffffff2fb24714bed57df2e925f705f237107d5f821071601416c7252eaa5b2e09fd7f0100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "0200000003d0213dbc5cf17396fcc1fa693c4fc1d255e837e6dc2d5e832f26f9f56905fd250000000000ffffffff09eee71471bdc7d142d70ff633b74f426270bce828ea27987c065f9133af3a070200000000ffffffff1edff28ee45853144120d132b24dcc60ceee0bb2dd8ae6e6386d937a87e055530300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "c134901031c7dc789eb05f6c9000fb8022f684361298db79be0de0c99cffde89:1", + "id": "25fd0569f5f9262f835e2ddce637e855d2c14f3c69fac1fc9673f15cbc3d21d0:0", "address": "btg1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gsgkznkj", "value": 100000000, - "valueString": "100000000", "chain": 21, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "d19986a8b745892442a2d58b0e7ab9e903966ff433702a35c724cb12209a17e6:1", + "id": "073aaf33915f067c9827ea28e8bc7062424fb733f60fd742d1c7bd7114e7ee09:2", "address": "btg1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2uts6rglj3", "value": 200000000, - "valueString": "200000000", "chain": 21, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "7ffd092e5baa2e25c71614607110825f7d1037f205f725e9f27dd5be1447b22f:1", + "id": "5355e0877a936d38e6e68addb20beece60cc4db232d12041145358e48ef2df1e:3", "address": "btg1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0sysc5ap", "value": 300000000, - "valueString": "300000000", "chain": 21, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "btg", - "txid": "e7d38436aac3dcaf5a79e2da0a74a166cac08840032bd64b7bbb81e299bae446" -} + "txid": "a5f7d4b77f5e86ff9478e5ae3fa605adbe1e91037994a4898dad52a35139da3e" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json index 67d90effec..ac62015e1b 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "490dac425ae6186e4153662d7b0cf1e05e4e2c4ce556fff2a419f79e0be8e0ce:1", + "id": "c35632d302cbce17584464d2932d93aab8be0f10ce2507a97a5a9d2c7e1a177b:0", "address": "7dZoVTJNqgD1RBp8XfVYDnWAwdxDxMLoiT", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "6857ded3d045c3dfc0b0cd3d298855798fe168fba512e33ab7ac9e270f25a34c:1", + "id": "a94f373ba53af0a6d35991c460149b1f3bb2c6981110ca505248b2c6e673d997:2", "address": "7SYigLscymUUvrU65UBE9WdLa5QSD4mWqW", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "3305ea4145906e186ebdfa40e2b32776324798d2aa60103d3fe08e328abb9ff7:1", + "id": "2ced3812039330d831d4546175fc7486cfbc2feb754e5ce5e5df5867ae677056:3", "address": "7VKV4EGh7uutnWSqcTdnRzhRDg57EA9CQT", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "0100000003cee0e80b9ef719a4f2ff56e54c2c4e5ee0f10c7b2d6653416e18e65a42ac0d4901000000fc00473044022058125b52ee8b24b4b401fcb29ee4c5faa8fa86601942ffc8d4fde2a6e7a6844002202f7624ba88be85f1ce95141b52243b9cfc6529bfcfcda287696230b0c1879f7d01473044022065ac724fb7234ba5d2c0efbf4ca111e034065382ee8cb68ccd53e01b1f8c4ed4022006fb6dc18b41919f33af817e9a794142f5239e7a2cd4986a08ccb39803682be6014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff4ca3250f279eacb73ae312a5fb68e18f795588293dcdb0c0dfc345d0d3de576801000000fdfd0000473044022053658e326756ab0052205a489d6cfc27f4b10ead11cb7c9fdb30a22ba1d1585002207ec4cb7cdc0c4585afebea6c2aef532c4d07367b7e6b15395e05d97ba4eb3ef101483045022100f2793faa5ffad5852b611684a72f3ae55019ebfd072294a8a9b7b791f98a02d602203c893520baafb0ac5b074fabfebac743b815833e097fa72f3ce075da800a0862014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aefffffffff79fbb8a328ee03f3d1060aad29847327627b3e240fabd6e186e904541ea053301000000fc0047304402205b68a5a0761ea8ce2c03e2429a85e3656c94f65b8744ae779c7a3206971f5cd10220620d255d4294d4e01add23d5854fcceb6c9a579fb01fa4b531c102378aa5d5ce0147304402200327ae9685d68ab8102358a53b675708eb22860e411ee9aadc3c3a997c2ab6c3022008449eae2736b307e0f594fa110fcda3f8502ec28a89d0504c7436210b855a7a014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "24f2bda18b6f2ac275077c46025f253bafd4e7b36d1c8e274850b0f5d49ef0ec" + "transactionHex": "01000000037b171a7e2c9d5a7aa90725ce100fbeb8aa932d93d264445817cecb02d33256c300000000fdfd000048304502210090afd8e3bfd9e080ebf66d1367d1947033c5c8682558d14de429412152df5e0202204d9e6838c10d2c863a8d3ef6114b4beb4663eaa2189e56c87be3ffa81a2c316301473044022032bb84e66cf44a3ce2a9114b06c616b8044b5df4ae743e779dd7bdbaab31093c02206ae22a743cbd4c59996ee44044431363ee9d1f0b8468c3539aee9d692f936a52014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff97d973e6c6b2485250ca101198c6b23b1f9b1460c49159d3a6f03aa53b374fa902000000fc00473044022020ca41765bdfec55a1f1467111e699fb44b85d268efe5462ed5deb85596393f102203f1e8066f3ddb4d7bee5397b41593fe1ff99a3d72dcaa361e4a0ba8e59a2ae430147304402200934c3a7471cc655e73e9a9ef5994738a621f43081a585ceb7e2bb0470a3b74e02200177e4ea17e4ff5418fe3535fa2c2a43e9ad433f87372b317c11de131de5a8a9014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff567067ae6758dfe5e55c4e75eb2fbccf8674fc756154d431d83093031238ed2c03000000fc0047304402200f5e67793a44288724dab7136cd55e1e21442da67660d1c68b0f4816389253d0022077a9c303a80a63d703114504915131d24e867450405b78b42fbf3520b58e177b01473044022050243f1fc531961c7bf1cc63a08d823edf6a75524eb1f75d70846e8f657fb09d0220747e1a591f2d08151b8391f7790f9a6e62e8451ebe468ca42338ddd570e75aed014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "a0455b558005c37d3927a82712bb26cefa467bde2f89bc1c97a0a2645492b873" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json index a595028d6e..37c816f070 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "af3cc2e4eeb25d9ed826b6513b71f1886f5eedf8801f63496317bb0315a46593:1", + "id": "818236f569e2c257866e3b2b2f496d32b9972d67bbae0fffe10bd5d15c439a28:0", "address": "7YZ2BWqzPfj1zeh5JPCMZW1Gcaamj6AKG6", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "2a6890b46672658eeafd69e66ac8d90684ac215f64a3c9a5464735d625cee1af:1", + "id": "3c8a8235f781763203ceea667a440934e00ab639866664a04e18fc8b14862b1f:2", "address": "7YDQ5f3eWvvTTnnZaxiQvKLPecdv1A4QLF", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "9fe15864c040c64d4cd63c70f035fd35fb3a26f4918a15249a590099dc4eec67:1", + "id": "959bb11cb05102765373e1174b0ef61d75ca7b81d3245aa82e9756219cc360dc:3", "address": "7Sn4BZWcq1at4bsEkE9pEJVyRVRk2qo5ay", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "01000000039365a41503bb176349631f80f8ed5e6f88f1713b51b626d89e5db2eee4c23caf01000000fdfd00004730440220532f052bf4834c8a5dd86e61136d58a49719b138d9b3acacf0c80a8d6aebfba802205432474d82f50fb71f6134afa03fa43213b02d7a1ac18fe8e5ee8c8942ac5d9401483045022100c36bda61f38ce6bbff858a530ccfeb71604056a4b7626662a22cc759000b288d022067d7da65865adf708b51d6bb3e92c29d36f108a942d2b0232abf1abaf2a49351014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffffafe1ce25d6354746a5c9a3645f21ac8406d9c86ae669fdea8e657266b490682a01000000fdfd000047304402203b7556413b1693f16610f79c65046a27ae1ce884932a86131363e7d3c19683e9022028b6760bb708e79e262edb52ba664f0ff86dfc7af8379fed0b57953e0a745ea201483045022100ae17fb5f1b419ffd501adc65d992f26582b857fa77990504e9090b60882adab002200a8ba6280fa6cfcde935d1f9543970e064bb0c46e0073021bc25075145899179014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff67ec4edc9900599a24158a91f4263afb35fd35f0703cd64c4dc640c06458e19f01000000fc0047304402205e4abf1955a9717ab3f810aea7d260a8d82483db207532b90dae8a75833559c202207f8073ec9060d2958df496d2c8c03572eb0221e84da1baa8daf5e6e06396b1900147304402200fed914bfc5f19beaa3d8f17d3b4c2204aa3577f1df9eb68fdf6eb3394b16e7a02206a3f4bcf6b925a119855999dd27e3ac08df402ed07a3da1472e08ee3438f36d2014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "a65365b1e8156f692e083199389ee1eceeed987b8a30d4df03db5b3547de1186" + "transactionHex": "0100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f536828100000000fc0047304402203bf1f574c794fd8f68e90722c57cc93ce136ccddf3b30b5ce64342c89c83a7f3022019e8c18c6c94acd2c384c76f65ad417dc0c729fcabf8c20a77c521641b751a0301473044022100d091b48bd6cc8e7955fc281c313e2f43ae4caee4326cd1c03f84ae179de5e5e6021f32aeb1dcee1695875f459b40a7fabdae99d3991338dc101dffcfd9a18f85bf014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c02000000fdfd0000483045022100c26df93a70b8383d26b033a750483a33ebe2474bafc640ff376ad9eae4d2fb95022042154846c2f042cbfce1d59fe22620ea7433552913c027588b9fbd6da43eb846014730440220477c29b238a95f6574eca9ecbb4d71e32696a1e0fd1f4e9c471838c07e0637fe02201365e92f8ab0b901a56f5258ceabc278967645503caef4a32c0c4c00f8283a2a014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b9503000000fdfd0000473044022049ed363ab4890ea65ce8fbe76030fa329ccea35dba3aaec24582838eb6139d7c0220072794c17dbc26de84a25e2804f5408115f12437c9bb50bc3abb713c4e5a297601483045022100c278f9d719f0071d56091c6b8dc7abe911e9df0512373505ed82a180f3f2b2f5022012db544b4301d259b8419ed49bd36d76265e834e9536efee8c867f9f4b4f11ee014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "328a694e782f085a82ec01a93056c57541adca82ce3007a0f910f1b2291c1d24" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..32cf3782f6 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a50100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f53682810000000000ffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c0200000000ffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b950300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a8239100010053010000000101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0100e1f5050000000017a9144365f80ae9830dab1d9124be68c74c2fa23bbc128700000000220202d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc61483045022100c15ce99736373c306708f8cc510a4ad85e109c0482918cde4cd64957eece542a022063a15d21b3c13ed5e5bc350b3bc677183c4041cca4b90c25ec4318f4f2d67dc20101030401000000010469522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53ae2206029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d148374ad8600000000000000000100000000000000220602d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc611403a82391000000000000000001000000000000002206030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3514e15f6f210000000000000000010000000000000000010091010000000101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0300c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b0000000017a9143fafee16e19a14db449ab3a57da1fd3ef89daa5987000000002202021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a7483045022100c4767d763ba74be1c9e39cc0972e31ff89865b03973f218c1ea2cc26334be8ae02201e164bca6f26364ee522d967aa70ea53b00c548a6f876478033d629759a3380501010304010000000104695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453ae2206021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a71403a82391000000000000000001000000020000002206026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f3024148374ad8600000000000000000100000002000000220603b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b914e15f6f2100000000000000000100000002000000000100b0010000000101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0400a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e1110000000017a914040c4ab99a665c767adaa50fb28dce2ae514363b87000000002202023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c483045022100e722510ad6c3aabcad9684e302c07bbb56c8c8fa860d68d800d1d3582b4bdee202202e40d997fdec7dc1c8b61d450b75cfde8c285caa12cd7b5e8897083ecad0ea5e01010304010000000104695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53ae2206022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d14e15f6f21000000000000000001000000030000002206023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c1403a8239100000000000000000100000003000000220602b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b148374ad86000000000000000001000000030000000000", + "coin": "dash", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "8f52b9ad56724efdcd392f50d8cda59e333d2eb7a3e3b2ac0edf191463a2751e" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..a8f68de149 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "818236f569e2c257866e3b2b2f496d32b9972d67bbae0fffe10bd5d15c439a28:0", + "address": "7YZ2BWqzPfj1zeh5JPCMZW1Gcaamj6AKG6", + "value": 100000000, + "chain": 1, + "index": 0, + "valueString": "100000000" + }, + { + "id": "3c8a8235f781763203ceea667a440934e00ab639866664a04e18fc8b14862b1f:2", + "address": "7YDQ5f3eWvvTTnnZaxiQvKLPecdv1A4QLF", + "value": 200000000, + "chain": 1, + "index": 2, + "valueString": "200000000" + }, + { + "id": "959bb11cb05102765373e1174b0ef61d75ca7b81d3245aa82e9756219cc360dc:3", + "address": "7Sn4BZWcq1at4bsEkE9pEJVyRVRk2qo5ay", + "value": 300000000, + "chain": 1, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "0100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f536828100000000b60047304402203828c6052fc53c573b8ad653ac80fe26e1d1ddde683faca519b2820212da4f7d02205e7e55a1cc552687f5a9ec8e9bd135557c09d9b2aaa0019929288c630fd1ceea0100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c02000000b700483045022100f758208f72138002f57aae96b15a7b60a059d78da132c0e3c7e0abb4bd567f3f02205ce0a003b117d77542d8e1a46eded5c661996e69ee123c146d65338b9cd881250100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b9503000000b700483045022100adf4e985196efef77c9bd658691e056c54e2ef6b9b829f1bec67f5d457ce828f02206c2c11f191d754f418383635d37b2a47f0539857e75b631f9637733fdfc678850100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", + "coin": "dash", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "7cb327f1dde5aac990f3b053a4aa24d1dc2009d682c5c76062d9cb5737feb36e" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json deleted file mode 100644 index 25ce90088a..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "af3cc2e4eeb25d9ed826b6513b71f1886f5eedf8801f63496317bb0315a46593:1", - "address": "7YZ2BWqzPfj1zeh5JPCMZW1Gcaamj6AKG6", - "value": 100000000, - "chain": 1, - "index": 0 - }, - { - "id": "2a6890b46672658eeafd69e66ac8d90684ac215f64a3c9a5464735d625cee1af:1", - "address": "7YDQ5f3eWvvTTnnZaxiQvKLPecdv1A4QLF", - "value": 200000000, - "chain": 1, - "index": 2 - }, - { - "id": "9fe15864c040c64d4cd63c70f035fd35fb3a26f4918a15249a590099dc4eec67:1", - "address": "7Sn4BZWcq1at4bsEkE9pEJVyRVRk2qo5ay", - "value": 300000000, - "chain": 1, - "index": 3 - } - ], - "transactionHex": "01000000039365a41503bb176349631f80f8ed5e6f88f1713b51b626d89e5db2eee4c23caf01000000b600473044022021c012df00fe328c48925f865817f5ea054408f3af07ca3dfe28d0323434699c022018bf59050f1fbc2c5b6cab0e85228f762136041136d486cfba5015def55771270100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffffafe1ce25d6354746a5c9a3645f21ac8406d9c86ae669fdea8e657266b490682a01000000b700483045022100a45c18b354a000ca41fe90abd3969dc9d046c69053c39d211e5f0b593e77505e02200a03eef3a7c7826aaab181539c558c51068181600058a49f090fded2f89a3d780100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff67ec4edc9900599a24158a91f4263afb35fd35f0703cd64c4dc640c06458e19f01000000b6004730440220240ab40c0d435be7b45bda23c6d7fcda3e52806a0ecb64d9c7f3655d780cbd70022071d680bdb867835978b4b27f7cc70ded8522b4968e6b50724a0257908b6998e60100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", - "coin": "dash", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "b621c1d9efafeed474b3c74fa5fcd87383c5f8c4f6d40d63ca99a2570626b8ff" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json index c567eca827..4d18bc5cb7 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/dash/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "01000000039365a41503bb176349631f80f8ed5e6f88f1713b51b626d89e5db2eee4c23caf0100000000ffffffffafe1ce25d6354746a5c9a3645f21ac8406d9c86ae669fdea8e657266b490682a0100000000ffffffff67ec4edc9900599a24158a91f4263afb35fd35f0703cd64c4dc640c06458e19f0100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "0100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f53682810000000000ffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c0200000000ffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b950300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "af3cc2e4eeb25d9ed826b6513b71f1886f5eedf8801f63496317bb0315a46593:1", + "id": "818236f569e2c257866e3b2b2f496d32b9972d67bbae0fffe10bd5d15c439a28:0", "address": "7YZ2BWqzPfj1zeh5JPCMZW1Gcaamj6AKG6", "value": 100000000, - "valueString": "100000000", "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "2a6890b46672658eeafd69e66ac8d90684ac215f64a3c9a5464735d625cee1af:1", + "id": "3c8a8235f781763203ceea667a440934e00ab639866664a04e18fc8b14862b1f:2", "address": "7YDQ5f3eWvvTTnnZaxiQvKLPecdv1A4QLF", "value": 200000000, - "valueString": "200000000", "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "9fe15864c040c64d4cd63c70f035fd35fb3a26f4918a15249a590099dc4eec67:1", + "id": "959bb11cb05102765373e1174b0ef61d75ca7b81d3245aa82e9756219cc360dc:3", "address": "7Sn4BZWcq1at4bsEkE9pEJVyRVRk2qo5ay", "value": 300000000, - "valueString": "300000000", "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "dash", - "txid": "e23a197e97f87b0b8b5aab0ce6065218d44b396b49b2232254fa89aacd7d51b2" -} + "txid": "15454128619e030a6338799449934241c024abf40d52585e9e003eef622636b7" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json index 884568f805..1304aa299d 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "c622ae3424c0f8699ecebf650ec0975793811c64bc81b51e73eae0274769fab0:1", + "id": "866aec34cf7de04505cdf4f08bf12b9ff83aaaa902ad135418b9f965ca8e0b88:0", "address": "A3bRQ7676kzGKneegBVT8Y8tifVtAJecc5", - "value": "9000000000000000", + "value": 9000000000000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "9000000000000000" }, { - "id": "91cc54c4a66900e2925f934333a7f2c4a5590b603ff01c90e97e2b4e39dab03c:1", + "id": "9119a45dd4dc2143998d71d6dddf35a3de0b2fbeefc4d5ce8035b1a152257716:2", "address": "9raLazfMErFjqTJcDzB94GG4M6x6Vy7R9t", - "value": "18000000000000001", + "value": 18000000000000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "18000000000000000" }, { - "id": "db50a4622260689cd37091899cdb735b473cb332848e0397ec74523526fffff5:1", + "id": "a408ea7b201b9ae94943c6c9e629ce04a8133d220cc471954718b9ed9435b3f3:3", "address": "9uM6xt4RNzh9h7HMkydhLkL8zhcmXmbDCJ", - "value": "27000000000000001", + "value": 27000000000000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "27000000000000000" } ], - "transactionHex": "0100000003b0fa694727e0ea731eb581bc641c81935797c00e65bfce9e69f8c02434ae22c601000000fdfd0000483045022100ff6954e65de0b195c91fc1a727921637d9065143bfb47970d86a2dd2433b421b02204de46ea34ba92fa77a0d3031c9fcde211180e2ad965e0b432e75655643ddc57a0147304402200cd444c3c4ee2076f5860817f150c0833c6d6036ebd1e23befc2eb4a4c50e11d0220109109fb3a200171a320d9119a9f67c2d08cb09fa917d1d5f04c94039442add7014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff3cb0da394e2b7ee9901cf03f600b59a5c4f2a73343935f92e20069a6c454cc9101000000fc0047304402206e9db21e75d313e334377e9ffd3e40a980400f35f2b024a284eae94cbc1e5392022056db900153855374b95962f9ceadb1d45604593e55bb3db0276b125a970103290147304402203f1de33628891fd3bdaa0c829972a0dc6f5850bafaa0ae51facfd9fc5cde77ac0220719238bff30c6860477781685e1c7847b4cae4721a54c211826527f5c90a2cfc014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aefffffffff5ffff26355274ec97038e8432b33c475b73db9c899170d39c68602262a450db01000000fdfd0000473044022073d8ad124334e44db9010a37699382bcad185dadb75ea8a134bdc47b605d64d6022064a4a6975dee90d665ed273b34b62b126deb20c49b631cf2ac98e05342be638101483045022100d1d257764bfa34d5f51c3c55c1c94f22a7118863e4b43e37382240944cb5d182022052cf189258678d9731cda41f7cbafa778abac28a8c64ce6a691707fb01e697b9014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b28dddc1b6d8bf0017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "8ee87f8a1f556843856009e358601d733d2d2e8fd88535ad2c2b31422df4cb9a" -} + "transactionHex": "0100000003880b8eca65f9b9185413ad02a9aa3af89f2bf18bf0f4cd0545e07dcf34ec6a8600000000fdfd0000483045022100fbfcb12ba57c4104c750f5a265ebb4ac70536ea1cecec4cbc8a0c8748649765b02200a5d1e71e6e94e8d0f9df8bbd2e1b40cbd44a4ec5b8c5e13b5386437645f0a1a0147304402207d1f2cd07a04b9a72a0baee217150eabe5845a9ba91bea27fbfc43eadbd874cd02206b5a178efc85ea062094bff29dfde7d1163c4569aa90f164c9463b06c34f6fcc014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff16772552a1b13580ced5c4efbe2f0bdea335dfddd6718d994321dcd45da4199102000000fc004730440220075a6a1aa6447a50f312f8a8283744ea98a2361271b572d200d43cd7712a2c3c0220730d98f2d493f4cae1bf8f641a81199d9db9a449d44835e0d9c55fce4380f5c901473044022035390157357d45d66c400900e61146bbe66dc514a25814c2b722e19c457f96c202203819bfb6f0d1edc8ab2449d6bfbb65168a5bc11f9536c55cee90de8430a4b451014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aefffffffff3b33594edb918479571c40c223d13a804ce29e6c9c64349e99a1b207bea08a403000000fdfd00004830450221009ab11b9a28999cfd3b30698bc1546a2ca6b0a82dde92613fb1c4328ccbcceecf022030fef98c424757ed06abe298f0635c45509d302fe0bc59d63c9d70e0c39ecbf80147304402206f424efb67b93bc259d78077203bcd95a572927a7ce24190224a57986d5bc7c10220542d1a8d9ec9dbdb3ad73392869343e3d587f8c270201427fad080ce3df0c34b014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b08dddc1b6d8bf0017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "1815a2f4726964347e04cfc313705aeac4e5b9195c5f565d8582e85c4df15585" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json index 292ead6b76..b5c367f458 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "2e6cd69dbdb3a04e4b0f94cfb6554ea61a8226bc8de0e63d23f1cb87b03aca6e:1", + "id": "60f48998917a7636b3cd3a2dbeeac3b7ffe6f4b80c027e5c117db878b02d5cd5:0", "address": "9xae6AdiekWGuFXbSuCGUFdzPc8RyQ9USD", - "value": "9000000000000000", + "value": 9000000000000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "9000000000000000" }, { - "id": "038614de4388140a27d8f9fae5443cdcc0283738c8249a6b675950fae8a57193:1", + "id": "90b8f3b088c5dc905bab34e59862b7d28f9beeeab4630d1607e70d8b9900b117:2", "address": "9xF1zJqNn1hiNPd5jUiKq4y7ReBaFTfSf2", - "value": "18000000000000001", + "value": 18000000000000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "18000000000000000" }, { - "id": "b1542eaff30c471adaf0886941697e80a08af3e79408f87a729f578b35b82afb:1", + "id": "757c2df1d884b00c4f510a814ebc4c917785a63c48b602cc5c3c5edd853e5028:3", "address": "9rog6DJM66N8yChktk9j948hCWyQGHV84D", - "value": "27000000000000001", + "value": 27000000000000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "27000000000000000" } ], - "transactionHex": "01000000036eca3ab087cbf1233de6e08dbc26821aa64e55b6cf940f4b4ea0b3bd9dd66c2e01000000fdfd0000483045022100c80184388b1e8f6fbdf417bd1eb84964c98598430765d7bfd164c6f80bdb79a60220783712a44dc97ea864371c32aa3b05105ea325090bc8357dd7517e2a67d6d3fb014730440220353a864d03665566a7d757d8dc0ef482f9b0fbabb1197153bfdb5a5f2654d15b022002a8b28691b112e3cf10612e47fa61f6de07e76eba4ea6e9f56b68a185595b1c014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff9371a5e8fa5059676b9a24c8383728c0dc3c44e5faf9d8270a148843de14860301000000fdfd00004830450221008b977bcebbdfa13b714a69ec319b59c6cbfb414b15c8f46726f7804ecf256e4e02201f9d1c6f1ebd4506306869096987a076a195f1fe621ed65186695f2f065a6f9701473044022067d773ab958a246204c7a23436df304b2d9c8bda2ee415df24f0c1569c54e73d022050d32225cd3a4c52cb84abbb84b1bb3b358f68c981136043244e03a8db2f486a014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aefffffffffb2ab8358b579f727af80894e7f38aa0807e69416988f0da1a470cf3af2e54b101000000fdfd000047304402202c8393befb1ebd5f913b8458cced770fd40e8ef1486757a758ca124918f29e6c022010c07cafa79c57f75b8041c9cb3b52ff522639f7e63a3716fcd44b9b02a8beee01483045022100fb34e0768ce11e97df51a38ce4b1ec8f04bd2bb11db5a100a44aa09ae7aac7660220246d9a20b89c62a9182dac0b797b7b866ac737eae772f7f12f3d94d67ccdcfb1014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b28dddc1b6d8bf0017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "aaa08b34a95b0d2df357bdb7b51193715c0dbb138434312405039d861678b6f4" -} + "transactionHex": "0100000003d55c2db078b87d115c7e020cb8f4e6ffb7c3eabe2d3acdb336767a919889f46000000000fdfd00004830450221008e62d6582bdc1868e4aeb1643320ae258b2154630e0b30daa7e17466ffbf63e0022065829bf5729e5cec4bd84ff334460081780f43be3e9d7003a1b6481157d3c7e801473044022034228da9536b45021933b2d093b60474ede2a1fe83ac0ef1888841ada5426dbf0220095316c53c29657d504f0dcf333cefa900d7f056feeadf2c69a2f7357f25aff5014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff17b100998b0de707160d63b4eaee9b8fd2b76298e534ab5b90dcc588b0f3b89002000000fc00473044022070fd111c92f91f11fc7f3c3a85093f8f6e71538c54865d67b3d771c8bf7440a502203cfca617565befa0969f1d820901c338d9c95fa2e7131eda9d1f362e5d3b625e0147304402202b5be1e6942da57e84caaeec9dac0ce57682c4fb22a31cf5e59307b6c389c6680220170e5a9d423a8b9cc5defe04e0a24d0b8c919a60da08fa7a749a28205153ba71014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff28503e85dd5e3c5ccc02b6483ca68577914cbc4e810a514f0cb084d8f12d7c7503000000fc0047304402200f4c484711af094a23d5354b0756ee5872e4b3caeab292eefdadfa5369d71226022065c7f8cba9723f3a5dd1147d075defb01862d326e3cbf7a5c921c86aec4ff7cb01473044022071d0cc7ce60ec95b66375986041dff0af4fcf5a52c4919724927673a3e15fba80220343baf3c23a549a228c25ac5a5f4ddffdbbb0d4fa8d520ba221e191d7234e8c6014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b08dddc1b6d8bf0017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "d573352de5b55a9835c2c291bbae9f70ad64edec6c035ad57e0e0a098bb2cb96" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..b3168542b0 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a50100000003d55c2db078b87d115c7e020cb8f4e6ffb7c3eabe2d3acdb336767a919889f4600000000000ffffffff17b100998b0de707160d63b4eaee9b8fd2b76298e534ab5b90dcc588b0f3b8900200000000ffffffff28503e85dd5e3c5ccc02b6483ca68577914cbc4e810a514f0cb084d8f12d7c750300000000ffffffff01e47cddc1b6d8bf0017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a82391000100c00100000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff010080faca73f91f0017a9144365f80ae9830dab1d9124be68c74c2fa23bbc12870247304402200c5de84501d13826c2799f6fee15ae367e1e03335b61d1d1e4791a883d8051650220581c8665ea5301e8a3c50e0307b5f5431e1222f41708bdbf9332ef126b01b337012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f00000000220202d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc61473044022021c3a15352f1a7fbeeaa622c188523f38226017c2136c81ace63f80bf1e4e44002204818cb5f0f3ccaf96a404a2a59b9e2c5e7d42c70c203266b8849633378726d300101030401000000010469522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53ae2206029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d148374ad8600000000000000000100000000000000220602d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc611403a82391000000000000000001000000000000002206030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3514e15f6f2100000000000000000100000000000000000100fdff000100000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff030000f595e7f23f00160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c3260000f595e7f23f00160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c3260000f595e7f23f0017a9143fafee16e19a14db449ab3a57da1fd3ef89daa598702483045022100dd958ac6f1167a14b4ef44991ca6cc92fc5de8783353609909039eae58b19373022020120cdf4a05490e252ba2c67ac4eac99e2197b25867f27e5df96988c070e545012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a7483045022100c8227b1901e7cf935095cfa3330b2a8120407400c70e7eea0640792f50ece578022028c00597c23bfffc1fdbacb20f5366070b25169bb6e3362f04673f73e54bb5e801010304010000000104695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453ae2206021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a71403a82391000000000000000001000000020000002206026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f3024148374ad8600000000000000000100000002000000220603b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b914e15f6f2100000000000000000100000002000000000100fd1e010100000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff040080ef605bec5f00160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c3260080ef605bec5f00160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c3260080ef605bec5f00160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c3260080ef605bec5f0017a914040c4ab99a665c767adaa50fb28dce2ae514363b87024830450221008034639083a6d0dd61fc63294b00950f4258b9f015e7aadc75694c98cdcee4ea022054c32e894556e9e46912c9973514079f45c80e036352cd750005794242782706012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c473044022015372caa6558ff5656044826ee5c61a1616f1c47cc86360cb8b877df39a10de802204917fe3a94d14b682268c9132d477cd1434d8730e36a4e9fcbd8a44564cc70ee01010304010000000104695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53ae2206022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d14e15f6f21000000000000000001000000030000002206023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c1403a8239100000000000000000100000003000000220602b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b148374ad86000000000000000001000000030000000000", + "coin": "doge", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 53999999999900900, + "recoveryAmountString": "53999999999900900", + "txid": "ccd3dd93109c2f6955f39cc6464b9634726fd4f92d38c92b46c66af5a0daaa37" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..c4cbd9e70a --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "60f48998917a7636b3cd3a2dbeeac3b7ffe6f4b80c027e5c117db878b02d5cd5:0", + "address": "9xae6AdiekWGuFXbSuCGUFdzPc8RyQ9USD", + "value": 9000000000000000, + "chain": 1, + "index": 0, + "valueString": "9000000000000000" + }, + { + "id": "90b8f3b088c5dc905bab34e59862b7d28f9beeeab4630d1607e70d8b9900b117:2", + "address": "9xF1zJqNn1hiNPd5jUiKq4y7ReBaFTfSf2", + "value": 18000000000000000, + "chain": 1, + "index": 2, + "valueString": "18000000000000000" + }, + { + "id": "757c2df1d884b00c4f510a814ebc4c917785a63c48b602cc5c3c5edd853e5028:3", + "address": "9rog6DJM66N8yChktk9j948hCWyQGHV84D", + "value": 27000000000000000, + "chain": 1, + "index": 3, + "valueString": "27000000000000000" + } + ], + "transactionHex": "0100000003d55c2db078b87d115c7e020cb8f4e6ffb7c3eabe2d3acdb336767a919889f46000000000b700483045022100fc32825486d627a3d05aa770ea9982dc23c4304a58a7b9d1e91357e0f8b634330220237b0833eac2838d60e572b179a973e7baa14d16d81fdfa944d7a9ee3305fec80100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff17b100998b0de707160d63b4eaee9b8fd2b76298e534ab5b90dcc588b0f3b89002000000b6004730440220024d2bc96f496cc79fd9cfdd809ee27647e84ecc0b1875d77511cc7061e4ae5c02204c62994764b04b602aee49228b2e159ab7b5eb6038b03d3e569980bc354ff4db0100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff28503e85dd5e3c5ccc02b6483ca68577914cbc4e810a514f0cb084d8f12d7c7503000000b700483045022100d63bd36d5a7f8a49cb3b38cd2c369c9f44f2638d65b0fc4e9168c9c67e3de85d022000aa73d8b5d23b305baa7b5723c66175dafe4d2998892b71629565dbafe4668c0100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d24fdbc1b6d8bf0017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", + "coin": "doge", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 53999999999758290, + "recoveryAmountString": "53999999999758290", + "txid": "05b463e9c60bf11b13f8e049172f516add0b372d4f3e6892ebdc9c7498b14f16" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json deleted file mode 100644 index d0601de814..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "2e6cd69dbdb3a04e4b0f94cfb6554ea61a8226bc8de0e63d23f1cb87b03aca6e:1", - "address": "9xae6AdiekWGuFXbSuCGUFdzPc8RyQ9USD", - "value": "9000000000000000", - "chain": 1, - "index": 0 - }, - { - "id": "038614de4388140a27d8f9fae5443cdcc0283738c8249a6b675950fae8a57193:1", - "address": "9xF1zJqNn1hiNPd5jUiKq4y7ReBaFTfSf2", - "value": "18000000000000001", - "chain": 1, - "index": 2 - }, - { - "id": "b1542eaff30c471adaf0886941697e80a08af3e79408f87a729f578b35b82afb:1", - "address": "9rog6DJM66N8yChktk9j948hCWyQGHV84D", - "value": "27000000000000001", - "chain": 1, - "index": 3 - } - ], - "transactionHex": "01000000036eca3ab087cbf1233de6e08dbc26821aa64e55b6cf940f4b4ea0b3bd9dd66c2e01000000b700483045022100aebff937c0c6514f64b98251855b98b7a7807dea2ea71f9cd3b3a183b21ca0f10220687947435dd360a32ca4b39a3703d6a2c32fb50f0c8b8cdcddfe2615f988ba0f0100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff9371a5e8fa5059676b9a24c8383728c0dc3c44e5faf9d8270a148843de14860301000000b700483045022100e240dec0121937325bea6ea84dd6a3d39d4590a79e2373201004337d89b576ee022078873ad61c21c23eb342023bb8df904876be390f17588ace3f5212b481da0a170100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aefffffffffb2ab8358b579f727af80894e7f38aa0807e69416988f0da1a470cf3af2e54b101000000b700483045022100d78833f2cbff900639e0e016ce4ff6cb3f885d89fff7232c11a6ef560a7de35802202597aa13de0e534c5e704be7880c5c704c4870d4c9681e1d9a15ce1013139c500100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d44fdbc1b6d8bf0017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", - "coin": "doge", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": "53999999999758292", - "txid": "b95b741b18a1354b295fa9eea354a67bc741088b76c4b4c11aefe85186fddb26" -} diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json index 2b443746be..359a3f4734 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/doge/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "01000000036eca3ab087cbf1233de6e08dbc26821aa64e55b6cf940f4b4ea0b3bd9dd66c2e0100000000ffffffff9371a5e8fa5059676b9a24c8383728c0dc3c44e5faf9d8270a148843de1486030100000000fffffffffb2ab8358b579f727af80894e7f38aa0807e69416988f0da1a470cf3af2e54b10100000000ffffffff01b28dddc1b6d8bf0017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "0100000003d55c2db078b87d115c7e020cb8f4e6ffb7c3eabe2d3acdb336767a919889f4600000000000ffffffff17b100998b0de707160d63b4eaee9b8fd2b76298e534ab5b90dcc588b0f3b8900200000000ffffffff28503e85dd5e3c5ccc02b6483ca68577914cbc4e810a514f0cb084d8f12d7c750300000000ffffffff01b08dddc1b6d8bf0017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "2e6cd69dbdb3a04e4b0f94cfb6554ea61a8226bc8de0e63d23f1cb87b03aca6e:1", + "id": "60f48998917a7636b3cd3a2dbeeac3b7ffe6f4b80c027e5c117db878b02d5cd5:0", "address": "9xae6AdiekWGuFXbSuCGUFdzPc8RyQ9USD", "value": 9000000000000000, - "valueString": "9000000000000000", "chain": 1, - "index": 0 + "index": 0, + "valueString": "9000000000000000" }, { - "id": "038614de4388140a27d8f9fae5443cdcc0283738c8249a6b675950fae8a57193:1", + "id": "90b8f3b088c5dc905bab34e59862b7d28f9beeeab4630d1607e70d8b9900b117:2", "address": "9xF1zJqNn1hiNPd5jUiKq4y7ReBaFTfSf2", - "value": 18000000000000001, - "valueString": "18000000000000001", + "value": 18000000000000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "18000000000000000" }, { - "id": "b1542eaff30c471adaf0886941697e80a08af3e79408f87a729f578b35b82afb:1", + "id": "757c2df1d884b00c4f510a814ebc4c917785a63c48b602cc5c3c5edd853e5028:3", "address": "9rog6DJM66N8yChktk9j948hCWyQGHV84D", - "value": 27000000000000001, - "valueString": "27000000000000001", + "value": 27000000000000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "27000000000000000" } ] }, "feeInfo": {}, "coin": "doge", - "txid": "76cf77e9a28ec98e8213ace8a8c19a8e53302d65ac4c763bbdb6aca540911bc8" -} + "txid": "854a3fd3fe95a311aaa5915bc14166d2b86f59a7260560f400ce65c28e47fcea" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json index d26d0c6a30..0b010141a5 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "51bd23c15013845dab96daf6d4f9cac587a4b19369cbceddf3c52efd5082a983:1", + "id": "c35632d302cbce17584464d2932d93aab8be0f10ce2507a97a5a9d2c7e1a177b:0", "address": "MK4Jy9SAyoxoDvZ5MvpNi3kvLniJ9GwSvo", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "d9793c989b294db63e43165a6060042492c84b7f0ae334d73ce6616504f4c976:1", + "id": "a94f373ba53af0a6d35991c460149b1f3bb2c6981110ca505248b2c6e673d997:2", "address": "M83EA31R7uEGjbD2ujW4dmt5yEAWNQ2Kzo", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "670228996321d24ca54224a48df75b2fae0a3b465221b91d0de55cc9da214811:1", + "id": "2ced3812039330d831d4546175fc7486cfbc2feb754e5ce5e5df5867ae677056:3", "address": "MAozXvQVG3fgbFBnSixcvFxAcpqBTKpQLn", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "010000000383a98250fd2ec5f3ddcecb6993b1a487c5caf9d4f6da96ab5d841350c123bd5101000000fdfd0000473044022002ad297a89f20bb80a3e8baf17bb045345377dd795a839d9db788d0b71f7f76a02200c335daeff2bdbf4cd779d490f64d725b97043fe809413f4b47892904a922da001483045022100f42e382dba8708006e1c49bd4d1fa2369c503bb290a72588f02ffb868834f700022045812d41bcbe1cbe3207d6e22cdaaef7386c9ea94ba3d81e331795c8ec094bf8014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff76c9f4046561e63cd734e30a7f4bc892240460605a16433eb64d299b983c79d901000000fdfd0000483045022100b2eac21010779a890784ddf1d937e61ef5608f916d7c150ed826d9320951a0bd0220666f7c92c28bf4016945f4f9ed9989dae884ead3a549d6e07300712c403c509c0147304402206c85f39c82a48728d46ec78b56199e6070898989f3d52709d9b207200d63e962022005a5809246de35d607e5f8736c26174113d93c7af6a3b1bf6fb012609af1d09d014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff114821dac95ce50d1db92152463b0aae2f5bf78da42442a54cd221639928026701000000fdfd000047304402207e1991391db173feb666defce0bb148ca55b07065d5a54c94cc4a1431778e84402200661c36b2964bd6a7db8c0c7a84ac3f3ab0536c3e2229d677e7e9b8c58ae4ab701483045022100a439ab8950b4fc58d2f18445e40e1c09e8f321103a8635c56166c8ae7b2f60770220359482c3249cce22d68403f599aa63dbcf9aecd8a5cdb2dd2ee79440ad764119014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "160d8b94d76183394ab81d57056edb1c865d1f84bc34a691e63fe0d214c4c485" + "transactionHex": "01000000037b171a7e2c9d5a7aa90725ce100fbeb8aa932d93d264445817cecb02d33256c300000000fdfd000048304502210090afd8e3bfd9e080ebf66d1367d1947033c5c8682558d14de429412152df5e0202204d9e6838c10d2c863a8d3ef6114b4beb4663eaa2189e56c87be3ffa81a2c316301473044022032bb84e66cf44a3ce2a9114b06c616b8044b5df4ae743e779dd7bdbaab31093c02206ae22a743cbd4c59996ee44044431363ee9d1f0b8468c3539aee9d692f936a52014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff97d973e6c6b2485250ca101198c6b23b1f9b1460c49159d3a6f03aa53b374fa902000000fc00473044022020ca41765bdfec55a1f1467111e699fb44b85d268efe5462ed5deb85596393f102203f1e8066f3ddb4d7bee5397b41593fe1ff99a3d72dcaa361e4a0ba8e59a2ae430147304402200934c3a7471cc655e73e9a9ef5994738a621f43081a585ceb7e2bb0470a3b74e02200177e4ea17e4ff5418fe3535fa2c2a43e9ad433f87372b317c11de131de5a8a9014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff567067ae6758dfe5e55c4e75eb2fbccf8674fc756154d431d83093031238ed2c03000000fc0047304402200f5e67793a44288724dab7136cd55e1e21442da67660d1c68b0f4816389253d0022077a9c303a80a63d703114504915131d24e867450405b78b42fbf3520b58e177b01473044022050243f1fc531961c7bf1cc63a08d823edf6a75524eb1f75d70846e8f657fb09d0220747e1a591f2d08151b8391f7790f9a6e62e8451ebe468ca42338ddd570e75aed014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "a0455b558005c37d3927a82712bb26cefa467bde2f89bc1c97a0a2645492b873" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json index 6922ccd226..c43fde09fe 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "900a43e40599f6ed31faa80fe90a29148b83ec7c11b8448046cce0d2e3392364:1", + "id": "818236f569e2c257866e3b2b2f496d32b9972d67bbae0fffe10bd5d15c439a28:0", "address": "ME3XfCynXoUooPS28eXC3mG21jLqtXgiEr", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "97849e6339724c8800c645b95b058a0b0b9c3a4bff43ea3e06b643c66f2f0907:1", + "id": "3c8a8235f781763203ceea667a440934e00ab639866664a04e18fc8b14862b1f:2", "address": "MDhuZMBSf4gFGXXWRE3FQab93mPz8LSpT3", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "e6575a5554e7d3256a8ecac9bad04084bd3d77f531cd9099872eec87a7136e18:1", + "id": "959bb11cb05102765373e1174b0ef61d75ca7b81d3245aa82e9756219cc360dc:3", "address": "M8GZfFeQy9LfsLcBaVUeiZkipeBpDpTB7H", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "0100000003642339e3d2e0cc468044b8117cec838b14290ae90fa8fa31edf69905e4430a9001000000fdfd00004830450221009d1f011a911e6a5174b06ff4e3a2c1de534819ece25ce3c115e1d690d4672740022067546b8099cc4e3de30b91dbbce89632a0a0b4cc8de4fa24936d6c74863c1a39014730440220738d417a88dc2a577d382508e6dfd59bb6d196b5faef798fc6e5254fa8f1a4bb022042a3004e40e0b39ea87510e9d340b9bf012ba8dea28ae4cb877ab636c38a6167014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff07092f6fc643b6063eea43ff4b3a9c0b0b8a055bb945c600884c7239639e849701000000fdfd000048304502210086b491f79eded4e73a7c86e9329d12c3cddaa18f929bc7d43b095c41f6a65c83022033456b0d47f26c451bc3e17ed52e42991621ec68162b88c994de622354e3e296014730440220763e4e7e8f210a533898ba534d79a2a9293718341b6b4aa8be6107102dc6b7fa0220518e7d0919ff4680413071475d53d112940a896ccef7c63d5eecd3363bc1edc6014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff186e13a787ec2e879990cd31f5773dbd8440d0bac9ca8e6a25d3e754555a57e601000000fdfd00004730440220118a1c024ca8c0e396ea2db0df50fe086dd11d6dee58a086854dac9d6a82f30a022014fbc35ad855e120dc80f2cbcfb5a2ab6897cb9355b91e7b16971f2893a833c801483045022100c51851f84eec0cf2da44fdf8ab559485df1019a01005136375f5adb617b0881702203e71f480e25202b20f94c983d1c27a566e7523b0b15a27a96206e066e50f1255014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "fe6fd5b2060ca1f0d4dad6342c2adbb73bff7dfd42a1c18320ccd68470b69e00" + "transactionHex": "0100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f536828100000000fc0047304402203bf1f574c794fd8f68e90722c57cc93ce136ccddf3b30b5ce64342c89c83a7f3022019e8c18c6c94acd2c384c76f65ad417dc0c729fcabf8c20a77c521641b751a0301473044022100d091b48bd6cc8e7955fc281c313e2f43ae4caee4326cd1c03f84ae179de5e5e6021f32aeb1dcee1695875f459b40a7fabdae99d3991338dc101dffcfd9a18f85bf014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c02000000fdfd0000483045022100c26df93a70b8383d26b033a750483a33ebe2474bafc640ff376ad9eae4d2fb95022042154846c2f042cbfce1d59fe22620ea7433552913c027588b9fbd6da43eb846014730440220477c29b238a95f6574eca9ecbb4d71e32696a1e0fd1f4e9c471838c07e0637fe02201365e92f8ab0b901a56f5258ceabc278967645503caef4a32c0c4c00f8283a2a014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b9503000000fdfd0000473044022049ed363ab4890ea65ce8fbe76030fa329ccea35dba3aaec24582838eb6139d7c0220072794c17dbc26de84a25e2804f5408115f12437c9bb50bc3abb713c4e5a297601483045022100c278f9d719f0071d56091c6b8dc7abe911e9df0512373505ed82a180f3f2b2f5022012db544b4301d259b8419ed49bd36d76265e834e9536efee8c867f9f4b4f11ee014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "328a694e782f085a82ec01a93056c57541adca82ce3007a0f910f1b2291c1d24" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..56117be642 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a50100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f53682810000000000ffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c0200000000ffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b950300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a82391000100c10100000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0100e1f5050000000017a9144365f80ae9830dab1d9124be68c74c2fa23bbc128702483045022100858c9aa2a8a09e21aa6c2690d9310d29b611b5c3c4684a278a35df474b77d2c5022006557c234f65761407cafba42273f10380c3f0fc672fb78a3d19d7d4de1953ed012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f00000000220202d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc61483045022100c15ce99736373c306708f8cc510a4ad85e109c0482918cde4cd64957eece542a022063a15d21b3c13ed5e5bc350b3bc677183c4041cca4b90c25ec4318f4f2d67dc20101030401000000010469522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53ae2206029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d148374ad8600000000000000000100000000000000220602d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc611403a82391000000000000000001000000000000002206030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3514e15f6f2100000000000000000100000000000000000100fdfe000100000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0300c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b0000000017a9143fafee16e19a14db449ab3a57da1fd3ef89daa59870247304402203eac5776ee059ab03970aa4de32186769f24c90225b015b1c2af58f900ce1f9c02201c8ab9bf330aff31efdf9937e4bdff4a79629df2e506a445387c5404d5fd6f07012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a7483045022100c4767d763ba74be1c9e39cc0972e31ff89865b03973f218c1ea2cc26334be8ae02201e164bca6f26364ee522d967aa70ea53b00c548a6f876478033d629759a3380501010304010000000104695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453ae2206021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a71403a82391000000000000000001000000020000002206026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f3024148374ad8600000000000000000100000002000000220603b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b914e15f6f2100000000000000000100000002000000000100fd1e010100000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0400a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e1110000000017a914040c4ab99a665c767adaa50fb28dce2ae514363b8702483045022100f1048d424cecee8bb0f80f884a141ac77d66ec734d5b678e7179c21f0dd6999d0220652a35be4ca4e7acc73ad8d45e8483cba4420e0f99c7b77608cbba5ca507966b012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c483045022100e722510ad6c3aabcad9684e302c07bbb56c8c8fa860d68d800d1d3582b4bdee202202e40d997fdec7dc1c8b61d450b75cfde8c285caa12cd7b5e8897083ecad0ea5e01010304010000000104695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53ae2206022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d14e15f6f21000000000000000001000000030000002206023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c1403a8239100000000000000000100000003000000220602b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b148374ad86000000000000000001000000030000000000", + "coin": "ltc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "8f52b9ad56724efdcd392f50d8cda59e333d2eb7a3e3b2ac0edf191463a2751e" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..3b9e4efb39 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "818236f569e2c257866e3b2b2f496d32b9972d67bbae0fffe10bd5d15c439a28:0", + "address": "ME3XfCynXoUooPS28eXC3mG21jLqtXgiEr", + "value": 100000000, + "chain": 1, + "index": 0, + "valueString": "100000000" + }, + { + "id": "3c8a8235f781763203ceea667a440934e00ab639866664a04e18fc8b14862b1f:2", + "address": "MDhuZMBSf4gFGXXWRE3FQab93mPz8LSpT3", + "value": 200000000, + "chain": 1, + "index": 2, + "valueString": "200000000" + }, + { + "id": "959bb11cb05102765373e1174b0ef61d75ca7b81d3245aa82e9756219cc360dc:3", + "address": "M8GZfFeQy9LfsLcBaVUeiZkipeBpDpTB7H", + "value": 300000000, + "chain": 1, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "0100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f536828100000000b60047304402203828c6052fc53c573b8ad653ac80fe26e1d1ddde683faca519b2820212da4f7d02205e7e55a1cc552687f5a9ec8e9bd135557c09d9b2aaa0019929288c630fd1ceea0100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c02000000b700483045022100f758208f72138002f57aae96b15a7b60a059d78da132c0e3c7e0abb4bd567f3f02205ce0a003b117d77542d8e1a46eded5c661996e69ee123c146d65338b9cd881250100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b9503000000b700483045022100adf4e985196efef77c9bd658691e056c54e2ef6b9b829f1bec67f5d457ce828f02206c2c11f191d754f418383635d37b2a47f0539857e75b631f9637733fdfc678850100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", + "coin": "ltc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "7cb327f1dde5aac990f3b053a4aa24d1dc2009d682c5c76062d9cb5737feb36e" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json deleted file mode 100644 index db48c96ffc..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "900a43e40599f6ed31faa80fe90a29148b83ec7c11b8448046cce0d2e3392364:1", - "address": "ME3XfCynXoUooPS28eXC3mG21jLqtXgiEr", - "value": 100000000, - "chain": 1, - "index": 0 - }, - { - "id": "97849e6339724c8800c645b95b058a0b0b9c3a4bff43ea3e06b643c66f2f0907:1", - "address": "MDhuZMBSf4gFGXXWRE3FQab93mPz8LSpT3", - "value": 200000000, - "chain": 1, - "index": 2 - }, - { - "id": "e6575a5554e7d3256a8ecac9bad04084bd3d77f531cd9099872eec87a7136e18:1", - "address": "M8GZfFeQy9LfsLcBaVUeiZkipeBpDpTB7H", - "value": 300000000, - "chain": 1, - "index": 3 - } - ], - "transactionHex": "0100000003642339e3d2e0cc468044b8117cec838b14290ae90fa8fa31edf69905e4430a9001000000b7004830450221009d32e78c460bd8d496f9f35adf88a43b94f00fa8a6cc5c774311c49002c8b225022013be952f0336cda50b2147a5ba8c8a108e6e213f2006d59d3a0ce95ac354f9070100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff07092f6fc643b6063eea43ff4b3a9c0b0b8a055bb945c600884c7239639e849701000000b6004730440220737529e18e9bb2d93182c88aab364c147c2c64e77fd03a5573438d488cb1ada402203eddcda91571dff1f07bfc7a45f021ce5b021e55d3922473dbeeb90a1d90ad7e0100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff186e13a787ec2e879990cd31f5773dbd8440d0bac9ca8e6a25d3e754555a57e601000000b600473044022061d6957db3ce362312f58c2de08d64cc8d937972ca9894ef74a38de8d64153ee022058d68bac92f45c99934a588667dd8e20b58cc2b9c18f7099474364617873b5110100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", - "coin": "ltc", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "2ab0a6dccc1741c62f142e52a637c21a196affa4f349da185a89505a7e542276" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json index 4806f1970d..fe2223efa2 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "0100000003642339e3d2e0cc468044b8117cec838b14290ae90fa8fa31edf69905e4430a900100000000ffffffff07092f6fc643b6063eea43ff4b3a9c0b0b8a055bb945c600884c7239639e84970100000000ffffffff186e13a787ec2e879990cd31f5773dbd8440d0bac9ca8e6a25d3e754555a57e60100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "0100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f53682810000000000ffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c0200000000ffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b950300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "900a43e40599f6ed31faa80fe90a29148b83ec7c11b8448046cce0d2e3392364:1", + "id": "818236f569e2c257866e3b2b2f496d32b9972d67bbae0fffe10bd5d15c439a28:0", "address": "ME3XfCynXoUooPS28eXC3mG21jLqtXgiEr", "value": 100000000, - "valueString": "100000000", "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "97849e6339724c8800c645b95b058a0b0b9c3a4bff43ea3e06b643c66f2f0907:1", + "id": "3c8a8235f781763203ceea667a440934e00ab639866664a04e18fc8b14862b1f:2", "address": "MDhuZMBSf4gFGXXWRE3FQab93mPz8LSpT3", "value": 200000000, - "valueString": "200000000", "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "e6575a5554e7d3256a8ecac9bad04084bd3d77f531cd9099872eec87a7136e18:1", + "id": "959bb11cb05102765373e1174b0ef61d75ca7b81d3245aa82e9756219cc360dc:3", "address": "M8GZfFeQy9LfsLcBaVUeiZkipeBpDpTB7H", "value": 300000000, - "valueString": "300000000", "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "ltc", - "txid": "a984186aa30e72427ec46b915e166a8fc72a28d0499dbbc8122e076adb41f257" -} + "txid": "15454128619e030a6338799449934241c024abf40d52585e9e003eef622636b7" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json index 4405cded0e..67113aecc0 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "5dfc08eac2fc9c0d96fdb6fc2174f181cd0508373194e9056c2f4775adba246b:1", + "id": "887016e6d1109bdb219ce8ce3671879f4d3410eb4abba6ca760dcaf88834c02e:0", "address": "MGuyXXnaNxBLUevzGSAKFN2j46QVYuWbhG", "value": 100000000, "chain": 11, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "d2fe338a160a8b2c79802b6a90e9dbbc20fde96f65353cd2af1edf28ac5cf265:1", + "id": "16839837f79f95b5cbf22424ea879f8d21a852208bd5539b79c6b004a46d9221:2", "address": "MMM22sV61s1zTomwsV9MwrixuwoazCd1rK", "value": 200000000, "chain": 11, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "a1dce649e1dd0feec9a6ca66d8254782e4788983c157cb21e5dba4796a18a5a2:1", + "id": "0bffcb3fad2801934dbf7b555b3bcec9dbb2d3377b79f820e8d3cdb16576f1b5:3", "address": "MHXKoQ4H23soqnNSR19ZrtkMsnPKRRWLAq", "value": 300000000, "chain": 11, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "010000000001036b24baad75472f6c05e99431370805cd81f17421fcb6fd960d9cfcc2ea08fc5d0100000023220020b858b5820bca303626d8d5a5291b5a0dcf839c76d61c32eb226c9d08fd06e3a4ffffffff65f25cac28df1eafd23c35656fe9fd20bcdbe9906a2b80792c8b0a168a33fed201000000232200201063b62f857751aaeaf8c7ef5636d48511fac0008f8ee69e4b1a006b2b74e553ffffffffa2a5186a79a4dbe521cb57c1838978e4824725d866caa6c9ee0fdde149e6dca101000000232200202b16216e81e558810abe7604a67aa97b737f64d40b3de22d5fccdf2b6c972f03ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100feef9dfdcbc7fb6383f4e5426af3a2bae94d9dc7c6675cd602dd1ebc6630e22a02206222bae3ecb8d1cf5bcc3d1d563e02bfd40d9944babdc08fa2d99674dc619ec30148304502210090eb217ba2e94c1d79309151b3a06af68f9c7fadee4cacb96450589d29e59246022019d36545e3cbab5f5c928bfc1d1d6f614291d382ba4516b8d342322c4cb9f1a701695221032484ff761a521ee38b094232984175f1db28c90fe304c7242c0057330b6e024a21022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0400483045022100c39633585d586aa4c4bd567bd93026ab80189b27bb3ffa16f9f7183bed20fa7002205e3bcc8aefd17bcd017db9aa9d0523162aa72ad995971a659b99f937451a563e01473044022024d8d6e27045fbaddee696bacbbd2ae300a76c38ae03b19bccc49b8234477cca02205bd5f094a88496cc12125d132491ed571999575b0f4dccb083c98190f1300b6a0169522102678b7a7d9dc0736691adc5b681808f1bbc981563ffa23e1c302d0a4006e7fa252103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae0400483045022100e67bf9f69b340c66fc04a81aebbb0302ddc3d2acd32e0a9421a061d303fca44b02207d0728a86de276517d40ad9cd3d5bed2c4f8b296b8411afac2d5a10cce037a360147304402207877db07e1d7537b52888f42d8be468a3734b00c1c47872a89c811815afd73df02206fe6ce6c493f7b62428ecc36be699e047b50415623247b423e0aac9765e7f76b0169522102be72efeb6abfd486e92e30221f854983722118d820c90d5b2999b8623b27abee2103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", - "txid": "5740a727e50162b8c2d523560ed9477f62db681b6b748b63442d824affb037e7" + "transactionHex": "010000000001032ec03488f8ca0d76caa6bb4aeb10344d9f877136cee89c21db9b10d1e61670880000000023220020b858b5820bca303626d8d5a5291b5a0dcf839c76d61c32eb226c9d08fd06e3a4ffffffff21926da404b0c6799b53d58b2052a8218d9f87ea2424f2cbb5959ff73798831602000000232200201063b62f857751aaeaf8c7ef5636d48511fac0008f8ee69e4b1a006b2b74e553ffffffffb5f17665b1cdd3e820f8797b37d3b2dbc9ce3b5b557bbf4d930128ad3fcbff0b03000000232200202b16216e81e558810abe7604a67aa97b737f64d40b3de22d5fccdf2b6c972f03ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87040047304402207d54be589b6c1025283b43402f788e5df2823be0c08a67d00c707f998d33905f02200abe7d2722a62f66fd4582af266b36254c8966184b4383e935aa76810c85b88d0147304402204427ff567bc701a9662a74bd730bc70dd22d30695f50678ad81785b4584c8845022028a7561021e5fdd140d30b3abdec13c05cc448da9e5e38bfc0cf9d693735732501695221032484ff761a521ee38b094232984175f1db28c90fe304c7242c0057330b6e024a21022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0400483045022100da3a4808be7bb6ef4ac1534e310b79b6297c6aaae7fb36540e598fddba1b3e83022013626ce8a8512ae8252edb8c635b003c588a8369480821152f5d96327e56e1d20147304402203b0df6269ffffa3635a9698bd06863c9a4193547492953ca52b92609dbb78e0c02205200d9013e6eef136eba572406231127e1ed8cbcc36548c14234fe68d163064d0169522102678b7a7d9dc0736691adc5b681808f1bbc981563ffa23e1c302d0a4006e7fa252103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae0400483045022100bb2721b111314619ca01a60ceba591ce63ee7b04901584eaa6194f14de421e080220209f5acfcb77f27c3659913590f2ae11f06d40947457faa6065248059349b445014730440220585ed3ebe3361cf7b77c5ca45074468dd71fd16f26c6ba2c0a5126c43dd6751a02207a894f15c968736063a77b62aa3a7e5e1188d893c1392d4f37ee92310d5538590169522102be72efeb6abfd486e92e30221f854983722118d820c90d5b2999b8623b27abee2103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", + "txid": "032cba72ac12735687826665632affe4270704422534de39b72fa14d07d3b83a" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json index 144c6dce72..0794f6cb45 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "3db419abc9b7b1619735e95529a03b809da561fd9e657d408b54f123cc86e779:1", + "id": "c3d8cd849b9f1939bea833ef14735be7c293bc7739241098ce386b968420aa4a:0", "address": "MVrfxwtgvYe52sbJxTqtsd8Yxe3nzJDCzE", "value": 100000000, "chain": 11, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "ecb48ff9e6e9122c90499c1969ac326fffbed384f672d11bfdb2b6c0c557ee2c:1", + "id": "7f0246d1beeb93f1990650508d4dbfb6a35ae4489abb5aa6724896efb4ad8c43:2", "address": "MXCJ8m5qAT4S3cmvoWKLSceN6hgdhEgcDW", "value": 200000000, "chain": 11, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "5b5b37ff6674ae0433323adf81582b629023baaa81b344e8dba2e8fd26b2ab34:1", + "id": "6cc0e85f057729f4485b2051c3f2ed6dbc8141a6283cd3697f52f90d482947e3:3", "address": "MEE7VbTsKHiBtTUBJmVQ4uqNPdtszrNLUH", "value": 300000000, "chain": 11, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "0100000000010379e786cc23f1548b407d659efd61a59d803ba02955e9359761b1b7c9ab19b43d01000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffff2cee57c5c0b6b2fd1bd172f684d3beff6f32ac69199c49902c12e9e6f98fb4ec01000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffff34abb226fde8a2dbe844b381aaba2390622b5881df3a323304ae7466ff375b5b01000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100b889cd645a436476b174d3c7e8de246cff6fc68cad03418681bf9a8ef098648702207c19de443a8b2ed6f8f58f543595d0338a3af12f302d4cee56d089d6b69fb099014730440220432fc81b45eaf894c640e6d74f31eae11a31fc139a118c677b716f27dce4ee2d02204ed588615f4cae28cee2591062a2614d7525a4e03f2113d78262e693951be3e3016952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0400483045022100cb20fa9667ff1041ffff51db5505857bfb1454f4b071df9e44dd6c6a6a12eb4a02202c8c50305b633d35e5566705c2400e50208bb70a87668e764bf5e5104fd4fb00014730440220113c6a564016151d31c9547822cd64053490fa67c713735d477d2dd4cc430eef022005cbadcbee4488ce1571af59537dbf5001b457a7b899640943089c1f98601d020169522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae0400483045022100fcd77a98370774a03923314a8540ff3f6db7bcf7fb921a3cc2fc190d84d05df002201862016e8484cb92e13ce4e1e41f7d661ba62bbd12ada2c506c9552ffcb0b7f701483045022100fe70c78f438b751aa3d435692d8508c684225acfed3b9f13975477ae6982ca50022008d8b6dd34171bb72e14559e98ca2a76821b7e260f0da2c81c88097f566992900169522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", - "txid": "91ae09cf0e28dede90dfef028bd3de5cc4997b5a77e314702edf97d29084801e" + "transactionHex": "010000000001034aaa2084966b38ce9810243977bc93c2e75b7314ef33a8be39199f9b84cdd8c300000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffff438cadb4ef964872a65abb9a48e45aa3b6bf4d8d50500699f193ebbed146027f02000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffffe34729480df9527f69d33c28a64181bc6dedf2c351205b48f42977055fe8c06c03000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100ac7a0a1f45645b1b550f3e44b1c4db2b6e41b702e30c6ac504407e240b305f6f02204a376cf87826c3ec0ea05ddafc05df3f1d9c62f7f213041346a222eec309fb980147304402205b2c335f1770f77bca9264687efd55eb074ca0ca176d5fc48c0d7cd4e7c85af1022027bacc464154faadf0ee6ad8bade5b188ea5afdc8f5262644e3c00e094e2c83c016952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0400463043021f753406a28aa9b4b47430cd0c0e4bd0d392e99ecf58e85ed7a1bd9c43d1c3e1022073bb1d8e33981210760b609c056862464b4a4cd74a9fb5510a57f4a88be7ec4801473044022010221b0c005bbd30a61eba6b4f4031fd4a4480de816134274e050043b31a08c6022038e14ce618fa997209db4e715a2f6385e8dce21e76c397d6182becc99af7b8620169522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae0400473044022018ceec1e4a56b15f767b3dcb6b0cda382e225ded7f450a732eb080bd0837101502203570e94107651c6a590b8681b7f8795a572cccec1395509960df8270ff94859c014730440220167f9a698cc6d7b4425226ef34f3db8197e701a284de0962108edb774fe7d45a0220171dfed54a1c56911388621589bdb77d6d67c5b5d06560e9e2322d5f32a523540169522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", + "txid": "c6865e1296858dbbcda5eed4de7b07cbf959802acd27ac26ca68120e76f521be" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..9ade7c8dbb --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a501000000034aaa2084966b38ce9810243977bc93c2e75b7314ef33a8be39199f9b84cdd8c30000000000ffffffff438cadb4ef964872a65abb9a48e45aa3b6bf4d8d50500699f193ebbed146027f0200000000ffffffffe34729480df9527f69d33c28a64181bc6dedf2c351205b48f42977055fe8c06c0300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a823910001012000e1f5050000000017a914f0da56d9bb06310289d808a22ad68457a760ac038722020386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c548304502210097c2aa44c0f495846c9d3661235e7b6ce9fe8fd8337001156eff75a1ade70466022033608757fd1d2fbcc26d9379ab0ffc65728a9d3d1a0faed1ae13c49f97719468010103040100000001042200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae80001056952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae2206022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda414e15f6f2100000000000000000b00000000000000220602f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e227003148374ad8600000000000000000b0000000000000022060386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c51403a8239100000000000000000b000000000000000001012000c2eb0b0000000017a914ff888f939bb7911883d2a990b48b20449b0a3b6087220202787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd483045022100e8cb817725036eaa7ef25aa5b3f75038e3a85b80e3400dd4c49772392e88358702207da866724fb735ec1c11defe1148b87593465ddf669d2f8265dc3438ff381986010103040100000001042200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104010569522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae2206021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d148374ad8600000000000000000b00000002000000220602787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd1403a8239100000000000000000b00000002000000220603f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff14e15f6f2100000000000000000b000000020000000001012000a3e1110000000017a91445665f38d00633b9a2cb7f73c2fffb9dc6c95efa87220202a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d8473044022000d7b0ff8fbe7c0e977d24540f769406d66930a65e7821f165f33a6afcd25ce1022047de2d86c480fbc27a4d016f1b78a1922076be3a721397e10e23719f91c23133010103040100000001042200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06010569522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae220602a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d81403a8239100000000000000000b0000000300000022060391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f18148374ad8600000000000000000b00000003000000220603cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a3914e15f6f2100000000000000000b000000030000000000", + "coin": "ltc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "54893c251e7356739826e0ee00127daddc52bb1280b9a808a73678f0d3b0e79a" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..26d90b9945 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "c3d8cd849b9f1939bea833ef14735be7c293bc7739241098ce386b968420aa4a:0", + "address": "MVrfxwtgvYe52sbJxTqtsd8Yxe3nzJDCzE", + "value": 100000000, + "chain": 11, + "index": 0, + "valueString": "100000000" + }, + { + "id": "7f0246d1beeb93f1990650508d4dbfb6a35ae4489abb5aa6724896efb4ad8c43:2", + "address": "MXCJ8m5qAT4S3cmvoWKLSceN6hgdhEgcDW", + "value": 200000000, + "chain": 11, + "index": 2, + "valueString": "200000000" + }, + { + "id": "6cc0e85f057729f4485b2051c3f2ed6dbc8141a6283cd3697f52f90d482947e3:3", + "address": "MEE7VbTsKHiBtTUBJmVQ4uqNPdtszrNLUH", + "value": 300000000, + "chain": 11, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "010000000001034aaa2084966b38ce9810243977bc93c2e75b7314ef33a8be39199f9b84cdd8c300000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffff438cadb4ef964872a65abb9a48e45aa3b6bf4d8d50500699f193ebbed146027f02000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffffe34729480df9527f69d33c28a64181bc6dedf2c351205b48f42977055fe8c06c03000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf870500473044022008f803a8276a5bb4c5d818e910e185f5212833eb808cd39bc305c15ec6345d2a0220323f437f6a7118f8c6b4a6c6b373b3018d3c4ed25b9149d9b64a6d1c6c0418e60100006952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae05004830450221009508613d107aa55ac2837a0c5f1425d48b55d30ed6a7f90945e40ca7680f3da2022039b5231227a7237d680bb0adba3aa4bfe4f355e1128bc181dbbcf07db3ca513301000069522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae050047304402206307490d80aa26421b98da586d95f1c81ec37ba5f0f7242a2775a601e249da3a02206f76f4b9d0eea59c81c98de0be090f8471fa5e58bbcd4e6cbcf2d6a0581828a601000069522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", + "coin": "ltc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "709929d8ec6cba5831d4e1d494af9b0b575509182c502f325c192ff05b254f50" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService.json deleted file mode 100644 index 1c8c3ac31a..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "3db419abc9b7b1619735e95529a03b809da561fd9e657d408b54f123cc86e779:1", - "address": "MVrfxwtgvYe52sbJxTqtsd8Yxe3nzJDCzE", - "value": 100000000, - "chain": 11, - "index": 0 - }, - { - "id": "ecb48ff9e6e9122c90499c1969ac326fffbed384f672d11bfdb2b6c0c557ee2c:1", - "address": "MXCJ8m5qAT4S3cmvoWKLSceN6hgdhEgcDW", - "value": 200000000, - "chain": 11, - "index": 2 - }, - { - "id": "5b5b37ff6674ae0433323adf81582b629023baaa81b344e8dba2e8fd26b2ab34:1", - "address": "MEE7VbTsKHiBtTUBJmVQ4uqNPdtszrNLUH", - "value": 300000000, - "chain": 11, - "index": 3 - } - ], - "transactionHex": "0100000000010379e786cc23f1548b407d659efd61a59d803ba02955e9359761b1b7c9ab19b43d01000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffff2cee57c5c0b6b2fd1bd172f684d3beff6f32ac69199c49902c12e9e6f98fb4ec01000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffff34abb226fde8a2dbe844b381aaba2390622b5881df3a323304ae7466ff375b5b01000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf87050047304402202fd27dd855771c8a14dcd46bf3c85ce16908e2e37bdd36814ec8e82e639df07402203ff0b354188f7924d55f3d8d2474778047d3245965eca0f139db90ebf1f196a60100006952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0500473044022025448fbb28bde745844982466a563891f423807171c066df39d8771b5718690b02203c82934bdbc9a5f5b8cdc46a326ce01065bcc4cc16cf9364e92e2c09ebf8cab701000069522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae050047304402202168f97f360d519251c28cbdc52a375e68cd79ce5ffb14df8dfa8d2a203cd0f60220189d979dc7160f9b99e604b550ed081df9b90e49a5c3e155fca494d0604f83b801000069522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", - "coin": "ltc", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "4ebd5f30e0e93ab95d39fabd422529a8d15cabffa8698c2b5fe66bfe9d813539" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json index ea96ded3e4..bb05b921f2 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "010000000379e786cc23f1548b407d659efd61a59d803ba02955e9359761b1b7c9ab19b43d0100000000ffffffff2cee57c5c0b6b2fd1bd172f684d3beff6f32ac69199c49902c12e9e6f98fb4ec0100000000ffffffff34abb226fde8a2dbe844b381aaba2390622b5881df3a323304ae7466ff375b5b0100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "01000000034aaa2084966b38ce9810243977bc93c2e75b7314ef33a8be39199f9b84cdd8c30000000000ffffffff438cadb4ef964872a65abb9a48e45aa3b6bf4d8d50500699f193ebbed146027f0200000000ffffffffe34729480df9527f69d33c28a64181bc6dedf2c351205b48f42977055fe8c06c0300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "3db419abc9b7b1619735e95529a03b809da561fd9e657d408b54f123cc86e779:1", + "id": "c3d8cd849b9f1939bea833ef14735be7c293bc7739241098ce386b968420aa4a:0", "address": "MVrfxwtgvYe52sbJxTqtsd8Yxe3nzJDCzE", "value": 100000000, - "valueString": "100000000", "chain": 11, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "ecb48ff9e6e9122c90499c1969ac326fffbed384f672d11bfdb2b6c0c557ee2c:1", + "id": "7f0246d1beeb93f1990650508d4dbfb6a35ae4489abb5aa6724896efb4ad8c43:2", "address": "MXCJ8m5qAT4S3cmvoWKLSceN6hgdhEgcDW", "value": 200000000, - "valueString": "200000000", "chain": 11, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "5b5b37ff6674ae0433323adf81582b629023baaa81b344e8dba2e8fd26b2ab34:1", + "id": "6cc0e85f057729f4485b2051c3f2ed6dbc8141a6283cd3697f52f90d482947e3:3", "address": "MEE7VbTsKHiBtTUBJmVQ4uqNPdtszrNLUH", "value": 300000000, - "valueString": "300000000", "chain": 11, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "ltc", - "txid": "687e0da1f855f926f8d8d8e8e03d6cfc469819acc5e59557bc4d041d73e2cbed" -} + "txid": "f6e2efdf6719634a3ad9bce3a866f4540720c2601e89a87840ac2930f576d764" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json index e89ced6bab..3eaf9d7f34 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "7a3550562a91316bf7d8202497a963a6a617ffd7218cf9b2a70cac50304e79ab:1", + "id": "175dbc7fab42ec55fd2a8d7062f30d973315b9d4c175c65173117f438e79a50c:0", "address": "ltc1qdneyaj2s0wxu2egqac347kjsvxmcgyqpj7xkpshsa3tcghhs3ecqlv7yyp", "value": 100000000, "chain": 21, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "4e016d0d176920931b5b6c19c17505ab62da63528373f231c24e3994561d9be9:1", + "id": "ece5336891c75f99c4b26be522c903483b6fe01d989a9a3e2179d418bc4fff33:2", "address": "ltc1q8lxf2fq0yhzd2ytndhcc4432yjugacfxgxrha69xsjhctuztlcasff549v", "value": 200000000, "chain": 21, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "216a285b468a899c8f3e5a367b76373c3b65e93cd5793bd785ecbfd3e65bb5e6:1", + "id": "fe88d5200cdf96648e5c5c886760deb41ddcd7e1475e9fe8fd7e7448b47d39b4:3", "address": "ltc1q55jrprtwpfvu3jaq729sq0rraynctezqtpdtgrc5e5v60ssptwaq0l58mv", "value": 300000000, "chain": 21, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "01000000000103ab794e3050ac0ca7b2f98c21d7ff17a6a663a9972420d8f76b31912a5650357a0100000000ffffffffe99b1d5694394ec231f273835263da62ab0575c1196c5b1b932069170d6d014e0100000000ffffffffe6b55be6d3bfec85d73b79d53ce9653b3c37767b365a3e8f9c898a465b286a210100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400473044022048d19ad08df52f73fd1442505300250d95bf9dc232f1277437b1b183626a77c002205e68a4d71c1074fcadefbec7b1e4dacec9409017c31eb7ad392a6fc7ff79b40701483045022100bb6b772370c253afa58bd4ee9521f8dca62f0748c761ba6167bc5ec99d6a7281022056c215ef71018d0792df16e0c30ac0f9314f85a00aa03c15983de6858bc1a1230169522102e7386fc3b8f8f334c51add4a7c325c804896d60fd3fa33f3206b6f0143081865210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae040047304402205f322a19e6c3b09f6bcb56c1bf1398030dbe7913e6bd4ff3fa23f7dddefd283002201f5457229441dbced06bcc41ca9e9179687553d04613c825854306a99b55841001483045022100a34a181c456a253e3bfe8d1dbbb724427f4b2091353be97d61faa09249c187440220106812ea0238a18ab18411c3750bd75f25dcdd7f9fbe8778ff9dea01c1044e1e016952210262e2d7db076a14af58f92fbc591d870606afc4362f8deead03425bf16de332fe2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae0400483045022100bb2efe09febd3d5079b3d2de685e88d67a9901ed2addbde176e2b8c4a6c879d80220479c180dd58128dce0e7df107f7da12c4e218d8763e69c385404f6f54623d18a0147304402200409a3981db166bb9dc5f245881f791ec635a2e51fc75c3384628ccc16852012022043978f752862c09924b0e3cf0e06552fdefb440046eec5be55a8337dd6670c8e0169522102b107ccb600ca89ca074c0b6c95e48bfff7f2dc9d33e4bdf9a5c929053f4a87c921032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", - "txid": "74742ed5c3bdb0f32fb3a91d950b3c18e94276f58e9acf536c6c674879d6ff6b" + "transactionHex": "010000000001030ca5798e437f117351c675c1d4b91533970df362708d2afd55ec42ab7fbc5d170000000000ffffffff33ff4fbc18d479213e9a9a981de06f3b4803c922e56bb2c4995fc7916833e5ec0200000000ffffffffb4397db448747efde89f5e47e1d7dc1db4de6067885c5c8e6496df0c20d588fe0300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100fab04bb98db89733b6f685333b9b3ef4bbef840d08dad44e4d57b0b4a96ba96702207c202dc5c8eb7eff9c36d17d87e03f1cdd5d4069000007a060f2e7ffaa23643501483045022100e57e55249c38e9545861bac9fd50ea9fb8242c0a200eb8427e58e35c892171890220719e39f9d3374dc8142c970c06bb5998a70121a7efa4460bc794b4f450d8a23d0169522102e7386fc3b8f8f334c51add4a7c325c804896d60fd3fa33f3206b6f0143081865210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae04004730440220040e4e229b845e795a0e6d0ef81d06fedf9e6d8ce03472f6c259f8d9dd4ada030220315c3b83c85aad471566c4d8aeca11a32d11bc8aa43f293fb20e65633e75376b01473044022047b6cc1dc6e2f90d44dde327c8db8961091f9bbb14c78b71cca6e3513e24bf20022016cdc94f0e75ffeb3d8c1446ecf71a32e0b9f7815ee88e53da26fc9049df0518016952210262e2d7db076a14af58f92fbc591d870606afc4362f8deead03425bf16de332fe2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae0400483045022100c7ed2926d59747e64853622796b16c0a7a2ffebfbb7830b725d7d71cf707ea8502203c83136368afb8e5ffbb0f85de1f0025f736e24b0303894e7903f1a34544421b014730440220058a7a96110d0135fefe0466b4fb03c23eeacd4a1abb1c77b19859c06e6dbff30220481e39b7413333eb8ab4c4a0b75a2de245b026b14ad093927f57b866d138d3860169522102b107ccb600ca89ca074c0b6c95e48bfff7f2dc9d33e4bdf9a5c929053f4a87c921032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", + "txid": "2243a0dc3d63f94bca937404d1a2c49fc0703f6054122d4e518b0f36a05bdc67" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json index 95769b99d7..3012e6dddd 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "4cb4b3a669119ee990be29ec8cab49e3bfc781c9bb440aebf25aba8b89821d90:1", + "id": "d3c756572affce5f37fc6c556f3c1113be063a7c61df6ff8b3008848ea9bfdb1:0", "address": "ltc1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gs9jg7ua", "value": 100000000, "chain": 21, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "07c88610fe1104c162a444d7697750f7fd0b1e57b002f1d145b98d1cecbc03aa:1", + "id": "9d21659b6e9ef5b353b7f41b590d10508b999b46392b60136e0614e3e1db8368:2", "address": "ltc1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2utsh8zjc7", "value": 200000000, "chain": 21, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "6c2fc97bd00dbe242c95a386045a0ae906248b81ec995d4206884b1890fad3eb:1", + "id": "552e492060fd183e0d6fb8be789bcd51c92248c77fdc622e2a318d946361e195:3", "address": "ltc1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0sf5jehw", "value": 300000000, "chain": 21, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "01000000000103901d82898bba5af2eb0a44bbc981c7bfe349ab8cec29be90e99e1169a6b3b44c0100000000ffffffffaa03bcec1c8db945d1f102b0571e0bfdf7507769d744a462c10411fe1086c8070100000000ffffffffebd3fa90184b8806425d99ec818b2406e90a5a0486a3952c24be0dd07bc92f6c0100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87040047304402205c5afc5fd24e04679b2fcd114b81a8ffed5cfb3fba2560340e39924eaa1581af02204c649d02af4d34fc968cc0158fd5c759cfbee7f4df4e25807803de99ed9620400147304402204f37943d32460b0b806b2361745f274d1a713379673e861a333830229176fc3a02201c98c356216a8bf5ad56c5362052e98bd79e7c858372a43d60a2a7d5da1e795f016952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae0400483045022100fe831bb18aed8883b720cc741ee85127172afb66b1f5011f454e7338fbf8400c02206dee6f73bf13fcec04baf12730c8de90ab6ae62b64e30e19ed2d297690ac247d01473044022017202637be41b8b4ef9ffc6c4740a4e0b8f8409a020e269aa2c18fe850a678120220398bd84411f62aacec73d2528b1b7034d88d9b16b1dfd20fdf102374c3140dee01695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae0400483045022100b29b0b41392d79f5b931887dd31567feaeffb15e6f470e78f0e7647bbb4aea74022032b2036f9871bde08a80557246e4e01bd9144a1527521d572bc599f09d07e84601483045022100d3a294a6d4e9cbbe59e80a4375a3ce2498abb09f890c2ece8a147055239bb409022051b3a3a73e257cdbf7f90a0107cfb86a9d87c8cf45cc8895651bae86ca0779110169522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", - "txid": "8afd5e7276d3a81be210eda138fce796fd71fefc18863785905fe682a4a0c46d" + "transactionHex": "01000000000103b1fd9bea488800b3f86fdf617c3a06be13113c6f556cfc375fceff2a5756c7d30000000000ffffffff6883dbe1e314066e13602b39469b998b50100d591bf4b753b3f59e6e9b65219d0200000000ffffffff95e16163948d312a2e62dc7fc74822c951cd9b78beb86f0d3e18fd6020492e550300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100957d87027590327a121c4df72ebc9f965c4f2ef5f3ef93a94fe2800eb151178102207272b6243d1b346fdfc473971b3654b1d7b404175abad7b9d7a7e13c2dfbc8b601483045022100c7eb476a4d88154a05506724757e7e311fd61d020899477fab17622edcfe5d0d02200ecad823cfb5662d04052d1a9e08a2dbfd35fb06b0468438ea2b7548be26f43c016952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae0400473044022076e2fa09def10747f9462d315de880f53bd9d96e7708936783264c0986b66a36022005157ebecdf90a49c97e1b2020880d0cfa70aa6dc26efc2c940a351ff2527c7d0148304502210098a7534e6bea4a3e11e68d2da14b601e07274150c4d977313f85c84e1cd653870220256187239b37a52c2b082a7b9b20c40d87d29b8500ba096af10762f7639b585301695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae0400483045022100f01ca9bcb642ce768882c6024ebc02920449fab5249b2d65f585840e2b27e5eb022068ca7cf0d3ba6959f8edb483b97f16d8323ae00cbda822c4f1b26c2e4765bb3f014730440220342091e15dfa7164474b14b2413dcf1f243c944852f5e9fadd43952068ad6ba1022023f7d93132890f0b765e4a4ac257ab8599d9aa0fde8ab4b98718a334134ca3900169522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", + "txid": "7959a63f331f9984fbdcf764b31435fb993116bbcddb68441af939402daff1d8" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..4cf2391b70 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a50100000003b1fd9bea488800b3f86fdf617c3a06be13113c6f556cfc375fceff2a5756c7d30000000000ffffffff6883dbe1e314066e13602b39469b998b50100d591bf4b753b3f59e6e9b65219d0200000000ffffffff95e16163948d312a2e62dc7fc74822c951cd9b78beb86f0d3e18fd6020492e550300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a823910001012b00e1f50500000000220020a67d3630815a8019181ea89cb190b6fc016c1198ce4f4ecfbd887a6f772a7f9122020391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab483045022100e0738509171e10b8f5410e7c9ff524cfd3b6e80aed77c5c1021e6d3aa43db7690220235b979221d04c03d9af4ee11b7482f5b6c654f79b283d86c6968962d5f588d7010103040100000001056952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae22060285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c14e15f6f210000000000000000150000000000000022060391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab1403a8239100000000000000001500000000000000220603a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb8148374ad86000000000000000015000000000000000001012b00c2eb0b000000002200208b0a497c62b7128694ad7f8efd2b4a6dc084c92a149a6a412371f90fce5057172202027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a473044022064523245caef905574e009c4ae6bfdc374eddbb021037dbb839dbee026efd9760220754c8affb3247ca0d2db97b27ed1ce55797e64dcea50fecaeabdab820512515a01010304010000000105695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae220602003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f03614e15f6f210000000000000000150000000200000022060257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de2148374ad86000000000000000015000000020000002206027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a1403a82391000000000000000015000000020000000001012b00a3e11100000000220020264668d6062f55da885e7454f5f0c28dc07a9a6fbef4b10f4bcdbde5c2d34a1f220202b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90547304402204488e6315f9599f6bfa3b5465b9306e42c6906548a1f346f5405b89f0f2eee6e02207635465fadc5f5c8722689c18a7feaaa58601ca6e4b55af7b1d492c48c3b0a9d0101030401000000010569522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae220602b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a9051403a8239100000000000000001500000003000000220602da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff148374ad86000000000000000015000000030000002206032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a414e15f6f21000000000000000015000000030000000000", + "coin": "ltc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "074919108e267d48672ac585410f9fefaa547ef84f4eb1c8a6e1bc72e93df893" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..dac2267c56 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "d3c756572affce5f37fc6c556f3c1113be063a7c61df6ff8b3008848ea9bfdb1:0", + "address": "ltc1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gs9jg7ua", + "value": 100000000, + "chain": 21, + "index": 0, + "valueString": "100000000" + }, + { + "id": "9d21659b6e9ef5b353b7f41b590d10508b999b46392b60136e0614e3e1db8368:2", + "address": "ltc1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2utsh8zjc7", + "value": 200000000, + "chain": 21, + "index": 2, + "valueString": "200000000" + }, + { + "id": "552e492060fd183e0d6fb8be789bcd51c92248c77fdc622e2a318d946361e195:3", + "address": "ltc1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0sf5jehw", + "value": 300000000, + "chain": 21, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "01000000000103b1fd9bea488800b3f86fdf617c3a06be13113c6f556cfc375fceff2a5756c7d30000000000ffffffff6883dbe1e314066e13602b39469b998b50100d591bf4b753b3f59e6e9b65219d0200000000ffffffff95e16163948d312a2e62dc7fc74822c951cd9b78beb86f0d3e18fd6020492e550300000000ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf870500473044022064684a4f4dde1fd1cfced8658d8417b23193f5844a614805d1d8c53db6ea83ac02205d08d6e0a85fdb167a31e2f17e938130214bbc9361690dd1e37d2b9ef741f9ce0100006952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae05004830450221009a997961bd4bff14ff3a7c12ed2d0bd4133df2a81fd00bf6a2132a43ba1cfd2f022048db4dde9dab08b4fefc40794dd802919ff000097a74e6f4a001be47e2745916010000695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae050047304402202fa7b5c19dcdedf9cb2b28a79b3b5568b811ab5dfa5d2d1285a257563d289b520220516da8e767ca58809db67d9635664190356d3fe85e0a54a942ebb317fb86008501000069522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", + "coin": "ltc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "588799e9c78373ea7fde449cc01843e003fb687d867ce823e521139dc211d848" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService.json deleted file mode 100644 index 44cd9b51da..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "4cb4b3a669119ee990be29ec8cab49e3bfc781c9bb440aebf25aba8b89821d90:1", - "address": "ltc1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gs9jg7ua", - "value": 100000000, - "chain": 21, - "index": 0 - }, - { - "id": "07c88610fe1104c162a444d7697750f7fd0b1e57b002f1d145b98d1cecbc03aa:1", - "address": "ltc1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2utsh8zjc7", - "value": 200000000, - "chain": 21, - "index": 2 - }, - { - "id": "6c2fc97bd00dbe242c95a386045a0ae906248b81ec995d4206884b1890fad3eb:1", - "address": "ltc1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0sf5jehw", - "value": 300000000, - "chain": 21, - "index": 3 - } - ], - "transactionHex": "01000000000103901d82898bba5af2eb0a44bbc981c7bfe349ab8cec29be90e99e1169a6b3b44c0100000000ffffffffaa03bcec1c8db945d1f102b0571e0bfdf7507769d744a462c10411fe1086c8070100000000ffffffffebd3fa90184b8806425d99ec818b2406e90a5a0486a3952c24be0dd07bc92f6c0100000000ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf87050048304502210084b61d1963bb114ba64b0c72bb2bc4b9ff0a6d2f383f42db147aff6aa32a9d6d02200e24267654e51295b87a5af66fb6aa74512222e816c5d0d441bc6d4e6e16538f0100006952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae0500483045022100bbeed150214bcab8a608746eead746c6936b877743abdd53480dfdb96139fd11022008d7a9b4bfdb9fe713f52bba1cd5ecbccbee8b8080157d710803afa7672787f9010000695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae050048304502210099a2ac981bb20a07448230b473dca767b8279765750d243cbb9a9d68028d15830220147350a76319ed6cd6644344b38f821efbbfe2294b033cb65777a651136c4b7601000069522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", - "coin": "ltc", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "19978a686041998f05e350641b2c1cad6e73370eacca6aa48ab15a34e8a9b62b" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json index ce61674bee..d96bbf119f 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/ltc/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "0100000003901d82898bba5af2eb0a44bbc981c7bfe349ab8cec29be90e99e1169a6b3b44c0100000000ffffffffaa03bcec1c8db945d1f102b0571e0bfdf7507769d744a462c10411fe1086c8070100000000ffffffffebd3fa90184b8806425d99ec818b2406e90a5a0486a3952c24be0dd07bc92f6c0100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "0100000003b1fd9bea488800b3f86fdf617c3a06be13113c6f556cfc375fceff2a5756c7d30000000000ffffffff6883dbe1e314066e13602b39469b998b50100d591bf4b753b3f59e6e9b65219d0200000000ffffffff95e16163948d312a2e62dc7fc74822c951cd9b78beb86f0d3e18fd6020492e550300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "4cb4b3a669119ee990be29ec8cab49e3bfc781c9bb440aebf25aba8b89821d90:1", + "id": "d3c756572affce5f37fc6c556f3c1113be063a7c61df6ff8b3008848ea9bfdb1:0", "address": "ltc1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gs9jg7ua", "value": 100000000, - "valueString": "100000000", "chain": 21, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "07c88610fe1104c162a444d7697750f7fd0b1e57b002f1d145b98d1cecbc03aa:1", + "id": "9d21659b6e9ef5b353b7f41b590d10508b999b46392b60136e0614e3e1db8368:2", "address": "ltc1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2utsh8zjc7", "value": 200000000, - "valueString": "200000000", "chain": 21, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "6c2fc97bd00dbe242c95a386045a0ae906248b81ec995d4206884b1890fad3eb:1", + "id": "552e492060fd183e0d6fb8be789bcd51c92248c77fdc622e2a318d946361e195:3", "address": "ltc1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0sf5jehw", "value": 300000000, - "valueString": "300000000", "chain": 21, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "ltc", - "txid": "8afd5e7276d3a81be210eda138fce796fd71fefc18863785905fe682a4a0c46d" -} + "txid": "7959a63f331f9984fbdcf764b31435fb993116bbcddb68441af939402daff1d8" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json index ab14c9bca2..9518129dd5 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "8193e691a967321c6dcd525f7a90d50d005d6bac217592567b64645bbd157a8d:1", + "id": "969b2e80c94f2770a89331ba3d320fd7ad77d88b4e9e0af5aa364e5d327ef0d2:0", "address": "2N4QNizxEe9cidCuiwBSuWMVnESL1rq4xeP", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "2c06539f159220143d915ac4d0f499ee81b0d61b261e7505e3972ff89cd41a1c:1", + "id": "3bbc695af5cf9407850612cfaa4b9fb924895c0b9c0c48b1f343ee4f6a6ddb75:2", "address": "2MsPHutXUnEtC8sZgUz8bS5cwrsnECbMYA4", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "47e8166b5ff7dc1e28a2ce7a8a3aeb1f6e3e15798e37d41752ee816b826ba2c9:1", + "id": "f89c9b399120757e4f380be22e45345e4b54c0dfc70a902fe651e1b9d9448a4e:3", "address": "2MvA4HmvYvPKbzXYS1yb9iZh2WUSuFY6iy7", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "02000000038d7a15bd5b64647b56927521ac6b5d000dd5907a5f52cd6d1c3267a991e6938101000000fc004730440220323fd218cecff1f79512d5b8d854e908c2953a8c09dd4904b50f69a54fe1333302206db1e64710f453949b6391961c0dc176a1520442478abddd859151bf33df018e4147304402206079924a00ce3ec7e2141af85e185284467293ccba355e9e98ca5d99352c4f35022005dbff1d2989916db583050190d00cc88d68d37e0ff000020dc13da866bddab8414c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff1c1ad49cf82f97e305751e261bd6b081ee99f4d0c45a913d142092159f53062c01000000fdfd000047304402201f89750bae56f0b1491bd2ced6a16821a3eaaacd819aeb94cbd6c992918621b702206e318ad7969de88ff9faecf97c8798fa5f0a8e81db63ce0c8f0eb67b5d83c1f941483045022100bb8efb9e14f262f87a9624403de3a23c1c0f7a4285deae8e6225bf6735fc9b4802207a30f5ebcff7af2f714f9baaa65af2670a9e95874f92aaf2d7534bb60799daeb414c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffc9a26b826b81ee5217d4378e79153e6e1feb3a8a7acea2281edcf75f6b16e84701000000fdfe0000483045022100bd2ce0c459316d1792ced1eb6d9da97a1fcda70ff310443956011ba074390016022025eebbb0f1f9b32291badb85af955346aa8cb6248d639fa1c7aabf5be527c3dc41483045022100e3064a458d53dec0825d3ae4927587290299e52518818e1bf483bb86f21ba04e02206ad5e45e3070c34587076e662192beca53c853be5a6d64b1421072869a395113414c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "b6162bebf4c17cb86dd5e56f8adeed7e7b211d6521ec2896ef0d807d5c83fca4" + "transactionHex": "0200000003d2f07e325d4e36aaf50a9e4e8bd877add70f323dba3193a870274fc9802e9b9600000000fdfe0000483045022100cf2ead72e4cc7e8b981c9b97963d01967e21150748f2092a085223a04d66c4e402200164020fb7d5d6b4348be39d3178ed3b5162c9088bab4a7d902be7a702ccb30241483045022100d9ac83f57b59a7bb76743cc9456f962c185a01b37db73dfcb58bc5d5647e5ca202206d2ae1f6353f05d1e74ce363ec98b79f8ce7f3df24903b7764905491665fdba4414c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff75db6d6a4fee43f3b1480c9c0b5c8924b99f4baacf1206850794cff55a69bc3b02000000fdfd0000473044022034d903a21826dec8d0d59cd311321463955c60dcae98e9f3c716b885cb60df4002200583e670861653ba783fa9a5e0bbadfb90c07d7afa4df159e3abb099946e2c314148304502210098ed94385c4cfcc6c4dc01082a82de469200f82e1aaf376b19914d50dcdcb1150220737bbc039735a8cbc66763894cd9ec22362660add2692d6fcefd6e52a277b921414c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff4e8a44d9b9e151e62f900ac7dfc0544b5e34452ee20b384f7e752091399b9cf803000000fc0047304402205488988efb4ec360131caf2d72ef0dde69a8c3b2b189de3169a20be19182c9520220441021477979f2181126fd7a4c1e25cad48ef4aee607ed4c480944860d1ed719414730440220344a2be9d113126598af2cc91ed0effd5fc701e68312a788238d8f26d8a6b40a02202cf625b1390637856338f98eba1158fc2f49280d9aadc6dc68f6fff84dc4c5c5414c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "7fb135259ff4dee45d3a454bd6f40c5c797558f23d23af58fd8fd072a0faa99e" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json index ace37fb37a..87d016cbb0 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "1884e8e81a047cde56747df2896ce1ede6edd79345dc3c89cbead35ad6eb2823:1", + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "68abb049f24b036261e665aab871f5b4cb0312feba66d8bd46b1c3aed229af8a:1", + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "dd3316a9bf6661005eefdf82bec8c5a7b0cb993c345c098b1a92edabf0ddda65:1", + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "02000000032328ebd65ad3eacb893cdc4593d7ede6ede16c89f27d7456de7c041ae8e8841801000000fc004730440220160fad06c61708ec6f62cc4f20dccb9270752ce201cb71deb7ae83e480e3b0ef022079c950b0b094cd9842ba335a3c9dc158b96f0ccddfb001f22e3c7aa5a2f0b37441473044022006c12104e51c9dc810b5c4306b3542112eaeeadb4edffd1df1791c0232f3b81d02206079c92957c6727f0ccaa25e4390c6021fc1b5e15ae9f4c978c486671bb2ce90414c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff8aaf29d2aec3b146bdd866bafe1203cbb4f571b8aa65e66162034bf249b0ab6801000000fdfd0000483045022100e27e7b95ba85f4bd64708cad2ca4889743636c3f9feee95f77f8bdaf51242d2c02202d1eb5bdc6ab3544b07c801e2031f39529d41b011ad712d326961856814cfca6414730440220414e8b6dc81f41d76c37ee25cf881807dad7fbf45925ca3a60bf499d852640110220483731ec93006623473e68e990d3653805d359f521b41b0deb7fe4ca2bf88e5a414c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff65daddf0abed921a8b095c343c99cbb0a7c5c8be82dfef5e006166bfa91633dd01000000fdfd0000483045022100eb580603f78bbcb4fb5595c7f05834bf6d830a6683369fcdf95a2d8555b89a4e02205b2c87d1eeb118c48d93c51590285ac1e59e3258372de7054046cac31b0c3ba9414730440220747e452741783deeee02ca76b7a142623efe018c186f0b8a5b9d147bbf62400f022002610027e7e7cac0397704253f26ca71761383cc289aee8b5c769293df80cdbc414c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "50446d11b9351b0c5ae75e5121695a31c8ec3aea27b7ba6f2efa46b758ca5459" + "transactionHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f10400000000fdfd00004730440220598b9635321b84288a98f18ad67edfcf7f17700c7311461a8ea012a02a4816cf022047ed5a11ba070bbf259e59af9b2539fb2745cbb1c676c45682ad8442586c161341483045022100f5cc47efa1098ee72f66275b788c74bac5a71942e5e2461fa6e14150c7703c46022043f89f794b59fc42d1589706b9971e2357b7248b43f4cc1d0811d65eebbb64eb414c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aefffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce02000000fc00473044022075fe49b226bcfecd592d00c52858fa8baaaa0b39a559cde4b51b78b9b41279c502205284a3b1b94aaf9cbe2058b8d630a5b1c11cdba55b7a48f6cbc228f2ac0edfdd414730440220203fbc816565c682085be7c9098e32d73c1b39b0046c13ac55d000bfad237fe702201d3c1439781f4b49232797fb808d92e1ef9cf5b3792a6dbc983867440f815f4f414c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb603000000fc00473044022011a60ad423411b349277e4839ca85c142b0be7b684332bc39ac2cdfb54262ee602201b4a29b235eda63b76789e24900ad37de10759e12c19cd91f5b90aaed920cec641473044022067352af017a6089b88d0e0912b01d83d9058c83ae5a366844b2f907196214cb302206d553b6ddd24447ab6c9b851b933a7dfaac472050e63713fa8574d0f9a285573414c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "81150ef37eeb0d66ae1208a8b7a44fe3b17a54b18fea1e513bd48f9e80cb05cc" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..da6130aac6 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a502000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f1040000000000fffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce0200000000ffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb60300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a82391000100c10200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0100e1f5050000000017a9144365f80ae9830dab1d9124be68c74c2fa23bbc128702483045022100a11ddd35d11f11db6d3203f3cf0853d6476a3ed2caeebb64515fdfcac68c24bb0220400b4012a26faa8f392dc13d7e91cd7de7d30d9cbd5fc4a395fea2c327c49e56012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f00000000220202d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc61483045022100c14ac9f702182391af1ca706441acea7c1a9bbba10d17b7bf7cf6dd1dc3286aa02204f54aab32094e32a11371de7b6911d9ce1564314c2629d82293399b7b94227064101030441000000010469522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53ae2206029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d148374ad8600000000000000000100000000000000220602d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc611403a82391000000000000000001000000000000002206030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3514e15f6f2100000000000000000100000000000000000100fdfe000200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0300c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b0000000017a9143fafee16e19a14db449ab3a57da1fd3ef89daa59870247304402204cffc8ecf659d2ff378de47a0830d2a7acba33ce9dd069c4feb0c37edb95f26302203ae4ed814496c8394fd7eb373c4ed1cdca8468c30e7069da70ae308a14a7a722012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a7473044022064be90775ffa315b1536aeed1b42255ac3ac33f58f0d1d7e8e903d85e92cf7120220434bf9a0d4592f64446300bc61d1a6e2b9a2e1d81737c34e2d9ee9a052418fe241010304410000000104695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453ae2206021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a71403a82391000000000000000001000000020000002206026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f3024148374ad8600000000000000000100000002000000220603b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b914e15f6f2100000000000000000100000002000000000100fd1e010200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0400a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e1110000000017a914040c4ab99a665c767adaa50fb28dce2ae514363b8702483045022100979e2be8551d5b0aeca6a4e6b4f6b594cd1d77926d2f68f0baf4f68d068f6d8302207f7c1982dceae939c85f4b95f9117e22c5b0e1177b511c5c05f54d73802f7e9d012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c473044022058d715f6bd6a4e46c7a50dec897fe757c444d3292d15faf65d66bde8c6fced2202201d3dfc6570f14093b8dbfcbf10d4e6abdad622319aaeb7273a9eb1ae7d7c668941010304410000000104695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53ae2206022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d14e15f6f21000000000000000001000000030000002206023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c1403a8239100000000000000000100000003000000220602b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b148374ad86000000000000000001000000030000000000", + "coin": "tbch", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "901ef9400a82954c47dbd6f92bb7e46c83067a40ac20c7f40414d64a83ee00f9" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..21266c8a77 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", + "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", + "value": 100000000, + "chain": 1, + "index": 0, + "valueString": "100000000" + }, + { + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", + "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", + "value": 200000000, + "chain": 1, + "index": 2, + "valueString": "200000000" + }, + { + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", + "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", + "value": 300000000, + "chain": 1, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f10400000000b700483045022100a9ebf6af4865014bd31cd6d484caaf4fc42dbd370708164839358182a27fcf7c02203be6ab9cc19b649752edabae59583a55307b07cd22d78eb08938ebf632e282bd4100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aefffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce02000000b6004730440220585cb801a93d5c127a389abe847fe0b4ed53bce7cf2aa626a06e6c8a2622575302207004c663a68ab2ae8a7fb60658c75315680527fb4fdcc97b0bc8cce77c5f0f2f4100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb603000000b700483045022100d87aa744cf8f48c7b0da325783c33289399e9f882d9a368a908ca665557dfae002202f2b0f5013e87c7278beb45265c572acd46f1feae61b9cafb7e4ebfcb82557c84100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", + "coin": "tbch", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "581ee650cf3bfe00ed086e6b5608c4c4875f6b67614a82bcb94e45fa7e6175f3" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json deleted file mode 100644 index 24e141be53..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "1884e8e81a047cde56747df2896ce1ede6edd79345dc3c89cbead35ad6eb2823:1", - "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", - "value": 100000000, - "chain": 1, - "index": 0 - }, - { - "id": "68abb049f24b036261e665aab871f5b4cb0312feba66d8bd46b1c3aed229af8a:1", - "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", - "value": 200000000, - "chain": 1, - "index": 2 - }, - { - "id": "dd3316a9bf6661005eefdf82bec8c5a7b0cb993c345c098b1a92edabf0ddda65:1", - "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", - "value": 300000000, - "chain": 1, - "index": 3 - } - ], - "transactionHex": "02000000032328ebd65ad3eacb893cdc4593d7ede6ede16c89f27d7456de7c041ae8e8841801000000b700483045022100f13fece0d50db1268c8a02b7e0fd60e3e6fab6f8053c7373beda2beb06f156f102205f3de23d65d64bcd06df5d2da75ee4a3d3d4c7d7ef1a81c4d07e98f2c1b152254100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff8aaf29d2aec3b146bdd866bafe1203cbb4f571b8aa65e66162034bf249b0ab6801000000b700483045022100ee2072ccfb10c8a9b7ce2a9a1e30a03d76acc4397182585d70d813db7a1ea49502202013ec20e8b9aa8a3093c89c4f80dfd76d2fdb0d5a99319bf972be2eab2b92ef4100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff65daddf0abed921a8b095c343c99cbb0a7c5c8be82dfef5e006166bfa91633dd01000000b700483045022100d92a559ce3754116e82cea6e5c282051f8a799623d55e0f34402fcf17b0569ce02202e00bdf5cc6284435e6086ae5986e4e1d9dca1d55e7c256ef8fb651629292ab34100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", - "coin": "tbch", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "9457d69ddd7d76c5ae0840bedbfcff571fee27ce0885e40fde9bc1375999931f" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json index bceaf89c1b..544e6f2420 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbch/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "02000000032328ebd65ad3eacb893cdc4593d7ede6ede16c89f27d7456de7c041ae8e884180100000000ffffffff8aaf29d2aec3b146bdd866bafe1203cbb4f571b8aa65e66162034bf249b0ab680100000000ffffffff65daddf0abed921a8b095c343c99cbb0a7c5c8be82dfef5e006166bfa91633dd0100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f1040000000000fffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce0200000000ffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb60300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "1884e8e81a047cde56747df2896ce1ede6edd79345dc3c89cbead35ad6eb2823:1", + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", "value": 100000000, - "valueString": "100000000", "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "68abb049f24b036261e665aab871f5b4cb0312feba66d8bd46b1c3aed229af8a:1", + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", "value": 200000000, - "valueString": "200000000", "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "dd3316a9bf6661005eefdf82bec8c5a7b0cb993c345c098b1a92edabf0ddda65:1", + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", "value": 300000000, - "valueString": "300000000", "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "tbch", - "txid": "bfc5cd7b3a8e79841e2a22e438d532e4020006e0cc5dde105f8ce97db1e2d94e" -} + "txid": "584b61466c05a64b86f5f8c419a532574607c3770ddda1c53d988ec158b50195" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json index ab14c9bca2..9518129dd5 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "8193e691a967321c6dcd525f7a90d50d005d6bac217592567b64645bbd157a8d:1", + "id": "969b2e80c94f2770a89331ba3d320fd7ad77d88b4e9e0af5aa364e5d327ef0d2:0", "address": "2N4QNizxEe9cidCuiwBSuWMVnESL1rq4xeP", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "2c06539f159220143d915ac4d0f499ee81b0d61b261e7505e3972ff89cd41a1c:1", + "id": "3bbc695af5cf9407850612cfaa4b9fb924895c0b9c0c48b1f343ee4f6a6ddb75:2", "address": "2MsPHutXUnEtC8sZgUz8bS5cwrsnECbMYA4", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "47e8166b5ff7dc1e28a2ce7a8a3aeb1f6e3e15798e37d41752ee816b826ba2c9:1", + "id": "f89c9b399120757e4f380be22e45345e4b54c0dfc70a902fe651e1b9d9448a4e:3", "address": "2MvA4HmvYvPKbzXYS1yb9iZh2WUSuFY6iy7", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "02000000038d7a15bd5b64647b56927521ac6b5d000dd5907a5f52cd6d1c3267a991e6938101000000fc004730440220323fd218cecff1f79512d5b8d854e908c2953a8c09dd4904b50f69a54fe1333302206db1e64710f453949b6391961c0dc176a1520442478abddd859151bf33df018e4147304402206079924a00ce3ec7e2141af85e185284467293ccba355e9e98ca5d99352c4f35022005dbff1d2989916db583050190d00cc88d68d37e0ff000020dc13da866bddab8414c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff1c1ad49cf82f97e305751e261bd6b081ee99f4d0c45a913d142092159f53062c01000000fdfd000047304402201f89750bae56f0b1491bd2ced6a16821a3eaaacd819aeb94cbd6c992918621b702206e318ad7969de88ff9faecf97c8798fa5f0a8e81db63ce0c8f0eb67b5d83c1f941483045022100bb8efb9e14f262f87a9624403de3a23c1c0f7a4285deae8e6225bf6735fc9b4802207a30f5ebcff7af2f714f9baaa65af2670a9e95874f92aaf2d7534bb60799daeb414c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffc9a26b826b81ee5217d4378e79153e6e1feb3a8a7acea2281edcf75f6b16e84701000000fdfe0000483045022100bd2ce0c459316d1792ced1eb6d9da97a1fcda70ff310443956011ba074390016022025eebbb0f1f9b32291badb85af955346aa8cb6248d639fa1c7aabf5be527c3dc41483045022100e3064a458d53dec0825d3ae4927587290299e52518818e1bf483bb86f21ba04e02206ad5e45e3070c34587076e662192beca53c853be5a6d64b1421072869a395113414c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "b6162bebf4c17cb86dd5e56f8adeed7e7b211d6521ec2896ef0d807d5c83fca4" + "transactionHex": "0200000003d2f07e325d4e36aaf50a9e4e8bd877add70f323dba3193a870274fc9802e9b9600000000fdfe0000483045022100cf2ead72e4cc7e8b981c9b97963d01967e21150748f2092a085223a04d66c4e402200164020fb7d5d6b4348be39d3178ed3b5162c9088bab4a7d902be7a702ccb30241483045022100d9ac83f57b59a7bb76743cc9456f962c185a01b37db73dfcb58bc5d5647e5ca202206d2ae1f6353f05d1e74ce363ec98b79f8ce7f3df24903b7764905491665fdba4414c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff75db6d6a4fee43f3b1480c9c0b5c8924b99f4baacf1206850794cff55a69bc3b02000000fdfd0000473044022034d903a21826dec8d0d59cd311321463955c60dcae98e9f3c716b885cb60df4002200583e670861653ba783fa9a5e0bbadfb90c07d7afa4df159e3abb099946e2c314148304502210098ed94385c4cfcc6c4dc01082a82de469200f82e1aaf376b19914d50dcdcb1150220737bbc039735a8cbc66763894cd9ec22362660add2692d6fcefd6e52a277b921414c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff4e8a44d9b9e151e62f900ac7dfc0544b5e34452ee20b384f7e752091399b9cf803000000fc0047304402205488988efb4ec360131caf2d72ef0dde69a8c3b2b189de3169a20be19182c9520220441021477979f2181126fd7a4c1e25cad48ef4aee607ed4c480944860d1ed719414730440220344a2be9d113126598af2cc91ed0effd5fc701e68312a788238d8f26d8a6b40a02202cf625b1390637856338f98eba1158fc2f49280d9aadc6dc68f6fff84dc4c5c5414c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "7fb135259ff4dee45d3a454bd6f40c5c797558f23d23af58fd8fd072a0faa99e" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json index ace37fb37a..87d016cbb0 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "1884e8e81a047cde56747df2896ce1ede6edd79345dc3c89cbead35ad6eb2823:1", + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "68abb049f24b036261e665aab871f5b4cb0312feba66d8bd46b1c3aed229af8a:1", + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "dd3316a9bf6661005eefdf82bec8c5a7b0cb993c345c098b1a92edabf0ddda65:1", + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "02000000032328ebd65ad3eacb893cdc4593d7ede6ede16c89f27d7456de7c041ae8e8841801000000fc004730440220160fad06c61708ec6f62cc4f20dccb9270752ce201cb71deb7ae83e480e3b0ef022079c950b0b094cd9842ba335a3c9dc158b96f0ccddfb001f22e3c7aa5a2f0b37441473044022006c12104e51c9dc810b5c4306b3542112eaeeadb4edffd1df1791c0232f3b81d02206079c92957c6727f0ccaa25e4390c6021fc1b5e15ae9f4c978c486671bb2ce90414c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff8aaf29d2aec3b146bdd866bafe1203cbb4f571b8aa65e66162034bf249b0ab6801000000fdfd0000483045022100e27e7b95ba85f4bd64708cad2ca4889743636c3f9feee95f77f8bdaf51242d2c02202d1eb5bdc6ab3544b07c801e2031f39529d41b011ad712d326961856814cfca6414730440220414e8b6dc81f41d76c37ee25cf881807dad7fbf45925ca3a60bf499d852640110220483731ec93006623473e68e990d3653805d359f521b41b0deb7fe4ca2bf88e5a414c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff65daddf0abed921a8b095c343c99cbb0a7c5c8be82dfef5e006166bfa91633dd01000000fdfd0000483045022100eb580603f78bbcb4fb5595c7f05834bf6d830a6683369fcdf95a2d8555b89a4e02205b2c87d1eeb118c48d93c51590285ac1e59e3258372de7054046cac31b0c3ba9414730440220747e452741783deeee02ca76b7a142623efe018c186f0b8a5b9d147bbf62400f022002610027e7e7cac0397704253f26ca71761383cc289aee8b5c769293df80cdbc414c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "50446d11b9351b0c5ae75e5121695a31c8ec3aea27b7ba6f2efa46b758ca5459" + "transactionHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f10400000000fdfd00004730440220598b9635321b84288a98f18ad67edfcf7f17700c7311461a8ea012a02a4816cf022047ed5a11ba070bbf259e59af9b2539fb2745cbb1c676c45682ad8442586c161341483045022100f5cc47efa1098ee72f66275b788c74bac5a71942e5e2461fa6e14150c7703c46022043f89f794b59fc42d1589706b9971e2357b7248b43f4cc1d0811d65eebbb64eb414c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aefffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce02000000fc00473044022075fe49b226bcfecd592d00c52858fa8baaaa0b39a559cde4b51b78b9b41279c502205284a3b1b94aaf9cbe2058b8d630a5b1c11cdba55b7a48f6cbc228f2ac0edfdd414730440220203fbc816565c682085be7c9098e32d73c1b39b0046c13ac55d000bfad237fe702201d3c1439781f4b49232797fb808d92e1ef9cf5b3792a6dbc983867440f815f4f414c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb603000000fc00473044022011a60ad423411b349277e4839ca85c142b0be7b684332bc39ac2cdfb54262ee602201b4a29b235eda63b76789e24900ad37de10759e12c19cd91f5b90aaed920cec641473044022067352af017a6089b88d0e0912b01d83d9058c83ae5a366844b2f907196214cb302206d553b6ddd24447ab6c9b851b933a7dfaac472050e63713fa8574d0f9a285573414c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "81150ef37eeb0d66ae1208a8b7a44fe3b17a54b18fea1e513bd48f9e80cb05cc" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..82c23301e4 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a502000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f1040000000000fffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce0200000000ffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb60300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a82391000100c10200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0100e1f5050000000017a9144365f80ae9830dab1d9124be68c74c2fa23bbc128702483045022100a11ddd35d11f11db6d3203f3cf0853d6476a3ed2caeebb64515fdfcac68c24bb0220400b4012a26faa8f392dc13d7e91cd7de7d30d9cbd5fc4a395fea2c327c49e56012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f00000000220202d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc61483045022100c14ac9f702182391af1ca706441acea7c1a9bbba10d17b7bf7cf6dd1dc3286aa02204f54aab32094e32a11371de7b6911d9ce1564314c2629d82293399b7b94227064101030441000000010469522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53ae2206029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d148374ad8600000000000000000100000000000000220602d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc611403a82391000000000000000001000000000000002206030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3514e15f6f2100000000000000000100000000000000000100fdfe000200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0300c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b0000000017a9143fafee16e19a14db449ab3a57da1fd3ef89daa59870247304402204cffc8ecf659d2ff378de47a0830d2a7acba33ce9dd069c4feb0c37edb95f26302203ae4ed814496c8394fd7eb373c4ed1cdca8468c30e7069da70ae308a14a7a722012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a7473044022064be90775ffa315b1536aeed1b42255ac3ac33f58f0d1d7e8e903d85e92cf7120220434bf9a0d4592f64446300bc61d1a6e2b9a2e1d81737c34e2d9ee9a052418fe241010304410000000104695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453ae2206021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a71403a82391000000000000000001000000020000002206026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f3024148374ad8600000000000000000100000002000000220603b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b914e15f6f2100000000000000000100000002000000000100fd1e010200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0400a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e1110000000017a914040c4ab99a665c767adaa50fb28dce2ae514363b8702483045022100979e2be8551d5b0aeca6a4e6b4f6b594cd1d77926d2f68f0baf4f68d068f6d8302207f7c1982dceae939c85f4b95f9117e22c5b0e1177b511c5c05f54d73802f7e9d012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c473044022058d715f6bd6a4e46c7a50dec897fe757c444d3292d15faf65d66bde8c6fced2202201d3dfc6570f14093b8dbfcbf10d4e6abdad622319aaeb7273a9eb1ae7d7c668941010304410000000104695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53ae2206022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d14e15f6f21000000000000000001000000030000002206023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c1403a8239100000000000000000100000003000000220602b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b148374ad86000000000000000001000000030000000000", + "coin": "tbcha", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "901ef9400a82954c47dbd6f92bb7e46c83067a40ac20c7f40414d64a83ee00f9" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..7790703c65 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", + "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", + "value": 100000000, + "chain": 1, + "index": 0, + "valueString": "100000000" + }, + { + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", + "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", + "value": 200000000, + "chain": 1, + "index": 2, + "valueString": "200000000" + }, + { + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", + "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", + "value": 300000000, + "chain": 1, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f10400000000b700483045022100a9ebf6af4865014bd31cd6d484caaf4fc42dbd370708164839358182a27fcf7c02203be6ab9cc19b649752edabae59583a55307b07cd22d78eb08938ebf632e282bd4100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aefffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce02000000b6004730440220585cb801a93d5c127a389abe847fe0b4ed53bce7cf2aa626a06e6c8a2622575302207004c663a68ab2ae8a7fb60658c75315680527fb4fdcc97b0bc8cce77c5f0f2f4100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb603000000b700483045022100d87aa744cf8f48c7b0da325783c33289399e9f882d9a368a908ca665557dfae002202f2b0f5013e87c7278beb45265c572acd46f1feae61b9cafb7e4ebfcb82557c84100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", + "coin": "tbcha", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "581ee650cf3bfe00ed086e6b5608c4c4875f6b67614a82bcb94e45fa7e6175f3" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json deleted file mode 100644 index f38f5c3004..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "1884e8e81a047cde56747df2896ce1ede6edd79345dc3c89cbead35ad6eb2823:1", - "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", - "value": 100000000, - "chain": 1, - "index": 0 - }, - { - "id": "68abb049f24b036261e665aab871f5b4cb0312feba66d8bd46b1c3aed229af8a:1", - "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", - "value": 200000000, - "chain": 1, - "index": 2 - }, - { - "id": "dd3316a9bf6661005eefdf82bec8c5a7b0cb993c345c098b1a92edabf0ddda65:1", - "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", - "value": 300000000, - "chain": 1, - "index": 3 - } - ], - "transactionHex": "02000000032328ebd65ad3eacb893cdc4593d7ede6ede16c89f27d7456de7c041ae8e8841801000000b700483045022100f13fece0d50db1268c8a02b7e0fd60e3e6fab6f8053c7373beda2beb06f156f102205f3de23d65d64bcd06df5d2da75ee4a3d3d4c7d7ef1a81c4d07e98f2c1b152254100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff8aaf29d2aec3b146bdd866bafe1203cbb4f571b8aa65e66162034bf249b0ab6801000000b700483045022100ee2072ccfb10c8a9b7ce2a9a1e30a03d76acc4397182585d70d813db7a1ea49502202013ec20e8b9aa8a3093c89c4f80dfd76d2fdb0d5a99319bf972be2eab2b92ef4100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff65daddf0abed921a8b095c343c99cbb0a7c5c8be82dfef5e006166bfa91633dd01000000b700483045022100d92a559ce3754116e82cea6e5c282051f8a799623d55e0f34402fcf17b0569ce02202e00bdf5cc6284435e6086ae5986e4e1d9dca1d55e7c256ef8fb651629292ab34100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", - "coin": "tbcha", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "9457d69ddd7d76c5ae0840bedbfcff571fee27ce0885e40fde9bc1375999931f" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json index adea01e06a..05eac86c37 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbcha/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json @@ -1,9 +1,9 @@ { - "txHex": "02000000032328ebd65ad3eacb893cdc4593d7ede6ede16c89f27d7456de7c041ae8e884180100000000ffffffff8aaf29d2aec3b146bdd866bafe1203cbb4f571b8aa65e66162034bf249b0ab680100000000ffffffff65daddf0abed921a8b095c343c99cbb0a7c5c8be82dfef5e006166bfa91633dd0100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f1040000000000fffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce0200000000ffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb60300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "1884e8e81a047cde56747df2896ce1ede6edd79345dc3c89cbead35ad6eb2823:1", + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", "value": 100000000, "chain": 1, @@ -11,7 +11,7 @@ "valueString": "100000000" }, { - "id": "68abb049f24b036261e665aab871f5b4cb0312feba66d8bd46b1c3aed229af8a:1", + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", "value": 200000000, "chain": 1, @@ -19,7 +19,7 @@ "valueString": "200000000" }, { - "id": "dd3316a9bf6661005eefdf82bec8c5a7b0cb993c345c098b1a92edabf0ddda65:1", + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", "value": 300000000, "chain": 1, @@ -30,5 +30,5 @@ }, "feeInfo": {}, "coin": "tbcha", - "txid": "bfc5cd7b3a8e79841e2a22e438d532e4020006e0cc5dde105f8ce97db1e2d94e" + "txid": "584b61466c05a64b86f5f8c419a532574607c3770ddda1c53d988ec158b50195" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json index ab14c9bca2..9518129dd5 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "8193e691a967321c6dcd525f7a90d50d005d6bac217592567b64645bbd157a8d:1", + "id": "969b2e80c94f2770a89331ba3d320fd7ad77d88b4e9e0af5aa364e5d327ef0d2:0", "address": "2N4QNizxEe9cidCuiwBSuWMVnESL1rq4xeP", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "2c06539f159220143d915ac4d0f499ee81b0d61b261e7505e3972ff89cd41a1c:1", + "id": "3bbc695af5cf9407850612cfaa4b9fb924895c0b9c0c48b1f343ee4f6a6ddb75:2", "address": "2MsPHutXUnEtC8sZgUz8bS5cwrsnECbMYA4", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "47e8166b5ff7dc1e28a2ce7a8a3aeb1f6e3e15798e37d41752ee816b826ba2c9:1", + "id": "f89c9b399120757e4f380be22e45345e4b54c0dfc70a902fe651e1b9d9448a4e:3", "address": "2MvA4HmvYvPKbzXYS1yb9iZh2WUSuFY6iy7", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "02000000038d7a15bd5b64647b56927521ac6b5d000dd5907a5f52cd6d1c3267a991e6938101000000fc004730440220323fd218cecff1f79512d5b8d854e908c2953a8c09dd4904b50f69a54fe1333302206db1e64710f453949b6391961c0dc176a1520442478abddd859151bf33df018e4147304402206079924a00ce3ec7e2141af85e185284467293ccba355e9e98ca5d99352c4f35022005dbff1d2989916db583050190d00cc88d68d37e0ff000020dc13da866bddab8414c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff1c1ad49cf82f97e305751e261bd6b081ee99f4d0c45a913d142092159f53062c01000000fdfd000047304402201f89750bae56f0b1491bd2ced6a16821a3eaaacd819aeb94cbd6c992918621b702206e318ad7969de88ff9faecf97c8798fa5f0a8e81db63ce0c8f0eb67b5d83c1f941483045022100bb8efb9e14f262f87a9624403de3a23c1c0f7a4285deae8e6225bf6735fc9b4802207a30f5ebcff7af2f714f9baaa65af2670a9e95874f92aaf2d7534bb60799daeb414c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffc9a26b826b81ee5217d4378e79153e6e1feb3a8a7acea2281edcf75f6b16e84701000000fdfe0000483045022100bd2ce0c459316d1792ced1eb6d9da97a1fcda70ff310443956011ba074390016022025eebbb0f1f9b32291badb85af955346aa8cb6248d639fa1c7aabf5be527c3dc41483045022100e3064a458d53dec0825d3ae4927587290299e52518818e1bf483bb86f21ba04e02206ad5e45e3070c34587076e662192beca53c853be5a6d64b1421072869a395113414c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "b6162bebf4c17cb86dd5e56f8adeed7e7b211d6521ec2896ef0d807d5c83fca4" + "transactionHex": "0200000003d2f07e325d4e36aaf50a9e4e8bd877add70f323dba3193a870274fc9802e9b9600000000fdfe0000483045022100cf2ead72e4cc7e8b981c9b97963d01967e21150748f2092a085223a04d66c4e402200164020fb7d5d6b4348be39d3178ed3b5162c9088bab4a7d902be7a702ccb30241483045022100d9ac83f57b59a7bb76743cc9456f962c185a01b37db73dfcb58bc5d5647e5ca202206d2ae1f6353f05d1e74ce363ec98b79f8ce7f3df24903b7764905491665fdba4414c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff75db6d6a4fee43f3b1480c9c0b5c8924b99f4baacf1206850794cff55a69bc3b02000000fdfd0000473044022034d903a21826dec8d0d59cd311321463955c60dcae98e9f3c716b885cb60df4002200583e670861653ba783fa9a5e0bbadfb90c07d7afa4df159e3abb099946e2c314148304502210098ed94385c4cfcc6c4dc01082a82de469200f82e1aaf376b19914d50dcdcb1150220737bbc039735a8cbc66763894cd9ec22362660add2692d6fcefd6e52a277b921414c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff4e8a44d9b9e151e62f900ac7dfc0544b5e34452ee20b384f7e752091399b9cf803000000fc0047304402205488988efb4ec360131caf2d72ef0dde69a8c3b2b189de3169a20be19182c9520220441021477979f2181126fd7a4c1e25cad48ef4aee607ed4c480944860d1ed719414730440220344a2be9d113126598af2cc91ed0effd5fc701e68312a788238d8f26d8a6b40a02202cf625b1390637856338f98eba1158fc2f49280d9aadc6dc68f6fff84dc4c5c5414c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "7fb135259ff4dee45d3a454bd6f40c5c797558f23d23af58fd8fd072a0faa99e" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json index ace37fb37a..87d016cbb0 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "1884e8e81a047cde56747df2896ce1ede6edd79345dc3c89cbead35ad6eb2823:1", + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "68abb049f24b036261e665aab871f5b4cb0312feba66d8bd46b1c3aed229af8a:1", + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "dd3316a9bf6661005eefdf82bec8c5a7b0cb993c345c098b1a92edabf0ddda65:1", + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "02000000032328ebd65ad3eacb893cdc4593d7ede6ede16c89f27d7456de7c041ae8e8841801000000fc004730440220160fad06c61708ec6f62cc4f20dccb9270752ce201cb71deb7ae83e480e3b0ef022079c950b0b094cd9842ba335a3c9dc158b96f0ccddfb001f22e3c7aa5a2f0b37441473044022006c12104e51c9dc810b5c4306b3542112eaeeadb4edffd1df1791c0232f3b81d02206079c92957c6727f0ccaa25e4390c6021fc1b5e15ae9f4c978c486671bb2ce90414c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff8aaf29d2aec3b146bdd866bafe1203cbb4f571b8aa65e66162034bf249b0ab6801000000fdfd0000483045022100e27e7b95ba85f4bd64708cad2ca4889743636c3f9feee95f77f8bdaf51242d2c02202d1eb5bdc6ab3544b07c801e2031f39529d41b011ad712d326961856814cfca6414730440220414e8b6dc81f41d76c37ee25cf881807dad7fbf45925ca3a60bf499d852640110220483731ec93006623473e68e990d3653805d359f521b41b0deb7fe4ca2bf88e5a414c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff65daddf0abed921a8b095c343c99cbb0a7c5c8be82dfef5e006166bfa91633dd01000000fdfd0000483045022100eb580603f78bbcb4fb5595c7f05834bf6d830a6683369fcdf95a2d8555b89a4e02205b2c87d1eeb118c48d93c51590285ac1e59e3258372de7054046cac31b0c3ba9414730440220747e452741783deeee02ca76b7a142623efe018c186f0b8a5b9d147bbf62400f022002610027e7e7cac0397704253f26ca71761383cc289aee8b5c769293df80cdbc414c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "50446d11b9351b0c5ae75e5121695a31c8ec3aea27b7ba6f2efa46b758ca5459" + "transactionHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f10400000000fdfd00004730440220598b9635321b84288a98f18ad67edfcf7f17700c7311461a8ea012a02a4816cf022047ed5a11ba070bbf259e59af9b2539fb2745cbb1c676c45682ad8442586c161341483045022100f5cc47efa1098ee72f66275b788c74bac5a71942e5e2461fa6e14150c7703c46022043f89f794b59fc42d1589706b9971e2357b7248b43f4cc1d0811d65eebbb64eb414c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aefffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce02000000fc00473044022075fe49b226bcfecd592d00c52858fa8baaaa0b39a559cde4b51b78b9b41279c502205284a3b1b94aaf9cbe2058b8d630a5b1c11cdba55b7a48f6cbc228f2ac0edfdd414730440220203fbc816565c682085be7c9098e32d73c1b39b0046c13ac55d000bfad237fe702201d3c1439781f4b49232797fb808d92e1ef9cf5b3792a6dbc983867440f815f4f414c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb603000000fc00473044022011a60ad423411b349277e4839ca85c142b0be7b684332bc39ac2cdfb54262ee602201b4a29b235eda63b76789e24900ad37de10759e12c19cd91f5b90aaed920cec641473044022067352af017a6089b88d0e0912b01d83d9058c83ae5a366844b2f907196214cb302206d553b6ddd24447ab6c9b851b933a7dfaac472050e63713fa8574d0f9a285573414c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "81150ef37eeb0d66ae1208a8b7a44fe3b17a54b18fea1e513bd48f9e80cb05cc" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..79831ac424 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a502000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f1040000000000fffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce0200000000ffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb60300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a82391000100c10200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0100e1f5050000000017a9144365f80ae9830dab1d9124be68c74c2fa23bbc128702483045022100a11ddd35d11f11db6d3203f3cf0853d6476a3ed2caeebb64515fdfcac68c24bb0220400b4012a26faa8f392dc13d7e91cd7de7d30d9cbd5fc4a395fea2c327c49e56012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f00000000220202d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc61483045022100c14ac9f702182391af1ca706441acea7c1a9bbba10d17b7bf7cf6dd1dc3286aa02204f54aab32094e32a11371de7b6911d9ce1564314c2629d82293399b7b94227064101030441000000010469522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53ae2206029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d148374ad8600000000000000000100000000000000220602d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc611403a82391000000000000000001000000000000002206030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3514e15f6f2100000000000000000100000000000000000100fdfe000200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0300c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b0000000017a9143fafee16e19a14db449ab3a57da1fd3ef89daa59870247304402204cffc8ecf659d2ff378de47a0830d2a7acba33ce9dd069c4feb0c37edb95f26302203ae4ed814496c8394fd7eb373c4ed1cdca8468c30e7069da70ae308a14a7a722012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a7473044022064be90775ffa315b1536aeed1b42255ac3ac33f58f0d1d7e8e903d85e92cf7120220434bf9a0d4592f64446300bc61d1a6e2b9a2e1d81737c34e2d9ee9a052418fe241010304410000000104695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453ae2206021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a71403a82391000000000000000001000000020000002206026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f3024148374ad8600000000000000000100000002000000220603b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b914e15f6f2100000000000000000100000002000000000100fd1e010200000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0400a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e1110000000017a914040c4ab99a665c767adaa50fb28dce2ae514363b8702483045022100979e2be8551d5b0aeca6a4e6b4f6b594cd1d77926d2f68f0baf4f68d068f6d8302207f7c1982dceae939c85f4b95f9117e22c5b0e1177b511c5c05f54d73802f7e9d012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c473044022058d715f6bd6a4e46c7a50dec897fe757c444d3292d15faf65d66bde8c6fced2202201d3dfc6570f14093b8dbfcbf10d4e6abdad622319aaeb7273a9eb1ae7d7c668941010304410000000104695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53ae2206022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d14e15f6f21000000000000000001000000030000002206023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c1403a8239100000000000000000100000003000000220602b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b148374ad86000000000000000001000000030000000000", + "coin": "tbsv", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "901ef9400a82954c47dbd6f92bb7e46c83067a40ac20c7f40414d64a83ee00f9" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..bca3d255f1 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", + "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", + "value": 100000000, + "chain": 1, + "index": 0, + "valueString": "100000000" + }, + { + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", + "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", + "value": 200000000, + "chain": 1, + "index": 2, + "valueString": "200000000" + }, + { + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", + "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", + "value": 300000000, + "chain": 1, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f10400000000b700483045022100a9ebf6af4865014bd31cd6d484caaf4fc42dbd370708164839358182a27fcf7c02203be6ab9cc19b649752edabae59583a55307b07cd22d78eb08938ebf632e282bd4100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aefffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce02000000b6004730440220585cb801a93d5c127a389abe847fe0b4ed53bce7cf2aa626a06e6c8a2622575302207004c663a68ab2ae8a7fb60658c75315680527fb4fdcc97b0bc8cce77c5f0f2f4100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb603000000b700483045022100d87aa744cf8f48c7b0da325783c33289399e9f882d9a368a908ca665557dfae002202f2b0f5013e87c7278beb45265c572acd46f1feae61b9cafb7e4ebfcb82557c84100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", + "coin": "tbsv", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "581ee650cf3bfe00ed086e6b5608c4c4875f6b67614a82bcb94e45fa7e6175f3" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json deleted file mode 100644 index d6946cd828..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "1884e8e81a047cde56747df2896ce1ede6edd79345dc3c89cbead35ad6eb2823:1", - "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", - "value": 100000000, - "chain": 1, - "index": 0 - }, - { - "id": "68abb049f24b036261e665aab871f5b4cb0312feba66d8bd46b1c3aed229af8a:1", - "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", - "value": 200000000, - "chain": 1, - "index": 2 - }, - { - "id": "dd3316a9bf6661005eefdf82bec8c5a7b0cb993c345c098b1a92edabf0ddda65:1", - "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", - "value": 300000000, - "chain": 1, - "index": 3 - } - ], - "transactionHex": "02000000032328ebd65ad3eacb893cdc4593d7ede6ede16c89f27d7456de7c041ae8e8841801000000b700483045022100f13fece0d50db1268c8a02b7e0fd60e3e6fab6f8053c7373beda2beb06f156f102205f3de23d65d64bcd06df5d2da75ee4a3d3d4c7d7ef1a81c4d07e98f2c1b152254100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff8aaf29d2aec3b146bdd866bafe1203cbb4f571b8aa65e66162034bf249b0ab6801000000b700483045022100ee2072ccfb10c8a9b7ce2a9a1e30a03d76acc4397182585d70d813db7a1ea49502202013ec20e8b9aa8a3093c89c4f80dfd76d2fdb0d5a99319bf972be2eab2b92ef4100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff65daddf0abed921a8b095c343c99cbb0a7c5c8be82dfef5e006166bfa91633dd01000000b700483045022100d92a559ce3754116e82cea6e5c282051f8a799623d55e0f34402fcf17b0569ce02202e00bdf5cc6284435e6086ae5986e4e1d9dca1d55e7c256ef8fb651629292ab34100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", - "coin": "tbsv", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "9457d69ddd7d76c5ae0840bedbfcff571fee27ce0885e40fde9bc1375999931f" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json index 88ed79a55f..807067666d 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbsv/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "02000000032328ebd65ad3eacb893cdc4593d7ede6ede16c89f27d7456de7c041ae8e884180100000000ffffffff8aaf29d2aec3b146bdd866bafe1203cbb4f571b8aa65e66162034bf249b0ab680100000000ffffffff65daddf0abed921a8b095c343c99cbb0a7c5c8be82dfef5e006166bfa91633dd0100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "02000000035e1bec1d2b55459a05bfbe58cd35672ac00ed1b05425e0380df6fc4a94f1f1040000000000fffffffffabeb3b77fb6daab15daf9b693c55a8626e2a73ee94e4893bc7ee32eb055a3ce0200000000ffffffff475b3790e98f4822dbc86fe3b8ea3cc116f0193322586eb26d45c45994bbbeb60300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "1884e8e81a047cde56747df2896ce1ede6edd79345dc3c89cbead35ad6eb2823:1", + "id": "04f1f1944afcf60d38e02554b0d10ec02a6735cd58bebf059a45552b1dec1b5e:0", "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", "value": 100000000, - "valueString": "100000000", "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "68abb049f24b036261e665aab871f5b4cb0312feba66d8bd46b1c3aed229af8a:1", + "id": "cea355b02ee37ebc93484ee93ea7e226865ac593b6f9da15abdab67fb7b3befa:2", "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", "value": 200000000, - "valueString": "200000000", "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "dd3316a9bf6661005eefdf82bec8c5a7b0cb993c345c098b1a92edabf0ddda65:1", + "id": "b6bebb9459c4456db26e58223319f016c13ceab8e36fc8db22488fe990375b47:3", "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", "value": 300000000, - "valueString": "300000000", "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "tbsv", - "txid": "bfc5cd7b3a8e79841e2a22e438d532e4020006e0cc5dde105f8ce97db1e2d94e" -} + "txid": "584b61466c05a64b86f5f8c419a532574607c3770ddda1c53d988ec158b50195" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json index 99c29e3e11..46ff1619ae 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "8193e691a967321c6dcd525f7a90d50d005d6bac217592567b64645bbd157a8d:1", + "id": "c35632d302cbce17584464d2932d93aab8be0f10ce2507a97a5a9d2c7e1a177b:0", "address": "2N4QNizxEe9cidCuiwBSuWMVnESL1rq4xeP", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "2c06539f159220143d915ac4d0f499ee81b0d61b261e7505e3972ff89cd41a1c:1", + "id": "a94f373ba53af0a6d35991c460149b1f3bb2c6981110ca505248b2c6e673d997:2", "address": "2MsPHutXUnEtC8sZgUz8bS5cwrsnECbMYA4", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "47e8166b5ff7dc1e28a2ce7a8a3aeb1f6e3e15798e37d41752ee816b826ba2c9:1", + "id": "2ced3812039330d831d4546175fc7486cfbc2feb754e5ce5e5df5867ae677056:3", "address": "2MvA4HmvYvPKbzXYS1yb9iZh2WUSuFY6iy7", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "01000000038d7a15bd5b64647b56927521ac6b5d000dd5907a5f52cd6d1c3267a991e6938101000000fdfd00004730440220678a5803d99d8e5d2d2312b213feef5cf2159deef2debae9c90a9f00d85bef17022047e3536e03bf3b9538af479f69869ffc8bc110b44afd56c4494ac5cd373ddca4014830450221009089f78016c7fda80314cad95bf60b8ade5dc7ca72e61af2df8c6a3943c4fa7c02202935bc10be271a3c0f003a88efc5f950015e92d8d778a5f07a758a30d614d1ac014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff1c1ad49cf82f97e305751e261bd6b081ee99f4d0c45a913d142092159f53062c01000000fc0047304402205ba77396ffcd78946e98922218f36af3186f67133909b49083546a7989575de4022058b20d725b28fb9cbbad675a1620ab4e1f63806eeb6cd9266c79e998bf37447501473044022005f58955d54aa729574877bdb8788af5003eae5358e551d371a52f687a7c52e602204236f8db7f3f16364a2f3cef65351147e00edd4f264dba5a73d09316a5a14580014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffc9a26b826b81ee5217d4378e79153e6e1feb3a8a7acea2281edcf75f6b16e84701000000fdfe0000483045022100f8b1f21e617c29f3fba5db15cb9fb2405b406d7ab425e29f77d20f8741dcfcbe0220360a4f1758552e42c92ded2bcef00c39952c5e40d8af22941d6e39195614356401483045022100de23c71c195d22c3b6d0d2d7f1c2ccdc95bacee6bb9a882899331e6b069b266c02207e4516283a8341f44055b93a9838a95b373cd062f55e963773c5ac2a61cd7431014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "8d2fcfba5436d19de9f7d26068d28add993ed21d3358f01ff73136e9b151bdec" + "transactionHex": "01000000037b171a7e2c9d5a7aa90725ce100fbeb8aa932d93d264445817cecb02d33256c300000000fdfd000048304502210090afd8e3bfd9e080ebf66d1367d1947033c5c8682558d14de429412152df5e0202204d9e6838c10d2c863a8d3ef6114b4beb4663eaa2189e56c87be3ffa81a2c316301473044022032bb84e66cf44a3ce2a9114b06c616b8044b5df4ae743e779dd7bdbaab31093c02206ae22a743cbd4c59996ee44044431363ee9d1f0b8468c3539aee9d692f936a52014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff97d973e6c6b2485250ca101198c6b23b1f9b1460c49159d3a6f03aa53b374fa902000000fc00473044022020ca41765bdfec55a1f1467111e699fb44b85d268efe5462ed5deb85596393f102203f1e8066f3ddb4d7bee5397b41593fe1ff99a3d72dcaa361e4a0ba8e59a2ae430147304402200934c3a7471cc655e73e9a9ef5994738a621f43081a585ceb7e2bb0470a3b74e02200177e4ea17e4ff5418fe3535fa2c2a43e9ad433f87372b317c11de131de5a8a9014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff567067ae6758dfe5e55c4e75eb2fbccf8674fc756154d431d83093031238ed2c03000000fc0047304402200f5e67793a44288724dab7136cd55e1e21442da67660d1c68b0f4816389253d0022077a9c303a80a63d703114504915131d24e867450405b78b42fbf3520b58e177b01473044022050243f1fc531961c7bf1cc63a08d823edf6a75524eb1f75d70846e8f657fb09d0220747e1a591f2d08151b8391f7790f9a6e62e8451ebe468ca42338ddd570e75aed014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "a0455b558005c37d3927a82712bb26cefa467bde2f89bc1c97a0a2645492b873" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json index be9b992825..aeb3f46a71 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "1884e8e81a047cde56747df2896ce1ede6edd79345dc3c89cbead35ad6eb2823:1", + "id": "818236f569e2c257866e3b2b2f496d32b9972d67bbae0fffe10bd5d15c439a28:0", "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "68abb049f24b036261e665aab871f5b4cb0312feba66d8bd46b1c3aed229af8a:1", + "id": "3c8a8235f781763203ceea667a440934e00ab639866664a04e18fc8b14862b1f:2", "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "dd3316a9bf6661005eefdf82bec8c5a7b0cb993c345c098b1a92edabf0ddda65:1", + "id": "959bb11cb05102765373e1174b0ef61d75ca7b81d3245aa82e9756219cc360dc:3", "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "01000000032328ebd65ad3eacb893cdc4593d7ede6ede16c89f27d7456de7c041ae8e8841801000000fdfe000048304502210082effbe0bb1e5b33531a33d99cb0df304e7396debb0b32314379a0de1f7a62560220240f594da8c51679e47f830a01bcdf80413d4fb09f74cc0e67134b9e787ed2b401483045022100f6e484e65863ac0aba83557fcf928c3ad99fccd0b67da26563f2a241b516221d022017be7adc556ac01f238af2a5b5cb35bfbd28f4f33a06236517392fa1369dad71014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff8aaf29d2aec3b146bdd866bafe1203cbb4f571b8aa65e66162034bf249b0ab6801000000fdfd000048304502210083944b09dfd8465bf4b4bb7a6896b16477f964d020346786babe38b099ffd1760220547bf4e52723aaaaa901bdcddd6009c582140ba65a4076bc6af6ae6497164f2f0147304402202f7fcf99b2eae97dfe7d48174dbf764e3a62ef26eced2c639e5a3b4189748bdb02203d295bfa09432cf5ca74f4ca632d38dce13a73177d51e050daccd48891fc236c014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff65daddf0abed921a8b095c343c99cbb0a7c5c8be82dfef5e006166bfa91633dd01000000fdfe0000483045022100bd543cf889006ff02d7b98baa46d21ce59410f38682821ddf3f6c68e18f054d302203593203296b4ea1e28545113df32dd59aae1b70b1d50c2273a7a62b28976f1e3014830450221009486f512f7bc6f1bd8c30d76282871312fdd0d15f300cf6d5a80937cd21ad40202204d67b5cb126473bdabbb0ed2ea691db9a7469b2572b1066acd65f0430094270a014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "6b09c23ac6a473a331fa05aa3c01b8f63cd24c3a1e326692933a654fc4934bb2" + "transactionHex": "0100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f536828100000000fc0047304402203bf1f574c794fd8f68e90722c57cc93ce136ccddf3b30b5ce64342c89c83a7f3022019e8c18c6c94acd2c384c76f65ad417dc0c729fcabf8c20a77c521641b751a0301473044022100d091b48bd6cc8e7955fc281c313e2f43ae4caee4326cd1c03f84ae179de5e5e6021f32aeb1dcee1695875f459b40a7fabdae99d3991338dc101dffcfd9a18f85bf014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c02000000fdfd0000483045022100c26df93a70b8383d26b033a750483a33ebe2474bafc640ff376ad9eae4d2fb95022042154846c2f042cbfce1d59fe22620ea7433552913c027588b9fbd6da43eb846014730440220477c29b238a95f6574eca9ecbb4d71e32696a1e0fd1f4e9c471838c07e0637fe02201365e92f8ab0b901a56f5258ceabc278967645503caef4a32c0c4c00f8283a2a014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b9503000000fdfd0000473044022049ed363ab4890ea65ce8fbe76030fa329ccea35dba3aaec24582838eb6139d7c0220072794c17dbc26de84a25e2804f5408115f12437c9bb50bc3abb713c4e5a297601483045022100c278f9d719f0071d56091c6b8dc7abe911e9df0512373505ed82a180f3f2b2f5022012db544b4301d259b8419ed49bd36d76265e834e9536efee8c867f9f4b4f11ee014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "328a694e782f085a82ec01a93056c57541adca82ce3007a0f910f1b2291c1d24" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..a993ea3a5b --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a50100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f53682810000000000ffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c0200000000ffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b950300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a82391000100c10100000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0100e1f5050000000017a9144365f80ae9830dab1d9124be68c74c2fa23bbc128702483045022100858c9aa2a8a09e21aa6c2690d9310d29b611b5c3c4684a278a35df474b77d2c5022006557c234f65761407cafba42273f10380c3f0fc672fb78a3d19d7d4de1953ed012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f00000000220202d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc61483045022100c15ce99736373c306708f8cc510a4ad85e109c0482918cde4cd64957eece542a022063a15d21b3c13ed5e5bc350b3bc677183c4041cca4b90c25ec4318f4f2d67dc20101030401000000010469522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53ae2206029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d148374ad8600000000000000000100000000000000220602d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc611403a82391000000000000000001000000000000002206030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3514e15f6f2100000000000000000100000000000000000100fdfe000100000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0300c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b0000000017a9143fafee16e19a14db449ab3a57da1fd3ef89daa59870247304402203eac5776ee059ab03970aa4de32186769f24c90225b015b1c2af58f900ce1f9c02201c8ab9bf330aff31efdf9937e4bdff4a79629df2e506a445387c5404d5fd6f07012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a7483045022100c4767d763ba74be1c9e39cc0972e31ff89865b03973f218c1ea2cc26334be8ae02201e164bca6f26364ee522d967aa70ea53b00c548a6f876478033d629759a3380501010304010000000104695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453ae2206021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a71403a82391000000000000000001000000020000002206026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f3024148374ad8600000000000000000100000002000000220603b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b914e15f6f2100000000000000000100000002000000000100fd1e010100000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0400a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e1110000000017a914040c4ab99a665c767adaa50fb28dce2ae514363b8702483045022100f1048d424cecee8bb0f80f884a141ac77d66ec734d5b678e7179c21f0dd6999d0220652a35be4ca4e7acc73ad8d45e8483cba4420e0f99c7b77608cbba5ca507966b012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c483045022100e722510ad6c3aabcad9684e302c07bbb56c8c8fa860d68d800d1d3582b4bdee202202e40d997fdec7dc1c8b61d450b75cfde8c285caa12cd7b5e8897083ecad0ea5e01010304010000000104695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53ae2206022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d14e15f6f21000000000000000001000000030000002206023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c1403a8239100000000000000000100000003000000220602b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b148374ad86000000000000000001000000030000000000", + "coin": "tbtc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "8f52b9ad56724efdcd392f50d8cda59e333d2eb7a3e3b2ac0edf191463a2751e" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..79283cc436 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "818236f569e2c257866e3b2b2f496d32b9972d67bbae0fffe10bd5d15c439a28:0", + "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", + "value": 100000000, + "chain": 1, + "index": 0, + "valueString": "100000000" + }, + { + "id": "3c8a8235f781763203ceea667a440934e00ab639866664a04e18fc8b14862b1f:2", + "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", + "value": 200000000, + "chain": 1, + "index": 2, + "valueString": "200000000" + }, + { + "id": "959bb11cb05102765373e1174b0ef61d75ca7b81d3245aa82e9756219cc360dc:3", + "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", + "value": 300000000, + "chain": 1, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "0100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f536828100000000b60047304402203828c6052fc53c573b8ad653ac80fe26e1d1ddde683faca519b2820212da4f7d02205e7e55a1cc552687f5a9ec8e9bd135557c09d9b2aaa0019929288c630fd1ceea0100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c02000000b700483045022100f758208f72138002f57aae96b15a7b60a059d78da132c0e3c7e0abb4bd567f3f02205ce0a003b117d77542d8e1a46eded5c661996e69ee123c146d65338b9cd881250100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b9503000000b700483045022100adf4e985196efef77c9bd658691e056c54e2ef6b9b829f1bec67f5d457ce828f02206c2c11f191d754f418383635d37b2a47f0539857e75b631f9637733fdfc678850100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", + "coin": "tbtc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "7cb327f1dde5aac990f3b053a4aa24d1dc2009d682c5c76062d9cb5737feb36e" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json deleted file mode 100644 index 854ba308b2..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "1884e8e81a047cde56747df2896ce1ede6edd79345dc3c89cbead35ad6eb2823:1", - "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", - "value": 100000000, - "chain": 1, - "index": 0 - }, - { - "id": "68abb049f24b036261e665aab871f5b4cb0312feba66d8bd46b1c3aed229af8a:1", - "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", - "value": 200000000, - "chain": 1, - "index": 2 - }, - { - "id": "dd3316a9bf6661005eefdf82bec8c5a7b0cb993c345c098b1a92edabf0ddda65:1", - "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", - "value": 300000000, - "chain": 1, - "index": 3 - } - ], - "transactionHex": "01000000032328ebd65ad3eacb893cdc4593d7ede6ede16c89f27d7456de7c041ae8e8841801000000b600473044022038f0186c762b3099df33b4f4da754b92fe395dc30a8da196305ec7e9bfbd702b02200edf60c6c770ebe7bbbb677b8103956961f33b61671c31151c0069e1200fb4ca0100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff8aaf29d2aec3b146bdd866bafe1203cbb4f571b8aa65e66162034bf249b0ab6801000000b60047304402200f43156fd7f68fbc8c2bc1a8f88bf5740c16f9b17dff4c4fb6cd5609fd41eb8702201f134e3585c0d3212bdd584050c686640e8bc5dabf5c699a2f99ef650e1dee560100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff65daddf0abed921a8b095c343c99cbb0a7c5c8be82dfef5e006166bfa91633dd01000000b6004730440220577d24fae87684beea17c44cdafbad0152fbb9280f009bc61c55d224423a65c402206216b2331af525b7d93093fe4d35e2323f31745a61b27c1efb610b31370e2b810100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", - "coin": "tbtc", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "d8ee5c45786da75dd1cf0a8ee2a6ec1f804bd96d5aa4df43e3b623e38a14db54" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json index ddd88b755d..685ec139e0 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "01000000032328ebd65ad3eacb893cdc4593d7ede6ede16c89f27d7456de7c041ae8e884180100000000ffffffff8aaf29d2aec3b146bdd866bafe1203cbb4f571b8aa65e66162034bf249b0ab680100000000ffffffff65daddf0abed921a8b095c343c99cbb0a7c5c8be82dfef5e006166bfa91633dd0100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "0100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f53682810000000000ffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c0200000000ffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b950300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "1884e8e81a047cde56747df2896ce1ede6edd79345dc3c89cbead35ad6eb2823:1", + "id": "818236f569e2c257866e3b2b2f496d32b9972d67bbae0fffe10bd5d15c439a28:0", "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", "value": 100000000, - "valueString": "100000000", "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "68abb049f24b036261e665aab871f5b4cb0312feba66d8bd46b1c3aed229af8a:1", + "id": "3c8a8235f781763203ceea667a440934e00ab639866664a04e18fc8b14862b1f:2", "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", "value": 200000000, - "valueString": "200000000", "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "dd3316a9bf6661005eefdf82bec8c5a7b0cb993c345c098b1a92edabf0ddda65:1", + "id": "959bb11cb05102765373e1174b0ef61d75ca7b81d3245aa82e9756219cc360dc:3", "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", "value": 300000000, - "valueString": "300000000", "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "tbtc", - "txid": "b8afbf9d50494f83fda31b80a3ef29227382ff77580b2a16794c50e4a12a5b57" -} + "txid": "15454128619e030a6338799449934241c024abf40d52585e9e003eef622636b7" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json index 6616447f46..72a830180e 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "0bcd8fa204a0b92d7ee6a094b439ddd804f4ded773d686b88731adab03c4d818:1", + "id": "887016e6d1109bdb219ce8ce3671879f4d3410eb4abba6ca760dcaf88834c02e:0", "address": "2N2G3HPJe3HqFswHdqgnr3fmawk2DJ5wZBE", "value": 100000000, "chain": 11, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "12468d970840007ba57bf0294016d145e590c9b6263902662c8a2e262445a45a:1", + "id": "16839837f79f95b5cbf22424ea879f8d21a852208bd5539b79c6b004a46d9221:2", "address": "2N6h5nj19gCfus68bSjmtkATpobRJoTnS64", "value": 200000000, "chain": 11, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "c83bd0a174ff9f4b7c5f2cfa6ff8affd17a1cbfb9225cb628d955a3f43e97d60:1", + "id": "0bffcb3fad2801934dbf7b555b3bcec9dbb2d3377b79f820e8d3cdb16576f1b5:3", "address": "2N2sPZFaLgPXjF4j5zFn6fCVDmS13Btot9A", "value": 300000000, "chain": 11, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "0100000000010318d8c403abad3187b886d673d7def404d8dd39b494a0e67e2db9a004a28fcd0b0100000023220020b858b5820bca303626d8d5a5291b5a0dcf839c76d61c32eb226c9d08fd06e3a4ffffffff5aa44524262e8a2c66023926b6c990e545d1164029f07ba57b004008978d461201000000232200201063b62f857751aaeaf8c7ef5636d48511fac0008f8ee69e4b1a006b2b74e553ffffffff607de9433f5a958d62cb2592fbcba117fdaff86ffa2c5f7c4b9fff74a1d03bc801000000232200202b16216e81e558810abe7604a67aa97b737f64d40b3de22d5fccdf2b6c972f03ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100805beea4185703b4fa9ffad50080a4f4f08d3986cf4b1092cf442cd85abed24202202196e5ca13d2f54bd85e81188419291a32133dd877467936cedd14a6aafca599014730440220695a5d64c8538ffe6e8a2f31fcc4e5c88823e4b0f08f1af16adec2380c8e164802204d0308668509d1981829f6ab92280a3439b995653477ea387841f373e73009a601695221032484ff761a521ee38b094232984175f1db28c90fe304c7242c0057330b6e024a21022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0400483045022100be6c7332a7eb49fb29ad84d56f7b0ded0c013e9bc2fa6b6a5371dd652107aa4d022015be688081dae7c214d42f4e85a36cc884a8b44a66ad999475acff1d38ae0fa20148304502210092c6b19fdd16c0487e49acafb6e3f42c373f484c37cc4ba7293f75c6f1a8d8ad0220267fe5804093b3ab9fc78d0aba6abf76b13ac125934d0bd62ceda19c8a4d51a00169522102678b7a7d9dc0736691adc5b681808f1bbc981563ffa23e1c302d0a4006e7fa252103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae0400483045022100f1ae8ab96262055e0a4efc8fb9b6310ccc6955ea247e602c8f9fdac0564c7f8802206f0f9059fcb18ce5f13972c70fe90393f8568e34bdf8385d0e44bff21dfcfc020147304402207f9e42e1124a07131a8c2a772b654d2ead7f20404f56d6a8c11fbb1a840893d202205a02e5bf06ebcae1a83cfc14f9e739d41f4649f88532ab27012c9b02825801700169522102be72efeb6abfd486e92e30221f854983722118d820c90d5b2999b8623b27abee2103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", - "txid": "3138296cd2e0350b92a0859af49720575b8eb5d34f9a332b5aa28c8e2a1190ee" + "transactionHex": "010000000001032ec03488f8ca0d76caa6bb4aeb10344d9f877136cee89c21db9b10d1e61670880000000023220020b858b5820bca303626d8d5a5291b5a0dcf839c76d61c32eb226c9d08fd06e3a4ffffffff21926da404b0c6799b53d58b2052a8218d9f87ea2424f2cbb5959ff73798831602000000232200201063b62f857751aaeaf8c7ef5636d48511fac0008f8ee69e4b1a006b2b74e553ffffffffb5f17665b1cdd3e820f8797b37d3b2dbc9ce3b5b557bbf4d930128ad3fcbff0b03000000232200202b16216e81e558810abe7604a67aa97b737f64d40b3de22d5fccdf2b6c972f03ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87040047304402207d54be589b6c1025283b43402f788e5df2823be0c08a67d00c707f998d33905f02200abe7d2722a62f66fd4582af266b36254c8966184b4383e935aa76810c85b88d0147304402204427ff567bc701a9662a74bd730bc70dd22d30695f50678ad81785b4584c8845022028a7561021e5fdd140d30b3abdec13c05cc448da9e5e38bfc0cf9d693735732501695221032484ff761a521ee38b094232984175f1db28c90fe304c7242c0057330b6e024a21022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0400483045022100da3a4808be7bb6ef4ac1534e310b79b6297c6aaae7fb36540e598fddba1b3e83022013626ce8a8512ae8252edb8c635b003c588a8369480821152f5d96327e56e1d20147304402203b0df6269ffffa3635a9698bd06863c9a4193547492953ca52b92609dbb78e0c02205200d9013e6eef136eba572406231127e1ed8cbcc36548c14234fe68d163064d0169522102678b7a7d9dc0736691adc5b681808f1bbc981563ffa23e1c302d0a4006e7fa252103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae0400483045022100bb2721b111314619ca01a60ceba591ce63ee7b04901584eaa6194f14de421e080220209f5acfcb77f27c3659913590f2ae11f06d40947457faa6065248059349b445014730440220585ed3ebe3361cf7b77c5ca45074468dd71fd16f26c6ba2c0a5126c43dd6751a02207a894f15c968736063a77b62aa3a7e5e1188d893c1392d4f37ee92310d5538590169522102be72efeb6abfd486e92e30221f854983722118d820c90d5b2999b8623b27abee2103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", + "txid": "032cba72ac12735687826665632affe4270704422534de39b72fa14d07d3b83a" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json index 479ed749ed..b64b36ec68 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "37c6cb51a6133bfe7d83a3f91320f66cdc8896b97883171742a78c472e380618:1", + "id": "c3d8cd849b9f1939bea833ef14735be7c293bc7739241098ce386b968420aa4a:0", "address": "2NFCjioQkatHzS9wxXiURfvsQrHfWqT3yZj", "value": 100000000, "chain": 11, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "3f62add70f11b60e41a07a6e37aa90fa658cecda0f7cf2e4c4809303fa607ece:1", + "id": "7f0246d1beeb93f1990650508d4dbfb6a35ae4489abb5aa6724896efb4ad8c43:2", "address": "2NGYMtcbtpniMSu8aNkwsEvPDzMJMY2Bhbg", "value": 200000000, "chain": 11, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "21496a50e927ede95b5c0f393ada77849f3604a04df1859c38a8f1f49c8860d4:1", + "id": "6cc0e85f057729f4485b2051c3f2ed6dbc8141a6283cd3697f52f90d482947e3:3", "address": "2MyaBFSyvydN7Hjppt27vsDaEHHWbq2btjH", "value": 300000000, "chain": 11, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "010000000001031806382e478ca74217178378b99688dc6cf62013f9a3837dfe3b13a651cbc63701000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffffce7e60fa039380c4e4f27c0fdaec8c65fa90aa376e7aa0410eb6110fd7ad623f01000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffffd460889cf4f1a8389c85f14da004369f8477da3a390f5c5be9ed27e9506a492101000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87040047304402207d7ba8d6e5fb1eda7b94397705ad5257cafb9e0b702b7e4bc88aba4858d4803d022057cdbc06f332f56dfcb3df613ea6584294ae9440281bd62317f2e09f34a6aaed01473044022029c785016aa56f94b539aeceacad2d3a5c3b5c78043cb9d0807a1125340f3d5902200132fcd954b02cc27b6d5b21823f44c0124d3bd1235d3e996b16f885ab3d7094016952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0400483045022100bb342636a1bdb8502520793f94ab8aae62f3cc473a8191623760e0042fb06b7e022072fceefee1ae3aaa55ce5455710a7320a7e82a28f861e9c5a18c33fbaa6770f101483045022100a96800aa0ff3d50475ad55a8907e321d0c8f12c554c73cb2355716fee61573c202204ca6f94abef4937e8f6feac2182beb886cbc16e93cffdff272565d6ed2c736b50169522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae040047304402205e4b65ab3ca6c051d4d7fcffc513e45d4981834dc549689993a1dc899a90e14b02203f0424d3e663decfe3e81952962eb4d66e511472882002cc2dd8e27d8bdfd3a001473044022049c8acd48fc7f815712d8d982f9a6852e2aed767768e9538d7a878bfc37e2a230220728977e85a2cf2fb12f4b69afe3b5b7e53a7cbe6bf26b9e0733317a87df1e90f0169522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", - "txid": "3a0184766529b7e02c190ea3eb4f9120222432d4837d30f7020a3ac3d4438bf5" + "transactionHex": "010000000001034aaa2084966b38ce9810243977bc93c2e75b7314ef33a8be39199f9b84cdd8c300000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffff438cadb4ef964872a65abb9a48e45aa3b6bf4d8d50500699f193ebbed146027f02000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffffe34729480df9527f69d33c28a64181bc6dedf2c351205b48f42977055fe8c06c03000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100ac7a0a1f45645b1b550f3e44b1c4db2b6e41b702e30c6ac504407e240b305f6f02204a376cf87826c3ec0ea05ddafc05df3f1d9c62f7f213041346a222eec309fb980147304402205b2c335f1770f77bca9264687efd55eb074ca0ca176d5fc48c0d7cd4e7c85af1022027bacc464154faadf0ee6ad8bade5b188ea5afdc8f5262644e3c00e094e2c83c016952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0400463043021f753406a28aa9b4b47430cd0c0e4bd0d392e99ecf58e85ed7a1bd9c43d1c3e1022073bb1d8e33981210760b609c056862464b4a4cd74a9fb5510a57f4a88be7ec4801473044022010221b0c005bbd30a61eba6b4f4031fd4a4480de816134274e050043b31a08c6022038e14ce618fa997209db4e715a2f6385e8dce21e76c397d6182becc99af7b8620169522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae0400473044022018ceec1e4a56b15f767b3dcb6b0cda382e225ded7f450a732eb080bd0837101502203570e94107651c6a590b8681b7f8795a572cccec1395509960df8270ff94859c014730440220167f9a698cc6d7b4425226ef34f3db8197e701a284de0962108edb774fe7d45a0220171dfed54a1c56911388621589bdb77d6d67c5b5d06560e9e2322d5f32a523540169522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", + "txid": "c6865e1296858dbbcda5eed4de7b07cbf959802acd27ac26ca68120e76f521be" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..0099d9cf8b --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a501000000034aaa2084966b38ce9810243977bc93c2e75b7314ef33a8be39199f9b84cdd8c30000000000ffffffff438cadb4ef964872a65abb9a48e45aa3b6bf4d8d50500699f193ebbed146027f0200000000ffffffffe34729480df9527f69d33c28a64181bc6dedf2c351205b48f42977055fe8c06c0300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a823910001012000e1f5050000000017a914f0da56d9bb06310289d808a22ad68457a760ac038722020386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c548304502210097c2aa44c0f495846c9d3661235e7b6ce9fe8fd8337001156eff75a1ade70466022033608757fd1d2fbcc26d9379ab0ffc65728a9d3d1a0faed1ae13c49f97719468010103040100000001042200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae80001056952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae2206022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda414e15f6f2100000000000000000b00000000000000220602f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e227003148374ad8600000000000000000b0000000000000022060386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c51403a8239100000000000000000b000000000000000001012000c2eb0b0000000017a914ff888f939bb7911883d2a990b48b20449b0a3b6087220202787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd483045022100e8cb817725036eaa7ef25aa5b3f75038e3a85b80e3400dd4c49772392e88358702207da866724fb735ec1c11defe1148b87593465ddf669d2f8265dc3438ff381986010103040100000001042200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104010569522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae2206021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d148374ad8600000000000000000b00000002000000220602787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd1403a8239100000000000000000b00000002000000220603f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff14e15f6f2100000000000000000b000000020000000001012000a3e1110000000017a91445665f38d00633b9a2cb7f73c2fffb9dc6c95efa87220202a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d8473044022000d7b0ff8fbe7c0e977d24540f769406d66930a65e7821f165f33a6afcd25ce1022047de2d86c480fbc27a4d016f1b78a1922076be3a721397e10e23719f91c23133010103040100000001042200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06010569522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae220602a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d81403a8239100000000000000000b0000000300000022060391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f18148374ad8600000000000000000b00000003000000220603cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a3914e15f6f2100000000000000000b000000030000000000", + "coin": "tbtc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "54893c251e7356739826e0ee00127daddc52bb1280b9a808a73678f0d3b0e79a" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..9b351bdb53 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "c3d8cd849b9f1939bea833ef14735be7c293bc7739241098ce386b968420aa4a:0", + "address": "2NFCjioQkatHzS9wxXiURfvsQrHfWqT3yZj", + "value": 100000000, + "chain": 11, + "index": 0, + "valueString": "100000000" + }, + { + "id": "7f0246d1beeb93f1990650508d4dbfb6a35ae4489abb5aa6724896efb4ad8c43:2", + "address": "2NGYMtcbtpniMSu8aNkwsEvPDzMJMY2Bhbg", + "value": 200000000, + "chain": 11, + "index": 2, + "valueString": "200000000" + }, + { + "id": "6cc0e85f057729f4485b2051c3f2ed6dbc8141a6283cd3697f52f90d482947e3:3", + "address": "2MyaBFSyvydN7Hjppt27vsDaEHHWbq2btjH", + "value": 300000000, + "chain": 11, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "010000000001034aaa2084966b38ce9810243977bc93c2e75b7314ef33a8be39199f9b84cdd8c300000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffff438cadb4ef964872a65abb9a48e45aa3b6bf4d8d50500699f193ebbed146027f02000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffffe34729480df9527f69d33c28a64181bc6dedf2c351205b48f42977055fe8c06c03000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf870500473044022008f803a8276a5bb4c5d818e910e185f5212833eb808cd39bc305c15ec6345d2a0220323f437f6a7118f8c6b4a6c6b373b3018d3c4ed25b9149d9b64a6d1c6c0418e60100006952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae05004830450221009508613d107aa55ac2837a0c5f1425d48b55d30ed6a7f90945e40ca7680f3da2022039b5231227a7237d680bb0adba3aa4bfe4f355e1128bc181dbbcf07db3ca513301000069522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae050047304402206307490d80aa26421b98da586d95f1c81ec37ba5f0f7242a2775a601e249da3a02206f76f4b9d0eea59c81c98de0be090f8471fa5e58bbcd4e6cbcf2d6a0581828a601000069522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", + "coin": "tbtc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "709929d8ec6cba5831d4e1d494af9b0b575509182c502f325c192ff05b254f50" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService.json deleted file mode 100644 index a1203a1af4..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "37c6cb51a6133bfe7d83a3f91320f66cdc8896b97883171742a78c472e380618:1", - "address": "2NFCjioQkatHzS9wxXiURfvsQrHfWqT3yZj", - "value": 100000000, - "chain": 11, - "index": 0 - }, - { - "id": "3f62add70f11b60e41a07a6e37aa90fa658cecda0f7cf2e4c4809303fa607ece:1", - "address": "2NGYMtcbtpniMSu8aNkwsEvPDzMJMY2Bhbg", - "value": 200000000, - "chain": 11, - "index": 2 - }, - { - "id": "21496a50e927ede95b5c0f393ada77849f3604a04df1859c38a8f1f49c8860d4:1", - "address": "2MyaBFSyvydN7Hjppt27vsDaEHHWbq2btjH", - "value": 300000000, - "chain": 11, - "index": 3 - } - ], - "transactionHex": "010000000001031806382e478ca74217178378b99688dc6cf62013f9a3837dfe3b13a651cbc63701000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffffce7e60fa039380c4e4f27c0fdaec8c65fa90aa376e7aa0410eb6110fd7ad623f01000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffffd460889cf4f1a8389c85f14da004369f8477da3a390f5c5be9ed27e9506a492101000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf87050047304402205540eb2b7a0bc012b2f3ec05ca7ecbc70b359fcedf8f35ca5ff5b4d9ac50735b02201c070b79d28027c1250edea0b6a5a9e948ec33f605dca8515de85cec02fa32100100006952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0500483045022100bc7773dfd4fac47ab04a2f2f683943287db3b7bebfaeee36768600809ee87a8b02204e44ca5d5349e7415c3d8b10e7b9a906e65fe7ee30e154e02bfd2dcc136a2bbf01000069522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae05004830450221009886665dba74c9ccefab08b05450c3635cb4e9c6377f689e4231fb631c20445c02201f9480d7a613a236450783a69601b8359bbfcd66b2e35782b61deb67d051d42c01000069522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", - "coin": "tbtc", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "459ba598086fe6e0f7fcca86404e9042c8d8fa4b1d71903d9b3e7d013a10342f" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json index 4c5ae2e099..6beabbd31f 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "01000000031806382e478ca74217178378b99688dc6cf62013f9a3837dfe3b13a651cbc6370100000000ffffffffce7e60fa039380c4e4f27c0fdaec8c65fa90aa376e7aa0410eb6110fd7ad623f0100000000ffffffffd460889cf4f1a8389c85f14da004369f8477da3a390f5c5be9ed27e9506a49210100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "01000000034aaa2084966b38ce9810243977bc93c2e75b7314ef33a8be39199f9b84cdd8c30000000000ffffffff438cadb4ef964872a65abb9a48e45aa3b6bf4d8d50500699f193ebbed146027f0200000000ffffffffe34729480df9527f69d33c28a64181bc6dedf2c351205b48f42977055fe8c06c0300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "37c6cb51a6133bfe7d83a3f91320f66cdc8896b97883171742a78c472e380618:1", + "id": "c3d8cd849b9f1939bea833ef14735be7c293bc7739241098ce386b968420aa4a:0", "address": "2NFCjioQkatHzS9wxXiURfvsQrHfWqT3yZj", "value": 100000000, - "valueString": "100000000", "chain": 11, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "3f62add70f11b60e41a07a6e37aa90fa658cecda0f7cf2e4c4809303fa607ece:1", + "id": "7f0246d1beeb93f1990650508d4dbfb6a35ae4489abb5aa6724896efb4ad8c43:2", "address": "2NGYMtcbtpniMSu8aNkwsEvPDzMJMY2Bhbg", "value": 200000000, - "valueString": "200000000", "chain": 11, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "21496a50e927ede95b5c0f393ada77849f3604a04df1859c38a8f1f49c8860d4:1", + "id": "6cc0e85f057729f4485b2051c3f2ed6dbc8141a6283cd3697f52f90d482947e3:3", "address": "2MyaBFSyvydN7Hjppt27vsDaEHHWbq2btjH", "value": 300000000, - "valueString": "300000000", "chain": 11, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "tbtc", - "txid": "40140685fabaacaf00076fd2b8cc15b210aa32524909a7235c2aad8199d3bf97" -} + "txid": "f6e2efdf6719634a3ad9bce3a866f4540720c2601e89a87840ac2930f576d764" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2tr-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2tr-fullSignedRecovery-customUserKeyPath.json index ede3a058c5..74d9b716bc 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2tr-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2tr-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "69997795d7b7464aaa9f629a51fb5f28f9e48cd2ad1c11c611c4897c22720bb6:1", + "id": "bd94494ed5f5aeb83e54ad4cabf7fc5efefeb97b47f9aa8b79d87e104a2607ef:0", "address": "tb1pr6whavsvtjs9wukwxt9l8t8z4cj7erycw3aqg4szqja9q5prr77qnsvw6h", "value": 100000000, "chain": 31, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "c99969db33824edc718666be3d6aa4c15a70da48df427c78a054f43758aa9713:1", + "id": "eafa0aefe4062420a2a50573ac6830483b30ebe79fce8da58cf071c172ffdbd4:2", "address": "tb1p8vl64kccrqxl9smfd9x5dq6wyspqphqezdd4wzj0d8jgdnw4xjdskct3eu", "value": 200000000, "chain": 31, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "32c089a9a654ebfddeb74ead05bfe4eddda64c87b9a3c3870c2e2539bc4b375c:1", + "id": "ecaf045a0b2f7e1b667d5fe02f676ae788c24b4cebc3ff18ead8877ced13c7f2:3", "address": "tb1pd5enxvqupqlcz6tan6vkdgwrt2gxqdvx8xa75a86adtg6g60zhhqf8z6c7", "value": 300000000, "chain": 31, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "01000000000103b60b72227c89c411c6111cadd28ce4f9285ffb519a629faa4a46b7d7957799690100000000ffffffff1397aa5837f454a0787c42df48da705ac1a46a3dbe668671dc4e8233db6999c90100000000ffffffff5c374bbc39252e0c87c3a3b9874ca6ddede4bf05ad4eb7defdeb54a6a989c0320100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870440b616964528b1de7101ea1421ea9af76b303791dce30fb52144bf2b5c6b0ff83d05235676863f8c35221477c40f9f2423203dcda3a4cda244e0acbdfeac6c08bc40848d2b87c9547eda3d640178b8653cf4469fac5f53a23e33d7acbd961cb831b3ceb88a25aa14aa26cff8202911488927155b984a620bca15e53b3bf091218ab844204fa2a74016854082e063d260de5401518db0566d853b3cfddd03484dea94fc11ad20d4c149c56e614423aa7c55c91d71b9b30dd8e8af29b9e04fc003dcc8ed3c3bbfac61c0d73d45b503a6ccd7415d3aa9ce7ac2fed592b892861b5ccd38869d5b6a588cc85d503a0d622e4c5a538fc4061d41a4d76943880028022adf565a2b5e7df0d083a33b8977ba2126df5628953c9f7cf356897a4985c5d98f97c75a7dd8cfe6626004407908cc258e515fdd52415925866e6b1d71b899cd74ed5358a4f85d55261285095c974830326009d0656008ea3d8e4c57a6c57e8e002672e120c5888428ef0607407c8a3c6116d80ce63196e04b218f2c97a0f659aa77bf652af3c4be19a65fff4e57ba7d316cd7c0e8ae4f8c2ea9617653497c50171c994e3914c7bae2959d89b24420b3688855cfe427576031737562f66cadabf8e4b04e92ec6fa359edff6680b3f2ad20c74b86531a1df0f93372432e4c21524040a4037e3a828a1b7b99b391852345b8ac61c0e47e9d15b49db7b1487ff89d9c98507b957541d9b51bf2b3f2cd5b05b7722e98a3841eb28228fb5461898e0f0adf251d1c61c6645f686b803ecbcf1f4814f69515651bebba8bbfdf61248ec30583a2b4a9be8daa289fa828538bb7774d5186b404408582a75c86cbdeae56c911371087128e2af39c58aba803508da7d6b304ac3566d7ef364175b361a832598cd8838f6c590964840ad22da6b2b460fc9198bc05674045f28a3708e19dcf7122604b354ff36e3bd80860e3e74bc1e8c01cdc149860af8c0fdfb0d8adc8819ab015081ec6c448d416ae5cca389fbf10695b5fa412837d44208e827169785e0328bc78cf96ca17b2446fabc6f280729012332ee159b0772c66ad2085ed62cc40a0d24b22a0b0eae7b340c5873a73198856c41f5a21c7a56e0104c3ac61c04d62e502f2b741eb9a14720b5708e52a8ef0d9a21387b994307c227bc7a31965f1f4d5dbf948920c0f00c7a2f5cc74095649931ed3865afbcc46116199850510b611ac3446ef33a196bb71ce7090d1846940c792b6b55e73677db9a37fd807a900000000", - "txid": "d9cd41a2aac6fe311623f48dcdbdd04b66dee40264033493940b4d7093a95d68" + "transactionHex": "01000000000103ef07264a107ed8798baaf9477bb9fefe5efcf7ab4cad543eb8aef5d54e4994bd0000000000ffffffffd4dbff72c171f08ca58dce9fe7eb303b483068ac7305a5a2202406e4ef0afaea0200000000fffffffff2c713ed7c87d8ea18ffc3eb4c4bc288e76a672fe05f7d661b7e2f0b5a04afec0300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87044052dccbb98a041f88a7bb63d63b3468c862dd8247d7893837b9d343e4ba9be580b534b80d8ee30dbeb814f50179ae24494e9d0e87470313f2b42cadc6a06cd32d40b692e26f8fffb37af86284df6f3014ce0cd65dd25ee5026931394470be4ab60acd4e70dfe0d0c5d37d9f0db6bad07ad72f537a828947467a69d359a58a1fdff444204fa2a74016854082e063d260de5401518db0566d853b3cfddd03484dea94fc11ad20d4c149c56e614423aa7c55c91d71b9b30dd8e8af29b9e04fc003dcc8ed3c3bbfac61c0d73d45b503a6ccd7415d3aa9ce7ac2fed592b892861b5ccd38869d5b6a588cc85d503a0d622e4c5a538fc4061d41a4d76943880028022adf565a2b5e7df0d083a33b8977ba2126df5628953c9f7cf356897a4985c5d98f97c75a7dd8cfe662600440deb49e26d9aa7e0a04b8bcf224102454a72cdb39697d6efeef5fbabb99cf965ed4982ed3583db49b224dc62e8a628e062f4eec02ff6cc1162569646bb284d9e940b34d31572ec92b1c4b4e64e881a2301b3d468116dbbe53ddd83aa0a447254ce766f19af4051cf3c833166694863d1e40026ecbebfb1252ec637c273767f0c6b74420b3688855cfe427576031737562f66cadabf8e4b04e92ec6fa359edff6680b3f2ad20c74b86531a1df0f93372432e4c21524040a4037e3a828a1b7b99b391852345b8ac61c0e47e9d15b49db7b1487ff89d9c98507b957541d9b51bf2b3f2cd5b05b7722e98a3841eb28228fb5461898e0f0adf251d1c61c6645f686b803ecbcf1f4814f69515651bebba8bbfdf61248ec30583a2b4a9be8daa289fa828538bb7774d5186b4044008bd27d7225a8209060a10133aaf7de0cca256be396912627d9452a6043247a673b862cb06af3dacbc4e7bce1d74b9bc411c5f8922e13fc705e82cd2b18502a840cd72a1b7dbea3367ec18b26fb9f24a0c9ce76029c8cf38253ffe652fdabef40e7578a7ab54fbb98f75dd34c9c33ebc440baa1a99d3d52acaa9670e9f622e3ab344208e827169785e0328bc78cf96ca17b2446fabc6f280729012332ee159b0772c66ad2085ed62cc40a0d24b22a0b0eae7b340c5873a73198856c41f5a21c7a56e0104c3ac61c04d62e502f2b741eb9a14720b5708e52a8ef0d9a21387b994307c227bc7a31965f1f4d5dbf948920c0f00c7a2f5cc74095649931ed3865afbcc46116199850510b611ac3446ef33a196bb71ce7090d1846940c792b6b55e73677db9a37fd807a900000000", + "txid": "6df77f1daf826ad8d6727eed90433b402e0985792c7797ea4d6a81143e4bdb74" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2tr-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2tr-fullSignedRecovery.json index ae8b6a0fce..966782f0e9 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2tr-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2tr-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "19cd39e8d5366f9ac9c34c4ba0548f632bd4354945f25bfac4460e38756eab2c:1", + "id": "7ca8ba68a39451bae5a9a72f9cfacbcb66962f9a30b9aa6b926199f55848fd3f:0", "address": "tb1phk6lhy2tka2kxsx6hjd3c0z2h2e0rcrere9lr3kqsg0p6xxqe2pqa44eqg", "value": 100000000, "chain": 31, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "2c54d47f64f69f6707a86bdf7ba2a57d27fbc0e068b4e4250c38331fd30e97a3:1", + "id": "952d60c533de8911c2a3c8abf97c7609e501789360114ab2c30972432d661a2e:2", "address": "tb1punyhjurx29e2577msed4mzlu5py2snp6s2zwf2uux2ek5xk2ps6s3vkh6a", "value": 200000000, "chain": 31, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "3f7d14d4a648206270a9a389b2c1422a78d98d1bf34313d358aa9a05a04a53bf:1", + "id": "3560f8d5fb32b816e22ce229cf3c4cdd2e52ca4b765455e9cbab9ffe2b79f006:3", "address": "tb1pgrsntg8rd9qdjf06demu0423ysxftqddx9twyqy38fsg9qyj82xsxvny7v", "value": 300000000, "chain": 31, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "010000000001032cab6e75380e46c4fa5bf2454935d42b638f54a04b4cc3c99a6f36d5e839cd190100000000ffffffffa3970ed31f33380c25e4b468e0c0fb277da5a27bdf6ba807679ff6647fd4542c0100000000ffffffffbf534aa0059aaa58d31343f31b8dd9782a42c1b289a3a970622048a6d4147d3f0100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8704409ce7e173f75ecb123f485047f1273ad9bcdd6d05060043215055bc01f9511547b8ed2042c1578e374cc9c3d1694bd21be954f72196ad8bc2eb8ccaea65b121d840ad941e1868fed14a02ce673971ba492dd85c7ca3a2fb2582eb7a015f2e523fd627b624eab8811643733df194a78294a88370cc516d11de3c14beb97dae3bb69444201ce1b0b4d5d856368637b75808b138f042b335d23bb46d297f19b09000a8612ead20d4c149c56e614423aa7c55c91d71b9b30dd8e8af29b9e04fc003dcc8ed3c3bbfac61c0312363917d7b7b60c312a0a2fa761f885a76746769436ccd1ff042c9e9dc81495d503a0d622e4c5a538fc4061d41a4d76943880028022adf565a2b5e7df0d083d0cb8bfdb6c6e7213b38bca5978bd646de4a79848028a610ef92e4d7a302603d04406beab75c7b7941c43b4929507a1778c5d4edbee3228b938bcb747e905db820ab6ae27de7199e6084da57564af447912baed528fc0e154feda31b71d2dd2b4e3640a2c076a85cfd4a336361e48fe655c40bf13a8360291a84a94f196ef8aaafe62fefecfc3b026b49d36611e04a27ae22eabc105bab10bc513cadcd784f4301807944202e67678ed40b48ac431f0b7be9a788cf4b53482d675aa7e4eeef6970b8bd7651ad20c74b86531a1df0f93372432e4c21524040a4037e3a828a1b7b99b391852345b8ac61c0d6ac24e8540ba9c29208766c42027c2cdef71c45e8ec41cd0fb66abb9ab260bca3841eb28228fb5461898e0f0adf251d1c61c6645f686b803ecbcf1f4814f695eb36bcc16894bb28839cab2e681a2dc88418268eb7f7b1a9b44cff569e1ef85804400362be8ef2b5207e99dc597b9904ed5b5f6c36e5e112dc7182de82db1fd3adb5e99429c4d34235753f6c3c2bc91d4244853bb1e1f5e858bbb5936014f01a83aa40f506a892a6d8345fd3affb44faab0d3327f919661de88ea455a21830168a6dd96a3af2017787d7098bc9b7ac8c24ff2905bf2d283e0a0b70e0f28f56b12123694420145fc970734cac345d322ea533f7e82b57c9758e49e1426091e7d1bcbb86e0cfad2085ed62cc40a0d24b22a0b0eae7b340c5873a73198856c41f5a21c7a56e0104c3ac61c13d64a0b237496a7450abb3375815d47bf93907317fe23b2d5c48759cd35fc782f1f4d5dbf948920c0f00c7a2f5cc74095649931ed3865afbcc46116199850510e6e4a517245c10ab719832f5ede9671bcec0c03d80e3f1bbc1a861601465de7700000000", - "txid": "6d6f51237ab17dc4f6be624766dcba11545b2bc8c8d62f5af34fad388042e6fe" + "transactionHex": "010000000001033ffd4858f59961926baab9309a2f9666cbcbfa9c2fa7a9e5ba5194a368baa87c0000000000ffffffff2e1a662d437209c3b24a1160937801e509767cf9abc8a3c21189de33c5602d950200000000ffffffff06f0792bfe9fabcbe95554764bca522edd4c3ccf29e22ce216b832fbd5f860350300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870440dab3ce7de5a7ebba1ad528e7c8d63bb4e76027ed8f3afba43f6cd18706c9c88bd0a0d206e72cccc49c9f20886a3af9a7e0e8ff2c3ab3cfcca44823a17b2b38a8409f252a964b38bb8912e7ed6042497d42b2d98560b0c02fc04c1922f8feaa9e562fd418851cc61b8079e727cdb65831c15f6f61644665ce91709145883166539f44201ce1b0b4d5d856368637b75808b138f042b335d23bb46d297f19b09000a8612ead20d4c149c56e614423aa7c55c91d71b9b30dd8e8af29b9e04fc003dcc8ed3c3bbfac61c0312363917d7b7b60c312a0a2fa761f885a76746769436ccd1ff042c9e9dc81495d503a0d622e4c5a538fc4061d41a4d76943880028022adf565a2b5e7df0d083d0cb8bfdb6c6e7213b38bca5978bd646de4a79848028a610ef92e4d7a302603d0440b18803d002bcdeaa23a052ec7277621d82674176955cf58cd1bc550248da08e279b3c2cd98c0a1191827664565be4ef67686e61a08ff00c58ee31564ef25aaca40f84725946c9bc57e1ce5b2ede0333d767b26c83dd7cf18f3905122420a076f42c2630c5e7d39db1b7640944588ad13dd929bd78a2c722e32e270d8a14733fec244202e67678ed40b48ac431f0b7be9a788cf4b53482d675aa7e4eeef6970b8bd7651ad20c74b86531a1df0f93372432e4c21524040a4037e3a828a1b7b99b391852345b8ac61c0d6ac24e8540ba9c29208766c42027c2cdef71c45e8ec41cd0fb66abb9ab260bca3841eb28228fb5461898e0f0adf251d1c61c6645f686b803ecbcf1f4814f695eb36bcc16894bb28839cab2e681a2dc88418268eb7f7b1a9b44cff569e1ef8580440ad360516c463d126466908ffe34441a21b2bf2427fdff5d3084c4d37f771a2c732124f8f4820848a32d89adcd6541b4ae5efee978aef74339860b14bf9a1c832405206f5fff75494b4df5685d71bd90c91eba9fa5900a560c7d4b64c5862d8e37d50dc1dde666aa6b5ed0028cae6a2c83d2d92610940dbd7cf100faa86d122ee0d4420145fc970734cac345d322ea533f7e82b57c9758e49e1426091e7d1bcbb86e0cfad2085ed62cc40a0d24b22a0b0eae7b340c5873a73198856c41f5a21c7a56e0104c3ac61c13d64a0b237496a7450abb3375815d47bf93907317fe23b2d5c48759cd35fc782f1f4d5dbf948920c0f00c7a2f5cc74095649931ed3865afbcc46116199850510e6e4a517245c10ab719832f5ede9671bcec0c03d80e3f1bbc1a861601465de7700000000", + "txid": "7e2eb66172a9206d5fab6bde3b645506c7619de018956b1f7501bd50923917cc" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2tr-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2tr-keyRecoveryService-dai.json new file mode 100644 index 0000000000..6b4b8a7ebe --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2tr-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a501000000033ffd4858f59961926baab9309a2f9666cbcbfa9c2fa7a9e5ba5194a368baa87c0000000000ffffffff2e1a662d437209c3b24a1160937801e509767cf9abc8a3c21189de33c5602d950200000000ffffffff06f0792bfe9fabcbe95554764bca522edd4c3ccf29e22ce216b832fbd5f860350300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a823910001012b00e1f50500000000225120bdb5fb914bb7556340dabc9b1c3c4abab2f1e0791e4bf1c6c0821e1d18c0ca820103040000000041141ce1b0b4d5d856368637b75808b138f042b335d23bb46d297f19b09000a8612e325f5fbe6b49895c08cbf9e52d26d769779d386635c86cc26b0b4b1b91475e6c40a627ebf90cbfc6244bea1880059effae39ead9aa975b2a04a14538467dc206fe68c98863cfa31e695d8f8447d4ac2629a6980b74f61aeb4613d7b8687e0522b36215c0312363917d7b7b60c312a0a2fa761f885a76746769436ccd1ff042c9e9dc81495d503a0d622e4c5a538fc4061d41a4d76943880028022adf565a2b5e7df0d083d0cb8bfdb6c6e7213b38bca5978bd646de4a79848028a610ef92e4d7a302603d45201ce1b0b4d5d856368637b75808b138f042b335d23bb46d297f19b09000a8612ead20d4c149c56e614423aa7c55c91d71b9b30dd8e8af29b9e04fc003dcc8ed3c3bbfacc021161ce1b0b4d5d856368637b75808b138f042b335d23bb46d297f19b09000a8612e3501325f5fbe6b49895c08cbf9e52d26d769779d386635c86cc26b0b4b1b91475e6c03a8239100000000000000001f000000000000002116d4c149c56e614423aa7c55c91d71b9b30dd8e8af29b9e04fc003dcc8ed3c3bbf3501325f5fbe6b49895c08cbf9e52d26d769779d386635c86cc26b0b4b1b91475e6ce15f6f2100000000000000001f000000000000000001012b00c2eb0b00000000225120e4c97970665172aa7bdb865b5d8bfca048a84c3a8284e4ab9c32b36a1aca0c350103040000000041142e67678ed40b48ac431f0b7be9a788cf4b53482d675aa7e4eeef6970b8bd76513faf7daf92673d9d95496f14c10cb75430758aa69ba585cbbf8483280eea396940b291e5058577aed1b34d6d806d5b657928a691abad4fe89d197322c9bb7b66ed6513f29faf4c7e9af8ce8a7e7d81092ef2ccb3fe46311e9097d3eae812af05176215c0d6ac24e8540ba9c29208766c42027c2cdef71c45e8ec41cd0fb66abb9ab260bca3841eb28228fb5461898e0f0adf251d1c61c6645f686b803ecbcf1f4814f695eb36bcc16894bb28839cab2e681a2dc88418268eb7f7b1a9b44cff569e1ef85845202e67678ed40b48ac431f0b7be9a788cf4b53482d675aa7e4eeef6970b8bd7651ad20c74b86531a1df0f93372432e4c21524040a4037e3a828a1b7b99b391852345b8acc021162e67678ed40b48ac431f0b7be9a788cf4b53482d675aa7e4eeef6970b8bd765135013faf7daf92673d9d95496f14c10cb75430758aa69ba585cbbf8483280eea396903a8239100000000000000001f000000020000002116c74b86531a1df0f93372432e4c21524040a4037e3a828a1b7b99b391852345b835013faf7daf92673d9d95496f14c10cb75430758aa69ba585cbbf8483280eea3969e15f6f2100000000000000001f000000020000000001012b00a3e1110000000022512040e135a0e36940d925fa6e77c7d551240c9581ad3156e200913a608280923a8d010304000000004114145fc970734cac345d322ea533f7e82b57c9758e49e1426091e7d1bcbb86e0cf1d85570e9fcc236c931721342e3b6757f122d9e001e83c1706d59da175dd73264083c8f4674c3f940a7eaef84ebb6065ea3c3e7681f246ea8998c737144e4467dd3e78ef340ee73ee13532df2d2704375796dae61613d9341cd3328fcf1ba5295b6215c13d64a0b237496a7450abb3375815d47bf93907317fe23b2d5c48759cd35fc782f1f4d5dbf948920c0f00c7a2f5cc74095649931ed3865afbcc46116199850510e6e4a517245c10ab719832f5ede9671bcec0c03d80e3f1bbc1a861601465de774520145fc970734cac345d322ea533f7e82b57c9758e49e1426091e7d1bcbb86e0cfad2085ed62cc40a0d24b22a0b0eae7b340c5873a73198856c41f5a21c7a56e0104c3acc02116145fc970734cac345d322ea533f7e82b57c9758e49e1426091e7d1bcbb86e0cf35011d85570e9fcc236c931721342e3b6757f122d9e001e83c1706d59da175dd732603a8239100000000000000001f00000003000000211685ed62cc40a0d24b22a0b0eae7b340c5873a73198856c41f5a21c7a56e0104c335011d85570e9fcc236c931721342e3b6757f122d9e001e83c1706d59da175dd7326e15f6f2100000000000000001f000000030000000000", + "coin": "tbtc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "22656c97134b567b952da548a5ea1b658e0f4c1715ff8171d1f256e3960152ac" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2tr-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2tr-keyRecoveryService.json deleted file mode 100644 index 73d5f1deff..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2tr-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "19cd39e8d5366f9ac9c34c4ba0548f632bd4354945f25bfac4460e38756eab2c:1", - "address": "tb1phk6lhy2tka2kxsx6hjd3c0z2h2e0rcrere9lr3kqsg0p6xxqe2pqa44eqg", - "value": 100000000, - "chain": 31, - "index": 0 - }, - { - "id": "2c54d47f64f69f6707a86bdf7ba2a57d27fbc0e068b4e4250c38331fd30e97a3:1", - "address": "tb1punyhjurx29e2577msed4mzlu5py2snp6s2zwf2uux2ek5xk2ps6s3vkh6a", - "value": 200000000, - "chain": 31, - "index": 2 - }, - { - "id": "3f7d14d4a648206270a9a389b2c1422a78d98d1bf34313d358aa9a05a04a53bf:1", - "address": "tb1pgrsntg8rd9qdjf06demu0423ysxftqddx9twyqy38fsg9qyj82xsxvny7v", - "value": 300000000, - "chain": 31, - "index": 3 - } - ], - "transactionHex": "010000000001032cab6e75380e46c4fa5bf2454935d42b638f54a04b4cc3c99a6f36d5e839cd190100000000ffffffffa3970ed31f33380c25e4b468e0c0fb277da5a27bdf6ba807679ff6647fd4542c0100000000ffffffffbf534aa0059aaa58d31343f31b8dd9782a42c1b289a3a970622048a6d4147d3f0100000000ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8704004040d6e385d31ce231b2188078f28b9731eee31198fee89f8ffbc2c5290e18cdc0ebccc67d47fcf35b9054e79e6eeb3674fb0b61d8eb0b61e91a493a6243123a9944201ce1b0b4d5d856368637b75808b138f042b335d23bb46d297f19b09000a8612ead20d4c149c56e614423aa7c55c91d71b9b30dd8e8af29b9e04fc003dcc8ed3c3bbfac61c0312363917d7b7b60c312a0a2fa761f885a76746769436ccd1ff042c9e9dc81495d503a0d622e4c5a538fc4061d41a4d76943880028022adf565a2b5e7df0d083d0cb8bfdb6c6e7213b38bca5978bd646de4a79848028a610ef92e4d7a302603d0400406d5cadf59c21cd3750e0affb1e487aea13db946182c2ef2afcec682b656006e2f8f92da378734af9df69b62c6a0babad6fd6a892b6bc83a97480726eb36f825d44202e67678ed40b48ac431f0b7be9a788cf4b53482d675aa7e4eeef6970b8bd7651ad20c74b86531a1df0f93372432e4c21524040a4037e3a828a1b7b99b391852345b8ac61c0d6ac24e8540ba9c29208766c42027c2cdef71c45e8ec41cd0fb66abb9ab260bca3841eb28228fb5461898e0f0adf251d1c61c6645f686b803ecbcf1f4814f695eb36bcc16894bb28839cab2e681a2dc88418268eb7f7b1a9b44cff569e1ef858040040f9a5482152e5f973436637f712cfd0326b63644220dd32cda3ce580aa3bb89ca4aba8914cc01f2ebf619f91aca0209893750a78560b6213cdf08557f3fd608374420145fc970734cac345d322ea533f7e82b57c9758e49e1426091e7d1bcbb86e0cfad2085ed62cc40a0d24b22a0b0eae7b340c5873a73198856c41f5a21c7a56e0104c3ac61c13d64a0b237496a7450abb3375815d47bf93907317fe23b2d5c48759cd35fc782f1f4d5dbf948920c0f00c7a2f5cc74095649931ed3865afbcc46116199850510e6e4a517245c10ab719832f5ede9671bcec0c03d80e3f1bbc1a861601465de7700000000", - "coin": "tbtc", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "a8a90ea5b5d981f211ed0d0e58864d344385395f30476813c3825d9cc69d21cd" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2tr-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2tr-unsignedRecovery.json index 38d84885db..e9dd44f3f7 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2tr-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2tr-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "01000000032cab6e75380e46c4fa5bf2454935d42b638f54a04b4cc3c99a6f36d5e839cd190100000000ffffffffa3970ed31f33380c25e4b468e0c0fb277da5a27bdf6ba807679ff6647fd4542c0100000000ffffffffbf534aa0059aaa58d31343f31b8dd9782a42c1b289a3a970622048a6d4147d3f0100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "01000000033ffd4858f59961926baab9309a2f9666cbcbfa9c2fa7a9e5ba5194a368baa87c0000000000ffffffff2e1a662d437209c3b24a1160937801e509767cf9abc8a3c21189de33c5602d950200000000ffffffff06f0792bfe9fabcbe95554764bca522edd4c3ccf29e22ce216b832fbd5f860350300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "19cd39e8d5366f9ac9c34c4ba0548f632bd4354945f25bfac4460e38756eab2c:1", + "id": "7ca8ba68a39451bae5a9a72f9cfacbcb66962f9a30b9aa6b926199f55848fd3f:0", "address": "tb1phk6lhy2tka2kxsx6hjd3c0z2h2e0rcrere9lr3kqsg0p6xxqe2pqa44eqg", "value": 100000000, - "valueString": "100000000", "chain": 31, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "2c54d47f64f69f6707a86bdf7ba2a57d27fbc0e068b4e4250c38331fd30e97a3:1", + "id": "952d60c533de8911c2a3c8abf97c7609e501789360114ab2c30972432d661a2e:2", "address": "tb1punyhjurx29e2577msed4mzlu5py2snp6s2zwf2uux2ek5xk2ps6s3vkh6a", "value": 200000000, - "valueString": "200000000", "chain": 31, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "3f7d14d4a648206270a9a389b2c1422a78d98d1bf34313d358aa9a05a04a53bf:1", + "id": "3560f8d5fb32b816e22ce229cf3c4cdd2e52ca4b765455e9cbab9ffe2b79f006:3", "address": "tb1pgrsntg8rd9qdjf06demu0423ysxftqddx9twyqy38fsg9qyj82xsxvny7v", "value": 300000000, - "valueString": "300000000", "chain": 31, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "tbtc", - "txid": "6d6f51237ab17dc4f6be624766dcba11545b2bc8c8d62f5af34fad388042e6fe" -} + "txid": "7e2eb66172a9206d5fab6bde3b645506c7619de018956b1f7501bd50923917cc" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2trMusig2-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2trMusig2-fullSignedRecovery-customUserKeyPath.json new file mode 100644 index 0000000000..312cecc356 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2trMusig2-fullSignedRecovery-customUserKeyPath.json @@ -0,0 +1,30 @@ +{ + "inputs": [ + { + "id": "e5a626c354aeeb03cdff8e686228abedefa8b38669fce2a53c69857b3be50de1:0", + "address": "tb1pnchn7al5kjsdwjj6elzdcrx73gxeypv0c6dutqaznny7rkfj6pusnxup5q", + "value": 100000000, + "chain": 41, + "index": 0, + "valueString": "100000000" + }, + { + "id": "788e76b93f024c4cf633ea2395aaa1f6ecdb761716f3870edb91e7705e060ab1:2", + "address": "tb1pacvp0j2zdxvygk6kg95ku0gn6w42wr9l6pfc6vhuect4jz90t0wq3d925v", + "value": 200000000, + "chain": 41, + "index": 2, + "valueString": "200000000" + }, + { + "id": "48315cd4735d4528a3cb6d87444506f91000b6b078761cedbda604c93a0bb792:3", + "address": "tb1p3pvmz34le42zf8mk4hw84c42fazv9kmk94l7wtjydjp6wdhjcj4q6r2pzs", + "value": 300000000, + "chain": 41, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "01000000000103e10de53b7b85693ca5e2fc6986b3a8efedab2862688effcd03ebae54c326a6e50000000000ffffffffb10a065e70e791db0e87f3161776dbecf6a1aa9523ea33f64c4c023fb9768e780200000000ffffffff92b70b3ac904a6bded1c7678b0b60010f9064544876dcba328455d73d45c31480300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870440e6792fe6231ee0eb3d633016b943cf323b2cb3de75887166e70ea606d1987995c6537ca41c7bcdd920699e77d5301f59c49a7a2d7849860442f29cf1cfa7aff5407667495bc90c5f58e77db0e28c94dc27a98315734e85f8079acfa649982ed5c71bb0d59839db314dadd76909eac777d62a36729acca15ea34261f5f6f1f37d0e4420fb35352c31bb6136fcc9f14b29775d06fdbe89f67339ffc8583d9cf0e4f4b95dad20c8c3073f14d56926710445b3bfa3cb3c0ea2c223d0b5e2bfbc06a0ca7f8503bcac41c1005c62da63b9d8d8bcf1207877cfd4182f3f7a040402ee1e1ecfb8ca6d73baa3fb116a4ad3a03e27bcf2ac8570a8c9b000d337087019aed731c95178481b4a7c0440017b02974d0559a9cd7c17eab259c3515865980d996c147e9b08936ee0ad822084cd2c311841c3ce7375d3c06d1b4d30f3878fe52a82594cdb7783c07136eecc40d7176e97f98d1dcdaf3a4b5f9341ccc664fedefa24e912c2ec88ef5daa0630639d8e7f6861c42701cae63d8a291f3d3fcc88943560d681dcd371fe521a8acd63442023e24dfc0a397fc61cb26ea857b9c844d54c00d406bec924ecf73675f713d2dcad20cdc13238cbc54d045ddf3d82e5eb9e34c8987ed636a939fc25721fd2f1321388ac41c1fe7ce647d153bd84f07b7e5211f84bb206fab6da765983177ea2e9ff398c917c96c2d14e98bcbcfa3e33accbf4efcbf2e46a5d8bc1fe8bf79a8ed7d4b20ce41e04401997d16396a0240c0a6afd8a7fa9b35ede4369da808a327aaf20c7f7f3528c33a3aa6f60876a97e1e8a4e50b6e86b661acf71902a8dd07ad8c4ac84013e5b32b40fe3461f35beace70657f8fad15019c63f372ca63c14886f0afbd04e99d53219c14224c9f36ba6bb82e7b27f7a7e64121bf7fa9d72501df099e81e777bc3cfc854420db7359656a56882cd0785d354076d104fb07fb1c56e23beaceafde7efd1f0bf5ad2023df6e8bc726a54706c9c56b0bfccd04e7598e56a6d56984ac93023419f49db5ac41c1964d9e42931aa6d0b2fa62a49dc05bbf426a37a70fe162f885a4d3ba9e3cbaae46bc77ba410e7146abe9d508b0ea489d8498206ff9fae9348c656a58b0a2308e00000000", + "txid": "5422f2cce42ade7f0a6c216850cfc1c18e8d7fdcc15158dcdf1f6c1268c14c48" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2trMusig2-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2trMusig2-fullSignedRecovery.json new file mode 100644 index 0000000000..4467b387c6 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2trMusig2-fullSignedRecovery.json @@ -0,0 +1,30 @@ +{ + "inputs": [ + { + "id": "d674d0e6a19688b98626853ef1dc181f1db5a45eb1a02e4a459caaf00fb3a860:0", + "address": "tb1p8qdlmtsw6ehy9u4w8lpw4xw6shg7jknu7fhrlaclpdaqtfp0puesgpm4xs", + "value": 100000000, + "chain": 41, + "index": 0, + "valueString": "100000000" + }, + { + "id": "1cb91131c03fc39b025274d40a6617246e8c326f43cee77a1f614c3c81ee2315:2", + "address": "tb1phc2yazexcn6rylkhqsrlcl96t0kwk5qnuvdz77m56j9wpfpgz8hqk37lzx", + "value": 200000000, + "chain": 41, + "index": 2, + "valueString": "200000000" + }, + { + "id": "598de04498cf9dd911dafb02878c099baa4849f7b285e57d9e838c502547854e:3", + "address": "tb1pyk4ezmq0gyez0sxjd74ztwy54870cq9dh6drlzrmmsu6k7wtq3kq8ggwqh", + "value": 300000000, + "chain": 41, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "0100000000010360a8b30ff0aa9c454a2ea0b15ea4b51d1f18dcf13e852686b98896a1e6d074d60000000000ffffffff1523ee813c4c611f7ae7ce436f328c6e2417660ad47452029bc33fc03111b91c0200000000ffffffff4e854725508c839e7de585b2f74948aa9b098c8702fbda11d99dcf9844e08d590300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8704401d18752bdb055f3906704b825b3042961380881e795377ac254b0e71e7261b00ed86350f74576584ce543286e759064c8662482fbe5b3d75352048988274fbdd406ee6afffb567437d127b4d331519a9896d746434ab067553bedfa8fb0f9d1dd1744f372c3ba1a46b43e79a9211c02da92ddccf49e253f6ab38787aa5c130da52442099733a9b244ac527f0d79b340c0aa5aed43fcde952b51bf49d2da6dbd7e31b80ad20c8c3073f14d56926710445b3bfa3cb3c0ea2c223d0b5e2bfbc06a0ca7f8503bcac41c0e807c1c6edff45083a9d0d5f3771b7c02c3a015413f51f862efdf113f63d1d33fb116a4ad3a03e27bcf2ac8570a8c9b000d337087019aed731c95178481b4a7c0440716651336ee507726b0455e5b1c1a352fdf998abb37ba32ed4c7e998f27769d331679d988db040c40d0ad1f655e0fe2d289326c3e91d879ffa5d342cbca918a34050626e648407a6c8df3434fccff6024179e7cca4759a9f58308157de84acfae150abdabb64f99fc252196251e485650e39bb3cd9e11d997d0833caa6d4881e7e44204ea87845bafeb6f623523a5efba3d23ea2a05e79dacd3c7e3c1cd44f5e8ac842ad20cdc13238cbc54d045ddf3d82e5eb9e34c8987ed636a939fc25721fd2f1321388ac41c18068d228c90640ffad1897166bacdad48fab80aa74421c935f6d7291898f104496c2d14e98bcbcfa3e33accbf4efcbf2e46a5d8bc1fe8bf79a8ed7d4b20ce41e044044aa522c555ff76a711e3aa1eac75066dda636841301a90b87c678ef35171d2fb3f012fa1e1082a500d204d3edcfa2282848f66844433ef23dee889d6d4ca4d0400858808e853b21525c06492d36452d21bffa72d74f9d3ec81d8ab3db5dd50afb9caa467ed6a6a77b61062d3e43e2d03d623772b2b37e2ee6b0a78690c380749644205431da6074ad73f81cca3f94f6162efff682bd3d308433aabfea355ba72701b8ad2023df6e8bc726a54706c9c56b0bfccd04e7598e56a6d56984ac93023419f49db5ac41c003928cb5445eb076cfbbbf062f32fe35bfcfc4ec98ed9a833b7beae6e8108cf946bc77ba410e7146abe9d508b0ea489d8498206ff9fae9348c656a58b0a2308e00000000", + "txid": "c21af54a5e1057542e1d63f1bdb6bdc9f5864e03d9e9344ad4868def5676ec82" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2trMusig2-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2trMusig2-keyRecoveryService-dai.json new file mode 100644 index 0000000000..a115e33f5d --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2trMusig2-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a5010000000360a8b30ff0aa9c454a2ea0b15ea4b51d1f18dcf13e852686b98896a1e6d074d60000000000ffffffff1523ee813c4c611f7ae7ce436f328c6e2417660ad47452029bc33fc03111b91c0200000000ffffffff4e854725508c839e7de585b2f74948aa9b098c8702fbda11d99dcf9844e08d590300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a823910001012b00e1f50500000000225120381bfdae0ed66e42f2ae3fc2ea99da85d1e95a7cf26e3ff71f0b7a05a42f0f3301030400000000411499733a9b244ac527f0d79b340c0aa5aed43fcde952b51bf49d2da6dbd7e31b80fa2f5b1ed749cb60910d218c15ca21def9de5e29f61b117840db5237c37653ff40a6d5b4b8d2393dda2ed0b4c6f5c59506952aa95b138d8efc42312a603bddbdfcf03892320ac2c7d191815ad819add14aa5336c06033730a76445979aa394603c4215c0e807c1c6edff45083a9d0d5f3771b7c02c3a015413f51f862efdf113f63d1d33fb116a4ad3a03e27bcf2ac8570a8c9b000d337087019aed731c95178481b4a7c452099733a9b244ac527f0d79b340c0aa5aed43fcde952b51bf49d2da6dbd7e31b80ad20c8c3073f14d56926710445b3bfa3cb3c0ea2c223d0b5e2bfbc06a0ca7f8503bcacc0211699733a9b244ac527f0d79b340c0aa5aed43fcde952b51bf49d2da6dbd7e31b803501fa2f5b1ed749cb60910d218c15ca21def9de5e29f61b117840db5237c37653ff03a82391000000000000000029000000000000002116c8c3073f14d56926710445b3bfa3cb3c0ea2c223d0b5e2bfbc06a0ca7f8503bc3501fa2f5b1ed749cb60910d218c15ca21def9de5e29f61b117840db5237c37653ffe15f6f21000000000000000029000000000000000001012b00c2eb0b00000000225120be144e8b26c4f4327ed70407fc7cba5beceb5013e31a2f7b74d48ae0a42811ee0103040000000041144ea87845bafeb6f623523a5efba3d23ea2a05e79dacd3c7e3c1cd44f5e8ac8429e64d800b25cc65ed7a44c4e8168c962692ce051da036106149ee5e240509dbe40307242bb4fc03cebe50e8f0296010a927bc96facabc27001d71cab71ee10db9862b79498b6e6eeef2b6eaa7919c6201c8131c883f677e259ceae607e0a0837ac4215c18068d228c90640ffad1897166bacdad48fab80aa74421c935f6d7291898f104496c2d14e98bcbcfa3e33accbf4efcbf2e46a5d8bc1fe8bf79a8ed7d4b20ce41e45204ea87845bafeb6f623523a5efba3d23ea2a05e79dacd3c7e3c1cd44f5e8ac842ad20cdc13238cbc54d045ddf3d82e5eb9e34c8987ed636a939fc25721fd2f1321388acc021164ea87845bafeb6f623523a5efba3d23ea2a05e79dacd3c7e3c1cd44f5e8ac84235019e64d800b25cc65ed7a44c4e8168c962692ce051da036106149ee5e240509dbe03a82391000000000000000029000000020000002116cdc13238cbc54d045ddf3d82e5eb9e34c8987ed636a939fc25721fd2f132138835019e64d800b25cc65ed7a44c4e8168c962692ce051da036106149ee5e240509dbee15f6f21000000000000000029000000020000000001012b00a3e1110000000022512025ab916c0f413227c0d26faa25b894a9fcfc00adbe9a3f887bdc39ab79cb046c0103040000000041145431da6074ad73f81cca3f94f6162efff682bd3d308433aabfea355ba72701b8bef937bd526108627a5b8f396bac4b521f5917b087209a6ac56107dabb92583240f101cb3cbc2ea2af47c17bf5ee598bb949799af630059c47f23a77458acac3eb65139e87ce7008e150eb0d13b02cec9ec5bf8e3f16abe7d25dc2be71b5f838194215c003928cb5445eb076cfbbbf062f32fe35bfcfc4ec98ed9a833b7beae6e8108cf946bc77ba410e7146abe9d508b0ea489d8498206ff9fae9348c656a58b0a2308e45205431da6074ad73f81cca3f94f6162efff682bd3d308433aabfea355ba72701b8ad2023df6e8bc726a54706c9c56b0bfccd04e7598e56a6d56984ac93023419f49db5acc0211623df6e8bc726a54706c9c56b0bfccd04e7598e56a6d56984ac93023419f49db53501bef937bd526108627a5b8f396bac4b521f5917b087209a6ac56107dabb925832e15f6f210000000000000000290000000300000021165431da6074ad73f81cca3f94f6162efff682bd3d308433aabfea355ba72701b83501bef937bd526108627a5b8f396bac4b521f5917b087209a6ac56107dabb92583203a82391000000000000000029000000030000000000", + "coin": "tbtc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "793c6702f0d6e1681186a4d66ee447a36a4afdc2ec3e71abddfa2e4d47662d6b" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2trMusig2-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2trMusig2-unsignedRecovery.json new file mode 100644 index 0000000000..895a2df8a8 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2trMusig2-unsignedRecovery.json @@ -0,0 +1,34 @@ +{ + "txHex": "010000000360a8b30ff0aa9c454a2ea0b15ea4b51d1f18dcf13e852686b98896a1e6d074d60000000000ffffffff1523ee813c4c611f7ae7ce436f328c6e2417660ad47452029bc33fc03111b91c0200000000ffffffff4e854725508c839e7de585b2f74948aa9b098c8702fbda11d99dcf9844e08d590300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txInfo": { + "unspents": [ + { + "id": "d674d0e6a19688b98626853ef1dc181f1db5a45eb1a02e4a459caaf00fb3a860:0", + "address": "tb1p8qdlmtsw6ehy9u4w8lpw4xw6shg7jknu7fhrlaclpdaqtfp0puesgpm4xs", + "value": 100000000, + "chain": 41, + "index": 0, + "valueString": "100000000" + }, + { + "id": "1cb91131c03fc39b025274d40a6617246e8c326f43cee77a1f614c3c81ee2315:2", + "address": "tb1phc2yazexcn6rylkhqsrlcl96t0kwk5qnuvdz77m56j9wpfpgz8hqk37lzx", + "value": 200000000, + "chain": 41, + "index": 2, + "valueString": "200000000" + }, + { + "id": "598de04498cf9dd911dafb02878c099baa4849f7b285e57d9e838c502547854e:3", + "address": "tb1pyk4ezmq0gyez0sxjd74ztwy54870cq9dh6drlzrmmsu6k7wtq3kq8ggwqh", + "value": 300000000, + "chain": 41, + "index": 3, + "valueString": "300000000" + } + ] + }, + "feeInfo": {}, + "coin": "tbtc", + "txid": "c21af54a5e1057542e1d63f1bdb6bdc9f5864e03d9e9344ad4868def5676ec82" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json index 4d828c710f..f784150f68 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "378c0d377fe2cc07a2e100e0ef786e501f764a50b875c09ccc74f5e0c3d4298a:1", + "id": "175dbc7fab42ec55fd2a8d7062f30d973315b9d4c175c65173117f438e79a50c:0", "address": "tb1qdneyaj2s0wxu2egqac347kjsvxmcgyqpj7xkpshsa3tcghhs3ecqtqxmyt", "value": 100000000, "chain": 21, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "b797a0190f7762f748ab920244858fd889b3b750085fafd9ea45812fe0fce05e:1", + "id": "ece5336891c75f99c4b26be522c903483b6fe01d989a9a3e2179d418bc4fff33:2", "address": "tb1q8lxf2fq0yhzd2ytndhcc4432yjugacfxgxrha69xsjhctuztlcasa9v29x", "value": 200000000, "chain": 21, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "6e392c1f1805d1dd62baafd9c4876adb30d50f68bd271c2e93d8073ea1b8de0d:1", + "id": "fe88d5200cdf96648e5c5c886760deb41ddcd7e1475e9fe8fd7e7448b47d39b4:3", "address": "tb1q55jrprtwpfvu3jaq729sq0rraynctezqtpdtgrc5e5v60ssptwaqmnvcmx", "value": 300000000, "chain": 21, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "010000000001038a29d4c3e0f574cc9cc075b8504a761f506e78efe000e1a207cce27f370d8c370100000000ffffffff5ee0fce02f8145ead9af5f0850b7b389d88f85440292ab48f762770f19a097b70100000000ffffffff0ddeb8a13e07d8932e1c27bd680fd530db6a87c4d9afba62ddd105181f2c396e0100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100a239889ed92b33493cd0b8226d9e1ff9bf148fc062a5e5b2e491062dbb3c3f26022035d9bf09dc995487fffd0baafa7697d343b4d0abca817688b7f9707761b3380c014630430220722b4197a25dbfda22c6021a8ea7939904577932b20d7979a58ab1cfc9558ac0021f15851a6f35e994940c4554d1639b2da1a11237a981bdacb33215ae3a751e2d0169522102e7386fc3b8f8f334c51add4a7c325c804896d60fd3fa33f3206b6f0143081865210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae04004830450221009a758a42c637f3ed0995596db64b8f22642c043e5f95afee3bafe60c58349eda0220420e1086ca1cd00493cd853969a4003ce92093cfc8314ab76076483f392e3a4101473044022016a58647af91a6fd89c909155ba6d03c39948faae054675948a3df607c54d62e0220014225d1119bf4543b915a8a1958191576040504a808138f4985341f3345ac6f016952210262e2d7db076a14af58f92fbc591d870606afc4362f8deead03425bf16de332fe2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae0400483045022100dd0cfc7dc981775645e215374314675a5de6f040fa7480dfd302ef506f7bfa6d0220320b43ab2eb0204dd11893b5f40eabe2ed6b498edccb9c669df854c37d11c98501483045022100a8778b073675108d69d525baee79e166f023dd9e85c8b4a00be407008166fbd002204ec10eb620c76aec44f69e544e4c465aed615e754d851bd581017b294bd5f92f0169522102b107ccb600ca89ca074c0b6c95e48bfff7f2dc9d33e4bdf9a5c929053f4a87c921032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", - "txid": "3b76f6d2e1f89bfefa284c6fb3a6bb66b82c2aec0500a933b70ea1a05e537ac2" + "transactionHex": "010000000001030ca5798e437f117351c675c1d4b91533970df362708d2afd55ec42ab7fbc5d170000000000ffffffff33ff4fbc18d479213e9a9a981de06f3b4803c922e56bb2c4995fc7916833e5ec0200000000ffffffffb4397db448747efde89f5e47e1d7dc1db4de6067885c5c8e6496df0c20d588fe0300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100fab04bb98db89733b6f685333b9b3ef4bbef840d08dad44e4d57b0b4a96ba96702207c202dc5c8eb7eff9c36d17d87e03f1cdd5d4069000007a060f2e7ffaa23643501483045022100e57e55249c38e9545861bac9fd50ea9fb8242c0a200eb8427e58e35c892171890220719e39f9d3374dc8142c970c06bb5998a70121a7efa4460bc794b4f450d8a23d0169522102e7386fc3b8f8f334c51add4a7c325c804896d60fd3fa33f3206b6f0143081865210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae04004730440220040e4e229b845e795a0e6d0ef81d06fedf9e6d8ce03472f6c259f8d9dd4ada030220315c3b83c85aad471566c4d8aeca11a32d11bc8aa43f293fb20e65633e75376b01473044022047b6cc1dc6e2f90d44dde327c8db8961091f9bbb14c78b71cca6e3513e24bf20022016cdc94f0e75ffeb3d8c1446ecf71a32e0b9f7815ee88e53da26fc9049df0518016952210262e2d7db076a14af58f92fbc591d870606afc4362f8deead03425bf16de332fe2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae0400483045022100c7ed2926d59747e64853622796b16c0a7a2ffebfbb7830b725d7d71cf707ea8502203c83136368afb8e5ffbb0f85de1f0025f736e24b0303894e7903f1a34544421b014730440220058a7a96110d0135fefe0466b4fb03c23eeacd4a1abb1c77b19859c06e6dbff30220481e39b7413333eb8ab4c4a0b75a2de245b026b14ad093927f57b866d138d3860169522102b107ccb600ca89ca074c0b6c95e48bfff7f2dc9d33e4bdf9a5c929053f4a87c921032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", + "txid": "2243a0dc3d63f94bca937404d1a2c49fc0703f6054122d4e518b0f36a05bdc67" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json index 5524a38519..75feb28e8d 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "2acd5a21e467404c8fcf1b377221ec43192251193f49ccff456fad549e2720cb:1", + "id": "d3c756572affce5f37fc6c556f3c1113be063a7c61df6ff8b3008848ea9bfdb1:0", "address": "tb1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gs37spuh", "value": 100000000, "chain": 21, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "3dbcc267fd848a5f7a28dd1401506a11ac7f060522d554061c5e38b311614d13:1", + "id": "9d21659b6e9ef5b353b7f41b590d10508b999b46392b60136e0614e3e1db8368:2", "address": "tb1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2utsrt6dc5", "value": 200000000, "chain": 21, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "22ef204a5823ec237b0ba181170f5283b13535840381afdd25bf844dc9d9fba7:1", + "id": "552e492060fd183e0d6fb8be789bcd51c92248c77fdc622e2a318d946361e195:3", "address": "tb1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0sac2xhy", "value": 300000000, "chain": 21, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "01000000000103cb20279e54ad6f45ffcc493f1951221943ec2172371bcf8f4c4067e4215acd2a0100000000ffffffff134d6111b3385e1c0654d52205067fac116a500114dd287a5f8a84fd67c2bc3d0100000000ffffffffa7fbd9c94d84bf25ddaf8103843535b183520f1781a10b7b23ec23584a20ef220100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87040047304402203d33d541df1dc1fe4a7e35c8dbe18a8fb23030ffaf4185710050f46c4a0d8d4c02202ae1f69128b2b4766cca3cafbbfde44e34953c686b871d1f9a8b5c64ba94077b01483045022100c493b1d9bde3ddd410295909778cff6dc9f9348207aafa86e5a3cec1f3cba5af02202b379c18859d63b27ef62f3e49e7ad660d34cac0de9bc411eec55ffe710283d3016952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae04004730440220589dda452be1fdead9ad0ece5a5e8cfd2290aa0c944df23aa10d636cc36534cb022005392c23e8c8300a311ef4436c20648d2433a39fd1c8c642a3c590158fe3c76f014730440220393243d151c5690fe55f68bbf534c713d4aa475ba7a87ff6ee5cbe9624e216da02206a8afde13a66dc4cbcfd13fde255b4c7ba2c75e0ece571b3ab17cdcdd6de0e6a01695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae0400483045022100d5cf1baac4027781c0f8d20acdec9fc6e3c7c5020c505949c9c932501e74cda902204e29a2a07d190ac99ee291ba82371a0690b1e07e69b7f0666932a9b9ec6c164a0147304402201b6e3be88b19a7bd0a9c91946f486a354ee6572d838e502fcacd248a18570f6602205afd4d9bfe194646f5196b3556afbd8a45d10e8e224e17ed1517def920499e130169522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", - "txid": "2eae9f2a0c22b3ddf7882879de5e5180afadd5e1fc68f3c93f1699967d54398e" + "transactionHex": "01000000000103b1fd9bea488800b3f86fdf617c3a06be13113c6f556cfc375fceff2a5756c7d30000000000ffffffff6883dbe1e314066e13602b39469b998b50100d591bf4b753b3f59e6e9b65219d0200000000ffffffff95e16163948d312a2e62dc7fc74822c951cd9b78beb86f0d3e18fd6020492e550300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100957d87027590327a121c4df72ebc9f965c4f2ef5f3ef93a94fe2800eb151178102207272b6243d1b346fdfc473971b3654b1d7b404175abad7b9d7a7e13c2dfbc8b601483045022100c7eb476a4d88154a05506724757e7e311fd61d020899477fab17622edcfe5d0d02200ecad823cfb5662d04052d1a9e08a2dbfd35fb06b0468438ea2b7548be26f43c016952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae0400473044022076e2fa09def10747f9462d315de880f53bd9d96e7708936783264c0986b66a36022005157ebecdf90a49c97e1b2020880d0cfa70aa6dc26efc2c940a351ff2527c7d0148304502210098a7534e6bea4a3e11e68d2da14b601e07274150c4d977313f85c84e1cd653870220256187239b37a52c2b082a7b9b20c40d87d29b8500ba096af10762f7639b585301695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae0400483045022100f01ca9bcb642ce768882c6024ebc02920449fab5249b2d65f585840e2b27e5eb022068ca7cf0d3ba6959f8edb483b97f16d8323ae00cbda822c4f1b26c2e4765bb3f014730440220342091e15dfa7164474b14b2413dcf1f243c944852f5e9fadd43952068ad6ba1022023f7d93132890f0b765e4a4ac257ab8599d9aa0fde8ab4b98718a334134ca3900169522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", + "txid": "7959a63f331f9984fbdcf764b31435fb993116bbcddb68441af939402daff1d8" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..a235aacad2 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a50100000003b1fd9bea488800b3f86fdf617c3a06be13113c6f556cfc375fceff2a5756c7d30000000000ffffffff6883dbe1e314066e13602b39469b998b50100d591bf4b753b3f59e6e9b65219d0200000000ffffffff95e16163948d312a2e62dc7fc74822c951cd9b78beb86f0d3e18fd6020492e550300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a823910001012b00e1f50500000000220020a67d3630815a8019181ea89cb190b6fc016c1198ce4f4ecfbd887a6f772a7f9122020391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab483045022100e0738509171e10b8f5410e7c9ff524cfd3b6e80aed77c5c1021e6d3aa43db7690220235b979221d04c03d9af4ee11b7482f5b6c654f79b283d86c6968962d5f588d7010103040100000001056952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae22060285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c14e15f6f210000000000000000150000000000000022060391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab1403a8239100000000000000001500000000000000220603a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb8148374ad86000000000000000015000000000000000001012b00c2eb0b000000002200208b0a497c62b7128694ad7f8efd2b4a6dc084c92a149a6a412371f90fce5057172202027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a473044022064523245caef905574e009c4ae6bfdc374eddbb021037dbb839dbee026efd9760220754c8affb3247ca0d2db97b27ed1ce55797e64dcea50fecaeabdab820512515a01010304010000000105695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae220602003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f03614e15f6f210000000000000000150000000200000022060257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de2148374ad86000000000000000015000000020000002206027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a1403a82391000000000000000015000000020000000001012b00a3e11100000000220020264668d6062f55da885e7454f5f0c28dc07a9a6fbef4b10f4bcdbde5c2d34a1f220202b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90547304402204488e6315f9599f6bfa3b5465b9306e42c6906548a1f346f5405b89f0f2eee6e02207635465fadc5f5c8722689c18a7feaaa58601ca6e4b55af7b1d492c48c3b0a9d0101030401000000010569522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae220602b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a9051403a8239100000000000000001500000003000000220602da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff148374ad86000000000000000015000000030000002206032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a414e15f6f21000000000000000015000000030000000000", + "coin": "tbtc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "074919108e267d48672ac585410f9fefaa547ef84f4eb1c8a6e1bc72e93df893" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..6085b39495 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "d3c756572affce5f37fc6c556f3c1113be063a7c61df6ff8b3008848ea9bfdb1:0", + "address": "tb1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gs37spuh", + "value": 100000000, + "chain": 21, + "index": 0, + "valueString": "100000000" + }, + { + "id": "9d21659b6e9ef5b353b7f41b590d10508b999b46392b60136e0614e3e1db8368:2", + "address": "tb1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2utsrt6dc5", + "value": 200000000, + "chain": 21, + "index": 2, + "valueString": "200000000" + }, + { + "id": "552e492060fd183e0d6fb8be789bcd51c92248c77fdc622e2a318d946361e195:3", + "address": "tb1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0sac2xhy", + "value": 300000000, + "chain": 21, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "01000000000103b1fd9bea488800b3f86fdf617c3a06be13113c6f556cfc375fceff2a5756c7d30000000000ffffffff6883dbe1e314066e13602b39469b998b50100d591bf4b753b3f59e6e9b65219d0200000000ffffffff95e16163948d312a2e62dc7fc74822c951cd9b78beb86f0d3e18fd6020492e550300000000ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf870500473044022064684a4f4dde1fd1cfced8658d8417b23193f5844a614805d1d8c53db6ea83ac02205d08d6e0a85fdb167a31e2f17e938130214bbc9361690dd1e37d2b9ef741f9ce0100006952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae05004830450221009a997961bd4bff14ff3a7c12ed2d0bd4133df2a81fd00bf6a2132a43ba1cfd2f022048db4dde9dab08b4fefc40794dd802919ff000097a74e6f4a001be47e2745916010000695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae050047304402202fa7b5c19dcdedf9cb2b28a79b3b5568b811ab5dfa5d2d1285a257563d289b520220516da8e767ca58809db67d9635664190356d3fe85e0a54a942ebb317fb86008501000069522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", + "coin": "tbtc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "588799e9c78373ea7fde449cc01843e003fb687d867ce823e521139dc211d848" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService.json deleted file mode 100644 index 584d82e8a8..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "2acd5a21e467404c8fcf1b377221ec43192251193f49ccff456fad549e2720cb:1", - "address": "tb1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gs37spuh", - "value": 100000000, - "chain": 21, - "index": 0 - }, - { - "id": "3dbcc267fd848a5f7a28dd1401506a11ac7f060522d554061c5e38b311614d13:1", - "address": "tb1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2utsrt6dc5", - "value": 200000000, - "chain": 21, - "index": 2 - }, - { - "id": "22ef204a5823ec237b0ba181170f5283b13535840381afdd25bf844dc9d9fba7:1", - "address": "tb1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0sac2xhy", - "value": 300000000, - "chain": 21, - "index": 3 - } - ], - "transactionHex": "01000000000103cb20279e54ad6f45ffcc493f1951221943ec2172371bcf8f4c4067e4215acd2a0100000000ffffffff134d6111b3385e1c0654d52205067fac116a500114dd287a5f8a84fd67c2bc3d0100000000ffffffffa7fbd9c94d84bf25ddaf8103843535b183520f1781a10b7b23ec23584a20ef220100000000ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf870500473044022029e858a133be5c3a563b1f0a56dfa2e026dc4222b473d33d821fab291fe850f60220450f941ad2e6225a93d357a57603dde0b35815ce5deaa8b0bdc2131bf2ac4b2d0100006952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae0500473044022025715210e61fb1f6b6f8f419822316817515fa4f68bc87976ab9742aa0a2984702206b18eb65247e546b8564fc35fbfbefba79152aae8b5bcdd36499ac4aaad8682a010000695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae05004730440220131c82c9f5ae3e7c54eb7de0a66d7cdda20dd2e03e0bd637ed6d1ccccae7aba702202dabc64ce8411513fea3f73ee355462b12d336f92ed4baf65f66bdefa8bbbe8201000069522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", - "coin": "tbtc", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "ecce53048821c23437c6773a4390d50279b882ccb65644274a8f09c1374badad" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json index ba9f51f715..d337ed6505 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tbtc/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "0100000003cb20279e54ad6f45ffcc493f1951221943ec2172371bcf8f4c4067e4215acd2a0100000000ffffffff134d6111b3385e1c0654d52205067fac116a500114dd287a5f8a84fd67c2bc3d0100000000ffffffffa7fbd9c94d84bf25ddaf8103843535b183520f1781a10b7b23ec23584a20ef220100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "0100000003b1fd9bea488800b3f86fdf617c3a06be13113c6f556cfc375fceff2a5756c7d30000000000ffffffff6883dbe1e314066e13602b39469b998b50100d591bf4b753b3f59e6e9b65219d0200000000ffffffff95e16163948d312a2e62dc7fc74822c951cd9b78beb86f0d3e18fd6020492e550300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "2acd5a21e467404c8fcf1b377221ec43192251193f49ccff456fad549e2720cb:1", + "id": "d3c756572affce5f37fc6c556f3c1113be063a7c61df6ff8b3008848ea9bfdb1:0", "address": "tb1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gs37spuh", "value": 100000000, - "valueString": "100000000", "chain": 21, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "3dbcc267fd848a5f7a28dd1401506a11ac7f060522d554061c5e38b311614d13:1", + "id": "9d21659b6e9ef5b353b7f41b590d10508b999b46392b60136e0614e3e1db8368:2", "address": "tb1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2utsrt6dc5", "value": 200000000, - "valueString": "200000000", "chain": 21, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "22ef204a5823ec237b0ba181170f5283b13535840381afdd25bf844dc9d9fba7:1", + "id": "552e492060fd183e0d6fb8be789bcd51c92248c77fdc622e2a318d946361e195:3", "address": "tb1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0sac2xhy", "value": 300000000, - "valueString": "300000000", "chain": 21, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "tbtc", - "txid": "2eae9f2a0c22b3ddf7882879de5e5180afadd5e1fc68f3c93f1699967d54398e" -} + "txid": "7959a63f331f9984fbdcf764b31435fb993116bbcddb68441af939402daff1d8" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json index 28122f9034..b450101437 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "933703797e3374f034222983fde6d4c22947af363234e337cd643c705e36a0c0:1", + "id": "c35632d302cbce17584464d2932d93aab8be0f10ce2507a97a5a9d2c7e1a177b:0", "address": "8qacSnCEyDbdsVEPbvVVgAKXq9j46QtoJq", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "58bb32e23f2f62542ad38e5d9a6cc9c5a3dae644ce6c6e947a2fe1e291414fd4:1", + "id": "a94f373ba53af0a6d35991c460149b1f3bb2c6981110ca505248b2c6e673d997:2", "address": "8eZXdfmV7Js7P9tM9jBBbtShTbBGP69bkx", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "61820ec75ea54550764bbc0963df1f6de4db9b87446a6e5be42570be81209b90:1", + "id": "2ced3812039330d831d4546175fc7486cfbc2feb754e5ce5e5df5867ae677056:3", "address": "8hLJ1ZAZFTJXEos6gidjtNWn7BqwQweU7g", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "0100000003c0a0365e703c64cd37e3343236af4729c2d4e6fd83292234f074337e7903379301000000fc0047304402203bbca9e77c819ffd0e1eb1ef963ea2a89a4003e8974404aa77e7b7c821eea33b022074b7d9cd5c15cedf9c8441acb682b13ea6a8a7fecdeaf0b95aa3731d444db8b6014730440220538f89a3ad31139a8746bc7ccd2b157b2b82c4443cdb4a7406a1d898c8b4d50202206857d5f50163a2fa472165af8eb50c595b9dc4ff6044cabf7a78dca013f5b945014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffffd44f4191e2e12f7a946e6cce44e6daa3c5c96c9a5d8ed32a54622f3fe232bb5801000000fc004730440220635ad7962edc66537e0be6ac6ed433a8fe65b877d13a75b1504f2fbe6fda0f1c022043986cccd92ee5867aa00e348d748faeb93a8495fa184548c597897f596442e801473044022007b26c7fecaa33638c67faa2834ccef893d00b214e3d41d5028b8cdd467b4c08022031d55b9970bd54082ebb588481a7b66ec5e6de6a1b498190c3e371c17aa4113b014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff909b2081be7025e45b6e6a44879bdbe46d1fdf6309bc4b765045a55ec70e826101000000fc00473044022039cf21c139adc86e9c88ceb3f8faf1bd5e08fe7e53ce001f01091db1ca7b24fc02200acda5749d7196befd0e332d696849b80f4403b54797bb59124d408021f37b4a01473044022072f32a3ed0a6e86650761808ab59cc13c0f834ad00ace7eb39e474ca7a4f7d980220235f0fa3b433fd2ed4c769b18b99fb6319eaf7c2beb512c71d766246254202c4014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "a89e478c3222da7e08fea9f15a26665cb42e0ef4beebbf6a4feb5d77ac4fd5ff" + "transactionHex": "01000000037b171a7e2c9d5a7aa90725ce100fbeb8aa932d93d264445817cecb02d33256c300000000fdfd000048304502210090afd8e3bfd9e080ebf66d1367d1947033c5c8682558d14de429412152df5e0202204d9e6838c10d2c863a8d3ef6114b4beb4663eaa2189e56c87be3ffa81a2c316301473044022032bb84e66cf44a3ce2a9114b06c616b8044b5df4ae743e779dd7bdbaab31093c02206ae22a743cbd4c59996ee44044431363ee9d1f0b8468c3539aee9d692f936a52014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff97d973e6c6b2485250ca101198c6b23b1f9b1460c49159d3a6f03aa53b374fa902000000fc00473044022020ca41765bdfec55a1f1467111e699fb44b85d268efe5462ed5deb85596393f102203f1e8066f3ddb4d7bee5397b41593fe1ff99a3d72dcaa361e4a0ba8e59a2ae430147304402200934c3a7471cc655e73e9a9ef5994738a621f43081a585ceb7e2bb0470a3b74e02200177e4ea17e4ff5418fe3535fa2c2a43e9ad433f87372b317c11de131de5a8a9014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff567067ae6758dfe5e55c4e75eb2fbccf8674fc756154d431d83093031238ed2c03000000fc0047304402200f5e67793a44288724dab7136cd55e1e21442da67660d1c68b0f4816389253d0022077a9c303a80a63d703114504915131d24e867450405b78b42fbf3520b58e177b01473044022050243f1fc531961c7bf1cc63a08d823edf6a75524eb1f75d70846e8f657fb09d0220747e1a591f2d08151b8391f7790f9a6e62e8451ebe468ca42338ddd570e75aed014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "a0455b558005c37d3927a82712bb26cefa467bde2f89bc1c97a0a2645492b873" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json index 16eadf2e68..7c4d5e065b 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "85a8136b41f6f72dc71988b750974181ad2ccebbb84d3f8d4ed0018cb1758473:1", + "id": "818236f569e2c257866e3b2b2f496d32b9972d67bbae0fffe10bd5d15c439a28:0", "address": "8kZq8qjrXD7eSx7LNeCK1spdW6Mbun1sYn", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "25833ef2fa6a68628395d6e72d015c854072b1e941d07adb7f02ed8cc3d6ad7b:1", + "id": "3c8a8235f781763203ceea667a440934e00ab639866664a04e18fc8b14862b1f:2", "address": "8kED2ywWeUK5v6CpfDiNNh9kY8Qk7BCrTC", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "e976df41a633b0819d0d6f4c8a0b594962a355f1b1ff35a4277ac399148534ec:1", + "id": "959bb11cb05102765373e1174b0ef61d75ca7b81d3245aa82e9756219cc360dc:3", "address": "8ens8tQUxYyWWuHVpV9mggKLK1Ca9UtntA", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "0100000003738475b18c01d04e8d3f4db8bbce2cad81419750b78819c72df7f6416b13a88501000000fdfd000048304502210094d6d47a79abaf28ddba9eccc6922415808750bc5208e54dfe7d245415e689c70220154d16df970d62b43395b5295585cff3ddb70100b11c9d100f1cd1aefc58debf0147304402207a029123c18767f8e8c258a3b848d2602a3907d175fa780da1b126482a6c032502202596589600cfb1705b69109138b32e2e40fabf24b2d4c8b493a37306dc0892b3014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff7badd6c38ced027fdb7ad041e9b17240855c012de7d6958362686afaf23e832501000000fdfe000048304502210086590c1a9c6d0894077440198a2abd6a1d9595da1392af2c6b3082257fa7c91b02201d000273555edb4d0624734bf44218a6a7e727172bcf10988041f4f843f29c5601483045022100cac742988b006c1bbdb47b817a3f24bd0ba4c795606fa27198fc4b5701bbbceb02206a0a0eba5e3d00a71eee3f79785ea3be2fadc98b658f5966ac7ef55e68055fe4014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffec34851499c37a27a435ffb1f155a36249590b8a4c6f0d9d81b033a641df76e901000000fc00473044022040bf771e43d07093b24de0a2237c694291b587ad10b8ed63e0d837d58dee570202200342a2e89bff275513539e7d394d8d6148d9ec2fd213cc0b60998506f5852e9f0147304402206d8d935bbd0684df8e2c308cc3c6e522531d65f18098978a0510b700dcc1402f022039b39d47801524c34c6df5c0b3cd6b3f49e1cf363fc743a1cdafe54cb37018ac014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "eb4227e62652ec6dbef543c12b40c9458289658ebb15d86a87d9e05572e5708e" + "transactionHex": "0100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f536828100000000fc0047304402203bf1f574c794fd8f68e90722c57cc93ce136ccddf3b30b5ce64342c89c83a7f3022019e8c18c6c94acd2c384c76f65ad417dc0c729fcabf8c20a77c521641b751a0301473044022100d091b48bd6cc8e7955fc281c313e2f43ae4caee4326cd1c03f84ae179de5e5e6021f32aeb1dcee1695875f459b40a7fabdae99d3991338dc101dffcfd9a18f85bf014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c02000000fdfd0000483045022100c26df93a70b8383d26b033a750483a33ebe2474bafc640ff376ad9eae4d2fb95022042154846c2f042cbfce1d59fe22620ea7433552913c027588b9fbd6da43eb846014730440220477c29b238a95f6574eca9ecbb4d71e32696a1e0fd1f4e9c471838c07e0637fe02201365e92f8ab0b901a56f5258ceabc278967645503caef4a32c0c4c00f8283a2a014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b9503000000fdfd0000473044022049ed363ab4890ea65ce8fbe76030fa329ccea35dba3aaec24582838eb6139d7c0220072794c17dbc26de84a25e2804f5408115f12437c9bb50bc3abb713c4e5a297601483045022100c278f9d719f0071d56091c6b8dc7abe911e9df0512373505ed82a180f3f2b2f5022012db544b4301d259b8419ed49bd36d76265e834e9536efee8c867f9f4b4f11ee014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "328a694e782f085a82ec01a93056c57541adca82ce3007a0f910f1b2291c1d24" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..0517b099dd --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a50100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f53682810000000000ffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c0200000000ffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b950300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a8239100010053010000000101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0100e1f5050000000017a9144365f80ae9830dab1d9124be68c74c2fa23bbc128700000000220202d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc61483045022100c15ce99736373c306708f8cc510a4ad85e109c0482918cde4cd64957eece542a022063a15d21b3c13ed5e5bc350b3bc677183c4041cca4b90c25ec4318f4f2d67dc20101030401000000010469522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53ae2206029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d148374ad8600000000000000000100000000000000220602d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc611403a82391000000000000000001000000000000002206030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3514e15f6f210000000000000000010000000000000000010091010000000101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0300c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b0000000017a9143fafee16e19a14db449ab3a57da1fd3ef89daa5987000000002202021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a7483045022100c4767d763ba74be1c9e39cc0972e31ff89865b03973f218c1ea2cc26334be8ae02201e164bca6f26364ee522d967aa70ea53b00c548a6f876478033d629759a3380501010304010000000104695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453ae2206021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a71403a82391000000000000000001000000020000002206026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f3024148374ad8600000000000000000100000002000000220603b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b914e15f6f2100000000000000000100000002000000000100b0010000000101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0400a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e1110000000017a914040c4ab99a665c767adaa50fb28dce2ae514363b87000000002202023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c483045022100e722510ad6c3aabcad9684e302c07bbb56c8c8fa860d68d800d1d3582b4bdee202202e40d997fdec7dc1c8b61d450b75cfde8c285caa12cd7b5e8897083ecad0ea5e01010304010000000104695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53ae2206022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d14e15f6f21000000000000000001000000030000002206023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c1403a8239100000000000000000100000003000000220602b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b148374ad86000000000000000001000000030000000000", + "coin": "tdash", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "8f52b9ad56724efdcd392f50d8cda59e333d2eb7a3e3b2ac0edf191463a2751e" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..be2581741f --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "818236f569e2c257866e3b2b2f496d32b9972d67bbae0fffe10bd5d15c439a28:0", + "address": "8kZq8qjrXD7eSx7LNeCK1spdW6Mbun1sYn", + "value": 100000000, + "chain": 1, + "index": 0, + "valueString": "100000000" + }, + { + "id": "3c8a8235f781763203ceea667a440934e00ab639866664a04e18fc8b14862b1f:2", + "address": "8kED2ywWeUK5v6CpfDiNNh9kY8Qk7BCrTC", + "value": 200000000, + "chain": 1, + "index": 2, + "valueString": "200000000" + }, + { + "id": "959bb11cb05102765373e1174b0ef61d75ca7b81d3245aa82e9756219cc360dc:3", + "address": "8ens8tQUxYyWWuHVpV9mggKLK1Ca9UtntA", + "value": 300000000, + "chain": 1, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "0100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f536828100000000b60047304402203828c6052fc53c573b8ad653ac80fe26e1d1ddde683faca519b2820212da4f7d02205e7e55a1cc552687f5a9ec8e9bd135557c09d9b2aaa0019929288c630fd1ceea0100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c02000000b700483045022100f758208f72138002f57aae96b15a7b60a059d78da132c0e3c7e0abb4bd567f3f02205ce0a003b117d77542d8e1a46eded5c661996e69ee123c146d65338b9cd881250100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b9503000000b700483045022100adf4e985196efef77c9bd658691e056c54e2ef6b9b829f1bec67f5d457ce828f02206c2c11f191d754f418383635d37b2a47f0539857e75b631f9637733fdfc678850100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", + "coin": "tdash", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "7cb327f1dde5aac990f3b053a4aa24d1dc2009d682c5c76062d9cb5737feb36e" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json deleted file mode 100644 index 9db976c434..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "85a8136b41f6f72dc71988b750974181ad2ccebbb84d3f8d4ed0018cb1758473:1", - "address": "8kZq8qjrXD7eSx7LNeCK1spdW6Mbun1sYn", - "value": 100000000, - "chain": 1, - "index": 0 - }, - { - "id": "25833ef2fa6a68628395d6e72d015c854072b1e941d07adb7f02ed8cc3d6ad7b:1", - "address": "8kED2ywWeUK5v6CpfDiNNh9kY8Qk7BCrTC", - "value": 200000000, - "chain": 1, - "index": 2 - }, - { - "id": "e976df41a633b0819d0d6f4c8a0b594962a355f1b1ff35a4277ac399148534ec:1", - "address": "8ens8tQUxYyWWuHVpV9mggKLK1Ca9UtntA", - "value": 300000000, - "chain": 1, - "index": 3 - } - ], - "transactionHex": "0100000003738475b18c01d04e8d3f4db8bbce2cad81419750b78819c72df7f6416b13a88501000000b6004730440220633037d1eba2ff906c4b9d672991ce880b67404b18ab4e888ce32f28ea7c46c002204aa67b21d9285e525a1f0052a85f26328878edfe279ee0fe4d57c617a9181dee0100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff7badd6c38ced027fdb7ad041e9b17240855c012de7d6958362686afaf23e832501000000b60047304402207f94727b08b5ca08139342796a87a2c53855d2d04eccde6dcd95f5cce9c59bb402202a489bdb60e175a2d9c79df394e702b650642d54c68f775c549c117c36e5fa8e0100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffec34851499c37a27a435ffb1f155a36249590b8a4c6f0d9d81b033a641df76e901000000b7004830450221009bcd16bb99b32f9ba00b888cdbc9a509d4dba5f12b7762ffcdfaa4b64b1074f5022018ba5dff45e90c6990d294142080225fbeaabe6522bc5c791700a8b6520abd910100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", - "coin": "tdash", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "ebbfc2d146431d959af296ad1e4f43f19f3fcb7a04ae435ed2906c4a387c76af" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json index dd5ec10140..0d33cda7ad 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdash/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "0100000003738475b18c01d04e8d3f4db8bbce2cad81419750b78819c72df7f6416b13a8850100000000ffffffff7badd6c38ced027fdb7ad041e9b17240855c012de7d6958362686afaf23e83250100000000ffffffffec34851499c37a27a435ffb1f155a36249590b8a4c6f0d9d81b033a641df76e90100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "0100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f53682810000000000ffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c0200000000ffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b950300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "85a8136b41f6f72dc71988b750974181ad2ccebbb84d3f8d4ed0018cb1758473:1", + "id": "818236f569e2c257866e3b2b2f496d32b9972d67bbae0fffe10bd5d15c439a28:0", "address": "8kZq8qjrXD7eSx7LNeCK1spdW6Mbun1sYn", "value": 100000000, - "valueString": "100000000", "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "25833ef2fa6a68628395d6e72d015c854072b1e941d07adb7f02ed8cc3d6ad7b:1", + "id": "3c8a8235f781763203ceea667a440934e00ab639866664a04e18fc8b14862b1f:2", "address": "8kED2ywWeUK5v6CpfDiNNh9kY8Qk7BCrTC", "value": 200000000, - "valueString": "200000000", "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "e976df41a633b0819d0d6f4c8a0b594962a355f1b1ff35a4277ac399148534ec:1", + "id": "959bb11cb05102765373e1174b0ef61d75ca7b81d3245aa82e9756219cc360dc:3", "address": "8ens8tQUxYyWWuHVpV9mggKLK1Ca9UtntA", "value": 300000000, - "valueString": "300000000", "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "tdash", - "txid": "3edbbb10fde896b2e7d1c40412c22f4bb5e8a4e0e695074d80fe5ec1fad56c46" -} + "txid": "15454128619e030a6338799449934241c024abf40d52585e9e003eef622636b7" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json index 4247490312..92eec9c8c3 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "8193e691a967321c6dcd525f7a90d50d005d6bac217592567b64645bbd157a8d:1", + "id": "866aec34cf7de04505cdf4f08bf12b9ff83aaaa902ad135418b9f965ca8e0b88:0", "address": "2N4QNizxEe9cidCuiwBSuWMVnESL1rq4xeP", - "value": "9000000000000000", + "value": 9000000000000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "9000000000000000" }, { - "id": "2c06539f159220143d915ac4d0f499ee81b0d61b261e7505e3972ff89cd41a1c:1", + "id": "9119a45dd4dc2143998d71d6dddf35a3de0b2fbeefc4d5ce8035b1a152257716:2", "address": "2MsPHutXUnEtC8sZgUz8bS5cwrsnECbMYA4", - "value": "18000000000000001", + "value": 18000000000000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "18000000000000000" }, { - "id": "47e8166b5ff7dc1e28a2ce7a8a3aeb1f6e3e15798e37d41752ee816b826ba2c9:1", + "id": "a408ea7b201b9ae94943c6c9e629ce04a8133d220cc471954718b9ed9435b3f3:3", "address": "2MvA4HmvYvPKbzXYS1yb9iZh2WUSuFY6iy7", - "value": "27000000000000001", + "value": 27000000000000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "27000000000000000" } ], - "transactionHex": "01000000038d7a15bd5b64647b56927521ac6b5d000dd5907a5f52cd6d1c3267a991e6938101000000fc00473044022064eb83676e6408d29fd57ea0cacbc14f791ccb10f432ad1643d1c1799ddd6c3302207e9c439ae8397fc508b8447e794e55355bb3db40d2242a4f5de7c00a7e55a8450147304402204cb6277ed92a436e3955308d115f923f1d62cb3eff819b7e21d2c65e47a6e5ad022040ce2e9fb6af69f9bf675680f5e6372ff4515080f294ee5b44bc60a7623061ec014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff1c1ad49cf82f97e305751e261bd6b081ee99f4d0c45a913d142092159f53062c01000000fdfd000047304402206142d1b4de331e9a0578772ca49154d53a189ade67aa54c5c107ff725bb695170220055a20fd9dd63c793edf13f7b67f698fa0eead5000a619b594d8be947c4b1e04014830450221009d09009a5cca3b508ce7c2ad0f81429aaa8f3323dc6bc378c71f440b8a54677302203c8ae661c3aef3fd61612ae831f71e03bb61a87d8f8a9923a3441b5c641fe71c014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffc9a26b826b81ee5217d4378e79153e6e1feb3a8a7acea2281edcf75f6b16e84701000000fc004730440220608d90a515dfca788ed8489d3c7cbab88d77aeca9f5dde1e859cd0cda9c42d3a0220241ee62d7b1f092ecc113b19ef59c00a1784715b03fa0453e9fbbce8c61fed20014730440220522b1151b821dac0f80132963bc2c3b67b8a02744a9b87d0fedc7d1d2ff3734e022064e54d90ab81ad3261577a3cf9638af8f5a7952b47f5313a33383cc492118440014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b28dddc1b6d8bf0017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "b4a13c4f9cf172f0bff27b8444fa65731dc712bbec1c3b66090c0b4b3a13c9e5" -} + "transactionHex": "0100000003880b8eca65f9b9185413ad02a9aa3af89f2bf18bf0f4cd0545e07dcf34ec6a8600000000fdfd0000483045022100fbfcb12ba57c4104c750f5a265ebb4ac70536ea1cecec4cbc8a0c8748649765b02200a5d1e71e6e94e8d0f9df8bbd2e1b40cbd44a4ec5b8c5e13b5386437645f0a1a0147304402207d1f2cd07a04b9a72a0baee217150eabe5845a9ba91bea27fbfc43eadbd874cd02206b5a178efc85ea062094bff29dfde7d1163c4569aa90f164c9463b06c34f6fcc014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff16772552a1b13580ced5c4efbe2f0bdea335dfddd6718d994321dcd45da4199102000000fc004730440220075a6a1aa6447a50f312f8a8283744ea98a2361271b572d200d43cd7712a2c3c0220730d98f2d493f4cae1bf8f641a81199d9db9a449d44835e0d9c55fce4380f5c901473044022035390157357d45d66c400900e61146bbe66dc514a25814c2b722e19c457f96c202203819bfb6f0d1edc8ab2449d6bfbb65168a5bc11f9536c55cee90de8430a4b451014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aefffffffff3b33594edb918479571c40c223d13a804ce29e6c9c64349e99a1b207bea08a403000000fdfd00004830450221009ab11b9a28999cfd3b30698bc1546a2ca6b0a82dde92613fb1c4328ccbcceecf022030fef98c424757ed06abe298f0635c45509d302fe0bc59d63c9d70e0c39ecbf80147304402206f424efb67b93bc259d78077203bcd95a572927a7ce24190224a57986d5bc7c10220542d1a8d9ec9dbdb3ad73392869343e3d587f8c270201427fad080ce3df0c34b014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b08dddc1b6d8bf0017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "1815a2f4726964347e04cfc313705aeac4e5b9195c5f565d8582e85c4df15585" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json index 03da092cbe..8deed80246 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "1884e8e81a047cde56747df2896ce1ede6edd79345dc3c89cbead35ad6eb2823:1", + "id": "60f48998917a7636b3cd3a2dbeeac3b7ffe6f4b80c027e5c117db878b02d5cd5:0", "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", - "value": "9000000000000000", + "value": 9000000000000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "9000000000000000" }, { - "id": "68abb049f24b036261e665aab871f5b4cb0312feba66d8bd46b1c3aed229af8a:1", + "id": "90b8f3b088c5dc905bab34e59862b7d28f9beeeab4630d1607e70d8b9900b117:2", "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", - "value": "18000000000000001", + "value": 18000000000000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "18000000000000000" }, { - "id": "dd3316a9bf6661005eefdf82bec8c5a7b0cb993c345c098b1a92edabf0ddda65:1", + "id": "757c2df1d884b00c4f510a814ebc4c917785a63c48b602cc5c3c5edd853e5028:3", "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", - "value": "27000000000000001", + "value": 27000000000000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "27000000000000000" } ], - "transactionHex": "01000000032328ebd65ad3eacb893cdc4593d7ede6ede16c89f27d7456de7c041ae8e8841801000000fdfe0000483045022100e6b01fad6cdc8278dc8eae48b860c86c5e4adbdd8a4558449a83f8ef8ad3e994022043e5f699f8bdc3fb71405a27b6844ae9513eb02e861c3595b94c9dbf96a2ae9801483045022100b9542bf7be2d6fba7c8e8fea86913111174e9551494736be5f1407b04726237702203e0d6b72714eca5b1dc837f5f61580f8c00d8b26d0b61bbf7d6f5fa2a0887b27014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff8aaf29d2aec3b146bdd866bafe1203cbb4f571b8aa65e66162034bf249b0ab6801000000fdfd0000483045022100d4b70ad18229881df37cdf2b8cb305df659a14b0436927de1504b462f42ec96a02207a1534985d7f4168a9f0d2189e4bf433f89cc705e87743ab132645f43f5d35770147304402204a09f6a81bd55322b5fe98e048cb8cc3a5610290d2c2a5617578ca7e3e0a0572022025c53de3e9053df89387d001436716ebffbedd2680b3e5d31e9619ac6e078e8a014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff65daddf0abed921a8b095c343c99cbb0a7c5c8be82dfef5e006166bfa91633dd01000000fdfe0000483045022100942afa55e67a3c670b2a88281c494b618d1a668d28736faa3c145d3d435f058f022021126180598cffd247707a9b2a73615c830489e123a186baa36e91473393891301483045022100b94855da3bf21a5b10178c7e548bae292e053862385cb508ea33b9f09dcaf05b022027051cce0cb5fa1ede9a2aebb5a2849167ab9d7dfa297ce36447658ffb5ba258014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b28dddc1b6d8bf0017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "75167a8e2fecc03a1989638ab022e3a87186b99a39d0e18ac9d1310b1f1931d0" -} + "transactionHex": "0100000003d55c2db078b87d115c7e020cb8f4e6ffb7c3eabe2d3acdb336767a919889f46000000000fdfd00004830450221008e62d6582bdc1868e4aeb1643320ae258b2154630e0b30daa7e17466ffbf63e0022065829bf5729e5cec4bd84ff334460081780f43be3e9d7003a1b6481157d3c7e801473044022034228da9536b45021933b2d093b60474ede2a1fe83ac0ef1888841ada5426dbf0220095316c53c29657d504f0dcf333cefa900d7f056feeadf2c69a2f7357f25aff5014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff17b100998b0de707160d63b4eaee9b8fd2b76298e534ab5b90dcc588b0f3b89002000000fc00473044022070fd111c92f91f11fc7f3c3a85093f8f6e71538c54865d67b3d771c8bf7440a502203cfca617565befa0969f1d820901c338d9c95fa2e7131eda9d1f362e5d3b625e0147304402202b5be1e6942da57e84caaeec9dac0ce57682c4fb22a31cf5e59307b6c389c6680220170e5a9d423a8b9cc5defe04e0a24d0b8c919a60da08fa7a749a28205153ba71014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff28503e85dd5e3c5ccc02b6483ca68577914cbc4e810a514f0cb084d8f12d7c7503000000fc0047304402200f4c484711af094a23d5354b0756ee5872e4b3caeab292eefdadfa5369d71226022065c7f8cba9723f3a5dd1147d075defb01862d326e3cbf7a5c921c86aec4ff7cb01473044022071d0cc7ce60ec95b66375986041dff0af4fcf5a52c4919724927673a3e15fba80220343baf3c23a549a228c25ac5a5f4ddffdbbb0d4fa8d520ba221e191d7234e8c6014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b08dddc1b6d8bf0017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "d573352de5b55a9835c2c291bbae9f70ad64edec6c035ad57e0e0a098bb2cb96" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..280a82354a --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a50100000003d55c2db078b87d115c7e020cb8f4e6ffb7c3eabe2d3acdb336767a919889f4600000000000ffffffff17b100998b0de707160d63b4eaee9b8fd2b76298e534ab5b90dcc588b0f3b8900200000000ffffffff28503e85dd5e3c5ccc02b6483ca68577914cbc4e810a514f0cb084d8f12d7c750300000000ffffffff01e47cddc1b6d8bf0017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a82391000100c00100000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff010080faca73f91f0017a9144365f80ae9830dab1d9124be68c74c2fa23bbc12870247304402200c5de84501d13826c2799f6fee15ae367e1e03335b61d1d1e4791a883d8051650220581c8665ea5301e8a3c50e0307b5f5431e1222f41708bdbf9332ef126b01b337012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f00000000220202d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc61473044022021c3a15352f1a7fbeeaa622c188523f38226017c2136c81ace63f80bf1e4e44002204818cb5f0f3ccaf96a404a2a59b9e2c5e7d42c70c203266b8849633378726d300101030401000000010469522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53ae2206029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d148374ad8600000000000000000100000000000000220602d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc611403a82391000000000000000001000000000000002206030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3514e15f6f2100000000000000000100000000000000000100fdff000100000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff030000f595e7f23f00160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c3260000f595e7f23f00160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c3260000f595e7f23f0017a9143fafee16e19a14db449ab3a57da1fd3ef89daa598702483045022100dd958ac6f1167a14b4ef44991ca6cc92fc5de8783353609909039eae58b19373022020120cdf4a05490e252ba2c67ac4eac99e2197b25867f27e5df96988c070e545012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a7483045022100c8227b1901e7cf935095cfa3330b2a8120407400c70e7eea0640792f50ece578022028c00597c23bfffc1fdbacb20f5366070b25169bb6e3362f04673f73e54bb5e801010304010000000104695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453ae2206021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a71403a82391000000000000000001000000020000002206026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f3024148374ad8600000000000000000100000002000000220603b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b914e15f6f2100000000000000000100000002000000000100fd1e010100000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff040080ef605bec5f00160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c3260080ef605bec5f00160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c3260080ef605bec5f00160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c3260080ef605bec5f0017a914040c4ab99a665c767adaa50fb28dce2ae514363b87024830450221008034639083a6d0dd61fc63294b00950f4258b9f015e7aadc75694c98cdcee4ea022054c32e894556e9e46912c9973514079f45c80e036352cd750005794242782706012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c473044022015372caa6558ff5656044826ee5c61a1616f1c47cc86360cb8b877df39a10de802204917fe3a94d14b682268c9132d477cd1434d8730e36a4e9fcbd8a44564cc70ee01010304010000000104695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53ae2206022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d14e15f6f21000000000000000001000000030000002206023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c1403a8239100000000000000000100000003000000220602b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b148374ad86000000000000000001000000030000000000", + "coin": "tdoge", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 53999999999900900, + "recoveryAmountString": "53999999999900900", + "txid": "ccd3dd93109c2f6955f39cc6464b9634726fd4f92d38c92b46c66af5a0daaa37" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..37c7bb7db1 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "60f48998917a7636b3cd3a2dbeeac3b7ffe6f4b80c027e5c117db878b02d5cd5:0", + "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", + "value": 9000000000000000, + "chain": 1, + "index": 0, + "valueString": "9000000000000000" + }, + { + "id": "90b8f3b088c5dc905bab34e59862b7d28f9beeeab4630d1607e70d8b9900b117:2", + "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", + "value": 18000000000000000, + "chain": 1, + "index": 2, + "valueString": "18000000000000000" + }, + { + "id": "757c2df1d884b00c4f510a814ebc4c917785a63c48b602cc5c3c5edd853e5028:3", + "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", + "value": 27000000000000000, + "chain": 1, + "index": 3, + "valueString": "27000000000000000" + } + ], + "transactionHex": "0100000003d55c2db078b87d115c7e020cb8f4e6ffb7c3eabe2d3acdb336767a919889f46000000000b700483045022100fc32825486d627a3d05aa770ea9982dc23c4304a58a7b9d1e91357e0f8b634330220237b0833eac2838d60e572b179a973e7baa14d16d81fdfa944d7a9ee3305fec80100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff17b100998b0de707160d63b4eaee9b8fd2b76298e534ab5b90dcc588b0f3b89002000000b6004730440220024d2bc96f496cc79fd9cfdd809ee27647e84ecc0b1875d77511cc7061e4ae5c02204c62994764b04b602aee49228b2e159ab7b5eb6038b03d3e569980bc354ff4db0100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff28503e85dd5e3c5ccc02b6483ca68577914cbc4e810a514f0cb084d8f12d7c7503000000b700483045022100d63bd36d5a7f8a49cb3b38cd2c369c9f44f2638d65b0fc4e9168c9c67e3de85d022000aa73d8b5d23b305baa7b5723c66175dafe4d2998892b71629565dbafe4668c0100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d24fdbc1b6d8bf0017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", + "coin": "tdoge", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 53999999999758290, + "recoveryAmountString": "53999999999758290", + "txid": "05b463e9c60bf11b13f8e049172f516add0b372d4f3e6892ebdc9c7498b14f16" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json deleted file mode 100644 index e500f39119..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "1884e8e81a047cde56747df2896ce1ede6edd79345dc3c89cbead35ad6eb2823:1", - "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", - "value": "9000000000000000", - "chain": 1, - "index": 0 - }, - { - "id": "68abb049f24b036261e665aab871f5b4cb0312feba66d8bd46b1c3aed229af8a:1", - "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", - "value": "18000000000000001", - "chain": 1, - "index": 2 - }, - { - "id": "dd3316a9bf6661005eefdf82bec8c5a7b0cb993c345c098b1a92edabf0ddda65:1", - "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", - "value": "27000000000000001", - "chain": 1, - "index": 3 - } - ], - "transactionHex": "01000000032328ebd65ad3eacb893cdc4593d7ede6ede16c89f27d7456de7c041ae8e8841801000000b700483045022100c31c8499875f5e21a7330958fef51bbefcceb5565197c2fbb79081b1c081c94e02200e794e1fd9326460e19584d905855850ec6375d925e983ccb6d3df75d77b37200100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff8aaf29d2aec3b146bdd866bafe1203cbb4f571b8aa65e66162034bf249b0ab6801000000b60047304402201d659e49a95902d7d72fdf7859c54a2d128dfd8d7c352a59ef8f5191527c7dcd022017cb4cfb4b21f8263928f283f51d5e9de7d54120868900a430f8d19ce0139c780100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff65daddf0abed921a8b095c343c99cbb0a7c5c8be82dfef5e006166bfa91633dd01000000b700483045022100cbca1e8b8ea9c372640529f46dbfe708f51ecc50a4e1e5f8ba077c5f6371e054022012c6935103971431915537258a5cab3276c2886a46f3a455f97e169af70ba0380100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d44fdbc1b6d8bf0017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", - "coin": "tdoge", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": "53999999999758292", - "txid": "6e61d2a48615490794d63499c385e717e95cfc2d2780e85aabf40cf4f3f1086b" -} diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json index 013bc7a85b..0ef48ff20b 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tdoge/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "01000000032328ebd65ad3eacb893cdc4593d7ede6ede16c89f27d7456de7c041ae8e884180100000000ffffffff8aaf29d2aec3b146bdd866bafe1203cbb4f571b8aa65e66162034bf249b0ab680100000000ffffffff65daddf0abed921a8b095c343c99cbb0a7c5c8be82dfef5e006166bfa91633dd0100000000ffffffff01b28dddc1b6d8bf0017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "0100000003d55c2db078b87d115c7e020cb8f4e6ffb7c3eabe2d3acdb336767a919889f4600000000000ffffffff17b100998b0de707160d63b4eaee9b8fd2b76298e534ab5b90dcc588b0f3b8900200000000ffffffff28503e85dd5e3c5ccc02b6483ca68577914cbc4e810a514f0cb084d8f12d7c750300000000ffffffff01b08dddc1b6d8bf0017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "1884e8e81a047cde56747df2896ce1ede6edd79345dc3c89cbead35ad6eb2823:1", + "id": "60f48998917a7636b3cd3a2dbeeac3b7ffe6f4b80c027e5c117db878b02d5cd5:0", "address": "2MyPbR4VrC98jCfnfhu9ir4zsuNxZiPS85K", "value": 9000000000000000, - "valueString": "9000000000000000", "chain": 1, - "index": 0 + "index": 0, + "valueString": "9000000000000000" }, { - "id": "68abb049f24b036261e665aab871f5b4cb0312feba66d8bd46b1c3aed229af8a:1", + "id": "90b8f3b088c5dc905bab34e59862b7d28f9beeeab4630d1607e70d8b9900b117:2", "address": "2My3yKChWKQLAfot9zUfnCtKzwR1hxdfvE4", - "value": 18000000000000001, - "valueString": "18000000000000001", + "value": 18000000000000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "18000000000000000" }, { - "id": "dd3316a9bf6661005eefdf82bec8c5a7b0cb993c345c098b1a92edabf0ddda65:1", + "id": "757c2df1d884b00c4f510a814ebc4c917785a63c48b602cc5c3c5edd853e5028:3", "address": "2MscdR7AUdUzbGcxq9k7BWsVaiHoXwk2Rn4", - "value": 27000000000000001, - "valueString": "27000000000000001", + "value": 27000000000000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "27000000000000000" } ] }, "feeInfo": {}, "coin": "tdoge", - "txid": "4785cc14f69d70a610b0524bca92f0a282b15b5c26fdce6fea97f60c7bb71fb6" -} + "txid": "854a3fd3fe95a311aaa5915bc14166d2b86f59a7260560f400ce65c28e47fcea" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json index 06356dd7b2..1bbc377422 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "e462b916e1a5f41b21f852afa39becf0e396b6dfc8a423533ae88fe3572a22af:1", + "id": "c35632d302cbce17584464d2932d93aab8be0f10ce2507a97a5a9d2c7e1a177b:0", "address": "QXm8r1pUfFfomPfmZHUvb3wDNpmqnpBAyD", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "685df7ab970e0c8e1481e8a6bc0c35f4664b355d63fdfd240fd20e77406b26d3:1", + "id": "a94f373ba53af0a6d35991c460149b1f3bb2c6981110ca505248b2c6e673d997:2", "address": "QLk42uPioLwHH4Kj76AcWn4P1GE46VKUQB", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "0b4763d48cb74f1dac4c28e9417f58be6a305e5dad14982d855f12cfb2302d1c:1", + "id": "2ced3812039330d831d4546175fc7486cfbc2feb754e5ce5e5df5867ae677056:3", "address": "QPWpQnnnwVNh8iJUe5dAoG8Tertj6eaGaE", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "0100000003af222a57e38fe83a5323a4c8dfb696e3f0ec9ba3af52f8211bf4a5e116b962e401000000fc0047304402207a3a4e88c9de9e5c7d075efbb9d2d7da3f76d9a9313c2a00334875240bc66f4502204ee588cc56e8be0be4fbb16e0cb9989c1fcaa54621353eadd0ee6347271a07dc0147304402206102707cb64c0866e17e4ac9469c1dad73565c1c9d24bae0734b00e8c69658030220452ed89809c9cbeaf00bd2c4b6a844d48e6edea5f6c4949368ca56bd90b21034014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffffd3266b40770ed20f24fdfd635d354b66f4350cbca6e881148e0c0e97abf75d6801000000fc004730440220201ee0a98bf508adc5ca2497bd66aa6450ec31ec274bf3bf3de5ade25d760575022055da091ad4edec98c4b8ba7cd803084b62860499af056d689c081f319d272e3e0147304402205f57c607e0038a375d707380b9fa58849d1a97c35c08a6f9fcb71b5e86eb7102022049f0980f127a735cd5fb7692fdbefbce037676fff73d925682ec8dec8079ee42014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff1c2d30b2cf125f852d9814ad5d5e306abe587f41e9284cac1d4fb78cd463470b01000000fdfd0000483045022100c31bcafcf87ce9220b756004596931c320560a92efa9587ea50ff5a5fba8dbbc02207f43d886f6405ecbffd7603111847c3ee080cbe3c51b103e0681a49ceaa1503a014730440220664e263e8d424c45e4420c65928a6f57d950d41f767f9e259611cf20369145bd02202a713caef0c8e57def0c329465a3641462924c52bff2b15ee39a2a8ef6bcb95f014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "d455b7eb332f99c99cfbdf3be963df9ac227f8d0b7047a8193b3220107f93548" + "transactionHex": "01000000037b171a7e2c9d5a7aa90725ce100fbeb8aa932d93d264445817cecb02d33256c300000000fdfd000048304502210090afd8e3bfd9e080ebf66d1367d1947033c5c8682558d14de429412152df5e0202204d9e6838c10d2c863a8d3ef6114b4beb4663eaa2189e56c87be3ffa81a2c316301473044022032bb84e66cf44a3ce2a9114b06c616b8044b5df4ae743e779dd7bdbaab31093c02206ae22a743cbd4c59996ee44044431363ee9d1f0b8468c3539aee9d692f936a52014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff97d973e6c6b2485250ca101198c6b23b1f9b1460c49159d3a6f03aa53b374fa902000000fc00473044022020ca41765bdfec55a1f1467111e699fb44b85d268efe5462ed5deb85596393f102203f1e8066f3ddb4d7bee5397b41593fe1ff99a3d72dcaa361e4a0ba8e59a2ae430147304402200934c3a7471cc655e73e9a9ef5994738a621f43081a585ceb7e2bb0470a3b74e02200177e4ea17e4ff5418fe3535fa2c2a43e9ad433f87372b317c11de131de5a8a9014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff567067ae6758dfe5e55c4e75eb2fbccf8674fc756154d431d83093031238ed2c03000000fc0047304402200f5e67793a44288724dab7136cd55e1e21442da67660d1c68b0f4816389253d0022077a9c303a80a63d703114504915131d24e867450405b78b42fbf3520b58e177b01473044022050243f1fc531961c7bf1cc63a08d823edf6a75524eb1f75d70846e8f657fb09d0220747e1a591f2d08151b8391f7790f9a6e62e8451ebe468ca42338ddd570e75aed014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "a0455b558005c37d3927a82712bb26cefa467bde2f89bc1c97a0a2645492b873" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json index 7c27725a12..284d1b8366 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "501f041b8c185211fa79e808efab8e272c83c68591421d075f3e1ef4cff11e4f:1", + "id": "818236f569e2c257866e3b2b2f496d32b9972d67bbae0fffe10bd5d15c439a28:0", "address": "QSkMY5N6DFBpLrYiL1BjvmSK3mQPb8W877", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "90d757c7fbddc72cba697268a5c021d42fdcb3b805ea468069d25143b2a3d14a:1", + "id": "3c8a8235f781763203ceea667a440934e00ab639866664a04e18fc8b14862b1f:2", "address": "QSQjSDZkLWPFozeCcahoHamS5oTXoc3LZe", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "d3ade8c91f76d9d96e38abfb3fce2b9f81aef9d9940ac81aee21d3c9e9d4d1bd:1", + "id": "959bb11cb05102765373e1174b0ef61d75ca7b81d3245aa82e9756219cc360dc:3", "address": "QLyPY82ieb3gQoismr9CbZw1rgFMtCBbR4", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "01000000034f1ef1cff41e3e5f071d429185c6832c278eabef08e879fa1152188c1b041f5001000000fdfe0000483045022100e8495fa7c7bc2fa99143da8637ab7c6bd337ae3397f9fa89fb591df96395c37202204b3454c3f785ce1b268e01731d951a9ab87479ce4146efb09e07db8530e7d64e01483045022100e410ae5127c2a4127a745376845141e7cfc47122876650b3e19099a92669188002203cda7f9fec3289f3f1558406acd9677c9ef304efa464990f3e997e20357f5c49014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff4ad1a3b24351d2698046ea05b8b3dc2fd421c0a5687269ba2cc7ddfbc757d79001000000fdfd000048304502210095780b528ee12f8973842a8897270456bc9ae4d19e9d62ad591c97dea857638a0220129598f1c63678cd59217289fe921fdea198f1320c100b4ee371fb189a1ddf690147304402206aa8c88144d9cbb282275b2343ab9198202c857ad9f50d73dab940fa5207142f02206872fb297dc2138a7e2d4cc208636a5915d996476debce19117fc2155bf740d5014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffbdd1d4e9c9d321ee1ac80a94d9f9ae819f2bce3ffbab386ed9d9761fc9e8add301000000fdfd0000483045022100b44812e62f1a76957980951a8cf6156cd17afd965092aa6e424dfde81aaa2f26022057dd9767c80fb876d5e199a7c74ff17e1fa792c62c8abe06ffcc4798dbb45dd501473044022041962e7dd3803e1f2db6eefef6e4037b54556e2daefbf812b33e5e359b6ff88b02201a7845f7788ed4ddbd1306daf6433dcda61e32194b0ccc62fc09c6cb3efe8ca4014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", - "txid": "7e233fe31c300a82a7794a9f091c3a4f253a6ed85d7fce11b4a149c08347f4d5" + "transactionHex": "0100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f536828100000000fc0047304402203bf1f574c794fd8f68e90722c57cc93ce136ccddf3b30b5ce64342c89c83a7f3022019e8c18c6c94acd2c384c76f65ad417dc0c729fcabf8c20a77c521641b751a0301473044022100d091b48bd6cc8e7955fc281c313e2f43ae4caee4326cd1c03f84ae179de5e5e6021f32aeb1dcee1695875f459b40a7fabdae99d3991338dc101dffcfd9a18f85bf014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c02000000fdfd0000483045022100c26df93a70b8383d26b033a750483a33ebe2474bafc640ff376ad9eae4d2fb95022042154846c2f042cbfce1d59fe22620ea7433552913c027588b9fbd6da43eb846014730440220477c29b238a95f6574eca9ecbb4d71e32696a1e0fd1f4e9c471838c07e0637fe02201365e92f8ab0b901a56f5258ceabc278967645503caef4a32c0c4c00f8283a2a014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b9503000000fdfd0000473044022049ed363ab4890ea65ce8fbe76030fa329ccea35dba3aaec24582838eb6139d7c0220072794c17dbc26de84a25e2804f5408115f12437c9bb50bc3abb713c4e5a297601483045022100c278f9d719f0071d56091c6b8dc7abe911e9df0512373505ed82a180f3f2b2f5022012db544b4301d259b8419ed49bd36d76265e834e9536efee8c867f9f4b4f11ee014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txid": "328a694e782f085a82ec01a93056c57541adca82ce3007a0f910f1b2291c1d24" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..deec23ea57 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a50100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f53682810000000000ffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c0200000000ffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b950300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a82391000100c10100000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0100e1f5050000000017a9144365f80ae9830dab1d9124be68c74c2fa23bbc128702483045022100858c9aa2a8a09e21aa6c2690d9310d29b611b5c3c4684a278a35df474b77d2c5022006557c234f65761407cafba42273f10380c3f0fc672fb78a3d19d7d4de1953ed012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f00000000220202d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc61483045022100c15ce99736373c306708f8cc510a4ad85e109c0482918cde4cd64957eece542a022063a15d21b3c13ed5e5bc350b3bc677183c4041cca4b90c25ec4318f4f2d67dc20101030401000000010469522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53ae2206029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d148374ad8600000000000000000100000000000000220602d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc611403a82391000000000000000001000000000000002206030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3514e15f6f2100000000000000000100000000000000000100fdfe000100000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0300c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b00000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600c2eb0b0000000017a9143fafee16e19a14db449ab3a57da1fd3ef89daa59870247304402203eac5776ee059ab03970aa4de32186769f24c90225b015b1c2af58f900ce1f9c02201c8ab9bf330aff31efdf9937e4bdff4a79629df2e506a445387c5404d5fd6f07012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a7483045022100c4767d763ba74be1c9e39cc0972e31ff89865b03973f218c1ea2cc26334be8ae02201e164bca6f26364ee522d967aa70ea53b00c548a6f876478033d629759a3380501010304010000000104695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453ae2206021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a71403a82391000000000000000001000000020000002206026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f3024148374ad8600000000000000000100000002000000220603b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b914e15f6f2100000000000000000100000002000000000100fd1e010100000000010101010101010101010101010101010101010101010101010101010101010101010000000000ffffffff0400a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e11100000000160014883ad8d1affdf8a73cbdaf7237b5c5ab9ec2c32600a3e1110000000017a914040c4ab99a665c767adaa50fb28dce2ae514363b8702483045022100f1048d424cecee8bb0f80f884a141ac77d66ec734d5b678e7179c21f0dd6999d0220652a35be4ca4e7acc73ad8d45e8483cba4420e0f99c7b77608cbba5ca507966b012103bd0c34b2373e387575cddb103ec03916c31044f2508e261fe3597a2680ecbd1f000000002202023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c483045022100e722510ad6c3aabcad9684e302c07bbb56c8c8fa860d68d800d1d3582b4bdee202202e40d997fdec7dc1c8b61d450b75cfde8c285caa12cd7b5e8897083ecad0ea5e01010304010000000104695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53ae2206022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d14e15f6f21000000000000000001000000030000002206023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c1403a8239100000000000000000100000003000000220602b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b148374ad86000000000000000001000000030000000000", + "coin": "tltc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "8f52b9ad56724efdcd392f50d8cda59e333d2eb7a3e3b2ac0edf191463a2751e" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..3aefb4e1bf --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "818236f569e2c257866e3b2b2f496d32b9972d67bbae0fffe10bd5d15c439a28:0", + "address": "QSkMY5N6DFBpLrYiL1BjvmSK3mQPb8W877", + "value": 100000000, + "chain": 1, + "index": 0, + "valueString": "100000000" + }, + { + "id": "3c8a8235f781763203ceea667a440934e00ab639866664a04e18fc8b14862b1f:2", + "address": "QSQjSDZkLWPFozeCcahoHamS5oTXoc3LZe", + "value": 200000000, + "chain": 1, + "index": 2, + "valueString": "200000000" + }, + { + "id": "959bb11cb05102765373e1174b0ef61d75ca7b81d3245aa82e9756219cc360dc:3", + "address": "QLyPY82ieb3gQoismr9CbZw1rgFMtCBbR4", + "value": 300000000, + "chain": 1, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "0100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f536828100000000b60047304402203828c6052fc53c573b8ad653ac80fe26e1d1ddde683faca519b2820212da4f7d02205e7e55a1cc552687f5a9ec8e9bd135557c09d9b2aaa0019929288c630fd1ceea0100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c02000000b700483045022100f758208f72138002f57aae96b15a7b60a059d78da132c0e3c7e0abb4bd567f3f02205ce0a003b117d77542d8e1a46eded5c661996e69ee123c146d65338b9cd881250100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b9503000000b700483045022100adf4e985196efef77c9bd658691e056c54e2ef6b9b829f1bec67f5d457ce828f02206c2c11f191d754f418383635d37b2a47f0539857e75b631f9637733fdfc678850100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", + "coin": "tltc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "7cb327f1dde5aac990f3b053a4aa24d1dc2009d682c5c76062d9cb5737feb36e" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json deleted file mode 100644 index 536df70d70..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "501f041b8c185211fa79e808efab8e272c83c68591421d075f3e1ef4cff11e4f:1", - "address": "QSkMY5N6DFBpLrYiL1BjvmSK3mQPb8W877", - "value": 100000000, - "chain": 1, - "index": 0 - }, - { - "id": "90d757c7fbddc72cba697268a5c021d42fdcb3b805ea468069d25143b2a3d14a:1", - "address": "QSQjSDZkLWPFozeCcahoHamS5oTXoc3LZe", - "value": 200000000, - "chain": 1, - "index": 2 - }, - { - "id": "d3ade8c91f76d9d96e38abfb3fce2b9f81aef9d9940ac81aee21d3c9e9d4d1bd:1", - "address": "QLyPY82ieb3gQoismr9CbZw1rgFMtCBbR4", - "value": 300000000, - "chain": 1, - "index": 3 - } - ], - "transactionHex": "01000000034f1ef1cff41e3e5f071d429185c6832c278eabef08e879fa1152188c1b041f5001000000b60047304402203e1906b19f8493e9bc78f4f79141e23d9e886caf5b6609bb73656fafea34ac7502202bde20057d49beb8daf14a098740fd0283282a7da632e7fc08ec509ed83ef5f10100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff4ad1a3b24351d2698046ea05b8b3dc2fd421c0a5687269ba2cc7ddfbc757d79001000000b700483045022100bb3422e1a1ec8ae70ceeb1ff25a70a3844ed7ade8f72bdfe1fbae30cb86b921d0220360ecb5936ddcdf89ac9e2d1775e79c0081cd89382811e4c72878f5fc14f859c0100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffbdd1d4e9c9d321ee1ac80a94d9f9ae819f2bce3ffbab386ed9d9761fc9e8add301000000b60047304402200679bcf97efefa52ff8502b4ce2ce23f2f0cc67b1bdf199dff6a4b9a778956d50220553a4547db0772c30e0637b69e0a9d6ff040162525bae42d6fb2cd373c1e3a5e0100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000", - "coin": "tltc", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "e572b9357eb4283d7cf8cc37be58e4744acdbd11cbbcdade8deaa2da345f49f2" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json index 282f66f518..8a7e0ede69 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "01000000034f1ef1cff41e3e5f071d429185c6832c278eabef08e879fa1152188c1b041f500100000000ffffffff4ad1a3b24351d2698046ea05b8b3dc2fd421c0a5687269ba2cc7ddfbc757d7900100000000ffffffffbdd1d4e9c9d321ee1ac80a94d9f9ae819f2bce3ffbab386ed9d9761fc9e8add30100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "0100000003289a435cd1d50be1ff0faebb672d97b9326d492f2b3b6e8657c2e269f53682810000000000ffffffff1f2b86148bfc184ea064668639b60ae03409447a66eace03327681f735828a3c0200000000ffffffffdc60c39c2156972ea85a24d3817bca751df60e4b17e17353760251b01cb19b950300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "501f041b8c185211fa79e808efab8e272c83c68591421d075f3e1ef4cff11e4f:1", + "id": "818236f569e2c257866e3b2b2f496d32b9972d67bbae0fffe10bd5d15c439a28:0", "address": "QSkMY5N6DFBpLrYiL1BjvmSK3mQPb8W877", "value": 100000000, - "valueString": "100000000", "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "90d757c7fbddc72cba697268a5c021d42fdcb3b805ea468069d25143b2a3d14a:1", + "id": "3c8a8235f781763203ceea667a440934e00ab639866664a04e18fc8b14862b1f:2", "address": "QSQjSDZkLWPFozeCcahoHamS5oTXoc3LZe", "value": 200000000, - "valueString": "200000000", "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "d3ade8c91f76d9d96e38abfb3fce2b9f81aef9d9940ac81aee21d3c9e9d4d1bd:1", + "id": "959bb11cb05102765373e1174b0ef61d75ca7b81d3245aa82e9756219cc360dc:3", "address": "QLyPY82ieb3gQoismr9CbZw1rgFMtCBbR4", "value": 300000000, - "valueString": "300000000", "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "tltc", - "txid": "b292bcadbfe54a1cc4fc2dfe35d0118a8b360a92aec2c4ddfc5201f2173f7215" -} + "txid": "15454128619e030a6338799449934241c024abf40d52585e9e003eef622636b7" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json index e2a4fcd5c5..5e09c53655 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "1547e065db154fa25594e7110a5bb1d16c03a382aec3a861275640ec75f450fb:1", + "id": "887016e6d1109bdb219ce8ce3671879f4d3410eb4abba6ca760dcaf88834c02e:0", "address": "QVcoQQAt4PtM283gTnps8ND268U39xcAmx", "value": 100000000, "chain": 11, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "6b4c2ddf0cdf18f25a169e8620a1900db3e882f2ab80eed201cd798ead216f6f:1", + "id": "16839837f79f95b5cbf22424ea879f8d21a852208bd5539b79c6b004a46d9221:2", "address": "Qa3qujsPhJj11Gte4qoupruFwys8hNQ8Xf", "value": 200000000, "chain": 11, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "aa8e3b30b5b5969e3ac59a06b1cd4c5e5dcc4ffb2f02752e855a3a663d8b423e:1", + "id": "0bffcb3fad2801934dbf7b555b3bcec9dbb2d3377b79f820e8d3cdb16576f1b5:3", "address": "QWE9gGSahVapPFV8cMp7jtveupSsAhLmV2", "value": 300000000, "chain": 11, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "01000000000103fb50f475ec40562761a8c3ae82a3036cd1b15b0a11e79455a24f15db65e047150100000023220020b858b5820bca303626d8d5a5291b5a0dcf839c76d61c32eb226c9d08fd06e3a4ffffffff6f6f21ad8e79cd01d2ee80abf282e8b30d90a120869e165af218df0cdf2d4c6b01000000232200201063b62f857751aaeaf8c7ef5636d48511fac0008f8ee69e4b1a006b2b74e553ffffffff3e428b3d663a5a852e75022ffb4fcc5d5e4ccdb1069ac53a9e96b5b5303b8eaa01000000232200202b16216e81e558810abe7604a67aa97b737f64d40b3de22d5fccdf2b6c972f03ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400473044022063aa97fb0947e3b6a191cd48165c97e8246f284040341779a29f55c7f47c754002203a51f286fc746c76573ee6033cf9cc62e3cc9be2a615cfc58a940bdf162c4a910147304402200bfeb45e2c5d32744f7d3326d0340df474d250416c0f7332e13b551464b0ac7802201178ccc750852b75b9c063cb1e428671b50ce8236345122e1fbcdec2fce9ee2401695221032484ff761a521ee38b094232984175f1db28c90fe304c7242c0057330b6e024a21022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0400483045022100d54b79954fad03bc3935843383807a18603762c63222a5dab312265c12a9b2f9022008bb43f3d15786e27246b9c34008689457c466f85a2d7a2967baf455cdae2de0014730440220119db3f5641e98491d54525bb306464e733b0f0b34e1b51567adfc65d846553902204a84bc23e6ec06aec0a7eb66f72068d3d68af8c4e973c52c33097a80e00251cf0169522102678b7a7d9dc0736691adc5b681808f1bbc981563ffa23e1c302d0a4006e7fa252103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae040047304402206cce761042924e44301b2e388da91e0a186ea1fcfeaf249c57666064f26d59d502201a5d99498d45d799b0edaf4898b47e9f0341580867c196f37071b106ca6d30b501483045022100aa6f1770762f8a5afd0530e19b92e61e543d2d7acdce5a4cfb7cf7f8315edefb02203e08c356cd7d203cf0d73fc207926f0ff80558f526d6ab9a6df9bb066dcce4da0169522102be72efeb6abfd486e92e30221f854983722118d820c90d5b2999b8623b27abee2103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", - "txid": "eb0d977f3047e8f5881b9a71e55a3354b4e0b2fd96d0d8ded57ee79899c9c166" + "transactionHex": "010000000001032ec03488f8ca0d76caa6bb4aeb10344d9f877136cee89c21db9b10d1e61670880000000023220020b858b5820bca303626d8d5a5291b5a0dcf839c76d61c32eb226c9d08fd06e3a4ffffffff21926da404b0c6799b53d58b2052a8218d9f87ea2424f2cbb5959ff73798831602000000232200201063b62f857751aaeaf8c7ef5636d48511fac0008f8ee69e4b1a006b2b74e553ffffffffb5f17665b1cdd3e820f8797b37d3b2dbc9ce3b5b557bbf4d930128ad3fcbff0b03000000232200202b16216e81e558810abe7604a67aa97b737f64d40b3de22d5fccdf2b6c972f03ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87040047304402207d54be589b6c1025283b43402f788e5df2823be0c08a67d00c707f998d33905f02200abe7d2722a62f66fd4582af266b36254c8966184b4383e935aa76810c85b88d0147304402204427ff567bc701a9662a74bd730bc70dd22d30695f50678ad81785b4584c8845022028a7561021e5fdd140d30b3abdec13c05cc448da9e5e38bfc0cf9d693735732501695221032484ff761a521ee38b094232984175f1db28c90fe304c7242c0057330b6e024a21022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0400483045022100da3a4808be7bb6ef4ac1534e310b79b6297c6aaae7fb36540e598fddba1b3e83022013626ce8a8512ae8252edb8c635b003c588a8369480821152f5d96327e56e1d20147304402203b0df6269ffffa3635a9698bd06863c9a4193547492953ca52b92609dbb78e0c02205200d9013e6eef136eba572406231127e1ed8cbcc36548c14234fe68d163064d0169522102678b7a7d9dc0736691adc5b681808f1bbc981563ffa23e1c302d0a4006e7fa252103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae0400483045022100bb2721b111314619ca01a60ceba591ce63ee7b04901584eaa6194f14de421e080220209f5acfcb77f27c3659913590f2ae11f06d40947457faa6065248059349b445014730440220585ed3ebe3361cf7b77c5ca45074468dd71fd16f26c6ba2c0a5126c43dd6751a02207a894f15c968736063a77b62aa3a7e5e1188d893c1392d4f37ee92310d5538590169522102be72efeb6abfd486e92e30221f854983722118d820c90d5b2999b8623b27abee2103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", + "txid": "032cba72ac12735687826665632affe4270704422534de39b72fa14d07d3b83a" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json index 0c39f12865..a31e17e716 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "63c5a1ab4de089fe6182acca8445d1c42613bc3567df04e051ce0aebb1c22188:1", + "id": "c3d8cd849b9f1939bea833ef14735be7c293bc7739241098ce386b968420aa4a:0", "address": "QiZVqpGzbzM5aLi19pWSkdJqzg7LkJqXZ9", "value": 100000000, "chain": 11, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "8148ca246eac4d9b25356212afb7cf1f63643e03fb50adb189fafb8721309073:1", + "id": "7f0246d1beeb93f1990650508d4dbfb6a35ae4489abb5aa6724896efb4ad8c43:2", "address": "Qju81dU8qtmSb5tczrytKcpf8jkBNYGK8n", "value": 200000000, "chain": 11, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "756592b6b60a323abd269ed53b611c05cf69add5f79686145d10000c76f73859:1", + "id": "6cc0e85f057729f4485b2051c3f2ed6dbc8141a6283cd3697f52f90d482947e3:3", "address": "QSvwNTrAzjRCRvasW89wwv1fRfxRfM5Bru", "value": 300000000, "chain": 11, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "010000000001038821c2b1eb0ace51e004df6735bc1326c4d14584caac8261fe89e04daba1c56301000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffff7390302187fbfa89b1ad50fb033e64631fcfb7af126235259b4dac6e24ca488101000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffff5938f7760c00105d148696f7d5ad69cf051c613bd59e26bd3a320ab6b692657501000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87040048304502210088a3ef8767ad688a2dbbcc91a2d1db26e177585e426299b6697b69240de2e9eb02203e9e35167bc33c0825c949b60aeccfb50464f464bf20e1ce6dda4035f6344786014830450221009a1a6a77c5eab4c4fea57b1dac7edefe3d1abd2c3dc664b7e8f62f649c9c377102200fad5d564882ca9c605242007d06062a80b7340ffec7abf55e13bffd476482d6016952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae040047304402200e151e28235f48777b383a86ad5fd9e7a8b1418a80d5ef4ed3e663557bff791602205988253ba058927ec0d68b0d2b930d99b132335875e51dc835c52901905b63df0147304402202ba8c7bc918c0793f931e2607001e66e1a93914d7ce153aaac5b2eb4983e8cbf022054aed9b915453b821458fd8beece5b05b4f6e15a1dc87dbf8029a9de77fd133c0169522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae0400473044022038d3259e0468c28364034ac421fe121f7bd1535850f74aca693617184944dd6f02201cd934b8e76eaa95b1fafb190ecfd88f9f59282f578e316252df8f8f9f3d479c0147304402206cc485bee22c5fec0ab0397b8f12bfef51957a89bac9beab9081cac8577d6ee40220233f61b8dc28eff43ff9f31e1707844a155e10475389daea8b5bc2a15a10c7a10169522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", - "txid": "437a1e4ea01f18c3e71fe6535072393d4e8df6bbfe43f9bd74f14d8162f9b7b7" + "transactionHex": "010000000001034aaa2084966b38ce9810243977bc93c2e75b7314ef33a8be39199f9b84cdd8c300000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffff438cadb4ef964872a65abb9a48e45aa3b6bf4d8d50500699f193ebbed146027f02000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffffe34729480df9527f69d33c28a64181bc6dedf2c351205b48f42977055fe8c06c03000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100ac7a0a1f45645b1b550f3e44b1c4db2b6e41b702e30c6ac504407e240b305f6f02204a376cf87826c3ec0ea05ddafc05df3f1d9c62f7f213041346a222eec309fb980147304402205b2c335f1770f77bca9264687efd55eb074ca0ca176d5fc48c0d7cd4e7c85af1022027bacc464154faadf0ee6ad8bade5b188ea5afdc8f5262644e3c00e094e2c83c016952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae0400463043021f753406a28aa9b4b47430cd0c0e4bd0d392e99ecf58e85ed7a1bd9c43d1c3e1022073bb1d8e33981210760b609c056862464b4a4cd74a9fb5510a57f4a88be7ec4801473044022010221b0c005bbd30a61eba6b4f4031fd4a4480de816134274e050043b31a08c6022038e14ce618fa997209db4e715a2f6385e8dce21e76c397d6182becc99af7b8620169522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae0400473044022018ceec1e4a56b15f767b3dcb6b0cda382e225ded7f450a732eb080bd0837101502203570e94107651c6a590b8681b7f8795a572cccec1395509960df8270ff94859c014730440220167f9a698cc6d7b4425226ef34f3db8197e701a284de0962108edb774fe7d45a0220171dfed54a1c56911388621589bdb77d6d67c5b5d06560e9e2322d5f32a523540169522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", + "txid": "c6865e1296858dbbcda5eed4de7b07cbf959802acd27ac26ca68120e76f521be" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..09e962b7f6 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a501000000034aaa2084966b38ce9810243977bc93c2e75b7314ef33a8be39199f9b84cdd8c30000000000ffffffff438cadb4ef964872a65abb9a48e45aa3b6bf4d8d50500699f193ebbed146027f0200000000ffffffffe34729480df9527f69d33c28a64181bc6dedf2c351205b48f42977055fe8c06c0300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a823910001012000e1f5050000000017a914f0da56d9bb06310289d808a22ad68457a760ac038722020386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c548304502210097c2aa44c0f495846c9d3661235e7b6ce9fe8fd8337001156eff75a1ade70466022033608757fd1d2fbcc26d9379ab0ffc65728a9d3d1a0faed1ae13c49f97719468010103040100000001042200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae80001056952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae2206022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda414e15f6f2100000000000000000b00000000000000220602f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e227003148374ad8600000000000000000b0000000000000022060386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c51403a8239100000000000000000b000000000000000001012000c2eb0b0000000017a914ff888f939bb7911883d2a990b48b20449b0a3b6087220202787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd483045022100e8cb817725036eaa7ef25aa5b3f75038e3a85b80e3400dd4c49772392e88358702207da866724fb735ec1c11defe1148b87593465ddf669d2f8265dc3438ff381986010103040100000001042200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104010569522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae2206021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d148374ad8600000000000000000b00000002000000220602787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd1403a8239100000000000000000b00000002000000220603f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff14e15f6f2100000000000000000b000000020000000001012000a3e1110000000017a91445665f38d00633b9a2cb7f73c2fffb9dc6c95efa87220202a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d8473044022000d7b0ff8fbe7c0e977d24540f769406d66930a65e7821f165f33a6afcd25ce1022047de2d86c480fbc27a4d016f1b78a1922076be3a721397e10e23719f91c23133010103040100000001042200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06010569522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae220602a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d81403a8239100000000000000000b0000000300000022060391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f18148374ad8600000000000000000b00000003000000220603cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a3914e15f6f2100000000000000000b000000030000000000", + "coin": "tltc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "54893c251e7356739826e0ee00127daddc52bb1280b9a808a73678f0d3b0e79a" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..b3fdc700d5 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "c3d8cd849b9f1939bea833ef14735be7c293bc7739241098ce386b968420aa4a:0", + "address": "QiZVqpGzbzM5aLi19pWSkdJqzg7LkJqXZ9", + "value": 100000000, + "chain": 11, + "index": 0, + "valueString": "100000000" + }, + { + "id": "7f0246d1beeb93f1990650508d4dbfb6a35ae4489abb5aa6724896efb4ad8c43:2", + "address": "Qju81dU8qtmSb5tczrytKcpf8jkBNYGK8n", + "value": 200000000, + "chain": 11, + "index": 2, + "valueString": "200000000" + }, + { + "id": "6cc0e85f057729f4485b2051c3f2ed6dbc8141a6283cd3697f52f90d482947e3:3", + "address": "QSvwNTrAzjRCRvasW89wwv1fRfxRfM5Bru", + "value": 300000000, + "chain": 11, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "010000000001034aaa2084966b38ce9810243977bc93c2e75b7314ef33a8be39199f9b84cdd8c300000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffff438cadb4ef964872a65abb9a48e45aa3b6bf4d8d50500699f193ebbed146027f02000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffffe34729480df9527f69d33c28a64181bc6dedf2c351205b48f42977055fe8c06c03000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf870500473044022008f803a8276a5bb4c5d818e910e185f5212833eb808cd39bc305c15ec6345d2a0220323f437f6a7118f8c6b4a6c6b373b3018d3c4ed25b9149d9b64a6d1c6c0418e60100006952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae05004830450221009508613d107aa55ac2837a0c5f1425d48b55d30ed6a7f90945e40ca7680f3da2022039b5231227a7237d680bb0adba3aa4bfe4f355e1128bc181dbbcf07db3ca513301000069522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae050047304402206307490d80aa26421b98da586d95f1c81ec37ba5f0f7242a2775a601e249da3a02206f76f4b9d0eea59c81c98de0be090f8471fa5e58bbcd4e6cbcf2d6a0581828a601000069522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", + "coin": "tltc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "709929d8ec6cba5831d4e1d494af9b0b575509182c502f325c192ff05b254f50" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService.json deleted file mode 100644 index 1b214cf9b1..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "63c5a1ab4de089fe6182acca8445d1c42613bc3567df04e051ce0aebb1c22188:1", - "address": "QiZVqpGzbzM5aLi19pWSkdJqzg7LkJqXZ9", - "value": 100000000, - "chain": 11, - "index": 0 - }, - { - "id": "8148ca246eac4d9b25356212afb7cf1f63643e03fb50adb189fafb8721309073:1", - "address": "Qju81dU8qtmSb5tczrytKcpf8jkBNYGK8n", - "value": 200000000, - "chain": 11, - "index": 2 - }, - { - "id": "756592b6b60a323abd269ed53b611c05cf69add5f79686145d10000c76f73859:1", - "address": "QSvwNTrAzjRCRvasW89wwv1fRfxRfM5Bru", - "value": 300000000, - "chain": 11, - "index": 3 - } - ], - "transactionHex": "010000000001038821c2b1eb0ace51e004df6735bc1326c4d14584caac8261fe89e04daba1c56301000000232200202ce48eb68ff4a96f2742cfbdd90210ae30bc7cdbafd63fbbe368802e3c0ae800ffffffff7390302187fbfa89b1ad50fb033e64631fcfb7af126235259b4dac6e24ca488101000000232200206fbe320ee6cef6a57f89af5ffcc027a2413a768598a36617bee7310028bc3104ffffffff5938f7760c00105d148696f7d5ad69cf051c613bd59e26bd3a320ab6b692657501000000232200208b9b1b4c660760e162f678ec6515fb574b48e93eb5ff4636dd85d1788a977d06ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf870500483045022100b2f639290e5893f9bde3c575edcc20a17ba192067496d856e458557bd167df0a02207dbbec6371f024673df181a151284114a14c95949b8f6ca259f7d9058dbd539d0100006952210386b73c1c9e0d5c3370496426cdb6593bd69bb93743e135860aa5797cd04353c521022e79cdb1ee0b8cad6c9667fedafa92f8472f731f627dc8e0018571e4de9dfda42102f6d5e998e5b41e7e783c7c5c8a633cf333b86200aab31676ab07ed336e22700353ae05004830450221009e21f9587e7efbfca58474e1626d751860c33f79c451e984a7de5b3b0e5d3b3902207a76dfd3fae7d7e0dd96b1f2aa28bf6b40f7a360ef67afec15f3b3f00bd80df501000069522102787bacc6de8d57ecd2cdbde2e405f6328e52e3bdbefc5b3ef75a87f8f4c6c8fd2103f1f0e0df1b33d83a63a6ee6f70005f48e2c1aa221d1d9748c495a873e01ffcff21021b1ce0837f6c057a6622b90bcc30d27685df6e19717864e7ed4b289f790fb24d53ae0500483045022100f261276714ca6e927049a315cea865b07536debb813cdf777aa51d3472995dff02206e65d58f30f5207ea05af7551a895123a5f9a98365e935a7ed9260dba777c11f01000069522102a816e254943391bb037211dfac8dda132bfcf2051c386631402834e2783466d82103cccd821265c6da3e77e4db08d4c6f39a259abbd143017fcf264b8a4114812a39210391ea88b71b8275193f39ffffef42da14c775d7a13434aa5427dc5bbb0ccc3f1853ae00000000", - "coin": "tltc", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "afc9513d8dd077137abed886a8d78609af6b4d86eba20de8f9fe72e20dd88ed4" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json index d0c21d3d7d..81f1755b61 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2shP2wsh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "01000000038821c2b1eb0ace51e004df6735bc1326c4d14584caac8261fe89e04daba1c5630100000000ffffffff7390302187fbfa89b1ad50fb033e64631fcfb7af126235259b4dac6e24ca48810100000000ffffffff5938f7760c00105d148696f7d5ad69cf051c613bd59e26bd3a320ab6b69265750100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "01000000034aaa2084966b38ce9810243977bc93c2e75b7314ef33a8be39199f9b84cdd8c30000000000ffffffff438cadb4ef964872a65abb9a48e45aa3b6bf4d8d50500699f193ebbed146027f0200000000ffffffffe34729480df9527f69d33c28a64181bc6dedf2c351205b48f42977055fe8c06c0300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "63c5a1ab4de089fe6182acca8445d1c42613bc3567df04e051ce0aebb1c22188:1", + "id": "c3d8cd849b9f1939bea833ef14735be7c293bc7739241098ce386b968420aa4a:0", "address": "QiZVqpGzbzM5aLi19pWSkdJqzg7LkJqXZ9", "value": 100000000, - "valueString": "100000000", "chain": 11, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "8148ca246eac4d9b25356212afb7cf1f63643e03fb50adb189fafb8721309073:1", + "id": "7f0246d1beeb93f1990650508d4dbfb6a35ae4489abb5aa6724896efb4ad8c43:2", "address": "Qju81dU8qtmSb5tczrytKcpf8jkBNYGK8n", "value": 200000000, - "valueString": "200000000", "chain": 11, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "756592b6b60a323abd269ed53b611c05cf69add5f79686145d10000c76f73859:1", + "id": "6cc0e85f057729f4485b2051c3f2ed6dbc8141a6283cd3697f52f90d482947e3:3", "address": "QSvwNTrAzjRCRvasW89wwv1fRfxRfM5Bru", "value": 300000000, - "valueString": "300000000", "chain": 11, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "tltc", - "txid": "8abe3c4a62461e1168d4980614af880f0b44a1378dd79907dab941ea846ce53c" -} + "txid": "f6e2efdf6719634a3ad9bce3a866f4540720c2601e89a87840ac2930f576d764" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json index d510279970..ea01501499 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "139a2b3ba6737a5432797ab0c53a4cff74836b0bc8bae2d629ccf5bb8999eae3:1", + "id": "175dbc7fab42ec55fd2a8d7062f30d973315b9d4c175c65173117f438e79a50c:0", "address": "tltc1qdneyaj2s0wxu2egqac347kjsvxmcgyqpj7xkpshsa3tcghhs3ecq5r66m5", "value": 100000000, "chain": 21, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "921dde232785fbd0f0cd5bf8dbf2806424028a05395b417ed9ba570d87f2526a:1", + "id": "ece5336891c75f99c4b26be522c903483b6fe01d989a9a3e2179d418bc4fff33:2", "address": "tltc1q8lxf2fq0yhzd2ytndhcc4432yjugacfxgxrha69xsjhctuztlcaszxst6e", "value": 200000000, "chain": 21, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "2936f320f0d5f65df75e66ac68159b1fe4d43a9fe5beca5397559ae23a9377ef:1", + "id": "fe88d5200cdf96648e5c5c886760deb41ddcd7e1475e9fe8fd7e7448b47d39b4:3", "address": "tltc1q55jrprtwpfvu3jaq729sq0rraynctezqtpdtgrc5e5v60ssptwaqysseye", "value": 300000000, "chain": 21, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "01000000000103e3ea9989bbf5cc29d6e2bac80b6b8374ff4c3ac5b07a7932547a73a63b2b9a130100000000ffffffff6a52f2870d57bad97e415b39058a02246480f2dbf85bcdf0d0fb852723de1d920100000000ffffffffef77933ae29a559753cabee59f3ad4e41f9b1568ac665ef75df6d5f020f336290100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8704004830450221008e5986f9c9567c4182490ff6078929aae8dfe0dfecc5422f720b3e69cb8dd5ac0220382df218fa3d2b869cca5563cd4b6dfd4c78c5fce3579a879f10b187c111571801483045022100996e47e95a587b6abb9d61f8cd5c9a790ae17fb2009cf94fe8515ff69c04348802201034fac3fad74dd91ab805fec63ba31738df9ca8983e2b2b8ea43eabb01e978e0169522102e7386fc3b8f8f334c51add4a7c325c804896d60fd3fa33f3206b6f0143081865210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae0400473044022034a3bf9c3319c324db2e1f6be16f11cf8e45e291100a1989174d93538b2ac044022060523518702b34c4b6e166c153c2b5fb7af05fd85be8a7cfc7fcb788dacdb4d801483045022100eaa64b992327d1a0891f904e3238baccd5d5b3fba07264a0ef549eea0fde8cf20220620f7481bcef9f4b9b33474a2dc132adb8a40af98705457664b43e70f9c32fe5016952210262e2d7db076a14af58f92fbc591d870606afc4362f8deead03425bf16de332fe2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae0400473044022072f0cd6f48deb5876a63e1c9812fabd06b85100e285d07d8abd19ed9fe2edc7e022003cd961b65102db859c51b896f96a1fda5727af0374e1484e6005b9b0fee18c3014730440220363356a1471520f021e089a20a3251b779b1b2cd609386bb852dd13001c37f020220796651e4905f1271828f05052d8feb5f34018330c65492954e5964446305dc200169522102b107ccb600ca89ca074c0b6c95e48bfff7f2dc9d33e4bdf9a5c929053f4a87c921032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", - "txid": "089f94e85b466af627072b9df15e3230efae444f32ec5fb3f0f3d41005f52938" + "transactionHex": "010000000001030ca5798e437f117351c675c1d4b91533970df362708d2afd55ec42ab7fbc5d170000000000ffffffff33ff4fbc18d479213e9a9a981de06f3b4803c922e56bb2c4995fc7916833e5ec0200000000ffffffffb4397db448747efde89f5e47e1d7dc1db4de6067885c5c8e6496df0c20d588fe0300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100fab04bb98db89733b6f685333b9b3ef4bbef840d08dad44e4d57b0b4a96ba96702207c202dc5c8eb7eff9c36d17d87e03f1cdd5d4069000007a060f2e7ffaa23643501483045022100e57e55249c38e9545861bac9fd50ea9fb8242c0a200eb8427e58e35c892171890220719e39f9d3374dc8142c970c06bb5998a70121a7efa4460bc794b4f450d8a23d0169522102e7386fc3b8f8f334c51add4a7c325c804896d60fd3fa33f3206b6f0143081865210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae04004730440220040e4e229b845e795a0e6d0ef81d06fedf9e6d8ce03472f6c259f8d9dd4ada030220315c3b83c85aad471566c4d8aeca11a32d11bc8aa43f293fb20e65633e75376b01473044022047b6cc1dc6e2f90d44dde327c8db8961091f9bbb14c78b71cca6e3513e24bf20022016cdc94f0e75ffeb3d8c1446ecf71a32e0b9f7815ee88e53da26fc9049df0518016952210262e2d7db076a14af58f92fbc591d870606afc4362f8deead03425bf16de332fe2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae0400483045022100c7ed2926d59747e64853622796b16c0a7a2ffebfbb7830b725d7d71cf707ea8502203c83136368afb8e5ffbb0f85de1f0025f736e24b0303894e7903f1a34544421b014730440220058a7a96110d0135fefe0466b4fb03c23eeacd4a1abb1c77b19859c06e6dbff30220481e39b7413333eb8ab4c4a0b75a2de245b026b14ad093927f57b866d138d3860169522102b107ccb600ca89ca074c0b6c95e48bfff7f2dc9d33e4bdf9a5c929053f4a87c921032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", + "txid": "2243a0dc3d63f94bca937404d1a2c49fc0703f6054122d4e518b0f36a05bdc67" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json index 668ff124f5..86615745fc 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "8d7cab38b95c001d40d41ad39993d94b77171acede1a20ccfde9a3ac7946cdc6:1", + "id": "d3c756572affce5f37fc6c556f3c1113be063a7c61df6ff8b3008848ea9bfdb1:0", "address": "tltc1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gswavqrg", "value": 100000000, "chain": 21, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "9ba0ab3c9853f4db24fefad69f0eb4e5ae41b09babea52ce6a09bd560103a970:1", + "id": "9d21659b6e9ef5b353b7f41b590d10508b999b46392b60136e0614e3e1db8368:2", "address": "tltc1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2utsugxv8t", "value": 200000000, "chain": 21, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "d63b6652fbb80dcc4c111bb124b9cb7d5c730990719f07175fc44dcb0cd6e22f:1", + "id": "552e492060fd183e0d6fb8be789bcd51c92248c77fdc622e2a318d946361e195:3", "address": "tltc1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0szmk8gm", "value": 300000000, "chain": 21, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "01000000000103c6cd4679aca3e9fdcc201adece1a17774bd99399d31ad4401d005cb938ab7c8d0100000000ffffffff70a9030156bd096ace52eaab9bb041aee5b40e9fd6fafe24dbf453983caba09b0100000000ffffffff2fe2d60ccb4dc45f17079f719009735c7dcbb924b11b114ccc0db8fb52663bd60100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8704004830450221008da616d085d53b8607dcacf421038274cae311357cf589bab11eef52ca126d98022038a26dd98887ea071d4cb893c95ecc2e0779a5a389658886f8b5961351c9936601483045022100b9d15b378493d96c11907a067e711e93765ec556dd9562f29d374e3fa1017c98022053bd8dc54920f5f96880676a6e6d2c26701033fb137c903f772ed8963360e68a016952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae040048304502210096044673fb88841929d369115a651db6d5f5a6a200bad0e93df2bb04b0a8a0f9022040f7769d06a2af52abba123fb3abbfb9a477f3789f721fdc55db703590d4c0ff0148304502210097168eb3785d836380ee2e4b51c5b0a0fa3243a549a5572022835370f794617502200d62809a456f89a3ce66d8ad466c423f5e97f3c50639f1344da2f0ac04a9e87101695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae040047304402207007787e0e5091b3e16224a4990ea059e4286fed7482a189d7753d75776f3b41022029d599ccc1d8974c873507f89972fa08ebe9dc59a2c5c2aa4cf5e2b016447c1c01473044022038afd25c5048134c2a5d9daa37d0ea42e481d0b01608a4582949933f23257ebd02206d72c0a526424264319ee739a0ad404f5a52772641ae75b8236f21585f2fe5350169522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", - "txid": "f541e7d7a1d3e24659bc13f84369ebffc127da324a5793c419a155ec8e82b81d" + "transactionHex": "01000000000103b1fd9bea488800b3f86fdf617c3a06be13113c6f556cfc375fceff2a5756c7d30000000000ffffffff6883dbe1e314066e13602b39469b998b50100d591bf4b753b3f59e6e9b65219d0200000000ffffffff95e16163948d312a2e62dc7fc74822c951cd9b78beb86f0d3e18fd6020492e550300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff870400483045022100957d87027590327a121c4df72ebc9f965c4f2ef5f3ef93a94fe2800eb151178102207272b6243d1b346fdfc473971b3654b1d7b404175abad7b9d7a7e13c2dfbc8b601483045022100c7eb476a4d88154a05506724757e7e311fd61d020899477fab17622edcfe5d0d02200ecad823cfb5662d04052d1a9e08a2dbfd35fb06b0468438ea2b7548be26f43c016952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae0400473044022076e2fa09def10747f9462d315de880f53bd9d96e7708936783264c0986b66a36022005157ebecdf90a49c97e1b2020880d0cfa70aa6dc26efc2c940a351ff2527c7d0148304502210098a7534e6bea4a3e11e68d2da14b601e07274150c4d977313f85c84e1cd653870220256187239b37a52c2b082a7b9b20c40d87d29b8500ba096af10762f7639b585301695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae0400483045022100f01ca9bcb642ce768882c6024ebc02920449fab5249b2d65f585840e2b27e5eb022068ca7cf0d3ba6959f8edb483b97f16d8323ae00cbda822c4f1b26c2e4765bb3f014730440220342091e15dfa7164474b14b2413dcf1f243c944852f5e9fadd43952068ad6ba1022023f7d93132890f0b765e4a4ac257ab8599d9aa0fde8ab4b98718a334134ca3900169522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", + "txid": "7959a63f331f9984fbdcf764b31435fb993116bbcddb68441af939402daff1d8" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..4dc03cdaf1 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100a50100000003b1fd9bea488800b3f86fdf617c3a06be13113c6f556cfc375fceff2a5756c7d30000000000ffffffff6883dbe1e314066e13602b39469b998b50100d591bf4b753b3f59e6e9b65219d0200000000ffffffff95e16163948d312a2e62dc7fc74822c951cd9b78beb86f0d3e18fd6020492e550300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a823910001012b00e1f50500000000220020a67d3630815a8019181ea89cb190b6fc016c1198ce4f4ecfbd887a6f772a7f9122020391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab483045022100e0738509171e10b8f5410e7c9ff524cfd3b6e80aed77c5c1021e6d3aa43db7690220235b979221d04c03d9af4ee11b7482f5b6c654f79b283d86c6968962d5f588d7010103040100000001056952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae22060285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c14e15f6f210000000000000000150000000000000022060391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab1403a8239100000000000000001500000000000000220603a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb8148374ad86000000000000000015000000000000000001012b00c2eb0b000000002200208b0a497c62b7128694ad7f8efd2b4a6dc084c92a149a6a412371f90fce5057172202027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a473044022064523245caef905574e009c4ae6bfdc374eddbb021037dbb839dbee026efd9760220754c8affb3247ca0d2db97b27ed1ce55797e64dcea50fecaeabdab820512515a01010304010000000105695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae220602003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f03614e15f6f210000000000000000150000000200000022060257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de2148374ad86000000000000000015000000020000002206027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a1403a82391000000000000000015000000020000000001012b00a3e11100000000220020264668d6062f55da885e7454f5f0c28dc07a9a6fbef4b10f4bcdbde5c2d34a1f220202b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90547304402204488e6315f9599f6bfa3b5465b9306e42c6906548a1f346f5405b89f0f2eee6e02207635465fadc5f5c8722689c18a7feaaa58601ca6e4b55af7b1d492c48c3b0a9d0101030401000000010569522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae220602b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a9051403a8239100000000000000001500000003000000220602da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff148374ad86000000000000000015000000030000002206032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a414e15f6f21000000000000000015000000030000000000", + "coin": "tltc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "074919108e267d48672ac585410f9fefaa547ef84f4eb1c8a6e1bc72e93df893" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..44e70c2661 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "d3c756572affce5f37fc6c556f3c1113be063a7c61df6ff8b3008848ea9bfdb1:0", + "address": "tltc1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gswavqrg", + "value": 100000000, + "chain": 21, + "index": 0, + "valueString": "100000000" + }, + { + "id": "9d21659b6e9ef5b353b7f41b590d10508b999b46392b60136e0614e3e1db8368:2", + "address": "tltc1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2utsugxv8t", + "value": 200000000, + "chain": 21, + "index": 2, + "valueString": "200000000" + }, + { + "id": "552e492060fd183e0d6fb8be789bcd51c92248c77fdc622e2a318d946361e195:3", + "address": "tltc1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0szmk8gm", + "value": 300000000, + "chain": 21, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "01000000000103b1fd9bea488800b3f86fdf617c3a06be13113c6f556cfc375fceff2a5756c7d30000000000ffffffff6883dbe1e314066e13602b39469b998b50100d591bf4b753b3f59e6e9b65219d0200000000ffffffff95e16163948d312a2e62dc7fc74822c951cd9b78beb86f0d3e18fd6020492e550300000000ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf870500473044022064684a4f4dde1fd1cfced8658d8417b23193f5844a614805d1d8c53db6ea83ac02205d08d6e0a85fdb167a31e2f17e938130214bbc9361690dd1e37d2b9ef741f9ce0100006952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae05004830450221009a997961bd4bff14ff3a7c12ed2d0bd4133df2a81fd00bf6a2132a43ba1cfd2f022048db4dde9dab08b4fefc40794dd802919ff000097a74e6f4a001be47e2745916010000695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae050047304402202fa7b5c19dcdedf9cb2b28a79b3b5568b811ab5dfa5d2d1285a257563d289b520220516da8e767ca58809db67d9635664190356d3fe85e0a54a942ebb317fb86008501000069522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", + "coin": "tltc", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "588799e9c78373ea7fde449cc01843e003fb687d867ce823e521139dc211d848" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService.json deleted file mode 100644 index 8753f45a6d..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "8d7cab38b95c001d40d41ad39993d94b77171acede1a20ccfde9a3ac7946cdc6:1", - "address": "tltc1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gswavqrg", - "value": 100000000, - "chain": 21, - "index": 0 - }, - { - "id": "9ba0ab3c9853f4db24fefad69f0eb4e5ae41b09babea52ce6a09bd560103a970:1", - "address": "tltc1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2utsugxv8t", - "value": 200000000, - "chain": 21, - "index": 2 - }, - { - "id": "d63b6652fbb80dcc4c111bb124b9cb7d5c730990719f07175fc44dcb0cd6e22f:1", - "address": "tltc1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0szmk8gm", - "value": 300000000, - "chain": 21, - "index": 3 - } - ], - "transactionHex": "01000000000103c6cd4679aca3e9fdcc201adece1a17774bd99399d31ad4401d005cb938ab7c8d0100000000ffffffff70a9030156bd096ace52eaab9bb041aee5b40e9fd6fafe24dbf453983caba09b0100000000ffffffff2fe2d60ccb4dc45f17079f719009735c7dcbb924b11b114ccc0db8fb52663bd60100000000ffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf87050048304502210090ff968827a13215d42c89bfa5764c8f7df948895a11eb9093aedec6eb25c0ff022072ff5a77976ee198754a910960afd927ea24c2a8607f1722ad9ed6f30b2301de0100006952210391e76285ad55895309f6fa7db9fb359489daaf235bb4cb50608f9562122af1ab210285ddd6b1e84e37a9f222737d8b80a8a980a193a783b75b9e82d6e239eb52818c2103a13ee160d79d43201ef5e65b6df4e0842de3b640904d049e64daaaa84a306bb853ae050047304402205d481284bddfd2e5cae1059ecf2b395632dacb396a93ee2474934392b587bfd902204bfe8c40ce852f2d9fac6d39398a9ad88530e1b4fe73ab64a2d61b42b8985c19010000695221027db35d325fb6b20e7990d5e5ca33144c270a2b149b4b4158a6e16a090b276f8a2102003243d889cec7c4c55042d6c10091a536eef3894f573759c5d26a727e96f036210257f6aee3214f76ff02748de7d291866642a913b0d346ccc976d6a77d9aa00de253ae050047304402206516695d3fc376a75cbd4d8ea8e10d68414b3ede80d4d51b226e1239953e296802202c5cb045cb3675d8dedf7be8ce08ee595c011b58d70ee1078269d097dbdedef601000069522102b587356915a019e64745d1e8b75a9109a762feeec08607e46ec83681a608a90521032edf1b3c4b31a0757e1122d558b6dabebdc0b2a39f040dcd4f89ac3e4d5811a42102da0f05c67ffa785717242a75a2f8635fcc1d767b5d88dd772da0547d287021ff53ae00000000", - "coin": "tltc", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "f77e4fc30cc1feb8ffa7cf65d77895dee12a31d0f90c8907445349fb72c45be5" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json index d894b1dd21..f214025349 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tltc/recovery/backupKeyRecovery-p2wsh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "0100000003c6cd4679aca3e9fdcc201adece1a17774bd99399d31ad4401d005cb938ab7c8d0100000000ffffffff70a9030156bd096ace52eaab9bb041aee5b40e9fd6fafe24dbf453983caba09b0100000000ffffffff2fe2d60ccb4dc45f17079f719009735c7dcbb924b11b114ccc0db8fb52663bd60100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", + "txHex": "0100000003b1fd9bea488800b3f86fdf617c3a06be13113c6f556cfc375fceff2a5756c7d30000000000ffffffff6883dbe1e314066e13602b39469b998b50100d591bf4b753b3f59e6e9b65219d0200000000ffffffff95e16163948d312a2e62dc7fc74822c951cd9b78beb86f0d3e18fd6020492e550300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000", "txInfo": { "unspents": [ { - "id": "8d7cab38b95c001d40d41ad39993d94b77171acede1a20ccfde9a3ac7946cdc6:1", + "id": "d3c756572affce5f37fc6c556f3c1113be063a7c61df6ff8b3008848ea9bfdb1:0", "address": "tltc1q5e7nvvypt2qpjxq74zwtry9klsqkcyvcee85anaa3pax7ae207gswavqrg", "value": 100000000, - "valueString": "100000000", "chain": 21, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "9ba0ab3c9853f4db24fefad69f0eb4e5ae41b09babea52ce6a09bd560103a970:1", + "id": "9d21659b6e9ef5b353b7f41b590d10508b999b46392b60136e0614e3e1db8368:2", "address": "tltc1q3v9yjlrzkufgd99d07806262dhqgfjf2zjdx5sfrw8uslnjs2utsugxv8t", "value": 200000000, - "valueString": "200000000", "chain": 21, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "d63b6652fbb80dcc4c111bb124b9cb7d5c730990719f07175fc44dcb0cd6e22f:1", + "id": "552e492060fd183e0d6fb8be789bcd51c92248c77fdc622e2a318d946361e195:3", "address": "tltc1qyerx34sx9a2a4zz7w320tuxz3hq84xn0hm6tzr6tek77tsknfg0szmk8gm", "value": 300000000, - "valueString": "300000000", "chain": 21, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "tltc", - "txid": "f541e7d7a1d3e24659bc13f84369ebffc127da324a5793c419a155ec8e82b81d" -} + "txid": "7959a63f331f9984fbdcf764b31435fb993116bbcddb68441af939402daff1d8" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json index d3731821ae..a14971ec4d 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "b0274a6917fefd86057c30dddd0e454a9e29098308616f362edec31f47d40b98:1", + "id": "3cbe8731c0ad44735f715e780dcd9a74947fd248fef9bc408636f0374007a701:0", "address": "t2HhxiGYUsUWLZkup8DeCZqo5PEY6jZfWTf", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "fca5bda3947adf9dc5f2baaad7441810aa4ab423c6fa17cc9ebb1c97da304b33:1", + "id": "e9af2d4d29be2c2395a1edd4b8a9fc8176343b9b610fadacf96160e3f0910123:2", "address": "t26gsuA7j1Zmp5RZmg2KtVZvF1fzK4mWCZg", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "dbb4c4d44d95c67d8eed0f753384cadd2ad0be5c33459a4e3e50443eb8270d61:1", + "id": "d42d4f70a34df4b066fbe008de3590ff40eca6ae7d3ed79578d06e98f82bfe81:3", "address": "t29TeH3Wo9iDDw5YXD1nSn3zKfGez5iCU6n", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "0400008085202f8903980bd4471fc3de2e366f61088309299e4a450edddd307c0586fdfe17694a27b001000000fdfd00004730440220308c2d1e5f9cfe49a4e716588f6b30c3a563efee015697e69636a3a2b955f07c022014fc814dc2084044832fe2f0d90a456857ed238ed9e25547741d13f739aeb61201483045022100e6bec2548bc8664fb2941069dc122f2a1502980fa8fc8916ae233d8e7a6e021d02206e832db50c51b43e108417a8b65e7bd605c8ea6e6ce8fd4edd4b58b93dec1768014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff334b30da971cbb9ecc17fac623b44aaa101844d7aabaf2c59ddf7a94a3bda5fc01000000fdfe00004830450221008970d49de17fcfb070523661f02ae97f7ea7d0ddba93d6df88f79072d013b03e0220246d8d0685f324c1614c8037d82298fce4658670dec6352371a5d0612231290401483045022100bb93edc79074b0340578d9397a1afa06fa6749ab7249df77662f973621197100022077a094d8cb1b7fa717e4a87831a7a3171b07d08f89fe44d693380bcd01a805db014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff610d27b83e44503e4e9a45335cbed02addca8433750fed8e7dc6954dd4c4b4db01000000fdfd000047304402203e5d30c49cacc5393c786ec37cdea1aca0917830176a3f628ed64d30469e14cf02207d94acf3a1656e40cab92009a3e2bd8f60e5edeccd4ea9c3077aa5b91660697c01483045022100bccf680fed7e1534f01df21813b1a5b203c656d0ab6c5cbdf844efb6b7c1fc4a02206fcdffecd08707e10d6017d846e2fc21ecde4996332c271568ba5df84c3a6ff3014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000000000000000000000000000000000", - "txid": "8b54f974faf1109837b2c9429837002625e23851732db1421b936462d5197aa1" + "transactionHex": "0400008085202f890301a7074037f0368640bcf9fe48d27f94749acd0d785e715f7344adc03187be3c00000000fdfe00004830450221008d606501cfb1b90de0b3ee4595413fbf7ebdad56c40faa5873be827cebc2086c0220077e6fd4b78444cabcdfe520c7195b4676123cd492f18686fed4548b4247cfa101483045022100ebe3ba7918bbc08223e0f7c9819d75a13bfe5a30a31e9cf92206c7887d92e44d02200beec7a1369e95736ca209841ffe3f0fc2c726b7059cf890bea9107493cb0cf1014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff230191f0e36061f9acad0f619b3b347681fca9b8d4eda195232cbe294d2dafe902000000fc0047304402206b54ab1d6b2477469ca737067d86c7a1628021798862b286fe7423715b0f942e02203ef527375988121986632f0809abc3c1320ee007c0d7a3be77798e54ac706b8a014730440220245a9dc7329c2b8938b6ff38baa0e46d6ac4194073878d82c140a90e928eb4b20220224ae445d35e55a9e1f5def3cf397214b5b9dbecf66408151e8ec7f5562755c0014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff81fe2bf8986ed07895d73e7daea6ec40ff9035de08e0fb66b0f44da3704f2dd403000000fdfd00004730440220106d05b11ca9b0c5503b89f24dc184462d97cad40fba17a9662a4bd7ad7625d2022063f5bfe4bea25f3ccdc9b567d28d69ff255c8d480d14f36ca4516bba1cd12446014830450221009ce71d459411de2ef9d38fa14ee788ba7fafbb4b0fcd46f3eb41f44f640bdb7202202965b8c72225073e88a64db6ea2a3420845d9049ecb350f60810c94dc639ed60014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000000000000000000000000000000000", + "txid": "91beee73061f70d6498ead55ddeaafc152eb21dbdf85cb940dc742272e70a0ae" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json index 5a1982aa5b..fa3b989fba 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "765c76759749b4c618a5d3e3a2767d6424675225761e044c785f1fe02cd3db73:1", + "id": "4297deb2c876f9f57abb8dbff1d1901e28c0f8c282236b247a23bbb4cf798f7f:0", "address": "t2ChBQL66RU2M9DnktwM1uZJB4BAeZTVZAQ", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "0cdb21cdc8bfafc29292f5f1cc12662b6c33b59ba4c94251338a3e4d6c69a413:1", + "id": "74b38ddb850ba76b072d81927a1d6d1ea45ce6177053fbfb9c91aab34962ef9e:2", "address": "t2CMZJUHkYjDncMtFBWs5GNdJ6DDnsLmM5p", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "3d2144a93b2debba4dc7f2374947aee869a74c91e11f956e59ad6ad0526345e9:1", + "id": "531c459ce4f3335bcb1bbc98a0612ee268ffaebbc1418389fb88660f8885db81:3", "address": "t26vDQNkirotDDAxvLnJUaMnss61cu3WNJi", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "0400008085202f890373dbd32ce01f5f784c041e7625526724647d76a2e3d3a518c6b4499775765c7601000000fc004730440220740fc811cf3618f9e08cd9b28d085a774ff7adb6ac0117c58a101a3e196c62df02204067edd99730a1b2a9d00d581c6d5fb4e7b1e4a3d7190251db3d3d2651082b8d01473044022074f73a3d0c58f66c641deab7a6b60fc98372fb8c3a5b0271754f130443f812c60220509d6da337c452a90fb1b83705af515d5840471ae9f720ca37d536e15c1c4c72014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff13a4696c4d3e8a335142c9a49bb5336c2b6612ccf1f59292c2afbfc8cd21db0c01000000fdfe0000483045022100d2e84a0a788169ca85b2cf82ae6a87033cca09b0a528769d4126d2884b365c800220084f5732e387341109ba4242292ec53163ec25e034d688cb5650c63703e0df3601483045022100a32972811c92f396b150c1c3d03957aad41f3c78bd7d17480ab1671cef44c46102205137f8a07b2eaf21ef0ed450de5112f8abd356e34509ed3661c6af410e7f0a1e014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffe9456352d06aad596e951fe1914ca769e8ae474937f2c74dbaeb2d3ba944213d01000000fdfe0000483045022100f3b072396e5f9e3c629ef88f7b7deb071a09540935c0755457f688fa4c81dff90220470c3f050d109c4fcd8c35bf23b4a641e49817fa90505965377a956941faa1fb01483045022100d771a74db1bae6d31b8da6909d9c3f801857730cfb2557974ca6fb66d0bbe81302205f88910eef88e0bfaae18fbc34aeaf0e4e007f6f597849186ce20441d5a03ada014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000000000000000000000000000000000", - "txid": "0b1f2a0c56d113c2c3853b075caafad9aa5e5039761161ca9e462d6c9175142c" + "transactionHex": "0400008085202f89037f8f79cfb4bb237a246b2382c2f8c0281e90d1f1bf8dbb7af5f976c8b2de974200000000fdfd000047304402204e0692acf079fbdd06cea287e3110f4f43bcdc6db82d904024f2ffa3a47bf3ef02207b335ab7976f79b8e13b4af297f14031a609ff853d2c4e70dca5eeb0038aa6d2014830450221008a9750c0bcf60e490dfff260191b59445b7dffbb2da8b71ea84747fe59df512902200b9840882d1433d466e3a18a9b939e2b024eb6adf8a5bcdd43d8b06e955916c2014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff9eef6249b3aa919cfbfb537017e65ca41e6d1d7a92812d076ba70b85db8db37402000000fdfd0000473044022023ca6e436b205f1fa1f65831a17f3d131c74ed6a57ff8fa32687ab01c04e001b022032ef43ac18b64c01b8a5882f584b7f9604f229bbb48faf8a8c33d3bcba3cf8d60148304502210083bdb8e288f036bdbbaee4075808353cec11f971567b442081da53c842356e9a0220070c6588a751ea8db173646586e24ec2cc2718b998af161115c35011502e2a8e014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff81db85880f6688fb898341c1bbaeff68e22e61a098bc1bcb5b33f3e49c451c5303000000fdfe0000483045022100c1058478d39de9b0ea38124ce417e710caef184fd4acd23c80814c77fa19f670022018666151a93069a6a3fc55d4aaafedada0210bdd020aadb151574609d9e3421301483045022100c99a3d3b4299d200b37bac66c1c9a8f326a209801a2c4bf6abb286a8266013ac02200efbd209d96aa67da219c26a7eab67fed517609b6af17b0dfdf4ddcae2894953014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000000000000000000000000000000000", + "txid": "d7d0aaef7b31fd440c134467e9b87b85b661424d4e16a9a3e14aacd3f3cf1505" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..59eaea668d --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100b80400008085202f89037f8f79cfb4bb237a246b2382c2f8c0281e90d1f1bf8dbb7af5f976c8b2de97420000000000ffffffff9eef6249b3aa919cfbfb537017e65ca41e6d1d7a92812d076ba70b85db8db3740200000000ffffffff81db85880f6688fb898341c1bbaeff68e22e61a098bc1bcb5b33f3e49c451c530300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000000000000000000000000000000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a8239108fc05424954474f0004b4d0d6c20001012000e1f5050000000017a9144365f80ae9830dab1d9124be68c74c2fa23bbc1287220202d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc61473044022067f5958db7fff0bcdabe1097e66d2101a470467e66718ceecde1604426491a0602201316e8fbe29372a93ab503c2cb9cb59150cc777203efe031fd5642d0c3cbbd090101030401000000010469522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53ae2206029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d148374ad8600000000000000000100000000000000220602d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc611403a82391000000000000000001000000000000002206030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3514e15f6f21000000000000000001000000000000000001012000c2eb0b0000000017a9143fafee16e19a14db449ab3a57da1fd3ef89daa59872202021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a747304402201cc1d33c273a370f1680d1047d53319e74ceb52ebb126e7d00a155b5dd2e7abc0220785550dcb7783bb2379ae90073df16d51a35506ca3782759fee1ecedfb2b30a001010304010000000104695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453ae2206021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a71403a82391000000000000000001000000020000002206026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f3024148374ad8600000000000000000100000002000000220603b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b914e15f6f21000000000000000001000000020000000001012000a3e1110000000017a914040c4ab99a665c767adaa50fb28dce2ae514363b872202023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c473044022021b26e995dbd1f9a60317f56925c34dbfce6e52c0e25faecfca7ceabb33551e202206040a2b75bb7a0d701bab3e1d17aea609c49b7cde47f3abf80b2e5f2d83392f701010304010000000104695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53ae2206022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d14e15f6f21000000000000000001000000030000002206023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c1403a8239100000000000000000100000003000000220602b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b148374ad86000000000000000001000000030000000000", + "coin": "tzec", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "a3ed2ebe7916b8d3f99ace88784c47c78dbc59707df02e6ec00eb8444455db21" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..d3b15cb444 --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "4297deb2c876f9f57abb8dbff1d1901e28c0f8c282236b247a23bbb4cf798f7f:0", + "address": "t2ChBQL66RU2M9DnktwM1uZJB4BAeZTVZAQ", + "value": 100000000, + "chain": 1, + "index": 0, + "valueString": "100000000" + }, + { + "id": "74b38ddb850ba76b072d81927a1d6d1ea45ce6177053fbfb9c91aab34962ef9e:2", + "address": "t2CMZJUHkYjDncMtFBWs5GNdJ6DDnsLmM5p", + "value": 200000000, + "chain": 1, + "index": 2, + "valueString": "200000000" + }, + { + "id": "531c459ce4f3335bcb1bbc98a0612ee268ffaebbc1418389fb88660f8885db81:3", + "address": "t26vDQNkirotDDAxvLnJUaMnss61cu3WNJi", + "value": 300000000, + "chain": 1, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "0400008085202f89037f8f79cfb4bb237a246b2382c2f8c0281e90d1f1bf8dbb7af5f976c8b2de974200000000b700483045022100d994616a5e3dbead5e726696be5158c06977bc4b787811f84bd9dac07e54b4690220260f14598c984ffdf3e98615ac77ea419e2ea8f8580f445f45d71925328d94b20100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff9eef6249b3aa919cfbfb537017e65ca41e6d1d7a92812d076ba70b85db8db37402000000b700483045022100bcc90df978f7fd68076e942039de5393cc89b2fd13afdb6bc3f6f42e49d01e8c022038ee97152e07c5fad3a10920e29abf47435bcb6b48cb2bad6307ba3c57533ebf0100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff81db85880f6688fb898341c1bbaeff68e22e61a098bc1bcb5b33f3e49c451c5303000000b70048304502210085784753249a48830459d1dd427d1abf04d870fe668eb518f0af42ab2d79a017022064a1a13ddd74e4ceeecef79bebee33532b1352571b9f2c1a901e8f10d8c072060100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000000000000000000000000000000000", + "coin": "tzec", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "440d26f244e7ecd77c081a8ec1bc4fbe88aa4d7f8053266f1ad5ca6f7a715773" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json deleted file mode 100644 index e1f2007f41..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "765c76759749b4c618a5d3e3a2767d6424675225761e044c785f1fe02cd3db73:1", - "address": "t2ChBQL66RU2M9DnktwM1uZJB4BAeZTVZAQ", - "value": 100000000, - "chain": 1, - "index": 0 - }, - { - "id": "0cdb21cdc8bfafc29292f5f1cc12662b6c33b59ba4c94251338a3e4d6c69a413:1", - "address": "t2CMZJUHkYjDncMtFBWs5GNdJ6DDnsLmM5p", - "value": 200000000, - "chain": 1, - "index": 2 - }, - { - "id": "3d2144a93b2debba4dc7f2374947aee869a74c91e11f956e59ad6ad0526345e9:1", - "address": "t26vDQNkirotDDAxvLnJUaMnss61cu3WNJi", - "value": 300000000, - "chain": 1, - "index": 3 - } - ], - "transactionHex": "0400008085202f890373dbd32ce01f5f784c041e7625526724647d76a2e3d3a518c6b4499775765c7601000000b700483045022100f9f81185f1b4429b94fc79b87e4353f71e047ed71836df98f49f0e78ed90bf9602206b4429ff968f47a6f8f795281804becd999bf1d5e013c4344f15292239c3969e0100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff13a4696c4d3e8a335142c9a49bb5336c2b6612ccf1f59292c2afbfc8cd21db0c01000000b60047304402205907641a086ecd33c7e753b86f5e244979697ba7bb0d0ea298bfb71ba1e9ae74022072d0fc47685ce0534feb0ec2af1953c6d3e4884d168ec67943e46de8b4f6c8e90100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffe9456352d06aad596e951fe1914ca769e8ae474937f2c74dbaeb2d3ba944213d01000000b60047304402200387d75c61e74552efdf2655dca97135ecf6621fa85b44dd14ba9498390c9bf70220578c92abf51ff5a6bf359e6c5d5be28ba26414a8235e0ebd0180703203c6ddbe0100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000000000000000000000000000000000", - "coin": "tzec", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "e9dca3d9a8fc69750481879ce66788a37310d6231d7264f1a74a24266af5bd1a" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json index 6dcf11e845..e7e01d41b1 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/tzec/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "0400008085202f890373dbd32ce01f5f784c041e7625526724647d76a2e3d3a518c6b4499775765c760100000000ffffffff13a4696c4d3e8a335142c9a49bb5336c2b6612ccf1f59292c2afbfc8cd21db0c0100000000ffffffffe9456352d06aad596e951fe1914ca769e8ae474937f2c74dbaeb2d3ba944213d0100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000000000000000000000000000000000", + "txHex": "0400008085202f89037f8f79cfb4bb237a246b2382c2f8c0281e90d1f1bf8dbb7af5f976c8b2de97420000000000ffffffff9eef6249b3aa919cfbfb537017e65ca41e6d1d7a92812d076ba70b85db8db3740200000000ffffffff81db85880f6688fb898341c1bbaeff68e22e61a098bc1bcb5b33f3e49c451c530300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000000000000000000000000000000000", "txInfo": { "unspents": [ { - "id": "765c76759749b4c618a5d3e3a2767d6424675225761e044c785f1fe02cd3db73:1", + "id": "4297deb2c876f9f57abb8dbff1d1901e28c0f8c282236b247a23bbb4cf798f7f:0", "address": "t2ChBQL66RU2M9DnktwM1uZJB4BAeZTVZAQ", "value": 100000000, - "valueString": "100000000", "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "0cdb21cdc8bfafc29292f5f1cc12662b6c33b59ba4c94251338a3e4d6c69a413:1", + "id": "74b38ddb850ba76b072d81927a1d6d1ea45ce6177053fbfb9c91aab34962ef9e:2", "address": "t2CMZJUHkYjDncMtFBWs5GNdJ6DDnsLmM5p", "value": 200000000, - "valueString": "200000000", "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "3d2144a93b2debba4dc7f2374947aee869a74c91e11f956e59ad6ad0526345e9:1", + "id": "531c459ce4f3335bcb1bbc98a0612ee268ffaebbc1418389fb88660f8885db81:3", "address": "t26vDQNkirotDDAxvLnJUaMnss61cu3WNJi", "value": 300000000, - "valueString": "300000000", "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "tzec", - "txid": "3b48451fcd797cb6e5963a3ae63b0ac072b1470624889e3c28c4bc648d7a53e9" -} + "txid": "22db181ffa0e4f73c3163e8986842ae16f477aea0d8ee68095e8cc5b6df38ae4" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json index 6a457907fe..05617429b7 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-fullSignedRecovery-customUserKeyPath.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "ed75e3e97ffe5b48a3b09cfd7655e87c9795b19fc7f8eb4211a3aadd3ebe29c0:1", + "id": "3cbe8731c0ad44735f715e780dcd9a74947fd248fef9bc408636f0374007a701:0", "address": "t3VimfbSM11ty24L5CUeA2DcSGkJvtep6pe", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "7c3d531ad2e5e1ae8ab03e670a941ae99b082d5960eef1fb378c770d1fcccdfb:1", + "id": "e9af2d4d29be2c2395a1edd4b8a9fc8176343b9b610fadacf96160e3f0910123:2", "address": "t3JhgrV1b97ASXiz2kHKqwwjbuBm99s5R48", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "e782428da9aece279cda604c8c1dbc7215aecf2427523058217fe988d56d4128:1", + "id": "d42d4f70a34df4b066fbe008de3590ff40eca6ae7d3ed79578d06e98f82bfe81:3", "address": "t3MUTENQfHFbrPNxnHGnQERogYnRpBSSx1p", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "0400008085202f8903c029be3eddaaa31142ebf8c79fb195977ce85576fd9cb0a3485bfe7fe9e375ed01000000fdfd0000473044022009173f669bd2bf865445c390f4d616f620bb34228cd1b285b01cf6b1b46e4b15022041423d0d6fc8cf81d8044fa54769ca9142d33b617a8cb864498414511a45c16601483045022100f8d056898b32f02857175fb1abd130c6326200cd919d938523f26ecc7b21843602205af36787caeac451f0281e5b8d48146c1dc0e85b4e8ec49257d4206417fbb0fe014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aefffffffffbcdcc1f0d778c37fbf1ee60592d089be91a940a673eb08aaee1e5d21a533d7c01000000fdfd0000483045022100ba13ad2d8b54927793f6224d161b4137917504a5f55e12f7d9f69df03058783602207c87735deea7b8d373cddbcc1cb7ea4af6ec1d143ccddad77deb99e5e25e4ed80147304402202e93ab98453205659084cc333c66e69e4f49aa1cc142199fc26e2b3dff7b781802202d6e9d9f06b337d582b69f1bf6a60801d71bd3de392124bf430762b49ec330b7014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff28416dd588e97f215830522724cfae1572bc1d8c4c60da9c27ceaea98d4282e701000000fdfd00004730440220599717044a7417bf42a67013568a3b0aed49ae817d771ccec8483d7e66f9313b022007e0816a5d1b7fa293bd01890d88eeb160bec0bf57f051219ceb0a10061d65860148304502210084a043344a5a3bea4bf7df35288e0b185a6c170d3e5df30a3ff407ae56e9cfb402205d23d554989dd0d341a6713c57a79a6adb8b41a8b7a79b28e85c4d24706dc0a3014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000000000000000000000000000000000", - "txid": "4e8db7b4f8123e1e1c5aeccba2b09458c2043248c2b76a5d04eb9d52923b865d" + "transactionHex": "0400008085202f890301a7074037f0368640bcf9fe48d27f94749acd0d785e715f7344adc03187be3c00000000fdfe00004830450221008d606501cfb1b90de0b3ee4595413fbf7ebdad56c40faa5873be827cebc2086c0220077e6fd4b78444cabcdfe520c7195b4676123cd492f18686fed4548b4247cfa101483045022100ebe3ba7918bbc08223e0f7c9819d75a13bfe5a30a31e9cf92206c7887d92e44d02200beec7a1369e95736ca209841ffe3f0fc2c726b7059cf890bea9107493cb0cf1014c69522102587d7749d1ed2a3d3d300b969e68cbedb042ea19e3ee90c4131e2092f5e1181e21030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff230191f0e36061f9acad0f619b3b347681fca9b8d4eda195232cbe294d2dafe902000000fc0047304402206b54ab1d6b2477469ca737067d86c7a1628021798862b286fe7423715b0f942e02203ef527375988121986632f0809abc3c1320ee007c0d7a3be77798e54ac706b8a014730440220245a9dc7329c2b8938b6ff38baa0e46d6ac4194073878d82c140a90e928eb4b20220224ae445d35e55a9e1f5def3cf397214b5b9dbecf66408151e8ec7f5562755c0014c695221025f891d428e847408357073c5b14344ec582230b4007695110140b2433f8e4fa82103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff81fe2bf8986ed07895d73e7daea6ec40ff9035de08e0fb66b0f44da3704f2dd403000000fdfd00004730440220106d05b11ca9b0c5503b89f24dc184462d97cad40fba17a9662a4bd7ad7625d2022063f5bfe4bea25f3ccdc9b567d28d69ff255c8d480d14f36ca4516bba1cd12446014830450221009ce71d459411de2ef9d38fa14ee788ba7fafbb4b0fcd46f3eb41f44f640bdb7202202965b8c72225073e88a64db6ea2a3420845d9049ecb350f60810c94dc639ed60014c6952210228b669c7736183ae301d159ee7788e1a7dccb7ec3d45de94eccf0b384aa8f78021022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000000000000000000000000000000000", + "txid": "91beee73061f70d6498ead55ddeaafc152eb21dbdf85cb940dc742272e70a0ae" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json index c1b53acddb..598e98a0d9 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-fullSignedRecovery.json @@ -1,27 +1,30 @@ { "inputs": [ { - "id": "215bf9b78362b0a0b587fffb180e03b9ff95161b605555f641c4b691948ff370:1", + "id": "4297deb2c876f9f57abb8dbff1d1901e28c0f8c282236b247a23bbb4cf798f7f:0", "address": "t3QhzMeyxZ1QybXD1yCLyMw7XwgwUjsvcvH", "value": 100000000, "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "d5130d74906e10b6ddf445c24d949e5601ef881cbe1c4e498895b6a674a266b2:1", + "id": "74b38ddb850ba76b072d81927a1d6d1ea45ce6177053fbfb9c91aab34962ef9e:2", "address": "t3QNNFoBcgGcR4fJWFms2ikSeyizd1Qh9h6", "value": 200000000, "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "433c939276cae41b72270398c43cde8de24fe97103a1de9607d95a33cddc3bac:1", + "id": "531c459ce4f3335bcb1bbc98a0612ee268ffaebbc1418389fb88660f8885db81:3", "address": "t3Jw2MheazMGqfUPBR3JS2jcEkbnSz3W4iq", "value": 300000000, "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ], - "transactionHex": "0400008085202f890370f38f9491b6c441f65555601b1695ffb9030e18fbff87b5a0b06283b7f95b2101000000fdfe0000483045022100a61ed7ec761439c1b67a89b260a72ede2e902fc17c0a7b338ea3237bfec0179202200a478ef03ba5f5668e32776858cfbb8dd426a1779b060cdcf9158514c66e1e6201483045022100f70b0ee03ba878aa2733505f321d2455c48447244c5729bd9345e4152ea3ce8f02206e42a2b65035e906156253cc31cab17cda73343a98ecff52ba6c668913cc212f014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffffb266a274a6b69588494e1cbe1c88ef01569e944dc245f4ddb6106e90740d13d501000000fdfe0000483045022100ff804d4085d0f815d3e8b9c5d6b82da300cc809407017d02bd1f84ef48093c0802201d6d231635b6b025bed2f843883a7a40013a45ae2610b20a9836a9c5bc253abe0148304502210093cd42a27f00790248d16902a578d3f0311e747d4b75f1316705de86e15ad2aa0220506cefb63f618e39d6322eccb230f0e00f46b5e6640d6f3e2bb34bdee9100443014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffac3bdccd335ad90796dea10371e94fe28dde3cc4980327721be4ca7692933c4301000000fdfd0000483045022100c39084e307deffe6c768cee726713d94a699232bf4458322450ea9dfdc184eb7022030352de86371e2f1bdd283b05084af66928f35745e11772b62f0a1d2a83f062e014730440220428dce1ef0e86a57df75bb3085177dad9d1215f2aff551de01d97f50882ee0f2022059a88a371c2a6eb503210fc0f75bda0fa9fb47948633af291f1254e0855a61d7014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000000000000000000000000000000000", - "txid": "56890dff3db4b1439de672cb19fd74601b6819316355406b4d0a28ceaac461e8" + "transactionHex": "0400008085202f89037f8f79cfb4bb237a246b2382c2f8c0281e90d1f1bf8dbb7af5f976c8b2de974200000000fdfd000047304402204e0692acf079fbdd06cea287e3110f4f43bcdc6db82d904024f2ffa3a47bf3ef02207b335ab7976f79b8e13b4af297f14031a609ff853d2c4e70dca5eeb0038aa6d2014830450221008a9750c0bcf60e490dfff260191b59445b7dffbb2da8b71ea84747fe59df512902200b9840882d1433d466e3a18a9b939e2b024eb6adf8a5bcdd43d8b06e955916c2014c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff9eef6249b3aa919cfbfb537017e65ca41e6d1d7a92812d076ba70b85db8db37402000000fdfd0000473044022023ca6e436b205f1fa1f65831a17f3d131c74ed6a57ff8fa32687ab01c04e001b022032ef43ac18b64c01b8a5882f584b7f9604f229bbb48faf8a8c33d3bcba3cf8d60148304502210083bdb8e288f036bdbbaee4075808353cec11f971567b442081da53c842356e9a0220070c6588a751ea8db173646586e24ec2cc2718b998af161115c35011502e2a8e014c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff81db85880f6688fb898341c1bbaeff68e22e61a098bc1bcb5b33f3e49c451c5303000000fdfe0000483045022100c1058478d39de9b0ea38124ce417e710caef184fd4acd23c80814c77fa19f670022018666151a93069a6a3fc55d4aaafedada0210bdd020aadb151574609d9e3421301483045022100c99a3d3b4299d200b37bac66c1c9a8f326a209801a2c4bf6abb286a8266013ac02200efbd209d96aa67da219c26a7eab67fed517609b6af17b0dfdf4ddcae2894953014c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000000000000000000000000000000000", + "txid": "d7d0aaef7b31fd440c134467e9b87b85b661424d4e16a9a3e14aacd3f3cf1505" } \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json new file mode 100644 index 0000000000..559ee7dd6f --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-keyRecoveryService-dai.json @@ -0,0 +1,8 @@ +{ + "transactionHex": "70736274ff0100b80400008085202f89037f8f79cfb4bb237a246b2382c2f8c0281e90d1f1bf8dbb7af5f976c8b2de97420000000000ffffffff9eef6249b3aa919cfbfb537017e65ca41e6d1d7a92812d076ba70b85db8db3740200000000ffffffff81db85880f6688fb898341c1bbaeff68e22e61a098bc1bcb5b33f3e49c451c530300000000ffffffff01e4c2c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87000000000000000000000000000000000000004f010488b21e0000000000000000004b256d3cf3524c8d7086e295a1923d6fa2f99b686699ed50084bb114495c982403a86864862a9e315221809501f2a4200cd9e057a70f9164d485d4cfbeb8e47c74048374ad864f010488b21e000000000000000000914cc440157319de14126a1a2e87ea86f3b983f923fb17693a157b721220d74c02e81e105716179975cc47afd117cae272519aafdd6bfff688e4280d384e13184f04e15f6f214f010488b21e000000000000000000da28679577f7faf0ed86164da220aa4a29c7edfb0de8bdabd97f19fd15e74bed03db2b42af97f60db6ec5a1500e246ef2107660c4fc02699ed69b82c2f3e9324ae0403a8239108fc05424954474f0004b4d0d6c20001012000e1f5050000000017a9144365f80ae9830dab1d9124be68c74c2fa23bbc1287220202d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc61473044022067f5958db7fff0bcdabe1097e66d2101a470467e66718ceecde1604426491a0602201316e8fbe29372a93ab503c2cb9cb59150cc777203efe031fd5642d0c3cbbd090101030401000000010469522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53ae2206029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d148374ad8600000000000000000100000000000000220602d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc611403a82391000000000000000001000000000000002206030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3514e15f6f21000000000000000001000000000000000001012000c2eb0b0000000017a9143fafee16e19a14db449ab3a57da1fd3ef89daa59872202021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a747304402201cc1d33c273a370f1680d1047d53319e74ceb52ebb126e7d00a155b5dd2e7abc0220785550dcb7783bb2379ae90073df16d51a35506ca3782759fee1ecedfb2b30a001010304010000000104695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453ae2206021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a71403a82391000000000000000001000000020000002206026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f3024148374ad8600000000000000000100000002000000220603b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b914e15f6f21000000000000000001000000020000000001012000a3e1110000000017a914040c4ab99a665c767adaa50fb28dce2ae514363b872202023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c473044022021b26e995dbd1f9a60317f56925c34dbfce6e52c0e25faecfca7ceabb33551e202206040a2b75bb7a0d701bab3e1d17aea609c49b7cde47f3abf80b2e5f2d83392f701010304010000000104695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53ae2206022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d14e15f6f21000000000000000001000000030000002206023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c1403a8239100000000000000000100000003000000220602b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b148374ad86000000000000000001000000030000000000", + "coin": "zec", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599900900, + "recoveryAmountString": "599900900", + "txid": "a3ed2ebe7916b8d3f99ace88784c47c78dbc59707df02e6ec00eb8444455db21" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json new file mode 100644 index 0000000000..7280b1ceba --- /dev/null +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-keyRecoveryService-keyternal.json @@ -0,0 +1,34 @@ +{ + "inputs": [ + { + "id": "4297deb2c876f9f57abb8dbff1d1901e28c0f8c282236b247a23bbb4cf798f7f:0", + "address": "t3QhzMeyxZ1QybXD1yCLyMw7XwgwUjsvcvH", + "value": 100000000, + "chain": 1, + "index": 0, + "valueString": "100000000" + }, + { + "id": "74b38ddb850ba76b072d81927a1d6d1ea45ce6177053fbfb9c91aab34962ef9e:2", + "address": "t3QNNFoBcgGcR4fJWFms2ikSeyizd1Qh9h6", + "value": 200000000, + "chain": 1, + "index": 2, + "valueString": "200000000" + }, + { + "id": "531c459ce4f3335bcb1bbc98a0612ee268ffaebbc1418389fb88660f8885db81:3", + "address": "t3Jw2MheazMGqfUPBR3JS2jcEkbnSz3W4iq", + "value": 300000000, + "chain": 1, + "index": 3, + "valueString": "300000000" + } + ], + "transactionHex": "0400008085202f89037f8f79cfb4bb237a246b2382c2f8c0281e90d1f1bf8dbb7af5f976c8b2de974200000000b700483045022100d994616a5e3dbead5e726696be5158c06977bc4b787811f84bd9dac07e54b4690220260f14598c984ffdf3e98615ac77ea419e2ea8f8580f445f45d71925328d94b20100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffff9eef6249b3aa919cfbfb537017e65ca41e6d1d7a92812d076ba70b85db8db37402000000b700483045022100bcc90df978f7fd68076e942039de5393cc89b2fd13afdb6bc3f6f42e49d01e8c022038ee97152e07c5fad3a10920e29abf47435bcb6b48cb2bad6307ba3c57533ebf0100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffff81db85880f6688fb898341c1bbaeff68e22e61a098bc1bcb5b33f3e49c451c5303000000b70048304502210085784753249a48830459d1dd427d1abf04d870fe668eb518f0af42ab2d79a017022064a1a13ddd74e4ceeecef79bebee33532b1352571b9f2c1a901e8f10d8c072060100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000000000000000000000000000000000", + "coin": "zec", + "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", + "recoveryAmount": 599758290, + "recoveryAmountString": "599758290", + "txid": "440d26f244e7ecd77c081a8ec1bc4fbe88aa4d7f8053266f1ad5ca6f7a715773" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json deleted file mode 100644 index fe3322fd86..0000000000 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-keyRecoveryService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "inputs": [ - { - "id": "215bf9b78362b0a0b587fffb180e03b9ff95161b605555f641c4b691948ff370:1", - "address": "t3QhzMeyxZ1QybXD1yCLyMw7XwgwUjsvcvH", - "value": 100000000, - "chain": 1, - "index": 0 - }, - { - "id": "d5130d74906e10b6ddf445c24d949e5601ef881cbe1c4e498895b6a674a266b2:1", - "address": "t3QNNFoBcgGcR4fJWFms2ikSeyizd1Qh9h6", - "value": 200000000, - "chain": 1, - "index": 2 - }, - { - "id": "433c939276cae41b72270398c43cde8de24fe97103a1de9607d95a33cddc3bac:1", - "address": "t3Jw2MheazMGqfUPBR3JS2jcEkbnSz3W4iq", - "value": 300000000, - "chain": 1, - "index": 3 - } - ], - "transactionHex": "0400008085202f890370f38f9491b6c441f65555601b1695ffb9030e18fbff87b5a0b06283b7f95b2101000000b60047304402204ad3d8e94e27d08a780cd33e6a92e0d0f99fd0a004b5377accb38312e14106d50220037b15854cd7e52bb935e99175426a6995c77c7af5ba54632c28beb518f959910100004c69522102d06c08ccf0fddefff881e869b951d4b92e936118b3360182c5b8c55f4c40bc6121030795af84ecc10252d8a894f54845beeb5624a1c24c3747cc654bd430539dee3521029b30ebe8eb23f8cec82f25a80e3b423979ec3ba1fe07d9d4ed9f6361258bc31d53aeffffffffb266a274a6b69588494e1cbe1c88ef01569e944dc245f4ddb6106e90740d13d501000000b60047304402200dc5a36f243022c2bb9fa0cf2395f0276c60d332bbfef0972f71fc87c31dece802201abc1448f2e63745cb68c2ef7047e2e127da4afa321975e7f8ed107498dbe7430100004c695221021a8d0b4e9ad8c7538f7b9ea0441b33ed3611559afef335a990e4702fb95d41a72103b85d4e424ae44b828e313ca36fa1fc83cdc7f3eefd722cb89ed6d1b3caf385b921026d466a768d425c86687b79a28faa5297d4016b37c09d779bc0313d688e0f302453aeffffffffac3bdccd335ad90796dea10371e94fe28dde3cc4980327721be4ca7692933c4301000000b700483045022100b24f52159e7bca6b13ea3d0d7f6b4d39f3f391259df2bdd14b22c66296360b8b02202481a387a91babb53e0b9cbf7d1a45cd335af0c6f6b17d8d30ef64f39f5dc0de0100004c695221023c5cbb819b0bcb5c7bf8db592d4c1d15d1b8d14d49b444ba4e85131316b24d4c21022438d658cc970895bf05bb617fbf4036600fc716bec8adb92aeaa317edd1700d2102b650623b12f2407c25496559410dfd0624dda8b79908bc9d80402100406e4f4b53aeffffffff02d295bf230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff87122d02000000000017a9148c306cfb0b0def57576ace97941c12c1a79834cf8700000000000000000000000000000000000000", - "coin": "zec", - "backupKey": "xpub661MyMwAqRbcFzLXuganogQvd7MrefQQqCcJP2ZDumnCdQecf5cw1P1nD5qBz8SNS1yCLSC9VqpNUWnQU3V6qmnPt2r21oXhicQFzPA6Lby", - "recoveryAmount": 599758290, - "txid": "aa13f9720648e6d3ce2a8d2f28bad2395ecb199abf238545689ded8dee6c77b2" -} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json index d1181074c5..f3db97317b 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json +++ b/modules/bitgo/test/v2/unit/coins/utxo/fixtures/zec/recovery/backupKeyRecovery-p2sh-unsignedRecovery.json @@ -1,34 +1,34 @@ { - "txHex": "0400008085202f890370f38f9491b6c441f65555601b1695ffb9030e18fbff87b5a0b06283b7f95b210100000000ffffffffb266a274a6b69588494e1cbe1c88ef01569e944dc245f4ddb6106e90740d13d50100000000ffffffffac3bdccd335ad90796dea10371e94fe28dde3cc4980327721be4ca7692933c430100000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000000000000000000000000000000000", + "txHex": "0400008085202f89037f8f79cfb4bb237a246b2382c2f8c0281e90d1f1bf8dbb7af5f976c8b2de97420000000000ffffffff9eef6249b3aa919cfbfb537017e65ca41e6d1d7a92812d076ba70b85db8db3740200000000ffffffff81db85880f6688fb898341c1bbaeff68e22e61a098bc1bcb5b33f3e49c451c530300000000ffffffff01b0d3c1230000000017a91439c65a0d0072a140694d6b13ec5f5f2437de99ff8700000000000000000000000000000000000000", "txInfo": { "unspents": [ { - "id": "215bf9b78362b0a0b587fffb180e03b9ff95161b605555f641c4b691948ff370:1", + "id": "4297deb2c876f9f57abb8dbff1d1901e28c0f8c282236b247a23bbb4cf798f7f:0", "address": "t3QhzMeyxZ1QybXD1yCLyMw7XwgwUjsvcvH", "value": 100000000, - "valueString": "100000000", "chain": 1, - "index": 0 + "index": 0, + "valueString": "100000000" }, { - "id": "d5130d74906e10b6ddf445c24d949e5601ef881cbe1c4e498895b6a674a266b2:1", + "id": "74b38ddb850ba76b072d81927a1d6d1ea45ce6177053fbfb9c91aab34962ef9e:2", "address": "t3QNNFoBcgGcR4fJWFms2ikSeyizd1Qh9h6", "value": 200000000, - "valueString": "200000000", "chain": 1, - "index": 2 + "index": 2, + "valueString": "200000000" }, { - "id": "433c939276cae41b72270398c43cde8de24fe97103a1de9607d95a33cddc3bac:1", + "id": "531c459ce4f3335bcb1bbc98a0612ee268ffaebbc1418389fb88660f8885db81:3", "address": "t3Jw2MheazMGqfUPBR3JS2jcEkbnSz3W4iq", "value": 300000000, - "valueString": "300000000", "chain": 1, - "index": 3 + "index": 3, + "valueString": "300000000" } ] }, "feeInfo": {}, "coin": "zec", - "txid": "7f65d883b9726053933919e08f4fe1e62c3f13e0156af63820b0b7fb9d69cede" -} + "txid": "22db181ffa0e4f73c3163e8986842ae16f477aea0d8ee68095e8cc5b6df38ae4" +} \ No newline at end of file diff --git a/modules/bitgo/test/v2/unit/coins/utxo/recovery/backupKeyRecovery.ts b/modules/bitgo/test/v2/unit/coins/utxo/recovery/backupKeyRecovery.ts index 8a4f05c2a4..1bfdcea8c4 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/recovery/backupKeyRecovery.ts +++ b/modules/bitgo/test/v2/unit/coins/utxo/recovery/backupKeyRecovery.ts @@ -2,13 +2,14 @@ * @prettier */ import 'should'; +import * as mocha from 'mocha'; import * as sinon from 'sinon'; import * as nock from 'nock'; import { BIP32Interface } from '@bitgo/utxo-lib'; import * as utxolib from '@bitgo/utxo-lib'; const { toOutput, outputScripts } = utxolib.bitgo; -type WalletUnspent = utxolib.bitgo.WalletUnspent; +type WalletUnspent = utxolib.bitgo.WalletUnspent; type RootWalletKeys = utxolib.bitgo.RootWalletKeys; type ScriptType2Of3 = utxolib.bitgo.outputScripts.ScriptType2Of3; @@ -29,7 +30,6 @@ import { getWalletAddress, getWalletKeys, keychains, - mockUnspent, shouldEqualJSON, toKeychainBase58, utxoCoins, @@ -92,9 +92,7 @@ function getKeysForFullSignedRecovery( } function getScriptTypes2Of3() { - // FIXME(BG-66941): p2trMusig2 signing does not work in this test suite yet - // because the test suite is written with TransactionBuilder - return outputScripts.scriptTypes2Of3.filter((scriptType) => scriptType !== 'p2trMusig2'); + return outputScripts.scriptTypes2Of3; } function run( @@ -115,39 +113,35 @@ function run( return; } - describe(`Backup Key Recovery [${[coin.getChain(), ...tags].join(',')}]`, function () { + describe(`Backup Key Recovery [${[coin.getChain(), ...tags, params.krsProvider].join(',')}]`, function () { const externalWallet = getWalletKeys('external'); const recoveryDestination = getWalletAddress(coin.network, externalWallet); let keyRecoveryServiceAddress: string; let recovery: (BackupKeyRecoveryTransansaction | FormattedOfflineVaultTxInfo) & { txid?: string }; - let recoveryTx: utxolib.bitgo.UtxoTransaction; + let recoveryTx: utxolib.bitgo.UtxoTransaction | utxolib.bitgo.UtxoPsbt; + // 1e8 * 9e7 < 9.007e15 but 2e8 * 9e7 > 9.007e15 to test both code paths in queryBlockchainUnspentsPath + const valueMul = coin.amountType === 'bigint' ? BigInt(9e7) : BigInt(1); const allUnspents = [ - mockUnspent(coin.network, walletKeys, scriptType, 0, 1e8), - mockUnspent(coin.network, walletKeys, scriptType, 2, 2e8), - mockUnspent(coin.network, walletKeys, scriptType, 3, 3e8), + utxolib.testutil.toUnspent({ scriptType, value: BigInt(1e8) * valueMul }, 0, coin.network, walletKeys), + utxolib.testutil.toUnspent({ scriptType, value: BigInt(2e8) * valueMul }, 2, coin.network, walletKeys), + utxolib.testutil.toUnspent({ scriptType, value: BigInt(3e8) * valueMul }, 3, coin.network, walletKeys), // this unspent will not be picked up due to the index gap - mockUnspent(coin.network, walletKeys, scriptType, 23, 23e8), + utxolib.testutil.toUnspent({ scriptType, value: BigInt(23e8) }, 23, coin.network, walletKeys), ]; const recoverUnspents = allUnspents.slice(0, -1); - if (coin.amountType === 'bigint') { - recoverUnspents.forEach((u) => { - // 1e8 * 9e7 < 9.007e15 but 2e8 * 9e7 > 9.007e15 to test both code paths in queryBlockchainUnspentsPath - u.value *= 9e7; - }); - } - before('mock', function () { sinon.stub(CoingeckoApi.prototype, 'getUSDPrice').resolves(69_420); }); configOverride(function (config: Config) { const configKrsProviders = { ...config.krsProviders }; - keyRecoveryServiceAddress = getWalletAddress(coin.network, externalWallet, 0, 100); + configKrsProviders.dai.supportedCoins = [coin.getFamily()]; configKrsProviders.keyternal.supportedCoins = [coin.getFamily()]; + keyRecoveryServiceAddress = getWalletAddress(coin.network, externalWallet, 0, 100); configKrsProviders.keyternal.feeAddresses = { [coin.getChain()]: keyRecoveryServiceAddress }; config.krsProviders = configKrsProviders; }); @@ -169,28 +163,69 @@ function run( }); const txHex = (recovery as BackupKeyRecoveryTransansaction).transactionHex ?? (recovery as FormattedOfflineVaultTxInfo).txHex; - recoveryTx = utxolib.bitgo.createTransactionFromHex(txHex as string, coin.network, coin.amountType); - recovery.txid = recoveryTx.getId(); + const isPsbt = utxolib.bitgo.isPsbt(txHex); + recoveryTx = isPsbt + ? utxolib.bitgo.createPsbtFromHex(txHex, coin.network) + : utxolib.bitgo.createTransactionFromHex(txHex as string, coin.network, coin.amountType); + recovery.txid = + recoveryTx instanceof utxolib.bitgo.UtxoPsbt ? recoveryTx.getUnsignedTx().getId() : recoveryTx.getId(); }); it('matches fixture', async function () { - shouldEqualJSON(recovery, await getFixture(coin, `recovery/backupKeyRecovery-${tags.join('-')}`, recovery)); + shouldEqualJSON( + recovery, + await getFixture( + coin, + `recovery/backupKeyRecovery-${(params.krsProvider ? tags.concat([params.krsProvider]) : tags).join('-')}`, + recovery + ) + ); }); it('has expected input count', function () { - recoveryTx.ins.length.should.eql(recoverUnspents.length); + (recoveryTx instanceof utxolib.bitgo.UtxoPsbt ? recoveryTx.data.inputs : recoveryTx.ins).length.should.eql( + recoverUnspents.length + ); }); - function checkInputsSignedBy(tx: utxolib.bitgo.UtxoTransaction, rootKey: BIP32Interface, expectCount: number) { - const prevOutputs = recoverUnspents.map((u) => toOutput(u, coin.network)); - tx.ins.forEach((input, inputIndex) => { - const unspent = recoverUnspents[inputIndex] as WalletUnspent; - const { publicKey } = rootKey.derivePath(walletKeys.getDerivationPath(rootKey, unspent.chain, unspent.index)); - const signatures = utxolib.bitgo - .getSignatureVerifications(tx, inputIndex, unspent.value, { publicKey }, prevOutputs) - .filter((s) => s.signedBy !== undefined); - signatures.length.should.eql(expectCount); - }); + function checkInputsSignedBy( + tx: utxolib.bitgo.UtxoTransaction | utxolib.bitgo.UtxoPsbt, + rootKey: BIP32Interface, + expectCount: number + ) { + if (tx instanceof utxolib.bitgo.UtxoPsbt) { + function validate(tx: utxolib.bitgo.UtxoPsbt, inputIndex: number) { + try { + return tx.validateSignaturesOfInputHD(inputIndex, rootKey); + } catch (e) { + if (e.message === 'No signatures to validate') { + return false; + } + throw e; + } + } + tx.data.inputs.forEach((input, inputIndex) => { + validate(tx, inputIndex).should.eql(!!expectCount); + }); + } else { + const prevOutputs = recoverUnspents + .map((u) => toOutput(u, coin.network)) + .map((v) => ({ ...v, value: utxolib.bitgo.toTNumber(v.value, coin.amountType) })); + tx.ins.forEach((input, inputIndex) => { + const unspent = recoverUnspents[inputIndex] as WalletUnspent; + const { publicKey } = rootKey.derivePath(walletKeys.getDerivationPath(rootKey, unspent.chain, unspent.index)); + const signatures = utxolib.bitgo + .getSignatureVerifications( + tx, + inputIndex, + utxolib.bitgo.toTNumber(unspent.value, coin.amountType), + { publicKey }, + prevOutputs + ) + .filter((s) => s.signedBy !== undefined); + signatures.length.should.eql(expectCount); + }); + } } it((params.hasUserSignature ? 'has' : 'has no') + ' user signature', function () { @@ -202,33 +237,38 @@ function run( }); if (params.hasUserSignature && params.hasBackupSignature) { - it('has no placeholder signatures', function () { - recoveryTx.ins.forEach((input) => { - const parsed = utxolib.bitgo.parseSignatureScript(input); - switch (parsed.scriptType) { - case 'p2sh': - case 'p2shP2wsh': - case 'p2wsh': - case 'taprootScriptPathSpend': - parsed.signatures.forEach((signature, i) => { - if (utxolib.bitgo.isPlaceholderSignature(signature)) { - throw new Error(`placeholder signature at index ${i}`); - } - }); - break; - default: - throw new Error(`unexpected scriptType ${scriptType}`); - } - }); + it('has no placeholder signatures', function (this: mocha.Context) { + if (recoveryTx instanceof utxolib.bitgo.UtxoTransaction) { + recoveryTx.ins.forEach((input) => { + const parsed = utxolib.bitgo.parseSignatureScript(input); + switch (parsed.scriptType) { + case 'p2sh': + case 'p2shP2wsh': + case 'p2wsh': + case 'taprootScriptPathSpend': + parsed.signatures.forEach((signature, i) => { + if (utxolib.bitgo.isPlaceholderSignature(signature)) { + throw new Error(`placeholder signature at index ${i}`); + } + }); + break; + default: + throw new Error(`unexpected scriptType ${scriptType}`); + } + }); + } else { + this.skip(); + } }); } it((params.hasKrsOutput ? 'has' : 'has no') + ' key recovery service output', function () { - recoveryTx.outs.length.should.eql(params.hasKrsOutput ? 2 : 1); - const outputAddresses = recoveryTx.outs.map((o) => - utxolib.address.fromOutputScript(o.script, recoveryTx.network) - ); - outputAddresses.includes(keyRecoveryServiceAddress).should.eql(!!params.hasKrsOutput); + const outs = recoveryTx instanceof utxolib.bitgo.UtxoPsbt ? recoveryTx.getUnsignedTx().outs : recoveryTx.outs; + outs.length.should.eql(params.hasKrsOutput && params.krsProvider === 'keyternal' ? 2 : 1); + const outputAddresses = outs.map((o) => utxolib.address.fromOutputScript(o.script, recoveryTx.network)); + outputAddresses + .includes(keyRecoveryServiceAddress) + .should.eql(!!params.hasKrsOutput && params.krsProvider === 'keyternal'); outputAddresses.includes(recoveryDestination).should.eql(true); }); }); @@ -250,19 +290,24 @@ utxoCoins.forEach((coin) => { [scriptType, 'unsignedRecovery'] ); - run( - coin, - scriptType, - walletKeys, - { - keys: getKeysForKeyRecoveryService(walletKeys.triple, walletPassphrase), - krsProvider: 'keyternal', - hasUserSignature: true, - hasBackupSignature: false, - hasKrsOutput: true, - }, - [scriptType, 'keyRecoveryService'] - ); + ['dai', 'keyternal'].forEach((krsProvider) => { + if (krsProvider === 'keyternal' && !['p2sh', 'p2wsh', 'p2shP2wsh'].includes(scriptType)) { + return; + } + run( + coin, + scriptType, + walletKeys, + { + keys: getKeysForKeyRecoveryService(walletKeys.triple, walletPassphrase), + krsProvider: krsProvider, + hasUserSignature: true, + hasBackupSignature: false, + hasKrsOutput: true, + }, + [scriptType, 'keyRecoveryService'] + ); + }); run( coin, diff --git a/modules/bitgo/test/v2/unit/coins/utxo/recovery/mock.ts b/modules/bitgo/test/v2/unit/coins/utxo/recovery/mock.ts index 833b2b07d9..507b26fa8e 100644 --- a/modules/bitgo/test/v2/unit/coins/utxo/recovery/mock.ts +++ b/modules/bitgo/test/v2/unit/coins/utxo/recovery/mock.ts @@ -10,33 +10,20 @@ import { Bsv } from '@bitgo/sdk-coin-bsv'; type Unspent = bitgo.Unspent; export class MockRecoveryProvider implements RecoveryProvider { - private mockTxHexes: Record = {}; - constructor(public unspents: Unspent[]) { - const maxVout: number = unspents.reduce((current: number, u: Unspent) => { - const vout = bitgo.parseOutputId(u.id).vout; - return vout > current ? vout : current; - }, 0); - - const mockTx = new utxolib.bitgo.UtxoTransaction(utxolib.networks.bitcoin); - const dummyHash = '0000000000000000000000000000000000000000000000000000000000000000'; - const dummyIndex = 4294967295; - const dummyData = '032832051c4d696e656420627920416e74506f6f6c20626a343a45ef0454c5de8d5e5300004e2c0000'; - mockTx.addInput(Buffer.from(dummyHash, 'hex'), dummyIndex); - for (let i = 0; i <= maxVout; i++) { - mockTx.addOutput(Buffer.from(dummyData, 'hex'), BigInt(0)); - } - - unspents.forEach((u) => { - const { txid, vout } = bitgo.parseOutputId(u.id); - mockTx.outs[vout].value = BigInt(u.value) + BigInt(1); - this.mockTxHexes[txid] = mockTx.toHex(); + private prevTxCache: Record = {}; + constructor(public unspents: Unspent[]) { + this.unspents.forEach((u) => { + if (utxolib.bitgo.isUnspentWithPrevTx(u)) { + const { txid } = bitgo.parseOutputId(u.id); + this.prevTxCache[txid] = u.prevTx.toString('hex'); + } }); } async getAddressInfo(address: string): Promise { const u = this.unspents.find((u) => u.address === address); return { txCount: u ? 1 : 0, - balance: u ? u.value : 0, + balance: u ? Number(u.value) : 0, }; } @@ -46,12 +33,12 @@ export class MockRecoveryProvider implements RecoveryProvider { .map((u) => ({ id: u.id, address: u.address, - value: u.value, + value: Number(u.value), })); } async getTransactionHex(txid: string): Promise { - return this.mockTxHexes[txid]; + return this.prevTxCache[txid]; } getTransactionInputs(txid: string): Promise { diff --git a/modules/utxo-lib/src/bitgo/wallet/Psbt.ts b/modules/utxo-lib/src/bitgo/wallet/Psbt.ts index 63d9f4274c..a737a5a11c 100644 --- a/modules/utxo-lib/src/bitgo/wallet/Psbt.ts +++ b/modules/utxo-lib/src/bitgo/wallet/Psbt.ts @@ -474,7 +474,11 @@ export function isTransactionWithKeyPathSpendInput( * extendedPubkey. */ export function addXpubsToPsbt(psbt: UtxoPsbt, rootWalletKeys: RootWalletKeys): void { - const xPubs = rootWalletKeys.triple.map( + const safeRootWalletKeys = new RootWalletKeys( + rootWalletKeys.triple.map((bip32) => bip32.neutered()) as Triple, + rootWalletKeys.derivationPrefixes + ); + const xPubs = safeRootWalletKeys.triple.map( (bip32): GlobalXpub => ({ extendedPubkey: bs58check.decode(bip32.toBase58()), masterFingerprint: bip32.fingerprint,