Files
protocol/contracts/zero-ex/tests/addresses/TokenAddresses.json
Noah Khamliche f87f5a40c0 Feat/Add Foundry Testing Environment s[TKR-525] (#555)
* added initial foundry transformERC20 tests

* added foundry tests into CircleCI flow

* add verbosity for failing tests in CI

* revert wrong CI commands

* feat: Foundry, added some more deployments (#558)

* Added some more deployments

* Rename WETH9 to WETH9V06

* Set to 0.6.x

* fix typo

* remove commit with bad prettier changes

* working bridge Fills through weth transformer

* remove unused reference

* clean up tests

* added working otc fill through transformERC20 in FQT

* resolve file imports, add samplers, arbitrumBridgeAdatper, and new FQT version

* add extra 'v' for debugging verbosity

* add extra 'v' for debugging verbosity in circleci config

* remove old traces

* refactor rpc's out of foundry.toml and into .env for CI compatibility

* remove verbosity from CI command as its now defined in foundry.toml

* setup rpc's

* ignore foundry artifacts in prettier

* change naming in prettierignore

* move /samplers to the tests subdirectory, modify remappings to reflext change

* one more try 🤞

* change CI steps

* remove yarn from CI step

* get to the right directory

* update foundry before tests

* fix tip() deprecation and use deal()

* use deal() instead of vm.deal()

* try to get foundry to have the right directory structure by updating it

* I HATE THIS

* remove foundryup

* Fix prettier issues

* Remove obsoleted import

* Use forge native commands to
install deps and test and add the --root option

* Try using forge with working-directory flag in CI

* Use nightly foundry docker image

* Update rpc endpoints config in foundry

* move tests into /forked and /local

* rename tests

* add foundry profiles to CI

* try to fix CI

* 🔧 add foundry local and forked tests to workflow

* prettier and lint

* revert deps update

* remove all samplers and add uniswapV2 sampler to ForkUtils

* address jacobs comments

* cleanup and comment

* prettier and lint

* bump contracts-zero-ex version

* set func-name-mixedcase to off in solhint for elenas new changes

* max line length to warn

* add --fix for check-md

* Update ci.yml

* fix some nitpcks and leftover code

* fix inconsistent naming

* fix bridge adapter reverts and foundry cache

* migrate foundry integration tests to /tests

* refactor contract-addresses to use the contract-addresses package style nested json

* fix solhint

* fix contract linting errors

* dont check broken links in libraries

* move forge order in gh action for testing

* add env instead of vars

* try again

* fix github actions ordering

* update licence and address comments

* remove verbosity from foundry.toml

* fix contract lint

* move back to emitting an event until samplers can be integrated as some chains dont have uniswap as a source

* add uniswap v3 sampling code for future use

* remove uniswap v3 code as its not used

* fix lint

Co-authored-by: Noah Khamliche <0xnoah@Noahs-MacBook-Pro-2.local>
Co-authored-by: Jacob Evans <jacob@dekz.net>
Co-authored-by: elenadimitrova <elena@arenabg.com>
2023-01-26 20:11:16 -05:00

45 lines
1.9 KiB
JSON

{
"1": {
"WrappedNativeToken": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"DAI": "0x6b175474e89094c44da98b954eedeac495271d0f",
"USDC": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"USDT": "0xdac17f958d2ee523a2206206994597c13d831ec7"
},
"56": {
"WrappedNativeToken": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",
"DAI": "0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3",
"USDC": "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",
"USDT": "0x55d398326f99059ff775485246999027b3197955"
},
"137": {
"WrappedNativeToken": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
"DAI": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
"USDC": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"USDT": "0xc2132d05d31c914a87c6611c10748aeb04b58e8f"
},
"43114": {
"WrappedNativeToken": "0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7",
"DAI": "0xd586e7f844cea2f87f50152665bcbc2c279d8d70",
"USDC": "0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664",
"USDT": "0xc7198437980c041c805A1EDcbA50c1Ce5db95118"
},
"250": {
"WrappedNativeToken": "0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83",
"DAI": "0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e",
"USDC": "0x04068da6c83afcfa0e13ba15a6696662335d5b75",
"USDT": "0x049d68029688eabf473097a2fc38ef61633a3c7a"
},
"10": {
"WrappedNativeToken": "0x4200000000000000000000000000000000000006",
"DAI": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
"USDC": "0x7f5c764cbc14f9669b88837ca1490cca17c31607",
"USDT": "0x94b008aa00579c1307b0ef2c499ad98a8ce58e58"
},
"42161": {
"WrappedNativeToken": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
"DAI": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
"USDC": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
"USDT": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9"
}
}