Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DepositVectorRaw ¶
type DepositVectorRaw struct {
OriginNetwork uint32 `json:"originNetwork"`
TokenAddress string `json:"tokenAddress"`
Amount string `json:"amount"`
DestinationNetwork uint32 `json:"destinationNetwork"`
DestinationAddress string `json:"destinationAddress"`
ExpectedHash string `json:"leafValue"`
CurrentHash string `json:"currentLeafValue"`
Metadata string `json:"metadata"`
}
DepositVectorRaw represents the deposit vector
func (*DepositVectorRaw) Hash ¶
func (d *DepositVectorRaw) Hash() common.Hash
type MTClaimVectorRaw ¶
type MTClaimVectorRaw struct {
Deposits []DepositVectorRaw `json:"leafs"`
Index uint32 `json:"index"`
MerkleProof []string `json:"proof"`
ExpectedRoot string `json:"root"`
}
MTClaimVectorRaw represents the merkle proof
type MTRootVectorRaw ¶
type MTRootVectorRaw struct {
ExistingLeaves []string `json:"previousLeafsValues"`
CurrentRoot string `json:"currentRoot"`
NewLeaf DepositVectorRaw `json:"newLeaf"`
NewRoot string `json:"newRoot"`
}
MTRootVectorRaw represents the root of Merkle Tree
Click to show internal directories.
Click to hide internal directories.