UNPKG

@symbioticfi/relay-stats-ts

Version:

TypeScript library for deriving validator sets from Symbiotic network contracts

15 lines 649 B
import type { Hex } from 'viem'; export type G1 = { x: bigint; y: bigint; } | null; export declare function findYFromX(x: bigint): bigint; export declare function compressG1FromXY(x: bigint, y: bigint): Hex; export declare function parseG1Uncompressed(raw: Hex): G1; export declare function pointAdd(a: G1, b: G1): G1; export declare function aggregateG1(keys: Hex[]): G1; export declare function compressAggregatedG1(keys: Hex[]): Hex; export declare function compressRawG1(raw: Hex): Hex; export declare function keccak(bytes: Uint8Array): Hex; export declare function parseKeyToPoint(raw: Hex): G1; //# sourceMappingURL=bls_bn254.d.ts.map