utils

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToQuorumNumbers

func BytesToQuorumNumbers(quorumNumbersBytes []byte) eigentypes.QuorumNums

func BytesToQuorumThresholdPercentages

func BytesToQuorumThresholdPercentages(quorumThresholdPercentagesBytes []byte) eigentypes.QuorumThresholdPercentages

func ConvertToBN254G1Point

func ConvertToBN254G1Point(input *bls.G1Point) servicemanager.BN254G1Point

BN254.sol is a library, so bindings for G1 Points and G2 Points are only generated in every contract that imports that library. Thus the output here will need to be type casted if G1Point is needed to interface with another contract (eg: BLSPublicKeyCompendium.sol)

func ConvertToBN254G2Point

func ConvertToBN254G2Point(input *bls.G2Point) servicemanager.BN254G2Point

func WaitForTransactionReceipt

func WaitForTransactionReceipt(client eth.Client, ctx context.Context, txHash gethcommon.Hash) (*types.Receipt, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL