Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

feat: support human readable struct inputs #482

Merged
merged 11 commits into from
Oct 2, 2021

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Oct 1, 2021

Motivation

Support custom structs as contract params in human readable abi

Solution

  • keep track of the function's types (input, output) in the abi parser, this is added on top the existing parser and adds a bit more verbosity in to the param parse functions...
  • reuse the existing InternalStructs when determine function inputs

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog

@mattsse mattsse force-pushed the matt/human-readable-struct-inputs branch from 8a616ca to fda88c3 Compare October 1, 2021 20:09
Copy link
Owner

@gakonst gakonst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

godlike

@gakonst gakonst merged commit 42bf983 into gakonst:master Oct 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants