Documentation
¶
Index ¶
- Variables
- func ConvertToBN254G1Point(input *bls.G1Point) MultiProverServiceManager.BN254G1Point
- func ConvertToBN254G2Point(input *bls.G2Point) MultiProverServiceManager.BN254G2Point
- func DecodeError(abi *abi.ABI, err error) error
- func DigestStateHeader(s *StateHeader) (types.TaskResponseDigest, error)
- func GetBlsApkRegistryCaller(caller bind.ContractCaller, getter BlsApkRegistryGetter) (*BLSApkRegistry.BLSApkRegistryCaller, error)
- func GetOperatorAddrByOperatorID(caller bind.ContractCaller, getter BlsApkRegistryGetter, operatorId [32]byte) (common.Address, error)
- func GetOperatorAddrFromBlsKey(blskey *bls.KeyPair, caller bind.ContractCaller, getter BlsApkRegistryGetter) (common.Address, error)
- func Keccak256(data []byte) common.Hash
- func MultiProverError(err error) error
- func ReportDataBytes(reportData *TEELivenessVerifier.TEELivenessVerifierReportDataV2) ([]byte, error)
- func ReportDataHash(reportData *TEELivenessVerifier.TEELivenessVerifierReportDataV2) (common.Hash, error)
- type Binding
- type BlsApkRegistryGetter
- type JsonError
- type ReducedStateHeader
- type StateHeader
Constants ¶
This section is empty.
Variables ¶
View Source
var ERC20ABI = func() *abi.ABI { abi, err := ERC20.ERC20MetaData.GetAbi() if err != nil { panic(err) } return abi }()
View Source
var MultiProverABI = func() *abi.ABI { abi, err := MultiProverServiceManager.MultiProverServiceManagerMetaData.GetAbi() if err != nil { panic(err) } return abi }()
View Source
var TEELivenessVerifierABI = func() *abi.ABI { abi, err := TEELivenessVerifier.TEELivenessVerifierMetaData.GetAbi() if err != nil { panic(err) } return abi }()
Functions ¶
func ConvertToBN254G1Point ¶
func ConvertToBN254G1Point(input *bls.G1Point) MultiProverServiceManager.BN254G1Point
func ConvertToBN254G2Point ¶
func ConvertToBN254G2Point(input *bls.G2Point) MultiProverServiceManager.BN254G2Point
func DigestStateHeader ¶
func DigestStateHeader(s *StateHeader) (types.TaskResponseDigest, error)
func GetBlsApkRegistryCaller ¶
func GetBlsApkRegistryCaller(caller bind.ContractCaller, getter BlsApkRegistryGetter) (*BLSApkRegistry.BLSApkRegistryCaller, error)
func GetOperatorAddrByOperatorID ¶ added in v0.2.0
func GetOperatorAddrByOperatorID(caller bind.ContractCaller, getter BlsApkRegistryGetter, operatorId [32]byte) (common.Address, error)
func GetOperatorAddrFromBlsKey ¶
func GetOperatorAddrFromBlsKey(blskey *bls.KeyPair, caller bind.ContractCaller, getter BlsApkRegistryGetter) (common.Address, error)
func MultiProverError ¶
func ReportDataBytes ¶ added in v0.2.3
func ReportDataBytes(reportData *TEELivenessVerifier.TEELivenessVerifierReportDataV2) ([]byte, error)
func ReportDataHash ¶ added in v0.2.0
func ReportDataHash(reportData *TEELivenessVerifier.TEELivenessVerifierReportDataV2) (common.Hash, error)
Types ¶
type BlsApkRegistryGetter ¶
type ReducedStateHeader ¶
type ReducedStateHeader = MultiProverServiceManager.IMultiProverServiceManagerReducedStateHeader
type StateHeader ¶
type StateHeader = MultiProverServiceManager.IMultiProverServiceManagerStateHeader
Click to show internal directories.
Click to hide internal directories.