Documentation ¶
Index ¶
- Constants
- Variables
- func DefaultACLAccount(zoneID types.ZoneID, organizationID types.OrganizationID, ...) types.ACLAccount
- func InitGenesis(ctx cTypes.Context, keeper Keeper, data GenesisState) (err error)
- func NewHandler(k Keeper) cTypes.Handler
- type ACL
- type ACLAccount
- type AccountKeeper
- type AppModule
- func (AppModule) BeginBlock(cTypes.Context, abciTypes.RequestBeginBlock)
- func (AppModule) EndBlock(_ cTypes.Context, _ abciTypes.RequestEndBlock) []abciTypes.ValidatorUpdate
- func (am AppModule) ExportGenesis(ctx cTypes.Context) json.RawMessage
- func (am AppModule) InitGenesis(ctx cTypes.Context, data json.RawMessage) []abciTypes.ValidatorUpdate
- func (AppModule) Name() string
- func (am AppModule) NewHandler() cTypes.Handler
- func (am AppModule) NewQuerierHandler() cTypes.Querier
- func (AppModule) QuerierRoute() string
- func (am AppModule) RegisterInvariants(ir cTypes.InvariantRegistry)
- func (AppModule) Route() string
- type AppModuleBasic
- func (AppModuleBasic) DefaultGenesis() json.RawMessage
- func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
- func (AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command
- func (AppModuleBasic) Name() string
- func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
- func (AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router, kafkaBool bool, ...)
- func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
- type BaseACLAccount
- type DefineACL
- type DefineOrganization
- type DefineZone
- type GenesisState
- type Keeper
- type MsgDefineACLs
- type MsgDefineOrganizations
- type MsgDefineZones
- type Organization
- type OrganizationID
- type ZoneID
Constants ¶
View Source
const ( ModuleName = types.ModuleName QuerierRoute = types.QuerierRoute RouterKey = types.RouterKey StoreKey = types.StoreKey DefaultCodeSpace = types.DefaultCodeSpace )
Variables ¶
View Source
var ( DefaultZoneID = types.DefaultZoneID DefaultOrganizationID = types.DefaultOrganizationID ModuleCdc = types.ModuleCdc RegisterCodec = types.RegisterCodec DefaultGenesisState = types.DefaultGenesisState ValidateGenesis = types.ValidateGenesis ErrInvalidAddress = types.ErrInvalidAddress ErrNoInputs = types.ErrNoInputs GetACLAccountKey = types.GetACLAccountKey GetOrganizationKey = types.GetOrganizationKey GetZoneKey = types.GetZoneKey GetZoneIDFromString = types.GetZoneIDFromString GetOrganizationIDFromString = types.GetOrganizationIDFromString EventTypeDefineACL = types.EventTypeDefineACL EventTypeDefineOrganization = types.EventTypeDefineOrganization EventTypeDefineZone = types.EventTypeDefineZone AttributeKeyZoneID = types.AttributeKeyZoneID AttributeKeyZoneAddress = types.AttributeKeyZoneAddress AttributeKeyOrganizationID = types.AttributeKeyOrganizationID AttributeKeyOrganizationAddress = types.AttributeKeyOrganizationAddress AttributeACLAccountAddress = types.AttributeACLAccountAddress NewOrganization = types.NewOrganization NewKeeper = keeper.NewKeeper NewQuerier = keeper.NewQuerier )
Functions ¶
func DefaultACLAccount ¶
func DefaultACLAccount(zoneID types.ZoneID, organizationID types.OrganizationID, address cTypes.AccAddress) types.ACLAccount
func InitGenesis ¶
func InitGenesis(ctx cTypes.Context, keeper Keeper, data GenesisState) (err error)
func NewHandler ¶
Types ¶
type ACLAccount ¶
type ACLAccount = types.ACLAccount
type AccountKeeper ¶
type AccountKeeper = types.AccountKeeper
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func NewAppModule ¶
func NewAppModule(keeper Keeper, accountKeeper AccountKeeper) AppModule
func (AppModule) BeginBlock ¶
func (AppModule) BeginBlock(cTypes.Context, abciTypes.RequestBeginBlock)
func (AppModule) EndBlock ¶
func (AppModule) EndBlock(_ cTypes.Context, _ abciTypes.RequestEndBlock) []abciTypes.ValidatorUpdate
func (AppModule) ExportGenesis ¶
func (am AppModule) ExportGenesis(ctx cTypes.Context) json.RawMessage
func (AppModule) InitGenesis ¶
func (am AppModule) InitGenesis(ctx cTypes.Context, data json.RawMessage) []abciTypes.ValidatorUpdate
func (AppModule) NewHandler ¶
func (AppModule) NewQuerierHandler ¶
func (AppModule) QuerierRoute ¶
func (AppModule) RegisterInvariants ¶
func (am AppModule) RegisterInvariants(ir cTypes.InvariantRegistry)
type AppModuleBasic ¶
type AppModuleBasic struct{}
func (AppModuleBasic) DefaultGenesis ¶
func (AppModuleBasic) DefaultGenesis() json.RawMessage
func (AppModuleBasic) GetQueryCmd ¶
func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
func (AppModuleBasic) Name ¶
func (AppModuleBasic) Name() string
func (AppModuleBasic) RegisterCodec ¶
func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
func (AppModuleBasic) RegisterRESTRoutes ¶
func (AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router, kafkaBool bool, kafkaState kafka.KafkaState)
func (AppModuleBasic) ValidateGenesis ¶
func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
type BaseACLAccount ¶
type BaseACLAccount = types.BaseACLAccount
type DefineOrganization ¶
type DefineOrganization = types.DefineOrganization
type DefineZone ¶
type DefineZone = types.DefineZone
type GenesisState ¶
type GenesisState = types.GenesisState
func ExportGenesisState ¶
func ExportGenesisState(ctx cTypes.Context, keeper Keeper) GenesisState
type MsgDefineACLs ¶
type MsgDefineACLs = types.MsgDefineACLs
type MsgDefineOrganizations ¶
type MsgDefineOrganizations = types.MsgDefineOrganizations
type MsgDefineZones ¶
type MsgDefineZones = types.MsgDefineZones
type Organization ¶
type Organization = types.Organization
type OrganizationID ¶
type OrganizationID = types.OrganizationID
Click to show internal directories.
Click to hide internal directories.