* MetaTransactionData changes
* MetaTransactionV2 creation and forge tests
* MetaTransactionData changes
* MetaTransactionV2 creation and forge tests
* add multiplexBatchSellTokenForToken, multiplexMultiHopSellTokenForToken, multiplex TokenForEth functions to metatransactions, add msgSender field to multiplex params
* Ran prettier to clean up
* More linting
* Fixing issues with EIP 712 signature, adding test case against MetaMask, and fixing lint issues
* Addressing suggestions from PR reviewers
* Complex rebase of test code based on changes in #655
* Fixing multiplex test failure
* add some tests for multiplex metatransactions
* prettier
* minor test fix
* cleaning up and adding batchExecuteMetaTransaction tests
* Removing ZERO_ADDRESS
* add multiHopBatchSellOtc to MultiplexFeature, fix _computeHopTarget for MultiplexSubcall.OTC [#667]
* fix _computeHopTarget for otc subcalls
* Fixing multiHopSellOtcOrder when params.useSelfBalance is true
* Making executeMetaTransactionV2 nonpayable and addressing a few other minor issues
* Forge update
* Add MetaTransactionsFeatureV2 to exported contracts
---------
Co-authored-by: abls <112491550+abls@users.noreply.github.com>
Co-authored-by: Duncan Townsend <git@duncancmt.com>
* Add integration test for withdrawing 0x stake in catastrophic mode
* Add a test for delegating to an external account
* Use startPrank for all calls as all from delegator
* Better use of prank
Co-authored-by: duncancmt <1207590+duncancmt@users.noreply.github.com>
* Add the delegation test under normal operation mode'
---------
Co-authored-by: duncancmt <1207590+duncancmt@users.noreply.github.com>
* Integration test catastrophic mode
* Update test for withdrawals in catastrophic mode
* Test withdrawing delegator rewards work in catastrophic mode
* Test top stakers can withdraw
* Test more delegators rewards withdrawals
* Add claiming rewards for a pool owner
* Fix for forge coverage
* Add foundry deployment script and config
* Add generated by foundry build artifact for Treasury
* Add shortcut commands for goerli deployment
* Switch to a production version of predicting a deployment address
* Lower gas price
* Fix a copy-paste error
* Productionise and final test
* Segregate tests and mocks and wire up integration test base
* Switch to a production version of predicting a deployment address
* Add integration test for exchange governor migration
* Add integration test for treassury migration
* Add integration test for migrating the treasury
* Add governance upgrade action to transfer ZRX tokens to new governor
* Add governance upgrade action to transfer wCELO tokens to new governor
* Add governance upgrade action to transfer WYV tokens to new governor
* Turn on verbose logging
* Fix F-3: Explicit Variable Return audit report
* Reuse onlySecurityCouncil modifier and update its revert message
* Fix F-5: modifier Optimization audit report
* Fix F-7: Input Sanity Check audit report
* Add audit report
* Further gas optimise getting a checkpoint function by up to 100 gas
* Fix F-6: return Statement Optimization audit report
* Wrap logic in unchecked block to save 24 gas
in getVotes and getQuadraticVotes each
* Move audit doc into a dedicated folder