19 lines
528 B
Go
19 lines
528 B
Go
package nft
|
|
|
|
import (
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
|
)
|
|
|
|
// BankKeeper defines the contract needed to be fulfilled for banking and supply
|
|
// dependencies.
|
|
type BankKeeper interface {
|
|
SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
|
|
}
|
|
|
|
// AccountKeeper defines the contract required for account APIs.
|
|
type AccountKeeper interface {
|
|
GetModuleAddress(name string) sdk.AccAddress
|
|
GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
|
|
}
|