mocks

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 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 added in v0.21.1

func NewAccountInfo(t NewAccountInfoT) *AccountInfo

NewAccountInfo creates a new instance of AccountInfo. It also registers a testing 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 added in v0.21.1

func NewCampaignClient(t NewCampaignClientT) *CampaignClient

NewCampaignClient creates a new instance of CampaignClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*CampaignClient) AuctionsOfCampaign added in v0.21.1

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) MainnetAccountBalance added in v0.22.0

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

func (*CampaignClient) MainnetAccountBalanceAll added in v0.22.0

MainnetAccountBalanceAll 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) SpecialAllocationsBalance added in v0.22.0

SpecialAllocationsBalance 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 added in v0.21.1

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 added in v0.21.1

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 added in v0.21.1

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 added in v0.21.1

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 added in v0.21.1

func NewLaunchClient(t NewLaunchClientT) *LaunchClient

NewLaunchClient creates a new instance of LaunchClient. It also registers a testing 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 NewAccountInfoT added in v0.22.0

type NewAccountInfoT interface {
	mock.TestingT
	Cleanup(func())
}

type NewCampaignClientT added in v0.22.0

type NewCampaignClientT interface {
	mock.TestingT
	Cleanup(func())
}

type NewLaunchClientT added in v0.22.0

type NewLaunchClientT interface {
	mock.TestingT
	Cleanup(func())
}

type NewProfileClientT added in v0.22.0

type NewProfileClientT interface {
	mock.TestingT
	Cleanup(func())
}

type NewRewardClientT added in v0.22.0

type NewRewardClientT interface {
	mock.TestingT
	Cleanup(func())
}

type ProfileClient

type ProfileClient struct {
	mock.Mock
}

ProfileClient is an autogenerated mock type for the ProfileClient type

func NewProfileClient added in v0.21.1

func NewProfileClient(t NewProfileClientT) *ProfileClient

NewProfileClient creates a new instance of ProfileClient. It also registers a testing 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 added in v0.21.1

func NewRewardClient(t NewRewardClientT) *RewardClient

NewRewardClient creates a new instance of RewardClient. It also registers a testing 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 added in v0.21.1

type StakingClient struct {
	mock.Mock
}

StakingClient is an autogenerated mock type for the StakingClient type

func NewQueryClient added in v0.21.1

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 added in v0.21.1

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

func (*StakingClient) DelegatorDelegations added in v0.21.1

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

func (*StakingClient) DelegatorUnbondingDelegations added in v0.21.1

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

func (*StakingClient) DelegatorValidator added in v0.21.1

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

func (*StakingClient) DelegatorValidators added in v0.21.1

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

func (*StakingClient) HistoricalInfo added in v0.21.1

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

func (*StakingClient) Params added in v0.21.1

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

func (*StakingClient) Pool added in v0.21.1

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

func (*StakingClient) Redelegations added in v0.21.1

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

func (*StakingClient) UnbondingDelegation added in v0.21.1

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

func (*StakingClient) Validator added in v0.21.1

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

func (*StakingClient) ValidatorDelegations added in v0.21.1

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

func (*StakingClient) ValidatorUnbondingDelegations added in v0.21.1

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

func (*StakingClient) Validators added in v0.21.1

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