base

package
v0.2.0-RC Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2022 License: Apache-2.0 Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAccAddressData

func NewAccAddressData(value sdkTypes.AccAddress) data.Data

func NewBooleanData

func NewBooleanData(value bool) data.Data

func NewDecData

func NewDecData(value sdkTypes.Dec) data.Data

func NewHeightData

func NewHeightData(value types.Height) data.Data

func NewIDData

func NewIDData(value ids.ID) data.Data

func NewListData

func NewListData(value ...data.Data) data.Data

NewListData * onus of ensuring all Data are of the same type is on DataList

func NewStringData

func NewStringData(value string) data.Data

func ReadAccAddressData

func ReadAccAddressData(dataString string) (data.Data, error)

func ReadBooleanData

func ReadBooleanData(dataString string) (data.Data, error)

func ReadDecData

func ReadDecData(dataString string) (data.Data, error)

func ReadHeightData

func ReadHeightData(dataString string) (data.Data, error)

func ReadIDData

func ReadIDData(idData string) (data.Data, error)

func ReadListData

func ReadListData(dataString string) (data.Data, error)

func ReadStringData

func ReadStringData(stringData string) (data.Data, error)

func RegisterCodec

func RegisterCodec(codec *codec.Codec)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL