Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Update metadata doc #1412

Closed
alfetopito opened this issue Sep 8, 2021 · 2 comments
Closed

Update metadata doc #1412

alfetopito opened this issue Sep 8, 2021 · 2 comments
Assignees
Labels
app:CowSwap CowSwap app Protofire Handled by Protofire development team

Comments

@alfetopito
Copy link
Contributor

Summary

There are small changes to the affiliate doc, which require changes to https://github.com/gnosis/cowswap/blob/develop/src/custom/utils/metadata.ts#L26-L50

  • Set the version fields to 0.1.0
  • Remove kind
  • Rename inner referrer property to address

Example:

{
  "version": "0.1.0",
  "appCode": "CowSwap",
  "metadata": { 
    "referrer": {
      "version": "0.1.0",
      "address": "0x424a46612794dbb8000194937834250Dc723fFa5"
    }
  }
}
@alfetopito alfetopito added the Protofire Handled by Protofire development team label Sep 8, 2021
@alfetopito alfetopito added the app:CowSwap CowSwap app label Sep 8, 2021
@matextrem matextrem assigned matextrem and unassigned matextrem Sep 9, 2021
@ramirotw
Copy link
Contributor

ramirotw commented Sep 9, 2021

@alfetopito there was already a ticket and PR (#1190) for this that wasn't merged. I'll take care of resolving the conflicts and let the bot merge it

@alfetopito
Copy link
Contributor Author

Ah thanks Ramiro, completely forgot about it :)

I'll close this one as a duplicate

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
app:CowSwap CowSwap app Protofire Handled by Protofire development team
Projects
None yet
Development

No branches or pull requests

3 participants