import { Signer , BigNumber } from 'ethers' ; import { ArbitrumBridgeExecutor , ArbitrumBridgeExecutor__factory } from '../typechain' ; import { tEthereumAddress } from './types' ; export const deployArbitrumBridgeExecutor = async ( ethereumExecutor , delay , gracePeriod , minimumDelay , maximumDelay , guardian , signer ) : Promise < ArbitrumBridgeExecutor > => { const arbBridgeExecutorFactory = new ArbitrumBridgeExecutor__factory ( signer ) ; const arbitrumBridgeExecutor = await arbBridgeExecutorFactory . deploy ( ethereumExecutor , delay , gracePeriod , minimumDelay , maximumDelay , guardian ) ; await arbitrumBridgeExecutor . deployTransaction . wait ( ) ; return arbitrumBridgeExecutor ; } ;