keeper

package
v0.4.4 Latest Latest
Warning

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

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

Documentation

Overview

Package keeper is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccountKeeper

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

MockAccountKeeper is a mock of AccountKeeper interface.

func NewMockAccountKeeper

func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper

NewMockAccountKeeper creates a new mock instance.

func (*MockAccountKeeper) EXPECT

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

func (*MockAccountKeeper) GetAccount

func (m *MockAccountKeeper) GetAccount(ctx types.Context, addr types.AccAddress) types0.AccountI

GetAccount mocks base method.

func (*MockAccountKeeper) GetModuleAccount

func (m *MockAccountKeeper) GetModuleAccount(ctx types.Context, name string) types0.ModuleAccountI

GetModuleAccount mocks base method.

func (*MockAccountKeeper) GetModuleAddress

func (m *MockAccountKeeper) GetModuleAddress(name string) types.AccAddress

GetModuleAddress mocks base method.

type MockAccountKeeperMockRecorder

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

MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.

func (*MockAccountKeeperMockRecorder) GetAccount

func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount.

func (*MockAccountKeeperMockRecorder) GetModuleAccount

func (mr *MockAccountKeeperMockRecorder) GetModuleAccount(ctx, name interface{}) *gomock.Call

GetModuleAccount indicates an expected call of GetModuleAccount.

func (*MockAccountKeeperMockRecorder) GetModuleAddress

func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(name interface{}) *gomock.Call

GetModuleAddress indicates an expected call of GetModuleAddress.

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) BurnCoins

func (m *MockBankKeeper) BurnCoins(ctx types.Context, moduleName string, amt types.Coins) error

BurnCoins 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) MintCoins

func (m *MockBankKeeper) MintCoins(ctx types.Context, moduleName string, amt types.Coins) error

MintCoins 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.

type MockBankKeeperMockRecorder

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

MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.

func (*MockBankKeeperMockRecorder) BurnCoins

func (mr *MockBankKeeperMockRecorder) BurnCoins(ctx, moduleName, amt interface{}) *gomock.Call

BurnCoins indicates an expected call of BurnCoins.

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) MintCoins

func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, moduleName, amt interface{}) *gomock.Call

MintCoins indicates an expected call of MintCoins.

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.

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) WithdrawDelegationRewards

func (m *MockDistributionKeeper) WithdrawDelegationRewards(ctx types.Context, delAddr types.AccAddress, valAddr types.ValAddress) (types.Coins, error)

WithdrawDelegationRewards mocks base method.

type MockDistributionKeeperMockRecorder

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

MockDistributionKeeperMockRecorder is the mock recorder for MockDistributionKeeper.

func (*MockDistributionKeeperMockRecorder) WithdrawDelegationRewards

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

WithdrawDelegationRewards indicates an expected call of WithdrawDelegationRewards.

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) BeginRedelegation

func (m *MockStakingKeeper) BeginRedelegation(ctx types.Context, delAddr types.AccAddress, valSrcAddr, valDstAddr types.ValAddress, sharesAmount math.LegacyDec) (time.Time, error)

BeginRedelegation mocks base method.

func (*MockStakingKeeper) BondDenom

func (m *MockStakingKeeper) BondDenom(ctx types.Context) string

BondDenom mocks base method.

func (*MockStakingKeeper) Delegate

func (m *MockStakingKeeper) Delegate(ctx types.Context, delAddr types.AccAddress, bondAmt math.Int, tokenSrc types1.BondStatus, validator types1.Validator, subtractAccount bool) (math.LegacyDec, error)

Delegate mocks base method.

func (*MockStakingKeeper) EXPECT

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

func (*MockStakingKeeper) GetDelegation

func (m *MockStakingKeeper) GetDelegation(ctx types.Context, delAddr types.AccAddress, valAddr types.ValAddress) (types1.Delegation, bool)

GetDelegation mocks base method.

func (*MockStakingKeeper) GetDelegatorBonded

func (m *MockStakingKeeper) GetDelegatorBonded(ctx types.Context, delegator types.AccAddress) math.Int

GetDelegatorBonded mocks base method.

func (*MockStakingKeeper) GetValidator

func (m *MockStakingKeeper) GetValidator(ctx types.Context, addr types.ValAddress) (types1.Validator, bool)

GetValidator mocks base method.

func (*MockStakingKeeper) RemoveRedelegation

func (m *MockStakingKeeper) RemoveRedelegation(ctx types.Context, red types1.Redelegation)

RemoveRedelegation mocks base method.

func (*MockStakingKeeper) RemoveValidatorTokens

func (m *MockStakingKeeper) RemoveValidatorTokens(ctx types.Context, validator types1.Validator, tokensToRemove math.Int) types1.Validator

RemoveValidatorTokens mocks base method.

func (*MockStakingKeeper) RemoveValidatorTokensAndShares

