2019-06-28 13:11:27 -07:00
|
|
|
package exported
|
|
|
|
|
|
|
|
import "github.com/cosmos/cosmos-sdk/x/auth/exported"
|
|
|
|
|
|
|
|
// ModuleAccountI defines an account interface for modules that hold tokens in an escrow
|
|
|
|
type ModuleAccountI interface {
|
|
|
|
exported.Account
|
|
|
|
GetName() string
|
2019-07-06 12:42:06 -07:00
|
|
|
GetPermissions() []string
|
|
|
|
HasPermission(string) bool
|
2019-06-28 13:11:27 -07:00
|
|
|
}
|