Versions in this module Expand all Collapse all v0 v0.7.2 Apr 16, 2020 v0.7.1 Apr 9, 2020 Changes in this version + const AddressType + const BooleanType + const ByteArrayType + const H256Type + const IntType + const ListType + const MAX_PARAM_LENGTH + const StringType + const VERSION + var ERROR_PARAM_FORMAT = fmt.Errorf("error param format") + var ERROR_PARAM_NOT_SUPPORTED_TYPE = fmt.Errorf("error param format:not supported type") + var ERROR_PARAM_TOO_LONG = fmt.Errorf("param length is exceeded") + func DecodeValue(source *common.ZeroCopySource) (interface{}, error) + func DeserializeCallParam(input []byte) (interface{}, error) + func DeserializeInput(input []byte) ([]interface{}, error) + func DeserializeNotify(input []byte) interface + func EncodeAddress(sink *common.ZeroCopySink, addr common.Address) + func EncodeBigInt(sink *common.ZeroCopySink, intval *big.Int) error + func EncodeBool(sink *common.ZeroCopySink, b bool) + func EncodeBytes(sink *common.ZeroCopySink, buf []byte) + func EncodeH256(sink *common.ZeroCopySink, hash common.Uint256) + func EncodeInt128(sink *common.ZeroCopySink, val common.I128) + func EncodeList(sink *common.ZeroCopySink, list []interface{}) error + func EncodeString(sink *common.ZeroCopySink, buf string) + func EncodeValue(value interface{}) ([]byte, error)