How to check in code (on Solidity side or/and Web3 side) before call contract function, this function is payable or not?
For example I found this today in token EURS
function transfer (address _to, uint256 _value)
public payable returns (bool success);
This is not standard make erc20 transfer function as payable!!! And this is not standard logic make bugs in my app, if user use EURS token.
This is standard
function transfer(address to, uint tokens) public returns (bool
success);
So I need, or override this is no standard transfer on my app contract side, or in worst case do ban such tokens on frontend side.