Skip to content

Sushiswap smart contracts ๐Ÿฃ ๐Ÿ“

License

Notifications You must be signed in to change notification settings

fetsorn/sushiswap

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Readme

A fork of [https://github.com/sushiswap/sushiswap][Sushiswap].

Changes

  • Automated deployment with Truffle.
  • Updated constant function formula in SushiMaker. Lower slippage with a square root function from ABDKMath.

Deployment

  • locate ropsten Canonical Weth - 0xc778417e063141139fce010982780140aa0cd5ab
  • locate ropsten Dai - 0xc778417e063141139fce010982780140aa0cd5ab
  • deploy SushiSwapV2Factory
    • PairCodeHash() from SushiSwapV2Factory - 9d68afd3795fe054b2c26c9bfda9526d1263b803ae8f7179911c02c9ea6ff30a
    • set init hash in UniswapV2Library
  • deploy SushiSwapV2Router02
    • address SushiV2Factory
    • address WETH
    • deps V2Library
  • deploy SushiToken
  • deploy MasterChef
    • address SushiToken
    • address dev
  • deploy SushiBar
    • address SushiToken
    • address DAI
  • deploy SushiMaker
    • address SushiV2Factory
    • address SushiBar
    • address SushiToken
    • address WETH
  • deploy SushiRoll
    • deps SushiV2Router01Old and SushiV2Router01New
    • deps SushiV2Factory and SushiV2Library
  • deploy Timelock
    • address SushiBar
    • address admin
  • deploy SushiBurner
    • address MasterChef
    • address SushiToken
  • deploy Migrator
    • address MasterChef
    • address UniV2Factory
    • address SushiV2Factory

Tasks

  • [X] get Dai from Uniswap
  • [X] add liquidity WETH-DAI to Uniswap
  • [X] getPair address of WETH-DAI lp token
  • [X] mint SushiToken
  • [X] transferOwnership SushiToken to MasterChef
  • [X] add WETH-DAI pool to MasterChef
  • [X] deposit WETH-DAI lp token wl
  • [ ] accrue Sushi
  • [ ] migrate and burn liquidity
  • [ ] swap dai from Sushi

About

Sushiswap smart contracts ๐Ÿฃ ๐Ÿ“

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 76.5%
  • JavaScript 23.5%