* v4 FillQuoteTransformer (#104) * Update FQT to support v4 orders * `@0x/contracts-zero-ex`: Tweak FQT `@0x/contracts-zero-ex`: Drop `ERC20BridgeTransfer` event and add `PartialQuoteFill` event. * `@0x/contracts-utils`: Add `LibSafeMathV06.downcastToUint128()` * `@0x/protocol-utils`: Update transformer utils for V4 FQT * `@0x/contracts-zero-ex`: Fixing FQT tests... * `@0x/contracts-zero-ex`: rename FQT bridge event * `@0x/contracts-zero-ex`: Un-`only` tests * `@0x/migrations`: Update `BridgeAdapter` deployment * `@0x/contracts-integrations`: Delete `mtx_tests` * `@0x/protocol-utils`: Address review comments * `@0x/contracts-zero-ex`: Address review comments * `@0x/migrations`: Update migrations Co-authored-by: Michael Zhu <mchl.zhu.96@gmail.com> Co-authored-by: Lawrence Forman <me@merklejerk.com> * v4: Asset-swapper (main branch) (#113) * refactor quote_requestor * WIP v4/asset-swapper: Clean up SwapQuoter and remove @0x/orderbook * Start replacing SignedOrder everywhere * wip: new order type * wip * remove order-utils from most places * hack: Play around with VerboseX types (#119) * hack: Play around with VerboseX types * More hacks * Fix up the bridgeData encodings * Rework Orderbook return type * feat: Don't charge a protocol fee for RFQ orders WIP (#121) * fix simple build errors * simplify types a little * remove SwapQuoteCalculator: unnecessary abstraction * Fix all ./src build errors; make types consistent * export more types for use in 0x API; modify Orderbook interface * stop overriding APIOrder * feat: RFQ v4 + consolidated bridge encoders (#125) * feat: check if taker address is contract * Rework bridge data * Worst case adjustments * RFQT v4 * Future/v4 validate orders (#126) * RFQT v4 * v4 validate native orders * use default invalid signature * refactor rfqt validations in swap quoter * fix types * fix RFQT unlisted api key * remove priceAwareRFQFlag * adjust maker/taker amounts * update JSON schemas * filter zero fillable orders Co-authored-by: xianny <xianny@gmail.com> * fix type export Co-authored-by: xianny <xianny@gmail.com> * remove order-utils as much as possible * work on tests compile * Comment out quote reporter test * updated tests * restore order-utils accidental changes * some lints * Remove old fill_test * ts lint disable for now * update quote report * Re-enable quote report tests * make fill data required field * fix lint * type guards * force fillData as required * fix lint * fix naming * exports * adjust MultiBridge by slippage * cleanups (checkpoint 1) * cleanup types (checkpoint #2) * remove unused deps * `@0x/contract-addresses`: Deploy new FQT (#129) Co-authored-by: Lawrence Forman <me@merklejerk.com> * commit bump to republish * DRY up the rfqt mocker * fix: Balancer load top pools (#131) * fix: Balancer load top 250 pools * refetch top pools on an interval Co-authored-by: Jacob Evans <jacob@dekz.net> Co-authored-by: Kim Persson <kimpers@users.noreply.github.com> Co-authored-by: Lawrence Forman <lawrence@0xproject.com> Co-authored-by: Lawrence Forman <me@merklejerk.com> * Update post rebase * prettier * Remove test helpers exported in asset-swapper * Clean up from review comments * prettier * lint * recreate rfqt mocker * change merge and INVALID_SIGNATURE Co-authored-by: Lawrence Forman <lawrence@0xproject.com> Co-authored-by: Michael Zhu <mchl.zhu.96@gmail.com> Co-authored-by: Lawrence Forman <me@merklejerk.com> Co-authored-by: Xianny <8582774+xianny@users.noreply.github.com> Co-authored-by: Kim Persson <kimpers@users.noreply.github.com>
166 lines
9.5 KiB
JSON
166 lines
9.5 KiB
JSON
{
|
|
"extends": "../../tsconfig",
|
|
"compilerOptions": { "outDir": "lib", "rootDir": ".", "resolveJsonModule": true },
|
|
"include": ["./src/**/*", "./test/**/*", "./generated-wrappers/**/*", "./scripts/**/*"],
|
|
"files": [
|
|
"generated-artifacts/AffiliateFeeTransformer.json",
|
|
"generated-artifacts/BridgeAdapter.json",
|
|
"generated-artifacts/FeeCollector.json",
|
|
"generated-artifacts/FeeCollectorController.json",
|
|
"generated-artifacts/FillQuoteTransformer.json",
|
|
"generated-artifacts/FullMigration.json",
|
|
"generated-artifacts/IAllowanceTarget.json",
|
|
"generated-artifacts/IERC20Transformer.json",
|
|
"generated-artifacts/IFlashWallet.json",
|
|
"generated-artifacts/ILiquidityProviderFeature.json",
|
|
"generated-artifacts/INativeOrdersFeature.json",
|
|
"generated-artifacts/IOwnableFeature.json",
|
|
"generated-artifacts/ISimpleFunctionRegistryFeature.json",
|
|
"generated-artifacts/ITokenSpenderFeature.json",
|
|
"generated-artifacts/ITransformERC20Feature.json",
|
|
"generated-artifacts/IZeroEx.json",
|
|
"generated-artifacts/InitialMigration.json",
|
|
"generated-artifacts/LiquidityProviderFeature.json",
|
|
"generated-artifacts/LogMetadataTransformer.json",
|
|
"generated-artifacts/MetaTransactionsFeature.json",
|
|
"generated-artifacts/NativeOrdersFeature.json",
|
|
"generated-artifacts/OwnableFeature.json",
|
|
"generated-artifacts/PayTakerTransformer.json",
|
|
"generated-artifacts/SimpleFunctionRegistryFeature.json",
|
|
"generated-artifacts/TokenSpenderFeature.json",
|
|
"generated-artifacts/TransformERC20Feature.json",
|
|
"generated-artifacts/WethTransformer.json",
|
|
"generated-artifacts/ZeroEx.json",
|
|
"test/generated-artifacts/AffiliateFeeTransformer.json",
|
|
"test/generated-artifacts/AllowanceTarget.json",
|
|
"test/generated-artifacts/BootstrapFeature.json",
|
|
"test/generated-artifacts/BridgeAdapter.json",
|
|
"test/generated-artifacts/BridgeSource.json",
|
|
"test/generated-artifacts/FeeCollector.json",
|
|
"test/generated-artifacts/FeeCollectorController.json",
|
|
"test/generated-artifacts/FillQuoteTransformer.json",
|
|
"test/generated-artifacts/FixinCommon.json",
|
|
"test/generated-artifacts/FixinEIP712.json",
|
|
"test/generated-artifacts/FixinProtocolFees.json",
|
|
"test/generated-artifacts/FixinReentrancyGuard.json",
|
|
"test/generated-artifacts/FixinTokenSpender.json",
|
|
"test/generated-artifacts/FlashWallet.json",
|
|
"test/generated-artifacts/FullMigration.json",
|
|
"test/generated-artifacts/IAllowanceTarget.json",
|
|
"test/generated-artifacts/IBootstrapFeature.json",
|
|
"test/generated-artifacts/IBridgeAdapter.json",
|
|
"test/generated-artifacts/IERC20Bridge.json",
|
|
"test/generated-artifacts/IERC20Transformer.json",
|
|
"test/generated-artifacts/IFeature.json",
|
|
"test/generated-artifacts/IFlashWallet.json",
|
|
"test/generated-artifacts/ILiquidityProvider.json",
|
|
"test/generated-artifacts/ILiquidityProviderFeature.json",
|
|
"test/generated-artifacts/ILiquidityProviderSandbox.json",
|
|
"test/generated-artifacts/IMetaTransactionsFeature.json",
|
|
"test/generated-artifacts/INativeOrdersFeature.json",
|
|
"test/generated-artifacts/IOwnableFeature.json",
|
|
"test/generated-artifacts/ISimpleFunctionRegistryFeature.json",
|
|
"test/generated-artifacts/IStaking.json",
|
|
"test/generated-artifacts/ITestSimpleFunctionRegistryFeature.json",
|
|
"test/generated-artifacts/ITokenSpenderFeature.json",
|
|
"test/generated-artifacts/ITransformERC20Feature.json",
|
|
"test/generated-artifacts/IUniswapFeature.json",
|
|
"test/generated-artifacts/IZeroEx.json",
|
|
"test/generated-artifacts/InitialMigration.json",
|
|
"test/generated-artifacts/LibBootstrap.json",
|
|
"test/generated-artifacts/LibCommonRichErrors.json",
|
|
"test/generated-artifacts/LibERC20Transformer.json",
|
|
"test/generated-artifacts/LibFeeCollector.json",
|
|
"test/generated-artifacts/LibLiquidityProviderRichErrors.json",
|
|
"test/generated-artifacts/LibMetaTransactionsRichErrors.json",
|
|
"test/generated-artifacts/LibMetaTransactionsStorage.json",
|
|
"test/generated-artifacts/LibMigrate.json",
|
|
"test/generated-artifacts/LibNativeOrder.json",
|
|
"test/generated-artifacts/LibNativeOrdersRichErrors.json",
|
|
"test/generated-artifacts/LibNativeOrdersStorage.json",
|
|
"test/generated-artifacts/LibOwnableRichErrors.json",
|
|
"test/generated-artifacts/LibOwnableStorage.json",
|
|
"test/generated-artifacts/LibProxyRichErrors.json",
|
|
"test/generated-artifacts/LibProxyStorage.json",
|
|
"test/generated-artifacts/LibReentrancyGuardStorage.json",
|
|
"test/generated-artifacts/LibSignature.json",
|
|
"test/generated-artifacts/LibSignatureRichErrors.json",
|
|
"test/generated-artifacts/LibSimpleFunctionRegistryRichErrors.json",
|
|
"test/generated-artifacts/LibSimpleFunctionRegistryStorage.json",
|
|
"test/generated-artifacts/LibSpenderRichErrors.json",
|
|
"test/generated-artifacts/LibStorage.json",
|
|
"test/generated-artifacts/LibTokenSpenderStorage.json",
|
|
"test/generated-artifacts/LibTransformERC20RichErrors.json",
|
|
"test/generated-artifacts/LibTransformERC20Storage.json",
|
|
"test/generated-artifacts/LibWalletRichErrors.json",
|
|
"test/generated-artifacts/LiquidityProviderFeature.json",
|
|
"test/generated-artifacts/LiquidityProviderSandbox.json",
|
|
"test/generated-artifacts/LogMetadataTransformer.json",
|
|
"test/generated-artifacts/MetaTransactionsFeature.json",
|
|
"test/generated-artifacts/MixinBalancer.json",
|
|
"test/generated-artifacts/MixinBancor.json",
|
|
"test/generated-artifacts/MixinCoFiX.json",
|
|
"test/generated-artifacts/MixinCryptoCom.json",
|
|
"test/generated-artifacts/MixinCurve.json",
|
|
"test/generated-artifacts/MixinDodo.json",
|
|
"test/generated-artifacts/MixinKyber.json",
|
|
"test/generated-artifacts/MixinMStable.json",
|
|
"test/generated-artifacts/MixinMooniswap.json",
|
|
"test/generated-artifacts/MixinOasis.json",
|
|
"test/generated-artifacts/MixinShell.json",
|
|
"test/generated-artifacts/MixinSushiswap.json",
|
|
"test/generated-artifacts/MixinUniswap.json",
|
|
"test/generated-artifacts/MixinUniswapV2.json",
|
|
"test/generated-artifacts/MixinZeroExBridge.json",
|
|
"test/generated-artifacts/NativeOrdersFeature.json",
|
|
"test/generated-artifacts/OwnableFeature.json",
|
|
"test/generated-artifacts/PayTakerTransformer.json",
|
|
"test/generated-artifacts/PermissionlessTransformerDeployer.json",
|
|
"test/generated-artifacts/SimpleFunctionRegistryFeature.json",
|
|
"test/generated-artifacts/TestBridge.json",
|
|
"test/generated-artifacts/TestCallTarget.json",
|
|
"test/generated-artifacts/TestDelegateCaller.json",
|
|
"test/generated-artifacts/TestFeeCollectorController.json",
|
|
"test/generated-artifacts/TestFillQuoteTransformerBridge.json",
|
|
"test/generated-artifacts/TestFillQuoteTransformerExchange.json",
|
|
"test/generated-artifacts/TestFillQuoteTransformerHost.json",
|
|
"test/generated-artifacts/TestFixinProtocolFees.json",
|
|
"test/generated-artifacts/TestFixinTokenSpender.json",
|
|
"test/generated-artifacts/TestFullMigration.json",
|
|
"test/generated-artifacts/TestInitialMigration.json",
|
|
"test/generated-artifacts/TestLibNativeOrder.json",
|
|
"test/generated-artifacts/TestLibSignature.json",
|
|
"test/generated-artifacts/TestLiquidityProvider.json",
|
|
"test/generated-artifacts/TestMetaTransactionsNativeOrdersFeature.json",
|
|
"test/generated-artifacts/TestMetaTransactionsTransformERC20Feature.json",
|
|
"test/generated-artifacts/TestMigrator.json",
|
|
"test/generated-artifacts/TestMintTokenERC20Transformer.json",
|
|
"test/generated-artifacts/TestMintableERC20Token.json",
|
|
"test/generated-artifacts/TestNativeOrdersFeature.json",
|
|
"test/generated-artifacts/TestPermissionlessTransformerDeployerSuicidal.json",
|
|
"test/generated-artifacts/TestPermissionlessTransformerDeployerTransformer.json",
|
|
"test/generated-artifacts/TestRfqOriginRegistration.json",
|
|
"test/generated-artifacts/TestSimpleFunctionRegistryFeatureImpl1.json",
|
|
"test/generated-artifacts/TestSimpleFunctionRegistryFeatureImpl2.json",
|
|
"test/generated-artifacts/TestStaking.json",
|
|
"test/generated-artifacts/TestTokenSpender.json",
|
|
"test/generated-artifacts/TestTokenSpenderERC20Token.json",
|
|
"test/generated-artifacts/TestTransformERC20.json",
|
|
"test/generated-artifacts/TestTransformerBase.json",
|
|
"test/generated-artifacts/TestTransformerDeployerTransformer.json",
|
|
"test/generated-artifacts/TestTransformerHost.json",
|
|
"test/generated-artifacts/TestWeth.json",
|
|
"test/generated-artifacts/TestWethTransformerHost.json",
|
|
"test/generated-artifacts/TestZeroExFeature.json",
|
|
"test/generated-artifacts/TokenSpenderFeature.json",
|
|
"test/generated-artifacts/TransformERC20Feature.json",
|
|
"test/generated-artifacts/Transformer.json",
|
|
"test/generated-artifacts/TransformerDeployer.json",
|
|
"test/generated-artifacts/UniswapFeature.json",
|
|
"test/generated-artifacts/WethTransformer.json",
|
|
"test/generated-artifacts/ZeroEx.json",
|
|
"test/generated-artifacts/ZeroExOptimized.json"
|
|
],
|
|
"exclude": ["./deploy/solc/solc_bin"]
|
|
}
|