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
-
Returns string
-
getRoleHash: ((role: string) => string)
-
- (role: string): string
-
Returns string
-
hexToBigNumber: ((hex: string) => BigNumber)
-
- (hex: string): BigNumber
-
Returns BigNumber
-
hexToDecimal: ((hex: string) => number)
-
- (hex: string): number
-
Returns number
-
isValidProvider: ((potentialProvider: any) => boolean)
-
- (potentialProvider: any): boolean
-
Returns boolean