Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
static connect(
address: string,
signerOrProvider: Signer | Provider
): IERC1363Spender {
return new Contract(address, _abi, signerOrProvider) as IERC1363Spender
}
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): SequencerInbox {
return new Contract(address, _abi, signerOrProvider) as SequencerInbox
}
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): L2ERC20Gateway {
return new Contract(address, _abi, signerOrProvider) as L2ERC20Gateway
}
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): RollupCreator {
return new Contract(address, _abi, signerOrProvider) as RollupCreator
}
}
static connect(address: string, signerOrProvider: Signer | Provider): Rollup {
return new Contract(address, _abi, signerOrProvider) as Rollup
}
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): OZERC20 {
return new Contract(address, _abi, signerOrProvider) as OZERC20
}
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): OneStepProof {
return new Contract(address, _abi, signerOrProvider) as OneStepProof
}
}
static connect(address: string, signerOrProvider: Signer | Provider): ArbBLS {
return new Contract(address, _abi, signerOrProvider) as ArbBLS
}
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): RetryableTicketCreator {
return new Contract(
address,
_abi,
signerOrProvider
) as RetryableTicketCreator
}
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): OneStepProof2 {
return new Contract(address, _abi, signerOrProvider) as OneStepProof2
}
}