Documentation ¶
Index ¶
- Constants
- func NewDecData(value sdkTypes.Dec) types.Data
- func NewFact(data types.Data) types.Fact
- func NewHeight(Height int64) types.Height
- func NewHeightData(value types.Height) types.Data
- func NewID(idString string) types.ID
- func NewIDData(value types.ID) types.Data
- func NewImmutables(properties types.Properties) types.Immutables
- func NewMetaFact(data types.Data) types.MetaFact
- func NewMetaProperties(metaPropertyList []types.MetaProperty) types.MetaProperties
- func NewMetaProperty(id types.ID, metaFact types.MetaFact) types.MetaProperty
- func NewMutables(properties types.Properties) types.Mutables
- func NewParameter(ID types.ID, data types.Data, validator func(interface{}) error) types.Parameter
- func NewProperties(propertyList ...types.Property) types.Properties
- func NewProperty(id types.ID, fact types.Fact) types.Property
- func NewSignature(id types.ID, signatureBytes []byte, validityHeight types.Height) types.Signature
- func NewSignatures(signatureList []types.Signature) types.Signatures
- func NewStringData(value string) types.Data
- func ReadDecData(dataString string) (types.Data, error)
- func ReadFact(MetaFact string) (types.Fact, error)
- func ReadHeightData(dataString string) (types.Data, error)
- func ReadIDData(idData string) (types.Data, error)
- func ReadMetaFact(DataTypeAndString string) (types.MetaFact, error)
- func ReadMetaProperties(MetaProperties string) (types.MetaProperties, error)
- func ReadMetaProperty(PropertyIDAndData string) (types.MetaProperty, error)
- func ReadProperties(Properties string) (types.Properties, error)
- func ReadProperty(PropertyIDAndData string) (types.Property, error)
- func ReadStringData(stringData string) (types.Data, error)
- func RegisterCodec(codec *codec.Codec)
Constants ¶
View Source
const DecType = "D"
View Source
const HeightType = "H"
View Source
const IDType = "I"
View Source
const StringType = "S"
Variables ¶
This section is empty.
Functions ¶
func NewImmutables ¶
func NewImmutables(properties types.Properties) types.Immutables
func NewMetaProperties ¶
func NewMetaProperties(metaPropertyList []types.MetaProperty) types.MetaProperties
func NewMetaProperty ¶
func NewMutables ¶
func NewMutables(properties types.Properties) types.Mutables
func NewParameter ¶
func NewProperties ¶
func NewProperties(propertyList ...types.Property) types.Properties
func NewSignature ¶
func NewSignatures ¶
func NewSignatures(signatureList []types.Signature) types.Signatures
func NewStringData ¶
func ReadMetaProperties ¶
func ReadMetaProperties(MetaProperties string) (types.MetaProperties, error)
func ReadMetaProperty ¶
func ReadMetaProperty(PropertyIDAndData string) (types.MetaProperty, error)
func ReadProperties ¶
func ReadProperties(Properties string) (types.Properties, error)
func RegisterCodec ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.