(fromChainId = 0)
| 123 | } |
| 124 | |
| 125 | export async function deploySpokePoolWithToken(fromChainId = 0): Promise<SpokePoolDeploymentResult> { |
| 126 | const { weth, erc20, spokePool, unwhitelistedErc20, destErc20 } = await utils.deploySpokePool(ethers); |
| 127 | const receipt = await spokePool.deployTransaction.wait(); |
| 128 | |
| 129 | await spokePool.setChainId(fromChainId == 0 ? utils.originChainId : fromChainId); |
| 130 | return { weth, erc20, spokePool, unwhitelistedErc20, destErc20, deploymentBlock: receipt.blockNumber }; |
| 131 | } |
| 132 | |
| 133 | export async function deployMulticall3(signer: SignerWithAddress) { |
| 134 | return sdkUtils.deploy(signer); |
no outgoing calls
no test coverage detected