Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- type MockAccountKeeper
- func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
- func (m *MockAccountKeeper) GetModuleAccount(ctx context.Context, name string) types0.ModuleAccountI
- func (m *MockAccountKeeper) GetModuleAddress(name string) types0.AccAddress
- func (m *MockAccountKeeper) SetModuleAccount(arg0 context.Context, arg1 types0.ModuleAccountI)
- type MockAccountKeeperMockRecorder
- type MockBankKeeper
- func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
- func (m *MockBankKeeper) GetAllBalances(ctx context.Context, addr types0.AccAddress) types0.Coins
- func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types0.AccAddress, recipientModule string, ...) error
- func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types0.AccAddress, ...) error
- func (m *MockBankKeeper) SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt types0.Coins) error
- type MockBankKeeperMockRecorder
- func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToModule(ctx, senderModule, recipientModule, amt any) *gomock.Call
- type MockDistrKeeper
- type MockDistrKeeperMockRecorder
- type MockTSSKeeper
- func (m *MockTSSKeeper) ActivateMember(ctx types0.Context, groupID tss.GroupID, address types0.AccAddress) error
- func (m *MockTSSKeeper) CreateGroup(ctx types0.Context, members []types0.AccAddress, threshold uint64, ...) (tss.GroupID, error)
- func (m *MockTSSKeeper) DeactivateMember(ctx types0.Context, groupID tss.GroupID, address types0.AccAddress) error
- func (m *MockTSSKeeper) EXPECT() *MockTSSKeeperMockRecorder
- func (m *MockTSSKeeper) GetDEQueue(ctx types0.Context, address types0.AccAddress) types.DEQueue
- func (m *MockTSSKeeper) GetGroup(ctx types0.Context, groupID tss.GroupID) (types.Group, error)
- func (m *MockTSSKeeper) GetMemberByAddress(ctx types0.Context, groupID tss.GroupID, address string) (types.Member, error)
- func (m *MockTSSKeeper) GetSigning(ctx types0.Context, signingID tss.SigningID) (types.Signing, error)
- func (m *MockTSSKeeper) GetSigningResult(ctx types0.Context, signingID tss.SigningID) (*types.SigningResult, error)
- func (m *MockTSSKeeper) MustGetGroup(ctx types0.Context, groupID tss.GroupID) types.Group
- func (m *MockTSSKeeper) MustGetMembers(ctx types0.Context, groupID tss.GroupID) []types.Member
- func (m *MockTSSKeeper) MustGetSigning(ctx types0.Context, signingID tss.SigningID) types.Signing
- func (m *MockTSSKeeper) RequestSigning(ctx types0.Context, groupID tss.GroupID, originator types.Originator, ...) (tss.SigningID, error)
- type MockTSSKeeperMockRecorder
- func (mr *MockTSSKeeperMockRecorder) ActivateMember(ctx, groupID, address any) *gomock.Call
- func (mr *MockTSSKeeperMockRecorder) CreateGroup(ctx, members, threshold, moduleOwner any) *gomock.Call
- func (mr *MockTSSKeeperMockRecorder) DeactivateMember(ctx, groupID, address any) *gomock.Call
- func (mr *MockTSSKeeperMockRecorder) GetDEQueue(ctx, address any) *gomock.Call
- func (mr *MockTSSKeeperMockRecorder) GetGroup(ctx, groupID any) *gomock.Call
- func (mr *MockTSSKeeperMockRecorder) GetMemberByAddress(ctx, groupID, address any) *gomock.Call
- func (mr *MockTSSKeeperMockRecorder) GetSigning(ctx, signingID any) *gomock.Call
- func (mr *MockTSSKeeperMockRecorder) GetSigningResult(ctx, signingID any) *gomock.Call
- func (mr *MockTSSKeeperMockRecorder) MustGetGroup(ctx, groupID any) *gomock.Call
- func (mr *MockTSSKeeperMockRecorder) MustGetMembers(ctx, groupID any) *gomock.Call
- func (mr *MockTSSKeeperMockRecorder) MustGetSigning(ctx, signingID any) *gomock.Call
- func (mr *MockTSSKeeperMockRecorder) RequestSigning(ctx, groupID, originator, content any) *gomock.Call
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 ¶
func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountKeeper) GetModuleAccount ¶
func (m *MockAccountKeeper) GetModuleAccount(ctx context.Context, name string) types0.ModuleAccountI
GetModuleAccount mocks base method.
func (*MockAccountKeeper) GetModuleAddress ¶
func (m *MockAccountKeeper) GetModuleAddress(name string) types0.AccAddress
GetModuleAddress mocks base method.
func (*MockAccountKeeper) SetModuleAccount ¶
func (m *MockAccountKeeper) SetModuleAccount(arg0 context.Context, arg1 types0.ModuleAccountI)
SetModuleAccount mocks base method.
type MockAccountKeeperMockRecorder ¶
type MockAccountKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.
func (*MockAccountKeeperMockRecorder) GetModuleAccount ¶
func (mr *MockAccountKeeperMockRecorder) GetModuleAccount(ctx, name any) *gomock.Call
GetModuleAccount indicates an expected call of GetModuleAccount.
func (*MockAccountKeeperMockRecorder) GetModuleAddress ¶
func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(name any) *gomock.Call
GetModuleAddress indicates an expected call of GetModuleAddress.
func (*MockAccountKeeperMockRecorder) SetModuleAccount ¶
func (mr *MockAccountKeeperMockRecorder) SetModuleAccount(arg0, arg1 any) *gomock.Call
SetModuleAccount indicates an expected call of SetModuleAccount.
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) EXPECT ¶
func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBankKeeper) GetAllBalances ¶
func (m *MockBankKeeper) GetAllBalances(ctx context.Context, addr types0.AccAddress) types0.Coins
GetAllBalances mocks base method.
func (*MockBankKeeper) SendCoinsFromAccountToModule ¶
func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types0.AccAddress, recipientModule string, amt types0.Coins) error
SendCoinsFromAccountToModule mocks base method.
func (*MockBankKeeper) SendCoinsFromModuleToAccount ¶
func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types0.AccAddress, amt types0.Coins) error
SendCoinsFromModuleToAccount mocks base method.
func (*MockBankKeeper) SendCoinsFromModuleToModule ¶
func (m *MockBankKeeper) SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt types0.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) GetAllBalances ¶
func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr any) *gomock.Call
GetAllBalances indicates an expected call of GetAllBalances.
func (*MockBankKeeperMockRecorder) SendCoinsFromAccountToModule ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt any) *gomock.Call
SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule.
func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt any) *gomock.Call
SendCoinsFromModuleToAccount indicates an expected call of SendCoinsFromModuleToAccount.
func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToModule ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToModule(ctx, senderModule, recipientModule, amt any) *gomock.Call
SendCoinsFromModuleToModule indicates an expected call of SendCoinsFromModuleToModule.
type MockDistrKeeper ¶
type MockDistrKeeper struct {
// contains filtered or unexported fields
}
MockDistrKeeper is a mock of DistrKeeper interface.
func NewMockDistrKeeper ¶
func NewMockDistrKeeper(ctrl *gomock.Controller) *MockDistrKeeper
NewMockDistrKeeper creates a new mock instance.
func (*MockDistrKeeper) EXPECT ¶
func (m *MockDistrKeeper) EXPECT() *MockDistrKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDistrKeeper) FundCommunityPool ¶
func (m *MockDistrKeeper) FundCommunityPool(ctx context.Context, amount types0.Coins, sender types0.AccAddress) error
FundCommunityPool mocks base method.
func (*MockDistrKeeper) GetCommunityTax ¶
GetCommunityTax mocks base method.
type MockDistrKeeperMockRecorder ¶
type MockDistrKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockDistrKeeperMockRecorder is the mock recorder for MockDistrKeeper.
func (*MockDistrKeeperMockRecorder) FundCommunityPool ¶
func (mr *MockDistrKeeperMockRecorder) FundCommunityPool(ctx, amount, sender any) *gomock.Call
FundCommunityPool indicates an expected call of FundCommunityPool.
func (*MockDistrKeeperMockRecorder) GetCommunityTax ¶
func (mr *MockDistrKeeperMockRecorder) GetCommunityTax(ctx any) *gomock.Call
GetCommunityTax indicates an expected call of GetCommunityTax.
type MockTSSKeeper ¶
type MockTSSKeeper struct {
// contains filtered or unexported fields
}
MockTSSKeeper is a mock of TSSKeeper interface.
func NewMockTSSKeeper ¶
func NewMockTSSKeeper(ctrl *gomock.Controller) *MockTSSKeeper
NewMockTSSKeeper creates a new mock instance.
func (*MockTSSKeeper) ActivateMember ¶
func (m *MockTSSKeeper) ActivateMember(ctx types0.Context, groupID tss.GroupID, address types0.AccAddress) error
ActivateMember mocks base method.
func (*MockTSSKeeper) CreateGroup ¶
func (m *MockTSSKeeper) CreateGroup(ctx types0.Context, members []types0.AccAddress, threshold uint64, moduleOwner string) (tss.GroupID, error)
CreateGroup mocks base method.
func (*MockTSSKeeper) DeactivateMember ¶
func (m *MockTSSKeeper) DeactivateMember(ctx types0.Context, groupID tss.GroupID, address types0.AccAddress) error
DeactivateMember mocks base method.
func (*MockTSSKeeper) EXPECT ¶
func (m *MockTSSKeeper) EXPECT() *MockTSSKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTSSKeeper) GetDEQueue ¶
func (m *MockTSSKeeper) GetDEQueue(ctx types0.Context, address types0.AccAddress) types.DEQueue
GetDEQueue mocks base method.
func (*MockTSSKeeper) GetMemberByAddress ¶
func (m *MockTSSKeeper) GetMemberByAddress(ctx types0.Context, groupID tss.GroupID, address string) (types.Member, error)
GetMemberByAddress mocks base method.
func (*MockTSSKeeper) GetSigning ¶
func (m *MockTSSKeeper) GetSigning(ctx types0.Context, signingID tss.SigningID) (types.Signing, error)
GetSigning mocks base method.
func (*MockTSSKeeper) GetSigningResult ¶
func (m *MockTSSKeeper) GetSigningResult(ctx types0.Context, signingID tss.SigningID) (*types.SigningResult, error)
GetSigningResult mocks base method.
func (*MockTSSKeeper) MustGetGroup ¶
MustGetGroup mocks base method.
func (*MockTSSKeeper) MustGetMembers ¶
MustGetMembers mocks base method.
func (*MockTSSKeeper) MustGetSigning ¶
MustGetSigning mocks base method.
func (*MockTSSKeeper) RequestSigning ¶
func (m *MockTSSKeeper) RequestSigning(ctx types0.Context, groupID tss.GroupID, originator types.Originator, content types.Content) (tss.SigningID, error)
RequestSigning mocks base method.
type MockTSSKeeperMockRecorder ¶
type MockTSSKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockTSSKeeperMockRecorder is the mock recorder for MockTSSKeeper.
func (*MockTSSKeeperMockRecorder) ActivateMember ¶
func (mr *MockTSSKeeperMockRecorder) ActivateMember(ctx, groupID, address any) *gomock.Call
ActivateMember indicates an expected call of ActivateMember.
func (*MockTSSKeeperMockRecorder) CreateGroup ¶
func (mr *MockTSSKeeperMockRecorder) CreateGroup(ctx, members, threshold, moduleOwner any) *gomock.Call
CreateGroup indicates an expected call of CreateGroup.
func (*MockTSSKeeperMockRecorder) DeactivateMember ¶
func (mr *MockTSSKeeperMockRecorder) DeactivateMember(ctx, groupID, address any) *gomock.Call
DeactivateMember indicates an expected call of DeactivateMember.
func (*MockTSSKeeperMockRecorder) GetDEQueue ¶
func (mr *MockTSSKeeperMockRecorder) GetDEQueue(ctx, address any) *gomock.Call
GetDEQueue indicates an expected call of GetDEQueue.
func (*MockTSSKeeperMockRecorder) GetGroup ¶
func (mr *MockTSSKeeperMockRecorder) GetGroup(ctx, groupID any) *gomock.Call
GetGroup indicates an expected call of GetGroup.
func (*MockTSSKeeperMockRecorder) GetMemberByAddress ¶
func (mr *MockTSSKeeperMockRecorder) GetMemberByAddress(ctx, groupID, address any) *gomock.Call
GetMemberByAddress indicates an expected call of GetMemberByAddress.
func (*MockTSSKeeperMockRecorder) GetSigning ¶
func (mr *MockTSSKeeperMockRecorder) GetSigning(ctx, signingID any) *gomock.Call
GetSigning indicates an expected call of GetSigning.
func (*MockTSSKeeperMockRecorder) GetSigningResult ¶
func (mr *MockTSSKeeperMockRecorder) GetSigningResult(ctx, signingID any) *gomock.Call
GetSigningResult indicates an expected call of GetSigningResult.
func (*MockTSSKeeperMockRecorder) MustGetGroup ¶
func (mr *MockTSSKeeperMockRecorder) MustGetGroup(ctx, groupID any) *gomock.Call
MustGetGroup indicates an expected call of MustGetGroup.
func (*MockTSSKeeperMockRecorder) MustGetMembers ¶
func (mr *MockTSSKeeperMockRecorder) MustGetMembers(ctx, groupID any) *gomock.Call
MustGetMembers indicates an expected call of MustGetMembers.
func (*MockTSSKeeperMockRecorder) MustGetSigning ¶
func (mr *MockTSSKeeperMockRecorder) MustGetSigning(ctx, signingID any) *gomock.Call
MustGetSigning indicates an expected call of MustGetSigning.
func (*MockTSSKeeperMockRecorder) RequestSigning ¶
func (mr *MockTSSKeeperMockRecorder) RequestSigning(ctx, groupID, originator, content any) *gomock.Call
RequestSigning indicates an expected call of RequestSigning.