PotLock / core

Potlock Core Contracts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create General Donation Contract @ donate.potlock.near (Just NEAR)

codingshot opened this issue · comments

Problem

Outside of a funding round, projects can recieve money year around. Causing growth and onboarding to be dependent on raising money through funding rounds. Also in other donations platform people who promote non profits have no way to generate any type of income.

User Story:

  • As a donor, to be able to donate to donate to a project year round, so I can support a project.
  • As a fundraiser, I want to be able to get a referral fee for those who get my link, so that i can earn from proejcts.

Description

Create a donation contract with a referral for NEAR .

Acceptance Criteria

  • Complete with test cases & 100% code coverage
  • Donation contract able to set a custom fee amount for NEAR donation amounts
  • Referred is just passed accountID
  • For both referral and non referral, Potlock (refi.sputni-dao.near) takes a protocl feed (To be determined amount)
  • Specify any account ID when donating
  • have a function for general donations and for referral donations
  • user pays gas
    Does not
  • need to gate humans for referral and proejctid
  • does not need to be in project registry (this will be done through front end)

Limitations

Outline any potential limitations

Resources

  • Fungible token donation Rhttps://github.com//issues/22

Image

transfernear.near is good reference implementation or roke.to or nearsend