* 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>
52 lines
3.3 KiB
TypeScript
52 lines
3.3 KiB
TypeScript
/*
|
|
* -----------------------------------------------------------------------------
|
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
|
* -----------------------------------------------------------------------------
|
|
*/
|
|
import { ContractArtifact } from 'ethereum-types';
|
|
|
|
import * as DummyERC20Token from '../test/generated-artifacts/DummyERC20Token.json';
|
|
import * as DummyMultipleReturnERC20Token from '../test/generated-artifacts/DummyMultipleReturnERC20Token.json';
|
|
import * as DummyNoReturnERC20Token from '../test/generated-artifacts/DummyNoReturnERC20Token.json';
|
|
import * as ERC20Token from '../test/generated-artifacts/ERC20Token.json';
|
|
import * as IERC20Token from '../test/generated-artifacts/IERC20Token.json';
|
|
import * as IERC20TokenV06 from '../test/generated-artifacts/IERC20TokenV06.json';
|
|
import * as IERC20TokenV08 from '../test/generated-artifacts/IERC20TokenV08.json';
|
|
import * as IEtherToken from '../test/generated-artifacts/IEtherToken.json';
|
|
import * as IEtherTokenV06 from '../test/generated-artifacts/IEtherTokenV06.json';
|
|
import * as IEtherTokenV08 from '../test/generated-artifacts/IEtherTokenV08.json';
|
|
import * as LibERC20Token from '../test/generated-artifacts/LibERC20Token.json';
|
|
import * as LibERC20TokenV06 from '../test/generated-artifacts/LibERC20TokenV06.json';
|
|
import * as LibERC20TokenV08 from '../test/generated-artifacts/LibERC20TokenV08.json';
|
|
import * as MintableERC20Token from '../test/generated-artifacts/MintableERC20Token.json';
|
|
import * as TestLibERC20Token from '../test/generated-artifacts/TestLibERC20Token.json';
|
|
import * as TestLibERC20TokenTarget from '../test/generated-artifacts/TestLibERC20TokenTarget.json';
|
|
import * as UnlimitedAllowanceERC20Token from '../test/generated-artifacts/UnlimitedAllowanceERC20Token.json';
|
|
import * as UntransferrableDummyERC20Token from '../test/generated-artifacts/UntransferrableDummyERC20Token.json';
|
|
import * as WETH9 from '../test/generated-artifacts/WETH9.json';
|
|
import * as WETH9V06 from '../test/generated-artifacts/WETH9V06.json';
|
|
import * as ZRXToken from '../test/generated-artifacts/ZRXToken.json';
|
|
export const artifacts = {
|
|
ERC20Token: ERC20Token as ContractArtifact,
|
|
LibERC20Token: LibERC20Token as ContractArtifact,
|
|
MintableERC20Token: MintableERC20Token as ContractArtifact,
|
|
UnlimitedAllowanceERC20Token: UnlimitedAllowanceERC20Token as ContractArtifact,
|
|
WETH9: WETH9 as ContractArtifact,
|
|
ZRXToken: ZRXToken as any as ContractArtifact,
|
|
IERC20Token: IERC20Token as ContractArtifact,
|
|
IEtherToken: IEtherToken as ContractArtifact,
|
|
IERC20TokenV06: IERC20TokenV06 as ContractArtifact,
|
|
IEtherTokenV06: IEtherTokenV06 as ContractArtifact,
|
|
LibERC20TokenV06: LibERC20TokenV06 as ContractArtifact,
|
|
WETH9V06: WETH9V06 as ContractArtifact,
|
|
IERC20TokenV08: IERC20TokenV08 as ContractArtifact,
|
|
IEtherTokenV08: IEtherTokenV08 as ContractArtifact,
|
|
LibERC20TokenV08: LibERC20TokenV08 as ContractArtifact,
|
|
DummyERC20Token: DummyERC20Token as ContractArtifact,
|
|
DummyMultipleReturnERC20Token: DummyMultipleReturnERC20Token as ContractArtifact,
|
|
DummyNoReturnERC20Token: DummyNoReturnERC20Token as ContractArtifact,
|
|
TestLibERC20Token: TestLibERC20Token as ContractArtifact,
|
|
TestLibERC20TokenTarget: TestLibERC20TokenTarget as ContractArtifact,
|
|
UntransferrableDummyERC20Token: UntransferrableDummyERC20Token as ContractArtifact,
|
|
};
|