acl

package
v0.2.2-0...-13ba25a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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

func NewHandler(k Keeper) cTypes.Handler

Types

type ACL

type ACL = types.ACL

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) 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) Name

func (AppModule) Name() string

func (AppModule) NewHandler

func (am AppModule) NewHandler() cTypes.Handler

func (AppModule) NewQuerierHandler

func (am AppModule) NewQuerierHandler() cTypes.Querier

func (AppModule) QuerierRoute

func (AppModule) QuerierRoute() string

func (AppModule) RegisterInvariants

func (am AppModule) RegisterInvariants(ir cTypes.InvariantRegistry)

func (AppModule) Route

func (AppModule) Route() string

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) GetTxCmd

func (AppModuleBasic) GetTxCmd(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 DefineACL

type DefineACL = types.DefineACL

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 Keeper

type Keeper = keeper.Keeper

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

type ZoneID

type ZoneID = types.ZoneID

Directories

Path Synopsis
client
cli
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL