Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bokkypoobah committed Aug 18, 2024
1 parent b13a6bf commit 65abc75
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
</b-tab>
<b-tab no-body>
<template #title>
<span v-b-popover.hover.ds500="'Search for ERC-20, ERC-721 and ERC-1155 tokens owned by one or more addresses'">Search by Owner Address</span>
<span v-b-popover.hover.ds500="'Search for ERC-20, ERC-721 and ERC-1155 tokens owned by one or more addresses'">Search by Owner Addresses</span>
</template>
</b-tab>
<b-tab no-body active>
Expand Down Expand Up @@ -938,7 +938,7 @@ <h6 class="mt-4">Troubleshooting</h6>
},
},
modalSearchContracts: {
show: true,
show: false,
tabIndex: 0,
},
modalNonFungible: {
Expand Down Expand Up @@ -1870,7 +1870,7 @@ <h6 class="mt-4">Troubleshooting</h6>
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,
Expand Down Expand Up @@ -1904,7 +1904,7 @@ <h6 class="mt-4">Troubleshooting</h6>
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] = {};
}
Expand All @@ -1923,7 +1923,7 @@ <h6 class="mt-4">Troubleshooting</h6>
} 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)) {
Expand Down

0 comments on commit 65abc75

Please sign in to comment.