auth

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/terra-project/core/x/auth/internal/types/

nolint

Index

Constants

View Source
const (
	ModuleName                    = auth.ModuleName
	StoreKey                      = auth.StoreKey
	FeeCollectorName              = auth.FeeCollectorName
	QuerierRoute                  = auth.QuerierRoute
	DefaultParamspace             = auth.DefaultParamspace
	DefaultMaxMemoCharacters      = auth.DefaultMaxMemoCharacters
	DefaultTxSigLimit             = auth.DefaultTxSigLimit
	DefaultTxSizeCostPerByte      = auth.DefaultTxSizeCostPerByte
	DefaultSigVerifyCostED25519   = auth.DefaultSigVerifyCostED25519
	DefaultSigVerifyCostSecp256k1 = auth.DefaultSigVerifyCostSecp256k1
	QueryAccount                  = auth.QueryAccount
)

Variables

View Source
var (
	// functions aliases
	RegisterCodec            = types.RegisterCodec
	RegisterAccountTypeCodec = types.RegisterAccountTypeCodec

	// variable aliases
	ModuleCdc = types.ModuleCdc
)
View Source
var (
	// functions aliases
	NewAnteHandler                    = auth.NewAnteHandler
	GetSignerAcc                      = auth.GetSignerAcc
	DefaultSigVerificationGasConsumer = auth.DefaultSigVerificationGasConsumer
	DeductFees                        = auth.DeductFees
	SetGasMeter                       = auth.SetGasMeter
	NewAccountKeeper                  = auth.NewAccountKeeper
	NewQuerier                        = auth.NewQuerier
	NewBaseAccount                    = auth.NewBaseAccount
	ProtoBaseAccount                  = auth.ProtoBaseAccount
	NewBaseAccountWithAddress         = auth.NewBaseAccountWithAddress
	NewAccountRetriever               = auth.NewAccountRetriever
	NewGenesisState                   = auth.NewGenesisState
	DefaultGenesisState               = auth.DefaultGenesisState
	ValidateGenesis                   = auth.ValidateGenesis
	SanitizeGenesisAccounts           = auth.SanitizeGenesisAccounts
	AddressStoreKey                   = auth.AddressStoreKey
	NewParams                         = auth.NewParams
	ParamKeyTable                     = auth.ParamKeyTable
	DefaultParams                     = auth.DefaultParams
	NewQueryAccountParams             = auth.NewQueryAccountParams
	NewStdTx                          = auth.NewStdTx
	CountSubKeys                      = auth.CountSubKeys
	NewStdFee                         = auth.NewStdFee
	StdSignBytes                      = auth.StdSignBytes
	DefaultTxDecoder                  = auth.DefaultTxDecoder
	DefaultTxEncoder                  = auth.DefaultTxEncoder
	NewTxBuilder                      = auth.NewTxBuilder
	NewTxBuilderFromCLI               = auth.NewTxBuilderFromCLI
	MakeSignature                     = auth.MakeSignature
	ValidateGenAccounts               = auth.ValidateGenAccounts
	GetGenesisStateFromAppState       = auth.GetGenesisStateFromAppState
	NewCosmosAppModule                = auth.NewAppModule

	// variable aliases
	CosmosModuleCdc           = auth.ModuleCdc
	AddressStoreKeyPrefix     = auth.AddressStoreKeyPrefix
	GlobalAccountNumberKey    = auth.GlobalAccountNumberKey
	KeyMaxMemoCharacters      = auth.KeyMaxMemoCharacters
	KeyTxSigLimit             = auth.KeyTxSigLimit
	KeyTxSizeCostPerByte      = auth.KeyTxSizeCostPerByte
	KeySigVerifyCostED25519   = auth.KeySigVerifyCostED25519
	KeySigVerifyCostSecp256k1 = auth.KeySigVerifyCostSecp256k1
)

Functions

This section is empty.

Types

type AccountKeeper

type AccountKeeper = auth.AccountKeeper

type AccountRetriever added in v0.4.0

type AccountRetriever = auth.AccountRetriever

type AppModule

type AppModule struct {
	AppModuleBasic
	// contains filtered or unexported fields
}

AppModule implements an application module for the auth module.

func NewAppModule

func NewAppModule(accountKeeper AccountKeeper) AppModule

NewAppModule creates a new AppModule object

func (AppModule) BeginBlock

func (am AppModule) BeginBlock(ctx sdk.Context, rbb abci.RequestBeginBlock)

BeginBlock returns the begin blocker for the auth module.

