...币的`token0`和`token1`。
```javascript
contract LooneySwapPool is ERC20 {
address public token0;
address public token1;
// Reserve of token 0
uint public reserve0;
// Reserve of token 1
uint public reserve1;
...
}
```
创建一个流动池很简单:只需要...
...twitter.com/myisland_dao?s=21
*/
pragma solidity ^0.8.4;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
```
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf...