package
0.0.0-20190807155910-e7c82ff2c4ef
Repository: https://github.com/jerryma0912/cosmos-sdk-tutorial.git
Documentation: pkg.go.dev

# Functions

定义购买域名的Msg NewMsgBuyName is the constructor function for MsgBuyName.
NewMsgSetName is a constructor function for MsgSetName.
Returns a new Whois with the minprice as the price.
创建的任何接口和实现接口的任何结构都需要在RegisterCodec函数中声明。 在此模块中,需要注册两个Msg的实现(SetName和BuyName), 但你的Whois查询返回的类型不需要 RegisterCodec registers concrete types on the Amino codec.

# Constants

module name.
this was defined in your key.go file.
StoreKey to be used when creating the KVStore.

# Variables

Initial Starting Price for a name that was never previously owned如果名称尚未有所有者,我们希望使用 MinPrice 对其进行初始化。.
No description provided by the author

# Structs

MsgBuyName defines the BuyName message.
SDK中Msg的命令约束是 Msg{.Action}。 要实现的第一个操作是SetName,因此命名为MsgSetName。 此Msg允许域名的所有者设置该域名的解析返回值。 MsgSetName defines a SetName message.
Query Result Payload for a resolve query.
Whois is a struct that contains all the metadata of a name.

# Type aliases

Query Result Payload for a names query.