Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockVectorRaw ¶
type BlockVectorRaw struct { BlockNumber uint64 `json:"blockNumber"` BlockHash string `json:"blockHash"` ParentHash string `json:"parentHash"` NetworkID uint `json:"networkID"` }
BlockVectorRaw represents the block vector
type ClaimVectorRaw ¶
type ClaimVectorRaw struct { Index uint `json:"index"` OriginalNetwork uint `json:"originNetwork"` Token string `json:"token"` Amount string `json:"amount"` DestinationNetwork uint `json:"destNetwork"` DestinationAddress string `json:"destAddress"` BlockNumber uint64 `json:"blockNumber"` }
ClaimVectorRaw represents the claim vector
type DepositVectorRaw ¶
type DepositVectorRaw struct { OriginalNetwork uint `json:"originNetwork"` TokenAddress string `json:"tokenAddress"` Amount string `json:"amount"` DestinationNetwork uint `json:"destinationNetwork"` DestinationAddress string `json:"destinationAddress"` ExpectedHash string `json:"leafValue"` CurrentHash string `json:"currentLeafValue"` Metadata string `json:"metadata"` }
DepositVectorRaw represents the deposit vector
type MTClaimVectorRaw ¶
type MTClaimVectorRaw struct { Deposits []DepositVectorRaw `json:"leafs"` Index uint `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.