Post
Topic
Board Announcements (Altcoins)
Re: [ANN][ICO] Etheraffle - World's First Truly Decentralized Charitable Lottery!
by
sjyi
on 18/05/2018, 01:43:31 UTC

I had to retry several times to push the transaction through.
As you can see from my uploaded pictures, https://imgur.com/a/4T1QFFF you can see my metamask wallet indicates 68450 LOTs where as etherscan https://etherscan.io/tokenholdings?a=0xc8c6618e0ffdb0fedb49385a3dc26845a2179865 indicates 68050 LOTs.


Hello Sjyi!

That's really strange. Is there still a discrepancy? Because if so, it may be due to where MetaMask is looking for your LOT balance. The LOT smart-contract itself is the sole source of truth re LOT holdings. As such, whatever the balance the smart-contract says you have, is the balance you have.




However, this page still shows your balance being lower by 400 LOT. It's almost certainly due to a discrepancy on etherscan's side, since every token transaction made with a non-ERC20 token show's this warning:


Which occurs because the LOT isn't an ERC20 token at all. The tokens are still transferred correctly, only a different event is fired in the LOT's ERC223's case.



Edit:

Upon visiting etherscan.io/address/0xc8c6618e0fFdb0feDb49385A3dC26845A2179865 - ie, your account's page, looking at the token's tab showed 68050 LOT. Then at the bottom, on clicking "Read Contract", and pasting your address into the "Balances" form, in order to query the actual contract, the contract returned 68450 LOT. And suddenly the value at the top also updated to read 68450 too!

This page is still showing the wrong balance however. So it's definitely something strange going on via etherscan. Metamask clearly looks at this page too if it's displaying the incorrect, lower amount (which makes sense, not having to poll the chain...), and so was displaying the wrong balance in this instance. Not terribly user-friendly!

So, the take home message is that whatever the LOT smart-contract itself says is gospel, so don't worry, you have your tokens. W/r/t Metamask and the token page showing the wrong balance, we'll keep digging and see what we can find out...



This certainly was (or is) a difficult one to track down.  Glad you were able to track it down. Glad that you're on etheraffle team.