Compare commits
No commits in common. "e49e3e0c0d651d7bb79684b242224085b12f3eab" and "a8c238c2afd3cf01f00ca72bb9f1d7e9806d62b5" have entirely different histories.
e49e3e0c0d
...
a8c238c2af
3
.gitignore
vendored
3
.gitignore
vendored
@ -87,6 +87,3 @@ sw.*
|
|||||||
|
|
||||||
# Mac OSX
|
# Mac OSX
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
|
||||||
static/*/*.json
|
|
@ -9,7 +9,7 @@ import { loadCachedEvents, getPastEvents } from './helpers'
|
|||||||
|
|
||||||
const EVENTS_PATH = './static/events/'
|
const EVENTS_PATH = './static/events/'
|
||||||
const EVENTS = ['Deposit', 'Withdrawal']
|
const EVENTS = ['Deposit', 'Withdrawal']
|
||||||
const enabledChains = ['1', '56', '100', '137']
|
const enabledChains = ['1', '56', '100', '137' ]
|
||||||
|
|
||||||
async function main(type, netId) {
|
async function main(type, netId) {
|
||||||
const { tokens, nativeCurrency, deployedBlock } = networkConfig[`netId${netId}`]
|
const { tokens, nativeCurrency, deployedBlock } = networkConfig[`netId${netId}`]
|
||||||
@ -22,7 +22,6 @@ async function main(type, netId) {
|
|||||||
deployedBlock
|
deployedBlock
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log('Update events for', instance, nativeCurrency.toUpperCase(), `${type.toLowerCase()}s`)
|
|
||||||
console.log('cachedEvents count - ', cachedEvents.events.length)
|
console.log('cachedEvents count - ', cachedEvents.events.length)
|
||||||
console.log('lastBlock - ', cachedEvents.lastBlock)
|
console.log('lastBlock - ', cachedEvents.lastBlock)
|
||||||
|
|
||||||
|
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.
Loading…
Reference in New Issue
Block a user