Add optional arguments to the NewEntity@gg:handler action to allow for field setting from event (or call) attributes. This would reduce the need to make contract calls just to set contract static parameters.
This will require enhancing the parsing of @gg:handler actions so as to allow variations in the actions syntax (E.g.: NewEntity X from Y and NewEntity X from Y with field1 = attr1, field2 = attr2). A new small seperate lexer/parser could potentially be made just to handle the actions syntax.
Add optional arguments to the
NewEntity
@gg:handler
action to allow for field setting from event (or call) attributes. This would reduce the need to make contract calls just to set contract static parameters.Potential idea example:
This will require enhancing the parsing of
@gg:handler
actions so as to allow variations in the actions syntax (E.g.:NewEntity X from Y
andNewEntity X from Y with field1 = attr1, field2 = attr2
). A new small seperate lexer/parser could potentially be made just to handle the actions syntax.