@eesheng, the issue was that the contract had multiple methods with the same name total_supply
. One from the SRC20 and other from the YuneVault. I renamed one of the method to total_supply2
and it worked. Here is the code for the ref. The confusion arose because the compiler was not generating a friendly error.
1 Like