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

Smooth test #159

Open
wants to merge 115 commits into
base: use-ZetaInteractor-in-test
Choose a base branch
from
Open

Conversation

teguhsy
Copy link

@teguhsy teguhsy commented Mar 3, 2024

No description provided.

andresaiello and others added 30 commits June 16, 2022 09:02
* aaiello/zeta-306-fix-smart-contracts-sast-results

* Update packages/protocol-contracts/contracts/ZetaNonEth.sol

* Update packages/protocol-contracts/contracts/ZetaInteractor.sol

Co-authored-by: Lucas <[email protected]>
* Missing tests

* Protocol contracts improvements

* All tests passing

* Cleanup

* Cleanup

* Make it more consistent

* Comply with Slither conventions
* WIP: scripts

* Added inquirer and multiple output types

* Update .gitignore

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

* added option for CI and other PR feedback

* Update scripts/slither.ts

* Update scripts/slither.ts

* Add ts-node, add slither script

* Remove await

* Blankline

Co-authored-by: Lucas Janon <[email protected]>
* aaiello/zeta-335-add-supply-cap-to-smart-contracts

* comments addressed

* renames

* default value to maxSupply

* update test

* Add describe, enforce max supply on revert

* Improve test message

* Move setMaxSupply function

Co-authored-by: Lucas Janon <[email protected]>
* Added ability to include or exclude uniswap/OZ libraries from scan

* Fixed import

* Script improvements

Co-authored-by: Lucas Janon <[email protected]>
* Add ZetaNonEth tests, remove mint parameter from ZetaNonEth, prevent TSS from minting

* Use HashZero and AddressZero
* Update gasLimit naming

* originSenderAddress -> zetaTxSenderAddress

* originChainId -> sourceChainId

* origin -> sourceTxOriginAddress/zetaTxSender

* zetaAmount -> zetaValueAndFees

* zetaValueAndFees -> zetaValueAndGas

* Improve comments
* Improve Slither results

* Use 0.8.7

* Use a single condition
* Add Pauser role

* Add tests

* Guard for pauserAddress == 0
* Add readme to protocol module

* Update packages/protocol-contracts/README.md

* Update packages/protocol-contracts/README.md

* Update packages/protocol-contracts/README.md

* Update packages/protocol-contracts/README.md

Co-authored-by: Lucas <[email protected]>
* Standardize underscore

* Add ZetaGasPayer base

* Add uniswap contracts

* Small tweaks

* ZetaGasPayer -> ZetaTokenConsumer

* Tests and improvements

* WIP: UniV3

* add UniV3 strategy

* update contracts and test

* secure updateStrategy and add events

* add zero validations

* update comments

* import uniswap v3 contracts

* remove fallback

* Naming, syntax

* Remove fallback & payable

* Update packages/protocol-contracts/contracts/ZetaTokenConsumerRecommended.strategy.sol

* Details

* zetaTokenInput_ -> zetaToken_

* Add receive function

* Copy

* add test for events

* move addresses to json file

* update ZetaTokenConsumerUniV3

* remove old comment

* Install order keys plugins

* Rename

* Delete recommended strategy

* tokenPoolFee

* Blankline

Co-authored-by: Lucas Janon <[email protected]>
* Add zetainteractor and errors to examples

* remove unused error

* remove _crossChainId from examples

* rename
* script to approve connector to spend tokens

* PR feedback

* Update packages/protocol-contracts/lib/contracts.helpers.ts

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

Co-authored-by: Lucas <[email protected]>
* Integrate zeta token consumer

* add crosschain test

* add zetaConsumer address

* fix small comments and renames

* update ZetaTokenConsumer to return amount

* remove unused functions
* Implement veridise audit suggestions

* add interface
* Implement veridise audit suggestions

* add interface

* rename
* Implement veridise audit suggestions

* add interface

* rename

* add immutable
implement PeckShield suggestions
* Deploy to deterministic addresses

* deploy with leading zeros

* update labels

* refactor

* update comment

* remove unused

* deploy immutableCreate2Factory
* Add changeset to publish on npm

* add npm ignore

* suggestions
andresaiello and others added 29 commits August 25, 2023 11:45
* Deploy rewards to Athens2

* make public time restrictions
* Add native token support to StakingReward contract

* remove extra var

* remove extra import

* remove unused code
* Improve uniswap scripts

* deploy disperse to athens

* remove uniswap scripts

* restore script
* Add bsc-mainnet to addresses pkg

* Move to v0.0.13
* Update address tools repo to deploy bsc-mainnet

* update chainId
* Add deadline to uniswap v2 contract

* refactor
…a-chain#124)

* SC to verify an address and accept an invitation

* naming

* add test

* add validation

* naming

* add counters

* add test

* update contract to unpersonalized links

* add registration logic to manager

* add validation

* fix test

* rename event

* rename messageSigner

* add index to event and test

* improve test
* implement immunefi improvements

* add codeowners
* Cleanup zetachain repo to be zeta-apps repo

* update docker

* update uniswap scripts

* refactor

* remove unused code

* add type to getAppAddress
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>
* Bump @openzeppelin/contracts from 4.8.3 to 4.9.3

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]>

* format

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andres Aiello <[email protected]>
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md)
- [Commits](browserify/browserify-sign@v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: browserify-sign
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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>
JSON formatting error in setup-tutorial.ts
* feat: ci to zetachain repo

* remove unsed code

* update test

* remove old code

* update yaml

* remove unused code
* feat: Run slither and coverage

* remove unused code

* lint

* update readme

* remove coverage files
* feat: Iimprove token incentive scripts

* lint
* Npm Pkg for app contract addresses

* update publish to yarn 3
* feat: npm pkg app contract addresses

* select files
* feat: Add events to disperse

* rename

* deploy

* add from to event
* feat: implement feature to disable invitation

* audit recommendation

* add expiration

* typo

* update addresses

* add pk
* Initial commit

* update network pkg and imports

* update deploy script

* remove unused

* update to @zetachain/networks 4.0.0

* update test

* fix sendZeta

* add gas limit

* remove old deployments

* update addresses

* Update packages/zeta-app-contracts/contracts/multi-chain-value/MultiChainValue.sol

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

* Update packages/zeta-app-contracts/contracts/multi-chain-value/MultiChainValue.sol

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

---------

Co-authored-by: Lucas <[email protected]>
@teguhsy
Copy link
Author

teguhsy commented Mar 3, 2024

Smooth network

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.

9 participants