Open YangIsCoding opened 9 months ago
Using Remix IDE to realize the functions and Event of ERC-20.
我們可以自己創建一個erc20 interface 或是從openzepplin導入。 erc20有他自定的格式,尤其是function名稱以及回傳值。 在這邊我們實現了erc20的功能(授權,初始代幣,轉帳,被授權付款)。
然後要創建兩個以利後續實現換匯。
Using Remix IDE to realize the functions and Event of ERC-20.