From 65abc75d4c77b723b7a276bf23a121338e6ee48c Mon Sep 17 00:00:00 2001 From: BokkyPooBah Date: Mon, 19 Aug 2024 01:52:10 +1000 Subject: [PATCH] wip --- docs/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/index.html b/docs/index.html index 319c211..b5818b6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -78,7 +78,7 @@ @@ -938,7 +938,7 @@
Troubleshooting
}, }, modalSearchContracts: { - show: true, + show: false, tabIndex: 0, }, modalNonFungible: { @@ -1870,7 +1870,7 @@
Troubleshooting
for (const event of records) { // console.log(now() + " INFO loadERC20 - event: " + JSON.stringify(event)); events.push(event); - if (event.type == EVENT_TRANSFER) { + if (event.eventType == EVENT_TRANSFER) { if (!(event.from in tokensCollator)) { tokensCollator[event.from] = { blockNumber: event.blockNumber, @@ -1904,7 +1904,7 @@
Troubleshooting
tokensCollator[event.to].logIndex = event.logIndex; tokensCollator[event.to].tokens = ethers.BigNumber.from(tokensCollator[event.to].tokens).add(event.tokens).toString(); } - } else if (event.type == EVENT_APPROVAL) { + } else if (event.eventType == EVENT_APPROVAL) { if (!(event.owner in approvalsCollator)) { approvalsCollator[event.owner] = {}; } @@ -1923,7 +1923,7 @@
Troubleshooting
} while (!done); Vue.set(this, 'events', events); // console.log(now() + " INFO loadERC20 - events[0..2]: " + JSON.stringify(events.slice(0, 3), null, 2)); - // console.log(now() + " INFO loadERC20 - tokensCollator: " + JSON.stringify(tokensCollator, null, 2)); + console.log(now() + " INFO loadERC20 - tokensCollator: " + JSON.stringify(tokensCollator, null, 2)); // console.log(now() + " INFO loadERC20 - approvalsCollator: " + JSON.stringify(approvalsCollator, null, 2)); const tokens = []; for (const [ owner, balance ] of Object.entries(tokensCollator)) {