essential-contributions / pint

Pint, the constraint-based programming language for declarative blockchains
Apache License 2.0
14 stars 0 forks source link

feat: Add support for decoding ABI types from `Word`s #786

Closed mitchmindtree closed 1 month ago

mitchmindtree commented 1 month ago

Adds Read and Decode traits (complementing Write and Encode) to pint-abi for decoding ABI-generated types from words.

This will be useful when requesting certain kinds of state from the server, and decoding that state into useful representations generated by pint-abi-gen.

Closes #734.