stake_deposit

package
v0.0.0-...-20433b7 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const CredentialLen = 32
View Source
const PublicKeyLen = 48
View Source
const SignatureLen = 96

Variables

This section is empty.

Functions

func EventByID

func EventByID(topic common.Hash) (*abi.Event, error)

func NewAbi

func NewAbi() abi.ABI

Types

type Deposit

type Deposit struct {
	Pubkey                []byte
	WithdrawalCredentials []byte
	// amount in wei (converted from le u64 gwei)
	Amount    xc.AmountBlockchain
	Signature []byte
	Index     []byte
}

func ParseDeposit

func ParseDeposit(log types.Log) (*Deposit, error)

type DepositRaw

type DepositRaw struct {
	Pubkey                []byte
	WithdrawalCredentials []byte
	Amount                []byte
	Signature             []byte
	Index                 []byte
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL