package
0.0.0-20211208090927-9733d9dc3959
Repository: https://github.com/linbeier/authsysibc.git
Documentation: pkg.go.dev

# Functions

DefaultGenesisState - default GenesisState used by Cosmos Hub.
DefaultParams defines the parameters for this module.
NewFileauth returns a new Fileauth with the minprice as the price.
No description provided by the author
NewGenesisState creates a new GenesisState object.
No description provided by the author
No description provided by the author
No description provided by the author
NewParams creates a new Params object.
ParamKeyTable for fileauthservice module.
RegisterCodec registers concrete types on codec.
ValidateGenesis validates the fileauthservice genesis parameters.

# Constants

fileauthservice module event types.
Default parameter namespace.
ModuleName is the name of the module.
QuerierRoute to be used for querierer msgs.
RecordStoreKey to be used in store tracing message.
RouterKey to be used for routing msgs.
StoreKey to be used when creating the KVStore.

# Variables

No description provided by the author
No description provided by the author
MinTransPrice is Initial Starting Price for a file authority to transfer.
ModuleCdc defines the module codec.
No description provided by the author

# Structs

authority set is implement by letters, 'r' for read, 'w' for write, 't' for transfer, they are combined in a certain sequnce.
No description provided by the author
GenesisState - all fileauthservice state that must be provided at genesis.
设计标准是owner才可以进行删除操作.
TODO: Describe your actions, these will implment the interface of `sdk.Msg` verify interface at compile time var _ sdk.Msg = &Msg<Action>{} Msg<Action> - struct for unjailing jailed validator type Msg<Action> struct { ValidatorAddr sdk.ValAddress `json:"address" yaml:"address"` // address of the validator operator } NewMsg<Action> creates a new Msg<Action> instance func NewMsg<Action>(validatorAddr sdk.ValAddress) Msg<Action> { return Msg<Action>{ ValidatorAddr: validatorAddr, } } const <action>Const = "<action>" // nolint func (msg Msg<Action>) Route() string { return RouterKey } func (msg Msg<Action>) Type() string { return <action>Const } func (msg Msg<Action>) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{sdk.AccAddress(msg.ValidatorAddr)} } GetSignBytes gets the bytes for the message signer to sign on func (msg Msg<Action>) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) } ValidateBasic validity check for the AnteHandler func (msg Msg<Action>) ValidateBasic() error { if msg.ValidatorAddr.Empty() { return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, "missing validator address" } return nil } */.
This is a message that will transfer a file's authority to another account.
Params - used for initializing default parameter for fileauthservice at genesis.
QueryResAuth Queries Result Payload for a resolve query.

# Interfaces

When a module wishes to interact with another module, it is good practice to define what it will use as an interface so the module cannot use things that are not permitted.
ParamSubspace defines the expected Subspace interfacace.

# Type aliases

No description provided by the author
QueryResNames Queries Result Payload for a names query.