Documentation ¶
Overview ¶
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/terra-project/core/x/msgauth/internal/keeper ALIASGEN: github.com/terra-project/core/x/msgauth/internal/types
Index ¶
- Constants
- Variables
- func EndBlocker(ctx sdk.Context, k Keeper)
- func InitGenesis(ctx sdk.Context, keeper Keeper, data GenesisState)
- func NewHandler(k Keeper) sdk.Handler
- type AppModule
- func (am AppModule) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock)
- func (am AppModule) EndBlock(ctx sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
- func (am AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage
- func (AppModule) GenerateGenesisState(simState *module.SimulationState)
- func (am AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate
- func (am AppModule) NewHandler() sdk.Handler
- func (am AppModule) NewQuerierHandler() sdk.Querier
- func (am AppModule) ProposalContents(_ module.SimulationState) []sim.WeightedProposalContent
- func (AppModule) QuerierRoute() string
- func (AppModule) RandomizedParams(r *rand.Rand) []sim.ParamChange
- func (AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
- func (AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry)
- func (AppModule) Route() string
- func (am AppModule) WeightedOperations(simState module.SimulationState) []sim.WeightedOperation
- 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, r *mux.Router)
- func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
- type Authorization
- type AuthorizationEntry
- type AuthorizationGrant
- type GGMPair
- type GenericAuthorization
- type GenesisState
- type Keeper
- type MsgExecAuthorized
- type MsgGrantAuthorization
- type MsgRevokeAuthorization
- type QueryGrantParams
- type QueryGrantsParams
- type SendAuthorization
Constants ¶
const ( EventGrantAuthorization = types.EventGrantAuthorization EventRevokeAuthorization = types.EventRevokeAuthorization EventExecuteAuthorization = types.EventExecuteAuthorization AttributeKeyGrantType = types.AttributeKeyGrantType AttributeKeyGranteeAddress = types.AttributeKeyGranteeAddress AttributeKeyGranterAddress = types.AttributeKeyGranterAddress AttributeValueCategory = types.AttributeValueCategory ModuleName = types.ModuleName StoreKey = types.StoreKey RouterKey = types.RouterKey QuerierRoute = types.QuerierRoute QueryGrant = types.QueryGrant QueryGrants = types.QueryGrants )
Variables ¶
var ( // functions aliases NewKeeper = keeper.NewKeeper NewQuerier = keeper.NewQuerier SetupTestInput = keeper.SetupTestInput NewAuthorizationGrant = types.NewAuthorizationGrant RegisterCodec = types.RegisterCodec NewGenericAuthorization = types.NewGenericAuthorization NewGenesisState = types.NewGenesisState DefaultGenesisState = types.DefaultGenesisState ValidateGenesis = types.ValidateGenesis GetGrantKey = types.GetGrantKey GetGrantTimeKey = types.GetGrantTimeKey ExtractAddressesFromGrantKey = types.ExtractAddressesFromGrantKey NewMsgGrantAuthorization = types.NewMsgGrantAuthorization NewMsgRevokeAuthorization = types.NewMsgRevokeAuthorization NewMsgExecAuthorized = types.NewMsgExecAuthorized NewQueryGrantParams = types.NewQueryGrantParams NewQueryGrantsParams = types.NewQueryGrantsParams NewSendAuthorization = types.NewSendAuthorization // variable aliases ModuleCdc = types.ModuleCdc ErrInvalidPeriod = types.ErrInvalidPeriod GrantKey = types.GrantKey GrantQueueKey = types.GrantQueueKey )
Functions ¶
func EndBlocker ¶
EndBlocker is called at the end of every block
func InitGenesis ¶
func InitGenesis(ctx sdk.Context, keeper Keeper, data GenesisState)
InitGenesis register all exported authorization entries
func NewHandler ¶
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
AppModule implements the sdk.AppModule interface
func NewAppModule ¶
func NewAppModule(keeper Keeper, accountKeeper auth.AccountKeeper, bankKeeper bank.Keeper) AppModule
NewAppModule creates a new AppModule object
func (AppModule) BeginBlock ¶
func (am AppModule) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock)
func (AppModule) EndBlock ¶
func (am AppModule) EndBlock(ctx sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
EndBlock does nothing
func (AppModule) ExportGenesis ¶
func (am AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage
ExportGenesis is always empty, as InitGenesis does nothing either
func (AppModule) GenerateGenesisState ¶
func (AppModule) GenerateGenesisState(simState *module.SimulationState)
GenerateGenesisState creates a randomized GenState of the distribution module.
func (AppModule) InitGenesis ¶
func (am AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate
InitGenesis is ignored, no sense in serializing future upgrades
func (AppModule) NewHandler ¶
func (AppModule) NewQuerierHandler ¶
/ NewQuerierHandler registers a query handler to respond to the module-specific queries
func (AppModule) ProposalContents ¶
func (am AppModule) ProposalContents(_ module.SimulationState) []sim.WeightedProposalContent
ProposalContents returns all the distribution content functions used to simulate governance proposals.
func (AppModule) QuerierRoute ¶
QuerierRoute returns the route we respond to for abci queries
func (AppModule) RandomizedParams ¶
func (AppModule) RandomizedParams(r *rand.Rand) []sim.ParamChange
RandomizedParams creates randomized distribution param changes for the simulator.
func (AppModule) RegisterInvariants ¶
func (AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
RegisterInvariants does nothing, there are no invariants to enforce
func (AppModule) RegisterStoreDecoder ¶
func (AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry)
RegisterStoreDecoder registers a decoder for distribution module's types
func (AppModule) WeightedOperations ¶
func (am AppModule) WeightedOperations(simState module.SimulationState) []sim.WeightedOperation
WeightedOperations returns the all the gov module operations with their respective weights.
type AppModuleBasic ¶
type AppModuleBasic struct{}
func (AppModuleBasic) DefaultGenesis ¶
func (AppModuleBasic) DefaultGenesis() json.RawMessage
DefaultGenesis is an empty object
func (AppModuleBasic) GetQueryCmd ¶
func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
GetQueryCmd returns the cli query commands for this module
func (AppModuleBasic) GetTxCmd ¶
func (AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command
GetTxCmd returns the transaction commands for this module
func (AppModuleBasic) RegisterCodec ¶
func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
RegisterCodec registers the msgauth types on the amino codec
func (AppModuleBasic) RegisterRESTRoutes ¶
func (AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, r *mux.Router)
RegisterRESTRoutes registers all REST query handlers
func (AppModuleBasic) ValidateGenesis ¶
func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
ValidateGenesis is always successful, as we ignore the value
type Authorization ¶
type Authorization = types.Authorization
type AuthorizationEntry ¶
type AuthorizationEntry = types.AuthorizationEntry
type AuthorizationGrant ¶
type AuthorizationGrant = types.AuthorizationGrant
type GenericAuthorization ¶
type GenericAuthorization = types.GenericAuthorization
type GenesisState ¶
type GenesisState = types.GenesisState
func ExportGenesis ¶
func ExportGenesis(ctx sdk.Context, keeper Keeper) (data GenesisState)
ExportGenesis writes the current store values to a genesis file, which can be imported again with InitGenesis
type MsgExecAuthorized ¶
type MsgExecAuthorized = types.MsgExecAuthorized
type MsgGrantAuthorization ¶
type MsgGrantAuthorization = types.MsgGrantAuthorization
type MsgRevokeAuthorization ¶
type MsgRevokeAuthorization = types.MsgRevokeAuthorization
type QueryGrantParams ¶
type QueryGrantParams = types.QueryGrantParams
type QueryGrantsParams ¶
type QueryGrantsParams = types.QueryGrantsParams
type SendAuthorization ¶
type SendAuthorization = types.SendAuthorization