func (m *MockStakingKeeper) RemoveValidatorTokensAndShares(ctx types.Context, validator types1.Validator, sharesToRemove math.LegacyDec) (types1.Validator, math.Int)

RemoveValidatorTokensAndShares mocks base method.

func (*MockStakingKeeper) TotalBondedTokens

func (m *MockStakingKeeper) TotalBondedTokens(ctx types.Context) math.Int

TotalBondedTokens mocks base method.

func (*MockStakingKeeper) Unbond

func (m *MockStakingKeeper) Unbond(ctx types.Context, delAddr types.AccAddress, valAddr types.ValAddress, shares math.LegacyDec) (math.Int, error)

Unbond mocks base method.

func (*MockStakingKeeper) UnbondingTime

func (m *MockStakingKeeper) UnbondingTime(ctx types.Context) time.Duration

UnbondingTime mocks base method.

func (*MockStakingKeeper) ValidateUnbondAmount

func (m *MockStakingKeeper) ValidateUnbondAmount(ctx types.Context, delAddr types.AccAddress, valAddr types.ValAddress, amt math.Int) (math.LegacyDec, error)

ValidateUnbondAmount mocks base method.

type MockStakingKeeperMockRecorder

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

MockStakingKeeperMockRecorder is the mock recorder for MockStakingKeeper.

func (*MockStakingKeeperMockRecorder) BeginRedelegation

func (mr *MockStakingKeeperMockRecorder) BeginRedelegation(ctx, delAddr, valSrcAddr, valDstAddr, sharesAmount interface{}) *gomock.Call

BeginRedelegation indicates an expected call of BeginRedelegation.

func (*MockStakingKeeperMockRecorder) BondDenom

func (mr *MockStakingKeeperMockRecorder) BondDenom(ctx interface{}) *gomock.Call

BondDenom indicates an expected call of BondDenom.

func (*MockStakingKeeperMockRecorder) Delegate

func (mr *MockStakingKeeperMockRecorder) Delegate(ctx, delAddr, bondAmt, tokenSrc, validator, subtractAccount interface{}) *gomock.Call

Delegate indicates an expected call of Delegate.

func (*MockStakingKeeperMockRecorder) GetDelegation

func (mr *MockStakingKeeperMockRecorder) GetDelegation(ctx, delAddr, valAddr interface{}) *gomock.Call

GetDelegation indicates an expected call of GetDelegation.

func (*MockStakingKeeperMockRecorder) GetDelegatorBonded

func (mr *MockStakingKeeperMockRecorder) GetDelegatorBonded(ctx, delegator interface{}) *gomock.Call

GetDelegatorBonded indicates an expected call of GetDelegatorBonded.

func (*MockStakingKeeperMockRecorder) GetValidator

func (mr *MockStakingKeeperMockRecorder) GetValidator(ctx, addr interface{}) *gomock.Call

GetValidator indicates an expected call of GetValidator.

func (*MockStakingKeeperMockRecorder) RemoveRedelegation

func (mr *MockStakingKeeperMockRecorder) RemoveRedelegation(ctx, red interface{}) *gomock.Call

RemoveRedelegation indicates an expected call of RemoveRedelegation.

func (*MockStakingKeeperMockRecorder) RemoveValidatorTokens

func (mr *MockStakingKeeperMockRecorder) RemoveValidatorTokens(ctx, validator, tokensToRemove interface{}) *gomock.Call

RemoveValidatorTokens indicates an expected call of RemoveValidatorTokens.

func (*MockStakingKeeperMockRecorder) RemoveValidatorTokensAndShares

func (mr *MockStakingKeeperMockRecorder) RemoveValidatorTokensAndShares(ctx, validator, sharesToRemove interface{}) *gomock.Call

RemoveValidatorTokensAndShares indicates an expected call of RemoveValidatorTokensAndShares.

func (*MockStakingKeeperMockRecorder) TotalBondedTokens

func (mr *MockStakingKeeperMockRecorder) TotalBondedTokens(ctx interface{}) *gomock.Call

TotalBondedTokens indicates an expected call of TotalBondedTokens.

func (*MockStakingKeeperMockRecorder) Unbond

func (mr *MockStakingKeeperMockRecorder) Unbond(ctx, delAddr, valAddr, shares interface{}) *gomock.Call

Unbond indicates an expected call of Unbond.

func (*MockStakingKeeperMockRecorder) UnbondingTime

func (mr *MockStakingKeeperMockRecorder) UnbondingTime(ctx interface{}) *gomock.Call

UnbondingTime indicates an expected call of UnbondingTime.

func (*MockStakingKeeperMockRecorder) ValidateUnbondAmount

func (mr *MockStakingKeeperMockRecorder) ValidateUnbondAmount(ctx, delAddr, valAddr, amt interface{}) *gomock.Call

ValidateUnbondAmount indicates an expected call of ValidateUnbondAmount.

Jump to

Keyboard shortcuts

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