0

Can I overload and use standard ERC-2O methods?

For example:

  • Standard function : transfer(address to, uint tokens) public returns (bool success)
  • Overload function : transfer(address to, uint tokens, uint param1, uint256 param2)
  • standard function: transferFrom(address from, address to, uint tokens) public returns (bool success)
  • Overload function: transferFrom(address from, address to, uint tokens, uint param1, uint256 param2) public returns (bool success)
1
  • 1
    Yes, you can... Commented Jan 12, 2021 at 6:10

1 Answer 1

0

Yes you can. You can add any extra functionality you want, as long as the required functions with the correct signature are present.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.