Documentation ¶
Index ¶
- type AccountInfo
- func (_m *AccountInfo) GetAddress() types.AccAddress
- func (_m *AccountInfo) GetAlgo() hd.PubKeyType
- func (_m *AccountInfo) GetName() string
- func (_m *AccountInfo) GetPath() (*hd.BIP44Params, error)
- func (_m *AccountInfo) GetPubKey() cryptotypes.PubKey
- func (_m *AccountInfo) GetType() keyring.KeyType
- type CampaignClient
- func (_m *CampaignClient) AuctionsOfCampaign(ctx context.Context, in *types.QueryAuctionsOfCampaignRequest, ...) (*types.QueryAuctionsOfCampaignResponse, error)
- func (_m *CampaignClient) Campaign(ctx context.Context, in *types.QueryGetCampaignRequest, ...) (*types.QueryGetCampaignResponse, error)
- func (_m *CampaignClient) CampaignAll(ctx context.Context, in *types.QueryAllCampaignRequest, ...) (*types.QueryAllCampaignResponse, error)
- func (_m *CampaignClient) CampaignChains(ctx context.Context, in *types.QueryGetCampaignChainsRequest, ...) (*types.QueryGetCampaignChainsResponse, error)
- func (_m *CampaignClient) CampaignSummaries(ctx context.Context, in *types.QueryCampaignSummariesRequest, ...) (*types.QueryCampaignSummariesResponse, error)
- func (_m *CampaignClient) CampaignSummary(ctx context.Context, in *types.QueryCampaignSummaryRequest, ...) (*types.QueryCampaignSummaryResponse, error)
- func (_m *CampaignClient) MainnetAccount(ctx context.Context, in *types.QueryGetMainnetAccountRequest, ...) (*types.QueryGetMainnetAccountResponse, error)
- func (_m *CampaignClient) MainnetAccountAll(ctx context.Context, in *types.QueryAllMainnetAccountRequest, ...) (*types.QueryAllMainnetAccountResponse, error)
- func (_m *CampaignClient) MainnetVestingAccount(ctx context.Context, in *types.QueryGetMainnetVestingAccountRequest, ...) (*types.QueryGetMainnetVestingAccountResponse, error)
- func (_m *CampaignClient) MainnetVestingAccountAll(ctx context.Context, in *types.QueryAllMainnetVestingAccountRequest, ...) (*types.QueryAllMainnetVestingAccountResponse, error)
- func (_m *CampaignClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
- func (_m *CampaignClient) TotalShares(ctx context.Context, in *types.QueryTotalSharesRequest, ...) (*types.QueryTotalSharesResponse, error)
- type Chain
- func (_m *Chain) AppTOMLPath() (string, error)
- func (_m *Chain) CacheBinary(launchID uint64) error
- func (_m *Chain) ChainID() (string, error)
- func (_m *Chain) ConfigTOMLPath() (string, error)
- func (_m *Chain) DefaultGentxPath() (string, error)
- func (_m *Chain) GenesisPath() (string, error)
- func (_m *Chain) GentxsPath() (string, error)
- func (_m *Chain) ID() (string, error)
- func (_m *Chain) Name() string
- func (_m *Chain) NodeID(ctx context.Context) (string, error)
- func (_m *Chain) ResetGenesisTime() error
- func (_m *Chain) SourceHash() string
- func (_m *Chain) SourceURL() string
- type CosmosClient
- func (_m *CosmosClient) Account(accountName string) (cosmosaccount.Account, error)
- func (_m *CosmosClient) Address(accountName string) (types.AccAddress, error)
- func (_m *CosmosClient) BroadcastTx(accountName string, msgs ...types.Msg) (cosmosclient.Response, error)
- func (_m *CosmosClient) BroadcastTxWithProvision(accountName string, msgs ...types.Msg) (uint64, func() (cosmosclient.Response, error), error)
- func (_m *CosmosClient) ConsensusInfo(ctx context.Context, height int64) (cosmosclient.ConsensusInfo, error)
- func (_m *CosmosClient) Context() client.Context
- func (_m *CosmosClient) Status(ctx context.Context) (*coretypes.ResultStatus, error)
- type LaunchClient
- func (_m *LaunchClient) Chain(ctx context.Context, in *types.QueryGetChainRequest, opts ...grpc.CallOption) (*types.QueryGetChainResponse, error)
- func (_m *LaunchClient) ChainAll(ctx context.Context, in *types.QueryAllChainRequest, opts ...grpc.CallOption) (*types.QueryAllChainResponse, error)
- func (_m *LaunchClient) GenesisAccount(ctx context.Context, in *types.QueryGetGenesisAccountRequest, ...) (*types.QueryGetGenesisAccountResponse, error)
- func (_m *LaunchClient) GenesisAccountAll(ctx context.Context, in *types.QueryAllGenesisAccountRequest, ...) (*types.QueryAllGenesisAccountResponse, error)
- func (_m *LaunchClient) GenesisValidator(ctx context.Context, in *types.QueryGetGenesisValidatorRequest, ...) (*types.QueryGetGenesisValidatorResponse, error)
- func (_m *LaunchClient) GenesisValidatorAll(ctx context.Context, in *types.QueryAllGenesisValidatorRequest, ...) (*types.QueryAllGenesisValidatorResponse, error)
- func (_m *LaunchClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
- func (_m *LaunchClient) Request(ctx context.Context, in *types.QueryGetRequestRequest, opts ...grpc.CallOption) (*types.QueryGetRequestResponse, error)
- func (_m *LaunchClient) RequestAll(ctx context.Context, in *types.QueryAllRequestRequest, opts ...grpc.CallOption) (*types.QueryAllRequestResponse, error)
- func (_m *LaunchClient) VestingAccount(ctx context.Context, in *types.QueryGetVestingAccountRequest, ...) (*types.QueryGetVestingAccountResponse, error)
- func (_m *LaunchClient) VestingAccountAll(ctx context.Context, in *types.QueryAllVestingAccountRequest, ...) (*types.QueryAllVestingAccountResponse, error)
- type ProfileClient
- func (_m *ProfileClient) Coordinator(ctx context.Context, in *types.QueryGetCoordinatorRequest, ...) (*types.QueryGetCoordinatorResponse, error)
- func (_m *ProfileClient) CoordinatorAll(ctx context.Context, in *types.QueryAllCoordinatorRequest, ...) (*types.QueryAllCoordinatorResponse, error)
- func (_m *ProfileClient) CoordinatorByAddress(ctx context.Context, in *types.QueryGetCoordinatorByAddressRequest, ...) (*types.QueryGetCoordinatorByAddressResponse, error)
- func (_m *ProfileClient) Validator(ctx context.Context, in *types.QueryGetValidatorRequest, ...) (*types.QueryGetValidatorResponse, error)
- func (_m *ProfileClient) ValidatorAll(ctx context.Context, in *types.QueryAllValidatorRequest, ...) (*types.QueryAllValidatorResponse, error)
- func (_m *ProfileClient) ValidatorByOperatorAddress(ctx context.Context, in *types.QueryGetValidatorByOperatorAddressRequest, ...) (*types.QueryGetValidatorByOperatorAddressResponse, error)
- type RewardClient
- func (_m *RewardClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
- func (_m *RewardClient) RewardPool(ctx context.Context, in *types.QueryGetRewardPoolRequest, ...) (*types.QueryGetRewardPoolResponse, error)
- func (_m *RewardClient) RewardPoolAll(ctx context.Context, in *types.QueryAllRewardPoolRequest, ...) (*types.QueryAllRewardPoolResponse, error)
- type StakingClient
- func (_m *StakingClient) Delegation(ctx context.Context, in *types.QueryDelegationRequest, opts ...grpc.CallOption) (*types.QueryDelegationResponse, error)
- func (_m *StakingClient) DelegatorDelegations(ctx context.Context, in *types.QueryDelegatorDelegationsRequest, ...) (*types.QueryDelegatorDelegationsResponse, error)
- func (_m *StakingClient) DelegatorUnbondingDelegations(ctx context.Context, in *types.QueryDelegatorUnbondingDelegationsRequest, ...) (*types.QueryDelegatorUnbondingDelegationsResponse, error)
- func (_m *StakingClient) DelegatorValidator(ctx context.Context, in *types.QueryDelegatorValidatorRequest, ...) (*types.QueryDelegatorValidatorResponse, error)
- func (_m *StakingClient) DelegatorValidators(ctx context.Context, in *types.QueryDelegatorValidatorsRequest, ...) (*types.QueryDelegatorValidatorsResponse, error)
- func (_m *StakingClient) HistoricalInfo(ctx context.Context, in *types.QueryHistoricalInfoRequest, ...) (*types.QueryHistoricalInfoResponse, error)
- func (_m *StakingClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
- func (_m *StakingClient) Pool(ctx context.Context, in *types.QueryPoolRequest, opts ...grpc.CallOption) (*types.QueryPoolResponse, error)
- func (_m *StakingClient) Redelegations(ctx context.Context, in *types.QueryRedelegationsRequest, ...) (*types.QueryRedelegationsResponse, error)
- func (_m *StakingClient) UnbondingDelegation(ctx context.Context, in *types.QueryUnbondingDelegationRequest, ...) (*types.QueryUnbondingDelegationResponse, error)
- func (_m *StakingClient) Validator(ctx context.Context, in *types.QueryValidatorRequest, opts ...grpc.CallOption) (*types.QueryValidatorResponse, error)
- func (_m *StakingClient) ValidatorDelegations(ctx context.Context, in *types.QueryValidatorDelegationsRequest, ...) (*types.QueryValidatorDelegationsResponse, error)
- func (_m *StakingClient) ValidatorUnbondingDelegations(ctx context.Context, in *types.QueryValidatorUnbondingDelegationsRequest, ...) (*types.QueryValidatorUnbondingDelegationsResponse, error)
- func (_m *StakingClient) Validators(ctx context.Context, in *types.QueryValidatorsRequest, opts ...grpc.CallOption) (*types.QueryValidatorsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountInfo ¶
AccountInfo is an autogenerated mock type for the AccountInfo type
func NewAccountInfo ¶
func NewAccountInfo(t testing.TB) *AccountInfo
NewAccountInfo creates a new instance of AccountInfo. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*AccountInfo) GetAddress ¶
func (_m *AccountInfo) GetAddress() types.AccAddress
GetAddress provides a mock function with given fields:
func (*AccountInfo) GetAlgo ¶
func (_m *AccountInfo) GetAlgo() hd.PubKeyType
GetAlgo provides a mock function with given fields:
func (*AccountInfo) GetName ¶
func (_m *AccountInfo) GetName() string
GetName provides a mock function with given fields:
func (*AccountInfo) GetPath ¶
func (_m *AccountInfo) GetPath() (*hd.BIP44Params, error)
GetPath provides a mock function with given fields:
func (*AccountInfo) GetPubKey ¶
func (_m *AccountInfo) GetPubKey() cryptotypes.PubKey
GetPubKey provides a mock function with given fields:
func (*AccountInfo) GetType ¶
func (_m *AccountInfo) GetType() keyring.KeyType
GetType provides a mock function with given fields:
type CampaignClient ¶
CampaignClient is an autogenerated mock type for the QueryClient type
func NewCampaignClient ¶
func NewCampaignClient(t testing.TB) *CampaignClient
NewCampaignClient creates a new instance of CampaignClient. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*CampaignClient) AuctionsOfCampaign ¶
func (_m *CampaignClient) AuctionsOfCampaign(ctx context.Context, in *types.QueryAuctionsOfCampaignRequest, opts ...grpc.CallOption) (*types.QueryAuctionsOfCampaignResponse, error)
AuctionsOfCampaign provides a mock function with given fields: ctx, in, opts
func (*CampaignClient) Campaign ¶
func (_m *CampaignClient) Campaign(ctx context.Context, in *types.QueryGetCampaignRequest, opts ...grpc.CallOption) (*types.QueryGetCampaignResponse, error)
Campaign provides a mock function with given fields: ctx, in, opts
func (*CampaignClient) CampaignAll ¶
func (_m *CampaignClient) CampaignAll(ctx context.Context, in *types.QueryAllCampaignRequest, opts ...grpc.CallOption) (*types.QueryAllCampaignResponse, error)
CampaignAll provides a mock function with given fields: ctx, in, opts
func (*CampaignClient) CampaignChains ¶
func (_m *CampaignClient) CampaignChains(ctx context.Context, in *types.QueryGetCampaignChainsRequest, opts ...grpc.CallOption) (*types.QueryGetCampaignChainsResponse, error)
CampaignChains provides a mock function with given fields: ctx, in, opts
func (*CampaignClient) CampaignSummaries ¶
func (_m *CampaignClient) CampaignSummaries(ctx context.Context, in *types.QueryCampaignSummariesRequest, opts ...grpc.CallOption) (*types.QueryCampaignSummariesResponse, error)
CampaignSummaries provides a mock function with given fields: ctx, in, opts
func (*CampaignClient) CampaignSummary ¶
func (_m *CampaignClient) CampaignSummary(ctx context.Context, in *types.QueryCampaignSummaryRequest, opts ...grpc.CallOption) (*types.QueryCampaignSummaryResponse, error)
CampaignSummary provides a mock function with given fields: ctx, in, opts
func (*CampaignClient) MainnetAccount ¶
func (_m *CampaignClient) MainnetAccount(ctx context.Context, in *types.QueryGetMainnetAccountRequest, opts ...grpc.CallOption) (*types.QueryGetMainnetAccountResponse, error)
MainnetAccount provides a mock function with given fields: ctx, in, opts
func (*CampaignClient) MainnetAccountAll ¶
func (_m *CampaignClient) MainnetAccountAll(ctx context.Context, in *types.QueryAllMainnetAccountRequest, opts ...grpc.CallOption) (*types.QueryAllMainnetAccountResponse, error)
MainnetAccountAll provides a mock function with given fields: ctx, in, opts
func (*CampaignClient) MainnetVestingAccount ¶
func (_m *CampaignClient) MainnetVestingAccount(ctx context.Context, in *types.QueryGetMainnetVestingAccountRequest, opts ...grpc.CallOption) (*types.QueryGetMainnetVestingAccountResponse, error)
MainnetVestingAccount provides a mock function with given fields: ctx, in, opts
func (*CampaignClient) MainnetVestingAccountAll ¶
func (_m *CampaignClient) MainnetVestingAccountAll(ctx context.Context, in *types.QueryAllMainnetVestingAccountRequest, opts ...grpc.CallOption) (*types.QueryAllMainnetVestingAccountResponse, error)
MainnetVestingAccountAll provides a mock function with given fields: ctx, in, opts
func (*CampaignClient) Params ¶
func (_m *CampaignClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
Params provides a mock function with given fields: ctx, in, opts
func (*CampaignClient) TotalShares ¶
func (_m *CampaignClient) TotalShares(ctx context.Context, in *types.QueryTotalSharesRequest, opts ...grpc.CallOption) (*types.QueryTotalSharesResponse, error)
TotalShares provides a mock function with given fields: ctx, in, opts
type Chain ¶
Chain is an autogenerated mock type for the Chain type
func NewChain ¶
NewChain creates a new instance of Chain. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*Chain) AppTOMLPath ¶
AppTOMLPath provides a mock function with given fields:
func (*Chain) CacheBinary ¶
CacheBinary provides a mock function with given fields: launchID
func (*Chain) ConfigTOMLPath ¶
ConfigTOMLPath provides a mock function with given fields:
func (*Chain) DefaultGentxPath ¶
DefaultGentxPath provides a mock function with given fields:
func (*Chain) GenesisPath ¶
GenesisPath provides a mock function with given fields:
func (*Chain) GentxsPath ¶
GentxsPath provides a mock function with given fields:
func (*Chain) ResetGenesisTime ¶
ResetGenesisTime provides a mock function with given fields:
func (*Chain) SourceHash ¶
SourceHash provides a mock function with given fields:
type CosmosClient ¶
CosmosClient is an autogenerated mock type for the CosmosClient type
func NewCosmosClient ¶
func NewCosmosClient(t testing.TB) *CosmosClient
NewCosmosClient creates a new instance of CosmosClient. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*CosmosClient) Account ¶
func (_m *CosmosClient) Account(accountName string) (cosmosaccount.Account, error)
Account provides a mock function with given fields: accountName
func (*CosmosClient) Address ¶
func (_m *CosmosClient) Address(accountName string) (types.AccAddress, error)
Address provides a mock function with given fields: accountName
func (*CosmosClient) BroadcastTx ¶
func (_m *CosmosClient) BroadcastTx(accountName string, msgs ...types.Msg) (cosmosclient.Response, error)
BroadcastTx provides a mock function with given fields: accountName, msgs
func (*CosmosClient) BroadcastTxWithProvision ¶
func (_m *CosmosClient) BroadcastTxWithProvision(accountName string, msgs ...types.Msg) (uint64, func() (cosmosclient.Response, error), error)
BroadcastTxWithProvision provides a mock function with given fields: accountName, msgs
func (*CosmosClient) ConsensusInfo ¶
func (_m *CosmosClient) ConsensusInfo(ctx context.Context, height int64) (cosmosclient.ConsensusInfo, error)
ConsensusInfo provides a mock function with given fields: ctx, height
func (*CosmosClient) Context ¶
func (_m *CosmosClient) Context() client.Context
Context provides a mock function with given fields:
func (*CosmosClient) Status ¶
func (_m *CosmosClient) Status(ctx context.Context) (*coretypes.ResultStatus, error)
Status provides a mock function with given fields: ctx
type LaunchClient ¶
LaunchClient is an autogenerated mock type for the LaunchClient type
func NewLaunchClient ¶
func NewLaunchClient(t testing.TB) *LaunchClient
NewLaunchClient creates a new instance of LaunchClient. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*LaunchClient) Chain ¶
func (_m *LaunchClient) Chain(ctx context.Context, in *types.QueryGetChainRequest, opts ...grpc.CallOption) (*types.QueryGetChainResponse, error)
Chain provides a mock function with given fields: ctx, in, opts
func (*LaunchClient) ChainAll ¶
func (_m *LaunchClient) ChainAll(ctx context.Context, in *types.QueryAllChainRequest, opts ...grpc.CallOption) (*types.QueryAllChainResponse, error)
ChainAll provides a mock function with given fields: ctx, in, opts
func (*LaunchClient) GenesisAccount ¶
func (_m *LaunchClient) GenesisAccount(ctx context.Context, in *types.QueryGetGenesisAccountRequest, opts ...grpc.CallOption) (*types.QueryGetGenesisAccountResponse, error)
GenesisAccount provides a mock function with given fields: ctx, in, opts
func (*LaunchClient) GenesisAccountAll ¶
func (_m *LaunchClient) GenesisAccountAll(ctx context.Context, in *types.QueryAllGenesisAccountRequest, opts ...grpc.CallOption) (*types.QueryAllGenesisAccountResponse, error)
GenesisAccountAll provides a mock function with given fields: ctx, in, opts
func (*LaunchClient) GenesisValidator ¶
func (_m *LaunchClient) GenesisValidator(ctx context.Context, in *types.QueryGetGenesisValidatorRequest, opts ...grpc.CallOption) (*types.QueryGetGenesisValidatorResponse, error)
GenesisValidator provides a mock function with given fields: ctx, in, opts
func (*LaunchClient) GenesisValidatorAll ¶
func (_m *LaunchClient) GenesisValidatorAll(ctx context.Context, in *types.QueryAllGenesisValidatorRequest, opts ...grpc.CallOption) (*types.QueryAllGenesisValidatorResponse, error)
GenesisValidatorAll provides a mock function with given fields: ctx, in, opts
func (*LaunchClient) Params ¶
func (_m *LaunchClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
Params provides a mock function with given fields: ctx, in, opts
func (*LaunchClient) Request ¶
func (_m *LaunchClient) Request(ctx context.Context, in *types.QueryGetRequestRequest, opts ...grpc.CallOption) (*types.QueryGetRequestResponse, error)
Request provides a mock function with given fields: ctx, in, opts
func (*LaunchClient) RequestAll ¶
func (_m *LaunchClient) RequestAll(ctx context.Context, in *types.QueryAllRequestRequest, opts ...grpc.CallOption) (*types.QueryAllRequestResponse, error)
RequestAll provides a mock function with given fields: ctx, in, opts
func (*LaunchClient) VestingAccount ¶
func (_m *LaunchClient) VestingAccount(ctx context.Context, in *types.QueryGetVestingAccountRequest, opts ...grpc.CallOption) (*types.QueryGetVestingAccountResponse, error)
VestingAccount provides a mock function with given fields: ctx, in, opts
func (*LaunchClient) VestingAccountAll ¶
func (_m *LaunchClient) VestingAccountAll(ctx context.Context, in *types.QueryAllVestingAccountRequest, opts ...grpc.CallOption) (*types.QueryAllVestingAccountResponse, error)
VestingAccountAll provides a mock function with given fields: ctx, in, opts
type ProfileClient ¶
ProfileClient is an autogenerated mock type for the ProfileClient type
func NewProfileClient ¶
func NewProfileClient(t testing.TB) *ProfileClient
NewProfileClient creates a new instance of ProfileClient. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*ProfileClient) Coordinator ¶
func (_m *ProfileClient) Coordinator(ctx context.Context, in *types.QueryGetCoordinatorRequest, opts ...grpc.CallOption) (*types.QueryGetCoordinatorResponse, error)
Coordinator provides a mock function with given fields: ctx, in, opts
func (*ProfileClient) CoordinatorAll ¶
func (_m *ProfileClient) CoordinatorAll(ctx context.Context, in *types.QueryAllCoordinatorRequest, opts ...grpc.CallOption) (*types.QueryAllCoordinatorResponse, error)
CoordinatorAll provides a mock function with given fields: ctx, in, opts
func (*ProfileClient) CoordinatorByAddress ¶
func (_m *ProfileClient) CoordinatorByAddress(ctx context.Context, in *types.QueryGetCoordinatorByAddressRequest, opts ...grpc.CallOption) (*types.QueryGetCoordinatorByAddressResponse, error)
CoordinatorByAddress provides a mock function with given fields: ctx, in, opts
func (*ProfileClient) Validator ¶
func (_m *ProfileClient) Validator(ctx context.Context, in *types.QueryGetValidatorRequest, opts ...grpc.CallOption) (*types.QueryGetValidatorResponse, error)
Validator provides a mock function with given fields: ctx, in, opts
func (*ProfileClient) ValidatorAll ¶
func (_m *ProfileClient) ValidatorAll(ctx context.Context, in *types.QueryAllValidatorRequest, opts ...grpc.CallOption) (*types.QueryAllValidatorResponse, error)
ValidatorAll provides a mock function with given fields: ctx, in, opts
func (*ProfileClient) ValidatorByOperatorAddress ¶
func (_m *ProfileClient) ValidatorByOperatorAddress(ctx context.Context, in *types.QueryGetValidatorByOperatorAddressRequest, opts ...grpc.CallOption) (*types.QueryGetValidatorByOperatorAddressResponse, error)
ValidatorByOperatorAddress provides a mock function with given fields: ctx, in, opts
type RewardClient ¶
RewardClient is an autogenerated mock type for the RewardClient type
func NewRewardClient ¶
func NewRewardClient(t testing.TB) *RewardClient
NewRewardClient creates a new instance of RewardClient. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*RewardClient) Params ¶
func (_m *RewardClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
Params provides a mock function with given fields: ctx, in, opts
func (*RewardClient) RewardPool ¶
func (_m *RewardClient) RewardPool(ctx context.Context, in *types.QueryGetRewardPoolRequest, opts ...grpc.CallOption) (*types.QueryGetRewardPoolResponse, error)
RewardPool provides a mock function with given fields: ctx, in, opts
func (*RewardClient) RewardPoolAll ¶
func (_m *RewardClient) RewardPoolAll(ctx context.Context, in *types.QueryAllRewardPoolRequest, opts ...grpc.CallOption) (*types.QueryAllRewardPoolResponse, error)
RewardPoolAll provides a mock function with given fields: ctx, in, opts
type StakingClient ¶
StakingClient is an autogenerated mock type for the StakingClient type
func NewQueryClient ¶
func NewQueryClient(t testing.TB) *StakingClient
NewQueryClient creates a new instance of StakingClient. It also registers a cleanup function to assert the mocks expectations.
func (*StakingClient) Delegation ¶
func (_m *StakingClient) Delegation(ctx context.Context, in *types.QueryDelegationRequest, opts ...grpc.CallOption) (*types.QueryDelegationResponse, error)
Delegation provides a mock function with given fields: ctx, in, opts
func (*StakingClient) DelegatorDelegations ¶
func (_m *StakingClient) DelegatorDelegations(ctx context.Context, in *types.QueryDelegatorDelegationsRequest, opts ...grpc.CallOption) (*types.QueryDelegatorDelegationsResponse, error)
DelegatorDelegations provides a mock function with given fields: ctx, in, opts
func (*StakingClient) DelegatorUnbondingDelegations ¶
func (_m *StakingClient) DelegatorUnbondingDelegations(ctx context.Context, in *types.QueryDelegatorUnbondingDelegationsRequest, opts ...grpc.CallOption) (*types.QueryDelegatorUnbondingDelegationsResponse, error)
DelegatorUnbondingDelegations provides a mock function with given fields: ctx, in, opts
func (*StakingClient) DelegatorValidator ¶
func (_m *StakingClient) DelegatorValidator(ctx context.Context, in *types.QueryDelegatorValidatorRequest, opts ...grpc.CallOption) (*types.QueryDelegatorValidatorResponse, error)
DelegatorValidator provides a mock function with given fields: ctx, in, opts
func (*StakingClient) DelegatorValidators ¶
func (_m *StakingClient) DelegatorValidators(ctx context.Context, in *types.QueryDelegatorValidatorsRequest, opts ...grpc.CallOption) (*types.QueryDelegatorValidatorsResponse, error)
DelegatorValidators provides a mock function with given fields: ctx, in, opts
func (*StakingClient) HistoricalInfo ¶
func (_m *StakingClient) HistoricalInfo(ctx context.Context, in *types.QueryHistoricalInfoRequest, opts ...grpc.CallOption) (*types.QueryHistoricalInfoResponse, error)
HistoricalInfo provides a mock function with given fields: ctx, in, opts
func (*StakingClient) Params ¶
func (_m *StakingClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
Params provides a mock function with given fields: ctx, in, opts
func (*StakingClient) Pool ¶
func (_m *StakingClient) Pool(ctx context.Context, in *types.QueryPoolRequest, opts ...grpc.CallOption) (*types.QueryPoolResponse, error)
Pool provides a mock function with given fields: ctx, in, opts
func (*StakingClient) Redelegations ¶
func (_m *StakingClient) Redelegations(ctx context.Context, in *types.QueryRedelegationsRequest, opts ...grpc.CallOption) (*types.QueryRedelegationsResponse, error)
Redelegations provides a mock function with given fields: ctx, in, opts
func (*StakingClient) UnbondingDelegation ¶
func (_m *StakingClient) UnbondingDelegation(ctx context.Context, in *types.QueryUnbondingDelegationRequest, opts ...grpc.CallOption) (*types.QueryUnbondingDelegationResponse, error)
UnbondingDelegation provides a mock function with given fields: ctx, in, opts
func (*StakingClient) Validator ¶
func (_m *StakingClient) Validator(ctx context.Context, in *types.QueryValidatorRequest, opts ...grpc.CallOption) (*types.QueryValidatorResponse, error)
Validator provides a mock function with given fields: ctx, in, opts
func (*StakingClient) ValidatorDelegations ¶
func (_m *StakingClient) ValidatorDelegations(ctx context.Context, in *types.QueryValidatorDelegationsRequest, opts ...grpc.CallOption) (*types.QueryValidatorDelegationsResponse, error)
ValidatorDelegations provides a mock function with given fields: ctx, in, opts
func (*StakingClient) ValidatorUnbondingDelegations ¶
func (_m *StakingClient) ValidatorUnbondingDelegations(ctx context.Context, in *types.QueryValidatorUnbondingDelegationsRequest, opts ...grpc.CallOption) (*types.QueryValidatorUnbondingDelegationsResponse, error)
ValidatorUnbondingDelegations provides a mock function with given fields: ctx, in, opts
func (*StakingClient) Validators ¶
func (_m *StakingClient) Validators(ctx context.Context, in *types.QueryValidatorsRequest, opts ...grpc.CallOption) (*types.QueryValidatorsResponse, error)
Validators provides a mock function with given fields: ctx, in, opts