Documentation ¶
Index ¶
- Constants
- Variables
- func InitGenesis(ctx sdk.Context, keeper Keeper, data GenesisState)
- func NewHandler(keeper keeper.Keeper, authKeeper auth.Keeper) sdk.Handler
- func ValidateGenesis(data GenesisState) error
- type AppModule
- func (a AppModule) BeginBlock(sdk.Context, abci.RequestBeginBlock)
- func (a AppModule) EndBlock(sdk.Context, abci.RequestEndBlock) []abci.ValidatorUpdate
- func (a AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage
- func (a AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate
- func (a AppModule) NewHandler() sdk.Handler
- func (a AppModule) NewQuerierHandler() sdk.Querier
- func (a AppModule) QuerierRoute() string
- func (a AppModule) RegisterInvariants(sdk.InvariantRegistry)
- func (a AppModule) Route() string
- type AppModuleBasic
- func (a AppModuleBasic) DefaultGenesis() json.RawMessage
- func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
- func (AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command
- func (a AppModuleBasic) Name() string
- func (a AppModuleBasic) RegisterCodec(cdc *codec.Codec)
- func (AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router)
- func (a AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
- type Certificate
- type Certificates
- type GenesisState
- type Keeper
- type MsgAddX509Cert
- type MsgApproveAddX509RootCert
- type MsgApproveRevokeX509RootCert
- type MsgProposeAddX509RootCert
- type MsgProposeRevokeX509RootCert
- type MsgRevokeX509Cert
- type ProposedCertificate
- type ProposedCertificateRevocation
- type TestSetup
Constants ¶
View Source
const ( ModuleName = types.ModuleName RouterKey = types.RouterKey StoreKey = types.StoreKey )
Variables ¶
View Source
var ( NewKeeper = keeper.NewKeeper NewQuerier = keeper.NewQuerier ModuleCdc = types.ModuleCdc RegisterCodec = types.RegisterCodec )
Functions ¶
func InitGenesis ¶
func InitGenesis(ctx sdk.Context, keeper Keeper, data GenesisState)
func ValidateGenesis ¶
func ValidateGenesis(data GenesisState) error
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func (AppModule) BeginBlock ¶
func (a AppModule) BeginBlock(sdk.Context, abci.RequestBeginBlock)
func (AppModule) EndBlock ¶
func (a AppModule) EndBlock(sdk.Context, abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) ExportGenesis ¶
func (a AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage
func (AppModule) InitGenesis ¶
func (a AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate
func (AppModule) NewHandler ¶
func (AppModule) NewQuerierHandler ¶
func (AppModule) QuerierRoute ¶
func (AppModule) RegisterInvariants ¶
func (a AppModule) RegisterInvariants(sdk.InvariantRegistry)
type AppModuleBasic ¶
type AppModuleBasic struct{}
app module Basics object.
func (AppModuleBasic) DefaultGenesis ¶
func (a AppModuleBasic) DefaultGenesis() json.RawMessage
func (AppModuleBasic) GetQueryCmd ¶
func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
Get the root query command of this module.
func (AppModuleBasic) GetTxCmd ¶
func (AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command
Get the root tx command of this module.
func (AppModuleBasic) Name ¶
func (a AppModuleBasic) Name() string
func (AppModuleBasic) RegisterCodec ¶
func (a AppModuleBasic) RegisterCodec(cdc *codec.Codec)
func (AppModuleBasic) RegisterRESTRoutes ¶
func (AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router)
Register rest routes.
func (AppModuleBasic) ValidateGenesis ¶
func (a AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
type Certificate ¶
type Certificate = types.Certificate
type Certificates ¶
type Certificates = types.Certificates
type GenesisState ¶
type GenesisState struct { ProposedCertificates []types.ProposedCertificate `json:"proposed_certificates"` ApprovedCertificatesRecords []types.Certificates `json:"approved_certificates_records"` ProposedCertificateRevocations []types.ProposedCertificateRevocation `json:"proposed_certificate_revocations"` RevokedCertificatesRecords []types.Certificates `json:"revoked_certificates_records"` ChildCertificatesRecords []types.ChildCertificates `json:"child_certificates_records"` }
func DefaultGenesisState ¶
func DefaultGenesisState() GenesisState
func ExportGenesis ¶
func ExportGenesis(ctx sdk.Context, k Keeper) GenesisState
func NewGenesisState ¶
func NewGenesisState() GenesisState
type MsgAddX509Cert ¶
type MsgAddX509Cert = types.MsgAddX509Cert
type MsgApproveAddX509RootCert ¶
type MsgApproveAddX509RootCert = types.MsgApproveAddX509RootCert
type MsgApproveRevokeX509RootCert ¶
type MsgApproveRevokeX509RootCert = types.MsgApproveRevokeX509RootCert
type MsgProposeAddX509RootCert ¶
type MsgProposeAddX509RootCert = types.MsgProposeAddX509RootCert
type MsgProposeRevokeX509RootCert ¶
type MsgProposeRevokeX509RootCert = types.MsgProposeRevokeX509RootCert
type MsgRevokeX509Cert ¶
type MsgRevokeX509Cert = types.MsgRevokeX509Cert
type ProposedCertificate ¶
type ProposedCertificate = types.ProposedCertificate
type ProposedCertificateRevocation ¶
type ProposedCertificateRevocation = types.ProposedCertificateRevocation
Click to show internal directories.
Click to hide internal directories.