1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-18 23:43:22 +01:00
metamask-extension/ui/app/pages/swaps/select-quote-popover/mock-quote-data.js
2020-10-06 15:58:38 -02:30

107 lines
2.8 KiB
JavaScript

const quoteDataRows = [
{
aggId: 'Agg1',
amountReceiving: '100 DAI',
destinationTokenDecimals: 18,
destinationTokenSymbol: 'DAI',
destinationTokenValue: '100000000000000000000',
isBestQuote: false,
liquiditySource: 'AGG',
metaMaskFee: '1.00 DAI',
networkFees: '$15.25',
quoteSource: 'AGG',
rawNetworkFees: 10.25,
slippage: '1%',
sourceTokenDecimals: 18,
sourceTokenSymbol: 'ETH',
sourceTokenValue: '250000000000000000',
},
{
aggId: 'Agg2',
amountReceiving: '101 DAI',
destinationTokenDecimals: 18,
destinationTokenSymbol: 'DAI',
destinationTokenValue: '101000000000000000000',
isBestQuote: false,
liquiditySource: 'RFQ',
metaMaskFee: '1.01 DAI',
networkFees: '$14.26',
quoteSource: 'RFQ',
rawNetworkFees: 10.26,
slippage: '1%',
sourceTokenDecimals: 18,
sourceTokenSymbol: 'ETH',
sourceTokenValue: '250000000000000000',
},
{
aggId: 'Agg3',
amountReceiving: '102 DAI',
destinationTokenDecimals: 18,
destinationTokenSymbol: 'DAI',
destinationTokenValue: '102000000000000000000',
isBestQuote: false,
liquiditySource: 'DEX',
metaMaskFee: '1.02 DAI',
networkFees: '$13.27',
quoteSource: 'DEX',
rawNetworkFees: 10.27,
slippage: '1%',
sourceTokenDecimals: 18,
sourceTokenSymbol: 'ETH',
sourceTokenValue: '250000000000000000',
},
{
aggId: 'Agg4',
amountReceiving: '150 DAI',
destinationTokenDecimals: 18,
destinationTokenSymbol: 'DAI',
destinationTokenValue: '150000000000000000000',
isBestQuote: true,
liquiditySource: 'AGG',
metaMaskFee: '1.00 DAI',
networkFees: '$12.28',
quoteSource: 'AGG',
rawNetworkFees: 10.28,
slippage: '1%',
sourceTokenDecimals: 18,
sourceTokenSymbol: 'ETH',
sourceTokenValue: '250000000000000000',
},
{
aggId: 'Agg5',
amountReceiving: '104 DAI',
destinationTokenDecimals: 18,
destinationTokenSymbol: 'DAI',
destinationTokenValue: '104000000000000000000',
isBestQuote: false,
liquiditySource: 'RFQ',
metaMaskFee: '1.04 DAI',
networkFees: '$11.29',
quoteSource: 'RFQ',
rawNetworkFees: 10.29,
slippage: '1%',
sourceTokenDecimals: 18,
sourceTokenSymbol: 'ETH',
sourceTokenValue: '250000000000000000',
},
{
aggId: 'Agg6',
amountReceiving: '105 DAI',
destinationTokenDecimals: 18,
destinationTokenSymbol: 'DAI',
destinationTokenValue: '105000000000000000000',
isBestQuote: false,
liquiditySource: 'DEX',
metaMaskFee: '1.05 DAI',
networkFees: '$10.30',
quoteSource: 'DEX',
rawNetworkFees: 10.30,
slippage: '1%',
sourceTokenDecimals: 18,
sourceTokenSymbol: 'ETH',
sourceTokenValue: '250000000000000000',
},
]
export default quoteDataRows