common

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Calldata = iota
	EigenDA
	Celestia
)

Variables

This section is empty.

Functions

func ProvingSystemIdToString added in v0.1.2

func ProvingSystemIdToString(provingSystem ProvingSystemId) (string, error)

Types

type DASolution added in v0.1.2

type DASolution uint8

type ProvingSystemId

type ProvingSystemId uint16
const (
	GnarkPlonkBls12_381 ProvingSystemId = iota
	GnarkPlonkBn254
	Groth16Bn254
	SP1
)

func ProvingSystemIdFromString added in v0.1.2

func ProvingSystemIdFromString(provingSystem string) (ProvingSystemId, error)

func (ProvingSystemId) MarshalJSON added in v0.1.2

func (t ProvingSystemId) MarshalJSON() ([]byte, error)

func (*ProvingSystemId) String added in v0.1.2

func (t *ProvingSystemId) String() string

func (*ProvingSystemId) UnmarshalJSON added in v0.1.2

func (t *ProvingSystemId) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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