A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
ciphermask/ui/app/pages/swaps/select-quote-popover/mock-quote-data.js

100 lines
2.6 KiB

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