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

parse struct result #11

Open
jmonty77 opened this issue Jun 11, 2021 · 1 comment
Open

parse struct result #11

jmonty77 opened this issue Jun 11, 2021 · 1 comment

Comments

@jmonty77
Copy link

Hello, is planned to parse contract functions results like that?

struct user{
 bytes32 name;   
 string hash;   
 uint id;
}

If I use Ttupple to get responses, I don't get correct values.

@svanas
Copy link
Owner

svanas commented Jun 11, 2021

While Delphereum does ABI encoding/decoding of most primitive types and arrays and tuples, I am afraid it does not ABI-decode structs. You are welcome to open a PR. Thanks!

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

2 participants