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

MVP Version 3 with Chainlink Mocked #13

Merged
merged 5 commits into from
Dec 3, 2023

Conversation

jasonklein
Copy link
Collaborator

This PR adds the ability to propose content from the front end. Unlike with consuming content, the user does sign and send the proposal transaction and so needs to have gas to pay for the transaction.

It makes several name changes and introduces a number of new events and public state variables.

To keep things "simple," I'm taking the approach that the smart contract does not need to keep track of content items beyond their proposal, validation, and consumption. That information is sent to the smart contract so that the information can be stored on-chain via events. So, one cannot call the smart contract to learn which content items a user (address) has consumed, only that the user has a certain number of points. But an off-chain system is able to review the blockchain history and reconstruct which content items have been proposed and consumed by which address.

@jasonklein jasonklein merged commit e669bbf into main Dec 3, 2023
0 of 2 checks passed
@jasonklein jasonklein deleted the mvp-version-3-proposing-content-mocked-chainlink branch December 3, 2023 17:40
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.

1 participant