Documentation
¶
Index ¶
- Variables
- func MockChainParams(chainID int64, confirmation uint64) observertypes.ChainParams
- func MockConnectorNonEth(t *testing.T, chainID int64) *zetaconnector.ZetaConnectorNonEth
- func MockERC20Custody(t *testing.T, chainID int64) *erc20custody.ERC20Custody
- func NewKeyring() ckeys.Keyring
- type BitcoinClient
- func (_m *BitcoinClient) CreateWallet(ctx context.Context, name string, opts ...rpcclient.CreateWalletOpt) (*btcjson.CreateWalletResult, error)
- func (_m *BitcoinClient) EstimateSmartFee(ctx context.Context, confTarget int64, mode *btcjson.EstimateSmartFeeMode) (*btcjson.EstimateSmartFeeResult, error)
- func (_m *BitcoinClient) GenerateToAddress(ctx context.Context, numBlocks int64, address btcutil.Address, maxTries *int64) ([]*chainhash.Hash, error)
- func (_m *BitcoinClient) GetBalance(ctx context.Context, account string) (btcutil.Amount, error)
- func (_m *BitcoinClient) GetBlockCount(ctx context.Context) (int64, error)
- func (_m *BitcoinClient) GetBlockHash(ctx context.Context, blockHeight int64) (*chainhash.Hash, error)
- func (_m *BitcoinClient) GetBlockHeader(ctx context.Context, hash *chainhash.Hash) (*wire.BlockHeader, error)
- func (_m *BitcoinClient) GetBlockHeightByStr(ctx context.Context, blockHash string) (int64, error)
- func (_m *BitcoinClient) GetBlockVerbose(ctx context.Context, hash *chainhash.Hash) (*btcjson.GetBlockVerboseTxResult, error)
- func (_m *BitcoinClient) GetBlockVerboseByStr(ctx context.Context, blockHash string) (*btcjson.GetBlockVerboseTxResult, error)
- func (_m *BitcoinClient) GetEstimatedFeeRate(ctx context.Context, confTarget int64) (uint64, error)
- func (_m *BitcoinClient) GetMempoolEntry(ctx context.Context, txHash string) (*btcjson.GetMempoolEntryResult, error)
- func (_m *BitcoinClient) GetMempoolTxsAndFees(ctx context.Context, childHash string) (client.MempoolTxsAndFees, error)
- func (_m *BitcoinClient) GetNetworkInfo(ctx context.Context) (*btcjson.GetNetworkInfoResult, error)
- func (_m *BitcoinClient) GetNewAddress(ctx context.Context, account string) (btcutil.Address, error)
- func (_m *BitcoinClient) GetRawMempool(ctx context.Context) ([]*chainhash.Hash, error)
- func (_m *BitcoinClient) GetRawTransaction(ctx context.Context, hash *chainhash.Hash) (*btcutil.Tx, error)
- func (_m *BitcoinClient) GetRawTransactionByStr(ctx context.Context, hash string) (*btcutil.Tx, error)
- func (_m *BitcoinClient) GetRawTransactionResult(ctx context.Context, hash *chainhash.Hash, res *btcjson.GetTransactionResult) (btcjson.TxRawResult, error)
- func (_m *BitcoinClient) GetRawTransactionVerbose(ctx context.Context, hash *chainhash.Hash) (*btcjson.TxRawResult, error)
- func (_m *BitcoinClient) GetTransaction(ctx context.Context, hash *chainhash.Hash) (*btcjson.GetTransactionResult, error)
- func (_m *BitcoinClient) GetTransactionByStr(ctx context.Context, hash string) (*chainhash.Hash, *btcjson.GetTransactionResult, error)
- func (_m *BitcoinClient) GetTransactionFeeAndRate(ctx context.Context, tx *btcjson.TxRawResult) (int64, int64, error)
- func (_m *BitcoinClient) GetTransactionInitiator(ctx context.Context, txid string) (string, error)
- func (_m *BitcoinClient) GetTransactionInputSpender(ctx context.Context, txid string, vout uint32) (string, error)
- func (_m *BitcoinClient) Healthcheck(ctx context.Context) (time.Time, error)
- func (_m *BitcoinClient) ImportAddress(ctx context.Context, address string) error
- func (_m *BitcoinClient) IsTxStuckInMempool(ctx context.Context, txHash string, maxWaitBlocks int64) (bool, time.Duration, error)
- func (_m *BitcoinClient) ListUnspent(ctx context.Context) ([]btcjson.ListUnspentResult, error)
- func (_m *BitcoinClient) ListUnspentMinMaxAddresses(ctx context.Context, minConf int, maxConf int, addresses []btcutil.Address) ([]btcjson.ListUnspentResult, error)
- func (_m *BitcoinClient) Ping(ctx context.Context) error
- func (_m *BitcoinClient) RawRequest(ctx context.Context, method string, params []json.RawMessage) (json.RawMessage, error)
- func (_m *BitcoinClient) SendRawTransaction(ctx context.Context, tx *wire.MsgTx, allowHighFees bool) (*chainhash.Hash, error)
- type CometBFTClient
- func (c *CometBFTClient) Block(_ context.Context, _ *int64) (*coretypes.ResultBlock, error)
- func (c *CometBFTClient) BroadcastTxAsync(_ context.Context, _ tmtypes.Tx) (*coretypes.ResultBroadcastTx, error)
- func (c *CometBFTClient) BroadcastTxCommit(_ context.Context, _ tmtypes.Tx) (*coretypes.ResultBroadcastTxCommit, error)
- func (c *CometBFTClient) BroadcastTxSync(_ context.Context, _ tmtypes.Tx) (*coretypes.ResultBroadcastTx, error)
- func (c *CometBFTClient) PublishToSubscribers(event coretypes.ResultEvent)
- func (c *CometBFTClient) SetBroadcastTxHash(hash string) *CometBFTClient
- func (c *CometBFTClient) SetError(err error) *CometBFTClient
- func (c *CometBFTClient) Subscribe(_ context.Context, subscriber, _ string, _ ...int) (out <-chan coretypes.ResultEvent, err error)
- func (c *CometBFTClient) Tx(_ context.Context, _ []byte, _ bool) (*coretypes.ResultTx, error)
- type EVMClient
- func (_m *EVMClient) BlockByNumberCustom(_a0 context.Context, _a1 *big.Int) (*client.Block, error)
- func (_m *EVMClient) BlockNumber(_a0 context.Context) (uint64, error)
- func (_m *EVMClient) CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)
- func (_m *EVMClient) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)
- func (_m *EVMClient) EstimateGas(ctx context.Context, call ethereum.CallMsg) (uint64, error)
- func (_m *EVMClient) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error)
- func (_m *EVMClient) HeaderByNumber(_a0 context.Context, _a1 *big.Int) (*types.Header, error)
- func (_m *EVMClient) HealthCheck(ctx context.Context) (time.Time, error)
- func (_m *EVMClient) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error)
- func (_m *EVMClient) PendingNonceAt(ctx context.Context, account common.Address) (uint64, error)
- func (_m *EVMClient) SendTransaction(_a0 context.Context, _a1 *types.Transaction) error
- func (_m *EVMClient) SubscribeFilterLogs(ctx context.Context, q ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error)
- func (_m *EVMClient) SuggestGasPrice(_a0 context.Context) (*big.Int, error)
- func (_m *EVMClient) SuggestGasTipCap(ctx context.Context) (*big.Int, error)
- func (_m *EVMClient) TransactionByHash(_a0 context.Context, _a1 common.Hash) (*types.Transaction, bool, error)
- func (_m *EVMClient) TransactionByHashCustom(_a0 context.Context, _a1 string) (*client.Transaction, error)
- func (_m *EVMClient) TransactionReceipt(_a0 context.Context, _a1 common.Hash) (*types.Receipt, error)
- func (_m *EVMClient) TransactionSender(_a0 context.Context, _a1 *types.Transaction, block common.Hash, index uint) (common.Address, error)
- type Keyring
- func (m Keyring) Backend() string
- func (m Keyring) Delete(_ string) error
- func (m Keyring) DeleteByAddress(_ sdk.Address) error
- func (m Keyring) ExportPrivKeyArmor(_, _ string) (armor string, err error)
- func (m Keyring) ExportPrivKeyArmorByAddress(_ sdk.Address, _ string) (armor string, err error)
- func (m Keyring) ExportPubKeyArmor(_ string) (string, error)
- func (m Keyring) ExportPubKeyArmorByAddress(_ sdk.Address) (string, error)
- func (m Keyring) ImportPrivKey(_, _, _ string) error
- func (m Keyring) ImportPrivKeyHex(_, _, _ string) error
- func (m Keyring) ImportPubKey(_ string, _ string) error
- func (m Keyring) Key(uid string) (*ckeys.Record, error)
- func (m Keyring) KeyByAddress(_ sdk.Address) (*ckeys.Record, error)
- func (m Keyring) List() ([]*ckeys.Record, error)
- func (m Keyring) MigrateAll() ([]*ckeys.Record, error)
- func (m Keyring) NewAccount(_, _, _, _ string, _ ckeys.SignatureAlgo) (*ckeys.Record, error)
- func (m Keyring) NewMnemonic(_ string, _ ckeys.Language, _, _ string, _ ckeys.SignatureAlgo) (*ckeys.Record, string, error)
- func (m Keyring) Rename(_ string, _ string) error
- func (m Keyring) SaveLedgerKey(_ string, _ ckeys.SignatureAlgo, _ string, _, _, _ uint32) (*ckeys.Record, error)
- func (m Keyring) SaveMultisig(_ string, _ cryptotypes.PubKey) (*ckeys.Record, error)
- func (m Keyring) SaveOfflineKey(_ string, _ cryptotypes.PubKey) (*ckeys.Record, error)
- func (m Keyring) Sign(_ string, _ []byte, _ signing.SignMode) ([]byte, cryptotypes.PubKey, error)
- func (m Keyring) SignByAddress(_ sdk.Address, _ []byte, _ signing.SignMode) ([]byte, cryptotypes.PubKey, error)
- func (m Keyring) SupportedAlgorithms() (ckeys.SigningAlgoList, ckeys.SigningAlgoList)
- type SolanaRPCClient
- func (_m *SolanaRPCClient) GetAccountInfo(ctx context.Context, account solana.PublicKey) (*rpc.GetAccountInfoResult, error)
- func (_m *SolanaRPCClient) GetAccountInfoWithOpts(ctx context.Context, account solana.PublicKey, opts *rpc.GetAccountInfoOpts) (*rpc.GetAccountInfoResult, error)
- func (_m *SolanaRPCClient) GetBalance(ctx context.Context, account solana.PublicKey, commitment rpc.CommitmentType) (*rpc.GetBalanceResult, error)
- func (_m *SolanaRPCClient) GetBlockTime(ctx context.Context, block uint64) (*solana.UnixTimeSeconds, error)
- func (_m *SolanaRPCClient) GetConfirmedTransactionWithOpts(ctx context.Context, signature solana.Signature, opts *rpc.GetTransactionOpts) (*rpc.TransactionWithMeta, error)
- func (_m *SolanaRPCClient) GetHealth(ctx context.Context) (string, error)
- func (_m *SolanaRPCClient) GetLatestBlockhash(ctx context.Context, commitment rpc.CommitmentType) (*rpc.GetLatestBlockhashResult, error)
- func (_m *SolanaRPCClient) GetRecentPrioritizationFees(ctx context.Context, accounts solana.PublicKeySlice) ([]rpc.PriorizationFeeResult, error)
- func (_m *SolanaRPCClient) GetSignaturesForAddressWithOpts(ctx context.Context, account solana.PublicKey, ...) ([]*rpc.TransactionSignature, error)
- func (_m *SolanaRPCClient) GetSlot(ctx context.Context, commitment rpc.CommitmentType) (uint64, error)
- func (_m *SolanaRPCClient) GetTransaction(ctx context.Context, txSig solana.Signature, opts *rpc.GetTransactionOpts) (*rpc.GetTransactionResult, error)
- func (_m *SolanaRPCClient) GetVersion(ctx context.Context) (*rpc.GetVersionResult, error)
- func (_m *SolanaRPCClient) SendTransactionWithOpts(ctx context.Context, transaction *solana.Transaction, opts rpc.TransactionOpts) (solana.Signature, error)
- type SuiClient
- func (_m *SuiClient) GetLatestCheckpoint(ctx context.Context) (models.CheckpointResponse, error)
- func (_m *SuiClient) GetObjectParsedData(ctx context.Context, objectID string) (models.SuiParsedData, error)
- func (_m *SuiClient) GetOwnedObjectID(ctx context.Context, ownerAddress string, structType string) (string, error)
- func (_m *SuiClient) GetSuiCoinObjectRefs(ctx context.Context, owner string, minBalanceMist uint64) ([]*sui.ObjectRef, error)
- func (_m *SuiClient) HealthCheck(ctx context.Context) (time.Time, error)
- func (_m *SuiClient) InspectTransactionBlock(ctx context.Context, req models.SuiDevInspectTransactionBlockRequest) (models.SuiTransactionBlockResponse, error)
- func (_m *SuiClient) MoveCall(ctx context.Context, req models.MoveCallRequest) (models.TxnMetaData, error)
- func (_m *SuiClient) QueryModuleEvents(ctx context.Context, q client.EventQuery) ([]models.SuiEventResponse, string, error)
- func (_m *SuiClient) SuiExecuteTransactionBlock(ctx context.Context, req models.SuiExecuteTransactionBlockRequest) (models.SuiTransactionBlockResponse, error)
- func (_m *SuiClient) SuiGetTransactionBlock(ctx context.Context, req models.SuiGetTransactionBlockRequest) (models.SuiTransactionBlockResponse, error)
- func (_m *SuiClient) SuiMultiGetObjects(ctx context.Context, req models.SuiMultiGetObjectsRequest) ([]*models.SuiObjectResponse, error)
- func (_m *SuiClient) SuiXGetLatestSuiSystemState(ctx context.Context) (models.SuiSystemStateSummary, error)
- func (_m *SuiClient) SuiXGetReferenceGasPrice(ctx context.Context) (uint64, error)
- func (_m *SuiClient) SuiXQueryEvents(ctx context.Context, req models.SuiXQueryEventsRequest) (models.PaginatedEventsResponse, error)
- type TONRPC
- func (_m *TONRPC) GetAccountState(ctx context.Context, acc ton.AccountID) (rpc.Account, error)
- func (_m *TONRPC) GetBlockHeader(ctx context.Context, blockID rpc.BlockIDExt) (rpc.BlockHeader, error)
- func (_m *TONRPC) GetConfigParam(ctx context.Context, index uint32) (*boc.Cell, error)
- func (_m *TONRPC) GetMasterchainInfo(ctx context.Context) (rpc.MasterchainInfo, error)
- func (_m *TONRPC) GetTransaction(ctx context.Context, acc ton.AccountID, lt uint64, hash ton.Bits256) (ton.Transaction, error)
- func (_m *TONRPC) GetTransactions(ctx context.Context, count uint32, accountID ton.AccountID, lt uint64, ...) ([]ton.Transaction, error)
- func (_m *TONRPC) GetTransactionsSince(ctx context.Context, acc ton.AccountID, oldestLT uint64, ...) ([]ton.Transaction, error)
- func (_m *TONRPC) HealthCheck(ctx context.Context) (time.Time, error)
- func (_m *TONRPC) SendMessage(ctx context.Context, payload []byte) (uint32, error)
- type TSS
- func (tss *TSS) FakePubKey(pk any) *TSS
- func (tss *TSS) Pause()
- func (tss *TSS) PubKey() zetatss.PubKey
- func (tss *TSS) Sign(_ context.Context, digest []byte, _, _ uint64, _ int64) ([65]byte, error)
- func (tss *TSS) SignBatch(_ context.Context, digests [][]byte, _, _ uint64, _ int64) ([][65]byte, error)
- func (tss *TSS) Unpause()
- func (tss *TSS) UpdatePrivateKey(pk *ecdsa.PrivateKey)
- type ZetacoreClient
- func (_m *ZetacoreClient) Chain() chains.Chain
- func (_m *ZetacoreClient) GetAdditionalChains(_a0 context.Context) ([]chains.Chain, error)
- func (_m *ZetacoreClient) GetBTCTSSAddress(_a0 context.Context, _a1 int64) (string, error)
- func (_m *ZetacoreClient) GetBallotByID(_a0 context.Context, _a1 string) (*types.QueryBallotByIdentifierResponse, error)
- func (_m *ZetacoreClient) GetBlockHeight(_a0 context.Context) (int64, error)
- func (_m *ZetacoreClient) GetCctxByHash(_a0 context.Context, _a1 string) (*crosschaintypes.CrossChainTx, error)
- func (_m *ZetacoreClient) GetCctxByNonce(_a0 context.Context, _a1 int64, _a2 uint64) (*crosschaintypes.CrossChainTx, error)
- func (_m *ZetacoreClient) GetChainParams(_a0 context.Context) ([]*types.ChainParams, error)
- func (_m *ZetacoreClient) GetCrosschainFlags(_a0 context.Context) (types.CrosschainFlags, error)
- func (_m *ZetacoreClient) GetForeignCoinsFromAsset(_a0 context.Context, _a1 int64, _a2 common.Address) (fungibletypes.ForeignCoins, error)
- func (_m *ZetacoreClient) GetInboundTrackersForChain(_a0 context.Context, _a1 int64) ([]crosschaintypes.InboundTracker, error)
- func (_m *ZetacoreClient) GetKeyGen(_a0 context.Context) (types.Keygen, error)
- func (_m *ZetacoreClient) GetKeys() interfaces.ObserverKeys
- func (_m *ZetacoreClient) GetObserverList(_a0 context.Context) ([]string, error)
- func (_m *ZetacoreClient) GetOperationalFlags(_a0 context.Context) (types.OperationalFlags, error)
- func (_m *ZetacoreClient) GetOutboundTracker(_a0 context.Context, _a1 int64, _a2 uint64) (*crosschaintypes.OutboundTracker, error)
- func (_m *ZetacoreClient) GetOutboundTrackers(_a0 context.Context, _a1 int64) ([]crosschaintypes.OutboundTracker, error)
- func (_m *ZetacoreClient) GetPendingNoncesByChain(_a0 context.Context, _a1 int64) (types.PendingNonces, error)
- func (_m *ZetacoreClient) GetRateLimiterFlags(_a0 context.Context) (crosschaintypes.RateLimiterFlags, error)
- func (_m *ZetacoreClient) GetRateLimiterInput(_a0 context.Context, window int64) (*crosschaintypes.QueryRateLimiterInputResponse, error)
- func (_m *ZetacoreClient) GetSupportedChains(_a0 context.Context) ([]chains.Chain, error)
- func (_m *ZetacoreClient) GetTSS(_a0 context.Context) (types.TSS, error)
- func (_m *ZetacoreClient) GetTSSHistory(_a0 context.Context) ([]types.TSS, error)
- func (_m *ZetacoreClient) GetUpgradePlan(_a0 context.Context) (*upgradetypes.Plan, error)
- func (_m *ZetacoreClient) GetZetaHotKeyBalance(_a0 context.Context) (math.Int, error)
- func (_m *ZetacoreClient) ListPendingCCTX(_a0 context.Context, _a1 chains.Chain) ([]*crosschaintypes.CrossChainTx, uint64, error)
- func (_m *ZetacoreClient) ListPendingCCTXWithinRateLimit(_a0 context.Context) (*crosschaintypes.QueryListPendingCctxWithinRateLimitResponse, error)
- func (_m *ZetacoreClient) MockGetBallotByID(ballotIndex string, err error) *ZetacoreClient
- func (_m *ZetacoreClient) MockGetCctxByHash(err error) *ZetacoreClient
- func (_m *ZetacoreClient) NewBlockSubscriber(_a0 context.Context) (chan cometbfttypes.EventDataNewBlock, error)
- func (_m *ZetacoreClient) PostOutboundTracker(_a0 context.Context, _a1 int64, _a2 uint64, txHash string) (string, error)
- func (_m *ZetacoreClient) PostVoteBlameData(_a0 context.Context, _a1 *blame.Blame, _a2 int64, index string) (string, error)
- func (_m *ZetacoreClient) PostVoteGasPrice(_a0 context.Context, _a1 chains.Chain, gasPrice uint64, priorityFee uint64, ...) (string, error)
- func (_m *ZetacoreClient) PostVoteInbound(_a0 context.Context, gasLimit uint64, retryGasLimit uint64, ...) (string, string, error)
- func (_m *ZetacoreClient) PostVoteOutbound(_a0 context.Context, gasLimit uint64, retryGasLimit uint64, ...) (string, string, error)
- func (_m *ZetacoreClient) PostVoteTSS(_a0 context.Context, tssPubKey string, keyGenZetaHeight int64, ...) (string, error)
- func (_m *ZetacoreClient) WithKeys(keys keyinterfaces.ObserverKeys) *ZetacoreClient
- func (_m *ZetacoreClient) WithPendingCctx(chainID int64, cctxs []*crosschaintypes.CrossChainTx) *ZetacoreClient
- func (_m *ZetacoreClient) WithPostOutboundTracker(zetaTxHash string) *ZetacoreClient
- func (_m *ZetacoreClient) WithPostVoteInbound(zetaTxHash string, ballotIndex string) *ZetacoreClient
- func (_m *ZetacoreClient) WithPostVoteOutbound(zetaTxHash string, ballotIndex string) *ZetacoreClient
- func (_m *ZetacoreClient) WithRateLimiterFlags(flags *crosschaintypes.RateLimiterFlags) *ZetacoreClient
- func (_m *ZetacoreClient) WithRateLimiterInput(in *crosschaintypes.QueryRateLimiterInputResponse) *ZetacoreClient
- func (_m *ZetacoreClient) WithZetaChain() *ZetacoreClient
Constants ¶
This section is empty.
Variables ¶
var TestKeyringPair cryptotypes.PrivKey
Functions ¶
func MockChainParams ¶
func MockChainParams(chainID int64, confirmation uint64) observertypes.ChainParams
func MockConnectorNonEth ¶
func MockERC20Custody ¶
func NewKeyring ¶
Types ¶
type BitcoinClient ¶
BitcoinClient is an autogenerated mock type for the client type
func NewBitcoinClient ¶
func NewBitcoinClient(t interface { mock.TestingT Cleanup(func()) }) *BitcoinClient
NewBitcoinClient creates a new instance of BitcoinClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*BitcoinClient) CreateWallet ¶
func (_m *BitcoinClient) CreateWallet(ctx context.Context, name string, opts ...rpcclient.CreateWalletOpt) (*btcjson.CreateWalletResult, error)
CreateWallet provides a mock function with given fields: ctx, name, opts
func (*BitcoinClient) EstimateSmartFee ¶
func (_m *BitcoinClient) EstimateSmartFee(ctx context.Context, confTarget int64, mode *btcjson.EstimateSmartFeeMode) (*btcjson.EstimateSmartFeeResult, error)
EstimateSmartFee provides a mock function with given fields: ctx, confTarget, mode
func (*BitcoinClient) GenerateToAddress ¶
func (_m *BitcoinClient) GenerateToAddress(ctx context.Context, numBlocks int64, address btcutil.Address, maxTries *int64) ([]*chainhash.Hash, error)
GenerateToAddress provides a mock function with given fields: ctx, numBlocks, address, maxTries
func (*BitcoinClient) GetBalance ¶
GetBalance provides a mock function with given fields: ctx, account
func (*BitcoinClient) GetBlockCount ¶
func (_m *BitcoinClient) GetBlockCount(ctx context.Context) (int64, error)
GetBlockCount provides a mock function with given fields: ctx
func (*BitcoinClient) GetBlockHash ¶
func (_m *BitcoinClient) GetBlockHash(ctx context.Context, blockHeight int64) (*chainhash.Hash, error)
GetBlockHash provides a mock function with given fields: ctx, blockHeight
func (*BitcoinClient) GetBlockHeader ¶
func (_m *BitcoinClient) GetBlockHeader(ctx context.Context, hash *chainhash.Hash) (*wire.BlockHeader, error)
GetBlockHeader provides a mock function with given fields: ctx, hash
func (*BitcoinClient) GetBlockHeightByStr ¶
GetBlockHeightByStr provides a mock function with given fields: ctx, blockHash
func (*BitcoinClient) GetBlockVerbose ¶
func (_m *BitcoinClient) GetBlockVerbose(ctx context.Context, hash *chainhash.Hash) (*btcjson.GetBlockVerboseTxResult, error)
GetBlockVerbose provides a mock function with given fields: ctx, hash
func (*BitcoinClient) GetBlockVerboseByStr ¶
func (_m *BitcoinClient) GetBlockVerboseByStr(ctx context.Context, blockHash string) (*btcjson.GetBlockVerboseTxResult, error)
GetBlockVerboseByStr provides a mock function with given fields: ctx, blockHash
func (*BitcoinClient) GetEstimatedFeeRate ¶
GetEstimatedFeeRate provides a mock function with given fields: ctx, confTarget
func (*BitcoinClient) GetMempoolEntry ¶
func (_m *BitcoinClient) GetMempoolEntry(ctx context.Context, txHash string) (*btcjson.GetMempoolEntryResult, error)
GetMempoolEntry provides a mock function with given fields: ctx, txHash
func (*BitcoinClient) GetMempoolTxsAndFees ¶
func (_m *BitcoinClient) GetMempoolTxsAndFees(ctx context.Context, childHash string) (client.MempoolTxsAndFees, error)
GetMempoolTxsAndFees provides a mock function with given fields: ctx, childHash
func (*BitcoinClient) GetNetworkInfo ¶
func (_m *BitcoinClient) GetNetworkInfo(ctx context.Context) (*btcjson.GetNetworkInfoResult, error)
GetNetworkInfo provides a mock function with given fields: ctx
func (*BitcoinClient) GetNewAddress ¶
func (_m *BitcoinClient) GetNewAddress(ctx context.Context, account string) (btcutil.Address, error)
GetNewAddress provides a mock function with given fields: ctx, account
func (*BitcoinClient) GetRawMempool ¶
GetRawMempool provides a mock function with given fields: ctx
func (*BitcoinClient) GetRawTransaction ¶
func (_m *BitcoinClient) GetRawTransaction(ctx context.Context, hash *chainhash.Hash) (*btcutil.Tx, error)
GetRawTransaction provides a mock function with given fields: ctx, hash
func (*BitcoinClient) GetRawTransactionByStr ¶
func (_m *BitcoinClient) GetRawTransactionByStr(ctx context.Context, hash string) (*btcutil.Tx, error)
GetRawTransactionByStr provides a mock function with given fields: ctx, hash
func (*BitcoinClient) GetRawTransactionResult ¶
func (_m *BitcoinClient) GetRawTransactionResult(ctx context.Context, hash *chainhash.Hash, res *btcjson.GetTransactionResult) (btcjson.TxRawResult, error)
GetRawTransactionResult provides a mock function with given fields: ctx, hash, res
func (*BitcoinClient) GetRawTransactionVerbose ¶
func (_m *BitcoinClient) GetRawTransactionVerbose(ctx context.Context, hash *chainhash.Hash) (*btcjson.TxRawResult, error)
GetRawTransactionVerbose provides a mock function with given fields: ctx, hash
func (*BitcoinClient) GetTransaction ¶
func (_m *BitcoinClient) GetTransaction(ctx context.Context, hash *chainhash.Hash) (*btcjson.GetTransactionResult, error)
GetTransaction provides a mock function with given fields: ctx, hash
func (*BitcoinClient) GetTransactionByStr ¶
func (_m *BitcoinClient) GetTransactionByStr(ctx context.Context, hash string) (*chainhash.Hash, *btcjson.GetTransactionResult, error)
GetTransactionByStr provides a mock function with given fields: ctx, hash
func (*BitcoinClient) GetTransactionFeeAndRate ¶
func (_m *BitcoinClient) GetTransactionFeeAndRate(ctx context.Context, tx *btcjson.TxRawResult) (int64, int64, error)
GetTransactionFeeAndRate provides a mock function with given fields: ctx, tx
func (*BitcoinClient) GetTransactionInitiator ¶
GetTransactionInitiator provides a mock function with given fields: ctx, txid
func (*BitcoinClient) GetTransactionInputSpender ¶
func (_m *BitcoinClient) GetTransactionInputSpender(ctx context.Context, txid string, vout uint32) (string, error)
GetTransactionInputSpender provides a mock function with given fields: ctx, txid, vout
func (*BitcoinClient) Healthcheck ¶
Healthcheck provides a mock function with given fields: ctx
func (*BitcoinClient) ImportAddress ¶
func (_m *BitcoinClient) ImportAddress(ctx context.Context, address string) error
ImportAddress provides a mock function with given fields: ctx, address
func (*BitcoinClient) IsTxStuckInMempool ¶
func (_m *BitcoinClient) IsTxStuckInMempool(ctx context.Context, txHash string, maxWaitBlocks int64) (bool, time.Duration, error)
IsTxStuckInMempool provides a mock function with given fields: ctx, txHash, maxWaitBlocks
func (*BitcoinClient) ListUnspent ¶
func (_m *BitcoinClient) ListUnspent(ctx context.Context) ([]btcjson.ListUnspentResult, error)
ListUnspent provides a mock function with given fields: ctx
func (*BitcoinClient) ListUnspentMinMaxAddresses ¶
func (_m *BitcoinClient) ListUnspentMinMaxAddresses(ctx context.Context, minConf int, maxConf int, addresses []btcutil.Address) ([]btcjson.ListUnspentResult, error)
ListUnspentMinMaxAddresses provides a mock function with given fields: ctx, minConf, maxConf, addresses
func (*BitcoinClient) Ping ¶
func (_m *BitcoinClient) Ping(ctx context.Context) error
Ping provides a mock function with given fields: ctx
func (*BitcoinClient) RawRequest ¶
func (_m *BitcoinClient) RawRequest(ctx context.Context, method string, params []json.RawMessage) (json.RawMessage, error)
RawRequest provides a mock function with given fields: ctx, method, params
type CometBFTClient ¶
func NewSDKClientWithErr ¶
func NewSDKClientWithErr(t *testing.T, err error, code uint32) *CometBFTClient
func (*CometBFTClient) Block ¶
func (c *CometBFTClient) Block(_ context.Context, _ *int64) (*coretypes.ResultBlock, error)
func (*CometBFTClient) BroadcastTxAsync ¶
func (c *CometBFTClient) BroadcastTxAsync(_ context.Context, _ tmtypes.Tx) (*coretypes.ResultBroadcastTx, error)
func (*CometBFTClient) BroadcastTxCommit ¶
func (c *CometBFTClient) BroadcastTxCommit( _ context.Context, _ tmtypes.Tx, ) (*coretypes.ResultBroadcastTxCommit, error)
func (*CometBFTClient) BroadcastTxSync ¶
func (c *CometBFTClient) BroadcastTxSync(_ context.Context, _ tmtypes.Tx) (*coretypes.ResultBroadcastTx, error)
func (*CometBFTClient) PublishToSubscribers ¶
func (c *CometBFTClient) PublishToSubscribers(event coretypes.ResultEvent)
PublishToSubscribers will publish an event to all subscribers (mock only)
func (*CometBFTClient) SetBroadcastTxHash ¶
func (c *CometBFTClient) SetBroadcastTxHash(hash string) *CometBFTClient
func (*CometBFTClient) SetError ¶
func (c *CometBFTClient) SetError(err error) *CometBFTClient
func (*CometBFTClient) Subscribe ¶
func (c *CometBFTClient) Subscribe( _ context.Context, subscriber, _ string, _ ...int, ) (out <-chan coretypes.ResultEvent, err error)
type EVMClient ¶
EVMClient is an autogenerated mock type for the EVMClient type
func NewEVMClient ¶
NewEVMClient creates a new instance of EVMClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EVMClient) BlockByNumberCustom ¶
BlockByNumberCustom provides a mock function with given fields: _a0, _a1
func (*EVMClient) BlockNumber ¶
BlockNumber provides a mock function with given fields: _a0
func (*EVMClient) CallContract ¶
func (_m *EVMClient) CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)
CallContract provides a mock function with given fields: ctx, call, blockNumber
func (*EVMClient) CodeAt ¶
func (_m *EVMClient) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)
CodeAt provides a mock function with given fields: ctx, contract, blockNumber
func (*EVMClient) EstimateGas ¶
EstimateGas provides a mock function with given fields: ctx, call
func (*EVMClient) FilterLogs ¶
FilterLogs provides a mock function with given fields: ctx, q
func (*EVMClient) HeaderByNumber ¶
HeaderByNumber provides a mock function with given fields: _a0, _a1
func (*EVMClient) HealthCheck ¶
HealthCheck provides a mock function with given fields: ctx
func (*EVMClient) PendingCodeAt ¶
PendingCodeAt provides a mock function with given fields: ctx, account
func (*EVMClient) PendingNonceAt ¶
PendingNonceAt provides a mock function with given fields: ctx, account
func (*EVMClient) SendTransaction ¶
SendTransaction provides a mock function with given fields: _a0, _a1
func (*EVMClient) SubscribeFilterLogs ¶
func (_m *EVMClient) SubscribeFilterLogs(ctx context.Context, q ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error)
SubscribeFilterLogs provides a mock function with given fields: ctx, q, ch
func (*EVMClient) SuggestGasPrice ¶
SuggestGasPrice provides a mock function with given fields: _a0
func (*EVMClient) SuggestGasTipCap ¶
SuggestGasTipCap provides a mock function with given fields: ctx
func (*EVMClient) TransactionByHash ¶
func (_m *EVMClient) TransactionByHash(_a0 context.Context, _a1 common.Hash) (*types.Transaction, bool, error)
TransactionByHash provides a mock function with given fields: _a0, _a1
func (*EVMClient) TransactionByHashCustom ¶
func (_m *EVMClient) TransactionByHashCustom(_a0 context.Context, _a1 string) (*client.Transaction, error)
TransactionByHashCustom provides a mock function with given fields: _a0, _a1
type Keyring ¶
type Keyring struct { }
func (Keyring) ExportPrivKeyArmor ¶
func (Keyring) ExportPrivKeyArmorByAddress ¶
func (Keyring) ExportPubKeyArmorByAddress ¶
func (Keyring) ImportPrivKey ¶
func (Keyring) ImportPrivKeyHex ¶
func (Keyring) NewAccount ¶
func (Keyring) NewMnemonic ¶
func (Keyring) SaveLedgerKey ¶
func (Keyring) SaveMultisig ¶
func (Keyring) SaveOfflineKey ¶
func (Keyring) SignByAddress ¶
func (Keyring) SupportedAlgorithms ¶
func (m Keyring) SupportedAlgorithms() (ckeys.SigningAlgoList, ckeys.SigningAlgoList)
type SolanaRPCClient ¶
SolanaRPCClient is an autogenerated mock type for the SolanaRPCClient type
func NewSolanaRPCClient ¶
func NewSolanaRPCClient(t interface { mock.TestingT Cleanup(func()) }) *SolanaRPCClient
NewSolanaRPCClient creates a new instance of SolanaRPCClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SolanaRPCClient) GetAccountInfo ¶
func (_m *SolanaRPCClient) GetAccountInfo(ctx context.Context, account solana.PublicKey) (*rpc.GetAccountInfoResult, error)
GetAccountInfo provides a mock function with given fields: ctx, account
func (*SolanaRPCClient) GetAccountInfoWithOpts ¶
func (_m *SolanaRPCClient) GetAccountInfoWithOpts(ctx context.Context, account solana.PublicKey, opts *rpc.GetAccountInfoOpts) (*rpc.GetAccountInfoResult, error)
GetAccountInfoWithOpts provides a mock function with given fields: ctx, account, opts
func (*SolanaRPCClient) GetBalance ¶
func (_m *SolanaRPCClient) GetBalance(ctx context.Context, account solana.PublicKey, commitment rpc.CommitmentType) (*rpc.GetBalanceResult, error)
GetBalance provides a mock function with given fields: ctx, account, commitment
func (*SolanaRPCClient) GetBlockTime ¶
func (_m *SolanaRPCClient) GetBlockTime(ctx context.Context, block uint64) (*solana.UnixTimeSeconds, error)
GetBlockTime provides a mock function with given fields: ctx, block
func (*SolanaRPCClient) GetConfirmedTransactionWithOpts ¶
func (_m *SolanaRPCClient) GetConfirmedTransactionWithOpts(ctx context.Context, signature solana.Signature, opts *rpc.GetTransactionOpts) (*rpc.TransactionWithMeta, error)
GetConfirmedTransactionWithOpts provides a mock function with given fields: ctx, signature, opts
func (*SolanaRPCClient) GetHealth ¶
func (_m *SolanaRPCClient) GetHealth(ctx context.Context) (string, error)
GetHealth provides a mock function with given fields: ctx
func (*SolanaRPCClient) GetLatestBlockhash ¶
func (_m *SolanaRPCClient) GetLatestBlockhash(ctx context.Context, commitment rpc.CommitmentType) (*rpc.GetLatestBlockhashResult, error)
GetLatestBlockhash provides a mock function with given fields: ctx, commitment
func (*SolanaRPCClient) GetRecentPrioritizationFees ¶
func (_m *SolanaRPCClient) GetRecentPrioritizationFees(ctx context.Context, accounts solana.PublicKeySlice) ([]rpc.PriorizationFeeResult, error)
GetRecentPrioritizationFees provides a mock function with given fields: ctx, accounts
func (*SolanaRPCClient) GetSignaturesForAddressWithOpts ¶
func (_m *SolanaRPCClient) GetSignaturesForAddressWithOpts(ctx context.Context, account solana.PublicKey, opts *rpc.GetSignaturesForAddressOpts) ([]*rpc.TransactionSignature, error)
GetSignaturesForAddressWithOpts provides a mock function with given fields: ctx, account, opts
func (*SolanaRPCClient) GetSlot ¶
func (_m *SolanaRPCClient) GetSlot(ctx context.Context, commitment rpc.CommitmentType) (uint64, error)
GetSlot provides a mock function with given fields: ctx, commitment
func (*SolanaRPCClient) GetTransaction ¶
func (_m *SolanaRPCClient) GetTransaction(ctx context.Context, txSig solana.Signature, opts *rpc.GetTransactionOpts) (*rpc.GetTransactionResult, error)
GetTransaction provides a mock function with given fields: ctx, txSig, opts
func (*SolanaRPCClient) GetVersion ¶
func (_m *SolanaRPCClient) GetVersion(ctx context.Context) (*rpc.GetVersionResult, error)
GetVersion provides a mock function with given fields: ctx
func (*SolanaRPCClient) SendTransactionWithOpts ¶
func (_m *SolanaRPCClient) SendTransactionWithOpts(ctx context.Context, transaction *solana.Transaction, opts rpc.TransactionOpts) (solana.Signature, error)
SendTransactionWithOpts provides a mock function with given fields: ctx, transaction, opts
type SuiClient ¶
SuiClient is an autogenerated mock type for the suiClient type
func NewSuiClient ¶
NewSuiClient creates a new instance of SuiClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SuiClient) GetLatestCheckpoint ¶
GetLatestCheckpoint provides a mock function with given fields: ctx
func (*SuiClient) GetObjectParsedData ¶
func (_m *SuiClient) GetObjectParsedData(ctx context.Context, objectID string) (models.SuiParsedData, error)
GetObjectParsedData provides a mock function with given fields: ctx, objectID
func (*SuiClient) GetOwnedObjectID ¶
func (_m *SuiClient) GetOwnedObjectID(ctx context.Context, ownerAddress string, structType string) (string, error)
GetOwnedObjectID provides a mock function with given fields: ctx, ownerAddress, structType
func (*SuiClient) GetSuiCoinObjectRefs ¶
func (_m *SuiClient) GetSuiCoinObjectRefs(ctx context.Context, owner string, minBalanceMist uint64) ([]*sui.ObjectRef, error)
GetSuiCoinObjectRefs provides a mock function with given fields: ctx, owner, minBalanceMist
func (*SuiClient) HealthCheck ¶
HealthCheck provides a mock function with given fields: ctx
func (*SuiClient) InspectTransactionBlock ¶
func (_m *SuiClient) InspectTransactionBlock(ctx context.Context, req models.SuiDevInspectTransactionBlockRequest) (models.SuiTransactionBlockResponse, error)
InspectTransactionBlock provides a mock function with given fields: ctx, req
func (*SuiClient) MoveCall ¶
func (_m *SuiClient) MoveCall(ctx context.Context, req models.MoveCallRequest) (models.TxnMetaData, error)
MoveCall provides a mock function with given fields: ctx, req
func (*SuiClient) QueryModuleEvents ¶
func (_m *SuiClient) QueryModuleEvents(ctx context.Context, q client.EventQuery) ([]models.SuiEventResponse, string, error)
QueryModuleEvents provides a mock function with given fields: ctx, q
func (*SuiClient) SuiExecuteTransactionBlock ¶
func (_m *SuiClient) SuiExecuteTransactionBlock(ctx context.Context, req models.SuiExecuteTransactionBlockRequest) (models.SuiTransactionBlockResponse, error)
SuiExecuteTransactionBlock provides a mock function with given fields: ctx, req
func (*SuiClient) SuiGetTransactionBlock ¶
func (_m *SuiClient) SuiGetTransactionBlock(ctx context.Context, req models.SuiGetTransactionBlockRequest) (models.SuiTransactionBlockResponse, error)
SuiGetTransactionBlock provides a mock function with given fields: ctx, req
func (*SuiClient) SuiMultiGetObjects ¶
func (_m *SuiClient) SuiMultiGetObjects(ctx context.Context, req models.SuiMultiGetObjectsRequest) ([]*models.SuiObjectResponse, error)
SuiMultiGetObjects provides a mock function with given fields: ctx, req
func (*SuiClient) SuiXGetLatestSuiSystemState ¶
func (_m *SuiClient) SuiXGetLatestSuiSystemState(ctx context.Context) (models.SuiSystemStateSummary, error)
SuiXGetLatestSuiSystemState provides a mock function with given fields: ctx
func (*SuiClient) SuiXGetReferenceGasPrice ¶
SuiXGetReferenceGasPrice provides a mock function with given fields: ctx
func (*SuiClient) SuiXQueryEvents ¶
func (_m *SuiClient) SuiXQueryEvents(ctx context.Context, req models.SuiXQueryEventsRequest) (models.PaginatedEventsResponse, error)
SuiXQueryEvents provides a mock function with given fields: ctx, req
type TONRPC ¶
TONRPC is an autogenerated mock type for the tonRPC type
func NewTONRPC ¶
NewTONRPC creates a new instance of TONRPC. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TONRPC) GetAccountState ¶
GetAccountState provides a mock function with given fields: ctx, acc
func (*TONRPC) GetBlockHeader ¶
func (_m *TONRPC) GetBlockHeader(ctx context.Context, blockID rpc.BlockIDExt) (rpc.BlockHeader, error)
GetBlockHeader provides a mock function with given fields: ctx, blockID
func (*TONRPC) GetConfigParam ¶
GetConfigParam provides a mock function with given fields: ctx, index
func (*TONRPC) GetMasterchainInfo ¶
GetMasterchainInfo provides a mock function with given fields: ctx
func (*TONRPC) GetTransaction ¶
func (_m *TONRPC) GetTransaction(ctx context.Context, acc ton.AccountID, lt uint64, hash ton.Bits256) (ton.Transaction, error)
GetTransaction provides a mock function with given fields: ctx, acc, lt, hash
func (*TONRPC) GetTransactions ¶
func (_m *TONRPC) GetTransactions(ctx context.Context, count uint32, accountID ton.AccountID, lt uint64, hash ton.Bits256) ([]ton.Transaction, error)
GetTransactions provides a mock function with given fields: ctx, count, accountID, lt, hash
func (*TONRPC) GetTransactionsSince ¶
func (_m *TONRPC) GetTransactionsSince(ctx context.Context, acc ton.AccountID, oldestLT uint64, oldestHash ton.Bits256) ([]ton.Transaction, error)
GetTransactionsSince provides a mock function with given fields: ctx, acc, oldestLT, oldestHash
func (*TONRPC) HealthCheck ¶
HealthCheck provides a mock function with given fields: ctx
type TSS ¶
type TSS struct {
// contains filtered or unexported fields
}
func NewTSSFromPrivateKey ¶
func NewTSSFromPrivateKey(t test, pk *ecdsa.PrivateKey) *TSS
func (*TSS) FakePubKey ¶
func (*TSS) UpdatePrivateKey ¶
func (tss *TSS) UpdatePrivateKey(pk *ecdsa.PrivateKey)
type ZetacoreClient ¶
ZetacoreClient is an autogenerated mock type for the ZetacoreClient type
func NewZetacoreClient ¶
func NewZetacoreClient(t interface { mock.TestingT Cleanup(func()) }) *ZetacoreClient
NewZetacoreClient creates a new instance of ZetacoreClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ZetacoreClient) Chain ¶
func (_m *ZetacoreClient) Chain() chains.Chain
Chain provides a mock function with no fields
func (*ZetacoreClient) GetAdditionalChains ¶
GetAdditionalChains provides a mock function with given fields: _a0
func (*ZetacoreClient) GetBTCTSSAddress ¶
GetBTCTSSAddress provides a mock function with given fields: _a0, _a1
func (*ZetacoreClient) GetBallotByID ¶
func (_m *ZetacoreClient) GetBallotByID(_a0 context.Context, _a1 string) (*types.QueryBallotByIdentifierResponse, error)
GetBallotByID provides a mock function with given fields: _a0, _a1
func (*ZetacoreClient) GetBlockHeight ¶
func (_m *ZetacoreClient) GetBlockHeight(_a0 context.Context) (int64, error)
GetBlockHeight provides a mock function with given fields: _a0
func (*ZetacoreClient) GetCctxByHash ¶
func (_m *ZetacoreClient) GetCctxByHash(_a0 context.Context, _a1 string) (*crosschaintypes.CrossChainTx, error)
GetCctxByHash provides a mock function with given fields: _a0, _a1
func (*ZetacoreClient) GetCctxByNonce ¶
func (_m *ZetacoreClient) GetCctxByNonce(_a0 context.Context, _a1 int64, _a2 uint64) (*crosschaintypes.CrossChainTx, error)
GetCctxByNonce provides a mock function with given fields: _a0, _a1, _a2
func (*ZetacoreClient) GetChainParams ¶
func (_m *ZetacoreClient) GetChainParams(_a0 context.Context) ([]*types.ChainParams, error)
GetChainParams provides a mock function with given fields: _a0
func (*ZetacoreClient) GetCrosschainFlags ¶
func (_m *ZetacoreClient) GetCrosschainFlags(_a0 context.Context) (types.CrosschainFlags, error)
GetCrosschainFlags provides a mock function with given fields: _a0
func (*ZetacoreClient) GetForeignCoinsFromAsset ¶
func (_m *ZetacoreClient) GetForeignCoinsFromAsset(_a0 context.Context, _a1 int64, _a2 common.Address) (fungibletypes.ForeignCoins, error)
GetForeignCoinsFromAsset provides a mock function with given fields: _a0, _a1, _a2
func (*ZetacoreClient) GetInboundTrackersForChain ¶
func (_m *ZetacoreClient) GetInboundTrackersForChain(_a0 context.Context, _a1 int64) ([]crosschaintypes.InboundTracker, error)
GetInboundTrackersForChain provides a mock function with given fields: _a0, _a1
func (*ZetacoreClient) GetKeys ¶
func (_m *ZetacoreClient) GetKeys() interfaces.ObserverKeys
GetKeys provides a mock function with no fields
func (*ZetacoreClient) GetObserverList ¶
func (_m *ZetacoreClient) GetObserverList(_a0 context.Context) ([]string, error)
GetObserverList provides a mock function with given fields: _a0
func (*ZetacoreClient) GetOperationalFlags ¶
func (_m *ZetacoreClient) GetOperationalFlags(_a0 context.Context) (types.OperationalFlags, error)
GetOperationalFlags provides a mock function with given fields: _a0
func (*ZetacoreClient) GetOutboundTracker ¶
func (_m *ZetacoreClient) GetOutboundTracker(_a0 context.Context, _a1 int64, _a2 uint64) (*crosschaintypes.OutboundTracker, error)
GetOutboundTracker provides a mock function with given fields: _a0, _a1, _a2
func (*ZetacoreClient) GetOutboundTrackers ¶
func (_m *ZetacoreClient) GetOutboundTrackers(_a0 context.Context, _a1 int64) ([]crosschaintypes.OutboundTracker, error)
GetOutboundTrackers provides a mock function with given fields: _a0, _a1
func (*ZetacoreClient) GetPendingNoncesByChain ¶
func (_m *ZetacoreClient) GetPendingNoncesByChain(_a0 context.Context, _a1 int64) (types.PendingNonces, error)
GetPendingNoncesByChain provides a mock function with given fields: _a0, _a1
func (*ZetacoreClient) GetRateLimiterFlags ¶
func (_m *ZetacoreClient) GetRateLimiterFlags(_a0 context.Context) (crosschaintypes.RateLimiterFlags, error)
GetRateLimiterFlags provides a mock function with given fields: _a0
func (*ZetacoreClient) GetRateLimiterInput ¶
func (_m *ZetacoreClient) GetRateLimiterInput(_a0 context.Context, window int64) (*crosschaintypes.QueryRateLimiterInputResponse, error)
GetRateLimiterInput provides a mock function with given fields: _a0, window
func (*ZetacoreClient) GetSupportedChains ¶
GetSupportedChains provides a mock function with given fields: _a0
func (*ZetacoreClient) GetTSSHistory ¶
GetTSSHistory provides a mock function with given fields: _a0
func (*ZetacoreClient) GetUpgradePlan ¶
func (_m *ZetacoreClient) GetUpgradePlan(_a0 context.Context) (*upgradetypes.Plan, error)
GetUpgradePlan provides a mock function with given fields: _a0
func (*ZetacoreClient) GetZetaHotKeyBalance ¶
GetZetaHotKeyBalance provides a mock function with given fields: _a0
func (*ZetacoreClient) ListPendingCCTX ¶
func (_m *ZetacoreClient) ListPendingCCTX(_a0 context.Context, _a1 chains.Chain) ([]*crosschaintypes.CrossChainTx, uint64, error)
ListPendingCCTX provides a mock function with given fields: _a0, _a1
func (*ZetacoreClient) ListPendingCCTXWithinRateLimit ¶
func (_m *ZetacoreClient) ListPendingCCTXWithinRateLimit(_a0 context.Context) (*crosschaintypes.QueryListPendingCctxWithinRateLimitResponse, error)
ListPendingCCTXWithinRateLimit provides a mock function with given fields: _a0
func (*ZetacoreClient) MockGetBallotByID ¶
func (_m *ZetacoreClient) MockGetBallotByID(ballotIndex string, err error) *ZetacoreClient
func (*ZetacoreClient) MockGetCctxByHash ¶
func (_m *ZetacoreClient) MockGetCctxByHash(err error) *ZetacoreClient
func (*ZetacoreClient) NewBlockSubscriber ¶
func (_m *ZetacoreClient) NewBlockSubscriber(_a0 context.Context) (chan cometbfttypes.EventDataNewBlock, error)
NewBlockSubscriber provides a mock function with given fields: _a0
func (*ZetacoreClient) PostOutboundTracker ¶
func (_m *ZetacoreClient) PostOutboundTracker(_a0 context.Context, _a1 int64, _a2 uint64, txHash string) (string, error)
PostOutboundTracker provides a mock function with given fields: _a0, _a1, _a2, txHash
func (*ZetacoreClient) PostVoteBlameData ¶
func (_m *ZetacoreClient) PostVoteBlameData(_a0 context.Context, _a1 *blame.Blame, _a2 int64, index string) (string, error)
PostVoteBlameData provides a mock function with given fields: _a0, _a1, _a2, index
func (*ZetacoreClient) PostVoteGasPrice ¶
func (_m *ZetacoreClient) PostVoteGasPrice(_a0 context.Context, _a1 chains.Chain, gasPrice uint64, priorityFee uint64, blockNum uint64) (string, error)
PostVoteGasPrice provides a mock function with given fields: _a0, _a1, gasPrice, priorityFee, blockNum
func (*ZetacoreClient) PostVoteInbound ¶
func (_m *ZetacoreClient) PostVoteInbound(_a0 context.Context, gasLimit uint64, retryGasLimit uint64, _a3 *crosschaintypes.MsgVoteInbound) (string, string, error)
PostVoteInbound provides a mock function with given fields: _a0, gasLimit, retryGasLimit, _a3
func (*ZetacoreClient) PostVoteOutbound ¶
func (_m *ZetacoreClient) PostVoteOutbound(_a0 context.Context, gasLimit uint64, retryGasLimit uint64, _a3 *crosschaintypes.MsgVoteOutbound) (string, string, error)
PostVoteOutbound provides a mock function with given fields: _a0, gasLimit, retryGasLimit, _a3
func (*ZetacoreClient) PostVoteTSS ¶
func (_m *ZetacoreClient) PostVoteTSS(_a0 context.Context, tssPubKey string, keyGenZetaHeight int64, _a3 chains.ReceiveStatus) (string, error)
PostVoteTSS provides a mock function with given fields: _a0, tssPubKey, keyGenZetaHeight, _a3
func (*ZetacoreClient) WithKeys ¶
func (_m *ZetacoreClient) WithKeys(keys keyinterfaces.ObserverKeys) *ZetacoreClient
func (*ZetacoreClient) WithPendingCctx ¶
func (_m *ZetacoreClient) WithPendingCctx(chainID int64, cctxs []*crosschaintypes.CrossChainTx) *ZetacoreClient
func (*ZetacoreClient) WithPostOutboundTracker ¶
func (_m *ZetacoreClient) WithPostOutboundTracker(zetaTxHash string) *ZetacoreClient
func (*ZetacoreClient) WithPostVoteInbound ¶
func (_m *ZetacoreClient) WithPostVoteInbound(zetaTxHash string, ballotIndex string) *ZetacoreClient
func (*ZetacoreClient) WithPostVoteOutbound ¶
func (_m *ZetacoreClient) WithPostVoteOutbound(zetaTxHash string, ballotIndex string) *ZetacoreClient
func (*ZetacoreClient) WithRateLimiterFlags ¶
func (_m *ZetacoreClient) WithRateLimiterFlags(flags *crosschaintypes.RateLimiterFlags) *ZetacoreClient
func (*ZetacoreClient) WithRateLimiterInput ¶
func (_m *ZetacoreClient) WithRateLimiterInput(in *crosschaintypes.QueryRateLimiterInputResponse) *ZetacoreClient
func (*ZetacoreClient) WithZetaChain ¶
func (_m *ZetacoreClient) WithZetaChain() *ZetacoreClient