models

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ISignObject

type ISignObject interface {
	// contains filtered or unexported methods
}

ISignObject interface

type SSZBytes added in v1.6.0

type SSZBytes []byte

SSZBytes --

type SignRequest

type SignRequest struct {
	PublicKey       []byte      `json:"public_key,omitempty"`
	SigningRoot     []byte      `json:"signing_root,omitempty"`
	SignatureDomain [32]byte    `json:"signature_domain,omitempty"`
	Object          ISignObject `json:"object,omitempty"`
}

SignRequest implementing ISignObject

func (*SignRequest) GetAggregateAttestationAndProof

func (x *SignRequest) GetAggregateAttestationAndProof() *phase0.AggregateAndProof

GetAggregateAttestationAndProof return AggregateAttestationAndProof

func (*SignRequest) GetAttestationData

func (x *SignRequest) GetAttestationData() *phase0.AttestationData

GetAttestationData return AttestationData

func (*SignRequest) GetBlindedBlock added in v1.6.0

func (x *SignRequest) GetBlindedBlock() *api.VersionedBlindedBeaconBlock

GetBlindedBlock return a versioned blinded block block.

func (*SignRequest) GetBlock

func (x *SignRequest) GetBlock() *spec.VersionedBeaconBlock

GetBlock return versioned block

func (*SignRequest) GetContributionAndProof

func (x *SignRequest) GetContributionAndProof() *altair.ContributionAndProof

GetContributionAndProof return ContributionAndProof

func (*SignRequest) GetEpoch

func (x *SignRequest) GetEpoch() phase0.Epoch

GetEpoch return types epoch

func (*SignRequest) GetObject

func (x *SignRequest) GetObject() ISignObject

GetObject return ISignObject interface

func (*SignRequest) GetPublicKey

func (x *SignRequest) GetPublicKey() []byte

GetPublicKey return publicKey

func (*SignRequest) GetRegistration added in v1.5.0

func (x *SignRequest) GetRegistration() *api.VersionedValidatorRegistration

GetRegistration return a versioned validator registration.

func (*SignRequest) GetSignatureDomain

func (x *SignRequest) GetSignatureDomain() phase0.Domain

GetSignatureDomain return domain bytes

func (*SignRequest) GetSigningRoot

func (x *SignRequest) GetSigningRoot() []byte

GetSigningRoot return root bytes

func (*SignRequest) GetSlot

func (x *SignRequest) GetSlot() phase0.Slot

GetSlot return types slot

func (*SignRequest) GetSyncAggregatorSelectionData

func (x *SignRequest) GetSyncAggregatorSelectionData() *altair.SyncAggregatorSelectionData

GetSyncAggregatorSelectionData return SyncAggregatorSelectionData

func (*SignRequest) GetSyncCommitteeMessage

func (x *SignRequest) GetSyncCommitteeMessage() SSZBytes

GetSyncCommitteeMessage return types SSZBytes

func (*SignRequest) GetVoluntaryExit added in v1.6.0

func (x *SignRequest) GetVoluntaryExit() *phase0.VoluntaryExit

GetVoluntaryExit return VoluntaryExit

type SignRequestAggregateAttestationAndProof

type SignRequestAggregateAttestationAndProof struct {
	AggregateAttestationAndProof *phase0.AggregateAndProof
}

SignRequestAggregateAttestationAndProof struct

type SignRequestAttestationData

type SignRequestAttestationData struct {
	AttestationData *phase0.AttestationData
}

SignRequestAttestationData struct

type SignRequestBlindedBlock added in v1.6.0

type SignRequestBlindedBlock struct {
	VersionedBlindedBeaconBlock *api.VersionedBlindedBeaconBlock
}

SignRequestBlindedBlock struct

type SignRequestBlock

type SignRequestBlock struct {
	VersionedBeaconBlock *spec.VersionedBeaconBlock
}

SignRequestBlock struct

type SignRequestContributionAndProof

type SignRequestContributionAndProof struct {
	ContributionAndProof *altair.ContributionAndProof
}

SignRequestContributionAndProof struct

type SignRequestEpoch

type SignRequestEpoch struct {
	Epoch phase0.Epoch
}

SignRequestEpoch struct

type SignRequestRegistration added in v1.5.0

type SignRequestRegistration struct {
	VersionedValidatorRegistration *api.VersionedValidatorRegistration
}

SignRequestRegistration struct

type SignRequestSlot

type SignRequestSlot struct {
	Slot phase0.Slot
}

SignRequestSlot struct fir sign req slot

type SignRequestSyncAggregatorSelectionData

type SignRequestSyncAggregatorSelectionData struct {
	SyncAggregatorSelectionData *altair.SyncAggregatorSelectionData
}

SignRequestSyncAggregatorSelectionData struct for sign req committiee msg

type SignRequestSyncCommitteeMessage

type SignRequestSyncCommitteeMessage struct {
	Root SSZBytes
}

SignRequestSyncCommitteeMessage struct for sign req committiee msg

type SignRequestVoluntaryExit added in v1.6.0

type SignRequestVoluntaryExit struct {
	VoluntaryExit *phase0.VoluntaryExit
}

SignRequestVoluntaryExit struct

type SignResponse

type SignResponse struct {
	Data SignatureModel `json:"data"`
}

SignResponse is the vault sign response model.

type SignatureModel

type SignatureModel struct {
	Signature string `json:"signature"`
}

SignatureModel represents vault signature model.

Jump to

Keyboard shortcuts

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