Skip to content
Snippets Groups Projects
Unverified Commit 19bb14e6 authored by RJ Catalano's avatar RJ Catalano
Browse files

begin writing function


Signed-off-by: default avatarRJ Catalano <rj@monax.io>
parent 45fbfddd
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,10 @@ var PermsMap = map[string]SNativeFuncDescription{
"28fd0194": SNativeFuncDescription{"rm_role", 2, ptypes.RmRole, rm_role},
}
func getFuncIdentifiersFromSignature(string) string {
}
func permissionsContract(appState AppState, caller *Account, args []byte, gas *int64) (output []byte, err error) {
if len(args) < 4 {
return nil, fmt.Errorf("permissionsContract expects at least a 4-byte function identifier")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment