QurasVM provides the following basic types:
ByteArrayIntegerBooleanArrayStructMapInterface
The basic types that can be directly generated from QSB code are only:
ByteArrayArrayStructMap
The basic types of C# are:
Int8int16int32int64uint8uint16uint32uint64floatdoubleBooleancharstring
Because of the differences in the basic types of virtual machines, the basic types of C# are not fully supported, and there are some special situations in use.
When you deploy smart contract, you have to set parameter types and return type. QurasVM provides the following types :
Boolean(0x01)Integer(0x02)Hash160(0x03)Hash256(0x04)ByteArray(0x05)PublicKey(0x06)String(0x07)Array(0x10)