compiler: allow to overload methods in manifest
Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
67eac3a27f
commit
7758378d28
8 changed files with 128 additions and 0 deletions
|
@ -64,6 +64,10 @@ type Options struct {
|
|||
// SafeMethods contains list of methods which will be marked as safe in manifest.
|
||||
SafeMethods []string
|
||||
|
||||
// Overloads contains mapping from compiled method name to the name emitted in manifest.
|
||||
// It can be used to provide method overloads as Go doesn't have such capability.
|
||||
Overloads map[string]string
|
||||
|
||||
// Permissions is a list of permissions for every contract method.
|
||||
Permissions []manifest.Permission
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue