smartcontract: adjust param types according to NEO3
This commit is contained in:
parent
b65369e111
commit
bbae7318a5
1 changed files with 12 additions and 12 deletions
|
@ -20,18 +20,18 @@ type ParamType int
|
||||||
// A list of supported smart contract parameter types.
|
// A list of supported smart contract parameter types.
|
||||||
const (
|
const (
|
||||||
UnknownType ParamType = -1
|
UnknownType ParamType = -1
|
||||||
SignatureType ParamType = 0x00
|
AnyType ParamType = 0x00
|
||||||
BoolType ParamType = 0x01
|
BoolType ParamType = 0x10
|
||||||
IntegerType ParamType = 0x02
|
IntegerType ParamType = 0x11
|
||||||
Hash160Type ParamType = 0x03
|
ByteArrayType ParamType = 0x12
|
||||||
Hash256Type ParamType = 0x04
|
StringType ParamType = 0x13
|
||||||
ByteArrayType ParamType = 0x05
|
Hash160Type ParamType = 0x14
|
||||||
PublicKeyType ParamType = 0x06
|
Hash256Type ParamType = 0x15
|
||||||
StringType ParamType = 0x07
|
PublicKeyType ParamType = 0x16
|
||||||
ArrayType ParamType = 0x10
|
SignatureType ParamType = 0x17
|
||||||
MapType ParamType = 0x12
|
ArrayType ParamType = 0x20
|
||||||
InteropInterfaceType ParamType = 0xf0
|
MapType ParamType = 0x22
|
||||||
AnyType ParamType = 0xfe
|
InteropInterfaceType ParamType = 0x30
|
||||||
VoidType ParamType = 0xff
|
VoidType ParamType = 0xff
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue