Documentation ¶
Overview ¶
This work is licensed and released under GNU GPL v3 or any other later versions. The full text of the license is below/ found at <http://www.gnu.org/licenses/>
(c) 2023 Rocket Pool Pty Ltd. Modified under GNU GPL v3. [1.5.0]
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
This work is licensed and released under GNU GPL v3 or any other later versions. The full text of the license is below/ found at <http://www.gnu.org/licenses/>
(c) 2023 Rocket Pool Pty Ltd. Modified under GNU GPL v3. [1.5.0]
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Code generated by fastssz. DO NOT EDIT. Hash: 1a4a8518e54915bb492ddfc9d58736ddc7a3f6a375a430f370a808b609511640 Version: 0.1.2
Index ¶
- type DepositData
- func (d *DepositData) GetTree() (*ssz.Node, error)
- func (d *DepositData) HashTreeRoot() ([32]byte, error)
- func (d *DepositData) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (d *DepositData) MarshalSSZ() ([]byte, error)
- func (d *DepositData) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (d *DepositData) SizeSSZ() (size int)
- func (d *DepositData) UnmarshalSSZ(buf []byte) error
- type DepositDataNoSignature
- func (d *DepositDataNoSignature) GetTree() (*ssz.Node, error)
- func (d *DepositDataNoSignature) HashTreeRoot() ([32]byte, error)
- func (d *DepositDataNoSignature) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (d *DepositDataNoSignature) MarshalSSZ() ([]byte, error)
- func (d *DepositDataNoSignature) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (d *DepositDataNoSignature) SizeSSZ() (size int)
- func (d *DepositDataNoSignature) UnmarshalSSZ(buf []byte) error
- type SigningRoot
- func (s *SigningRoot) GetTree() (*ssz.Node, error)
- func (s *SigningRoot) HashTreeRoot() ([32]byte, error)
- func (s *SigningRoot) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (s *SigningRoot) MarshalSSZ() ([]byte, error)
- func (s *SigningRoot) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SigningRoot) SizeSSZ() (size int)
- func (s *SigningRoot) UnmarshalSSZ(buf []byte) error
- type VoluntaryExit
- func (v *VoluntaryExit) GetTree() (*ssz.Node, error)
- func (v *VoluntaryExit) HashTreeRoot() ([32]byte, error)
- func (v *VoluntaryExit) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (v *VoluntaryExit) MarshalSSZ() ([]byte, error)
- func (v *VoluntaryExit) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (v *VoluntaryExit) SizeSSZ() (size int)
- func (v *VoluntaryExit) UnmarshalSSZ(buf []byte) error
- type WithdrawalCredentialsChange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DepositData ¶
type DepositData struct { PublicKey []byte `json:"pubkey" ssz-size:"48"` WithdrawalCredentials []byte `json:"withdrawal_credentials" ssz-size:"32"` Amount uint64 `json:"amount"` Signature []byte `json:"signature" ssz-size:"96"` }
Deposit data (including signature)
func (*DepositData) GetTree ¶
func (d *DepositData) GetTree() (*ssz.Node, error)
GetTree ssz hashes the DepositData object
func (*DepositData) HashTreeRoot ¶
func (d *DepositData) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the DepositData object
func (*DepositData) HashTreeRootWith ¶
func (d *DepositData) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the DepositData object with a hasher
func (*DepositData) MarshalSSZ ¶
func (d *DepositData) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the DepositData object
func (*DepositData) MarshalSSZTo ¶
func (d *DepositData) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the DepositData object to a target array
func (*DepositData) SizeSSZ ¶
func (d *DepositData) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the DepositData object
func (*DepositData) UnmarshalSSZ ¶
func (d *DepositData) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the DepositData object
type DepositDataNoSignature ¶
type DepositDataNoSignature struct { PublicKey []byte `json:"pubkey" ssz-size:"48"` WithdrawalCredentials []byte `json:"withdrawal_credentials" ssz-size:"32"` Amount uint64 `json:"amount"` }
Deposit data (with no signature field)
func (*DepositDataNoSignature) GetTree ¶
func (d *DepositDataNoSignature) GetTree() (*ssz.Node, error)
GetTree ssz hashes the DepositDataNoSignature object
func (*DepositDataNoSignature) HashTreeRoot ¶
func (d *DepositDataNoSignature) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the DepositDataNoSignature object
func (*DepositDataNoSignature) HashTreeRootWith ¶
func (d *DepositDataNoSignature) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the DepositDataNoSignature object with a hasher
func (*DepositDataNoSignature) MarshalSSZ ¶
func (d *DepositDataNoSignature) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the DepositDataNoSignature object
func (*DepositDataNoSignature) MarshalSSZTo ¶
func (d *DepositDataNoSignature) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the DepositDataNoSignature object to a target array
func (*DepositDataNoSignature) SizeSSZ ¶
func (d *DepositDataNoSignature) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the DepositDataNoSignature object
func (*DepositDataNoSignature) UnmarshalSSZ ¶
func (d *DepositDataNoSignature) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the DepositDataNoSignature object
type SigningRoot ¶
type SigningRoot struct { ObjectRoot []byte `json:"object_root" ssz-size:"32"` Domain []byte `json:"domain" ssz-size:"32"` }
BLS signing root with domain
func (*SigningRoot) GetTree ¶
func (s *SigningRoot) GetTree() (*ssz.Node, error)
GetTree ssz hashes the SigningRoot object
func (*SigningRoot) HashTreeRoot ¶
func (s *SigningRoot) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SigningRoot object
func (*SigningRoot) HashTreeRootWith ¶
func (s *SigningRoot) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the SigningRoot object with a hasher
func (*SigningRoot) MarshalSSZ ¶
func (s *SigningRoot) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SigningRoot object
func (*SigningRoot) MarshalSSZTo ¶
func (s *SigningRoot) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SigningRoot object to a target array
func (*SigningRoot) SizeSSZ ¶
func (s *SigningRoot) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SigningRoot object
func (*SigningRoot) UnmarshalSSZ ¶
func (s *SigningRoot) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SigningRoot object
type VoluntaryExit ¶
type VoluntaryExit struct { Epoch uint64 `json:"epoch"` ValidatorIndex uint64 `json:"validator_index"` }
Voluntary exit transaction
func (*VoluntaryExit) GetTree ¶
func (v *VoluntaryExit) GetTree() (*ssz.Node, error)
GetTree ssz hashes the VoluntaryExit object
func (*VoluntaryExit) HashTreeRoot ¶
func (v *VoluntaryExit) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the VoluntaryExit object
func (*VoluntaryExit) HashTreeRootWith ¶
func (v *VoluntaryExit) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the VoluntaryExit object with a hasher
func (*VoluntaryExit) MarshalSSZ ¶
func (v *VoluntaryExit) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the VoluntaryExit object
func (*VoluntaryExit) MarshalSSZTo ¶
func (v *VoluntaryExit) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the VoluntaryExit object to a target array
func (*VoluntaryExit) SizeSSZ ¶
func (v *VoluntaryExit) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the VoluntaryExit object
func (*VoluntaryExit) UnmarshalSSZ ¶
func (v *VoluntaryExit) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the VoluntaryExit object
type WithdrawalCredentialsChange ¶
type WithdrawalCredentialsChange struct { ValidatorIndex uint64 `json:"validator_index"` FromBLSPubkey [48]byte `json:"from_bls_pubkey" ssz-size:"48"` ToExecutionAddress [20]byte `json:"to_execution_address" ssz-size:"20"` }
Withdrawal creds change message