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.
22 lines
898 B
22 lines
898 B
4 years ago
|
// An address that the metaswap-api recognizes as ETH, in place of the token address that ERC-20 tokens have
|
||
|
export const ETH_SWAPS_TOKEN_ADDRESS = '0x0000000000000000000000000000000000000000'
|
||
|
|
||
|
export const ETH_SWAPS_TOKEN_OBJECT = {
|
||
|
symbol: 'ETH',
|
||
|
name: 'Ether',
|
||
|
address: ETH_SWAPS_TOKEN_ADDRESS,
|
||
|
decimals: 18,
|
||
|
iconUrl: 'images/black-eth-logo.svg',
|
||
|
}
|
||
|
|
||
|
export const QUOTES_EXPIRED_ERROR = 'quotes-expired'
|
||
|
export const SWAP_FAILED_ERROR = 'swap-failed-error'
|
||
|
export const ERROR_FETCHING_QUOTES = 'error-fetching-quotes'
|
||
|
export const QUOTES_NOT_AVAILABLE_ERROR = 'quotes-not-avilable'
|
||
|
export const OFFLINE_FOR_MAINTENANCE = 'offline-for-maintenance'
|
||
|
|
||
|
// A gas value for ERC20 approve calls that should be sufficient for all ERC20 approve implementations
|
||
|
export const DEFAULT_ERC20_APPROVE_GAS = '0x1d4c0'
|
||
|
|
||
|
export const SWAPS_CONTRACT_ADDRESS = '0x016b4bf68d421147c06f1b8680602c5bf0df91a8'
|