Update #2 to the MetaSwap contract address (#9557)

feature/default_network_editable
Dan J Miller 4 years ago committed by GitHub
parent 0e37904692
commit 33b755fa66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/scripts/controllers/swaps.js
  2. 4
      test/unit/app/controllers/swaps-test.js
  3. 2
      ui/app/helpers/constants/swaps.js

@ -18,7 +18,7 @@ import {
fetchSwapsFeatureLiveness as defaultFetchSwapsFeatureLiveness,
} from '../../../ui/app/pages/swaps/swaps.util'
const METASWAP_ADDRESS = '0x016B4bf68d421147c06f1b8680602c5bf0Df91A8'
const METASWAP_ADDRESS = '0x881d40237659c251811cec9c364ef91dc08d300c'
// The MAX_GAS_LIMIT is a number that is higher than the maximum gas costs we have observed on any aggregator
const MAX_GAS_LIMIT = 2500000

@ -26,7 +26,7 @@ const MOCK_QUOTES = {
value: '0x17647444f166000',
gas: '0xe09c0',
gasPrice: undefined,
to: '0x016B4bf68d421147c06f1b8680602c5bf0Df91A8',
to: '0x881d40237659c251811cec9c364ef91dc08d300c',
},
sourceAmount: '1000000000000000000000000000000000000',
destinationAmount: '396493201125465',
@ -59,7 +59,7 @@ const MOCK_QUOTES_APPROVAL_REQUIRED = {
value: '0x17647444f166000',
gas: '0xe09c0',
gasPrice: undefined,
to: '0x016B4bf68d421147c06f1b8680602c5bf0Df91A8',
to: '0x881d40237659c251811cec9c364ef91dc08d300c',
},
sourceAmount: '1000000000000000000000000000000000000',
destinationAmount: '396493201125465',

@ -18,4 +18,4 @@ 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'
export const SWAPS_CONTRACT_ADDRESS = '0x881d40237659c251811cec9c364ef91dc08d300c'

Loading…
Cancel
Save