Documentation ¶
Index ¶
- Variables
- func GenerateFeeGranter(granter string, feeParams []string) []string
- func GenerateFees(amount string) []string
- func GetBurntPortion(tax sdk.Coin, burnFactor sdk.Dec) sdk.Coin
- func GetRewardPortion(tax sdk.Coin, burnt sdk.Coin) sdk.Coin
- func MustWriteTmpFile(tmpDir string, content []byte) string
- func TrimExtraLineOffset(input string, offset int) string
- func TrimImportedStdout(output string) string
- func WriteTmpFile(tmpDir string, content []byte) (string, error)
- type DeepCopyCreateDid
- type DeepCopyCreateResource
- type DeepCopyDIDDocument
- type DeepCopyUpdateDid
- type HumanReadableEvent
- type HumanReadableEventAttribute
- type IDeepCopy
- type TDeepCopy
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Codec codec.Codec Registry types.InterfaceRegistry )
Functions ¶
func GenerateFeeGranter ¶
func GenerateFees ¶
func MustWriteTmpFile ¶
func TrimExtraLineOffset ¶
func TrimImportedStdout ¶
Types ¶
type DeepCopyCreateDid ¶
type DeepCopyCreateDid struct {
TDeepCopy
}
DeepCopyCreateDid is a decorator for deep copy of type MsgCreateDidPayload.
func (*DeepCopyCreateDid) DeepCopy ¶
func (d *DeepCopyCreateDid) DeepCopy(src didtypes.MsgCreateDidDocPayload) didtypes.MsgCreateDidDocPayload
type DeepCopyCreateResource ¶
type DeepCopyCreateResource struct {
TDeepCopy
}
DeepCopyCreateResource is a decorator for deep copy of type MsgCreateResource.
func (*DeepCopyCreateResource) DeepCopy ¶
func (d *DeepCopyCreateResource) DeepCopy(src resourcetypes.MsgCreateResource) resourcetypes.MsgCreateResource
type DeepCopyDIDDocument ¶ added in v1.2.0
type DeepCopyDIDDocument struct {
TDeepCopy
}
func (*DeepCopyDIDDocument) DeepCopy ¶ added in v1.2.0
func (d *DeepCopyDIDDocument) DeepCopy(src didcli.DIDDocument) didcli.DIDDocument
type DeepCopyUpdateDid ¶
type DeepCopyUpdateDid struct {
TDeepCopy
}
DeepCopyUpdateDid is a decorator for deep copy of type MsgUpdateDidPayload.
func (*DeepCopyUpdateDid) DeepCopy ¶
func (d *DeepCopyUpdateDid) DeepCopy(src didtypes.MsgUpdateDidDocPayload) didtypes.MsgUpdateDidDocPayload
type HumanReadableEvent ¶
type HumanReadableEvent struct { Type string `json:"type"` Attributes []HumanReadableEventAttribute `json:"attributes"` }
func ReadableEvents ¶
func ReadableEvents(events []types.Event) []HumanReadableEvent
Click to show internal directories.
Click to hide internal directories.