gitcoinco / gitcoinco/web

Integrate "future salaries" into GitCoin

Open
#8,183 19 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.8k
Forks
776
PR merge metrics
No merged PRs in 30d

Description

### User Story

People receive salaries based on their already published and having become popular works. That's wrong, because it does not take future expectations into account.

Moreover, some working people receive no salary at all or salaries are spread in an arbitrarily unfair way.

Authors and publishers are not rewarded for publishing open access / open source.

Also need an interface to donate for funding retired carbon offsets.

### Why Is this Needed

We need a way to collect donations and pay salaries to scientists, free software developers, as well as to open access publishers that are calculated based on their predicted future performance.

The predictions should be done in a decentralized way.

We should also be able to make traders "bid" on _future_ donations, because donations grow over time and become more international and more inclusive.

*Summary*:

### Description

*Type*: Feature

Here is a [demo](https://vporton.github.io/future-salary/).

- Lock donated/bequested funds for an extended amount of time (for climate it probably would be 50 years, for science and free software - 100 years (certainly, we can set it shorter), however shorter locking period should be considered). Please comment how exactly many years the lock periods should be. Should we have choice for multiple locking periods?

- Allocate conditional tokens (for climate a single carbon token) to anybody who registers (be it a human or a corporation).

- (In the future) pay collateral to holders after the set point in the future to holders of conditional tokens to stimulate their acquisition by traders in the amount proportional to the "score" (such as the future citations count of a scientist) of a person.

It works as a money transfer from the future: Provided certain assumptions about the market (including the assumption that we can predict future scores of registered users with precision enough for our purposes), we can take in present a sum equal (relative to the market size) to a sum of collaterals donated _in the future_. So we get future donations! See the scientific article referred below for the details.

For more information including the mathematical details see:
- (temporary) [project homepage](https://reward.portonvictor.org)
- [the idea in details](https://github.com/vporton/future-contracts/blob/master/docs/PredictionOfPredictions.md)
- [more about the calculation algorithm of the collateral](https://github.com/vporton/future-contracts/blob/master/docs/Calculations.md)
- the scientific article I have sent to The Journal of International Development (because it is a closed access publication, I can't publish it here, I will send it to you on request).

### Expected Behavior

Integrate [this code](https://github.com/vporton/donations) into GitCoin. The project could be maintained independently of GitCoin but:

- It aligns very well with GitCoin mission.
- The project needs support from GitCoin community in both coding/auditing and in publicity.

### Definition of Done
- The project is finished, all FIXME and TODO comments as well as all items in the TODO file are done.
- The project is fully integrated into GitCoin and has a noticeable link to it in GitCoin UI.
- The system is well-documented.

### Data Requirements
How will we measure the success of this feature?
- Number of page users/sessions/views.
- Total amount of collaterals donated and the total market price of conditionals minted.
- Number of users registered for a salary.

### Additional Information
I did my demo app a single page react app. Is it OK to leave it such a React app, or should it be rewritten with another HTML technology before we release it in GitCoin?

If the GitCoin governance will say to me that you _are_ going to publish my article on GitCoin in a noticeable enough way, I am going to withdraw my scientific article from The Journal of International Development in order to publish it open access.

A huge part of the work is already done by me! The most complicated of not yet done things:
- extensive testing and audit of the smart contracts (publish them on mainnet as soon as this is done)
- support "bequesting" all funds on a GnosisSafe wallet because people like to bequest more than to donate

See also the [carbon and social good accounting project](https://github.com/vporton/carbon-flow) to be integrated with (also needs smart contracts audit).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.