Skip to content

EthereumCommonwealth/Dex223-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dex223 contracts

Ethereum mainnet deployment

Name Address
WETH9 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
TOKEN_CONVERTER 0xe7E969012557f25bECddB717A3aa2f4789ba9f9a
POOL_LIBRARY 0xfA5930D2Ef1b6231e220aeDda88E28C4E8F0F3a0
FACTORY 0xc0c5511f23a268f041Ad10466a17b719942a8F1f
SWAP_ROUTER 0x74BD76Ab5B80A0300b3c989CdaAC34D2984cEBde
POSITION_DESCRIPTOR 0xb67aC8E7E4FDad7C63281952d2e3A5a0912f4ca0
POSITION_MANAGER 0x9cF5612332b49519Aa398F0DE05d0a69D84124F1
POOL_INIT_CODE_HASH 0x9966400177a96c358783e5915045e9e9f19d514dadb45a9e599b5f6295cbfd64
POOL_USDC_WETH 0x29dC799d9d491CB5D1Cb7f3e385aEDEa0D39f0dD
CORE_AUTOLISTING 0x13ddc6460c705d29d37b18a906c7fe69fa9e711d
FREE_AUTOLISTING 0xa7089d8cbcc47543388a346dd6ebf0b05106a477
AUTOLISTINGS_REGISTRY 0x105F43A70aFCEd0493545D04C1d5687DF4b3f48f

Sepolia testnet deployment

Name Address
WETH9 0xb16F35c0Ae2912430DAc15764477E179D9B9EbEa
TOKEN_CONVERTER 0xe831FDB60Dc18c264f1B45cadAFD5f2f2993EE83
POOL_LIBRARY 0x5Aac8Cc2A2EDf140b9c729dAb31496B9F2a4b511
FACTORY 0x6a17Ec0AC537e6e30c8425DC4C253F7D5926E66B
SWAP_ROUTER 0x0300e1cb4EA4F5710665D3a51643888EC9FC3E2c
POSITION_DESCRIPTOR 0x9F970c7107140B546AfF595f5Ddd093d5460f131
POSITION_MANAGER 0x4db384f1AeeB8Cc5dd193E255BE5F10a69034c8c
POOL_INIT_CODE_HASH 0x9966400177a96c358783e5915045e9e9f19d514dadb45a9e599b5f6295cbfd64
POOL_USDC_WETH 0x02e8dc65c81d4064d89ada57f3c6880aa4f83c66

Helpers

  1. Run local virtual node:
yarn run hardhat:node
  1. Compile contracts:
yarn run hardhat:compile

or use force to re-compile all contratcs

yarn run hardhat:compile:force
  1. Prepare JSON files for contract verification. Search for output files in ./artifacts/solidity-json folder
yarn run hardhat:verify

Contracts tests

  1. Run ALL tests:
yarn run hardhat:test
  1. Update values for GAS tests:
yarn run hardhat:test:update
  1. Run only SwapRouter tests:
yarn run hardhat:test:router
  1. Run only SwapRouter GAS tests:
yarn run hardhat:test:routergas
  1. Run only Factory tests:
yarn run hardhat:test:factory
  1. Run only Pool tests:
yarn run hardhat:test:pool
  1. Run only Pool Swaps tests:
yarn run hardhat:test:poolswaps
  1. Run only NonfungiblePositionManager tests:
yarn run hardhat:test:nfpm
  1. Run only AutoListing tests:
yarn run hardhat:test:autolist

About

All Dex223 contracts without external dependencies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •