forked from snapshot-labs/snapshot-strategies
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[infinityprotocol-liquidity-pools] changes in infinityprotocol-liquid…
…ity-pools strategy (snapshot-labs#50) * changes in infinityprotocol-liquidity-pools strategy * Update README.md * Update examples.json * Update examples.json Forgot to add a comma after token symbol. Should work now. Co-authored-by: Vatsal Gupta <[email protected]>
- Loading branch information
1 parent
85f27b1
commit 8b7b59a
Showing
3 changed files
with
34 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Liquidity Providers | ||
|
||
This strategy will return the scores of all users who have provided token liquidity on any Uniswap style exchange. Users can change the subGraphURL field to direct their request to a different subgraph. | ||
|
||
|
||
## Example | ||
|
||
The space config will look like this: | ||
|
||
```JSON | ||
{ | ||
"strategies": [ | ||
["infinityprotocol-liquidity-pools", { | ||
// token parameters | ||
"params": { | ||
"address": "0xc168e40227e4ebd8c1cae80f7a55a4f0e6d66c97", | ||
"symbol": "DFYN" | ||
// subgraphURL for the request | ||
"subGraphURL": "https://api.thegraph.com/subgraphs/name/ss-sonic/dfyn-v5", | ||
// scoreMultiplier can be used to increase users' scores by a certain magnitude | ||
"scoreMultiplier": 1, | ||
}, | ||
}], | ||
] | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters