github.com/cosmos/cosmos-sdk@v0.50.10/x/gov/testutil/expected_keepers_mocks.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: x/gov/testutil/expected_keepers.go 3 4 // Package testutil is a generated GoMock package. 5 package testutil 6 7 import ( 8 context "context" 9 reflect "reflect" 10 11 address "cosmossdk.io/core/address" 12 math "cosmossdk.io/math" 13 types "github.com/cosmos/cosmos-sdk/types" 14 query "github.com/cosmos/cosmos-sdk/types/query" 15 keeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" 16 types0 "github.com/cosmos/cosmos-sdk/x/bank/types" 17 types1 "github.com/cosmos/cosmos-sdk/x/staking/types" 18 gomock "github.com/golang/mock/gomock" 19 ) 20 21 // MockAccountKeeper is a mock of AccountKeeper interface. 22 type MockAccountKeeper struct { 23 ctrl *gomock.Controller 24 recorder *MockAccountKeeperMockRecorder 25 } 26 27 // MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper. 28 type MockAccountKeeperMockRecorder struct { 29 mock *MockAccountKeeper 30 } 31 32 // NewMockAccountKeeper creates a new mock instance. 33 func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper { 34 mock := &MockAccountKeeper{ctrl: ctrl} 35 mock.recorder = &MockAccountKeeperMockRecorder{mock} 36 return mock 37 } 38 39 // EXPECT returns an object that allows the caller to indicate expected use. 40 func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder { 41 return m.recorder 42 } 43 44 // AddressCodec mocks base method. 45 func (m *MockAccountKeeper) AddressCodec() address.Codec { 46 m.ctrl.T.Helper() 47 ret := m.ctrl.Call(m, "AddressCodec") 48 ret0, _ := ret[0].(address.Codec) 49 return ret0 50 } 51 52 // AddressCodec indicates an expected call of AddressCodec. 53 func (mr *MockAccountKeeperMockRecorder) AddressCodec() *gomock.Call { 54 mr.mock.ctrl.T.Helper() 55 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddressCodec", reflect.TypeOf((*MockAccountKeeper)(nil).AddressCodec)) 56 } 57 58 // GetAccount mocks base method. 59 func (m *MockAccountKeeper) GetAccount(ctx context.Context, addr types.AccAddress) types.AccountI { 60 m.ctrl.T.Helper() 61 ret := m.ctrl.Call(m, "GetAccount", ctx, addr) 62 ret0, _ := ret[0].(types.AccountI) 63 return ret0 64 } 65 66 // GetAccount indicates an expected call of GetAccount. 67 func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr interface{}) *gomock.Call { 68 mr.mock.ctrl.T.Helper() 69 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAccount", reflect.TypeOf((*MockAccountKeeper)(nil).GetAccount), ctx, addr) 70 } 71 72 // GetModuleAccount mocks base method. 73 func (m *MockAccountKeeper) GetModuleAccount(ctx context.Context, name string) types.ModuleAccountI { 74 m.ctrl.T.Helper() 75 ret := m.ctrl.Call(m, "GetModuleAccount", ctx, name) 76 ret0, _ := ret[0].(types.ModuleAccountI) 77 return ret0 78 } 79 80 // GetModuleAccount indicates an expected call of GetModuleAccount. 81 func (mr *MockAccountKeeperMockRecorder) GetModuleAccount(ctx, name interface{}) *gomock.Call { 82 mr.mock.ctrl.T.Helper() 83 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetModuleAccount", reflect.TypeOf((*MockAccountKeeper)(nil).GetModuleAccount), ctx, name) 84 } 85 86 // GetModuleAddress mocks base method. 87 func (m *MockAccountKeeper) GetModuleAddress(name string) types.AccAddress { 88 m.ctrl.T.Helper() 89 ret := m.ctrl.Call(m, "GetModuleAddress", name) 90 ret0, _ := ret[0].(types.AccAddress) 91 return ret0 92 } 93 94 // GetModuleAddress indicates an expected call of GetModuleAddress. 95 func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(name interface{}) *gomock.Call { 96 mr.mock.ctrl.T.Helper() 97 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetModuleAddress", reflect.TypeOf((*MockAccountKeeper)(nil).GetModuleAddress), name) 98 } 99 100 // IterateAccounts mocks base method. 101 func (m *MockAccountKeeper) IterateAccounts(ctx context.Context, cb func(types.AccountI) bool) { 102 m.ctrl.T.Helper() 103 m.ctrl.Call(m, "IterateAccounts", ctx, cb) 104 } 105 106 // IterateAccounts indicates an expected call of IterateAccounts. 107 func (mr *MockAccountKeeperMockRecorder) IterateAccounts(ctx, cb interface{}) *gomock.Call { 108 mr.mock.ctrl.T.Helper() 109 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IterateAccounts", reflect.TypeOf((*MockAccountKeeper)(nil).IterateAccounts), ctx, cb) 110 } 111 112 // SetModuleAccount mocks base method. 113 func (m *MockAccountKeeper) SetModuleAccount(arg0 context.Context, arg1 types.ModuleAccountI) { 114 m.ctrl.T.Helper() 115 m.ctrl.Call(m, "SetModuleAccount", arg0, arg1) 116 } 117 118 // SetModuleAccount indicates an expected call of SetModuleAccount. 119 func (mr *MockAccountKeeperMockRecorder) SetModuleAccount(arg0, arg1 interface{}) *gomock.Call { 120 mr.mock.ctrl.T.Helper() 121 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetModuleAccount", reflect.TypeOf((*MockAccountKeeper)(nil).SetModuleAccount), arg0, arg1) 122 } 123 124 // MockBankKeeper is a mock of BankKeeper interface. 125 type MockBankKeeper struct { 126 ctrl *gomock.Controller 127 recorder *MockBankKeeperMockRecorder 128 } 129 130 // MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper. 131 type MockBankKeeperMockRecorder struct { 132 mock *MockBankKeeper 133 } 134 135 // NewMockBankKeeper creates a new mock instance. 136 func NewMockBankKeeper(ctrl *gomock.Controller) *MockBankKeeper { 137 mock := &MockBankKeeper{ctrl: ctrl} 138 mock.recorder = &MockBankKeeperMockRecorder{mock} 139 return mock 140 } 141 142 // EXPECT returns an object that allows the caller to indicate expected use. 143 func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder { 144 return m.recorder 145 } 146 147 // AllBalances mocks base method. 148 func (m *MockBankKeeper) AllBalances(arg0 context.Context, arg1 *types0.QueryAllBalancesRequest) (*types0.QueryAllBalancesResponse, error) { 149 m.ctrl.T.Helper() 150 ret := m.ctrl.Call(m, "AllBalances", arg0, arg1) 151 ret0, _ := ret[0].(*types0.QueryAllBalancesResponse) 152 ret1, _ := ret[1].(error) 153 return ret0, ret1 154 } 155 156 // AllBalances indicates an expected call of AllBalances. 157 func (mr *MockBankKeeperMockRecorder) AllBalances(arg0, arg1 interface{}) *gomock.Call { 158 mr.mock.ctrl.T.Helper() 159 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AllBalances", reflect.TypeOf((*MockBankKeeper)(nil).AllBalances), arg0, arg1) 160 } 161 162 // AppendSendRestriction mocks base method. 163 func (m *MockBankKeeper) AppendSendRestriction(restriction types0.SendRestrictionFn) { 164 m.ctrl.T.Helper() 165 m.ctrl.Call(m, "AppendSendRestriction", restriction) 166 } 167 168 // AppendSendRestriction indicates an expected call of AppendSendRestriction. 169 func (mr *MockBankKeeperMockRecorder) AppendSendRestriction(restriction interface{}) *gomock.Call { 170 mr.mock.ctrl.T.Helper() 171 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AppendSendRestriction", reflect.TypeOf((*MockBankKeeper)(nil).AppendSendRestriction), restriction) 172 } 173 174 // Balance mocks base method. 175 func (m *MockBankKeeper) Balance(arg0 context.Context, arg1 *types0.QueryBalanceRequest) (*types0.QueryBalanceResponse, error) { 176 m.ctrl.T.Helper() 177 ret := m.ctrl.Call(m, "Balance", arg0, arg1) 178 ret0, _ := ret[0].(*types0.QueryBalanceResponse) 179 ret1, _ := ret[1].(error) 180 return ret0, ret1 181 } 182 183 // Balance indicates an expected call of Balance. 184 func (mr *MockBankKeeperMockRecorder) Balance(arg0, arg1 interface{}) *gomock.Call { 185 mr.mock.ctrl.T.Helper() 186 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Balance", reflect.TypeOf((*MockBankKeeper)(nil).Balance), arg0, arg1) 187 } 188 189 // BlockedAddr mocks base method. 190 func (m *MockBankKeeper) BlockedAddr(addr types.AccAddress) bool { 191 m.ctrl.T.Helper() 192 ret := m.ctrl.Call(m, "BlockedAddr", addr) 193 ret0, _ := ret[0].(bool) 194 return ret0 195 } 196 197 // BlockedAddr indicates an expected call of BlockedAddr. 198 func (mr *MockBankKeeperMockRecorder) BlockedAddr(addr interface{}) *gomock.Call { 199 mr.mock.ctrl.T.Helper() 200 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BlockedAddr", reflect.TypeOf((*MockBankKeeper)(nil).BlockedAddr), addr) 201 } 202 203 // BurnCoins mocks base method. 204 func (m *MockBankKeeper) BurnCoins(ctx context.Context, moduleName string, amt types.Coins) error { 205 m.ctrl.T.Helper() 206 ret := m.ctrl.Call(m, "BurnCoins", ctx, moduleName, amt) 207 ret0, _ := ret[0].(error) 208 return ret0 209 } 210 211 // BurnCoins indicates an expected call of BurnCoins. 212 func (mr *MockBankKeeperMockRecorder) BurnCoins(ctx, moduleName, amt interface{}) *gomock.Call { 213 mr.mock.ctrl.T.Helper() 214 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BurnCoins", reflect.TypeOf((*MockBankKeeper)(nil).BurnCoins), ctx, moduleName, amt) 215 } 216 217 // ClearSendRestriction mocks base method. 218 func (m *MockBankKeeper) ClearSendRestriction() { 219 m.ctrl.T.Helper() 220 m.ctrl.Call(m, "ClearSendRestriction") 221 } 222 223 // ClearSendRestriction indicates an expected call of ClearSendRestriction. 224 func (mr *MockBankKeeperMockRecorder) ClearSendRestriction() *gomock.Call { 225 mr.mock.ctrl.T.Helper() 226 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClearSendRestriction", reflect.TypeOf((*MockBankKeeper)(nil).ClearSendRestriction)) 227 } 228 229 // DelegateCoins mocks base method. 230 func (m *MockBankKeeper) DelegateCoins(ctx context.Context, delegatorAddr, moduleAccAddr types.AccAddress, amt types.Coins) error { 231 m.ctrl.T.Helper() 232 ret := m.ctrl.Call(m, "DelegateCoins", ctx, delegatorAddr, moduleAccAddr, amt) 233 ret0, _ := ret[0].(error) 234 return ret0 235 } 236 237 // DelegateCoins indicates an expected call of DelegateCoins. 238 func (mr *MockBankKeeperMockRecorder) DelegateCoins(ctx, delegatorAddr, moduleAccAddr, amt interface{}) *gomock.Call { 239 mr.mock.ctrl.T.Helper() 240 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelegateCoins", reflect.TypeOf((*MockBankKeeper)(nil).DelegateCoins), ctx, delegatorAddr, moduleAccAddr, amt) 241 } 242 243 // DelegateCoinsFromAccountToModule mocks base method. 244 func (m *MockBankKeeper) DelegateCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error { 245 m.ctrl.T.Helper() 246 ret := m.ctrl.Call(m, "DelegateCoinsFromAccountToModule", ctx, senderAddr, recipientModule, amt) 247 ret0, _ := ret[0].(error) 248 return ret0 249 } 250 251 // DelegateCoinsFromAccountToModule indicates an expected call of DelegateCoinsFromAccountToModule. 252 func (mr *MockBankKeeperMockRecorder) DelegateCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call { 253 mr.mock.ctrl.T.Helper() 254 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelegateCoinsFromAccountToModule", reflect.TypeOf((*MockBankKeeper)(nil).DelegateCoinsFromAccountToModule), ctx, senderAddr, recipientModule, amt) 255 } 256 257 // DeleteSendEnabled mocks base method. 258 func (m *MockBankKeeper) DeleteSendEnabled(ctx context.Context, denoms ...string) { 259 m.ctrl.T.Helper() 260 varargs := []interface{}{ctx} 261 for _, a := range denoms { 262 varargs = append(varargs, a) 263 } 264 m.ctrl.Call(m, "DeleteSendEnabled", varargs...) 265 } 266 267 // DeleteSendEnabled indicates an expected call of DeleteSendEnabled. 268 func (mr *MockBankKeeperMockRecorder) DeleteSendEnabled(ctx interface{}, denoms ...interface{}) *gomock.Call { 269 mr.mock.ctrl.T.Helper() 270 varargs := append([]interface{}{ctx}, denoms...) 271 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSendEnabled", reflect.TypeOf((*MockBankKeeper)(nil).DeleteSendEnabled), varargs...) 272 } 273 274 // DenomMetadata mocks base method. 275 func (m *MockBankKeeper) DenomMetadata(arg0 context.Context, arg1 *types0.QueryDenomMetadataRequest) (*types0.QueryDenomMetadataResponse, error) { 276 m.ctrl.T.Helper() 277 ret := m.ctrl.Call(m, "DenomMetadata", arg0, arg1) 278 ret0, _ := ret[0].(*types0.QueryDenomMetadataResponse) 279 ret1, _ := ret[1].(error) 280 return ret0, ret1 281 } 282 283 // DenomMetadata indicates an expected call of DenomMetadata. 284 func (mr *MockBankKeeperMockRecorder) DenomMetadata(arg0, arg1 interface{}) *gomock.Call { 285 mr.mock.ctrl.T.Helper() 286 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DenomMetadata", reflect.TypeOf((*MockBankKeeper)(nil).DenomMetadata), arg0, arg1) 287 } 288 289 // DenomMetadataByQueryString mocks base method. 290 func (m *MockBankKeeper) DenomMetadataByQueryString(arg0 context.Context, arg1 *types0.QueryDenomMetadataByQueryStringRequest) (*types0.QueryDenomMetadataByQueryStringResponse, error) { 291 m.ctrl.T.Helper() 292 ret := m.ctrl.Call(m, "DenomMetadataByQueryString", arg0, arg1) 293 ret0, _ := ret[0].(*types0.QueryDenomMetadataByQueryStringResponse) 294 ret1, _ := ret[1].(error) 295 return ret0, ret1 296 } 297 298 // DenomMetadataByQueryString indicates an expected call of DenomMetadataByQueryString. 299 func (mr *MockBankKeeperMockRecorder) DenomMetadataByQueryString(arg0, arg1 interface{}) *gomock.Call { 300 mr.mock.ctrl.T.Helper() 301 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DenomMetadataByQueryString", reflect.TypeOf((*MockBankKeeper)(nil).DenomMetadataByQueryString), arg0, arg1) 302 } 303 304 // DenomOwners mocks base method. 305 func (m *MockBankKeeper) DenomOwners(arg0 context.Context, arg1 *types0.QueryDenomOwnersRequest) (*types0.QueryDenomOwnersResponse, error) { 306 m.ctrl.T.Helper() 307 ret := m.ctrl.Call(m, "DenomOwners", arg0, arg1) 308 ret0, _ := ret[0].(*types0.QueryDenomOwnersResponse) 309 ret1, _ := ret[1].(error) 310 return ret0, ret1 311 } 312 313 // DenomOwners indicates an expected call of DenomOwners. 314 func (mr *MockBankKeeperMockRecorder) DenomOwners(arg0, arg1 interface{}) *gomock.Call { 315 mr.mock.ctrl.T.Helper() 316 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DenomOwners", reflect.TypeOf((*MockBankKeeper)(nil).DenomOwners), arg0, arg1) 317 } 318 319 // DenomOwnersByQuery mocks base method. 320 func (m *MockBankKeeper) DenomOwnersByQuery(arg0 context.Context, arg1 *types0.QueryDenomOwnersByQueryRequest) (*types0.QueryDenomOwnersByQueryResponse, error) { 321 m.ctrl.T.Helper() 322 ret := m.ctrl.Call(m, "DenomOwnersByQuery", arg0, arg1) 323 ret0, _ := ret[0].(*types0.QueryDenomOwnersByQueryResponse) 324 ret1, _ := ret[1].(error) 325 return ret0, ret1 326 } 327 328 // DenomOwnersByQuery indicates an expected call of DenomOwnersByQuery. 329 func (mr *MockBankKeeperMockRecorder) DenomOwnersByQuery(arg0, arg1 interface{}) *gomock.Call { 330 mr.mock.ctrl.T.Helper() 331 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DenomOwnersByQuery", reflect.TypeOf((*MockBankKeeper)(nil).DenomOwnersByQuery), arg0, arg1) 332 } 333 334 // DenomsMetadata mocks base method. 335 func (m *MockBankKeeper) DenomsMetadata(arg0 context.Context, arg1 *types0.QueryDenomsMetadataRequest) (*types0.QueryDenomsMetadataResponse, error) { 336 m.ctrl.T.Helper() 337 ret := m.ctrl.Call(m, "DenomsMetadata", arg0, arg1) 338 ret0, _ := ret[0].(*types0.QueryDenomsMetadataResponse) 339 ret1, _ := ret[1].(error) 340 return ret0, ret1 341 } 342 343 // DenomsMetadata indicates an expected call of DenomsMetadata. 344 func (mr *MockBankKeeperMockRecorder) DenomsMetadata(arg0, arg1 interface{}) *gomock.Call { 345 mr.mock.ctrl.T.Helper() 346 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DenomsMetadata", reflect.TypeOf((*MockBankKeeper)(nil).DenomsMetadata), arg0, arg1) 347 } 348 349 // ExportGenesis mocks base method. 350 func (m *MockBankKeeper) ExportGenesis(arg0 context.Context) *types0.GenesisState { 351 m.ctrl.T.Helper() 352 ret := m.ctrl.Call(m, "ExportGenesis", arg0) 353 ret0, _ := ret[0].(*types0.GenesisState) 354 return ret0 355 } 356 357 // ExportGenesis indicates an expected call of ExportGenesis. 358 func (mr *MockBankKeeperMockRecorder) ExportGenesis(arg0 interface{}) *gomock.Call { 359 mr.mock.ctrl.T.Helper() 360 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExportGenesis", reflect.TypeOf((*MockBankKeeper)(nil).ExportGenesis), arg0) 361 } 362 363 // GetAccountsBalances mocks base method. 364 func (m *MockBankKeeper) GetAccountsBalances(ctx context.Context) []types0.Balance { 365 m.ctrl.T.Helper() 366 ret := m.ctrl.Call(m, "GetAccountsBalances", ctx) 367 ret0, _ := ret[0].([]types0.Balance) 368 return ret0 369 } 370 371 // GetAccountsBalances indicates an expected call of GetAccountsBalances. 372 func (mr *MockBankKeeperMockRecorder) GetAccountsBalances(ctx interface{}) *gomock.Call { 373 mr.mock.ctrl.T.Helper() 374 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAccountsBalances", reflect.TypeOf((*MockBankKeeper)(nil).GetAccountsBalances), ctx) 375 } 376 377 // GetAllBalances mocks base method. 378 func (m *MockBankKeeper) GetAllBalances(ctx context.Context, addr types.AccAddress) types.Coins { 379 m.ctrl.T.Helper() 380 ret := m.ctrl.Call(m, "GetAllBalances", ctx, addr) 381 ret0, _ := ret[0].(types.Coins) 382 return ret0 383 } 384 385 // GetAllBalances indicates an expected call of GetAllBalances. 386 func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr interface{}) *gomock.Call { 387 mr.mock.ctrl.T.Helper() 388 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllBalances", reflect.TypeOf((*MockBankKeeper)(nil).GetAllBalances), ctx, addr) 389 } 390 391 // GetAllDenomMetaData mocks base method. 392 func (m *MockBankKeeper) GetAllDenomMetaData(ctx context.Context) []types0.Metadata { 393 m.ctrl.T.Helper() 394 ret := m.ctrl.Call(m, "GetAllDenomMetaData", ctx) 395 ret0, _ := ret[0].([]types0.Metadata) 396 return ret0 397 } 398 399 // GetAllDenomMetaData indicates an expected call of GetAllDenomMetaData. 400 func (mr *MockBankKeeperMockRecorder) GetAllDenomMetaData(ctx interface{}) *gomock.Call { 401 mr.mock.ctrl.T.Helper() 402 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllDenomMetaData", reflect.TypeOf((*MockBankKeeper)(nil).GetAllDenomMetaData), ctx) 403 } 404 405 // GetAllSendEnabledEntries mocks base method. 406 func (m *MockBankKeeper) GetAllSendEnabledEntries(ctx context.Context) []types0.SendEnabled { 407 m.ctrl.T.Helper() 408 ret := m.ctrl.Call(m, "GetAllSendEnabledEntries", ctx) 409 ret0, _ := ret[0].([]types0.SendEnabled) 410 return ret0 411 } 412 413 // GetAllSendEnabledEntries indicates an expected call of GetAllSendEnabledEntries. 414 func (mr *MockBankKeeperMockRecorder) GetAllSendEnabledEntries(ctx interface{}) *gomock.Call { 415 mr.mock.ctrl.T.Helper() 416 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllSendEnabledEntries", reflect.TypeOf((*MockBankKeeper)(nil).GetAllSendEnabledEntries), ctx) 417 } 418 419 // GetAuthority mocks base method. 420 func (m *MockBankKeeper) GetAuthority() string { 421 m.ctrl.T.Helper() 422 ret := m.ctrl.Call(m, "GetAuthority") 423 ret0, _ := ret[0].(string) 424 return ret0 425 } 426 427 // GetAuthority indicates an expected call of GetAuthority. 428 func (mr *MockBankKeeperMockRecorder) GetAuthority() *gomock.Call { 429 mr.mock.ctrl.T.Helper() 430 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAuthority", reflect.TypeOf((*MockBankKeeper)(nil).GetAuthority)) 431 } 432 433 // GetBalance mocks base method. 434 func (m *MockBankKeeper) GetBalance(ctx context.Context, addr types.AccAddress, denom string) types.Coin { 435 m.ctrl.T.Helper() 436 ret := m.ctrl.Call(m, "GetBalance", ctx, addr, denom) 437 ret0, _ := ret[0].(types.Coin) 438 return ret0 439 } 440 441 // GetBalance indicates an expected call of GetBalance. 442 func (mr *MockBankKeeperMockRecorder) GetBalance(ctx, addr, denom interface{}) *gomock.Call { 443 mr.mock.ctrl.T.Helper() 444 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBalance", reflect.TypeOf((*MockBankKeeper)(nil).GetBalance), ctx, addr, denom) 445 } 446 447 // GetBlockedAddresses mocks base method. 448 func (m *MockBankKeeper) GetBlockedAddresses() map[string]bool { 449 m.ctrl.T.Helper() 450 ret := m.ctrl.Call(m, "GetBlockedAddresses") 451 ret0, _ := ret[0].(map[string]bool) 452 return ret0 453 } 454 455 // GetBlockedAddresses indicates an expected call of GetBlockedAddresses. 456 func (mr *MockBankKeeperMockRecorder) GetBlockedAddresses() *gomock.Call { 457 mr.mock.ctrl.T.Helper() 458 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBlockedAddresses", reflect.TypeOf((*MockBankKeeper)(nil).GetBlockedAddresses)) 459 } 460 461 // GetDenomMetaData mocks base method. 462 func (m *MockBankKeeper) GetDenomMetaData(ctx context.Context, denom string) (types0.Metadata, bool) { 463 m.ctrl.T.Helper() 464 ret := m.ctrl.Call(m, "GetDenomMetaData", ctx, denom) 465 ret0, _ := ret[0].(types0.Metadata) 466 ret1, _ := ret[1].(bool) 467 return ret0, ret1 468 } 469 470 // GetDenomMetaData indicates an expected call of GetDenomMetaData. 471 func (mr *MockBankKeeperMockRecorder) GetDenomMetaData(ctx, denom interface{}) *gomock.Call { 472 mr.mock.ctrl.T.Helper() 473 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDenomMetaData", reflect.TypeOf((*MockBankKeeper)(nil).GetDenomMetaData), ctx, denom) 474 } 475 476 // GetPaginatedTotalSupply mocks base method. 477 func (m *MockBankKeeper) GetPaginatedTotalSupply(ctx context.Context, pagination *query.PageRequest) (types.Coins, *query.PageResponse, error) { 478 m.ctrl.T.Helper() 479 ret := m.ctrl.Call(m, "GetPaginatedTotalSupply", ctx, pagination) 480 ret0, _ := ret[0].(types.Coins) 481 ret1, _ := ret[1].(*query.PageResponse) 482 ret2, _ := ret[2].(error) 483 return ret0, ret1, ret2 484 } 485 486 // GetPaginatedTotalSupply indicates an expected call of GetPaginatedTotalSupply. 487 func (mr *MockBankKeeperMockRecorder) GetPaginatedTotalSupply(ctx, pagination interface{}) *gomock.Call { 488 mr.mock.ctrl.T.Helper() 489 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPaginatedTotalSupply", reflect.TypeOf((*MockBankKeeper)(nil).GetPaginatedTotalSupply), ctx, pagination) 490 } 491 492 // GetParams mocks base method. 493 func (m *MockBankKeeper) GetParams(ctx context.Context) types0.Params { 494 m.ctrl.T.Helper() 495 ret := m.ctrl.Call(m, "GetParams", ctx) 496 ret0, _ := ret[0].(types0.Params) 497 return ret0 498 } 499 500 // GetParams indicates an expected call of GetParams. 501 func (mr *MockBankKeeperMockRecorder) GetParams(ctx interface{}) *gomock.Call { 502 mr.mock.ctrl.T.Helper() 503 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetParams", reflect.TypeOf((*MockBankKeeper)(nil).GetParams), ctx) 504 } 505 506 // GetSendEnabledEntry mocks base method. 507 func (m *MockBankKeeper) GetSendEnabledEntry(ctx context.Context, denom string) (types0.SendEnabled, bool) { 508 m.ctrl.T.Helper() 509 ret := m.ctrl.Call(m, "GetSendEnabledEntry", ctx, denom) 510 ret0, _ := ret[0].(types0.SendEnabled) 511 ret1, _ := ret[1].(bool) 512 return ret0, ret1 513 } 514 515 // GetSendEnabledEntry indicates an expected call of GetSendEnabledEntry. 516 func (mr *MockBankKeeperMockRecorder) GetSendEnabledEntry(ctx, denom interface{}) *gomock.Call { 517 mr.mock.ctrl.T.Helper() 518 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSendEnabledEntry", reflect.TypeOf((*MockBankKeeper)(nil).GetSendEnabledEntry), ctx, denom) 519 } 520 521 // GetSupply mocks base method. 522 func (m *MockBankKeeper) GetSupply(ctx context.Context, denom string) types.Coin { 523 m.ctrl.T.Helper() 524 ret := m.ctrl.Call(m, "GetSupply", ctx, denom) 525 ret0, _ := ret[0].(types.Coin) 526 return ret0 527 } 528 529 // GetSupply indicates an expected call of GetSupply. 530 func (mr *MockBankKeeperMockRecorder) GetSupply(ctx, denom interface{}) *gomock.Call { 531 mr.mock.ctrl.T.Helper() 532 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSupply", reflect.TypeOf((*MockBankKeeper)(nil).GetSupply), ctx, denom) 533 } 534 535 // HasBalance mocks base method. 536 func (m *MockBankKeeper) HasBalance(ctx context.Context, addr types.AccAddress, amt types.Coin) bool { 537 m.ctrl.T.Helper() 538 ret := m.ctrl.Call(m, "HasBalance", ctx, addr, amt) 539 ret0, _ := ret[0].(bool) 540 return ret0 541 } 542 543 // HasBalance indicates an expected call of HasBalance. 544 func (mr *MockBankKeeperMockRecorder) HasBalance(ctx, addr, amt interface{}) *gomock.Call { 545 mr.mock.ctrl.T.Helper() 546 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HasBalance", reflect.TypeOf((*MockBankKeeper)(nil).HasBalance), ctx, addr, amt) 547 } 548 549 // HasDenomMetaData mocks base method. 550 func (m *MockBankKeeper) HasDenomMetaData(ctx context.Context, denom string) bool { 551 m.ctrl.T.Helper() 552 ret := m.ctrl.Call(m, "HasDenomMetaData", ctx, denom) 553 ret0, _ := ret[0].(bool) 554 return ret0 555 } 556 557 // HasDenomMetaData indicates an expected call of HasDenomMetaData. 558 func (mr *MockBankKeeperMockRecorder) HasDenomMetaData(ctx, denom interface{}) *gomock.Call { 559 mr.mock.ctrl.T.Helper() 560 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HasDenomMetaData", reflect.TypeOf((*MockBankKeeper)(nil).HasDenomMetaData), ctx, denom) 561 } 562 563 // HasSupply mocks base method. 564 func (m *MockBankKeeper) HasSupply(ctx context.Context, denom string) bool { 565 m.ctrl.T.Helper() 566 ret := m.ctrl.Call(m, "HasSupply", ctx, denom) 567 ret0, _ := ret[0].(bool) 568 return ret0 569 } 570 571 // HasSupply indicates an expected call of HasSupply. 572 func (mr *MockBankKeeperMockRecorder) HasSupply(ctx, denom interface{}) *gomock.Call { 573 mr.mock.ctrl.T.Helper() 574 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HasSupply", reflect.TypeOf((*MockBankKeeper)(nil).HasSupply), ctx, denom) 575 } 576 577 // InitGenesis mocks base method. 578 func (m *MockBankKeeper) InitGenesis(arg0 context.Context, arg1 *types0.GenesisState) { 579 m.ctrl.T.Helper() 580 m.ctrl.Call(m, "InitGenesis", arg0, arg1) 581 } 582 583 // InitGenesis indicates an expected call of InitGenesis. 584 func (mr *MockBankKeeperMockRecorder) InitGenesis(arg0, arg1 interface{}) *gomock.Call { 585 mr.mock.ctrl.T.Helper() 586 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InitGenesis", reflect.TypeOf((*MockBankKeeper)(nil).InitGenesis), arg0, arg1) 587 } 588 589 // InputOutputCoins mocks base method. 590 func (m *MockBankKeeper) InputOutputCoins(ctx context.Context, input types0.Input, outputs []types0.Output) error { 591 m.ctrl.T.Helper() 592 ret := m.ctrl.Call(m, "InputOutputCoins", ctx, input, outputs) 593 ret0, _ := ret[0].(error) 594 return ret0 595 } 596 597 // InputOutputCoins indicates an expected call of InputOutputCoins. 598 func (mr *MockBankKeeperMockRecorder) InputOutputCoins(ctx, input, outputs interface{}) *gomock.Call { 599 mr.mock.ctrl.T.Helper() 600 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InputOutputCoins", reflect.TypeOf((*MockBankKeeper)(nil).InputOutputCoins), ctx, input, outputs) 601 } 602 603 // IsSendEnabledCoin mocks base method. 604 func (m *MockBankKeeper) IsSendEnabledCoin(ctx context.Context, coin types.Coin) bool { 605 m.ctrl.T.Helper() 606 ret := m.ctrl.Call(m, "IsSendEnabledCoin", ctx, coin) 607 ret0, _ := ret[0].(bool) 608 return ret0 609 } 610 611 // IsSendEnabledCoin indicates an expected call of IsSendEnabledCoin. 612 func (mr *MockBankKeeperMockRecorder) IsSendEnabledCoin(ctx, coin interface{}) *gomock.Call { 613 mr.mock.ctrl.T.Helper() 614 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsSendEnabledCoin", reflect.TypeOf((*MockBankKeeper)(nil).IsSendEnabledCoin), ctx, coin) 615 } 616 617 // IsSendEnabledCoins mocks base method. 618 func (m *MockBankKeeper) IsSendEnabledCoins(ctx context.Context, coins ...types.Coin) error { 619 m.ctrl.T.Helper() 620 varargs := []interface{}{ctx} 621 for _, a := range coins { 622 varargs = append(varargs, a) 623 } 624 ret := m.ctrl.Call(m, "IsSendEnabledCoins", varargs...) 625 ret0, _ := ret[0].(error) 626 return ret0 627 } 628 629 // IsSendEnabledCoins indicates an expected call of IsSendEnabledCoins. 630 func (mr *MockBankKeeperMockRecorder) IsSendEnabledCoins(ctx interface{}, coins ...interface{}) *gomock.Call { 631 mr.mock.ctrl.T.Helper() 632 varargs := append([]interface{}{ctx}, coins...) 633 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsSendEnabledCoins", reflect.TypeOf((*MockBankKeeper)(nil).IsSendEnabledCoins), varargs...) 634 } 635 636 // IsSendEnabledDenom mocks base method. 637 func (m *MockBankKeeper) IsSendEnabledDenom(ctx context.Context, denom string) bool { 638 m.ctrl.T.Helper() 639 ret := m.ctrl.Call(m, "IsSendEnabledDenom", ctx, denom) 640 ret0, _ := ret[0].(bool) 641 return ret0 642 } 643 644 // IsSendEnabledDenom indicates an expected call of IsSendEnabledDenom. 645 func (mr *MockBankKeeperMockRecorder) IsSendEnabledDenom(ctx, denom interface{}) *gomock.Call { 646 mr.mock.ctrl.T.Helper() 647 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsSendEnabledDenom", reflect.TypeOf((*MockBankKeeper)(nil).IsSendEnabledDenom), ctx, denom) 648 } 649 650 // IterateAccountBalances mocks base method. 651 func (m *MockBankKeeper) IterateAccountBalances(ctx context.Context, addr types.AccAddress, cb func(types.Coin) bool) { 652 m.ctrl.T.Helper() 653 m.ctrl.Call(m, "IterateAccountBalances", ctx, addr, cb) 654 } 655 656 // IterateAccountBalances indicates an expected call of IterateAccountBalances. 657 func (mr *MockBankKeeperMockRecorder) IterateAccountBalances(ctx, addr, cb interface{}) *gomock.Call { 658 mr.mock.ctrl.T.Helper() 659 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IterateAccountBalances", reflect.TypeOf((*MockBankKeeper)(nil).IterateAccountBalances), ctx, addr, cb) 660 } 661 662 // IterateAllBalances mocks base method. 663 func (m *MockBankKeeper) IterateAllBalances(ctx context.Context, cb func(types.AccAddress, types.Coin) bool) { 664 m.ctrl.T.Helper() 665 m.ctrl.Call(m, "IterateAllBalances", ctx, cb) 666 } 667 668 // IterateAllBalances indicates an expected call of IterateAllBalances. 669 func (mr *MockBankKeeperMockRecorder) IterateAllBalances(ctx, cb interface{}) *gomock.Call { 670 mr.mock.ctrl.T.Helper() 671 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IterateAllBalances", reflect.TypeOf((*MockBankKeeper)(nil).IterateAllBalances), ctx, cb) 672 } 673 674 // IterateAllDenomMetaData mocks base method. 675 func (m *MockBankKeeper) IterateAllDenomMetaData(ctx context.Context, cb func(types0.Metadata) bool) { 676 m.ctrl.T.Helper() 677 m.ctrl.Call(m, "IterateAllDenomMetaData", ctx, cb) 678 } 679 680 // IterateAllDenomMetaData indicates an expected call of IterateAllDenomMetaData. 681 func (mr *MockBankKeeperMockRecorder) IterateAllDenomMetaData(ctx, cb interface{}) *gomock.Call { 682 mr.mock.ctrl.T.Helper() 683 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IterateAllDenomMetaData", reflect.TypeOf((*MockBankKeeper)(nil).IterateAllDenomMetaData), ctx, cb) 684 } 685 686 // IterateSendEnabledEntries mocks base method. 687 func (m *MockBankKeeper) IterateSendEnabledEntries(ctx context.Context, cb func(string, bool) bool) { 688 m.ctrl.T.Helper() 689 m.ctrl.Call(m, "IterateSendEnabledEntries", ctx, cb) 690 } 691 692 // IterateSendEnabledEntries indicates an expected call of IterateSendEnabledEntries. 693 func (mr *MockBankKeeperMockRecorder) IterateSendEnabledEntries(ctx, cb interface{}) *gomock.Call { 694 mr.mock.ctrl.T.Helper() 695 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IterateSendEnabledEntries", reflect.TypeOf((*MockBankKeeper)(nil).IterateSendEnabledEntries), ctx, cb) 696 } 697 698 // IterateTotalSupply mocks base method. 699 func (m *MockBankKeeper) IterateTotalSupply(ctx context.Context, cb func(types.Coin) bool) { 700 m.ctrl.T.Helper() 701 m.ctrl.Call(m, "IterateTotalSupply", ctx, cb) 702 } 703 704 // IterateTotalSupply indicates an expected call of IterateTotalSupply. 705 func (mr *MockBankKeeperMockRecorder) IterateTotalSupply(ctx, cb interface{}) *gomock.Call { 706 mr.mock.ctrl.T.Helper() 707 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IterateTotalSupply", reflect.TypeOf((*MockBankKeeper)(nil).IterateTotalSupply), ctx, cb) 708 } 709 710 // LockedCoins mocks base method. 711 func (m *MockBankKeeper) LockedCoins(ctx context.Context, addr types.AccAddress) types.Coins { 712 m.ctrl.T.Helper() 713 ret := m.ctrl.Call(m, "LockedCoins", ctx, addr) 714 ret0, _ := ret[0].(types.Coins) 715 return ret0 716 } 717 718 // LockedCoins indicates an expected call of LockedCoins. 719 func (mr *MockBankKeeperMockRecorder) LockedCoins(ctx, addr interface{}) *gomock.Call { 720 mr.mock.ctrl.T.Helper() 721 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LockedCoins", reflect.TypeOf((*MockBankKeeper)(nil).LockedCoins), ctx, addr) 722 } 723 724 // MintCoins mocks base method. 725 func (m *MockBankKeeper) MintCoins(ctx context.Context, moduleName string, amt types.Coins) error { 726 m.ctrl.T.Helper() 727 ret := m.ctrl.Call(m, "MintCoins", ctx, moduleName, amt) 728 ret0, _ := ret[0].(error) 729 return ret0 730 } 731 732 // MintCoins indicates an expected call of MintCoins. 733 func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, moduleName, amt interface{}) *gomock.Call { 734 mr.mock.ctrl.T.Helper() 735 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MintCoins", reflect.TypeOf((*MockBankKeeper)(nil).MintCoins), ctx, moduleName, amt) 736 } 737 738 // Params mocks base method. 739 func (m *MockBankKeeper) Params(arg0 context.Context, arg1 *types0.QueryParamsRequest) (*types0.QueryParamsResponse, error) { 740 m.ctrl.T.Helper() 741 ret := m.ctrl.Call(m, "Params", arg0, arg1) 742 ret0, _ := ret[0].(*types0.QueryParamsResponse) 743 ret1, _ := ret[1].(error) 744 return ret0, ret1 745 } 746 747 // Params indicates an expected call of Params. 748 func (mr *MockBankKeeperMockRecorder) Params(arg0, arg1 interface{}) *gomock.Call { 749 mr.mock.ctrl.T.Helper() 750 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Params", reflect.TypeOf((*MockBankKeeper)(nil).Params), arg0, arg1) 751 } 752 753 // PrependSendRestriction mocks base method. 754 func (m *MockBankKeeper) PrependSendRestriction(restriction types0.SendRestrictionFn) { 755 m.ctrl.T.Helper() 756 m.ctrl.Call(m, "PrependSendRestriction", restriction) 757 } 758 759 // PrependSendRestriction indicates an expected call of PrependSendRestriction. 760 func (mr *MockBankKeeperMockRecorder) PrependSendRestriction(restriction interface{}) *gomock.Call { 761 mr.mock.ctrl.T.Helper() 762 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PrependSendRestriction", reflect.TypeOf((*MockBankKeeper)(nil).PrependSendRestriction), restriction) 763 } 764 765 // SendCoins mocks base method. 766 func (m *MockBankKeeper) SendCoins(ctx context.Context, fromAddr, toAddr types.AccAddress, amt types.Coins) error { 767 m.ctrl.T.Helper() 768 ret := m.ctrl.Call(m, "SendCoins", ctx, fromAddr, toAddr, amt) 769 ret0, _ := ret[0].(error) 770 return ret0 771 } 772 773 // SendCoins indicates an expected call of SendCoins. 774 func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, fromAddr, toAddr, amt interface{}) *gomock.Call { 775 mr.mock.ctrl.T.Helper() 776 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendCoins", reflect.TypeOf((*MockBankKeeper)(nil).SendCoins), ctx, fromAddr, toAddr, amt) 777 } 778 779 // SendCoinsFromAccountToModule mocks base method. 780 func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error { 781 m.ctrl.T.Helper() 782 ret := m.ctrl.Call(m, "SendCoinsFromAccountToModule", ctx, senderAddr, recipientModule, amt) 783 ret0, _ := ret[0].(error) 784 return ret0 785 } 786 787 // SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule. 788 func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call { 789 mr.mock.ctrl.T.Helper() 790 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendCoinsFromAccountToModule", reflect.TypeOf((*MockBankKeeper)(nil).SendCoinsFromAccountToModule), ctx, senderAddr, recipientModule, amt) 791 } 792 793 // SendCoinsFromModuleToAccount mocks base method. 794 func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error { 795 m.ctrl.T.Helper() 796 ret := m.ctrl.Call(m, "SendCoinsFromModuleToAccount", ctx, senderModule, recipientAddr, amt) 797 ret0, _ := ret[0].(error) 798 return ret0 799 } 800 801 // SendCoinsFromModuleToAccount indicates an expected call of SendCoinsFromModuleToAccount. 802 func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call { 803 mr.mock.ctrl.T.Helper() 804 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendCoinsFromModuleToAccount", reflect.TypeOf((*MockBankKeeper)(nil).SendCoinsFromModuleToAccount), ctx, senderModule, recipientAddr, amt) 805 } 806 807 // SendCoinsFromModuleToModule mocks base method. 808 func (m *MockBankKeeper) SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt types.Coins) error { 809 m.ctrl.T.Helper() 810 ret := m.ctrl.Call(m, "SendCoinsFromModuleToModule", ctx, senderModule, recipientModule, amt) 811 ret0, _ := ret[0].(error) 812 return ret0 813 } 814 815 // SendCoinsFromModuleToModule indicates an expected call of SendCoinsFromModuleToModule. 816 func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToModule(ctx, senderModule, recipientModule, amt interface{}) *gomock.Call { 817 mr.mock.ctrl.T.Helper() 818 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendCoinsFromModuleToModule", reflect.TypeOf((*MockBankKeeper)(nil).SendCoinsFromModuleToModule), ctx, senderModule, recipientModule, amt) 819 } 820 821 // SendEnabled mocks base method. 822 func (m *MockBankKeeper) SendEnabled(arg0 context.Context, arg1 *types0.QuerySendEnabledRequest) (*types0.QuerySendEnabledResponse, error) { 823 m.ctrl.T.Helper() 824 ret := m.ctrl.Call(m, "SendEnabled", arg0, arg1) 825 ret0, _ := ret[0].(*types0.QuerySendEnabledResponse) 826 ret1, _ := ret[1].(error) 827 return ret0, ret1 828 } 829 830 // SendEnabled indicates an expected call of SendEnabled. 831 func (mr *MockBankKeeperMockRecorder) SendEnabled(arg0, arg1 interface{}) *gomock.Call { 832 mr.mock.ctrl.T.Helper() 833 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendEnabled", reflect.TypeOf((*MockBankKeeper)(nil).SendEnabled), arg0, arg1) 834 } 835 836 // SetAllSendEnabled mocks base method. 837 func (m *MockBankKeeper) SetAllSendEnabled(ctx context.Context, sendEnableds []*types0.SendEnabled) { 838 m.ctrl.T.Helper() 839 m.ctrl.Call(m, "SetAllSendEnabled", ctx, sendEnableds) 840 } 841 842 // SetAllSendEnabled indicates an expected call of SetAllSendEnabled. 843 func (mr *MockBankKeeperMockRecorder) SetAllSendEnabled(ctx, sendEnableds interface{}) *gomock.Call { 844 mr.mock.ctrl.T.Helper() 845 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAllSendEnabled", reflect.TypeOf((*MockBankKeeper)(nil).SetAllSendEnabled), ctx, sendEnableds) 846 } 847 848 // SetDenomMetaData mocks base method. 849 func (m *MockBankKeeper) SetDenomMetaData(ctx context.Context, denomMetaData types0.Metadata) { 850 m.ctrl.T.Helper() 851 m.ctrl.Call(m, "SetDenomMetaData", ctx, denomMetaData) 852 } 853 854 // SetDenomMetaData indicates an expected call of SetDenomMetaData. 855 func (mr *MockBankKeeperMockRecorder) SetDenomMetaData(ctx, denomMetaData interface{}) *gomock.Call { 856 mr.mock.ctrl.T.Helper() 857 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetDenomMetaData", reflect.TypeOf((*MockBankKeeper)(nil).SetDenomMetaData), ctx, denomMetaData) 858 } 859 860 // SetParams mocks base method. 861 func (m *MockBankKeeper) SetParams(ctx context.Context, params types0.Params) error { 862 m.ctrl.T.Helper() 863 ret := m.ctrl.Call(m, "SetParams", ctx, params) 864 ret0, _ := ret[0].(error) 865 return ret0 866 } 867 868 // SetParams indicates an expected call of SetParams. 869 func (mr *MockBankKeeperMockRecorder) SetParams(ctx, params interface{}) *gomock.Call { 870 mr.mock.ctrl.T.Helper() 871 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetParams", reflect.TypeOf((*MockBankKeeper)(nil).SetParams), ctx, params) 872 } 873 874 // SetSendEnabled mocks base method. 875 func (m *MockBankKeeper) SetSendEnabled(ctx context.Context, denom string, value bool) { 876 m.ctrl.T.Helper() 877 m.ctrl.Call(m, "SetSendEnabled", ctx, denom, value) 878 } 879 880 // SetSendEnabled indicates an expected call of SetSendEnabled. 881 func (mr *MockBankKeeperMockRecorder) SetSendEnabled(ctx, denom, value interface{}) *gomock.Call { 882 mr.mock.ctrl.T.Helper() 883 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSendEnabled", reflect.TypeOf((*MockBankKeeper)(nil).SetSendEnabled), ctx, denom, value) 884 } 885 886 // SpendableBalanceByDenom mocks base method. 887 func (m *MockBankKeeper) SpendableBalanceByDenom(arg0 context.Context, arg1 *types0.QuerySpendableBalanceByDenomRequest) (*types0.QuerySpendableBalanceByDenomResponse, error) { 888 m.ctrl.T.Helper() 889 ret := m.ctrl.Call(m, "SpendableBalanceByDenom", arg0, arg1) 890 ret0, _ := ret[0].(*types0.QuerySpendableBalanceByDenomResponse) 891 ret1, _ := ret[1].(error) 892 return ret0, ret1 893 } 894 895 // SpendableBalanceByDenom indicates an expected call of SpendableBalanceByDenom. 896 func (mr *MockBankKeeperMockRecorder) SpendableBalanceByDenom(arg0, arg1 interface{}) *gomock.Call { 897 mr.mock.ctrl.T.Helper() 898 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SpendableBalanceByDenom", reflect.TypeOf((*MockBankKeeper)(nil).SpendableBalanceByDenom), arg0, arg1) 899 } 900 901 // SpendableBalances mocks base method. 902 func (m *MockBankKeeper) SpendableBalances(arg0 context.Context, arg1 *types0.QuerySpendableBalancesRequest) (*types0.QuerySpendableBalancesResponse, error) { 903 m.ctrl.T.Helper() 904 ret := m.ctrl.Call(m, "SpendableBalances", arg0, arg1) 905 ret0, _ := ret[0].(*types0.QuerySpendableBalancesResponse) 906 ret1, _ := ret[1].(error) 907 return ret0, ret1 908 } 909 910 // SpendableBalances indicates an expected call of SpendableBalances. 911 func (mr *MockBankKeeperMockRecorder) SpendableBalances(arg0, arg1 interface{}) *gomock.Call { 912 mr.mock.ctrl.T.Helper() 913 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SpendableBalances", reflect.TypeOf((*MockBankKeeper)(nil).SpendableBalances), arg0, arg1) 914 } 915 916 // SpendableCoin mocks base method. 917 func (m *MockBankKeeper) SpendableCoin(ctx context.Context, addr types.AccAddress, denom string) types.Coin { 918 m.ctrl.T.Helper() 919 ret := m.ctrl.Call(m, "SpendableCoin", ctx, addr, denom) 920 ret0, _ := ret[0].(types.Coin) 921 return ret0 922 } 923 924 // SpendableCoin indicates an expected call of SpendableCoin. 925 func (mr *MockBankKeeperMockRecorder) SpendableCoin(ctx, addr, denom interface{}) *gomock.Call { 926 mr.mock.ctrl.T.Helper() 927 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SpendableCoin", reflect.TypeOf((*MockBankKeeper)(nil).SpendableCoin), ctx, addr, denom) 928 } 929 930 // SpendableCoins mocks base method. 931 func (m *MockBankKeeper) SpendableCoins(ctx context.Context, addr types.AccAddress) types.Coins { 932 m.ctrl.T.Helper() 933 ret := m.ctrl.Call(m, "SpendableCoins", ctx, addr) 934 ret0, _ := ret[0].(types.Coins) 935 return ret0 936 } 937 938 // SpendableCoins indicates an expected call of SpendableCoins. 939 func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr interface{}) *gomock.Call { 940 mr.mock.ctrl.T.Helper() 941 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SpendableCoins", reflect.TypeOf((*MockBankKeeper)(nil).SpendableCoins), ctx, addr) 942 } 943 944 // SupplyOf mocks base method. 945 func (m *MockBankKeeper) SupplyOf(arg0 context.Context, arg1 *types0.QuerySupplyOfRequest) (*types0.QuerySupplyOfResponse, error) { 946 m.ctrl.T.Helper() 947 ret := m.ctrl.Call(m, "SupplyOf", arg0, arg1) 948 ret0, _ := ret[0].(*types0.QuerySupplyOfResponse) 949 ret1, _ := ret[1].(error) 950 return ret0, ret1 951 } 952 953 // SupplyOf indicates an expected call of SupplyOf. 954 func (mr *MockBankKeeperMockRecorder) SupplyOf(arg0, arg1 interface{}) *gomock.Call { 955 mr.mock.ctrl.T.Helper() 956 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SupplyOf", reflect.TypeOf((*MockBankKeeper)(nil).SupplyOf), arg0, arg1) 957 } 958 959 // TotalSupply mocks base method. 960 func (m *MockBankKeeper) TotalSupply(arg0 context.Context, arg1 *types0.QueryTotalSupplyRequest) (*types0.QueryTotalSupplyResponse, error) { 961 m.ctrl.T.Helper() 962 ret := m.ctrl.Call(m, "TotalSupply", arg0, arg1) 963 ret0, _ := ret[0].(*types0.QueryTotalSupplyResponse) 964 ret1, _ := ret[1].(error) 965 return ret0, ret1 966 } 967 968 // TotalSupply indicates an expected call of TotalSupply. 969 func (mr *MockBankKeeperMockRecorder) TotalSupply(arg0, arg1 interface{}) *gomock.Call { 970 mr.mock.ctrl.T.Helper() 971 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TotalSupply", reflect.TypeOf((*MockBankKeeper)(nil).TotalSupply), arg0, arg1) 972 } 973 974 // UndelegateCoins mocks base method. 975 func (m *MockBankKeeper) UndelegateCoins(ctx context.Context, moduleAccAddr, delegatorAddr types.AccAddress, amt types.Coins) error { 976 m.ctrl.T.Helper() 977 ret := m.ctrl.Call(m, "UndelegateCoins", ctx, moduleAccAddr, delegatorAddr, amt) 978 ret0, _ := ret[0].(error) 979 return ret0 980 } 981 982 // UndelegateCoins indicates an expected call of UndelegateCoins. 983 func (mr *MockBankKeeperMockRecorder) UndelegateCoins(ctx, moduleAccAddr, delegatorAddr, amt interface{}) *gomock.Call { 984 mr.mock.ctrl.T.Helper() 985 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UndelegateCoins", reflect.TypeOf((*MockBankKeeper)(nil).UndelegateCoins), ctx, moduleAccAddr, delegatorAddr, amt) 986 } 987 988 // UndelegateCoinsFromModuleToAccount mocks base method. 989 func (m *MockBankKeeper) UndelegateCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error { 990 m.ctrl.T.Helper() 991 ret := m.ctrl.Call(m, "UndelegateCoinsFromModuleToAccount", ctx, senderModule, recipientAddr, amt) 992 ret0, _ := ret[0].(error) 993 return ret0 994 } 995 996 // UndelegateCoinsFromModuleToAccount indicates an expected call of UndelegateCoinsFromModuleToAccount. 997 func (mr *MockBankKeeperMockRecorder) UndelegateCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call { 998 mr.mock.ctrl.T.Helper() 999 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UndelegateCoinsFromModuleToAccount", reflect.TypeOf((*MockBankKeeper)(nil).UndelegateCoinsFromModuleToAccount), ctx, senderModule, recipientAddr, amt) 1000 } 1001 1002 // ValidateBalance mocks base method. 1003 func (m *MockBankKeeper) ValidateBalance(ctx context.Context, addr types.AccAddress) error { 1004 m.ctrl.T.Helper() 1005 ret := m.ctrl.Call(m, "ValidateBalance", ctx, addr) 1006 ret0, _ := ret[0].(error) 1007 return ret0 1008 } 1009 1010 // ValidateBalance indicates an expected call of ValidateBalance. 1011 func (mr *MockBankKeeperMockRecorder) ValidateBalance(ctx, addr interface{}) *gomock.Call { 1012 mr.mock.ctrl.T.Helper() 1013 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateBalance", reflect.TypeOf((*MockBankKeeper)(nil).ValidateBalance), ctx, addr) 1014 } 1015 1016 // WithMintCoinsRestriction mocks base method. 1017 func (m *MockBankKeeper) WithMintCoinsRestriction(arg0 types0.MintingRestrictionFn) keeper.BaseKeeper { 1018 m.ctrl.T.Helper() 1019 ret := m.ctrl.Call(m, "WithMintCoinsRestriction", arg0) 1020 ret0, _ := ret[0].(keeper.BaseKeeper) 1021 return ret0 1022 } 1023 1024 // WithMintCoinsRestriction indicates an expected call of WithMintCoinsRestriction. 1025 func (mr *MockBankKeeperMockRecorder) WithMintCoinsRestriction(arg0 interface{}) *gomock.Call { 1026 mr.mock.ctrl.T.Helper() 1027 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WithMintCoinsRestriction", reflect.TypeOf((*MockBankKeeper)(nil).WithMintCoinsRestriction), arg0) 1028 } 1029 1030 // MockStakingKeeper is a mock of StakingKeeper interface. 1031 type MockStakingKeeper struct { 1032 ctrl *gomock.Controller 1033 recorder *MockStakingKeeperMockRecorder 1034 } 1035 1036 // MockStakingKeeperMockRecorder is the mock recorder for MockStakingKeeper. 1037 type MockStakingKeeperMockRecorder struct { 1038 mock *MockStakingKeeper 1039 } 1040 1041 // NewMockStakingKeeper creates a new mock instance. 1042 func NewMockStakingKeeper(ctrl *gomock.Controller) *MockStakingKeeper { 1043 mock := &MockStakingKeeper{ctrl: ctrl} 1044 mock.recorder = &MockStakingKeeperMockRecorder{mock} 1045 return mock 1046 } 1047 1048 // EXPECT returns an object that allows the caller to indicate expected use. 1049 func (m *MockStakingKeeper) EXPECT() *MockStakingKeeperMockRecorder { 1050 return m.recorder 1051 } 1052 1053 // BondDenom mocks base method. 1054 func (m *MockStakingKeeper) BondDenom(ctx context.Context) (string, error) { 1055 m.ctrl.T.Helper() 1056 ret := m.ctrl.Call(m, "BondDenom", ctx) 1057 ret0, _ := ret[0].(string) 1058 ret1, _ := ret[1].(error) 1059 return ret0, ret1 1060 } 1061 1062 // BondDenom indicates an expected call of BondDenom. 1063 func (mr *MockStakingKeeperMockRecorder) BondDenom(ctx interface{}) *gomock.Call { 1064 mr.mock.ctrl.T.Helper() 1065 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BondDenom", reflect.TypeOf((*MockStakingKeeper)(nil).BondDenom), ctx) 1066 } 1067 1068 // IterateBondedValidatorsByPower mocks base method. 1069 func (m *MockStakingKeeper) IterateBondedValidatorsByPower(arg0 context.Context, arg1 func(int64, types1.ValidatorI) bool) error { 1070 m.ctrl.T.Helper() 1071 ret := m.ctrl.Call(m, "IterateBondedValidatorsByPower", arg0, arg1) 1072 ret0, _ := ret[0].(error) 1073 return ret0 1074 } 1075 1076 // IterateBondedValidatorsByPower indicates an expected call of IterateBondedValidatorsByPower. 1077 func (mr *MockStakingKeeperMockRecorder) IterateBondedValidatorsByPower(arg0, arg1 interface{}) *gomock.Call { 1078 mr.mock.ctrl.T.Helper() 1079 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IterateBondedValidatorsByPower", reflect.TypeOf((*MockStakingKeeper)(nil).IterateBondedValidatorsByPower), arg0, arg1) 1080 } 1081 1082 // IterateDelegations mocks base method. 1083 func (m *MockStakingKeeper) IterateDelegations(ctx context.Context, delegator types.AccAddress, fn func(int64, types1.DelegationI) bool) error { 1084 m.ctrl.T.Helper() 1085 ret := m.ctrl.Call(m, "IterateDelegations", ctx, delegator, fn) 1086 ret0, _ := ret[0].(error) 1087 return ret0 1088 } 1089 1090 // IterateDelegations indicates an expected call of IterateDelegations. 1091 func (mr *MockStakingKeeperMockRecorder) IterateDelegations(ctx, delegator, fn interface{}) *gomock.Call { 1092 mr.mock.ctrl.T.Helper() 1093 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IterateDelegations", reflect.TypeOf((*MockStakingKeeper)(nil).IterateDelegations), ctx, delegator, fn) 1094 } 1095 1096 // TokensFromConsensusPower mocks base method. 1097 func (m *MockStakingKeeper) TokensFromConsensusPower(ctx context.Context, power int64) math.Int { 1098 m.ctrl.T.Helper() 1099 ret := m.ctrl.Call(m, "TokensFromConsensusPower", ctx, power) 1100 ret0, _ := ret[0].(math.Int) 1101 return ret0 1102 } 1103 1104 // TokensFromConsensusPower indicates an expected call of TokensFromConsensusPower. 1105 func (mr *MockStakingKeeperMockRecorder) TokensFromConsensusPower(ctx, power interface{}) *gomock.Call { 1106 mr.mock.ctrl.T.Helper() 1107 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TokensFromConsensusPower", reflect.TypeOf((*MockStakingKeeper)(nil).TokensFromConsensusPower), ctx, power) 1108 } 1109 1110 // TotalBondedTokens mocks base method. 1111 func (m *MockStakingKeeper) TotalBondedTokens(arg0 context.Context) (math.Int, error) { 1112 m.ctrl.T.Helper() 1113 ret := m.ctrl.Call(m, "TotalBondedTokens", arg0) 1114 ret0, _ := ret[0].(math.Int) 1115 ret1, _ := ret[1].(error) 1116 return ret0, ret1 1117 } 1118 1119 // TotalBondedTokens indicates an expected call of TotalBondedTokens. 1120 func (mr *MockStakingKeeperMockRecorder) TotalBondedTokens(arg0 interface{}) *gomock.Call { 1121 mr.mock.ctrl.T.Helper() 1122 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TotalBondedTokens", reflect.TypeOf((*MockStakingKeeper)(nil).TotalBondedTokens), arg0) 1123 } 1124 1125 // ValidatorAddressCodec mocks base method. 1126 func (m *MockStakingKeeper) ValidatorAddressCodec() address.Codec { 1127 m.ctrl.T.Helper() 1128 ret := m.ctrl.Call(m, "ValidatorAddressCodec") 1129 ret0, _ := ret[0].(address.Codec) 1130 return ret0 1131 } 1132 1133 // ValidatorAddressCodec indicates an expected call of ValidatorAddressCodec. 1134 func (mr *MockStakingKeeperMockRecorder) ValidatorAddressCodec() *gomock.Call { 1135 mr.mock.ctrl.T.Helper() 1136 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidatorAddressCodec", reflect.TypeOf((*MockStakingKeeper)(nil).ValidatorAddressCodec)) 1137 } 1138 1139 // MockDistributionKeeper is a mock of DistributionKeeper interface. 1140 type MockDistributionKeeper struct { 1141 ctrl *gomock.Controller 1142 recorder *MockDistributionKeeperMockRecorder 1143 } 1144 1145 // MockDistributionKeeperMockRecorder is the mock recorder for MockDistributionKeeper. 1146 type MockDistributionKeeperMockRecorder struct { 1147 mock *MockDistributionKeeper 1148 } 1149 1150 // NewMockDistributionKeeper creates a new mock instance. 1151 func NewMockDistributionKeeper(ctrl *gomock.Controller) *MockDistributionKeeper { 1152 mock := &MockDistributionKeeper{ctrl: ctrl} 1153 mock.recorder = &MockDistributionKeeperMockRecorder{mock} 1154 return mock 1155 } 1156 1157 // EXPECT returns an object that allows the caller to indicate expected use. 1158 func (m *MockDistributionKeeper) EXPECT() *MockDistributionKeeperMockRecorder { 1159 return m.recorder 1160 } 1161 1162 // FundCommunityPool mocks base method. 1163 func (m *MockDistributionKeeper) FundCommunityPool(ctx context.Context, amount types.Coins, sender types.AccAddress) error { 1164 m.ctrl.T.Helper() 1165 ret := m.ctrl.Call(m, "FundCommunityPool", ctx, amount, sender) 1166 ret0, _ := ret[0].(error) 1167 return ret0 1168 } 1169 1170 // FundCommunityPool indicates an expected call of FundCommunityPool. 1171 func (mr *MockDistributionKeeperMockRecorder) FundCommunityPool(ctx, amount, sender interface{}) *gomock.Call { 1172 mr.mock.ctrl.T.Helper() 1173 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FundCommunityPool", reflect.TypeOf((*MockDistributionKeeper)(nil).FundCommunityPool), ctx, amount, sender) 1174 }