We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b5fd84 commit 833e338Copy full SHA for 833e338
docs/uniswap_demo/MyTokens.sol
@@ -0,0 +1,22 @@
1
+// SPDX-License-Identifier: MIT
2
+pragma solidity ^0.8.0;
3
+
4
+import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
5
6
+contract WETHToken is ERC20 {
7
+ constructor(uint256 initialSupply) ERC20("Fake Wrapped ETH", "WETH") {
8
+ _mint(msg.sender, initialSupply);
9
+ }
10
+}
11
12
+contract WFOOToken is ERC20 {
13
+ constructor(uint256 initialSupply) ERC20("Foo Token", "WFOO") {
14
15
16
17
18
+contract WBARToken is ERC20 {
19
+ constructor(uint256 initialSupply) ERC20("Bar Token", "WBAR") {
20
21
22
0 commit comments