trusttoken / contracts-pre22

TrustToken smart contracts written pre 2022. Includes TrueCurrencies and TrueFi Pools.

Home Page:https://trusttoken.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minting on Rinkeby always throws an exception

ezynda3 opened this issue · comments

I've tried several times with differing amounts to run the faucet method for TUSD and TCAD and everytime I try the transaction fails and throws an exception. Not sure what I am doing wrong. I'm using the Etherscan dApp pages to easily invoke the methods for example TCAD https://rinkeby.etherscan.io/dapp/0x00005cad001e0900002979f7314d00fc480a29bd#writeContract

I see the same issue. Investigating.

It's a bug with their Dapp page.

Example of working tx I sent from the Write Tab of the /address/ page: https://rinkeby.etherscan.io/tx/0x3d792e32a5258f61cbe96bfd1d12640b69af61b5ef2a8241ce40775d414fffb7

I'll escalate this to the Etherscan team.

In short, the bug is that they issue the transaction to the wrong smart contract. Instead of sending it to the proxy, they issue it to the implementation contract, which is where they pull the ABI.

Here is the transaction I sent from the TrueCAD Faucet Dapp page: https://rinkeby.etherscan.io/tx/0x2fcff12a09b6983ef5849e3a63697fc6d8073baa18d8938597744ea0edffd336
The to address should be 0x00005cad001e0900002979f7314d00fc480a29bd but it is 0x0f61423a7728a486516d289badcdeb2272f75f76, the implementation contract.

Thanks for reporting this to us @ezynda3

I have reported the bug to Etherscan. Closing this issue as there is a workaround.