Function getDelegateV2ContractWithProvider

  • Returns a ethers.Contract instance of the delegate V2 contract make sure you call "config.setConfig" before calling this function

    Parameters

    • provider: JsonRpcProvider | BrowserProvider
    • Optional chainId: number

      number or ChainEnum

    Returns Promise<Contract>

    ethers.Contract instance

Generated using TypeDoc