trueblocks-core icon indicating copy to clipboard operation
trueblocks-core copied to clipboard

chifra export - unreconciled txs I

Open tjayrush opened this issue 2 years ago • 0 comments

  • Use withdrawals as a minted value in reconcilations.
  • We store <bn.txid> in our index. When we spin through that list, we sometimes encounter <bn.99995> as one of the transactions which means the address took a withdrawal in that block -- but -- in many cases the address takes more than one withdrawal in the same block. We don't have that ability since we handle one transaction at a time, so only one withdrawal gets reported.
  • https://etherscan.io/block/0xc53e758397b782b8306ed19e6f42c9f074192595f5f1f3ee3ca9f9a8fa398afc This tx doesn't balance. We caluclate the right amount incoming, but we don't remove the burnt fees?
  • https://github.com/TrueBlocks/trueblocks-core/issues/2572
  • We can make a new category of token income/outflow by assuming that a transfer in with sender == 0x0 or a transfer out with the sender == 0x0 is either a mint or burn, respectivly. Also, we can select a few of the more common ways to mint or burn to decode and parse the data. A small set of functions is better than nothing probably.

tjayrush avatar Nov 25 '23 14:11 tjayrush