func (AppModule) EndBlock

func (am AppModule) EndBlock(ctx sdk.Context, rbb abci.RequestEndBlock) []abci.ValidatorUpdate

EndBlock returns the end blocker for the auth module.

func (AppModule) ExportGenesis

func (am AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage

ExportGenesis returns the exported genesis state as raw bytes for the auth module.

func (AppModule) GenerateGenesisState added in v0.4.0

func (am AppModule) GenerateGenesisState(simState *module.SimulationState)

GenerateGenesisState creates a randomized GenState of the auth module

func (AppModule) InitGenesis

func (am AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate

InitGenesis performs genesis initialization for the auth module.

func (AppModule) Name

func (am AppModule) Name() string

Name returns the auth module's name.

func (AppModule) NewHandler

func (am AppModule) NewHandler() sdk.Handler

NewHandler returns an sdk.Handler for the auth module.

func (AppModule) NewQuerierHandler

func (am AppModule) NewQuerierHandler() sdk.Querier

NewQuerierHandler returns the auth module sdk.Querier.

func (AppModule) ProposalContents added in v0.4.0

func (am AppModule) ProposalContents(simState module.SimulationState) []sim.WeightedProposalContent

ProposalContents doesn't return any content functions for governance proposals.

func (AppModule) QuerierRoute

func (am AppModule) QuerierRoute() string

QuerierRoute returns the auth module's querier route name.

func (AppModule) RandomizedParams added in v0.4.0

func (am AppModule) RandomizedParams(r *rand.Rand) []sim.ParamChange

RandomizedParams creates randomized auth param changes for the simulator.

func (AppModule) RegisterInvariants

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

RegisterInvariants registers the auth module invariants.

func (AppModule) RegisterStoreDecoder added in v0.4.0

func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry)

RegisterStoreDecoder registers a decoder for auth module's types

func (AppModule) Route

func (am AppModule) Route() string

Route returns the message routing key for the auth module.

func (AppModule) WeightedOperations added in v0.4.0

func (am AppModule) WeightedOperations(simState module.SimulationState) []sim.WeightedOperation

WeightedOperations doesn't return any auth module operation.

type AppModuleBasic

type AppModuleBasic struct{}

AppModuleBasic defines the basic application module used by the auth module.

func (AppModuleBasic) DefaultGenesis

func (AppModuleBasic) DefaultGenesis() json.RawMessage

DefaultGenesis returns default genesis state as raw bytes for the auth module.

func (AppModuleBasic) GetQueryCmd

func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command

GetQueryCmd returns the root query command for the auth module.

func (AppModuleBasic) GetTxCmd

func (AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command

GetTxCmd returns the root tx command for the auth module.

func (AppModuleBasic) Name

func (AppModuleBasic) Name() string

Name returns the auth module's name

func (AppModuleBasic) RegisterCodec

func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)

RegisterCodec registers the auth module's types for the given codec.

func (AppModuleBasic) RegisterRESTRoutes

func (AppModuleBasic) RegisterRESTRoutes(cliCtx context.CLIContext, route *mux.Router)

RegisterRESTRoutes registers the REST routes for the auth module.

func (AppModuleBasic) ValidateGenesis

func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error

ValidateGenesis performs genesis state validation for the auth module.

type BaseAccount

type BaseAccount = auth.BaseAccount

type CosmosAppModule

type CosmosAppModule = auth.AppModule

type CosmosAppModuleBasic

type CosmosAppModuleBasic = auth.AppModuleBasic

type GenesisAccountIterator added in v0.4.0

type GenesisAccountIterator = auth.GenesisAccountIterator

type GenesisState

type GenesisState = auth.GenesisState

type NodeQuerier added in v0.4.0

type NodeQuerier = auth.NodeQuerier

type Params

type Params = auth.Params

type QueryAccountParams

type QueryAccountParams = auth.QueryAccountParams

type SignatureVerificationGasConsumer

type SignatureVerificationGasConsumer = auth.SignatureVerificationGasConsumer

type StdFee

type StdFee = auth.StdFee

type StdSignDoc

type StdSignDoc = auth.StdSignDoc

type StdSignMsg

type StdSignMsg = auth.StdSignMsg

type StdSignature

type StdSignature = auth.StdSignature

type StdTx

type StdTx = auth.StdTx

type TxBuilder

type TxBuilder = auth.TxBuilder

Directories

Path Synopsis
client
cli
internal
types
nolint noalias
nolint noalias

Jump to

Keyboard shortcuts

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