mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-27 13:58:05 +00:00
15 lines
299 B
Go
15 lines
299 B
Go
package smartcontract
|
|
|
|
// CallFlag represents call flag.
|
|
type CallFlag byte
|
|
|
|
// Default flags.
|
|
const (
|
|
NoneFlag CallFlag = 0
|
|
AllowStates CallFlag = 1 << iota
|
|
AllowModifyStates
|
|
AllowCall
|
|
AllowNotify
|
|
ReadOnly = AllowStates | AllowCall | AllowNotify
|
|
All = ReadOnly | AllowModifyStates
|
|
)
|