mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-29 17:55:19 +00:00
13 lines
406 B
Go
13 lines
406 B
Go
|
package v18de63
|
||
|
|
||
|
import (
|
||
|
authtypes "github.com/kava-labs/kava/migrate/v0_8/sdk/auth/v18de63"
|
||
|
)
|
||
|
|
||
|
// ModuleAccount defines an account for modules that holds coins on a pool
|
||
|
type ModuleAccount struct {
|
||
|
*authtypes.BaseAccount
|
||
|
Name string `json:"name" yaml:"name"` // name of the module
|
||
|
Permissions []string `json:"permissions" yaml:"permissions"` // permissions of module account
|
||
|
}
|