Merge pull request #1988 from nspcc-dev/cli-permission

cli,compiler: allow to specify manifest permissions
This commit is contained in:
Roman Khimov 2021-06-07 10:27:29 +03:00 committed by GitHub
commit 352450d25a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 241 additions and 19 deletions

View file

@ -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 {