Documentation ¶
Index ¶
- Constants
- func CheckEvmTxLog(vLog *ethtypes.Log, wantAddress common.Address, wantHash string, ...) error
- func FilterBTCTransactions(cmd *cobra.Command, _ []string) error
- func FilterEVMTransactions(cmd *cobra.Command, _ []string) error
- func GetTssAddress(cfg *config.Config, btcChainID string) (*types.QueryGetTssAddressResponse, error)
- func NewBtcCmd() *cobra.Command
- func NewEvmCmd() *cobra.Command
- func NewFilterDepositCmd() *cobra.Command
- type Deposit
Constants ¶
View Source
const ( EvmMaxRangeFlag = "evm-max-range" EvmStartBlockFlag = "evm-start-block" )
View Source
const (
BTCChainIDFlag = "btc-chain-id"
)
Variables ¶
This section is empty.
Functions ¶
func CheckEvmTxLog ¶
func CheckEvmTxLog(vLog *ethtypes.Log, wantAddress common.Address, wantHash string, wantTopics int) error
CheckEvmTxLog is a helper function used to validate receipts, logic is taken from zetaclient.
func FilterBTCTransactions ¶
FilterBTCTransactions is a command that queries the bitcoin explorer for inbound transactions that qualify for cross chain transactions.
func FilterEVMTransactions ¶
FilterEVMTransactions is a command that queries an EVM explorer and Contracts for inbound transactions that qualify for cross chain transactions.
func GetTssAddress ¶
func NewFilterDepositCmd ¶
Types ¶
type Deposit ¶
Deposit is a data structure for keeping track of inbound transactions
func CheckForCCTX ¶
CheckForCCTX is querying zetacore for a cctx associated with a confirmed transaction hash. If the cctx is not found, then the transaction hash is added to the list of missed inbound transactions.
Click to show internal directories.
Click to hide internal directories.