Documentation ¶
Index ¶
- Variables
- func ConvertBytesToQuorumNumbers(input []byte) []eigentypes.QuorumNum
- func ConvertToBN254G1Point(input *bls.G1Point) taskmanager.BN254G1Point
- func ConvertToBN254G2Point(input *bls.G2Point) taskmanager.BN254G2Point
- func CreateEthClientWithCollector(id, url string, enableMetrics bool, registry *prometheus.Registry, ...) (safeclient.SafeClient, error)
- func HashBNG1Point(input taskmanager.BN254G1Point) ([32]byte, error)
- func HashMessageWithPrefix(prefix []byte, data []byte) ([32]byte, error)
- func Keccak256(data []byte) [32]byte
- type Clock
- type Metricable
Constants ¶
This section is empty.
Variables ¶
View Source
var SystemClock = Clock{Now: time.Now}
Functions ¶
func ConvertBytesToQuorumNumbers ¶
func ConvertBytesToQuorumNumbers(input []byte) []eigentypes.QuorumNum
func ConvertToBN254G1Point ¶
func ConvertToBN254G1Point(input *bls.G1Point) taskmanager.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) taskmanager.BN254G2Point
func CreateEthClientWithCollector ¶
func CreateEthClientWithCollector(id, url string, enableMetrics bool, registry *prometheus.Registry, logger sdklogging.Logger) (safeclient.SafeClient, error)
func HashBNG1Point ¶
func HashBNG1Point(input taskmanager.BN254G1Point) ([32]byte, error)
func HashMessageWithPrefix ¶
Types ¶
type Metricable ¶
type Metricable interface {
EnableMetrics(registry *prometheus.Registry) error
}
Click to show internal directories.
Click to hide internal directories.