Skip to content

Rain Integration work remaining - post-hackathon #48

Description

@mattyg

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions