Utils: {
    AccessControl: any;
    AccessControlEnumerable: any;
    Contract: any;
    buildBlockScoutURL: ((chainName: string, isMainnet?: boolean) => string);
    buildRPCUrl: ((chainName: string, isMainnet?: boolean) => string);
    compareChainIds: ((hex: string, decimal: number) => boolean);
    decimalToHex: ((decimal: number) => string);
    getRoleHash: ((role: string) => string);
    hexToBigNumber: ((hex: string) => BigNumber);
    hexToDecimal: ((hex: string) => number);
    isValidProvider: ((potentialProvider: any) => boolean);
} = ...

Type declaration

  • buildBlockScoutURL: ((chainName: string, isMainnet?: boolean) => string)
      • (chainName: string, isMainnet?: boolean): string
      • Parameters

        • chainName: string
        • isMainnet: boolean = true

        Returns string

  • buildRPCUrl: ((chainName: string, isMainnet?: boolean) => string)
      • (chainName: string, isMainnet?: boolean): string
      • Parameters

        • chainName: string
        • isMainnet: boolean = true

        Returns string

  • compareChainIds: ((hex: string, decimal: number) => boolean)
      • (hex: string, decimal: number): boolean
      • Parameters

        • hex: string
        • decimal: number

        Returns boolean

  • decimalToHex: ((decimal: number) => string)
      • (decimal: number): string
      • Parameters

        • decimal: number

        Returns string

  • getRoleHash: ((role: string) => string)
      • (role: string): string
      • Parameters

        • role: string

        Returns string

  • hexToBigNumber: ((hex: string) => BigNumber)
      • (hex: string): BigNumber
      • Parameters

        • hex: string

        Returns BigNumber

  • hexToDecimal: ((hex: string) => number)
      • (hex: string): number
      • Parameters

        • hex: string

        Returns number

  • isValidProvider: ((potentialProvider: any) => boolean)
      • (potentialProvider: any): boolean
      • Parameters

        • potentialProvider: any

        Returns boolean