Documentation ¶
Index ¶
- type ISignObject
- type SignRequest
- func (x *SignRequest) GetAggregateAttestationAndProof() *eth.AggregateAttestationAndProof
- func (x *SignRequest) GetAttestationData() *eth.AttestationData
- func (x *SignRequest) GetBlock() *eth.BeaconBlock
- func (x *SignRequest) GetBlockV2() *eth.BeaconBlockAltair
- func (x *SignRequest) GetBlockV3() *eth.BeaconBlockBellatrix
- func (x *SignRequest) GetContributionAndProof() *eth.ContributionAndProof
- func (x *SignRequest) GetEpoch() types.Epoch
- func (x *SignRequest) GetExit() *eth.VoluntaryExit
- func (x *SignRequest) GetObject() ISignObject
- func (x *SignRequest) GetPublicKey() []byte
- func (x *SignRequest) GetSignatureDomain() []byte
- func (x *SignRequest) GetSigningRoot() []byte
- func (x *SignRequest) GetSlot() types.Slot
- func (x *SignRequest) GetSyncAggregatorSelectionData() *eth.SyncAggregatorSelectionData
- func (x *SignRequest) GetSyncCommitteeMessage() types.SSZBytes
- type SignRequestAggregateAttestationAndProof
- type SignRequestAttestationData
- type SignRequestBlock
- type SignRequestBlockV2
- type SignRequestBlockV3
- type SignRequestContributionAndProof
- type SignRequestEpoch
- type SignRequestExit
- 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 []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 an Altair block.
func (*SignRequest) GetBlockV3 ¶ added in v1.5.0
func (x *SignRequest) GetBlockV3() *eth.BeaconBlockBellatrix
GetBlockV3 return a Bellatrix 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) 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 SignRequestBlockV3 ¶ added in v1.5.0
type SignRequestBlockV3 struct {
BlockV3 *eth.BeaconBlockBellatrix
}
SignRequestBlockV3 struct
type SignRequestContributionAndProof ¶
type SignRequestContributionAndProof struct {
ContributionAndProof *eth.ContributionAndProof
}
SignRequestContributionAndProof struct
type SignRequestExit ¶
type SignRequestExit struct {
Exit *eth.VoluntaryExit
}
SignRequestExit struct
type SignRequestSlot ¶
SignRequestSlot struct fir sign req slot
type SignRequestSyncAggregatorSelectionData ¶
type SignRequestSyncAggregatorSelectionData struct {
SyncAggregatorSelectionData *eth.SyncAggregatorSelectionData
}
SignRequestSyncAggregatorSelectionData struct for sign req committiee msg
type SignRequestSyncCommitteeMessage ¶
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.