Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export async function getERC20(requestManager: RequestManager, address: Address): Promise {
return (await new ContractFactory(requestManager, ERC20Abi).at(address)) as IERC20
}
export async function getERC721(requestManager: RequestManager, address: Address): Promise {
return (await new ContractFactory(requestManager, ERC721Abi).at(address)) as IERC721
}