cli,compiler: allow to specify manifest permissions
This commit is contained in:
parent
ebff8be20a
commit
4467e2cbfd
11 changed files with 241 additions and 19 deletions
|
@ -54,6 +54,9 @@ type Options struct {
|
|||
|
||||
// SafeMethods contains list of methods which will be marked as safe in manifest.
|
||||
SafeMethods []string
|
||||
|
||||
// Permissions is a list of permissions for every contract method.
|
||||
Permissions []manifest.Permission
|
||||
}
|
||||
|
||||
type buildInfo struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue