Skip to content

Commit defdff4

Browse files
duncancmtSavDont
andauthored
Base mainnet (#734)
* Add BaseGoerliBridgeAdapter * Ignore Emacs files * Remove Balancer V1; add Solidly to BaseBridgeAdapter * Update addresses for both Base Mainnet and Goerli * Remove Base Goerli testnet * Prettier, CHANGELOG, and lowercasing addresses --------- Co-authored-by: Savarn Dontamsetti <sav.dontamsetti@gmail.com>
1 parent fd68edb commit defdff4

14 files changed

Lines changed: 182 additions & 2 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ TODO.md
8484
# IDE file
8585
.vscode
8686
.idea
87+
*~
88+
.\#*
89+
\#*\#
8790

8891
# generated contract artifacts/
8992
generated-artifacts/

contracts/zero-ex/CHANGELOG.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
},
88
{
99
"note": "Remove Shell and MStable support"
10+
},
11+
{
12+
"note": "Add Base Mainnet and Goerli BridgeAdapters"
1013
}
1114
]
1215
},

contracts/zero-ex/compiler.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@
115115
"./contracts/src/transformers/bridges/ArbitrumBridgeAdapter.sol",
116116
"./contracts/src/transformers/bridges/AvalancheBridgeAdapter.sol",
117117
"./contracts/src/transformers/bridges/BSCBridgeAdapter.sol",
118+
"./contracts/src/transformers/bridges/BaseBridgeAdapter.sol",
119+
"./contracts/src/transformers/bridges/BaseGoerliBridgeAdapter.sol",
118120
"./contracts/src/transformers/bridges/BridgeProtocols.sol",
119121
"./contracts/src/transformers/bridges/CeloBridgeAdapter.sol",
120122
"./contracts/src/transformers/bridges/EthereumBridgeAdapter.sol",
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
// SPDX-License-Identifier: Apache-2.0
2+
/*
3+
Copyright 2023 ZeroEx Intl.
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
Unless required by applicable law or agreed to in writing, software
9+
distributed under the License is distributed on an "AS IS" BASIS,
10+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
See the License for the specific language governing permissions and
12+
limitations under the License.
13+
*/
14+
15+
pragma solidity ^0.6.5;
16+
pragma experimental ABIEncoderV2;
17+
18+
import "./AbstractBridgeAdapter.sol";
19+
import "./BridgeProtocols.sol";
20+
import "./mixins/MixinUniswapV3.sol";
21+
import "./mixins/MixinUniswapV2.sol";
22+
import "./mixins/MixinBalancerV2Batch.sol";
23+
import "./mixins/MixinCurve.sol";
24+
import "./mixins/MixinCurveV2.sol";
25+
import "./mixins/MixinSolidly.sol";
26+
27+
contract BaseBridgeAdapter is
28+
AbstractBridgeAdapter(8453, "Base"),
29+
MixinUniswapV3,
30+
MixinUniswapV2,
31+
MixinBalancerV2Batch,
32+
MixinCurve,
33+
MixinCurveV2,
34+
MixinSolidly
35+
{
36+
constructor(IEtherToken weth) public MixinCurve(weth) {}
37+
38+
function _trade(
39+
BridgeOrder memory order,
40+
IERC20Token sellToken,
41+
IERC20Token buyToken,
42+
uint256 sellAmount,
43+
bool dryRun
44+
) internal override returns (uint256 boughtAmount, bool supportedSource) {
45+
uint128 protocolId = uint128(uint256(order.source) >> 128);
46+
if (protocolId == BridgeProtocols.CURVE) {
47+
if (dryRun) {
48+
return (0, true);
49+
}
50+
boughtAmount = _tradeCurve(sellToken, buyToken, sellAmount, order.bridgeData);
51+
} else if (protocolId == BridgeProtocols.CURVEV2) {
52+
if (dryRun) {
53+
return (0, true);
54+
}
55+
boughtAmount = _tradeCurveV2(sellToken, buyToken, sellAmount, order.bridgeData);
56+
} else if (protocolId == BridgeProtocols.UNISWAPV3) {
57+
if (dryRun) {
58+
return (0, true);
59+
}
60+
boughtAmount = _tradeUniswapV3(sellToken, sellAmount, order.bridgeData);
61+
} else if (protocolId == BridgeProtocols.UNISWAPV2) {
62+
if (dryRun) {
63+
return (0, true);
64+
}
65+
boughtAmount = _tradeUniswapV2(buyToken, sellAmount, order.bridgeData);
66+
} else if (protocolId == BridgeProtocols.SOLIDLY) {
67+
if (dryRun) {
68+
return (0, true);
69+
}
70+
boughtAmount = _tradeSolidly(sellToken, buyToken, sellAmount, order.bridgeData);
71+
} else if (protocolId == BridgeProtocols.BALANCERV2BATCH) {
72+
if (dryRun) {
73+
return (0, true);
74+
}
75+
boughtAmount = _tradeBalancerV2Batch(sellAmount, order.bridgeData);
76+
}
77+
emit BridgeFill(order.source, sellToken, buyToken, sellAmount, boughtAmount);
78+
}
79+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// SPDX-License-Identifier: Apache-2.0
2+
/*
3+
Copyright 2023 ZeroEx Intl.
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
Unless required by applicable law or agreed to in writing, software
9+
distributed under the License is distributed on an "AS IS" BASIS,
10+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
See the License for the specific language governing permissions and
12+
limitations under the License.
13+
*/
14+
15+
pragma solidity ^0.6.5;
16+
pragma experimental ABIEncoderV2;
17+
18+
import "./AbstractBridgeAdapter.sol";
19+
import "./BridgeProtocols.sol";
20+
import "./mixins/MixinUniswapV3.sol";
21+
import "./mixins/MixinUniswapV2.sol";
22+
23+
contract BaseGoerliBridgeAdapter is AbstractBridgeAdapter(84531, "Base Goerli"), MixinUniswapV3, MixinUniswapV2 {
24+
function _trade(
25+
BridgeOrder memory order,
26+
IERC20Token sellToken,
27+
IERC20Token buyToken,
28+
uint256 sellAmount,
29+
bool dryRun
30+
) internal override returns (uint256 boughtAmount, bool supportedSource) {
31+
uint128 protocolId = uint128(uint256(order.source) >> 128);
32+
if (protocolId == BridgeProtocols.UNISWAPV3) {
33+
if (dryRun) {
34+
return (0, true);
35+
}
36+
boughtAmount = _tradeUniswapV3(sellToken, sellAmount, order.bridgeData);
37+
} else if (protocolId == BridgeProtocols.UNISWAPV2) {
38+
if (dryRun) {
39+
return (0, true);
40+
}
41+
boughtAmount = _tradeUniswapV2(buyToken, sellAmount, order.bridgeData);
42+
}
43+
emit BridgeFill(order.source, sellToken, buyToken, sellAmount, boughtAmount);
44+
}
45+
}

contracts/zero-ex/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
"typechain": "typechain --target=ethers-v5 --out-dir='typechain-wrappers' './foundry-artifacts/**/*.json'"
3737
},
3838
"config": {
39-
"publicInterfaceContracts": "IZeroEx,ZeroEx,FullMigration,InitialMigration,IFlashWallet,IERC20Transformer,IOwnableFeature,ISimpleFunctionRegistryFeature,ITransformERC20Feature,FillQuoteTransformer,PayTakerTransformer,PositiveSlippageFeeTransformer,WethTransformer,OwnableFeature,SimpleFunctionRegistryFeature,TransformERC20Feature,AffiliateFeeTransformer,MetaTransactionsFeature,LogMetadataTransformer,LiquidityProviderFeature,ILiquidityProviderFeature,NativeOrdersFeature,INativeOrdersFeature,FeeCollectorController,FeeCollector,CurveLiquidityProvider,BatchFillNativeOrdersFeature,IBatchFillNativeOrdersFeature,MultiplexFeature,IMultiplexFeature,OtcOrdersFeature,IOtcOrdersFeature,AvalancheBridgeAdapter,BSCBridgeAdapter,CeloBridgeAdapter,EthereumBridgeAdapter,FantomBridgeAdapter,OptimismBridgeAdapter,PolygonBridgeAdapter,MetaTransactionsFeatureV2",
39+
"publicInterfaceContracts": "IZeroEx,ZeroEx,FullMigration,InitialMigration,IFlashWallet,IERC20Transformer,IOwnableFeature,ISimpleFunctionRegistryFeature,ITransformERC20Feature,FillQuoteTransformer,PayTakerTransformer,PositiveSlippageFeeTransformer,WethTransformer,OwnableFeature,SimpleFunctionRegistryFeature,TransformERC20Feature,AffiliateFeeTransformer,MetaTransactionsFeature,LogMetadataTransformer,LiquidityProviderFeature,ILiquidityProviderFeature,NativeOrdersFeature,INativeOrdersFeature,FeeCollectorController,FeeCollector,CurveLiquidityProvider,BatchFillNativeOrdersFeature,IBatchFillNativeOrdersFeature,MultiplexFeature,IMultiplexFeature,OtcOrdersFeature,IOtcOrdersFeature,AvalancheBridgeAdapter,BaseGoerliBridgeAdapter,BaseBridgeAdapter,BSCBridgeAdapter,CeloBridgeAdapter,EthereumBridgeAdapter,FantomBridgeAdapter,OptimismBridgeAdapter,PolygonBridgeAdapter,MetaTransactionsFeatureV2",
4040
"abis:comment": "This list is auto-generated by contracts-gen. Don't edit manually.",
41-
"abis": "./test/generated-artifacts/@(AbstractBridgeAdapter|AffiliateFeeTransformer|ArbitrumBridgeAdapter|AvalancheBridgeAdapter|BSCBridgeAdapter|BatchFillNativeOrdersFeature|BootstrapFeature|BridgeProtocols|CeloBridgeAdapter|CurveLiquidityProvider|ERC1155OrdersFeature|ERC165Feature|ERC721OrdersFeature|EthereumBridgeAdapter|FantomBridgeAdapter|FeeCollector|FeeCollectorController|FillQuoteTransformer|FixinCommon|FixinEIP712|FixinERC1155Spender|FixinERC721Spender|FixinProtocolFees|FixinReentrancyGuard|FixinTokenSpender|FlashWallet|FullMigration|FundRecoveryFeature|IBatchFillNativeOrdersFeature|IBootstrapFeature|IBridgeAdapter|IERC1155OrdersFeature|IERC1155Token|IERC165Feature|IERC20Bridge|IERC20Transformer|IERC721OrdersFeature|IERC721Token|IFeature|IFeeRecipient|IFlashWallet|IFundRecoveryFeature|ILiquidityProvider|ILiquidityProviderFeature|ILiquidityProviderSandbox|IMetaTransactionsFeature|IMetaTransactionsFeatureV2|IMooniswapPool|IMultiplexFeature|INativeOrdersEvents|INativeOrdersFeature|IOtcOrdersFeature|IOwnableFeature|IPancakeSwapFeature|IPropertyValidator|ISimpleFunctionRegistryFeature|IStaking|ITakerCallback|ITestSimpleFunctionRegistryFeature|ITokenSpenderFeature|ITransformERC20Feature|IUniswapFeature|IUniswapV2Pair|IUniswapV3Feature|IUniswapV3Pool|IZeroEx|InitialMigration|LibBootstrap|LibCommonRichErrors|LibERC1155OrdersStorage|LibERC20Transformer|LibERC721OrdersStorage|LibFeeCollector|LibLiquidityProviderRichErrors|LibMetaTransactionsRichErrors|LibMetaTransactionsStorage|LibMigrate|LibNFTOrder|LibNFTOrdersRichErrors|LibNativeOrder|LibNativeOrdersRichErrors|LibNativeOrdersStorage|LibOtcOrdersStorage|LibOwnableRichErrors|LibOwnableStorage|LibProxyRichErrors|LibProxyStorage|LibReentrancyGuardStorage|LibSignature|LibSignatureRichErrors|LibSimpleFunctionRegistryRichErrors|LibSimpleFunctionRegistryStorage|LibStorage|LibTransformERC20RichErrors|LibTransformERC20Storage|LibWalletRichErrors|LiquidityProviderFeature|LiquidityProviderSandbox|LogMetadataTransformer|MetaTransactionsFeature|MetaTransactionsFeatureV2|MixinAaveV2|MixinBalancer|MixinBalancerV2Batch|MixinBancorV3|MixinCompound|MixinCryptoCom|MixinCurve|MixinCurveV2|MixinDodo|MixinDodoV2|MixinGMX|MixinKyberDmm|MixinLido|MixinMakerPSM|MixinMooniswap|MixinNerve|MixinPlatypus|MixinSolidly|MixinSynthetix|MixinUniswap|MixinUniswapV2|MixinUniswapV3|MixinZeroExBridge|MooniswapLiquidityProvider|MultiplexFeature|MultiplexLiquidityProvider|MultiplexOtc|MultiplexRfq|MultiplexTransformERC20|MultiplexUniswapV2|MultiplexUniswapV3|NFTOrders|NativeOrdersCancellation|NativeOrdersFeature|NativeOrdersInfo|NativeOrdersProtocolFees|NativeOrdersSettlement|OptimismBridgeAdapter|OtcOrdersFeature|OwnableFeature|PancakeSwapFeature|PayTakerTransformer|PermissionlessTransformerDeployer|PolygonBridgeAdapter|PositiveSlippageFeeTransformer|SimpleFunctionRegistryFeature|TestCurve|TestDelegateCaller|TestFeeCollectorController|TestFeeRecipient|TestFillQuoteTransformerBridge|TestFillQuoteTransformerExchange|TestFillQuoteTransformerHost|TestFixinProtocolFees|TestFixinTokenSpender|TestFullMigration|TestInitialMigration|TestLibNativeOrder|TestLibSignature|TestLiquidityProvider|TestMetaTransactionsNativeOrdersFeature|TestMetaTransactionsTransformERC20Feature|TestMigrator|TestMintTokenERC20Transformer|TestMintableERC1155Token|TestMintableERC20Token|TestMintableERC721Token|TestMooniswap|TestNFTOrderPresigner|TestNativeOrdersFeature|TestNoEthRecipient|TestOrderSignerRegistryWithContractWallet|TestPermissionlessTransformerDeployerSuicidal|TestPermissionlessTransformerDeployerTransformer|TestPropertyValidator|TestRfqOriginRegistration|TestSimpleFunctionRegistryFeatureImpl1|TestSimpleFunctionRegistryFeatureImpl2|TestStaking|TestTokenSpenderERC20Token|TestTransformERC20|TestTransformerBase|TestTransformerDeployerTransformer|TestTransformerHost|TestUniswapV2Factory|TestUniswapV2Pool|TestUniswapV3Factory|TestUniswapV3Feature|TestUniswapV3Pool|TestWeth|TestWethTransformerHost|TransformERC20Feature|Transformer|TransformerDeployer|UniswapFeature|UniswapV3Feature|WethTransformer|ZeroEx|ZeroExOptimized).json"
41+
"abis": "./test/generated-artifacts/@(AbstractBridgeAdapter|AffiliateFeeTransformer|ArbitrumBridgeAdapter|AvalancheBridgeAdapter|BSCBridgeAdapter|BaseBridgeAdapter|BaseGoerliBridgeAdapter|BatchFillNativeOrdersFeature|BootstrapFeature|BridgeProtocols|CeloBridgeAdapter|CurveLiquidityProvider|ERC1155OrdersFeature|ERC165Feature|ERC721OrdersFeature|EthereumBridgeAdapter|FantomBridgeAdapter|FeeCollector|FeeCollectorController|FillQuoteTransformer|FixinCommon|FixinEIP712|FixinERC1155Spender|FixinERC721Spender|FixinProtocolFees|FixinReentrancyGuard|FixinTokenSpender|FlashWallet|FullMigration|FundRecoveryFeature|IBatchFillNativeOrdersFeature|IBootstrapFeature|IBridgeAdapter|IERC1155OrdersFeature|IERC1155Token|IERC165Feature|IERC20Bridge|IERC20Transformer|IERC721OrdersFeature|IERC721Token|IFeature|IFeeRecipient|IFlashWallet|IFundRecoveryFeature|ILiquidityProvider|ILiquidityProviderFeature|ILiquidityProviderSandbox|IMetaTransactionsFeature|IMetaTransactionsFeatureV2|IMooniswapPool|IMultiplexFeature|INativeOrdersEvents|INativeOrdersFeature|IOtcOrdersFeature|IOwnableFeature|IPancakeSwapFeature|IPropertyValidator|ISimpleFunctionRegistryFeature|IStaking|ITakerCallback|ITestSimpleFunctionRegistryFeature|ITokenSpenderFeature|ITransformERC20Feature|IUniswapFeature|IUniswapV2Pair|IUniswapV3Feature|IUniswapV3Pool|IZeroEx|InitialMigration|LibBootstrap|LibCommonRichErrors|LibERC1155OrdersStorage|LibERC20Transformer|LibERC721OrdersStorage|LibFeeCollector|LibLiquidityProviderRichErrors|LibMetaTransactionsRichErrors|LibMetaTransactionsStorage|LibMigrate|LibNFTOrder|LibNFTOrdersRichErrors|LibNativeOrder|LibNativeOrdersRichErrors|LibNativeOrdersStorage|LibOtcOrdersStorage|LibOwnableRichErrors|LibOwnableStorage|LibProxyRichErrors|LibProxyStorage|LibReentrancyGuardStorage|LibSignature|LibSignatureRichErrors|LibSimpleFunctionRegistryRichErrors|LibSimpleFunctionRegistryStorage|LibStorage|LibTransformERC20RichErrors|LibTransformERC20Storage|LibWalletRichErrors|LiquidityProviderFeature|LiquidityProviderSandbox|LogMetadataTransformer|MetaTransactionsFeature|MetaTransactionsFeatureV2|MixinAaveV2|MixinBalancer|MixinBalancerV2Batch|MixinBancorV3|MixinCompound|MixinCryptoCom|MixinCurve|MixinCurveV2|MixinDodo|MixinDodoV2|MixinGMX|MixinKyberDmm|MixinLido|MixinMakerPSM|MixinMooniswap|MixinNerve|MixinPlatypus|MixinSolidly|MixinSynthetix|MixinUniswap|MixinUniswapV2|MixinUniswapV3|MixinZeroExBridge|MooniswapLiquidityProvider|MultiplexFeature|MultiplexLiquidityProvider|MultiplexOtc|MultiplexRfq|MultiplexTransformERC20|MultiplexUniswapV2|MultiplexUniswapV3|NFTOrders|NativeOrdersCancellation|NativeOrdersFeature|NativeOrdersInfo|NativeOrdersProtocolFees|NativeOrdersSettlement|OptimismBridgeAdapter|OtcOrdersFeature|OwnableFeature|PancakeSwapFeature|PayTakerTransformer|PermissionlessTransformerDeployer|PolygonBridgeAdapter|PositiveSlippageFeeTransformer|SimpleFunctionRegistryFeature|TestCurve|TestDelegateCaller|TestFeeCollectorController|TestFeeRecipient|TestFillQuoteTransformerBridge|TestFillQuoteTransformerExchange|TestFillQuoteTransformerHost|TestFixinProtocolFees|TestFixinTokenSpender|TestFullMigration|TestInitialMigration|TestLibNativeOrder|TestLibSignature|TestLiquidityProvider|TestMetaTransactionsNativeOrdersFeature|TestMetaTransactionsTransformERC20Feature|TestMigrator|TestMintTokenERC20Transformer|TestMintableERC1155Token|TestMintableERC20Token|TestMintableERC721Token|TestMooniswap|TestNFTOrderPresigner|TestNativeOrdersFeature|TestNoEthRecipient|TestOrderSignerRegistryWithContractWallet|TestPermissionlessTransformerDeployerSuicidal|TestPermissionlessTransformerDeployerTransformer|TestPropertyValidator|TestRfqOriginRegistration|TestSimpleFunctionRegistryFeatureImpl1|TestSimpleFunctionRegistryFeatureImpl2|TestStaking|TestTokenSpenderERC20Token|TestTransformERC20|TestTransformerBase|TestTransformerDeployerTransformer|TestTransformerHost|TestUniswapV2Factory|TestUniswapV2Pool|TestUniswapV3Factory|TestUniswapV3Feature|TestUniswapV3Pool|TestWeth|TestWethTransformerHost|TransformERC20Feature|Transformer|TransformerDeployer|UniswapFeature|UniswapV3Feature|WethTransformer|ZeroEx|ZeroExOptimized).json"
4242
},
4343
"repository": {
4444
"type": "git",

contracts/zero-ex/src/artifacts.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import { ContractArtifact } from 'ethereum-types';
77

88
import * as AffiliateFeeTransformer from '../generated-artifacts/AffiliateFeeTransformer.json';
99
import * as AvalancheBridgeAdapter from '../generated-artifacts/AvalancheBridgeAdapter.json';
10+
import * as BaseBridgeAdapter from '../generated-artifacts/BaseBridgeAdapter.json';
11+
import * as BaseGoerliBridgeAdapter from '../generated-artifacts/BaseGoerliBridgeAdapter.json';
1012
import * as BatchFillNativeOrdersFeature from '../generated-artifacts/BatchFillNativeOrdersFeature.json';
1113
import * as BSCBridgeAdapter from '../generated-artifacts/BSCBridgeAdapter.json';
1214
import * as CeloBridgeAdapter from '../generated-artifacts/CeloBridgeAdapter.json';
@@ -79,6 +81,8 @@ export const artifacts = {
7981
OtcOrdersFeature: OtcOrdersFeature as ContractArtifact,
8082
IOtcOrdersFeature: IOtcOrdersFeature as ContractArtifact,
8183
AvalancheBridgeAdapter: AvalancheBridgeAdapter as ContractArtifact,
84+
BaseGoerliBridgeAdapter: BaseGoerliBridgeAdapter as ContractArtifact,
85+
BaseBridgeAdapter: BaseBridgeAdapter as ContractArtifact,
8286
BSCBridgeAdapter: BSCBridgeAdapter as ContractArtifact,
8387
CeloBridgeAdapter: CeloBridgeAdapter as ContractArtifact,
8488
EthereumBridgeAdapter: EthereumBridgeAdapter as ContractArtifact,

contracts/zero-ex/src/wrappers.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
export * from '../generated-wrappers/affiliate_fee_transformer';
77
export * from '../generated-wrappers/avalanche_bridge_adapter';
88
export * from '../generated-wrappers/b_s_c_bridge_adapter';
9+
export * from '../generated-wrappers/base_bridge_adapter';
10+
export * from '../generated-wrappers/base_goerli_bridge_adapter';
911
export * from '../generated-wrappers/batch_fill_native_orders_feature';
1012
export * from '../generated-wrappers/celo_bridge_adapter';
1113
export * from '../generated-wrappers/curve_liquidity_provider';

contracts/zero-ex/test/artifacts.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import * as AbstractBridgeAdapter from '../test/generated-artifacts/AbstractBrid
99
import * as AffiliateFeeTransformer from '../test/generated-artifacts/AffiliateFeeTransformer.json';
1010
import * as ArbitrumBridgeAdapter from '../test/generated-artifacts/ArbitrumBridgeAdapter.json';
1111
import * as AvalancheBridgeAdapter from '../test/generated-artifacts/AvalancheBridgeAdapter.json';
12+
import * as BaseBridgeAdapter from '../test/generated-artifacts/BaseBridgeAdapter.json';
13+
import * as BaseGoerliBridgeAdapter from '../test/generated-artifacts/BaseGoerliBridgeAdapter.json';
1214
import * as BatchFillNativeOrdersFeature from '../test/generated-artifacts/BatchFillNativeOrdersFeature.json';
1315
import * as BootstrapFeature from '../test/generated-artifacts/BootstrapFeature.json';
1416
import * as BridgeProtocols from '../test/generated-artifacts/BridgeProtocols.json';
@@ -318,6 +320,8 @@ export const artifacts = {
318320
AbstractBridgeAdapter: AbstractBridgeAdapter as ContractArtifact,
319321
ArbitrumBridgeAdapter: ArbitrumBridgeAdapter as ContractArtifact,
320322
AvalancheBridgeAdapter: AvalancheBridgeAdapter as ContractArtifact,
323+
BaseBridgeAdapter: BaseBridgeAdapter as ContractArtifact,
324+
BaseGoerliBridgeAdapter: BaseGoerliBridgeAdapter as ContractArtifact,
321325
BSCBridgeAdapter: BSCBridgeAdapter as ContractArtifact,
322326
BridgeProtocols: BridgeProtocols as ContractArtifact,
323327
CeloBridgeAdapter: CeloBridgeAdapter as ContractArtifact,

contracts/zero-ex/test/wrappers.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ export * from '../test/generated-wrappers/affiliate_fee_transformer';
88
export * from '../test/generated-wrappers/arbitrum_bridge_adapter';
99
export * from '../test/generated-wrappers/avalanche_bridge_adapter';
1010
export * from '../test/generated-wrappers/b_s_c_bridge_adapter';
11+
export * from '../test/generated-wrappers/base_bridge_adapter';
12+
export * from '../test/generated-wrappers/base_goerli_bridge_adapter';
1113
export * from '../test/generated-wrappers/batch_fill_native_orders_feature';
1214
export * from '../test/generated-wrappers/bootstrap_feature';
1315
export * from '../test/generated-wrappers/bridge_protocols';

0 commit comments

Comments
 (0)