Skip to content
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

Publish Latest to NPM #1203

Merged
merged 54 commits into from
Oct 2, 2023
Merged

Publish Latest to NPM #1203

merged 54 commits into from
Oct 2, 2023

Conversation

dmosites
Copy link
Contributor

@dmosites dmosites commented Oct 2, 2023

V4.1: Pool, Registry, SwapERC20

dmosites and others added 30 commits May 8, 2023 13:05
* consolidate storage protocol filter

* update server library with new orderfilter

---------

Co-authored-by: Don Mosites <[email protected]>
* Added tests on swap gas consumption

* Removed unused import

* Fixed typo and variable type
… and related code refresh (#1143)

* Updated solidity version and added custom errors

* Updated solidity version and added custom errors

* Added admin function to enable a root and relevant dependant code

* Added Merkle package

* Imported Merkle package and fixed types

* Updated test to use merkle package and added custom error to enable function in the pool contract

* Added setClaimed function and relevant data points

* Imported merkle root logic and updated unit tests

* Wrote tests to 100% coverage

* removed unused imports

* Removed SafeMath library

* Removed getChainId() function in favor of block.chainid

* Added withdrawSignature function

* Removed signature linked function

* Removed EIP712 library and related code

* Removed unused variables

* Switch Ownable to Ownable2Step

* Deprecated pool utils

* Removed unused events

* Pool: simplify constructor, staking; remove mapping (#1147)

* simplify constructor, staking; remove mapping

* prefer-const lint

* add SetStaking event

---------

Co-authored-by: Smartcontrart <[email protected]>

* remove unused error

* copyright year update

---------

Co-authored-by: don mosites <[email protected]>
* linter, prettier pass

* add cost for protocol support

* goerli deploy for testing

* review feedback
* Updated beta.yml to node 16

* Update publish.yml to use node 16

* Update test.yml to use node 16
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Enforced variable naming conventions to pool contract

* Renamed removeStakedServer to removeServer to ensure consistency with setServer

* Renamed setServer to setServerURL to differentiate with removeServer which handles URL, staked tokens and protocols

* Added withdrawWithRecipient and withdrawAndStakeFor tests

* Renamed setServer function to setServerURL
…1175)

* add tokenlists for linea, lineagoerli; bump metadata version for publishing
smartcontrart and others added 24 commits August 21, 2023 10:20
* Added refund of support cost on protocol removal

* Wrote integration tests for Registry contract

* Removed unit dedicated script command

* complete test coverage

---------

Co-authored-by: Don Mosites <[email protected]>
Bumps [@openzeppelin/contracts](https://github.com/OpenZeppelin/openzeppelin-contracts) from 4.8.3 to 4.9.3.
- [Release notes](https://github.com/OpenZeppelin/openzeppelin-contracts/releases)
- [Changelog](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.9.3/CHANGELOG.md)
- [Commits](OpenZeppelin/openzeppelin-contracts@v4.8.3...v4.9.3)

---
updated-dependencies:
- dependency-name: "@openzeppelin/contracts"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](npm/node-semver@v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
#1173)

* Implemented proposalId metric for root claims and a view function to check claim by proposalId and user

* Updated deployment script and deployed contract to goerli

* Replaced root by proposalId in Claim

* Removed unused variables

* Renamed proposal to group

* Removed roots mapping and updated contract logic accordingly

* Changed claimed mapping key to groupId and added groupId to Enable event

* Renamed groupId to tree and allowed overwriting of roots by tree

* Deprecated setClaimed function

* Renamed hasClaimedTrees to getClaimStatuses, score to value and _address to _account

* Roots to trees

* Method consolidation and comments

* Push interface changes

* Updated tests

---------

Co-authored-by: greypixel <[email protected]>
* consolidate pool withdraw; remove return in favor of event

* restore return; emit tree with ProofInvalid
* registry naming and natspec consistency

* pool natspec updates

* natspec and naming updates for pool

* update pool tests with admin functions
* pool and registry deploys; write blocks; add pool to libraries

* properly fetch blockNumber
Beta release for Pool, Registry
* update protocol interfaces and ids
* add enableAndSetClaims function to Pool

* emit UseClaim for Pool
* Created SwapLight event with limited number of parameters

* Replaced safeTransferFrom by safeTransfer

* Replaced ECDSA library by ecrecover for swapLight

* Changed use of Ownable2Step library to Ownable

---------

Co-authored-by: Smart Contrart <[email protected]>
* Fixed PVE002 - replaced 100 by MAC_PERCENTAGE

* Fixed PVE001 - Added chain id change check in check function
Bumps [get-func-name](https://github.com/chaijs/get-func-name) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/chaijs/get-func-name/releases)
- [Commits](https://github.com/chaijs/get-func-name/commits/v2.0.2)

---
updated-dependencies:
- dependency-name: get-func-name
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@dmosites dmosites merged commit 35b95f9 into main Oct 2, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants