mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-23 13:38:35 +00:00
15 lines
293 B
Go
15 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
|
||
|
)
|