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

Rain Integration work remaining - post-hackathon #48

Open
mattyg opened this issue Mar 4, 2024 · 0 comments · May be fixed by #42
Open

Rain Integration work remaining - post-hackathon #48

mattyg opened this issue Mar 4, 2024 · 0 comments · May be fixed by #42

Comments

@mattyg
Copy link
Contributor

mattyg commented Mar 4, 2024

X- Include Flow abi in ui repo

  • Deploy CloneFactory manually on polygon, save address to config
  • Create Grant Pool
    X- Enter initial deposit amount
    • On Submit
      • Deploy flow contract
        X- load dotrain
        X- set rebindings
        X- compose rain
        X- call parser to parse rainlang

        • call CloneFactory to deploy flow contract with rainlang as config
          Flow contract initialization failing -- why??
      • Call erc20 token to approve spending by flow contract address

      • Call flow contract to deposit initial amount
        X- Create grant pool -- include flow contract address in entry

  • Deposit To grant pool
    • Button on grant pool page
      • Call erc20 token to approve spending by flow contract address
      • Call flow contract to deposit initial amount
      • Link grant pool <-> agent with deposit amount in tag
  • Button to Create Grant Pool Outcome
    • Call flow contract to 'close' deposits
    • Coupon entry type
    • Create coupon entry with signed coupon
    • Link from Application to Coupon entry
  • Claim winnings
    • Button on Application page displayed if I am the applicant and there is a coupon
    • Claim button
      • Call flow contract to 'claim'
@mattyg mattyg changed the title Backlog post-hackathon Rain Integration work remaining - post-hackathon Mar 4, 2024
@mattyg mattyg linked a pull request Mar 17, 2024 that will close this issue
2 tasks
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

Successfully merging a pull request may close this issue.

1 participant