Documentation
¶
Index ¶
- type XmsgAccountKeeper
- type XmsgAuthorityKeeper
- type XmsgBankKeeper
- func (_m *XmsgBankKeeper) BurnCoins(ctx context.Context, name string, amt types.Coins) error
- func (_m *XmsgBankKeeper) MintCoins(ctx context.Context, moduleName string, amt types.Coins) error
- func (_m *XmsgBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, ...) error
- type XmsgLightclientKeeper
- type XmsgPevmKeeper
- func (_m *XmsgPevmKeeper) CallAddSupportedChainOnRegistryRouter(ctx types.Context, params *xmsgtypes.RegisterChainDVSToPell) (*evmtypes.MsgEthereumTxResponse, bool, error)
- func (_m *XmsgPevmKeeper) CallBridgePellOnPellGateway(ctx context.Context, destinationChainId int64, receiver common.Address, ...) (*evmtypes.MsgEthereumTxResponse, bool, error)
- func (_m *XmsgPevmKeeper) CallProcessPellSent(ctx types.Context, action *xmsgtypes.PellSent, xmsgIndex string) (*evmtypes.MsgEthereumTxResponse, bool, error)
- func (_m *XmsgPevmKeeper) CallSwapOnPellGasSwap(ctx context.Context, destinationChainId int64, amountIn *big.Int, ...) (*evmtypes.MsgEthereumTxResponse, bool, error)
- func (_m *XmsgPevmKeeper) CallSyncDelegatedStateOnPellDelegationManager(ctx context.Context, from []byte, senderChainID int64, staker common.Address, ...) (*evmtypes.MsgEthereumTxResponse, bool, error)
- func (_m *XmsgPevmKeeper) CallSyncDepositStateOnPellStrategyManager(ctx context.Context, from []byte, senderChainID int64, staker common.Address, ...) (*evmtypes.MsgEthereumTxResponse, bool, error)
- func (_m *XmsgPevmKeeper) CallSyncUndelegateStateOnPellDelegationManager(ctx context.Context, senderChainID int64, staker common.Address) (*evmtypes.MsgEthereumTxResponse, bool, error)
- func (_m *XmsgPevmKeeper) CallSyncWithdrawalStateOnPellDelegationManager(ctx context.Context, senderChainID int64, staker common.Address, ...) (*evmtypes.MsgEthereumTxResponse, bool, error)
- func (_m *XmsgPevmKeeper) GetGasSwapPEVMContractAddress(ctx types.Context) (common.Address, error)
- func (_m *XmsgPevmKeeper) GetPellConnectorContractAddress(ctx types.Context) (common.Address, error)
- func (_m *XmsgPevmKeeper) GetPellDelegationManagerProxyContractAddress(ctx types.Context) (common.Address, error)
- func (_m *XmsgPevmKeeper) GetPellGatewayEVMContractAddress(ctx types.Context) (common.Address, error)
- func (_m *XmsgPevmKeeper) GetPellStrategyManagerProxyContractAddress(ctx types.Context) (common.Address, error)
- func (_m *XmsgPevmKeeper) GetSystemContract(ctx types.Context) (pevmtypes.SystemContract, bool)
- func (_m *XmsgPevmKeeper) PELLRevertAndCallContract(ctx types.Context, sender common.Address, to common.Address, ...) (*evmtypes.MsgEthereumTxResponse, error)
- type XmsgRelayerKeeper
- func (_m *XmsgRelayerKeeper) AddBallotToList(ctx types.Context, ballot relayertypes.Ballot)
- func (_m *XmsgRelayerKeeper) AddVoteToBallot(ctx types.Context, ballot relayertypes.Ballot, address string, ...) (relayertypes.Ballot, error)
- func (_m *XmsgRelayerKeeper) CheckIfFinalizingVote(ctx types.Context, ballot relayertypes.Ballot) (relayertypes.Ballot, bool)
- func (_m *XmsgRelayerKeeper) CheckIfTssPubkeyHasBeenGenerated(ctx types.Context, tssPubkey string) (relayertypes.TSS, bool)
- func (_m *XmsgRelayerKeeper) DeleteBallot(ctx types.Context, index string)
- func (_m *XmsgRelayerKeeper) FindBallot(ctx types.Context, index string, chain *chains.Chain, ...) (relayertypes.Ballot, bool, error)
- func (_m *XmsgRelayerKeeper) GetAllChainNonces(ctx types.Context) []relayertypes.ChainNonces
- func (_m *XmsgRelayerKeeper) GetAllNodeAccount(ctx types.Context) []relayertypes.NodeAccount
- func (_m *XmsgRelayerKeeper) GetAllNonceToXmsg(ctx types.Context) []relayertypes.NonceToXmsg
- func (_m *XmsgRelayerKeeper) GetAllPendingNonces(ctx types.Context) ([]relayertypes.PendingNonces, error)
- func (_m *XmsgRelayerKeeper) GetAllTSS(ctx types.Context) []relayertypes.TSS
- func (_m *XmsgRelayerKeeper) GetAllTssFundMigrators(ctx types.Context) []relayertypes.TssFundMigratorInfo
- func (_m *XmsgRelayerKeeper) GetBallot(ctx types.Context, index string) (relayertypes.Ballot, bool)
- func (_m *XmsgRelayerKeeper) GetChainNonces(ctx types.Context, index string) (relayertypes.ChainNonces, bool)
- func (_m *XmsgRelayerKeeper) GetChainParamsByChainID(ctx types.Context, chainID int64) (*relayertypes.ChainParams, bool)
- func (_m *XmsgRelayerKeeper) GetChainParamsList(ctx types.Context) (relayertypes.ChainParamsList, bool)
- func (_m *XmsgRelayerKeeper) GetCrosschainFlags(ctx types.Context) (relayertypes.CrosschainFlags, bool)
- func (_m *XmsgRelayerKeeper) GetFundMigrator(ctx types.Context, chainID int64) (relayertypes.TssFundMigratorInfo, bool)
- func (_m *XmsgRelayerKeeper) GetKeygen(ctx types.Context) (relayertypes.Keygen, bool)
- func (_m *XmsgRelayerKeeper) GetNodeAccount(ctx types.Context, address string) (relayertypes.NodeAccount, bool)
- func (_m *XmsgRelayerKeeper) GetNonceToXmsg(ctx types.Context, tss string, chainID int64, nonce int64) (relayertypes.NonceToXmsg, bool)
- func (_m *XmsgRelayerKeeper) GetObserverSet(ctx context.Context) (relayertypes.RelayerSet, bool)
- func (_m *XmsgRelayerKeeper) GetPendingNonces(ctx types.Context, tss string, chainID int64) (relayertypes.PendingNonces, bool)
- func (_m *XmsgRelayerKeeper) GetSupportedChainFromChainID(ctx types.Context, chainID int64) *chains.Chain
- func (_m *XmsgRelayerKeeper) GetSupportedChains(ctx types.Context) []*chains.Chain
- func (_m *XmsgRelayerKeeper) GetSupportedForeignChains(ctx types.Context) []*chains.Chain
- func (_m *XmsgRelayerKeeper) GetTSS(ctx types.Context) (relayertypes.TSS, bool)
- func (_m *XmsgRelayerKeeper) GetTssAddress(goCtx context.Context, req *relayertypes.QueryGetTssAddressRequest) (*relayertypes.QueryGetTssAddressResponse, error)
- func (_m *XmsgRelayerKeeper) IsInboundEnabled(ctx types.Context) bool
- func (_m *XmsgRelayerKeeper) IsNonTombstonedObserver(ctx types.Context, address string) bool
- func (_m *XmsgRelayerKeeper) RemoveAllExistingMigrators(ctx types.Context)
- func (_m *XmsgRelayerKeeper) RemoveFromPendingNonces(ctx types.Context, tss string, chainID int64, nonce int64)
- func (_m *XmsgRelayerKeeper) SetChainNonces(ctx types.Context, chainNonces relayertypes.ChainNonces)
- func (_m *XmsgRelayerKeeper) SetChainParamsList(ctx types.Context, chainParams relayertypes.ChainParamsList)
- func (_m *XmsgRelayerKeeper) SetCrosschainFlags(ctx types.Context, crosschainFlags relayertypes.CrosschainFlags)
- func (_m *XmsgRelayerKeeper) SetFundMigrator(ctx types.Context, fm relayertypes.TssFundMigratorInfo)
- func (_m *XmsgRelayerKeeper) SetKeygen(ctx types.Context, keygen relayertypes.Keygen)
- func (_m *XmsgRelayerKeeper) SetLastObserverCount(ctx types.Context, lbc *relayertypes.LastRelayerCount)
- func (_m *XmsgRelayerKeeper) SetNodeAccount(ctx types.Context, nodeAccount relayertypes.NodeAccount)
- func (_m *XmsgRelayerKeeper) SetNonceToXmsg(ctx types.Context, nonceToXmsg relayertypes.NonceToXmsg)
- func (_m *XmsgRelayerKeeper) SetPendingNonces(ctx types.Context, pendingNonces relayertypes.PendingNonces)
- func (_m *XmsgRelayerKeeper) SetTSS(ctx types.Context, tss relayertypes.TSS)
- func (_m *XmsgRelayerKeeper) SetTSSHistory(ctx types.Context, tss relayertypes.TSS)
- func (_m *XmsgRelayerKeeper) SetTssAndUpdateNonce(ctx types.Context, tss relayertypes.TSS)
- func (_m *XmsgRelayerKeeper) VoteOnAddGasTokenBallot(ctx types.Context, chainId int64, voter string, voteIndex uint64) (bool, bool, error)
- func (_m *XmsgRelayerKeeper) VoteOnAddPellTokenBallot(ctx types.Context, chainId int64, voter string, voteIndex uint64) (bool, bool, error)
- func (_m *XmsgRelayerKeeper) VoteOnInboundBallot(ctx types.Context, senderChainID int64, receiverChainID int64, ...) (bool, bool, error)
- func (_m *XmsgRelayerKeeper) VoteOnInboundBlockBallot(ctx types.Context, chainId int64, voter string, ballotIndex string, ...) (bool, bool, error)
- func (_m *XmsgRelayerKeeper) VoteOnOutboundBallot(ctx types.Context, ballotIndex string, outTxChainID int64, ...) (bool, bool, relayertypes.Ballot, string, error)
- type XmsgStakingKeeper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XmsgAccountKeeper ¶
XmsgAccountKeeper is an autogenerated mock type for the XmsgAccountKeeper type
func NewXmsgAccountKeeper ¶
func NewXmsgAccountKeeper(t interface {
mock.TestingT
Cleanup(func())
}) *XmsgAccountKeeper
NewXmsgAccountKeeper creates a new instance of XmsgAccountKeeper. 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 (*XmsgAccountKeeper) GetModuleAccount ¶
func (_m *XmsgAccountKeeper) GetModuleAccount(ctx context.Context, name string) types.ModuleAccountI
GetModuleAccount provides a mock function with given fields: ctx, name
type XmsgAuthorityKeeper ¶
XmsgAuthorityKeeper is an autogenerated mock type for the XmsgAuthorityKeeper type
func NewXmsgAuthorityKeeper ¶
func NewXmsgAuthorityKeeper(t interface {
mock.TestingT
Cleanup(func())
}) *XmsgAuthorityKeeper
NewXmsgAuthorityKeeper creates a new instance of XmsgAuthorityKeeper. 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 (*XmsgAuthorityKeeper) IsAuthorized ¶
func (_m *XmsgAuthorityKeeper) IsAuthorized(ctx types.Context, address string, policyType authoritytypes.PolicyType) bool
IsAuthorized provides a mock function with given fields: ctx, address, policyType
type XmsgBankKeeper ¶
XmsgBankKeeper is an autogenerated mock type for the XmsgBankKeeper type
func NewXmsgBankKeeper ¶
func NewXmsgBankKeeper(t interface {
mock.TestingT
Cleanup(func())
}) *XmsgBankKeeper
NewXmsgBankKeeper creates a new instance of XmsgBankKeeper. 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 (*XmsgBankKeeper) BurnCoins ¶
BurnCoins provides a mock function with given fields: ctx, name, amt
func (*XmsgBankKeeper) MintCoins ¶
MintCoins provides a mock function with given fields: ctx, moduleName, amt
func (*XmsgBankKeeper) SendCoinsFromAccountToModule ¶
func (_m *XmsgBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error
SendCoinsFromAccountToModule provides a mock function with given fields: ctx, senderAddr, recipientModule, amt
type XmsgLightclientKeeper ¶
XmsgLightclientKeeper is an autogenerated mock type for the XmsgLightclientKeeper type
func NewXmsgLightclientKeeper ¶
func NewXmsgLightclientKeeper(t interface {
mock.TestingT
Cleanup(func())
}) *XmsgLightclientKeeper
NewXmsgLightclientKeeper creates a new instance of XmsgLightclientKeeper. 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.
type XmsgPevmKeeper ¶
XmsgPevmKeeper is an autogenerated mock type for the XmsgPevmKeeper type
func NewXmsgPevmKeeper ¶
func NewXmsgPevmKeeper(t interface {
mock.TestingT
Cleanup(func())
}) *XmsgPevmKeeper
NewXmsgPevmKeeper creates a new instance of XmsgPevmKeeper. 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 (*XmsgPevmKeeper) CallAddSupportedChainOnRegistryRouter ¶
func (_m *XmsgPevmKeeper) CallAddSupportedChainOnRegistryRouter(ctx types.Context, params *xmsgtypes.RegisterChainDVSToPell) (*evmtypes.MsgEthereumTxResponse, bool, error)
CallAddSupportedChainOnRegistryRouter provides a mock function with given fields: ctx, params
func (*XmsgPevmKeeper) CallBridgePellOnPellGateway ¶
func (_m *XmsgPevmKeeper) CallBridgePellOnPellGateway(ctx context.Context, destinationChainId int64, receiver common.Address, amount *big.Int) (*evmtypes.MsgEthereumTxResponse, bool, error)
CallBridgePellOnPellGateway provides a mock function with given fields: ctx, destinationChainId, receiver, amount
func (*XmsgPevmKeeper) CallProcessPellSent ¶
func (_m *XmsgPevmKeeper) CallProcessPellSent(ctx types.Context, action *xmsgtypes.PellSent, xmsgIndex string) (*evmtypes.MsgEthereumTxResponse, bool, error)
CallProcessPellSent provides a mock function with given fields: ctx, action, xmsgIndex
func (*XmsgPevmKeeper) CallSwapOnPellGasSwap ¶
func (_m *XmsgPevmKeeper) CallSwapOnPellGasSwap(ctx context.Context, destinationChainId int64, amountIn *big.Int, receiver common.Address) (*evmtypes.MsgEthereumTxResponse, bool, error)
CallSwapOnPellGasSwap provides a mock function with given fields: ctx, destinationChainId, amountIn, receiver
func (*XmsgPevmKeeper) CallSyncDelegatedStateOnPellDelegationManager ¶
func (_m *XmsgPevmKeeper) CallSyncDelegatedStateOnPellDelegationManager(ctx context.Context, from []byte, senderChainID int64, staker common.Address, strategy common.Address) (*evmtypes.MsgEthereumTxResponse, bool, error)
CallSyncDelegatedStateOnPellDelegationManager provides a mock function with given fields: ctx, from, senderChainID, staker, strategy
func (*XmsgPevmKeeper) CallSyncDepositStateOnPellStrategyManager ¶
func (_m *XmsgPevmKeeper) CallSyncDepositStateOnPellStrategyManager(ctx context.Context, from []byte, senderChainID int64, staker common.Address, strategy common.Address, shares *big.Int) (*evmtypes.MsgEthereumTxResponse, bool, error)
CallSyncDepositStateOnPellStrategyManager provides a mock function with given fields: ctx, from, senderChainID, staker, strategy, shares
func (*XmsgPevmKeeper) CallSyncUndelegateStateOnPellDelegationManager ¶
func (_m *XmsgPevmKeeper) CallSyncUndelegateStateOnPellDelegationManager(ctx context.Context, senderChainID int64, staker common.Address) (*evmtypes.MsgEthereumTxResponse, bool, error)
CallSyncUndelegateStateOnPellDelegationManager provides a mock function with given fields: ctx, senderChainID, staker
func (*XmsgPevmKeeper) CallSyncWithdrawalStateOnPellDelegationManager ¶
func (_m *XmsgPevmKeeper) CallSyncWithdrawalStateOnPellDelegationManager(ctx context.Context, senderChainID int64, staker common.Address, withdrawalParam *xmsgtypes.WithdrawalQueued) (*evmtypes.MsgEthereumTxResponse, bool, error)
CallSyncWithdrawalStateOnPellDelegationManager provides a mock function with given fields: ctx, senderChainID, staker, withdrawalParam
func (*XmsgPevmKeeper) GetGasSwapPEVMContractAddress ¶
GetGasSwapPEVMContractAddress provides a mock function with given fields: ctx
func (*XmsgPevmKeeper) GetPellConnectorContractAddress ¶
func (_m *XmsgPevmKeeper) GetPellConnectorContractAddress(ctx types.Context) (common.Address, error)
GetPellConnectorContractAddress provides a mock function with given fields: ctx
func (*XmsgPevmKeeper) GetPellDelegationManagerProxyContractAddress ¶
func (_m *XmsgPevmKeeper) GetPellDelegationManagerProxyContractAddress(ctx types.Context) (common.Address, error)
GetPellDelegationManagerProxyContractAddress provides a mock function with given fields: ctx
func (*XmsgPevmKeeper) GetPellGatewayEVMContractAddress ¶
func (_m *XmsgPevmKeeper) GetPellGatewayEVMContractAddress(ctx types.Context) (common.Address, error)
GetPellGatewayEVMContractAddress provides a mock function with given fields: ctx
func (*XmsgPevmKeeper) GetPellStrategyManagerProxyContractAddress ¶
func (_m *XmsgPevmKeeper) GetPellStrategyManagerProxyContractAddress(ctx types.Context) (common.Address, error)
GetPellStrategyManagerProxyContractAddress provides a mock function with given fields: ctx
func (*XmsgPevmKeeper) GetSystemContract ¶
func (_m *XmsgPevmKeeper) GetSystemContract(ctx types.Context) (pevmtypes.SystemContract, bool)
GetSystemContract provides a mock function with given fields: ctx
func (*XmsgPevmKeeper) PELLRevertAndCallContract ¶
func (_m *XmsgPevmKeeper) PELLRevertAndCallContract(ctx types.Context, sender common.Address, to common.Address, inboundSenderChainID int64, destinationChainID int64, indexBytes [32]byte) (*evmtypes.MsgEthereumTxResponse, error)
PELLRevertAndCallContract provides a mock function with given fields: ctx, sender, to, inboundSenderChainID, destinationChainID, indexBytes
type XmsgRelayerKeeper ¶
XmsgRelayerKeeper is an autogenerated mock type for the XmsgRelayerKeeper type
func NewXmsgRelayerKeeper ¶
func NewXmsgRelayerKeeper(t interface {
mock.TestingT
Cleanup(func())
}) *XmsgRelayerKeeper
NewXmsgRelayerKeeper creates a new instance of XmsgRelayerKeeper. 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 (*XmsgRelayerKeeper) AddBallotToList ¶
func (_m *XmsgRelayerKeeper) AddBallotToList(ctx types.Context, ballot relayertypes.Ballot)
AddBallotToList provides a mock function with given fields: ctx, ballot
func (*XmsgRelayerKeeper) AddVoteToBallot ¶
func (_m *XmsgRelayerKeeper) AddVoteToBallot(ctx types.Context, ballot relayertypes.Ballot, address string, observationType relayertypes.VoteType) (relayertypes.Ballot, error)
AddVoteToBallot provides a mock function with given fields: ctx, ballot, address, observationType
func (*XmsgRelayerKeeper) CheckIfFinalizingVote ¶
func (_m *XmsgRelayerKeeper) CheckIfFinalizingVote(ctx types.Context, ballot relayertypes.Ballot) (relayertypes.Ballot, bool)
CheckIfFinalizingVote provides a mock function with given fields: ctx, ballot
func (*XmsgRelayerKeeper) CheckIfTssPubkeyHasBeenGenerated ¶
func (_m *XmsgRelayerKeeper) CheckIfTssPubkeyHasBeenGenerated(ctx types.Context, tssPubkey string) (relayertypes.TSS, bool)
CheckIfTssPubkeyHasBeenGenerated provides a mock function with given fields: ctx, tssPubkey
func (*XmsgRelayerKeeper) DeleteBallot ¶
func (_m *XmsgRelayerKeeper) DeleteBallot(ctx types.Context, index string)
DeleteBallot provides a mock function with given fields: ctx, index
func (*XmsgRelayerKeeper) FindBallot ¶
func (_m *XmsgRelayerKeeper) FindBallot(ctx types.Context, index string, chain *chains.Chain, observationType relayertypes.ObservationType) (relayertypes.Ballot, bool, error)
FindBallot provides a mock function with given fields: ctx, index, chain, observationType
func (*XmsgRelayerKeeper) GetAllChainNonces ¶
func (_m *XmsgRelayerKeeper) GetAllChainNonces(ctx types.Context) []relayertypes.ChainNonces
GetAllChainNonces provides a mock function with given fields: ctx
func (*XmsgRelayerKeeper) GetAllNodeAccount ¶
func (_m *XmsgRelayerKeeper) GetAllNodeAccount(ctx types.Context) []relayertypes.NodeAccount
GetAllNodeAccount provides a mock function with given fields: ctx
func (*XmsgRelayerKeeper) GetAllNonceToXmsg ¶
func (_m *XmsgRelayerKeeper) GetAllNonceToXmsg(ctx types.Context) []relayertypes.NonceToXmsg
GetAllNonceToXmsg provides a mock function with given fields: ctx
func (*XmsgRelayerKeeper) GetAllPendingNonces ¶
func (_m *XmsgRelayerKeeper) GetAllPendingNonces(ctx types.Context) ([]relayertypes.PendingNonces, error)
GetAllPendingNonces provides a mock function with given fields: ctx
func (*XmsgRelayerKeeper) GetAllTSS ¶
func (_m *XmsgRelayerKeeper) GetAllTSS(ctx types.Context) []relayertypes.TSS
GetAllTSS provides a mock function with given fields: ctx
func (*XmsgRelayerKeeper) GetAllTssFundMigrators ¶
func (_m *XmsgRelayerKeeper) GetAllTssFundMigrators(ctx types.Context) []relayertypes.TssFundMigratorInfo
GetAllTssFundMigrators provides a mock function with given fields: ctx
func (*XmsgRelayerKeeper) GetBallot ¶
func (_m *XmsgRelayerKeeper) GetBallot(ctx types.Context, index string) (relayertypes.Ballot, bool)
GetBallot provides a mock function with given fields: ctx, index
func (*XmsgRelayerKeeper) GetChainNonces ¶
func (_m *XmsgRelayerKeeper) GetChainNonces(ctx types.Context, index string) (relayertypes.ChainNonces, bool)
GetChainNonces provides a mock function with given fields: ctx, index
func (*XmsgRelayerKeeper) GetChainParamsByChainID ¶
func (_m *XmsgRelayerKeeper) GetChainParamsByChainID(ctx types.Context, chainID int64) (*relayertypes.ChainParams, bool)
GetChainParamsByChainID provides a mock function with given fields: ctx, chainID
func (*XmsgRelayerKeeper) GetChainParamsList ¶
func (_m *XmsgRelayerKeeper) GetChainParamsList(ctx types.Context) (relayertypes.ChainParamsList, bool)
GetChainParamsList provides a mock function with given fields: ctx
func (*XmsgRelayerKeeper) GetCrosschainFlags ¶
func (_m *XmsgRelayerKeeper) GetCrosschainFlags(ctx types.Context) (relayertypes.CrosschainFlags, bool)
GetCrosschainFlags provides a mock function with given fields: ctx
func (*XmsgRelayerKeeper) GetFundMigrator ¶
func (_m *XmsgRelayerKeeper) GetFundMigrator(ctx types.Context, chainID int64) (relayertypes.TssFundMigratorInfo, bool)
GetFundMigrator provides a mock function with given fields: ctx, chainID
func (*XmsgRelayerKeeper) GetKeygen ¶
func (_m *XmsgRelayerKeeper) GetKeygen(ctx types.Context) (relayertypes.Keygen, bool)
GetKeygen provides a mock function with given fields: ctx
func (*XmsgRelayerKeeper) GetNodeAccount ¶
func (_m *XmsgRelayerKeeper) GetNodeAccount(ctx types.Context, address string) (relayertypes.NodeAccount, bool)
GetNodeAccount provides a mock function with given fields: ctx, address
func (*XmsgRelayerKeeper) GetNonceToXmsg ¶
func (_m *XmsgRelayerKeeper) GetNonceToXmsg(ctx types.Context, tss string, chainID int64, nonce int64) (relayertypes.NonceToXmsg, bool)
GetNonceToXmsg provides a mock function with given fields: ctx, tss, chainID, nonce
func (*XmsgRelayerKeeper) GetObserverSet ¶
func (_m *XmsgRelayerKeeper) GetObserverSet(ctx context.Context) (relayertypes.RelayerSet, bool)
GetObserverSet provides a mock function with given fields: ctx
func (*XmsgRelayerKeeper) GetPendingNonces ¶
func (_m *XmsgRelayerKeeper) GetPendingNonces(ctx types.Context, tss string, chainID int64) (relayertypes.PendingNonces, bool)
GetPendingNonces provides a mock function with given fields: ctx, tss, chainID
func (*XmsgRelayerKeeper) GetSupportedChainFromChainID ¶
func (_m *XmsgRelayerKeeper) GetSupportedChainFromChainID(ctx types.Context, chainID int64) *chains.Chain
GetSupportedChainFromChainID provides a mock function with given fields: ctx, chainID
func (*XmsgRelayerKeeper) GetSupportedChains ¶
func (_m *XmsgRelayerKeeper) GetSupportedChains(ctx types.Context) []*chains.Chain
GetSupportedChains provides a mock function with given fields: ctx
func (*XmsgRelayerKeeper) GetSupportedForeignChains ¶
func (_m *XmsgRelayerKeeper) GetSupportedForeignChains(ctx types.Context) []*chains.Chain
GetSupportedForeignChains provides a mock function with given fields: ctx
func (*XmsgRelayerKeeper) GetTSS ¶
func (_m *XmsgRelayerKeeper) GetTSS(ctx types.Context) (relayertypes.TSS, bool)
GetTSS provides a mock function with given fields: ctx
func (*XmsgRelayerKeeper) GetTssAddress ¶
func (_m *XmsgRelayerKeeper) GetTssAddress(goCtx context.Context, req *relayertypes.QueryGetTssAddressRequest) (*relayertypes.QueryGetTssAddressResponse, error)
GetTssAddress provides a mock function with given fields: goCtx, req
func (*XmsgRelayerKeeper) IsInboundEnabled ¶
func (_m *XmsgRelayerKeeper) IsInboundEnabled(ctx types.Context) bool
IsInboundEnabled provides a mock function with given fields: ctx
func (*XmsgRelayerKeeper) IsNonTombstonedObserver ¶
func (_m *XmsgRelayerKeeper) IsNonTombstonedObserver(ctx types.Context, address string) bool
IsNonTombstonedObserver provides a mock function with given fields: ctx, address
func (*XmsgRelayerKeeper) RemoveAllExistingMigrators ¶
func (_m *XmsgRelayerKeeper) RemoveAllExistingMigrators(ctx types.Context)
RemoveAllExistingMigrators provides a mock function with given fields: ctx
func (*XmsgRelayerKeeper) RemoveFromPendingNonces ¶
func (_m *XmsgRelayerKeeper) RemoveFromPendingNonces(ctx types.Context, tss string, chainID int64, nonce int64)
RemoveFromPendingNonces provides a mock function with given fields: ctx, tss, chainID, nonce
func (*XmsgRelayerKeeper) SetChainNonces ¶
func (_m *XmsgRelayerKeeper) SetChainNonces(ctx types.Context, chainNonces relayertypes.ChainNonces)
SetChainNonces provides a mock function with given fields: ctx, chainNonces
func (*XmsgRelayerKeeper) SetChainParamsList ¶
func (_m *XmsgRelayerKeeper) SetChainParamsList(ctx types.Context, chainParams relayertypes.ChainParamsList)
SetChainParamsList provides a mock function with given fields: ctx, chainParams
func (*XmsgRelayerKeeper) SetCrosschainFlags ¶
func (_m *XmsgRelayerKeeper) SetCrosschainFlags(ctx types.Context, crosschainFlags relayertypes.CrosschainFlags)
SetCrosschainFlags provides a mock function with given fields: ctx, crosschainFlags
func (*XmsgRelayerKeeper) SetFundMigrator ¶
func (_m *XmsgRelayerKeeper) SetFundMigrator(ctx types.Context, fm relayertypes.TssFundMigratorInfo)
SetFundMigrator provides a mock function with given fields: ctx, fm
func (*XmsgRelayerKeeper) SetKeygen ¶
func (_m *XmsgRelayerKeeper) SetKeygen(ctx types.Context, keygen relayertypes.Keygen)
SetKeygen provides a mock function with given fields: ctx, keygen
func (*XmsgRelayerKeeper) SetLastObserverCount ¶
func (_m *XmsgRelayerKeeper) SetLastObserverCount(ctx types.Context, lbc *relayertypes.LastRelayerCount)
SetLastObserverCount provides a mock function with given fields: ctx, lbc
func (*XmsgRelayerKeeper) SetNodeAccount ¶
func (_m *XmsgRelayerKeeper) SetNodeAccount(ctx types.Context, nodeAccount relayertypes.NodeAccount)
SetNodeAccount provides a mock function with given fields: ctx, nodeAccount
func (*XmsgRelayerKeeper) SetNonceToXmsg ¶
func (_m *XmsgRelayerKeeper) SetNonceToXmsg(ctx types.Context, nonceToXmsg relayertypes.NonceToXmsg)
SetNonceToXmsg provides a mock function with given fields: ctx, nonceToXmsg
func (*XmsgRelayerKeeper) SetPendingNonces ¶
func (_m *XmsgRelayerKeeper) SetPendingNonces(ctx types.Context, pendingNonces relayertypes.PendingNonces)
SetPendingNonces provides a mock function with given fields: ctx, pendingNonces
func (*XmsgRelayerKeeper) SetTSS ¶
func (_m *XmsgRelayerKeeper) SetTSS(ctx types.Context, tss relayertypes.TSS)
SetTSS provides a mock function with given fields: ctx, tss
func (*XmsgRelayerKeeper) SetTSSHistory ¶
func (_m *XmsgRelayerKeeper) SetTSSHistory(ctx types.Context, tss relayertypes.TSS)
SetTSSHistory provides a mock function with given fields: ctx, tss
func (*XmsgRelayerKeeper) SetTssAndUpdateNonce ¶
func (_m *XmsgRelayerKeeper) SetTssAndUpdateNonce(ctx types.Context, tss relayertypes.TSS)
SetTssAndUpdateNonce provides a mock function with given fields: ctx, tss
func (*XmsgRelayerKeeper) VoteOnAddGasTokenBallot ¶
func (_m *XmsgRelayerKeeper) VoteOnAddGasTokenBallot(ctx types.Context, chainId int64, voter string, voteIndex uint64) (bool, bool, error)
VoteOnAddGasTokenBallot provides a mock function with given fields: ctx, chainId, voter, voteIndex
func (*XmsgRelayerKeeper) VoteOnAddPellTokenBallot ¶
func (_m *XmsgRelayerKeeper) VoteOnAddPellTokenBallot(ctx types.Context, chainId int64, voter string, voteIndex uint64) (bool, bool, error)
VoteOnAddPellTokenBallot provides a mock function with given fields: ctx, chainId, voter, voteIndex
func (*XmsgRelayerKeeper) VoteOnInboundBallot ¶
func (_m *XmsgRelayerKeeper) VoteOnInboundBallot(ctx types.Context, senderChainID int64, receiverChainID int64, coinType coin.CoinType, voter string, ballotIndex string, inTxHash string) (bool, bool, error)
VoteOnInboundBallot provides a mock function with given fields: ctx, senderChainID, receiverChainID, coinType, voter, ballotIndex, inTxHash
func (*XmsgRelayerKeeper) VoteOnInboundBlockBallot ¶
func (_m *XmsgRelayerKeeper) VoteOnInboundBlockBallot(ctx types.Context, chainId int64, voter string, ballotIndex string, blockHash string) (bool, bool, error)
VoteOnInboundBlockBallot provides a mock function with given fields: ctx, chainId, voter, ballotIndex, blockHash
func (*XmsgRelayerKeeper) VoteOnOutboundBallot ¶
func (_m *XmsgRelayerKeeper) VoteOnOutboundBallot(ctx types.Context, ballotIndex string, outTxChainID int64, receiveStatus chains.ReceiveStatus, voter string) (bool, bool, relayertypes.Ballot, string, error)
VoteOnOutboundBallot provides a mock function with given fields: ctx, ballotIndex, outTxChainID, receiveStatus, voter
type XmsgStakingKeeper ¶
XmsgStakingKeeper is an autogenerated mock type for the XmsgStakingKeeper type
func NewXmsgStakingKeeper ¶
func NewXmsgStakingKeeper(t interface {
mock.TestingT
Cleanup(func())
}) *XmsgStakingKeeper
NewXmsgStakingKeeper creates a new instance of XmsgStakingKeeper. 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 (*XmsgStakingKeeper) GetAllValidators ¶
GetAllValidators provides a mock function with given fields: ctx