gitcoinco / web

Grow Open Source
https://gitcoin.co
Other
1.78k stars 772 forks source link

Integrate "future salaries" into GitCoin #8183

Open vporton opened 3 years ago

vporton commented 3 years ago

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.

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:

Expected Behavior

Integrate this code into GitCoin. The project could be maintained independently of GitCoin but:

Definition of Done

Data Requirements

How will we measure the success of this feature?

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:

See also the carbon and social good accounting project to be integrated with (also needs smart contracts audit).

vporton commented 3 years ago

I tried to accomplish this by inserting my React component into a GitCoin page, but that failed (among other reasons because chainId variable is present both in GitCoin and my component and the browser refused to accept it being defined twice).

I see no other choice (except to improve React packaging software) is to rewrite my component without use of React. That's a sad truth that GitCoin and React are not compatible.

vporton commented 3 years ago

The "Carbon" part was removed, because I realized that the "science" part can manage carbon accounting (and all other social goods), too.

vporton commented 3 years ago

@owocki My "core" smart contracts are nearly finished. I a going to pay $3000 for an audit of the contracts. I am not a millionaire. Please help. It may become a part of GitCoin, so it's quite reasonable if GitCoin pays for it.

owocki commented 3 years ago

cool - let me checkout the contracts. where are they?

re paying - sorry, but thats not what we do. have you had any luck raising $$ via grants for your projects?

vporton commented 3 years ago

cool - let me checkout the contracts. where are they?

re paying - sorry, but thats not what we do. have you had any luck raising $$ via grants for your projects?

We have no way to put the contracts into https://github.com/gitcoinco/smart_contracts without a heavy rewrite, because they use Solidity 0.7 and smart_contracts is using a smaller version. What will we do? The easiest thing is just moving several my repositories into gitcoinco organization. I querying you for me to initiate the transfer.

vporton commented 3 years ago

One of the reasons why this project ("future salaries") is needed to be launched is laughable but scary:

I have trouble (for various reasons) to publish my scientific research. I have it on my site and with a minor publisher. If it never goes mainstream, then we have a "security bug":

So "future salaries" project is an absolute must (even if you don't believe that I alone can break the science, there are other reasons anyway).

vporton commented 3 years ago

Dear @owocki I am waiting for your reply to the above comment.

owocki commented 3 years ago

hey victor, consider me a avid fan of what youre trying to do, i just dont have the capital to contribute much (though i'd be happy to fund it via the next QF round)

vporton commented 3 years ago

I've realized that I can reduce gas usage, by the way making my contract shorter. I am starting to rewrite.

vporton commented 3 years ago

I've realized that I can reduce gas usage, by the way making my contract shorter. I am starting to rewrite.

The contract shortened, gas usage reduced. The same functionality (but better) will be provided through other contracts.

vporton commented 3 years ago

I thought my programming of the main contract is finished except of documenting and delivering to auditors.

But during auditing, I found several bugs and misfeatures.

The last bug I found was: An investor may gain if he kills a scientist to stop him from receiving a salary to reduce the circulating supply of his token to increase the price. (I was threatening my own and others' developers life!) Planned solution: Create a new salary token after each outgoing transfer of the salary.

So (it makes sense after I finish documenting), @owocki please announce my project to smart people to further find bugs/misfeatures.

vporton commented 3 years ago

The current state of the project:

I want anyone clever to help me to review my contracts but I didn't yet document them well.

vporton commented 3 years ago

@owocki

https://user-images.githubusercontent.com/2900574/105363035-46a86e00-5c04-11eb-9325-8265b0556260.mp4

owocki commented 3 years ago

Hey Victor, oh this is a fork of Gitcoin (in the Gitcoin codebase) not an independent project? I didnt realize that. Seems like it works from the video you sent me, I'll need to check with Kyle about how it dovetails with our roadmap tho

On Thu, Jan 21, 2021 at 7:18 AM Victor Porton notifications@github.com wrote:

@owocki https://github.com/owocki

https://user-images.githubusercontent.com/2900574/105363035-46a86e00-5c04-11eb-9325-8265b0556260.mp4

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gitcoinco/web/issues/8183#issuecomment-764673034, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD5PCKKILCBWAMND4WB5NDS3AZUVANCNFSM4VKNR2XQ .

--

@owocki http://www.twitter.com/owocki


gitcoin is live and has generated over $10.3mm for Open Source Software - see our results https://gitcoin.co/results

vporton commented 3 years ago

Hey Victor, oh this is a fork of Gitcoin (in the Gitcoin codebase) not an independent project? I didnt realize that. Seems like it works from the video you sent me, I'll need to check with Kyle about how it dovetails with our roadmap tho

Hi Kevin.

It started as this dApp: https://vporton.github.io/future-salary/#/

But afterward I realized that this is best not independent project but an addition to GitCoin:

vporton commented 3 years ago

Hey Victor, oh this is a fork of Gitcoin (in the Gitcoin codebase) not an independent project? I didnt realize that. Seems like it works from the video you sent me, I'll need to check with Kyle about how it dovetails with our roadmap tho

Dear @owocki Apparently you didn't notice that I made a draft pull request https://github.com/gitcoinco/web/pull/8265 already!

owocki commented 3 years ago

got it; i dont review PRs anymore so thats why i didnt see it

vporton commented 3 years ago

I've added the whitepaper of the system:

Now you can know what I did :-)

@owocki

vporton commented 3 years ago

I've updated

P.S. My contracts are to be audited soon. I have already initiated a money transfer to the auditor.