Documentation ¶
Index ¶
- type DecoderLog
- type ExtrinsicParam
- type RawAuraPreDigest
- type RawBabePreDigest
- type RawBabePreDigestPrimary
- type RawBabePreDigestSecondary
- type RawBabePreDigestSecondaryVRF
- type StateStorage
- func (s *StateStorage) ToAny(any interface{})
- func (s *StateStorage) ToDecimal() (r decimal.Decimal)
- func (s *StateStorage) ToInt() (r int)
- func (s *StateStorage) ToInt64() (r int64)
- func (s *StateStorage) ToMapInterface() (r map[string]interface{})
- func (s *StateStorage) ToMapString() (r map[string]string)
- func (s *StateStorage) ToRawAuraPreDigest() (r *RawAuraPreDigest)
- func (s *StateStorage) ToRawBabePreDigest() (r *RawBabePreDigest)
- func (s *StateStorage) ToString() (r string)
- func (s *StateStorage) ToStringSlice() (r []string)
- func (s *StateStorage) ToU32FromCodec() (r uint32)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecoderLog ¶
type DecoderLog struct { Type string `json:"type"` Value interface{} `json:"value"` }
type ExtrinsicParam ¶
type RawAuraPreDigest ¶
type RawAuraPreDigest struct {
SlotNumber int64 `json:"slotNumber"`
}
type RawBabePreDigest ¶
type RawBabePreDigest struct { Primary *RawBabePreDigestPrimary `json:"primary,omitempty"` Secondary *RawBabePreDigestSecondary `json:"secondary,omitempty"` VRF *RawBabePreDigestSecondaryVRF `json:"VRF,omitempty"` }
type RawBabePreDigestPrimary ¶
type StateStorage ¶
type StateStorage string
func Decode ¶
func Decode(raw string, decodeType string, option *types.ScaleDecoderOption) (s StateStorage, err error)
func (*StateStorage) ToAny ¶
func (s *StateStorage) ToAny(any interface{})
func (*StateStorage) ToDecimal ¶
func (s *StateStorage) ToDecimal() (r decimal.Decimal)
ToDecimal Python GRPC return balance type is String, when grpc return json, balance string will return "balance"
func (*StateStorage) ToInt ¶
func (s *StateStorage) ToInt() (r int)
func (*StateStorage) ToInt64 ¶
func (s *StateStorage) ToInt64() (r int64)
func (*StateStorage) ToMapInterface ¶
func (s *StateStorage) ToMapInterface() (r map[string]interface{})
func (*StateStorage) ToMapString ¶
func (s *StateStorage) ToMapString() (r map[string]string)
func (*StateStorage) ToRawAuraPreDigest ¶
func (s *StateStorage) ToRawAuraPreDigest() (r *RawAuraPreDigest)
func (*StateStorage) ToRawBabePreDigest ¶
func (s *StateStorage) ToRawBabePreDigest() (r *RawBabePreDigest)
func (*StateStorage) ToString ¶
func (s *StateStorage) ToString() (r string)
func (*StateStorage) ToStringSlice ¶
func (s *StateStorage) ToStringSlice() (r []string)
func (*StateStorage) ToU32FromCodec ¶
func (s *StateStorage) ToU32FromCodec() (r uint32)
Click to show internal directories.
Click to hide internal directories.