Documentation ¶
Overview ¶
Code generated by fastssz. DO NOT EDIT. Hash: bb994e8d7059ba3c6a6e2104b6709c1ebbe00cd687a79e1ded04a2a38c891a70 Version: 0.1.3
Index ¶
- func BLSPKEncode(pkBytes []byte) (*bls.PublicKey, error)
- func BLSSignatureEncode(pkBytes []byte) (*bls.Sign, error)
- func EqualOperators(a, b []*Operator) bool
- func FindOperatorPosition(operators []*Operator, id uint64) int
- func GetBulkMessageHash(bulkMsg []SSZMarshaller) ([32]byte, error)
- func GetPartialSigsFromResult(result *Result) (sharePubKey *bls.PublicKey, depositShareSig, ownerNonceShareSig *bls.Sign, ...)
- func GetReqIDFromMsg(message SSZMarshaller) ([24]byte, error)
- func NewID() [24]byte
- func OperatorIDByPubKey(operators []*Operator, pkBytes []byte) (uint64, error)
- func PartialNonceRoot(address common.Address, nonce uint64) []byte
- func ReconstructMasterSignatures(ids []uint64, sigsPartialDeposit, sigsPartialSSVContractOwnerNonce []*bls.Sign) (reconstructedDepositMasterSig, reconstructedOwnerNonceMasterSig *bls.Sign, ...)
- func RecoverValidatorPKFromResults(results []*Result) ([]byte, error)
- func RunReshare(signedReshare *SignedReshare) ([][]*Result, error)
- func RunResign(signedResign *SignedResign) ([][]*Result, error)
- func ThresholdForCluster(operators []*Operator) (uint64, error)
- func UniqueAndOrderedOperators(operators []*Operator) bool
- func ValidAmountSet(amount phase0.Gwei) bool
- func ValidThresholdSet(t uint64, operators []*Operator) bool
- func ValidateCeremonyProof(validatorPK []byte, operator *Operator, signedProof SignedProof) error
- func ValidateInitMessage(init *Init) error
- func ValidateReshareMessage(reshare *Reshare, operator *Operator, proof *SignedProof) error
- func ValidateResignMessage(resign *Resign, operator *Operator, proof *SignedProof) error
- func ValidateResult(operators []*Operator, ownerAddress [20]byte, requestID [24]byte, ...) error
- func ValidateResults(operators []*Operator, withdrawalCredentials []byte, validatorPK []byte, ...) (*bls.PublicKey, *phase0.DepositData, *bls.Sign, error)
- func VerifyCeremonyProof(pkBytes []byte, proof SignedProof) error
- func VerifyPartialDepositDataSignatures(withdrawalCredentials []byte, fork [4]byte, validatorPubKey []byte, ...) error
- func VerifyPartialNonceSignatures(ownerAddress [20]byte, nonce uint64, sigs []*bls.Sign, pks []*bls.PublicKey) error
- func VerifyPartialSignatures(withdrawalCredentials []byte, fork [4]byte, ownerAddress [20]byte, ...) error
- type Init
- func (i *Init) GetTree() (*ssz.Node, error)
- func (i *Init) HashTreeRoot() ([32]byte, error)
- func (i *Init) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (i *Init) MarshalSSZ() ([]byte, error)
- func (i *Init) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (i *Init) SizeSSZ() (size int)
- func (i *Init) UnmarshalSSZ(buf []byte) error
- type Operator
- func (o *Operator) GetTree() (*ssz.Node, error)
- func (o *Operator) HashTreeRoot() ([32]byte, error)
- func (o *Operator) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (op *Operator) Init(init *Init, requestID [24]byte, sk *rsa.PrivateKey) (*Result, error)
- func (o *Operator) MarshalSSZ() ([]byte, error)
- func (o *Operator) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (op *Operator) Reshare(signedReshare *SignedReshare, sk *rsa.PrivateKey, client eip1271.ETHClient) ([]*Result, error)
- func (op *Operator) Resign(signedResign *SignedResign, share *bls.SecretKey, sk *rsa.PrivateKey, ...) ([]*Result, error)
- func (o *Operator) SizeSSZ() (size int)
- func (o *Operator) UnmarshalSSZ(buf []byte) error
- type Proof
- func (p *Proof) GetTree() (*ssz.Node, error)
- func (p *Proof) HashTreeRoot() ([32]byte, error)
- func (p *Proof) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (p *Proof) MarshalSSZ() ([]byte, error)
- func (p *Proof) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (p *Proof) SizeSSZ() (size int)
- func (p *Proof) UnmarshalSSZ(buf []byte) error
- type Reshare
- func (r *Reshare) GetTree() (*ssz.Node, error)
- func (r *Reshare) HashTreeRoot() ([32]byte, error)
- func (r *Reshare) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (r *Reshare) MarshalSSZ() ([]byte, error)
- func (r *Reshare) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (r *Reshare) SizeSSZ() (size int)
- func (r *Reshare) UnmarshalSSZ(buf []byte) error
- type ReshareMessage
- func (r *ReshareMessage) GetTree() (*ssz.Node, error)
- func (r *ReshareMessage) HashTreeRoot() ([32]byte, error)
- func (r *ReshareMessage) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (r *ReshareMessage) MarshalSSZ() ([]byte, error)
- func (r *ReshareMessage) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (r *ReshareMessage) SizeSSZ() (size int)
- func (r *ReshareMessage) UnmarshalSSZ(buf []byte) error
- type Resign
- func (r *Resign) GetTree() (*ssz.Node, error)
- func (r *Resign) HashTreeRoot() ([32]byte, error)
- func (r *Resign) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (r *Resign) MarshalSSZ() ([]byte, error)
- func (r *Resign) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (r *Resign) SizeSSZ() (size int)
- func (r *Resign) UnmarshalSSZ(buf []byte) error
- type ResignMessage
- func (r *ResignMessage) GetTree() (*ssz.Node, error)
- func (r *ResignMessage) HashTreeRoot() ([32]byte, error)
- func (r *ResignMessage) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (r *ResignMessage) MarshalSSZ() ([]byte, error)
- func (r *ResignMessage) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (r *ResignMessage) SizeSSZ() (size int)
- func (r *ResignMessage) UnmarshalSSZ(buf []byte) error
- type Result
- func (r *Result) GetTree() (*ssz.Node, error)
- func (r *Result) HashTreeRoot() ([32]byte, error)
- func (r *Result) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (r *Result) MarshalSSZ() ([]byte, error)
- func (r *Result) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (r *Result) SizeSSZ() (size int)
- func (r *Result) UnmarshalSSZ(buf []byte) error
- type SSZMarshaller
- type SignedProof
- func (s *SignedProof) GetTree() (*ssz.Node, error)
- func (s *SignedProof) HashTreeRoot() ([32]byte, error)
- func (s *SignedProof) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (s *SignedProof) MarshalSSZ() ([]byte, error)
- func (s *SignedProof) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SignedProof) SizeSSZ() (size int)
- func (s *SignedProof) UnmarshalSSZ(buf []byte) error
- type SignedReshare
- func (s *SignedReshare) GetTree() (*ssz.Node, error)
- func (s *SignedReshare) HashTreeRoot() ([32]byte, error)
- func (s *SignedReshare) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (s *SignedReshare) MarshalSSZ() ([]byte, error)
- func (s *SignedReshare) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SignedReshare) SizeSSZ() (size int)
- func (s *SignedReshare) UnmarshalSSZ(buf []byte) error
- type SignedResign
- func (s *SignedResign) GetTree() (*ssz.Node, error)
- func (s *SignedResign) HashTreeRoot() ([32]byte, error)
- func (s *SignedResign) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (s *SignedResign) MarshalSSZ() ([]byte, error)
- func (s *SignedResign) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SignedResign) SizeSSZ() (size int)
- func (s *SignedResign) UnmarshalSSZ(buf []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualOperators ¶
EqualOperators returns true if both arrays of operators are equal
func FindOperatorPosition ¶
func GetBulkMessageHash ¶
func GetBulkMessageHash(bulkMsg []SSZMarshaller) ([32]byte, error)
func GetReqIDFromMsg ¶
func GetReqIDFromMsg(message SSZMarshaller) ([24]byte, error)
func OperatorIDByPubKey ¶
func PartialNonceRoot ¶
PartialNonceRoot returns root for singing owner nonce
func RecoverValidatorPKFromResults ¶
RecoverValidatorPKFromResults returns validator PK recovered from results
func RunReshare ¶
func RunReshare(signedReshare *SignedReshare) ([][]*Result, error)
func RunResign ¶
func RunResign(signedResign *SignedResign) ([][]*Result, error)
func ThresholdForCluster ¶
ThresholdForCluster returns the threshold for provided group, or error
func UniqueAndOrderedOperators ¶
UniqueAndOrderedOperators returns true if array of operators are unique and ordered (no duplicate IDs)
func ValidAmountSet ¶
func ValidThresholdSet ¶
ValidThresholdSet returns true if the number of operators and threshold is valid
func ValidateCeremonyProof ¶
func ValidateCeremonyProof( validatorPK []byte, operator *Operator, signedProof SignedProof, ) error
func ValidateInitMessage ¶
ValidateInitMessage returns nil if init message is valid
func ValidateReshareMessage ¶
func ValidateReshareMessage( reshare *Reshare, operator *Operator, proof *SignedProof, ) error
ValidateReshareMessage returns nil if re-share message is valid
func ValidateResignMessage ¶
func ValidateResignMessage( resign *Resign, operator *Operator, proof *SignedProof, ) error
ValidateResignMessage returns nil if re-sign message is valid
func ValidateResult ¶
func ValidateResult( operators []*Operator, ownerAddress [20]byte, requestID [24]byte, withdrawalCredentials []byte, validatorPK []byte, fork [4]byte, nonce uint64, amount phase0.Gwei, result *Result, ) error
ValidateResult returns nil if result is valid against init object
func ValidateResults ¶
func ValidateResults( operators []*Operator, withdrawalCredentials []byte, validatorPK []byte, fork [4]byte, ownerAddress [20]byte, nonce uint64, amount phase0.Gwei, requestID [24]byte, results []*Result, ) (*bls.PublicKey, *phase0.DepositData, *bls.Sign, error)
ValidateResults returns nil if results array is valid
func VerifyCeremonyProof ¶
func VerifyCeremonyProof(pkBytes []byte, proof SignedProof) error
VerifyCeremonyProof returns error if ceremony signed proof is invalid
Types ¶
type Init ¶
type Init struct { // Operators involved in the DKG Operators []*Operator `ssz-max:"13"` // T is the threshold for signing T uint64 // WithdrawalCredentials for deposit data WithdrawalCredentials []byte `ssz-max:"32"` // Fork ethereum fork for signing Fork [4]byte `ssz-size:"4"` // Owner address Owner [20]byte `ssz-size:"20"` // Owner nonce Nonce uint64 // Amount in Gwei (https://eips.ethereum.org/EIPS/eip-7251) Amount uint64 }
func (*Init) HashTreeRoot ¶
HashTreeRoot ssz hashes the Init object
func (*Init) HashTreeRootWith ¶
func (i *Init) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the Init object with a hasher
func (*Init) MarshalSSZ ¶
MarshalSSZ ssz marshals the Init object
func (*Init) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the Init object to a target array
func (*Init) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the Init object
type Operator ¶
func GetOperator ¶
GetOperator returns operator by ID or nil if not found
func OrderOperators ¶
func (*Operator) HashTreeRoot ¶
HashTreeRoot ssz hashes the Operator object
func (*Operator) HashTreeRootWith ¶
func (o *Operator) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the Operator object with a hasher
func (*Operator) Init ¶
Init is called on operator side when a new init message is received from initiator
func (*Operator) MarshalSSZ ¶
MarshalSSZ ssz marshals the Operator object
func (*Operator) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the Operator object to a target array
func (*Operator) Reshare ¶
func (op *Operator) Reshare( signedReshare *SignedReshare, sk *rsa.PrivateKey, client eip1271.ETHClient, ) ([]*Result, error)
Reshare is called when an operator receives a reshare message
func (*Operator) Resign ¶
func (op *Operator) Resign( signedResign *SignedResign, share *bls.SecretKey, sk *rsa.PrivateKey, client eip1271.ETHClient, ) ([]*Result, error)
Resign is called when an operator receives a re-sign message
func (*Operator) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the Operator object
type Proof ¶
type Proof struct { // ValidatorPubKey the resulting public key corresponding to the shared private key ValidatorPubKey []byte `ssz-size:"48"` EncryptedShare []byte `ssz-max:"512"` SharePubKey []byte `ssz-size:"48"` // Owner address Owner [20]byte `ssz-size:"20"` }
Proof for a DKG ceremony
func (*Proof) HashTreeRoot ¶
HashTreeRoot ssz hashes the Proof object
func (*Proof) HashTreeRootWith ¶
func (p *Proof) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the Proof object with a hasher
func (*Proof) MarshalSSZ ¶
MarshalSSZ ssz marshals the Proof object
func (*Proof) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the Proof object to a target array
func (*Proof) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the Proof object
type Reshare ¶
type Reshare struct { byte `ssz-size:"48"` OldOperators []*Operator `ssz-max:"13"` NewOperators []*Operator `ssz-max:"13"` OldT uint64 NewT uint64 Fork [4]byte `ssz-size:"4"` WithdrawalCredentials []byte `ssz-max:"32"` Owner [20]byte `ssz-size:"20"` Nonce uint64 Amount uint64 }ValidatorPubKey []
func (*Reshare) HashTreeRoot ¶
HashTreeRoot ssz hashes the Reshare object
func (*Reshare) HashTreeRootWith ¶
func (r *Reshare) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the Reshare object with a hasher
func (*Reshare) MarshalSSZ ¶
MarshalSSZ ssz marshals the Reshare object
func (*Reshare) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the Reshare object to a target array
func (*Reshare) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the Reshare object
type ReshareMessage ¶
type ReshareMessage struct {}
func (*ReshareMessage) GetTree ¶
func (r *ReshareMessage) GetTree() (*ssz.Node, error)
GetTree ssz hashes the ReshareMessage object
func (*ReshareMessage) HashTreeRoot ¶
func (r *ReshareMessage) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the ReshareMessage object
func (*ReshareMessage) HashTreeRootWith ¶
func (r *ReshareMessage) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the ReshareMessage object with a hasher
func (*ReshareMessage) MarshalSSZ ¶
func (r *ReshareMessage) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the ReshareMessage object
func (*ReshareMessage) MarshalSSZTo ¶
func (r *ReshareMessage) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the ReshareMessage object to a target array
func (*ReshareMessage) SizeSSZ ¶
func (r *ReshareMessage) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the ReshareMessage object
func (*ReshareMessage) UnmarshalSSZ ¶
func (r *ReshareMessage) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the ReshareMessage object
type Resign ¶
type Resign struct { // ValidatorPubKey public key corresponding to the shared private key ValidatorPubKey []byte `ssz-size:"48"` // Fork ethereum fork for signing Fork [4]byte `ssz-size:"4"` // WithdrawalCredentials for deposit data WithdrawalCredentials []byte `ssz-max:"32"` // Owner address Owner [20]byte `ssz-size:"20"` // Owner nonce Nonce uint64 // Amount in Gwei (https://eips.ethereum.org/EIPS/eip-7251) Amount uint64 }
func (*Resign) HashTreeRoot ¶
HashTreeRoot ssz hashes the Resign object
func (*Resign) HashTreeRootWith ¶
func (r *Resign) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the Resign object with a hasher
func (*Resign) MarshalSSZ ¶
MarshalSSZ ssz marshals the Resign object
func (*Resign) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the Resign object to a target array
func (*Resign) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the Resign object
type ResignMessage ¶
type ResignMessage struct { Operators []*Operator `ssz-max:"13"` Resign *Resign Proofs []*SignedProof `ssz-max:"13"` }
func (*ResignMessage) GetTree ¶
func (r *ResignMessage) GetTree() (*ssz.Node, error)
GetTree ssz hashes the ResignMessage object
func (*ResignMessage) HashTreeRoot ¶
func (r *ResignMessage) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the ResignMessage object
func (*ResignMessage) HashTreeRootWith ¶
func (r *ResignMessage) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the ResignMessage object with a hasher
func (*ResignMessage) MarshalSSZ ¶
func (r *ResignMessage) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the ResignMessage object
func (*ResignMessage) MarshalSSZTo ¶
func (r *ResignMessage) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the ResignMessage object to a target array
func (*ResignMessage) SizeSSZ ¶
func (r *ResignMessage) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the ResignMessage object
func (*ResignMessage) UnmarshalSSZ ¶
func (r *ResignMessage) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the ResignMessage object
type Result ¶
type Result struct { // Operator ID OperatorID uint64 // RequestID for the DKG instance (not used for signing) RequestID [24]byte `ssz-size:"24"` // Partial Operator Signature of Deposit data DepositPartialSignature []byte `ssz-size:"96"` // SSV owner + nonce signature OwnerNoncePartialSignature []byte `ssz-size:"96"` // Signed proof for the ceremony SignedProof SignedProof }
Result is the last message in every DKG which marks a specific node's end of process
func BuildResult ¶
func (*Result) HashTreeRoot ¶
HashTreeRoot ssz hashes the Result object
func (*Result) HashTreeRootWith ¶
func (r *Result) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the Result object with a hasher
func (*Result) MarshalSSZ ¶
MarshalSSZ ssz marshals the Result object
func (*Result) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the Result object to a target array
func (*Result) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the Result object
type SSZMarshaller ¶
type SignedProof ¶
type SignedProof struct { Proof *Proof // Signature is an RSA signature over proof Signature []byte `ssz-size:"256"` }
func (*SignedProof) GetTree ¶
func (s *SignedProof) GetTree() (*ssz.Node, error)
GetTree ssz hashes the SignedProof object
func (*SignedProof) HashTreeRoot ¶
func (s *SignedProof) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SignedProof object
func (*SignedProof) HashTreeRootWith ¶
func (s *SignedProof) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the SignedProof object with a hasher
func (*SignedProof) MarshalSSZ ¶
func (s *SignedProof) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SignedProof object
func (*SignedProof) MarshalSSZTo ¶
func (s *SignedProof) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SignedProof object to a target array
func (*SignedProof) SizeSSZ ¶
func (s *SignedProof) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SignedProof object
func (*SignedProof) UnmarshalSSZ ¶
func (s *SignedProof) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SignedProof object
type SignedReshare ¶
type SignedReshare struct { byte `ssz-max:"1536"` // 64 * 24 }Signature []
func (*SignedReshare) GetTree ¶
func (s *SignedReshare) GetTree() (*ssz.Node, error)
GetTree ssz hashes the SignedReshare object
func (*SignedReshare) HashTreeRoot ¶
func (s *SignedReshare) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SignedReshare object
func (*SignedReshare) HashTreeRootWith ¶
func (s *SignedReshare) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the SignedReshare object with a hasher
func (*SignedReshare) MarshalSSZ ¶
func (s *SignedReshare) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SignedReshare object
func (*SignedReshare) MarshalSSZTo ¶
func (s *SignedReshare) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SignedReshare object to a target array
func (*SignedReshare) SizeSSZ ¶
func (s *SignedReshare) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SignedReshare object
func (*SignedReshare) UnmarshalSSZ ¶
func (s *SignedReshare) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SignedReshare object
type SignedResign ¶
type SignedResign struct { Messages []*ResignMessage `ssz-max:"100"` // Signature is an ECDSA signature over the hash of the resign messages array Signature []byte `ssz-max:"1536"` // 64 * 24 }
func (*SignedResign) GetTree ¶
func (s *SignedResign) GetTree() (*ssz.Node, error)
GetTree ssz hashes the SignedResign object
func (*SignedResign) HashTreeRoot ¶
func (s *SignedResign) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SignedResign object
func (*SignedResign) HashTreeRootWith ¶
func (s *SignedResign) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the SignedResign object with a hasher
func (*SignedResign) MarshalSSZ ¶
func (s *SignedResign) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SignedResign object
func (*SignedResign) MarshalSSZTo ¶
func (s *SignedResign) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SignedResign object to a target array
func (*SignedResign) SizeSSZ ¶
func (s *SignedResign) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SignedResign object
func (*SignedResign) UnmarshalSSZ ¶
func (s *SignedResign) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SignedResign object