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

Introduce ReputationBootstrapper #1086

Merged
merged 17 commits into from
Dec 12, 2022
Merged

Conversation

kronosapiens
Copy link
Member

@kronosapiens kronosapiens commented Sep 1, 2022

Closes #1069

Add ReputationBootstrapper, which allows for setting & claiming of reputation+token grants.

  • Grants can be set in bulk
  • The extension must be "locked" before grants can be claimed (similar to expenditures)
  • A user must "commit" the secret and wait one hour before claiming
  • If the giveTokens flag is set to true, tokens will be given along with reputation
  • The reputation grant begins decaying when it is set, at the same rate as reputation in general
  • Reputation decay is implemented in O(logn) time, in the number of hours of decay

@kronosapiens kronosapiens self-assigned this Sep 1, 2022
@kronosapiens kronosapiens force-pushed the feat/reputation-bootstrapping branch 2 times, most recently from 5a44f68 to b347370 Compare September 7, 2022 19:32
@kronosapiens kronosapiens force-pushed the feat/reputation-bootstrapping branch 6 times, most recently from e3e8c65 to 73db29f Compare September 14, 2022 15:59
contracts/extensions/ReputationBootstrapper.sol Outdated Show resolved Hide resolved
contracts/extensions/ReputationBootstrapper.sol Outdated Show resolved Hide resolved
contracts/extensions/ReputationBootstrapper.sol Outdated Show resolved Hide resolved
contracts/extensions/ReputationBootstrapper.sol Outdated Show resolved Hide resolved
@kronosapiens kronosapiens force-pushed the feat/reputation-bootstrapping branch 3 times, most recently from 6b5bb6f to 422e895 Compare October 13, 2022 01:35
contracts/extensions/ReputationBootstrapper.sol Outdated Show resolved Hide resolved
contracts/extensions/ReputationBootstrapper.sol Outdated Show resolved Hide resolved
test/extensions/reputation-bootstrapper.js Outdated Show resolved Hide resolved
contracts/extensions/ReputationBootstrapper.sol Outdated Show resolved Hide resolved
@kronosapiens kronosapiens force-pushed the feat/reputation-bootstrapping branch 2 times, most recently from 732c855 to 0975e66 Compare October 13, 2022 23:50
@kronosapiens
Copy link
Member Author

@arrenv can you weigh in on the above issues?

@kronosapiens kronosapiens force-pushed the feat/reputation-bootstrapping branch 2 times, most recently from ce6d2e2 to fca1adf Compare October 20, 2022 02:18
@kronosapiens kronosapiens force-pushed the feat/reputation-bootstrapping branch 2 times, most recently from 935856b to 5b12c64 Compare October 29, 2022 00:09
contracts/extensions/ReputationBootstrapper.sol Outdated Show resolved Hide resolved
contracts/extensions/ReputationBootstrapper.sol Outdated Show resolved Hide resolved
contracts/extensions/ReputationBootstrapper.sol Outdated Show resolved Hide resolved
contracts/extensions/ReputationBootstrapper.sol Outdated Show resolved Hide resolved
contracts/extensions/ReputationBootstrapper.sol Outdated Show resolved Hide resolved
@kronosapiens kronosapiens force-pushed the feat/reputation-bootstrapping branch 2 times, most recently from a8d192e to c7d1f37 Compare November 26, 2022 01:17
@kronosapiens kronosapiens merged commit c67cfea into develop Dec 12, 2022
@kronosapiens kronosapiens deleted the feat/reputation-bootstrapping branch December 12, 2022 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Reputation bootstrapping via email
3 participants