mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-14 23:07:50 +00:00
23cfebf621
* implemented add, mul, div, sub assign for identifiers. * Implemented struct field initialization. * Implemented imports * Implemented storage VM API (interop layer) + additional bug fixes when encountered. * Bumped version 0.12.0 * fixed double point extension on compiled output file. * Fixed bug where callExpr in returns where added to voidCall * fixed binExpr compare equal * Check the env for the gopath first * removed travis.yml * custom types + implemented general declarations. * commented out the storage test to make the build pass
14 lines
367 B
Go
14 lines
367 B
Go
package runtime
|
|
|
|
// TriggerType represents a byte.
|
|
type TriggerType byte
|
|
|
|
// List of valid trigger types.
|
|
const (
|
|
Verification TriggerType = 0x00
|
|
Application TriggerType = 0x10
|
|
)
|
|
|
|
// GetTrigger return the current trigger type. The return in this function
|
|
// doesn't really mather, this is just an interop placeholder.
|
|
func GetTrigger() TriggerType { return 0x00 }
|