Documentation
¶
Index ¶
- Constants
- func AppendAutoCLIQueryOptions(content string, options ...string) (string, error)
- func AppendAutoCLITxOptions(content string, options ...string) (string, error)
- func Box(box fs.FS, opts *Options, g *genny.Generator) error
- func ModuleSimulationMsgModify(content, modulePath, moduleName string, ...) (string, error)
- type Options
Constants ¶
View Source
const ( // GoGoProtoImport is the import path for the gogoproto package. GoGoProtoImport = "gogoproto/gogo.proto" // MsgSignerOption correspond to the proto annotation for defining a message signer. MsgSignerOption = "(cosmos.msg.v1.signer)" )
View Source
const ProtoGenesisStateMessage = "GenesisState"
ProtoGenesisStateMessage is the name of the proto message that represents the genesis state.
Variables ¶
This section is empty.
Functions ¶
func AppendAutoCLIQueryOptions ¶ added in v29.9.0
AppendAutoCLIQueryOptions appends options to the Query RpcCommandOptions in AutoCLIOptions.
func AppendAutoCLITxOptions ¶ added in v29.9.0
AppendAutoCLITxOptions appends options to the Tx RpcCommandOptions in AutoCLIOptions.
Types ¶
type Options ¶
type Options struct {
AppName string
ProtoDir string
ProtoVer string
ModuleName string
ModulePath string
TypeName multiformatname.Name
MsgSigner multiformatname.Name
Fields field.Fields
Index field.Field
NoMessage bool
NoSimulation bool
IsIBC bool
}
Options ...
func (*Options) ProtoFile ¶
ProtoFile returns the path to the proto folder within the generated app.
func (*Options) ProtoTypeImport ¶
ProtoTypeImport Return the protobuf import statement for this type.
Click to show internal directories.
Click to hide internal directories.