Documentation ¶
Overview ¶
Package auth nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/pokt-network/pocket-core/x/auth/types
Index ¶
- Constants
- Variables
- func DeductFees(keeper keeper.Keeper, ctx sdk.Ctx, tx types.StdTx) sdk.Error
- func ExportGenesis(ctx sdk.Ctx, k keeper.Keeper) types.GenesisState
- func GetSignBytes(chainID string, stdTx types.StdTx) ([]byte, error)
- func InitGenesis(ctx sdk.Ctx, k keeper.Keeper, data types.GenesisState)
- func NewAnteHandler(ak keeper.Keeper) sdk.AnteHandler
- func NewQuerier(keeper keeper.Keeper) sdk.Querier
- func ValidateMemo(stdTx types.StdTx, params Params) sdk.Error
- func ValidateSignatureDepth(limit uint64, publicKey posCrypto.PublicKeyMultiSig) (ok bool)
- func ValidateTransaction(ctx sdk.Ctx, k Keeper, stdTx types.StdTx, params Params, ...) sdk.Error
- type Account
- type AppModule
- func (am AppModule) BeginBlock(ctx sdk.Ctx, _ abci.RequestBeginBlock)
- func (AppModule) EndBlock(_ sdk.Ctx, _ abci.RequestEndBlock) []abci.ValidatorUpdate
- func (am AppModule) ExportGenesis(ctx sdk.Ctx) json.RawMessage
- func (am AppModule) InitGenesis(ctx sdk.Ctx, data json.RawMessage) []abci.ValidatorUpdate
- func (AppModule) Name() string
- func (AppModule) NewHandler() sdk.Handler
- func (am AppModule) NewQuerierHandler() sdk.Querier
- func (AppModule) QuerierRoute() string
- func (AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
- func (AppModule) Route() string
- func (am AppModule) UpgradeCodec(ctx sdk.Ctx)
- type AppModuleBasic
- type BaseAccount
- type GenesisState
- type Keeper
- type Params
- type ProtoStdTx
- type QueryAccountParams
- type StdSignDoc
- type StdSignature
- type StdTx
- type TxBuilder
Constants ¶
const ( ModuleName = types.ModuleName StoreKey = types.StoreKey FeeCollectorName = types.FeeCollectorName QuerierRoute = types.QuerierRoute DefaultParamspace = types.DefaultCodespace QueryAccount = types.QueryAccount Burner = types.Burner Staking = types.Staking Minter = types.Minter )
Const Constants
Variables ¶
var ( NewKeeper = keeper.NewKeeper NewModuleAddress = types.NewModuleAddress NewBaseAccountWithAddress = types.NewBaseAccountWithAddress RegisterCodec = types.RegisterCodec CountSubKeys = types.CountSubKeys StdSignBytes = types.StdSignBytes DefaultTxDecoder = types.DefaultTxDecoder DefaultTxEncoder = types.DefaultTxEncoder NewTxBuilder = types.NewTxBuilder ModuleCdc = types.ModuleCdc )
Functions ¶
func DeductFees ¶
DeductFees deducts fees from the given account.
func ExportGenesis ¶
ExportGenesis returns a GenesisState for a given context and keeper
func GetSignBytes ¶
GetSignBytes returns a slice of bytes to sign over for a given transaction and an account.
func InitGenesis ¶
InitGenesis sets supply information for genesis.
CONTRACT: all types of accounts must have been already initialized/created
func NewAnteHandler ¶
func NewAnteHandler(ak keeper.Keeper) sdk.AnteHandler
NewAnteHandler returns an AnteHandler that checks signatures and deducts fees from the first signer.
func NewQuerier ¶
NewQuerier creates a querier for auth REST endpoints
func ValidateMemo ¶
ValidateMemo validates the memo size.
func ValidateSignatureDepth ¶
func ValidateSignatureDepth(limit uint64, publicKey posCrypto.PublicKeyMultiSig) (ok bool)
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
AppModule app module object ___________________________
func NewAppModule ¶
NewAppModule creates a new AppModule object
func (AppModule) BeginBlock ¶
func (am AppModule) BeginBlock(ctx sdk.Ctx, _ abci.RequestBeginBlock)
BeginBlock module begin-block
func (AppModule) EndBlock ¶
func (AppModule) EndBlock(_ sdk.Ctx, _ abci.RequestEndBlock) []abci.ValidatorUpdate
EndBlock module end-block
func (AppModule) ExportGenesis ¶
func (am AppModule) ExportGenesis(ctx sdk.Ctx) json.RawMessage
ExportGenesis module export genesis
func (AppModule) InitGenesis ¶
func (am AppModule) InitGenesis(ctx sdk.Ctx, data json.RawMessage) []abci.ValidatorUpdate
InitGenesis module init-genesis
func (AppModule) NewQuerierHandler ¶
NewQuerierHandler module querier
func (AppModule) QuerierRoute ¶
QuerierRoute module querier route name
func (AppModule) RegisterInvariants ¶
func (AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
RegisterInvariants register invariants
func (AppModule) UpgradeCodec ¶
type AppModuleBasic ¶
type AppModuleBasic struct{}
AppModuleBasic app module basics object
func (AppModuleBasic) DefaultGenesis ¶
func (AppModuleBasic) DefaultGenesis() json.RawMessage
DefaultGenesis default genesis state
func (AppModuleBasic) RegisterCodec ¶
func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
RegisterCodec register module codec
func (AppModuleBasic) ValidateGenesis ¶
func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
ValidateGenesis module validate genesis