Skip to content

Commit

Permalink
imported methods from bank module in x/loan/types/expected_keepers.go
Browse files Browse the repository at this point in the history
  • Loading branch information
outsmartchad committed May 16, 2024
1 parent a24f890 commit fe02d84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x/loan/types/expected_keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ type AccountKeeper interface {
type BankKeeper interface {
SpendableCoins(context.Context, sdk.AccAddress) sdk.Coins
// Methods imported from bank should be defined here
SendCoins(ctx context.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error
SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt sdk.Coins) error
SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
}

// ParamSubspace defines the expected Subspace interface for parameters.
Expand Down

0 comments on commit fe02d84

Please sign in to comment.