stake_batch_deposit

package
v0.0.0-...-c55355f Latest Latest
Warning

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

Go to latest
Published: Sep 18, 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 CalculateDepositDataRoot

func CalculateDepositDataRoot(amount xc.AmountBlockchain, publicKey []byte, cred []byte, sig []byte) ([]byte, error)

See here for how it's computed on EVM staking contract: https://etherscan.io/address/0x00000000219ab540356cBB839Cbe05303d7705Fa#code#L105

func NewAbi

func NewAbi() abi.ABI

func Serialize

func Serialize(chainCfg *xc.ChainConfig, publicKeys [][]byte, creds [][]byte, sigs [][]byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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