1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-19 07:53:21 +01:00
metamask-extension/ui/app/pages/swaps/select-quote-popover/select-quote-popover-constants.js

20 lines
806 B
JavaScript
Raw Normal View History

2020-10-06 20:28:38 +02:00
import PropTypes from 'prop-types'
export const QUOTE_DATA_ROWS_PROPTYPES_SHAPE = PropTypes.shape({
aggId: PropTypes.string.isRequired,
2020-10-06 20:28:38 +02:00
amountReceiving: PropTypes.string.isRequired,
destinationTokenDecimals: PropTypes.number.isRequired,
destinationTokenSymbol: PropTypes.string.isRequired,
destinationTokenValue: PropTypes.string.isRequired,
2020-10-14 19:17:41 +02:00
isBestQuote: PropTypes.bool,
2020-10-06 20:28:38 +02:00
liquiditySource: PropTypes.string.isRequired,
metaMaskFee: PropTypes.string.isRequired,
networkFees: PropTypes.string.isRequired,
quoteSource: PropTypes.string.isRequired,
rawNetworkFees: PropTypes.number.isRequired,
slippage: PropTypes.string.isRequired,
sourceTokenDecimals: PropTypes.number.isRequired,
sourceTokenSymbol: PropTypes.string.isRequired,
sourceTokenValue: PropTypes.string.isRequired,
})