Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 565 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 565 Bytes

pump eth

  1. 创建代币
  2. 购买代币
  3. 卖出代币
contract Token is ERC20 {}

contract TokenFactory
- createToken(string name, string symbol)
    - new Token
    - initial_supply

- buy(address tokenAddress) payable
    - calculateBuyReturn()
    - uniswap:
        - createLiquilityPool()
        - addLiquidity()
        - burnLiquidityToken()

- sell(address tokenAddress, uint256 amount)
    - calculateSellReturn()
    - transfer
  1. check token state
  2. Fork mainnet, test uniswap
  3. minimal proxy
  4. Bonding Curve