Documentation ¶
Index ¶
- type ISignObject
- type SSZBytes
- type SignRequest
- func (x *SignRequest) GetAggregateAttestationAndProof() *phase0.AggregateAndProof
- func (x *SignRequest) GetAttestationData() *phase0.AttestationData
- func (x *SignRequest) GetBlindedBlock() *api.VersionedBlindedBeaconBlock
- func (x *SignRequest) GetBlock() *spec.VersionedBeaconBlock
- func (x *SignRequest) GetContributionAndProof() *altair.ContributionAndProof
- func (x *SignRequest) GetEpoch() phase0.Epoch
- func (x *SignRequest) GetExit() *phase0.VoluntaryExit
- func (x *SignRequest) GetObject() ISignObject
- func (x *SignRequest) GetPublicKey() []byte
- func (x *SignRequest) GetRegistration() *api.VersionedValidatorRegistration
- func (x *SignRequest) GetSignatureDomain() phase0.Domain
- func (x *SignRequest) GetSigningRoot() []byte
- func (x *SignRequest) GetSlot() phase0.Slot
- func (x *SignRequest) GetSyncAggregatorSelectionData() *altair.SyncAggregatorSelectionData
- func (x *SignRequest) GetSyncCommitteeMessage() SSZBytes
- type SignRequestAggregateAttestationAndProof
- type SignRequestAttestationData
- type SignRequestBlindedBlock
- type SignRequestBlock
- type SignRequestContributionAndProof
- type SignRequestEpoch
- type SignRequestExit
- type SignRequestRegistration
- type SignRequestSlot
- type SignRequestSyncAggregatorSelectionData
- type SignRequestSyncCommitteeMessage
- type SignResponse
- type SignatureModel
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 [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) GetExit ¶
func (x *SignRequest) GetExit() *phase0.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) 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) GetSyncAggregatorSelectionData ¶
func (x *SignRequest) GetSyncAggregatorSelectionData() *altair.SyncAggregatorSelectionData
GetSyncAggregatorSelectionData return SyncAggregatorSelectionData
func (*SignRequest) GetSyncCommitteeMessage ¶
func (x *SignRequest) GetSyncCommitteeMessage() SSZBytes
GetSyncCommitteeMessage return types SSZBytes
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 SignRequestExit ¶
type SignRequestExit struct {
Exit *phase0.VoluntaryExit
}
SignRequestExit struct
type SignRequestRegistration ¶ added in v1.5.0
type SignRequestRegistration struct {
VersionedValidatorRegistration *api.VersionedValidatorRegistration
}
SignRequestRegistration struct
type SignRequestSlot ¶
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 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.