Skip to content

Instantly share code, notes, and snippets.

@0xV4L3NT1N3
Created March 13, 2024 06:10
Show Gist options
  • Save 0xV4L3NT1N3/4cf2bc51aa22f9413622bd8c7c133309 to your computer and use it in GitHub Desktop.
Save 0xV4L3NT1N3/4cf2bc51aa22f9413622bd8c7c133309 to your computer and use it in GitHub Desktop.
Challenge 3 : Interaction ( Gemma )

Input Data:

  • Address: address recipient = "0x9558...ED"; (Replace with your actual address)
  • Amount: uint256 amount=10; (Specify desired number of tokens to transfer, in this case it's set at '7')

Function Call: solidity transfer("address recipient", uint_t amount);

The complete function call is as follows :

ERC20(contractAddress).Transfer (" addressrecipient ", amount) ; where contract Address refers to the deployed ERC-17 token smart Contract.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment