update proxy

This commit is contained in:
Danil Kovtonyuk 2021-03-17 22:39:34 +10:00 committed by Alexey Pertsev
parent 80f9d4017f
commit 5d4ae5965c
5 changed files with 773 additions and 52 deletions

View file

@ -2,10 +2,12 @@ const { instances, netId } = require('./config')
const { poseidon } = require('circomlib')
const { toBN, toChecksumAddress, BN } = require('web3-utils')
const TORN_TOKEN = {
tokenAddress: '0x77777FeDdddFfC19Ff86DB637967013e6C6A116C',
symbol: 'TORN',
decimals: 18,
const TOKENS = {
torn: {
tokenAddress: '0x77777FeDdddFfC19Ff86DB637967013e6C6A116C',
symbol: 'TORN',
decimals: 18,
},
}
const sleep = ms => new Promise(res => setTimeout(res, ms))
@ -52,7 +54,7 @@ function when(source, event) {
function getArgsForOracle() {
const tokens = {
...instances.netId1,
torn: TORN_TOKEN,
...TOKENS,
}
const tokenAddresses = []
const oneUintAmount = []