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

Improve contract viewability #832

Merged
merged 2 commits into from
Jan 23, 2020
Merged

Conversation

chrismaree
Copy link
Member

@chrismaree chrismaree commented Jan 23, 2020

This PR makes a number of functions that were previously private public. This makes building front ends and components that connect to the contract easier.

One consideration was making FixedPoint.Unsigned's public and how this would work in the case of contract readability. This was tested with truffle console to ensure that the public interfaces are useable and all contract state was able to be read directly from the console.

close #829

Signed-off-by: Christopher Maree <[email protected]>
Signed-off-by: Christopher Maree <[email protected]>
Copy link
Member

@mrice32 mrice32 left a comment

Choose a reason for hiding this comment

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

LGTM!

@chrismaree chrismaree merged commit 469fd09 into master Jan 23, 2020
@chrismaree chrismaree deleted the improve-contract-viewability branch January 23, 2020 20:20
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

Successfully merging this pull request may close these issues.

Make DVM system parameters viewable to offchain applications
2 participants