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.
|
// Default flags.
|
||||||
const (
|
const (
|
||||||
NoneFlag CallFlag = 0
|
NoneFlag CallFlag = 0
|
||||||
AllowModifyStates CallFlag = 1 << iota
|
AllowStates CallFlag = 1 << iota
|
||||||
|
AllowModifyStates
|
||||||
AllowCall
|
AllowCall
|
||||||
AllowNotify
|
AllowNotify
|
||||||
ReadOnly = AllowCall | AllowNotify
|
ReadOnly = AllowStates | AllowCall | AllowNotify
|
||||||
All = AllowModifyStates | AllowCall | AllowNotify
|
All = ReadOnly | AllowModifyStates
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue