@@ -35,6 +35,7 @@ import Aqua from '@contracts/Aqua.sol/Aqua.json'
3535import TestTrader from '@contracts/TestTrader.sol/TestTrader.json'
3636import TestAquaSwapVMRouter from '@contracts/TestAquaSwapVMRouter.sol/TestAquaSwapVMRouter.json'
3737import TestCustomSwapVM from '@contracts/TestCustomSwapVM.sol/TestCustomSwapVM.json'
38+ import TestMakerHooks from '@contracts/TestMakerHooks.sol/TestMakerHooks.json'
3839
3940import { TestWallet , ADDRESSES } from '@1inch/sdk-core/test-utils'
4041import { privateKeyToAccount } from 'viem/accounts'
@@ -90,6 +91,7 @@ export class ReadyEvmFork {
9091 const mappings = [
9192 [ this . addresses . aqua , 'aqua' ] ,
9293 [ this . addresses . swapVMAquaRouter , 'swapVMAquaRouter' ] ,
94+ [ this . addresses . customSwapVM , 'customSwapVM' ] ,
9395 [ ADDRESSES . USDC , 'USDC' ] ,
9496 [ ADDRESSES . WETH , 'WETH' ] ,
9597 [ await this . liqProvider . getAddress ( ) , 'liqProvider' ] ,
@@ -193,14 +195,15 @@ async function deployContracts(transport: Transport, chain: Chain): Promise<Test
193195 const aqua = await deploy ( Aqua as ContractParams , [ ] , deployer )
194196
195197 const nonce = await deployer . getTransactionCount ( { address : account . address } )
196- const [ swapVMAquaRouter , customSwapVM , testTrader ] = await Promise . all ( [
198+ const [ swapVMAquaRouter , customSwapVM , makerHooks , testTrader ] = await Promise . all ( [
197199 deploy ( TestAquaSwapVMRouter as ContractParams , [ aqua ] , deployer , nonce ) ,
198200 deploy ( TestCustomSwapVM as ContractParams , [ aqua ] , deployer , nonce + 1 ) ,
201+ deploy ( TestMakerHooks as ContractParams , [ ] , deployer , nonce + 2 ) ,
199202 deploy (
200203 TestTrader as ContractParams ,
201204 [ aqua , [ ADDRESSES . WETH , ADDRESSES . USDC ] ] ,
202205 deployer ,
203- nonce + 2 ,
206+ nonce + 3 ,
204207 ) ,
205208 ] )
206209
@@ -209,6 +212,7 @@ async function deployContracts(transport: Transport, chain: Chain): Promise<Test
209212 testTrader,
210213 swapVMAquaRouter,
211214 customSwapVM,
215+ makerHooks,
212216 }
213217}
214218
@@ -278,6 +282,7 @@ export type TestAddresses = {
278282 testTrader : Hex
279283 swapVMAquaRouter : Hex
280284 customSwapVM : Hex
285+ makerHooks : Hex
281286}
282287
283288export type TestClient <
0 commit comments