Oracle using ERC_TYPES from commons (#163)

This commit is contained in:
Przemyslaw Rzad 2019-07-24 15:36:07 +02:00 committed by GitHub
parent 5d22ad1ecb
commit 5c92cf50d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 8 deletions

@ -1,6 +1,5 @@
const baseConfig = require('./base.config')
const { ERC20_ABI } = require('../../commons')
const { ERC_TYPES } = require('../src/utils/constants')
const { ERC20_ABI, ERC_TYPES } = require('../../commons')
const initialChecksJson = process.argv[3]

@ -1,7 +1,6 @@
require('../env')
const Web3 = require('web3')
const { ERC677_BRIDGE_TOKEN_ABI } = require('../../commons')
const { ERC_TYPES } = require('../src/utils/constants')
const { ERC677_BRIDGE_TOKEN_ABI, ERC_TYPES } = require('../../commons')
async function initialChecks() {
const { ERC20_TOKEN_ADDRESS, BRIDGE_MODE, FOREIGN_RPC_URL, FOREIGN_BRIDGE_ADDRESS } = process.env

@ -17,9 +17,5 @@ module.exports = {
GAS_PRICE_BOUNDARIES: {
MIN: 1,
MAX: 250
},
ERC_TYPES: {
ERC20: 'ERC20',
ERC677: 'ERC677'
}
}