mocks

package
v0.0.0-...-7149754 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountInfo

type AccountInfo struct {
	mock.Mock
}

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

type CampaignClient struct {
	mock.Mock
}

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

AuctionsOfCampaign provides a mock function with given fields: ctx, in, opts

func (*CampaignClient) Campaign

Campaign provides a mock function with given fields: ctx, in, opts

func (*CampaignClient) CampaignAll

CampaignAll provides a mock function with given fields: ctx, in, opts

func (*CampaignClient) CampaignChains

CampaignChains provides a mock function with given fields: ctx, in, opts

func (*CampaignClient) CampaignSummaries

CampaignSummaries provides a mock function with given fields: ctx, in, opts

func (*CampaignClient) CampaignSummary

CampaignSummary provides a mock function with given fields: ctx, in, opts

func (*CampaignClient) MainnetAccount

MainnetAccount provides a mock function with given fields: ctx, in, opts

func (*CampaignClient) MainnetAccountAll

MainnetAccountAll provides a mock function with given fields: ctx, in, opts

func (*CampaignClient) MainnetVestingAccount

MainnetVestingAccount provides a mock function with given fields: ctx, in, opts

func (*CampaignClient) MainnetVestingAccountAll

MainnetVestingAccountAll provides a mock function with given fields: ctx, in, opts

func (*CampaignClient) Params

Params provides a mock function with given fields: ctx, in, opts

func (*CampaignClient) TotalShares

TotalShares provides a mock function with given fields: ctx, in, opts

type Chain

type Chain struct {
	mock.Mock
}

Chain is an autogenerated mock type for the Chain type

func NewChain

func NewChain(t testing.TB) *Chain

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

func (_m *Chain) AppTOMLPath() (string, error)

AppTOMLPath provides a mock function with given fields:

func (*Chain) CacheBinary

func (_m *Chain) CacheBinary(launchID uint64) error

CacheBinary provides a mock function with given fields: launchID

func (*Chain) ChainID

func (_m *Chain) ChainID() (string, error)

ChainID provides a mock function with given fields:

func (*Chain) ConfigTOMLPath

func (_m *Chain) ConfigTOMLPath() (string, error)

ConfigTOMLPath provides a mock function with given fields:

func (*Chain) DefaultGentxPath

func (_m *Chain) DefaultGentxPath() (string, error)

DefaultGentxPath provides a mock function with given fields:

func (*Chain) GenesisPath

func (_m *Chain) GenesisPath() (string, error)

GenesisPath provides a mock function with given fields:

func (*Chain) GentxsPath

func (_m *Chain) GentxsPath() (string, error)

GentxsPath provides a mock function with given fields:

func (*Chain) ID

func (_m *Chain) ID() (string, error)

ID provides a mock function with given fields:

func (*Chain) Name

func (_m *Chain) Name() string

Name provides a mock function with given fields:

func (*Chain) NodeID

func (_m *Chain) NodeID(ctx context.Context) (string, error)

NodeID provides a mock function with given fields: ctx

func (*Chain) ResetGenesisTime

func (_m *Chain) ResetGenesisTime() error

ResetGenesisTime provides a mock function with given fields:

func (*Chain) SourceHash

func (_m *Chain) SourceHash() string

SourceHash provides a mock function with given fields:

func (*Chain) SourceURL

func (_m *Chain) SourceURL() string

SourceURL provides a mock function with given fields:

type CosmosClient

type CosmosClient struct {
	mock.Mock
}

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

Status provides a mock function with given fields: ctx

type LaunchClient

type LaunchClient struct {
	mock.Mock
}

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

Chain provides a mock function with given fields: ctx, in, opts

func (*LaunchClient) ChainAll

ChainAll provides a mock function with given fields: ctx, in, opts

func (*LaunchClient) GenesisAccount

GenesisAccount provides a mock function with given fields: ctx, in, opts

func (*LaunchClient) GenesisAccountAll

GenesisAccountAll provides a mock function with given fields: ctx, in, opts

func (*LaunchClient) GenesisValidator

GenesisValidator provides a mock function with given fields: ctx, in, opts

func (*LaunchClient) GenesisValidatorAll

GenesisValidatorAll provides a mock function with given fields: ctx, in, opts

func (*LaunchClient) Params

Params provides a mock function with given fields: ctx, in, opts

func (*LaunchClient) Request

Request provides a mock function with given fields: ctx, in, opts

func (*LaunchClient) RequestAll

RequestAll provides a mock function with given fields: ctx, in, opts

func (*LaunchClient) VestingAccount

VestingAccount provides a mock function with given fields: ctx, in, opts

func (*LaunchClient) VestingAccountAll

VestingAccountAll provides a mock function with given fields: ctx, in, opts

type ProfileClient

type ProfileClient struct {
	mock.Mock
}

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

Coordinator provides a mock function with given fields: ctx, in, opts

func (*ProfileClient) CoordinatorAll

CoordinatorAll provides a mock function with given fields: ctx, in, opts

func (*ProfileClient) CoordinatorByAddress

CoordinatorByAddress provides a mock function with given fields: ctx, in, opts

func (*ProfileClient) Validator

Validator provides a mock function with given fields: ctx, in, opts

func (*ProfileClient) ValidatorAll

ValidatorAll provides a mock function with given fields: ctx, in, opts

func (*ProfileClient) ValidatorByOperatorAddress

ValidatorByOperatorAddress provides a mock function with given fields: ctx, in, opts

type RewardClient

type RewardClient struct {
	mock.Mock
}

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

Params provides a mock function with given fields: ctx, in, opts

func (*RewardClient) RewardPool

RewardPool provides a mock function with given fields: ctx, in, opts

func (*RewardClient) RewardPoolAll

RewardPoolAll provides a mock function with given fields: ctx, in, opts

type StakingClient

type StakingClient struct {
	mock.Mock
}

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

Delegation provides a mock function with given fields: ctx, in, opts

func (*StakingClient) DelegatorDelegations

DelegatorDelegations provides a mock function with given fields: ctx, in, opts

func (*StakingClient) DelegatorUnbondingDelegations

DelegatorUnbondingDelegations provides a mock function with given fields: ctx, in, opts

func (*StakingClient) DelegatorValidator

DelegatorValidator provides a mock function with given fields: ctx, in, opts

func (*StakingClient) DelegatorValidators

DelegatorValidators provides a mock function with given fields: ctx, in, opts

func (*StakingClient) HistoricalInfo

HistoricalInfo provides a mock function with given fields: ctx, in, opts

func (*StakingClient) Params

Params provides a mock function with given fields: ctx, in, opts

func (*StakingClient) Pool

Pool provides a mock function with given fields: ctx, in, opts

func (*StakingClient) Redelegations

Redelegations provides a mock function with given fields: ctx, in, opts

func (*StakingClient) UnbondingDelegation

UnbondingDelegation provides a mock function with given fields: ctx, in, opts

func (*StakingClient) Validator

Validator provides a mock function with given fields: ctx, in, opts

func (*StakingClient) ValidatorDelegations

ValidatorDelegations provides a mock function with given fields: ctx, in, opts

func (*StakingClient) ValidatorUnbondingDelegations

ValidatorUnbondingDelegations provides a mock function with given fields: ctx, in, opts

func (*StakingClient) Validators

Validators provides a mock function with given fields: ctx, in, opts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL