2020-10-06 20:28:38 +02:00
|
|
|
import PropTypes from 'prop-types'
|
|
|
|
|
|
|
|
export const QUOTE_DATA_ROWS_PROPTYPES_SHAPE = PropTypes.shape({
|
2020-10-09 17:38:01 +02:00
|
|
|
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,
|
|
|
|
})
|