nametx perm

This commit is contained in:
Ethan Buchman
2015-06-09 18:50:42 -04:00
committed by Jae Kwon
parent 7e1412dbc2
commit 231a003783
3 changed files with 49 additions and 2 deletions

View File

@ -25,10 +25,11 @@ const (
CreateContract // 8
CreateAccount // 16
Bond // 32
Name // 64
DefaultBBPB = Send | Call | CreateContract | CreateAccount | Bond
DefaultBBPB = Send | Call | CreateContract | CreateAccount | Bond | Name
NumBasePermissions uint = 6
NumBasePermissions uint = 7
TopBasePermission PermFlag = 1 << (NumBasePermissions - 1)
AllSet PermFlag = (1 << 63) - 1 + (1 << 63)
)