Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/src/components/Wallet/__mocks__/walletAndBalancesMock.js
import BigNumber from 'bignumber.js'; | import BigNumber from 'bignumber.js'; | ||||
export const walletWithBalancesMock = { | export const walletWithBalancesMock = { | ||||
wallet: { | wallet: { | ||||
Path245: { | Path245: { | ||||
slpAddress: | slpAddress: | ||||
'simpleledger:qryupy05jz7tlhtda2xth8vyvdqksyqh5cp5kf5vth', | 'simpleledger:qryupy05jz7tlhtda2xth8vyvdqksyqh5cp5kf5vth', | ||||
}, | }, | ||||
Path145: { | Path145: { | ||||
cashAddress: | cashAddress: | ||||
'bitcoincash:qrn4er57cvr5fulyl4hduef6czgu6u2yu522f4gv6f', | 'bitcoincash:qrn4er57cvr5fulyl4hduef6czgu6u2yu522f4gv6f', | ||||
}, | }, | ||||
Path1899: { | |||||
slpAddress: | |||||
'simpleledger:qryupy05jz7tlhtda2xth8vyvdqksyqh5cp5kf5vth', | |||||
cashAddress: | |||||
'bitcoincash:qrn4er57cvr5fulyl4hduef6czgu6u2yu522f4gv6f', | |||||
}, | |||||
}, | }, | ||||
balances: { | balances: { | ||||
totalBalance: 0.000546, | totalBalance: 0.000546, | ||||
}, | }, | ||||
}; | }; | ||||
export const walletWithoutBalancesMock = { | export const walletWithoutBalancesMock = { | ||||
wallet: { | wallet: { | ||||
Path245: { | Path245: { | ||||
slpAddress: | slpAddress: | ||||
'simpleledger:qryupy05jz7tlhtda2xth8vyvdqksyqh5cp5kf5vth', | 'simpleledger:qryupy05jz7tlhtda2xth8vyvdqksyqh5cp5kf5vth', | ||||
}, | }, | ||||
Path145: { | Path145: { | ||||
cashAddress: | cashAddress: | ||||
'bitcoincash:qrn4er57cvr5fulyl4hduef6czgu6u2yu522f4gv6f', | 'bitcoincash:qrn4er57cvr5fulyl4hduef6czgu6u2yu522f4gv6f', | ||||
}, | }, | ||||
Path1899: { | |||||
slpAddress: | |||||
'simpleledger:qryupy05jz7tlhtda2xth8vyvdqksyqh5cp5kf5vth', | |||||
cashAddress: | |||||
'bitcoincash:qrn4er57cvr5fulyl4hduef6czgu6u2yu522f4gv6f', | |||||
}, | |||||
}, | }, | ||||
tokens: [], | tokens: [], | ||||
balances: { | balances: { | ||||
totalBalance: 0, | totalBalance: 0, | ||||
}, | }, | ||||
}; | }; | ||||
export const walletWithBalancesAndTokens = { | export const walletWithBalancesAndTokens = { | ||||
wallet: { | wallet: { | ||||
Path245: { | Path245: { | ||||
slpAddress: | slpAddress: | ||||
'simpleledger:qryupy05jz7tlhtda2xth8vyvdqksyqh5cp5kf5vth', | 'simpleledger:qryupy05jz7tlhtda2xth8vyvdqksyqh5cp5kf5vth', | ||||
}, | }, | ||||
Path145: { | Path145: { | ||||
cashAddress: | cashAddress: | ||||
'bitcoincash:qrn4er57cvr5fulyl4hduef6czgu6u2yu522f4gv6f', | 'bitcoincash:qrn4er57cvr5fulyl4hduef6czgu6u2yu522f4gv6f', | ||||
}, | }, | ||||
Path1899: { | |||||
slpAddress: | |||||
'simpleledger:qryupy05jz7tlhtda2xth8vyvdqksyqh5cp5kf5vth', | |||||
cashAddress: | |||||
'bitcoincash:qrn4er57cvr5fulyl4hduef6czgu6u2yu522f4gv6f', | |||||
}, | |||||
}, | }, | ||||
balances: { | balances: { | ||||
totalBalances: 0.0000546, | totalBalances: 0.0000546, | ||||
}, | }, | ||||
tokens: [ | tokens: [ | ||||
{ | { | ||||
info: { | info: { | ||||
height: 659843, | height: 659843, | ||||
Show All 30 Lines |