1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-11 20:27:12 +01:00
metamask-extension/ui/app/pages/swaps/select-quote-popover/mock-quote-data.js
Erik Marks 76a2a9bb8b
@metamask/eslint config@5.0.0 (#10358)
* @metamask/eslint-config@5.0.0
* Update eslintrc and prettierrc
* yarn lint:fix
2021-02-04 10:15:23 -08:00

95 lines
2.4 KiB
JavaScript

const quoteDataRows = [
{
aggId: 'Agg1',
amountReceiving: '100 DAI',
destinationTokenDecimals: 18,
destinationTokenSymbol: 'DAI',
destinationTokenValue: '100000000000000000000',
isBestQuote: false,
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,
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,
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,
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,
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,
networkFees: '$10.30',
quoteSource: 'DEX',
rawNetworkFees: '10.3',
slippage: '1%',
sourceTokenDecimals: 18,
sourceTokenSymbol: 'ETH',
sourceTokenValue: '250000000000000000',
},
];
export default quoteDataRows;