Documentation
¶
Index ¶
- Constants
- Variables
- func DecodeSchemaBytesByHash(payload []byte) ([]byte, error)
- func DecodeSchemaBytesByName(payload []byte) ([]byte, error)
- func DecodeSchemaHashByName(payload []byte) (*common.Hash, error)
- func EncodeSaveTransaction(schemaName string, schemaBytes []byte) ([]byte, error)
- func EncodeSchemaBytesByHash(hash string) ([]byte, error)
- func EncodeSchemaBytesByName(name string) ([]byte, error)
- func EncodeSchemaHashByName(name string) ([]byte, error)
Constants ¶
const JSONABI = `` /* 1137-byte string literal not displayed */
JSONABI is json ethereum contract description
Variables ¶
var ABI abi.ABI
ABI json ABI representation
Functions ¶
func DecodeSchemaBytesByHash ¶ added in v0.0.2
DecodeSchemaBytesByHash is for decoding payload bytes for getSchemaBytesByHashMethod contract.
func DecodeSchemaBytesByName ¶ added in v0.0.2
DecodeSchemaBytesByName is used to get decoded bytes from name for using in getSchemaBytesByNameMethod contract.
func DecodeSchemaHashByName ¶ added in v0.0.2
DecodeSchemaHashByName is used getting decode hash by schema name.
func EncodeSaveTransaction ¶ added in v0.0.3
EncodeSaveTransaction is used to get encoded bytes from name and schema body for using in saveMethod contract.
func EncodeSchemaBytesByHash ¶ added in v0.0.2
EncodeSchemaBytesByHash is used getting schema body by hash. hash is a hex string to retrieve schema body
func EncodeSchemaBytesByName ¶ added in v0.0.2
EncodeSchemaBytesByName is used to get encoded bytes from name for using in getSchemaBytesByNameMethod contract.
func EncodeSchemaHashByName ¶ added in v0.0.2
EncodeSchemaHashByName is used getting schema hash by schema name.
Types ¶
This section is empty.