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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.