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
|
|
|
networkFees: PropTypes.string.isRequired,
|
|
|
|
quoteSource: PropTypes.string.isRequired,
|
2020-11-10 18:47:55 +01:00
|
|
|
rawNetworkFees: PropTypes.string.isRequired,
|
2020-11-19 16:26:55 +01:00
|
|
|
slippage: PropTypes.number.isRequired,
|
2020-10-06 20:28:38 +02:00
|
|
|
sourceTokenDecimals: PropTypes.number.isRequired,
|
|
|
|
sourceTokenSymbol: PropTypes.string.isRequired,
|
|
|
|
sourceTokenValue: PropTypes.string.isRequired,
|
|
|
|
})
|