mock_types

package
v8.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_types is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBankKeeper

type MockBankKeeper struct {
	// contains filtered or unexported fields
}

MockBankKeeper is a mock of BankKeeper interface.

func NewMockBankKeeper

func NewMockBankKeeper(ctrl *gomock.Controller) *MockBankKeeper

NewMockBankKeeper creates a new mock instance.

func (*MockBankKeeper) BlockedAddr

func (m *MockBankKeeper) BlockedAddr(addr types.AccAddress) bool

BlockedAddr mocks base method.

func (*MockBankKeeper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBankKeeper) GetAllBalances

func (m *MockBankKeeper) GetAllBalances(ctx types.Context, addr types.AccAddress) types.Coins

GetAllBalances mocks base method.

func (*MockBankKeeper) GetBalance

func (m *MockBankKeeper) GetBalance(ctx types.Context, addr types.AccAddress, denom string) types.Coin

GetBalance mocks base method.

func (*MockBankKeeper) LockedCoins

func (m *MockBankKeeper) LockedCoins(ctx types.Context, addr types.AccAddress) types.Coins

LockedCoins mocks base method.

func (*MockBankKeeper) SendCoinsFromAccountToModule

func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx types.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error

SendCoinsFromAccountToModule mocks base method.

func (*MockBankKeeper) SendCoinsFromModuleToAccount

func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx types.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error

SendCoinsFromModuleToAccount mocks base method.

func (*MockBankKeeper) SendCoinsFromModuleToModule

func (m *MockBankKeeper) SendCoinsFromModuleToModule(ctx types.Context, senderModule, recipientModule string, amt types.Coins) error

SendCoinsFromModuleToModule mocks base method.

func (*MockBankKeeper) SpendableCoins

func (m *MockBankKeeper) SpendableCoins(ctx types.Context, addr types.AccAddress) types.Coins

SpendableCoins mocks base method.

type MockBankKeeperMockRecorder

type MockBankKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.

func (*MockBankKeeperMockRecorder) BlockedAddr

func (mr *MockBankKeeperMockRecorder) BlockedAddr(addr interface{}) *gomock.Call

BlockedAddr indicates an expected call of BlockedAddr.

func (*MockBankKeeperMockRecorder) GetAllBalances

func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr interface{}) *gomock.Call

GetAllBalances indicates an expected call of GetAllBalances.

func (*MockBankKeeperMockRecorder) GetBalance

func (mr *MockBankKeeperMockRecorder) GetBalance(ctx, addr, denom interface{}) *gomock.Call

GetBalance indicates an expected call of GetBalance.

func (*MockBankKeeperMockRecorder) LockedCoins

func (mr *MockBankKeeperMockRecorder) LockedCoins(ctx, addr interface{}) *gomock.Call

LockedCoins indicates an expected call of LockedCoins.

func (*MockBankKeeperMockRecorder) SendCoinsFromAccountToModule

func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call

SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule.

func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount

func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call

SendCoinsFromModuleToAccount indicates an expected call of SendCoinsFromModuleToAccount.

func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToModule

func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToModule(ctx, senderModule, recipientModule, amt interface{}) *gomock.Call

SendCoinsFromModuleToModule indicates an expected call of SendCoinsFromModuleToModule.

func (*MockBankKeeperMockRecorder) SpendableCoins

func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr interface{}) *gomock.Call

SpendableCoins indicates an expected call of SpendableCoins.

type MockDistributionKeeper

type MockDistributionKeeper struct {
	// contains filtered or unexported fields
}

MockDistributionKeeper is a mock of DistributionKeeper interface.

func NewMockDistributionKeeper

func NewMockDistributionKeeper(ctrl *gomock.Controller) *MockDistributionKeeper

NewMockDistributionKeeper creates a new mock instance.

func (*MockDistributionKeeper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDistributionKeeper) GetFeePool

func (m *MockDistributionKeeper) GetFeePool(ctx types.Context) types0.FeePool

GetFeePool mocks base method.

func (*MockDistributionKeeper) GetValidatorAccumulatedCommission

func (m *MockDistributionKeeper) GetValidatorAccumulatedCommission(ctx types.Context, valAddr types.ValAddress) types0.ValidatorAccumulatedCommission

GetValidatorAccumulatedCommission mocks base method.

func (*MockDistributionKeeper) GetValidatorCurrentRewards

func (m *MockDistributionKeeper) GetValidatorCurrentRewards(ctx types.Context, valAddr types.ValAddress) types0.ValidatorCurrentRewards

GetValidatorCurrentRewards mocks base method.

func (*MockDistributionKeeper) GetValidatorOutstandingRewards

func (m *MockDistributionKeeper) GetValidatorOutstandingRewards(ctx types.Context, valAddr types.ValAddress) types0.ValidatorOutstandingRewards

GetValidatorOutstandingRewards mocks base method.

func (*MockDistributionKeeper) SetFeePool

func (m *MockDistributionKeeper) SetFeePool(ctx types.Context, feePool types0.FeePool)

SetFeePool mocks base method.

func (*MockDistributionKeeper) SetValidatorAccumulatedCommission

func (m *MockDistributionKeeper) SetValidatorAccumulatedCommission(ctx types.Context, valAddr types.ValAddress, commission types0.ValidatorAccumulatedCommission)

SetValidatorAccumulatedCommission mocks base method.

func (*MockDistributionKeeper) SetValidatorCurrentRewards

func (m *MockDistributionKeeper) SetValidatorCurrentRewards(ctx types.Context, valAddr types.ValAddress, rewards types0.ValidatorCurrentRewards)

SetValidatorCurrentRewards mocks base method.

