Skip to content

Commit 06946a4

Browse files
committed
Add sft/nft Burn to update totalSupply
1 parent 2ea6d64 commit 06946a4

File tree

1 file changed

+2
-2
lines changed
  • block-explorer-indexer/src/libs/indexer

1 file changed

+2
-2
lines changed

block-explorer-indexer/src/libs/indexer/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,11 +330,11 @@ export default class Indexer {
330330
await getTokenDetails(collectionIdToERC721Address(args?.collectionUuid) as Address, true);
331331
}
332332
// nft.BaseUriSet, nft.NameSet, nft.Mint;
333-
if (section === 'nft' && ['BaseUriSet', 'NameSet', 'Mint'].includes(method)) {
333+
if (section === 'nft' && ['BaseUriSet', 'NameSet', 'Mint', 'Burn'].includes(method)) {
334334
await getTokenDetails(collectionIdToERC721Address(args?.collectionId) as Address, true);
335335
}
336336
// sft.CollectionCreate, sft.BaseUriSet, sft.NameSet, sft.Mint
337-
if (section === 'sft' && ['CollectionCreate', 'BaseUriSet', 'NameSet', 'Mint'].includes(method)) {
337+
if (section === 'sft' && ['CollectionCreate', 'BaseUriSet', 'NameSet', 'Mint', 'Burn'].includes(method)) {
338338
await getTokenDetails(collectionIdToERC1155Address(args?.collectionId) as Address, true);
339339
}
340340
// assets.ForceCreated

0 commit comments

Comments
 (0)