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

FromJSON/ToJSON instances for solidity primitive types #84

Open
2 of 11 tasks
akru opened this issue Nov 2, 2018 · 4 comments
Open
2 of 11 tasks

FromJSON/ToJSON instances for solidity primitive types #84

akru opened this issue Nov 2, 2018 · 4 comments

Comments

@akru
Copy link
Member

akru commented Nov 2, 2018

For simple JSON encoding any solidity related type should have FromJSON and ToJSON instances. In first view UIntN type have no.

Solidity primitive type check list:

  • Address
  • Bool
  • Bytes
  • BytesN
  • IntN
  • UIntN
  • List
  • ListN
  • String
  • Tuple
  • OneTuple
@akru akru added this to the Release 0.8.1 milestone Nov 2, 2018
@adithya70
Copy link

hi is the issue still active can i work on it...?

@akru
Copy link
Member Author

akru commented Oct 5, 2021

Hi @adithya70,
yes, it’s actual, your support will be very helpful! Feel free to open PR.

PS: primitive types located in https://github.com/airalab/hs-web3/tree/master/packages/solidity/src/Data/Solidity/Prim

@adithya70
Copy link

adithya70 commented Oct 7, 2021

Hi @adithya70, yes, it’s actual, your support will be very helpful! Feel free to open PR.

PS: primitive types located in https://github.com/airalab/hs-web3/tree/master/packages/solidity/src/Data/Solidity/Prim
can i know more about the issue please.? i can see there are already instances created for UIntN type in Int.hs .

@RubenAstudillo
Copy link
Contributor

I think this is related to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants