forked from tornadocash/classic-ui
Compare commits
No commits in common. "91889af448aa2c4e5e1821280fb4b540fe273595" and "b4e23e96b438d5ea4e702e332ba542d05fc4d130" have entirely different histories.
91889af448
...
b4e23e96b4
@ -17,22 +17,21 @@ function updateEncrypted(netId) {
|
|||||||
async function updateCommon(netId) {
|
async function updateCommon(netId) {
|
||||||
const { nativeCurrency, tokens } = networkConfig[`netId${netId}`]
|
const { nativeCurrency, tokens } = networkConfig[`netId${netId}`]
|
||||||
|
|
||||||
for (const type of EVENTS) {
|
console.log(Object.keys(tokens[nativeCurrency].instanceAddress))
|
||||||
for (const [tokenName, tokenInfo] of Object.entries(tokens)) {
|
|
||||||
console.log(`${tokenInfo.symbol}: ${Object.keys(tokenInfo.instanceAddress)}`)
|
|
||||||
for (const instance of Object.keys(tokenInfo.instanceAddress)) {
|
|
||||||
console.warn('instance', instance)
|
|
||||||
|
|
||||||
const filename = `${type.toLowerCase()}s_${netId}_${tokenName}_${instance}.json`
|
for await (const type of EVENTS) {
|
||||||
|
for await (const instance of Object.keys(tokens[nativeCurrency].instanceAddress)) {
|
||||||
|
console.warn('instance', instance)
|
||||||
|
|
||||||
const isSaved = save(`${EVENTS_PATH}${filename}`)
|
const filename = `${type.toLowerCase()}s_${netId}_${nativeCurrency}_${instance}.json`
|
||||||
|
|
||||||
if (isSaved) {
|
const isSaved = save(`${EVENTS_PATH}${filename}`)
|
||||||
try {
|
|
||||||
testCommon(netId, type, filename)
|
if (isSaved) {
|
||||||
} catch (err) {
|
try {
|
||||||
console.error(err.message)
|
testCommon(netId, type, filename)
|
||||||
}
|
} catch (err) {
|
||||||
|
console.error(err.message)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user