mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 19:29:39 +00:00
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.
|
||||
const (
|
||||
UnknownType ParamType = -1
|
||||
SignatureType ParamType = 0x00
|
||||
BoolType ParamType = 0x01
|
||||
IntegerType ParamType = 0x02
|
||||
Hash160Type ParamType = 0x03
|
||||
Hash256Type ParamType = 0x04
|
||||
ByteArrayType ParamType = 0x05
|
||||
PublicKeyType ParamType = 0x06
|
||||
StringType ParamType = 0x07
|
||||
ArrayType ParamType = 0x10
|
||||
MapType ParamType = 0x12
|
||||
InteropInterfaceType ParamType = 0xf0
|
||||
AnyType ParamType = 0xfe
|
||||
AnyType ParamType = 0x00
|
||||
BoolType ParamType = 0x10
|
||||
IntegerType ParamType = 0x11
|
||||
ByteArrayType ParamType = 0x12
|
||||
StringType ParamType = 0x13
|
||||
Hash160Type ParamType = 0x14
|
||||
Hash256Type ParamType = 0x15
|
||||
PublicKeyType ParamType = 0x16
|
||||
SignatureType ParamType = 0x17
|
||||
ArrayType ParamType = 0x20
|
||||
MapType ParamType = 0x22
|
||||
InteropInterfaceType ParamType = 0x30
|
||||
VoidType ParamType = 0xff
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue