forked from snapshot-labs/snapshot-strategies
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update master #3
Merged
Merged
Conversation
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
* passport-gated validation update * Add default stamp to weighted * Update src/validations/passport-gated/schema.json * Update src/validations/passport-gated/schema.json * Update src/validations/passport-gated/schema.json * Update src/validations/passport-gated/schema.json Co-authored-by: Sam <[email protected]>
Co-authored-by: ChaituVR <[email protected]>
Co-authored-by: Chaitanya <[email protected]>
* fix: poap with weight v2 voting power * the addressesMap addresses must be in valid format * convert lowercased address to valid address * Delete examples-vp.json * Delete voting-power.test.ts * Update src/strategies/poap-with-weight-v2/index.ts Co-authored-by: Chaitanya <[email protected]>
* Delegation strategies to ignore override * Add own score if not delegated to anyone
Co-authored-by: ChaituVR <[email protected]>
* Add delegationNetwork param * Update README.md
* [spreadsheet] gid fix * Update schema.json
…napshot-labs#966) * Add skale delegation weighted strategy * Change symbol in README
Co-authored-by: ChaituVR <[email protected]>
…napshot-labs#970) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Add reqliquary strategy Use levelOnUpdate to retrieve correct level Add improvements rename config param to multiplier add minimum voting level option Adjust voting power formula rename variable Add readme improve Improve readme & rename multiplier to strategy fix readme * Use abi string & fix author
…snapshot-labs#973) * Setup MemberRewards for GoldfinchVotingPower * Fix address * Update block number * Fix address in example
* fix(linear-vesting-power): handle multiple vesting lines * docs(linear-vesting-power): add some explanation about the strategy
…sing their deposited tokens [hashflow-governance-power] (snapshot-labs#975) * Add new snapshot strategy for Hashflow which allows HFT LPs to vote using their deposited tokens * Fix autoformat Co-authored-by: Chaitanya <[email protected]>
Co-authored-by: ChaituVR <[email protected]>
…A lp holders staked to our Farm contract (snapshot-labs#979) * Add strategies to count vesta lp farms * add readme * Update src/strategies/vsta-pool-staking/index.ts * Update index.ts Co-authored-by: Chaitanya <[email protected]>
…bs#980) * Add Strategy * Update src/strategies/erc20-balance-of-at/index.ts Co-authored-by: Chaitanya <[email protected]> * Update src/strategies/erc20-balance-of-at/index.ts Co-authored-by: Chaitanya <[email protected]> Co-authored-by: Chaitanya <[email protected]>
…napshot-labs#982) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…napshot-labs#983) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* feat: poap 1:1 strategy * fix: grammar * refactor: some optimizations * fix: reorder imports * fix: use continue instead of return * fix: use erc721 strategy * fix: include snapshot for consistent results * fix: feedback * hardcode contract address * no need to lowercase addresses Co-authored-by: Alexander Greene <[email protected]>
Co-authored-by: ChaituVR <[email protected]>
Co-authored-by: ChaituVR <[email protected]>
…egy for Nation3 Passport holders (snapshot-labs#1230) * Make sure we have all the ERc20 balances that we need. * I think this is more simple.... * Still not beautiful, but in testing I believe that this is simplified and covers our use cases * Update index.ts Bump version as requested! * How cooperative model might work * Strip out the ERC20 * Update src/strategies/nation3-passport-coop-with-delegations/index.ts Co-authored-by: Chaitanya <[email protected]> * Update src/strategies/nation3-passport-coop-with-delegations/index.ts Co-authored-by: Chaitanya <[email protected]> * Update src/strategies/nation3-passport-coop-with-delegations/index.ts Co-authored-by: Chaitanya <[email protected]> * Update index.ts As requested * Fix from breaking PR suggestions --------- Co-authored-by: JohnMark13 <[email protected]> Co-authored-by: Chaitanya <[email protected]>
…snapshot-labs#1221) * added in hats protocol strategy * updted readme * Revert "updted readme" This reverts commit 8746d5d. * added in simulated project, updated README, added documentation * functional implementation before eligibility * functional but dirty * fully functional - still dirty * added support for different chains * updated readme and removed unnecessary files * removed console messages and fixed strategies/index.ts * Revert "removed console messages and fixed strategies/index.ts" This reverts commit e92e3df. * Revert "Merge branch 'master' into master" This reverts commit c48ccff, reversing changes made to 612687e. * Revert "Revert "Merge branch 'master' into master"" This reverts commit f15c406. * Revert "Revert "removed console messages and fixed strategies/index.ts"" This reverts commit 74cf341. * reverted yarn lock back to original commit and removed package-lock.json * Update yarn.lock * Update src/strategies/hats-protocol-single-vote-per-org/index.ts * Update src/strategies/hats-protocol-single-vote-per-org/index.ts * Update src/strategies/hats-protocol-single-vote-per-org/index.ts * added snapshot to subgraph requests * fixed ethers error and updated yarn lock to match snapshot-strategies main * updated yarn.lock * Update yarn.lock * Update src/strategies/hats-protocol-single-vote-per-org/index.ts --------- Co-authored-by: Chaitanya <[email protected]>
* added in hats protocol strategy * updted readme * Revert "updted readme" This reverts commit 8746d5d. * added in simulated project, updated README, added documentation * functional implementation before eligibility * functional but dirty * fully functional - still dirty * added support for different chains * updated readme and removed unnecessary files * removed console messages and fixed strategies/index.ts * Revert "removed console messages and fixed strategies/index.ts" This reverts commit e92e3df. * Revert "Merge branch 'master' into master" This reverts commit c48ccff, reversing changes made to 612687e. * Revert "Revert "Merge branch 'master' into master"" This reverts commit f15c406. * Revert "Revert "removed console messages and fixed strategies/index.ts"" This reverts commit 74cf341. * reverted yarn lock back to original commit and removed package-lock.json * Update yarn.lock * Update src/strategies/hats-protocol-single-vote-per-org/index.ts * Update src/strategies/hats-protocol-single-vote-per-org/index.ts * Update src/strategies/hats-protocol-single-vote-per-org/index.ts * added snapshot to subgraph requests * fixed ethers error and updated yarn lock to match snapshot-strategies main * updated yarn.lock * Update yarn.lock * Update src/strategies/hats-protocol-single-vote-per-org/index.ts * fixed a bug where needed to convert to hex before making subgraph call * updated versioning --------- Co-authored-by: Chaitanya <[email protected]>
Co-authored-by: ChaituVR <[email protected]>
* feat: sablier v2 total amounts strategy * feat: add sablier strategies for withdraw, streamed and deposited assets * fix: use addresses box for recipient or sender list, disallow global search * fix: withdrawable amount, aggregate senders when using proxy
refactor: put "streamed-amount-of" policy at the end refactor: reorder Sablier V2 policies
…napshot-labs#1239) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* feat: add gelato-staking strategy * Update src/strategies/gelato-staking/index.ts * Update src/strategies/gelato-staking/index.ts --------- Co-authored-by: Chaitanya <[email protected]>
…napshot-labs#1245) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…napshot-labs#1247) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…abs#1244) * feat: use snapshot and filter by address * fix: strategy version * fix: remove logs * fix: remove logs
) * add: sd-vote-boost-twavp-v2 * fix(sd-vote-boost-twavp-v2): throw error when whiteListedAddress is more than 20 --------- Co-authored-by: Chaitanya <[email protected]>
…napshot-labs#1251) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…-labs#1238) * feat: proposal creation validation with EAS * feat: added support for chainId 10 and 42161 * Update src/validations/eas-attestation/index.ts Set as proposal validity only Co-authored-by: Chaitanya <[email protected]> * Update src/validations/eas-attestation/index.ts fix github name Co-authored-by: Chaitanya <[email protected]> * Update src/validations/eas-attestation/index.ts removed author and version Co-authored-by: Chaitanya <[email protected]> * feat: add schema to validation * validation name * Update src/validations/karma-eas-attestation/index.ts Co-authored-by: Chaitanya <[email protected]> * Update src/validations/karma-eas-attestation/index.ts Co-authored-by: Chaitanya <[email protected]> --------- Co-authored-by: Chaitanya <[email protected]>
…apshot-labs#1252) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ChaituVR <[email protected]>
…apshot-labs#1254) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…rategies into update-master
yohanelly95
approved these changes
Aug 17, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.