Add routine to get current circulating supply and mint batons of a token.
Display supply and mint baton based on current on-chain state instead of genesis supply.
Note: I looked at also showing totalMinted and totalBurned. We should add this, but it needs to be in a separate diff. These quantities need to come from parsing tx history, which can be much larger. For example as of today GRUMPY has over 28,000 txs (about 150 megabytes to get them all from chronik).
The approach there will be along the lines of:
- Calculate totalBurned and totalMinted through a certain numTxs/numPages of history
- Cache this (change shape of token cache, though we will not need to migrate for this, will add a key that may be undefined)
- on send token page load, check cache for these values up to page number and numTxs, then check tx history and update and re-cache them