neoneo-go/pkg/smartcontract/call_flags.go
2020-04-16 15:55:34 +03:00

14 lines
293 B
Go

package smartcontract
// CallFlag represents call flag.
type CallFlag byte
// Default flags.
const (
NoneFlag CallFlag = 0
AllowModifyStates CallFlag = 1 << iota
AllowCall
AllowNotify
ReadOnly = AllowCall | AllowNotify
All = AllowModifyStates | AllowCall | AllowNotify
)