ergoplatform / ergoplatform/explorer-backend

Token amount can be underestimated when minted in more than one box

Open
#181 1 comment 0 reactions 0 assignees View on GitHub
A-backend C-feature P3-low
Dominant language
Scala
Stars
23
Forks
37
PR merge metrics
No merged PRs in 30d

Description

This tx mints a token into two output boxes: https://explorer.ergoplatform.com/en/transactions/79451d8c64afa7215546e8380c56bf0931e278ce08173bfe7cecd10e263fb134

Reported token amount (https://explorer.ergoplatform.com/en/issued-tokens?searchQuery=4a9d3ee47125781e5a2976e0c37862ae53e8f9ee39a26269a9c8c5d50bb05b9a) shows amount of tokens minted in first box, ignoring amount of tokens in second box.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with transaction 79451d8c64afa7215546e8380c56bf0931e278ce08173bfe7cecd10e263fb134 and the issued-tokens result for token 4a9d3ee47125781e5a2976e0c37862ae53e8f9ee39a26269a9c8c5d50bb05b9a. Trace how the reported minted amount is calculated and verify it includes token amounts from both output boxes; done means the issued-tokens view reports the combined amount.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
backend, blockchain
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.