-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add whale vote and voted on behalf notifications (#1889)
* feat: add whale vote and voted on behalf notifications * fix: logs texts * feat: move whale vote threshold to env var and fix address check
- Loading branch information
Showing
9 changed files
with
250 additions
and
16 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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
{ | ||
"symbol": "VP (delegated)", | ||
"strategies": [ | ||
{ | ||
"name": "erc20-balance-of", | ||
"params": { | ||
"symbol": "WMANA", | ||
"address": "0xfd09cf7cfffa9932e33668311c4777cb9db3c9be", | ||
"decimals": 18 | ||
} | ||
}, | ||
{ | ||
"name": "erc721-with-multiplier", | ||
"params": { | ||
"symbol": "LAND", | ||
"address": "0xf87e31492faf9a91b02ee0deaad50d51d56d5d4d", | ||
"multiplier": 2000 | ||
} | ||
}, | ||
{ | ||
"name": "decentraland-estate-size", | ||
"params": { | ||
"symbol": "ESTATE", | ||
"address": "0x959e104e1a4db6317fa58f8295f586e1a978c297", | ||
"multiplier": 2000 | ||
} | ||
}, | ||
{ | ||
"name": "multichain", | ||
"params": { | ||
"name": "multichain", | ||
"graphs": { | ||
"137": "https://subgraph.decentraland.org/blocks-matic-mainnet" | ||
}, | ||
"symbol": "MANA", | ||
"strategies": [ | ||
{ | ||
"name": "erc20-balance-of", | ||
"params": { | ||
"address": "0x0f5d2fb29fb7d3cfee444a200298f468908cc942", | ||
"decimals": 18 | ||
}, | ||
"network": "1" | ||
}, | ||
{ | ||
"name": "erc20-balance-of", | ||
"params": { | ||
"address": "0xA1c57f48F0Deb89f569dFbE6E2B7f46D33606fD4", | ||
"decimals": 18 | ||
}, | ||
"network": "137" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "erc721-with-multiplier", | ||
"params": { | ||
"symbol": "NAMES", | ||
"address": "0x2a187453064356c898cae034eaed119e1663acb8", | ||
"multiplier": 100 | ||
} | ||
}, | ||
{ | ||
"name": "decentraland-wearable-rarity", | ||
"params": { | ||
"symbol": "WEARABLE", | ||
"collections": [ | ||
"0x32b7495895264ac9d0b12d32afd435453458b1c6", | ||
"0xd35147be6401dcb20811f2104c33de8e97ed6818", | ||
"0xc04528c14c8ffd84c7c1fb6719b4a89853035cdd", | ||
"0xc1f4b0eea2bd6690930e6c66efd3e197d620b9c2", | ||
"0xf64dc33a192e056bb5f0e5049356a0498b502d50", | ||
"0xc3af02c0fd486c8e9da5788b915d6fff3f049866" | ||
], | ||
"multipliers": { | ||
"epic": 10, | ||
"rare": 5, | ||
"mythic": 1000, | ||
"uncommon": 1, | ||
"legendary": 100 | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "decentraland-rental-lessors", | ||
"params": { | ||
"symbol": "RENTAL", | ||
"addresses": { | ||
"land": "0xf87e31492faf9a91b02ee0deaad50d51d56d5d4d", | ||
"estate": "0x959e104e1a4db6317fa58f8295f586e1a978c297" | ||
}, | ||
"subgraphs": { | ||
"rentals": "https://subgraph.decentraland.org/rentals-ethereum-mainnet", | ||
"marketplace": "https://subgraph.decentraland.org/marketplace" | ||
}, | ||
"multipliers": { | ||
"land": 2000, | ||
"estateSize": 2000 | ||
} | ||
} | ||
} | ||
] | ||
} |