Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/src/utils/__mocks__/mockStoredWallets.js
Show First 20 Lines • Show All 1,418 Lines • ▼ Show 20 Lines | state: { | ||||
balance: { | balance: { | ||||
s: 1, | s: 1, | ||||
e: 5, | e: 5, | ||||
c: [999997, 99999999400000], | c: [999997, 99999999400000], | ||||
}, | }, | ||||
hasBaton: false, | hasBaton: false, | ||||
}, | }, | ||||
], | ], | ||||
slpBalancesAndUtxos: { | |||||
nonSlpUtxos: [ | nonSlpUtxos: [ | ||||
{ | { | ||||
height: 682107, | height: 682107, | ||||
tx_hash: | tx_hash: | ||||
'8d4c90ecf069e3a1494339724ddbb8bf28e3b38315a009ca5c49237b3ae7687a', | '8d4c90ecf069e3a1494339724ddbb8bf28e3b38315a009ca5c49237b3ae7687a', | ||||
tx_pos: 1, | tx_pos: 1, | ||||
value: 1503017804, | value: 1503017804, | ||||
txid: '8d4c90ecf069e3a1494339724ddbb8bf28e3b38315a009ca5c49237b3ae7687a', | txid: '8d4c90ecf069e3a1494339724ddbb8bf28e3b38315a009ca5c49237b3ae7687a', | ||||
isValid: false, | isValid: false, | ||||
address: | address: | ||||
'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | 'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | ||||
outpoint: { | outpoint: { | ||||
outIdx: 1, | outIdx: 1, | ||||
txid: '8d4c90ecf069e3a1494339724ddbb8bf28e3b38315a009ca5c49237b3ae7687a', | txid: '8d4c90ecf069e3a1494339724ddbb8bf28e3b38315a009ca5c49237b3ae7687a', | ||||
}, | }, | ||||
}, | }, | ||||
], | ], | ||||
slpUtxos: [ | slpUtxos: [ | ||||
{ | { | ||||
height: 680782, | height: 680782, | ||||
tx_hash: | tx_hash: | ||||
'525457276f1b6984170c9b35a8312d4988fce495723eabadd2afcdb3b872b2f1', | '525457276f1b6984170c9b35a8312d4988fce495723eabadd2afcdb3b872b2f1', | ||||
tx_pos: 1, | tx_pos: 1, | ||||
value: 546, | value: 546, | ||||
txid: '525457276f1b6984170c9b35a8312d4988fce495723eabadd2afcdb3b872b2f1', | txid: '525457276f1b6984170c9b35a8312d4988fce495723eabadd2afcdb3b872b2f1', | ||||
vout: 1, | vout: 1, | ||||
utxoType: 'token', | utxoType: 'token', | ||||
transactionType: 'send', | transactionType: 'send', | ||||
tokenTicker: 'ST', | tokenTicker: 'ST', | ||||
tokenName: 'ST', | tokenName: 'ST', | ||||
tokenDocumentUrl: 'developer.bitcoin.com', | tokenDocumentUrl: 'developer.bitcoin.com', | ||||
tokenDocumentHash: '', | tokenDocumentHash: '', | ||||
decimals: 0, | decimals: 0, | ||||
tokenType: 1, | tokenType: 1, | ||||
tokenQty: '1', | tokenQty: '1', | ||||
isValid: true, | isValid: true, | ||||
address: | address: | ||||
'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | 'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | ||||
slpMeta: { | slpMeta: { | ||||
tokenId: | tokenId: | ||||
'bf24d955f59351e738ecd905966606a6837e478e1982943d724eab10caad82fd', | 'bf24d955f59351e738ecd905966606a6837e478e1982943d724eab10caad82fd', | ||||
}, | }, | ||||
}, | }, | ||||
{ | { | ||||
height: 680784, | height: 680784, | ||||
tx_hash: | tx_hash: | ||||
'daa98a872b7d88fefd2257b006db001ef82a601f3943b92e0c753076598a7b75', | 'daa98a872b7d88fefd2257b006db001ef82a601f3943b92e0c753076598a7b75', | ||||
tx_pos: 1, | tx_pos: 1, | ||||
value: 546, | value: 546, | ||||
txid: 'daa98a872b7d88fefd2257b006db001ef82a601f3943b92e0c753076598a7b75', | txid: 'daa98a872b7d88fefd2257b006db001ef82a601f3943b92e0c753076598a7b75', | ||||
vout: 1, | vout: 1, | ||||
utxoType: 'token', | utxoType: 'token', | ||||
transactionType: 'send', | transactionType: 'send', | ||||
slpMeta: { | slpMeta: { | ||||
tokenId: | tokenId: | ||||
'bef614aac85c0c866f4d39e4d12a96851267d38d1bca5bdd6488bbd42e28b6b1', | 'bef614aac85c0c866f4d39e4d12a96851267d38d1bca5bdd6488bbd42e28b6b1', | ||||
}, | }, | ||||
tokenTicker: 'CTP', | tokenTicker: 'CTP', | ||||
tokenName: 'Cash Tab Points', | tokenName: 'Cash Tab Points', | ||||
tokenDocumentUrl: 'https://cashtabapp.com/', | tokenDocumentUrl: 'https://cashtabapp.com/', | ||||
tokenDocumentHash: '', | tokenDocumentHash: '', | ||||
decimals: 9, | decimals: 9, | ||||
tokenType: 1, | tokenType: 1, | ||||
tokenQty: '1e-9', | tokenQty: '1e-9', | ||||
isValid: true, | isValid: true, | ||||
address: | address: | ||||
'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | 'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | ||||
}, | }, | ||||
{ | { | ||||
height: 681189, | height: 681189, | ||||
tx_hash: | tx_hash: | ||||
'f38ccfa615e38f0c871f4eb35db420157808014f1f5743f1522529253c0c4c56', | 'f38ccfa615e38f0c871f4eb35db420157808014f1f5743f1522529253c0c4c56', | ||||
tx_pos: 2, | tx_pos: 2, | ||||
value: 546, | value: 546, | ||||
txid: 'f38ccfa615e38f0c871f4eb35db420157808014f1f5743f1522529253c0c4c56', | txid: 'f38ccfa615e38f0c871f4eb35db420157808014f1f5743f1522529253c0c4c56', | ||||
vout: 2, | vout: 2, | ||||
utxoType: 'token', | utxoType: 'token', | ||||
transactionType: 'send', | transactionType: 'send', | ||||
slpMeta: { | slpMeta: { | ||||
tokenId: | tokenId: | ||||
'7443f7c831cdf2b2b04d5f0465ed0bcf348582675b0e4f17906438c232c22f3d', | '7443f7c831cdf2b2b04d5f0465ed0bcf348582675b0e4f17906438c232c22f3d', | ||||
}, | }, | ||||
tokenTicker: 'WDT', | tokenTicker: 'WDT', | ||||
tokenName: | tokenName: | ||||
'Test Token With Exceptionally Long Name For CSS And Style Revisions', | 'Test Token With Exceptionally Long Name For CSS And Style Revisions', | ||||
tokenDocumentUrl: | tokenDocumentUrl: | ||||
'https://www.ImpossiblyLongWebsiteDidYouThinkWebDevWouldBeFun.org', | 'https://www.ImpossiblyLongWebsiteDidYouThinkWebDevWouldBeFun.org', | ||||
tokenDocumentHash: | tokenDocumentHash: | ||||
'����\\�IS\u001e9�����k+���\u0018���\u001b]�߷2��', | '����\\�IS\u001e9�����k+���\u0018���\u001b]�߷2��', | ||||
decimals: 7, | decimals: 7, | ||||
tokenType: 1, | tokenType: 1, | ||||
tokenQty: '523512277.7961432', | tokenQty: '523512277.7961432', | ||||
isValid: true, | isValid: true, | ||||
address: | address: | ||||
'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | 'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | ||||
}, | }, | ||||
{ | { | ||||
height: 681190, | height: 681190, | ||||
tx_hash: | tx_hash: | ||||
'e9dca9aa954131a0004325fff11dfddcd6e5843c468116cf4d38cb264032cdc0', | 'e9dca9aa954131a0004325fff11dfddcd6e5843c468116cf4d38cb264032cdc0', | ||||
tx_pos: 2, | tx_pos: 2, | ||||
value: 546, | value: 546, | ||||
txid: 'e9dca9aa954131a0004325fff11dfddcd6e5843c468116cf4d38cb264032cdc0', | txid: 'e9dca9aa954131a0004325fff11dfddcd6e5843c468116cf4d38cb264032cdc0', | ||||
vout: 2, | vout: 2, | ||||
utxoType: 'token', | utxoType: 'token', | ||||
transactionType: 'send', | transactionType: 'send', | ||||
slpMeta: { | slpMeta: { | ||||
tokenId: | tokenId: | ||||
'1f6a65e7a4bde92c0a012de2bcf4007034504a765377cdf08a3ee01d1eaa6901', | '1f6a65e7a4bde92c0a012de2bcf4007034504a765377cdf08a3ee01d1eaa6901', | ||||
}, | }, | ||||
tokenTicker: '🍔', | tokenTicker: '🍔', | ||||
tokenName: 'Burger', | tokenName: 'Burger', | ||||
tokenDocumentUrl: | tokenDocumentUrl: | ||||
'https://c4.wallpaperflare.com/wallpaper/58/564/863/giant-hamburger-wallpaper-preview.jpg', | 'https://c4.wallpaperflare.com/wallpaper/58/564/863/giant-hamburger-wallpaper-preview.jpg', | ||||
tokenDocumentHash: '', | tokenDocumentHash: '', | ||||
decimals: 0, | decimals: 0, | ||||
tokenType: 1, | tokenType: 1, | ||||
tokenQty: '1', | tokenQty: '1', | ||||
isValid: true, | isValid: true, | ||||
address: | address: | ||||
'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | 'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | ||||
}, | }, | ||||
{ | { | ||||
height: 681191, | height: 681191, | ||||
tx_hash: | tx_hash: | ||||
'091c9f32deb2f4f3733673803f51acf050b65d8042d1561824c6cd22d14bb43b', | '091c9f32deb2f4f3733673803f51acf050b65d8042d1561824c6cd22d14bb43b', | ||||
tx_pos: 2, | tx_pos: 2, | ||||
value: 546, | value: 546, | ||||
txid: '091c9f32deb2f4f3733673803f51acf050b65d8042d1561824c6cd22d14bb43b', | txid: '091c9f32deb2f4f3733673803f51acf050b65d8042d1561824c6cd22d14bb43b', | ||||
vout: 2, | vout: 2, | ||||
utxoType: 'token', | utxoType: 'token', | ||||
transactionType: 'send', | transactionType: 'send', | ||||
slpMeta: { | slpMeta: { | ||||
tokenId: | tokenId: | ||||
'4bd147fc5d5ff26249a9299c46b80920c0b81f59a60e05428262160ebee0b0c3', | '4bd147fc5d5ff26249a9299c46b80920c0b81f59a60e05428262160ebee0b0c3', | ||||
}, | }, | ||||
tokenTicker: 'NOCOVID', | tokenTicker: 'NOCOVID', | ||||
tokenName: 'Covid19 Lifetime Immunity', | tokenName: 'Covid19 Lifetime Immunity', | ||||
tokenDocumentUrl: | tokenDocumentUrl: | ||||
'https://www.who.int/emergencies/diseases/novel-coronavirus-2019/covid-19-vaccines', | 'https://www.who.int/emergencies/diseases/novel-coronavirus-2019/covid-19-vaccines', | ||||
tokenDocumentHash: '', | tokenDocumentHash: '', | ||||
decimals: 0, | decimals: 0, | ||||
tokenType: 1, | tokenType: 1, | ||||
tokenQty: '996797', | tokenQty: '996797', | ||||
isValid: true, | isValid: true, | ||||
address: | address: | ||||
'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | 'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | ||||
}, | }, | ||||
{ | { | ||||
height: 681191, | height: 681191, | ||||
tx_hash: | tx_hash: | ||||
'b35c502f388cdfbdd6841b7a73e973149b3c8deca76295a3e4665939e0562796', | 'b35c502f388cdfbdd6841b7a73e973149b3c8deca76295a3e4665939e0562796', | ||||
tx_pos: 2, | tx_pos: 2, | ||||
value: 546, | value: 546, | ||||
txid: 'b35c502f388cdfbdd6841b7a73e973149b3c8deca76295a3e4665939e0562796', | txid: 'b35c502f388cdfbdd6841b7a73e973149b3c8deca76295a3e4665939e0562796', | ||||
vout: 2, | vout: 2, | ||||
utxoType: 'token', | utxoType: 'token', | ||||
transactionType: 'send', | transactionType: 'send', | ||||
slpMeta: { | slpMeta: { | ||||
tokenId: | tokenId: | ||||
'dd84ca78db4d617221b58eabc6667af8fe2f7eadbfcc213d35be9f1b419beb8d', | 'dd84ca78db4d617221b58eabc6667af8fe2f7eadbfcc213d35be9f1b419beb8d', | ||||
}, | }, | ||||
tokenTicker: 'TAP', | tokenTicker: 'TAP', | ||||
tokenName: 'Thoughts and Prayers', | tokenName: 'Thoughts and Prayers', | ||||
tokenDocumentUrl: '', | tokenDocumentUrl: '', | ||||
tokenDocumentHash: '', | tokenDocumentHash: '', | ||||
decimals: 0, | decimals: 0, | ||||
tokenType: 1, | tokenType: 1, | ||||
tokenQty: '1', | tokenQty: '1', | ||||
isValid: true, | isValid: true, | ||||
address: | address: | ||||
'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | 'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | ||||
}, | }, | ||||
{ | { | ||||
height: 681191, | height: 681191, | ||||
tx_hash: | tx_hash: | ||||
'c70408fca1a5bf48f338f7ef031e586293be6948a5bff1fbbdd4eb923ef11e59', | 'c70408fca1a5bf48f338f7ef031e586293be6948a5bff1fbbdd4eb923ef11e59', | ||||
tx_pos: 2, | tx_pos: 2, | ||||
value: 546, | value: 546, | ||||
txid: 'c70408fca1a5bf48f338f7ef031e586293be6948a5bff1fbbdd4eb923ef11e59', | txid: 'c70408fca1a5bf48f338f7ef031e586293be6948a5bff1fbbdd4eb923ef11e59', | ||||
vout: 2, | vout: 2, | ||||
utxoType: 'token', | utxoType: 'token', | ||||
transactionType: 'send', | transactionType: 'send', | ||||
slpMeta: { | slpMeta: { | ||||
tokenId: | tokenId: | ||||
'df808a41672a0a0ae6475b44f272a107bc9961b90f29dc918d71301f24fe92fb', | 'df808a41672a0a0ae6475b44f272a107bc9961b90f29dc918d71301f24fe92fb', | ||||
}, | }, | ||||
tokenTicker: 'NAKAMOTO', | tokenTicker: 'NAKAMOTO', | ||||
tokenName: 'NAKAMOTO', | tokenName: 'NAKAMOTO', | ||||
tokenDocumentUrl: '', | tokenDocumentUrl: '', | ||||
tokenDocumentHash: '', | tokenDocumentHash: '', | ||||
decimals: 8, | decimals: 8, | ||||
tokenType: 1, | tokenType: 1, | ||||
tokenQty: '0.99999999', | tokenQty: '0.99999999', | ||||
isValid: true, | isValid: true, | ||||
address: | address: | ||||
'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | 'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | ||||
}, | }, | ||||
{ | { | ||||
height: 681191, | height: 681191, | ||||
tx_hash: | tx_hash: | ||||
'e1097932e5a607c100dc73fa18169be2e501e1782c7c94500742974d6353476c', | 'e1097932e5a607c100dc73fa18169be2e501e1782c7c94500742974d6353476c', | ||||
tx_pos: 2, | tx_pos: 2, | ||||
value: 546, | value: 546, | ||||
txid: 'e1097932e5a607c100dc73fa18169be2e501e1782c7c94500742974d6353476c', | txid: 'e1097932e5a607c100dc73fa18169be2e501e1782c7c94500742974d6353476c', | ||||
vout: 2, | vout: 2, | ||||
utxoType: 'token', | utxoType: 'token', | ||||
transactionType: 'send', | transactionType: 'send', | ||||
slpMeta: { | slpMeta: { | ||||
tokenId: | tokenId: | ||||
'7f8889682d57369ed0e32336f8b7e0ffec625a35cca183f4e81fde4e71a538a1', | '7f8889682d57369ed0e32336f8b7e0ffec625a35cca183f4e81fde4e71a538a1', | ||||
}, | }, | ||||
tokenTicker: 'HONK', | tokenTicker: 'HONK', | ||||
tokenName: 'HONK HONK', | tokenName: 'HONK HONK', | ||||
tokenDocumentUrl: 'THE REAL HONK SLP TOKEN', | tokenDocumentUrl: 'THE REAL HONK SLP TOKEN', | ||||
tokenDocumentHash: '', | tokenDocumentHash: '', | ||||
decimals: 0, | decimals: 0, | ||||
tokenType: 1, | tokenType: 1, | ||||
tokenQty: '1', | tokenQty: '1', | ||||
isValid: true, | isValid: true, | ||||
address: | address: | ||||
'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | 'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | ||||
}, | }, | ||||
{ | { | ||||
height: 681329, | height: 681329, | ||||
tx_hash: | tx_hash: | ||||
'08e9a7b9537e60f630eba0f339be6b97e9d8061d5fc0c4d3247226fc86574ce9', | '08e9a7b9537e60f630eba0f339be6b97e9d8061d5fc0c4d3247226fc86574ce9', | ||||
tx_pos: 2, | tx_pos: 2, | ||||
value: 546, | value: 546, | ||||
txid: '08e9a7b9537e60f630eba0f339be6b97e9d8061d5fc0c4d3247226fc86574ce9', | txid: '08e9a7b9537e60f630eba0f339be6b97e9d8061d5fc0c4d3247226fc86574ce9', | ||||
vout: 2, | vout: 2, | ||||
utxoType: 'token', | utxoType: 'token', | ||||
transactionType: 'send', | transactionType: 'send', | ||||
slpMeta: { | slpMeta: { | ||||
tokenId: | tokenId: | ||||
'1101bd5d7b6bbc3176fb2b93d08e76ab532b04ff731d71502249e3cb9b6fcb1a', | '1101bd5d7b6bbc3176fb2b93d08e76ab532b04ff731d71502249e3cb9b6fcb1a', | ||||
}, | }, | ||||
tokenTicker: 'XBIT', | tokenTicker: 'XBIT', | ||||
tokenName: 'eBits', | tokenName: 'eBits', | ||||
tokenDocumentUrl: 'https://boomertakes.com/', | tokenDocumentUrl: 'https://boomertakes.com/', | ||||
tokenDocumentHash: '', | tokenDocumentHash: '', | ||||
decimals: 9, | decimals: 9, | ||||
tokenType: 1, | tokenType: 1, | ||||
tokenQty: '999997.999999994', | tokenQty: '999997.999999994', | ||||
isValid: true, | isValid: true, | ||||
address: | address: | ||||
'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | 'bitcoincash:qz2708636snqhsxu8wnlka78h6fdp77ar5ulhz04hr', | ||||
}, | }, | ||||
], | ], | ||||
}, | |||||
parsedTxHistory: [ | parsedTxHistory: [ | ||||
{ | { | ||||
txid: '8d4c90ecf069e3a1494339724ddbb8bf28e3b38315a009ca5c49237b3ae7687a', | txid: '8d4c90ecf069e3a1494339724ddbb8bf28e3b38315a009ca5c49237b3ae7687a', | ||||
confirmations: 644, | confirmations: 644, | ||||
height: 682107, | height: 682107, | ||||
blocktime: 1618439595, | blocktime: 1618439595, | ||||
amountSent: 0.00002, | amountSent: 0.00002, | ||||
amountReceived: 0, | amountReceived: 0, | ||||
▲ Show 20 Lines • Show All 2,089 Lines • Show Last 20 Lines |