func (*MockDistributionKeeper) SetValidatorOutstandingRewards

func (m *MockDistributionKeeper) SetValidatorOutstandingRewards(ctx types.Context, valAddr types.ValAddress, rewards types0.ValidatorOutstandingRewards)

SetValidatorOutstandingRewards mocks base method.

type MockDistributionKeeperMockRecorder

type MockDistributionKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockDistributionKeeperMockRecorder is the mock recorder for MockDistributionKeeper.

func (*MockDistributionKeeperMockRecorder) GetFeePool

func (mr *MockDistributionKeeperMockRecorder) GetFeePool(ctx interface{}) *gomock.Call

GetFeePool indicates an expected call of GetFeePool.

func (*MockDistributionKeeperMockRecorder) GetValidatorAccumulatedCommission

func (mr *MockDistributionKeeperMockRecorder) GetValidatorAccumulatedCommission(ctx, valAddr interface{}) *gomock.Call

GetValidatorAccumulatedCommission indicates an expected call of GetValidatorAccumulatedCommission.

func (*MockDistributionKeeperMockRecorder) GetValidatorCurrentRewards

func (mr *MockDistributionKeeperMockRecorder) GetValidatorCurrentRewards(ctx, valAddr interface{}) *gomock.Call

GetValidatorCurrentRewards indicates an expected call of GetValidatorCurrentRewards.

func (*MockDistributionKeeperMockRecorder) GetValidatorOutstandingRewards

func (mr *MockDistributionKeeperMockRecorder) GetValidatorOutstandingRewards(ctx, valAddr interface{}) *gomock.Call

GetValidatorOutstandingRewards indicates an expected call of GetValidatorOutstandingRewards.

func (*MockDistributionKeeperMockRecorder) SetFeePool

func (mr *MockDistributionKeeperMockRecorder) SetFeePool(ctx, feePool interface{}) *gomock.Call

SetFeePool indicates an expected call of SetFeePool.

func (*MockDistributionKeeperMockRecorder) SetValidatorAccumulatedCommission

func (mr *MockDistributionKeeperMockRecorder) SetValidatorAccumulatedCommission(ctx, valAddr, commission interface{}) *gomock.Call

SetValidatorAccumulatedCommission indicates an expected call of SetValidatorAccumulatedCommission.

func (*MockDistributionKeeperMockRecorder) SetValidatorCurrentRewards

func (mr *MockDistributionKeeperMockRecorder) SetValidatorCurrentRewards(ctx, valAddr, rewards interface{}) *gomock.Call

SetValidatorCurrentRewards indicates an expected call of SetValidatorCurrentRewards.

func (*MockDistributionKeeperMockRecorder) SetValidatorOutstandingRewards

func (mr *MockDistributionKeeperMockRecorder) SetValidatorOutstandingRewards(ctx, valAddr, rewards interface{}) *gomock.Call

SetValidatorOutstandingRewards indicates an expected call of SetValidatorOutstandingRewards.

type MockMintKeeper

type MockMintKeeper struct {
	// contains filtered or unexported fields
}

MockMintKeeper is a mock of MintKeeper interface.

func NewMockMintKeeper

func NewMockMintKeeper(ctrl *gomock.Controller) *MockMintKeeper

NewMockMintKeeper creates a new mock instance.

func (*MockMintKeeper) BondedRatio

func (m *MockMintKeeper) BondedRatio(ctx types.Context) types.Dec

BondedRatio mocks base method.

func (*MockMintKeeper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMintKeeper) GetParams

func (m *MockMintKeeper) GetParams(ctx types.Context) types1.Params

GetParams mocks base method.

func (*MockMintKeeper) StakingTokenSupply

func (m *MockMintKeeper) StakingTokenSupply(ctx types.Context) math.Int

StakingTokenSupply mocks base method.

type MockMintKeeperMockRecorder

type MockMintKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockMintKeeperMockRecorder is the mock recorder for MockMintKeeper.

func (*MockMintKeeperMockRecorder) BondedRatio

func (mr *MockMintKeeperMockRecorder) BondedRatio(ctx interface{}) *gomock.Call

BondedRatio indicates an expected call of BondedRatio.

func (*MockMintKeeperMockRecorder) GetParams

func (mr *MockMintKeeperMockRecorder) GetParams(ctx interface{}) *gomock.Call

GetParams indicates an expected call of GetParams.

func (*MockMintKeeperMockRecorder) StakingTokenSupply

func (mr *MockMintKeeperMockRecorder) StakingTokenSupply(ctx interface{}) *gomock.Call

StakingTokenSupply indicates an expected call of StakingTokenSupply.

type MockStakingKeeper

type MockStakingKeeper struct {
	// contains filtered or unexported fields
}

MockStakingKeeper is a mock of StakingKeeper interface.

func NewMockStakingKeeper

func NewMockStakingKeeper(ctrl *gomock.Controller) *MockStakingKeeper

NewMockStakingKeeper creates a new mock instance.

func (*MockStakingKeeper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStakingKeeper) ValidatorByConsAddr

func (m *MockStakingKeeper) ValidatorByConsAddr(ctx types.Context, consAddr types.ConsAddress) types2.ValidatorI

ValidatorByConsAddr mocks base method.

type MockStakingKeeperMockRecorder

type MockStakingKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockStakingKeeperMockRecorder is the mock recorder for MockStakingKeeper.

func (*MockStakingKeeperMockRecorder) ValidatorByConsAddr

func (mr *MockStakingKeeperMockRecorder) ValidatorByConsAddr(ctx, consAddr interface{}) *gomock.Call

ValidatorByConsAddr indicates an expected call of ValidatorByConsAddr.

Jump to

Keyboard shortcuts

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