Restructure and improve ACI #566

Merged
zxq9 merged 11 commits from fix_aci into master 2019-05-31 18:33:08 +09:00
zxq9 commented 2019-05-28 20:35:25 +09:00 (Migrated from gitlab.com)

Created by: hanssv

  • Keyword indexed is now optional for word typed (bool, int, address,
    ...) event arguments.
  • State variable pretty printing now produce 'a, 'b, ... instead of '1, '2, ....
  • ACI is restructured and improved:
    • state and event types (if present) now appear at the top level.
    • Namespaces and remote interfaces are no longer ignored.
    • All type definitions are included in the interface rendering.
    • API functions are renamed, new functions are contract_interface
      and render_aci_json.
*Created by: hanssv* - Keyword `indexed` is now optional for word typed (`bool`, `int`, `address`, ...) event arguments. - State variable pretty printing now produce `'a, 'b, ...` instead of `'1, '2, ...`. - ACI is restructured and improved: - `state` and `event` types (if present) now appear at the top level. - Namespaces and remote interfaces are no longer ignored. - All type definitions are included in the interface rendering. - API functions are renamed, new functions are `contract_interface` and `render_aci_json`.
zxq9 commented 2019-05-28 21:26:15 +09:00 (Migrated from gitlab.com)

Created by: UlfNorell

Review: Approved

*Created by: UlfNorell* **Review:** Approved
zxq9 commented 2019-05-31 17:43:04 +09:00 (Migrated from gitlab.com)

Created by: happi

Review: Approved

*Created by: happi* **Review:** Approved
zxq9 commented 2019-05-31 18:33:08 +09:00 (Migrated from gitlab.com)

Merged by: hanssv at 2019-05-31 09:33:08 UTC

*Merged by: hanssv at 2019-05-31 09:33:08 UTC*
Sign in to join this conversation.
No description provided.