forked from TrueCloudLab/neoneo-go
smartcontract: add AllowStates call flag
This commit is contained in:
parent
5fed409ea7
commit
ebbf0321b2
1 changed files with 5 additions and 4 deletions
|
@ -5,10 +5,11 @@ type CallFlag byte
|
|||
|
||||
// Default flags.
|
||||
const (
|
||||
NoneFlag CallFlag = 0
|
||||
AllowModifyStates CallFlag = 1 << iota
|
||||
NoneFlag CallFlag = 0
|
||||
AllowStates CallFlag = 1 << iota
|
||||
AllowModifyStates
|
||||
AllowCall
|
||||
AllowNotify
|
||||
ReadOnly = AllowCall | AllowNotify
|
||||
All = AllowModifyStates | AllowCall | AllowNotify
|
||||
ReadOnly = AllowStates | AllowCall | AllowNotify
|
||||
All = ReadOnly | AllowModifyStates
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue