18 lines
300 B
Go
18 lines
300 B
Go
|
package transaction
|
||
|
|
||
|
// ParamType represent the Type of the contract parameter
|
||
|
type ParamType uint8
|
||
|
|
||
|
// A list of supported smart contract parameter types.
|
||
|
const (
|
||
|
SignatureType ParamType = iota
|
||
|
BoolType
|
||
|
IntegerType
|
||
|
Hash160Type
|
||
|
Hash256Type
|
||
|
ByteArrayType
|
||
|
PublicKeyType
|
||
|
StringType
|
||
|
ArrayType
|
||
|
)
|