Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPIC | ABI encoding #10

Open
4 tasks
poplexity opened this issue Jan 4, 2024 · 0 comments
Open
4 tasks

EPIC | ABI encoding #10

poplexity opened this issue Jan 4, 2024 · 0 comments

Comments

@poplexity
Copy link
Member

Overview

Support all ABI types and decoding binary from an ABI.

Links

Typestresser ABI from WharfKit

Acceptance Criteria

An ABI structure with a from_str or from_json constructor function. Given that ABI structure, or a typedef from it, deserialize binary data into an untyped structure. As you cannot define a struct at runtime, if the ABI defines a type called Applesauce with some fields on it, we cannot return an Applesauce struct, so we need a generic type that can represent any ABI type (i.e. Map<String, Packer> or an enum with that map or just a Packer itself)

Tasks

  • Implement Packer for all Antelope types
  • Implement ABI struct
  • Implement a generic container for deserializing into
  • Implement deserialization from binary into the generic container
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant