Documentation ¶
Index ¶
- func DecodeByTypeID(metadata *types.Metadata, arg *ArgDecoder, typeId types.Si1LookupTypeID) (interface{}, error)
- func FindEventNamesForEventID(metadata *types.Metadata, eventID types.EventID) (types.Text, types.Text, []types.Si1Field, error)
- func GetCallMethodFromMetadata(metadata *types.Metadata, call *types.Call) (variant types.Si1Variant, mod types.PalletMetadataV14)
- func GetSi1TypeFromMetadata(metadata *types.Metadata, typeId types.Si1LookupTypeID) *types.Si1Type
- func PrimitiveDecode(arg *ArgDecoder, typeDefPrimitive types.Si1TypeDefPrimitive) (interface{}, error)
- type ArgDecoder
- type CallArg
- type CallData
- type Event
- type EventData
- type EventRaw
- type Variants
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeByTypeID ¶
func DecodeByTypeID(metadata *types.Metadata, arg *ArgDecoder, typeId types.Si1LookupTypeID) (interface{}, error)
func GetCallMethodFromMetadata ¶
func GetCallMethodFromMetadata(metadata *types.Metadata, call *types.Call) (variant types.Si1Variant, mod types.PalletMetadataV14)
func GetSi1TypeFromMetadata ¶
func PrimitiveDecode ¶
func PrimitiveDecode(arg *ArgDecoder, typeDefPrimitive types.Si1TypeDefPrimitive) (interface{}, error)
Types ¶
type ArgDecoder ¶
func NewArgDecoder ¶
func NewArgDecoder(reader io.Reader) *ArgDecoder
func (ArgDecoder) Decode ¶
func (pd ArgDecoder) Decode(target ...interface{}) error
Click to show internal directories.
Click to hide internal directories.