models

package
v1.3.1-rc Latest Latest
Warning

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

Go to latest
Published: Sep 30, 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
}

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"`
}

func (*SignRequest) GetAggregateAttestationAndProof

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

func (*SignRequest) GetAttestationData

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

func (*SignRequest) GetBlock

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

func (*SignRequest) GetBlockV2

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

func (*SignRequest) GetContributionAndProof

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

func (*SignRequest) GetEpoch

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

func (*SignRequest) GetExit

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

func (*SignRequest) GetObject

func (m *SignRequest) GetObject() ISignObject

func (*SignRequest) GetPublicKey

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

func (*SignRequest) GetSignatureDomain

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

func (*SignRequest) GetSigningRoot

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

func (*SignRequest) GetSlot

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

func (*SignRequest) GetSyncAggregatorSelectionData

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

func (*SignRequest) GetSyncCommitteeMessage

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

type SignRequest_AggregateAttestationAndProof

type SignRequest_AggregateAttestationAndProof struct {
	AggregateAttestationAndProof *eth.AggregateAttestationAndProof
}

type SignRequest_AttestationData

type SignRequest_AttestationData struct {
	AttestationData *eth.AttestationData
}

type SignRequest_Block

type SignRequest_Block struct {
	Block *eth.BeaconBlock
}

type SignRequest_BlockV2

type SignRequest_BlockV2 struct {
	BlockV2 *eth.BeaconBlockAltair
}

type SignRequest_ContributionAndProof

type SignRequest_ContributionAndProof struct {
	ContributionAndProof *eth.ContributionAndProof
}

type SignRequest_Epoch

type SignRequest_Epoch struct {
	Epoch types.Epoch
}

type SignRequest_Exit

type SignRequest_Exit struct {
	Exit *eth.VoluntaryExit
}

type SignRequest_Slot

type SignRequest_Slot struct {
	Slot types.Slot
}

type SignRequest_SyncAggregatorSelectionData

type SignRequest_SyncAggregatorSelectionData struct {
	SyncAggregatorSelectionData *eth.SyncAggregatorSelectionData
}

type SignRequest_SyncCommitteeMessage

type SignRequest_SyncCommitteeMessage struct {
	Root types.SSZBytes
}

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