Why the name of function 2 and function3 are same in the juststable main contract?
Closed this issue · 6 comments
@S1ep What is the contract address?
Although the function names are the same, but they have different parameters, so they are two different functions, and they have different function selector. https://tronscan.org/#/contract/TCBLTVx7dJWcFBBNE7e3QEPHXEtigsbpth/code
Although the function names are the same, but they have different parameters, so they are two different functions, and they have different function selector. https://tronscan.org/#/contract/TCBLTVx7dJWcFBBNE7e3QEPHXEtigsbpth/code
I know they are two different functions because function selector of them are different, one is 1edf0c1e, the other is 516e9aec. I think it is better to name different names in tronscan to distinguish.
Tronscan will not modify the contract function's name, it only gets and shows all functions, user can trigger contract function through coding or tronscan, and the original function name can keep the two ways consistent.
Tronscan will not modify the contract function's name, it only gets and shows all functions, user can trigger contract function through coding or tronscan, and the original function name can keep the two ways consistent.
Thx, got it.