Skip to content

Commit

Permalink
Subscriptions: Support app fees (aragon#78)
Browse files Browse the repository at this point in the history
* Avoid having duplicate modules

Governor can repeat `setModule` operation with the same address and
the tx will succeed. This would make the subgraph to have duplicated
modules, and some aggregated values would be incremented in excess.

* Adapt to new Subscriptions module

See aragon/aragon-court#264.
Also, allow to have blacklisted modules, that won’t be loaded onto the
subgraph (so we can get rid of old modules).

* Update schema.png

* Apply suggestions from code review

Co-authored-by: Facu Spagnuolo <[email protected]>

* Adapt to new Subscriptions module, fixes

Address comments from PR aragon#73.

* subscriptions: support old claimed fees event

* Chore: Migrate blacklisted modules parsing script to node

* subscriptions: fix comments about contracts versions

* chore: migrate blacklisted modules to JS file

* chore: improve blacklisted modules parsing

* chore: add configuration markdown file

* Chore: Move configuration md to docs dir

* Blacklist: Improve parser script

Co-authored-by: Brett Sun <[email protected]>

* subscriptions: fix modules case

* subscriptions: fix module creation

* subgraph: use to hex string always

* subscriptions: update manifest abi

* subscriptions: remove auto-generated blacklisted modules file

* subscriptions: update rinkeby blacklisted modules

* chore: rollback the graph cli version

* subscriptions: model fee movements

* subscriptions: store token to fee movements

* subscriptions: save subscription fee token as address

* subscriptions: save app ID as hex string for app fees

Co-authored-by: ßingen <[email protected]>
Co-authored-by: Brett Sun <[email protected]>
  • Loading branch information
3 people authored Sep 23, 2020
1 parent cda7709 commit 31d5eaa
Show file tree
Hide file tree
Showing 20 changed files with 942 additions and 176 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ package-lock.json
build
types
subgraph.yaml
blacklisted-modules.ts
Loading

0 comments on commit 31d5eaa

Please sign in to comment.