Skip to content

Commit 833e338

Browse files
committed
Demo guide on running Uniswap V3 on PArSEC
See: docs/uniswap_demo/uniswap_demo.md Signed-off-by: Alexander Jung <[email protected]>
1 parent 2b5fd84 commit 833e338

File tree

2 files changed

+445
-0
lines changed

2 files changed

+445
-0
lines changed

docs/uniswap_demo/MyTokens.sol

+22
Original file line numberDiff line numberDiff line change
@@ -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+
_mint(msg.sender, initialSupply);
15+
}
16+
}
17+
18+
contract WBARToken is ERC20 {
19+
constructor(uint256 initialSupply) ERC20("Bar Token", "WBAR") {
20+
_mint(msg.sender, initialSupply);
21+
}
22+
}

0 commit comments

Comments
 (0)