neoneo-go/pkg/smartcontract/call_flags.go

15 lines
293 B
Go
Raw Normal View History

2020-03-19 15:52:37 +00:00
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
)