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

Create Segmented UBI pool contract + SDK #199

Open
7 tasks
decentralauren opened this issue Apr 24, 2024 · 11 comments
Open
7 tasks

Create Segmented UBI pool contract + SDK #199

decentralauren opened this issue Apr 24, 2024 · 11 comments
Assignees

Comments

@decentralauren
Copy link

decentralauren commented Apr 24, 2024

Business Description

Create Segmented UBI pool contracts to support the Red Tent UBI MVP, and to act as the initial contracts for the Segmented UBI SDK

Detailed Description

For the Red Tent Segmented UBI, the following pools should be created.

Pool 1: Red Tent Women in Colombia

RedTent

Pool Description
The Red Tent Women’s Basic Income is designed to flow money unencumbered and unconditionally from women and allies who have it to women who need it. Red Tent’s goal is to create a decentralized, automated and highly personalized system that measures and improves collaboration and wellbeing in communities. Women are the keepers of family and community, yet continue to be disproportionately affected by lack of access to capital and influence in all systems.

Link to Website: https://redtent.io/
Note: Website will be live for launch.
No other socials to link to.

Pool Parameters

  • Maximum 500 members
  • Daily Claim Frequency, same time reset as GoodDollar UBI
  • Daily UBI amount TBC (based on G$ price after reserve relaunch)
  • $0.0437USD per day (need to translate to G$ after reserve redeployment)

Pool Qualifications

  • Gender: Female
  • Location: Colombia
  • Video Submission: Yes
  • All ages

Pool 2: Red Tent Women in Nigeria

RedTent

Pool Description
The Red Tent Women’s Basic Income is designed to flow money unencumbered and unconditionally from women and allies who have it to women who need it. Red Tent’s goal is to create a decentralized, automated and highly personalized system that measures and improves collaboration and wellbeing in communities. Women are the keepers of family and community, yet continue to be disproportionately affected by lack of access to capital and influence in all systems.

Link to Website: https://redtent.io/
Note: Website will be live for launch.
No other socials to link to.

Pool Parameters

  • Maximum 500 members
  • Daily Claim Frequency, same time reset as GoodDollar UBI
  • Daily UBI amount TBC (based on G$ price after reserve relaunch)
  • $0.0437USD per day (need to translate to G$ after reserve redeployment)

Pool Qualifications

  • Gender: Female
  • Location: Nigeria
  • Video Submission: Yes
  • All ages

Technical implementation

  • Create production pools
  • Upload ipfs file with all the details
  • Update documentation

Acceptance Criteria

  • Pools tested meet criteria above
  • Documentation for SDK complete and published to Github
@decentralauren
Copy link
Author

@sirpy finalizing this with Galia, but wanted to put on your radar :)

@decentralauren decentralauren changed the title Create Segmented UBI pool contract SDK Create Segmented UBI pool contract + SDK May 13, 2024
@L03TJ3
Copy link
Collaborator

L03TJ3 commented Jun 4, 2024

@sirpy would be helpful if the claim transaction logs for the pools have a claim-event similar to gd-ubi contract

this would make easier to build a 'recent claims' list, based on event hash (eg. like done in wallet for otpl events)

Just for reference:

export type PoolDetails = {
  claimAmount?: BigNumber;
  claimTime: Date; (currently there exists currentDay, periodStart. maybe can be combined in one method)
  claimCall: ("the current method name for UBI is 'claim'");
  contract/poolName?: string;
  isRegistered: boolean;
  description?: string (short subtitle copy, eg: Your Daily Ubi)
  icon?: string || url
};

@sirpy
Copy link
Contributor

sirpy commented Jun 19, 2024

@decentralauren do we have tickets on the UI updates required for goodcollective to support this pools?

@sirpy
Copy link
Contributor

sirpy commented Jun 19, 2024

@L03TJ3 i've released v1.1.0 of goodcollective-contracts and goodcollective-sdk
the sdk has a method getMemberUBIPools (see scripts/createPool) on how it is used.
regarding pooldescription icon etc, these should be read and cached by the app itself. getMemberUBIPools returns the ipfs hash of the json file with these details.

@decentralauren
Copy link
Author

decentralauren commented Jun 19, 2024

@sirpy they are WIP and will be added to the epic that this ticket also belongs to: #192

@sirpy
Copy link
Contributor

sirpy commented Jul 15, 2024

@decentralauren
Also need the following details of the pools

   name: 'Test single donation with swap (Real G$)',
    description:
      'This Collective directly supports smallholder farmers around Kenya’s Kakamega forest. These farmers are acting as nurseries, growing and nurturing native trees to maturity for subsequent reforestation. In partnership with Silvi.',
    email: '[email protected]',
    website: 'https://www.silvi.earth',
    twitter: 'https://twitter.com/SilviProtocol',
    instagram: 'https://instagram.com/x',
    threads: '',
    headerImage:
      'https://uploads-ssl.webflow.com/639e611ba0716a170111fe96/65032c75ac7830faf70f9469_FooterBackground.jpg',
    logo: 'https://uploads-ssl.webflow.com/639e611ba0716a170111fe96/65032c4586b18e3e276db342_SilviLogo.png',
    images: [
      'https://uploads-ssl.webflow.com/639e611ba0716a170111fe96/6507cb24ffa8a438ccf13d70_Screen%20Shot%202023-09-17%20at%208.59.00%20PM-p-500.png',
      'https://uploads-ssl.webflow.com/639e611ba0716a170111fe96/650352d39dde89c0fd676908_RuralPlanting.jpg',
    ],

@decentralauren decentralauren self-assigned this Jul 15, 2024
@decentralauren
Copy link
Author

decentralauren commented Jul 15, 2024

@sirpy working on it this week - will put all values in this notion ticket

@sirpy
Copy link
Contributor

sirpy commented Aug 26, 2024

@decentralauren notion ticket still not filled

@decentralauren
Copy link
Author

@sirpy working on it.

@decentralauren
Copy link
Author

@sirpy updated in description and the notion ticket. Only thing missing is the G$ claim amount per day. Please put a placeholder of 800G$ for now and we will update later.

@decentralauren decentralauren removed their assignment Sep 30, 2024
@decentralauren
Copy link
Author

@sirpy are the production pools ready? If so I can fund them with a small amount so we can test in prod next week. Please share the contract addresses w @L03TJ3 if so.

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

No branches or pull requests

3 participants