-
Notifications
You must be signed in to change notification settings - Fork 8
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
Dev #177
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
* add blacklist functionality to token * add pagination to blacklist * optimize * remove additional check from unblacklist * refactoring
* implement vote against * create internal functions * change checks logic * change proposal state calculations for validators * change proposal state calculations * refactoring * replace executors address check with settings * refactoring * add tests * update docs * add more tests for getProposalState() * add more tests for getPotentialReward() * refactoring
* implement vote against * create internal functions * change checks logic * change proposal state calculations for validators * change proposal state calculations * refactoring * replace executors address check with settings * refactoring * add tests * update docs * add more tests for getProposalState() * add more tests for getPotentialReward() * implement base version * change rewards for voteDelegated() * add tests * optimizations * merge dev branch * optimizations * add test about nftMultiplier & VoteDelegated * refactoring * optimizations * refactoring
# Conflicts: # docs/Developers/Investments/SmartContracts/TraderPools/Commissions.md # docs/Developers/Investments/SmartContracts/TraderPools/RiskyProposal/Withdrawing.md
* expert nft * fixes * set token uri
* deployer rename * test structure * govPoolDependencies stricture * fixed tests * name symbol * internal * global Nft deps fix * fixed migrations * fixed codestyle --------- Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com>
* refactored tsp iface * fix * bumped openzeppelin & init tsp v2 * added claim methods * fix * init new whitelist logic * typo * init lib splitting * tsp lib split * typos * optimized & refactored * typo * optimized * fixed pool factory tests * fixing tsp tests * fixed createTier & latestTierId tests * typo * fixed addToWhitelist * fixed tests * mv libs to separate folders * inherited tsp from holder * init tsp v2 tests skeleton * tests & fixes & opts * added tests and fixes * added tests * added tests * added tests * added tests * fix & covered * fixed migrations * fixed docs & natspec * fixes
* implemented basic logic * fix compile issues * implement requestNfts() * optimizations * add requested nfts to balance calclations * add more tests * fix tests * refactoring * add event * fix * fixed naming --------- Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com>
* expert nft tags * fixed tags & codestyle --------- Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com>
* LogExpMath * govPoolVote * modifiers implementation * tests fix * calculate votes to distinct function * fixed some tests * nft power * nft tests fix * fix tests * decimal.js * power tests fix * staking rewards * pow function in tests * to new solidity pow function * remove decimal.js * fixed coverage --------- Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com>
* GovPoolCredit lib * linking * test setCreditInfo * backup * removed array of structures * refactor + tests * binary search * coverage * fixed migrations --------- Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com>
* initial commit * vote by treasury * restict vote interested user from votes * remove extra comments * add coefficient to calculation of treasury vote power * fix function parameters * fix * fix tests * remove additional check for vote power * refactoring vote calculation * add tests for delegateTreasury() undelegateTreasury() voteTreasury() * fixes and refactoring * fix delegate/micropool vote * more tests * add votedInProposals to voteTreasury * coverage * refactoring * change arguments of 'Voted' event * clean comment * add comments * add check of delegatedVotingAllowed for voteTreasury() * add comments * extract govPool address from function parameters * change delegatedVotingAllowed check * fix bug with not half check of used nft * implement treasury vote coefficient * rewrite coeff calculation function * add tests * fix tests * rewrite _calculateVotes() * fix tests * fix deploy script * update to new dlsl version * fix test * refactored govpool --------- Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com>
* add restriction to vote * clean imports * add missing import * fix not full _handleDataForInternalProposal() check * change function checks * fix checks in _restrictUsersFromActions() * change arguments of burn() of ERC721Expert * optimize abi decoding * fix ERC721Expert tests * fix decoding * add more tests * revert changes about ExpertNFT * remove unnecessary check * cleanup --------- Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com>
* NFT multiplier can be turned off * Global expert can create proposals in any DAO * Token sale proposal 1% commission in payment token * add tests for _purchaseWithCommission()
* NFT multiplier can be turned off * Global expert can create proposals in any DAO * Token sale proposal 1% commission in payment token * add tests for _purchaseWithCommission() * Deploy NFT multiplier with DAO * deploy nfts as proxy * clean imports * fix imports * add dependencies to tsp
* Fix create proposal against data griefing * fixes * merge require checks
* GovPoolCredit lib * linking * test setCreditInfo * backup * removed array of structures * refactor + tests * binary search * coverage * removed 3 proposal types * createInternalProposal * createInternalProposal * migrate to data * moved data into validator check * change validator settings * change credit limit * full workflow * -only * renamings * tests * zero proposal * receive() * receiver onlyThis * fixed codestyle --------- Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com>
* moved vote coeff to core properties * change state mutability of _calculateVoteRewardOnStaking() * change type of field
* typo & integrated factory to tests * added spherex tests & fixes * fix * fixed tests * rm web3 imports
* removed nft snapshots * added createProposalAndVote func * fixed TSP bought event * fixed tests * cov 100 * nft powers * view functions * cov 100 * internal func
* integrated with spherex engines * fixed tests * npm integration
* added active checks * restored pre-commit * added field * fix * added field * refactored storage * refactored * fix * init new methods * refactored uk lib * snapshot and canCreate * started opt GPVote * refactored & optimized * fixes * opt * fixed * stack too deep * rm nftAddress * fixes * added min * upd nft power * typo * removed nft snapshots * added createProposalAndVote func * fixed TSP bought event * merged logic fixes * refactored nft info * fixed tests * docs * cov 100 * fix * fix * fixes * fix * fix * fix * fix * fix & tests * fix * rm core param * fix * fix * refactored nfts powers * tests * warning fixes * tests --------- Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com>
* fixed ambisafe findings * fixed save frontrun * optimized TSP
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.