CirclesUBI / circles-groups-safe-app

[DEPRECATED] Mint Circles group tokens using this Safe app
https://groups.circlesubi.dev/
1 stars 1 forks source link

Feature/#21 mint group token through circlesgardenapi #114

Closed marcelorubini closed 2 years ago

marcelorubini commented 2 years ago

This PR extends from #77.

It replaces Pathfinder API instance for Circles Garden's at https://api.circles.garden/api in order to fetch path with /transfers endpoint.

Also defines new response type CirclesPathfinderResponse

export type TransferStep = {
  from: string
  step: number
  to: string
  tokenOwnerAddress: string
  value: string
}

export type CirclesPathfinderResponse = {
  data: {
    from: string
    maxFlowValue: string
    processDuration: number
    to: string
    transferSteps: TransferStep[]
    transferValue: string
  }
  status: string
}
vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
circles-groups-safe-app ✅ Ready (Inspect) Visit Preview Jul 11, 2022 at 10:37PM (UTC)
LaimeJesus commented 2 years ago

Closing this PR because this API won't be used for this feature (generating a path)