Oracle using ERC_TYPES from commons (#163)
This commit is contained in:
parent
5d22ad1ecb
commit
5c92cf50d7
@ -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'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user