Documentation ¶
Overview ¶
Package wasm supports smart contract integration with the provenance name module.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Encoder ¶
func Encoder(contract sdk.AccAddress, msg json.RawMessage, version string) ([]sdk.Msg, error)
Encoder returns a smart contract message encoder for the name module.
Types ¶
type AssessCustomFeeParams ¶
type AssessCustomFeeParams struct { // The fee amount to assess Amount sdk.Coin `json:"amount"` // The signer of the message From string `json:"from"` // An optional short name Name string `json:"name,omitempty"` // An optional address to receive the fees. if present, the split amount from basis points is sent to address. Recipient string `json:"recipient,omitempty"` // An optional recipient basis points (0 - 10,000). if not present, defaults to 10,000 RecipientBasisPoints string `recipient_basis_points:"recipient,omitempty"` }
AssessCustomFeeParams are params for encoding a MsgAssessCustomMsgFeeRequest.
func (*AssessCustomFeeParams) Encode ¶
func (params *AssessCustomFeeParams) Encode(contract sdk.AccAddress) ([]sdk.Msg, error)
Encode creates a MsgAssessCustomMsgFeeRequest.
type MsgFeesMsgParams ¶
type MsgFeesMsgParams struct { // Params for encoding a MsgAddMarkerRequest AssessCustomFee *AssessCustomFeeParams `json:"assess_custom_fee,omitempty"` }
MsgFeesMsgParams are params for encoding []sdk.Msg types from the msgfees module.
Click to show internal directories.
Click to hide internal directories.