-
At https://youtu.be/M576WGiDBdQ?t=31970 , Patrck says that he already copied the interface here. https://kovan.etherscan.io/token/0xd0a1e359811322d97991e03f863a0c30c2cf029c#readContract does not have the contract code. Also, the interface code in IWETH.sol in Wethgateway contract (https://kovan.etherscan.io/address/0x6382ab06cdeafd25162699e053fafad1aca68d23#code) does not have all the functions defined in here Trying to find where(git repo) he copied the interface code from... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hello @rsamban I'm pretty much sure he created that interface on his own based on the standard for ERC20 tokens, as you can see on link_token interface from chainlink: https://github.com/smartcontractkit/chainlink/blob/develop/contracts/src/v0.6/interfaces/LinkTokenInterface.sol so is pretty much based on it. |
Beta Was this translation helpful? Give feedback.
-
Thanks @cromewar , but there should be implementation for the functions defined in the interface in some contract, right? How do I find the implementation? |
Beta Was this translation helpful? Give feedback.
Hello @rsamban I'm pretty much sure he created that interface on his own based on the standard for ERC20 tokens, as you can see on link_token interface from chainlink: https://github.com/smartcontractkit/chainlink/blob/develop/contracts/src/v0.6/interfaces/LinkTokenInterface.sol so is pretty much based on it.