models

package
v1.3.8-rc Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 2 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 SignRequest

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

SignRequest implementing ISignObject

func (*SignRequest) GetAggregateAttestationAndProof

func (x *SignRequest) GetAggregateAttestationAndProof() *eth.AggregateAttestationAndProof

GetAggregateAttestationAndProof return AggregateAttestationAndProof

func (*SignRequest) GetAttestationData

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

GetAttestationData return AttestationData

func (*SignRequest) GetBlock

func (x *SignRequest) GetBlock() *eth.BeaconBlock

GetBlock return req block

func (*SignRequest) GetBlockV2

func (x *SignRequest) GetBlockV2() *eth.BeaconBlockAltair

GetBlockV2 return altair block

func (*SignRequest) GetContributionAndProof

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

GetContributionAndProof return ContributionAndProof

func (*SignRequest) GetEpoch

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

GetEpoch return types epoch

func (*SignRequest) GetExit

func (x *SignRequest) GetExit() *eth.VoluntaryExit

GetExit return VoluntaryExit

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) GetSignatureDomain

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

GetSignatureDomain return domain bytes

func (*SignRequest) GetSigningRoot

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

GetSigningRoot return root bytes

func (*SignRequest) GetSlot

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

GetSlot return types slot

func (*SignRequest) GetSyncAggregatorSelectionData

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

GetSyncAggregatorSelectionData return SyncAggregatorSelectionData

func (*SignRequest) GetSyncCommitteeMessage

func (x *SignRequest) GetSyncCommitteeMessage() types.SSZBytes

GetSyncCommitteeMessage return types SSZBytes

type SignRequestAggregateAttestationAndProof

type SignRequestAggregateAttestationAndProof struct {
	AggregateAttestationAndProof *eth.AggregateAttestationAndProof
}

SignRequestAggregateAttestationAndProof struct

type SignRequestAttestationData

type SignRequestAttestationData struct {
	AttestationData *eth.AttestationData
}

SignRequestAttestationData struct

type SignRequestBlock

type SignRequestBlock struct {
	Block *eth.BeaconBlock
}

SignRequestBlock struct

type SignRequestBlockV2

type SignRequestBlockV2 struct {
	BlockV2 *eth.BeaconBlockAltair
}

SignRequestBlockV2 struct

type SignRequestContributionAndProof

type SignRequestContributionAndProof struct {
	ContributionAndProof *eth.ContributionAndProof
}

SignRequestContributionAndProof struct

type SignRequestEpoch

type SignRequestEpoch struct {
	Epoch types.Epoch
}

SignRequestEpoch struct

type SignRequestExit

type SignRequestExit struct {
	Exit *eth.VoluntaryExit
}

SignRequestExit struct

type SignRequestSlot

type SignRequestSlot struct {
	Slot types.Slot
}

SignRequestSlot struct fir sign req slot

type SignRequestSyncAggregatorSelectionData

type SignRequestSyncAggregatorSelectionData struct {
	SyncAggregatorSelectionData *eth.SyncAggregatorSelectionData
}

SignRequestSyncAggregatorSelectionData struct for sign req committiee msg

type SignRequestSyncCommitteeMessage

type SignRequestSyncCommitteeMessage struct {
	Root types.SSZBytes
}

SignRequestSyncCommitteeMessage struct for sign req committiee msg

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