feat(upgrade): re-create project with hardhat & ethers
removing truffle and web3
chore: re-adds contracts
chore: adds dev rules
chore(contracts): fixes solidity lint errors
chore(test): re-adds tests
chore(upgrade): adds deployment tools
chore(upgrade): add smock for contract mocking
chore(upgrade): removes sol tests
chore(upgrade): fixe pre-commit and update readme
chore(upgrade): add more eslint rules
chore(deps): move typechain to deps
chore(upgrade): unignore dist from npm i
chore(ethers): return util token for manual testing 👿
PP-565: migrate the removeTokens script to use Hardhat and Ethers.js (#92)
* refactor: migrate the removeTokens script to use Hardhat and Ethers.js
* fix: fix the task in hardhat.config, update Readme and apply format
Co-authored-by: Antonio Morrone <antonio@iovlabs.org>
PP-566: migrate script deploy collector (#95)
* feat: dummy commit, create empty deployCollector.ts file
* refactor: add script and task to deploy a Collector using Hardhat and Ethers.js
* style: apply format rules
* test: add the tests, remove the positional arguments and simplify the output file
* fix: apply PR suggestions
Remove some scripts from the package.json
Use console.table to print the collector output
Rename the input config file parameter
Co-authored-by: Antonio Morrone <antonio@iovlabs.org>
PP-569: migrate change partners (#97)
* chore: change package.json version
* feat: migrate the change-partners script to use ether.js
* fix: change the parseJsonFile function to return undefined
* fix: apply PR suggestions
* Revert "style: include automatically formatted solidity files"
This reverts commit 76ee863.
* fix: remove the script from package.json and update Readme.md
* style: apply formatting rules
PP-567 Migrate Withdraw Task (#93)
* feat: new hardhat task
* feat: create withdraw task
* chore: update readme
* feat: complete withdrawal task and tests
* chore: linted
* fix: no from parameter on withdraw
* chore: change readme, description of task
* feat: reorganize tasks and tests
* fix: restore .prepare script
* fix: typo on script
* fix: restore file permissions
* fix: prettier issues, no waffle json file
* fix: no prepare task
* chore: remove unneeded rules
* fix: change Readme.md to fix the command instruction
* fix: restore the collector:deploy sample config file
Co-authored-by: Christos Otarola <christos@Christoss-MacBook-Pro.local>
Co-authored-by: Antonio Morrone <antonio@iovlabs.org>
PP-355/update-rif-relay-server (#96)
* refactor(index): expose typing for relay-server
* refactor: prettier
fix: fix the collector and add the missing tests
Fix the collector updateRemainderAddress
Include the missing test for the stakeForAddress method
fix: add config to use custom signers to run scripts (#106)
feat: expiration mechanism (#105)
* feat: expiration mechanism
* fix: FWD to SW
* feat: validate time on deploy
Co-authored-by: Christos Otarola <christos@Christoss-MacBook-Pro.local>
PP-602/RelayClient: _validateSmartWallet (#109)
* refactor(SmartWallet): expose getOwner
* refactor(index): expose PromiseOrValue
* chore: github workflow
PP-358: include the contracts in dist (#112)
* fix: remove contracts from npmignore
* chore: rename .prettierrc to prettier.json5 to be consistent among all the repos
PP-357: Add a task to mint utility tokens (#113)
* feat: add a task to mint utility tokens
* fix: apply linting and format to tasks
* refactor: expose RelayHubInterface
* docs: readme
Co-authored-by: Francisco Tobar <francisco.tobar@iovlabs.org>