Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCodec(cdc *codec.Codec)
- func RegisterRestRoutes(ctx context.CLIContext, r *mux.Router)
- func Verify(tx auth.StdTx, chainID string, accountNumber, sequence uint64) error
- type AppModule
- func (AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock)
- func (AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
- func (a AppModule) ExportGenesis(_ sdk.Context) json.RawMessage
- func (a AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate
- func (AppModule) Name() string
- func (a AppModule) NewHandler() sdk.Handler
- func (a AppModule) NewQuerierHandler() sdk.Querier
- func (AppModule) QuerierRoute() string
- func (AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
- func (AppModule) Route() string
- type AppModuleBasic
- func (AppModuleBasic) DefaultGenesis() json.RawMessage
- func (AppModuleBasic) GetQueryCmd(_ *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(_ json.RawMessage) (err error)
- type Error
- type MsgSignText
- type Pair
- type Success
Constants ¶
View Source
const DefaultAccountNumber uint64 = 0
View Source
const DefaultChainID = "signed-message-v1"
View Source
const DefaultSequence uint64 = 0
View Source
const ModuleName = "signutil"
Variables ¶
View Source
var ModuleCdc = codec.New()
ModuleCdc instantiates a new codec for the domain module
Functions ¶
func RegisterCodec ¶
func RegisterRestRoutes ¶
func RegisterRestRoutes(ctx context.CLIContext, r *mux.Router)
Types ¶
type AppModule ¶
type AppModule struct {
AppModuleBasic
}
- - FILL APP MODULE - -
func NewAppModule ¶
func NewAppModule() AppModule
func (AppModule) BeginBlock ¶
func (AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock)
func (AppModule) EndBlock ¶
func (AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) ExportGenesis ¶
func (a AppModule) ExportGenesis(_ 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 (AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
type AppModuleBasic ¶
type AppModuleBasic struct{}
nolint - - - FILL APP MODULE BASIC -- // AppModuleBasic implements the AppModuleBasic interface of the cosmos-sdk
func (AppModuleBasic) DefaultGenesis ¶
func (AppModuleBasic) DefaultGenesis() json.RawMessage
func (AppModuleBasic) GetQueryCmd ¶
func (AppModuleBasic) GetQueryCmd(_ *codec.Codec) *cobra.Command
func (AppModuleBasic) Name ¶
func (AppModuleBasic) Name() string
func (AppModuleBasic) RegisterCodec ¶
func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
func (AppModuleBasic) RegisterRESTRoutes ¶
func (AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, r *mux.Router)
func (AppModuleBasic) ValidateGenesis ¶
func (AppModuleBasic) ValidateGenesis(_ json.RawMessage) (err error)
type MsgSignText ¶
type MsgSignText struct { Message string `json:"message,omitempty"` Pairs []Pair `json:"pairs,omitempty"` Signer sdk.AccAddress `json:"signer"` }
func (MsgSignText) GetSignBytes ¶
func (m MsgSignText) GetSignBytes() []byte
GetSignBytes implements sdk.Message
func (MsgSignText) GetSigners ¶
func (m MsgSignText) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Message
func (MsgSignText) Route ¶
func (m MsgSignText) Route() string
func (MsgSignText) Type ¶
func (m MsgSignText) Type() string
func (MsgSignText) ValidateBasic ¶
func (m MsgSignText) ValidateBasic() error
Click to show internal directories.
Click to hide internal directories.