Skip to content

Commit

Permalink
chore!: shrink interface of x/mint expected keepers
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp committed Aug 5, 2023
1 parent 0c55a6e commit bc15455
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions x/mint/types/expected_keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@ type StakingKeeper interface {
// AccountKeeper defines the contract required for account APIs.
type AccountKeeper interface {
GetModuleAddress(name string) sdk.AccAddress
SetModuleAccount(sdk.Context, types.ModuleAccountI)
GetModuleAccount(ctx sdk.Context, moduleName string) types.ModuleAccountI
}

// BankKeeper defines the contract needed to be fulfilled for banking and supply
// dependencies.
type BankKeeper interface {
SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error
MintCoins(ctx sdk.Context, name string, amt sdk.Coins) error
}

0 comments on commit bc15455

Please sign in to comment.