├── .editorconfig ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── bug-report.yml │ ├── feature-request.yml │ └── other-issue.md └── workflows │ └── tests.yml ├── .gitignore ├── .husky └── pre-commit ├── .mocharc.json ├── .prettierignore ├── .prettierrc.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── docs ├── Deployer.md ├── DetailedExample.md ├── ExternalWallets.md ├── MigrationProcess.md └── Reporter.md ├── eslint.config.cjs ├── package.json ├── src ├── config.ts ├── constants.ts ├── deployer │ ├── Deployer.ts │ ├── Linker.ts │ ├── MinimalContract.ts │ └── adapters │ │ ├── Adapter.ts │ │ ├── BaseAdapter.ts │ │ ├── BytecodeAdapter.ts │ │ ├── EthersContractFactoryAdapter.ts │ │ └── TypechainContractFactoryAdapter.ts ├── errors.ts ├── index.ts ├── migrator │ └── Migrator.ts ├── tools │ ├── Stats.ts │ ├── integrations │ │ ├── cast-integration.ts │ │ └── trezor-integration.ts │ ├── network │ │ ├── EthersProvider.ts │ │ ├── ExtendedHardhatEthersSigner.ts │ │ ├── NetworkManager.ts │ │ ├── etherscan-api.ts │ │ └── requests.ts │ ├── reporters │ │ ├── PublicReporter.ts │ │ ├── Reporter.ts │ │ └── ReporterStorage.ts │ ├── runners │ │ └── TransactionRunner.ts │ └── storage │ │ ├── ArtifactProcessor.ts │ │ ├── MigrateStorage.ts │ │ ├── TransactionProcessor.ts │ │ └── VerificationProcessor.ts ├── type-extensions.ts ├── types │ ├── adapter.ts │ ├── deployer.ts │ ├── migrations.ts │ ├── tools.ts │ ├── type-checks.ts │ └── verifier.ts ├── utils │ ├── common.ts │ ├── error.ts │ ├── index.ts │ ├── logging.ts │ ├── migration.ts │ └── network.ts └── verifier │ └── Verifier.ts ├── test ├── fixture-projects │ ├── hardhat-project-cast-integration │ │ ├── .env │ │ ├── .gitignore │ │ ├── contracts │ │ │ └── GovToken.sol │ │ ├── deploy │ │ │ ├── 1_simple.migration.ts │ │ │ └── 2_second.migration.ts │ │ ├── hardhat.config.ts │ │ ├── package.json │ │ └── test-0.pwd │ ├── hardhat-project-defined-config │ │ ├── .gitignore │ │ ├── hardhat.config.ts │ │ └── package.json │ ├── hardhat-project-ethers │ │ ├── .gitignore │ │ ├── contracts │ │ │ ├── GovToken.sol │ │ │ └── libs │ │ │ │ ├── TimestampClockLib.sol │ │ │ │ └── VotingPowerLib.sol │ │ ├── deploy │ │ │ ├── 1_simple.migration.ts │ │ │ ├── 2_linking.migration.ts │ │ │ └── 3_plenty.of.stuff.migration.ts │ │ ├── hardhat.config.ts │ │ └── package.json │ ├── hardhat-project-mock-files │ │ ├── .gitignore │ │ ├── deploy-files │ │ │ ├── -1_mock.migration.ts │ │ │ ├── 1_mock.migration.ts │ │ │ ├── 2_mock.migration.ts │ │ │ ├── 3_mock.migration.ts │ │ │ ├── 4_mock.migration.ts │ │ │ └── 5_mock.migration.ts │ │ ├── hardhat.config.ts │ │ └── package.json │ ├── hardhat-project-namespace │ │ ├── .gitignore │ │ ├── contracts │ │ │ └── GovToken.sol │ │ ├── deploy │ │ │ ├── additional │ │ │ │ └── 1_additional.migration.ts │ │ │ └── core │ │ │ │ └── 1_simple.migration.ts │ │ ├── hardhat.config.ts │ │ └── package.json │ ├── hardhat-project-pure-bytecode │ │ ├── .gitignore │ │ ├── contracts │ │ │ ├── GovToken.sol │ │ │ └── libs │ │ │ │ ├── TimestampClockLib.sol │ │ │ │ └── VotingPowerLib.sol │ │ ├── deploy │ │ │ └── 1_simple.migration.ts │ │ ├── hardhat.config.ts │ │ └── package.json │ ├── hardhat-project-trezor-integration │ │ ├── .gitignore │ │ ├── contracts │ │ │ └── GovToken.sol │ │ ├── deploy │ │ │ └── 1_simple.migration.ts │ │ ├── hardhat.config.ts │ │ └── package.json │ ├── hardhat-project-typechain-ethers │ │ ├── .gitignore │ │ ├── contracts │ │ │ ├── GovToken.sol │ │ │ ├── Helper.sol │ │ │ ├── TestContracts.sol │ │ │ └── libs │ │ │ │ ├── TimestampClockLib.sol │ │ │ │ └── VotingPowerLib.sol │ │ ├── deploy │ │ │ ├── 1_simple.migration.ts │ │ │ ├── 2_linking.migration.ts │ │ │ ├── 3_plenty.of.stuff.migration.ts │ │ │ └── 4_different.signers.migration.ts │ │ ├── hardhat.config.ts │ │ └── package.json │ ├── hardhat-project-undefined-config │ │ ├── .gitignore │ │ ├── hardhat.config.ts │ │ └── package.json │ ├── hardhat-project │ │ ├── .gitignore │ │ ├── contracts │ │ │ ├── GovToken.sol │ │ │ └── libs │ │ │ │ ├── TimestampClockLib.sol │ │ │ │ └── VotingPowerLib.sol │ │ ├── hardhat.config.ts │ │ └── package.json │ └── hardhat.config.ts ├── helpers.ts ├── integration │ ├── deployer │ │ ├── base-contract-interaction.ts │ │ └── save-and-recover.test.ts │ ├── migration │ │ ├── ethers.test.ts │ │ ├── helper.ts │ │ ├── namespace.test.ts │ │ ├── pure-bytecode.test.ts │ │ ├── reporter-path.test.ts │ │ └── typechain-ethers.test.ts │ ├── reporter │ │ ├── file-reporting.test.ts │ │ └── public.reporter.test.ts │ ├── setup │ │ └── config.ts │ ├── tools │ │ ├── files.ts │ │ ├── migrator.ts │ │ └── transaction-storage.ts │ └── wallet │ │ ├── cast.test.ts │ │ └── trezor.test.ts ├── setup.ts └── unit │ ├── linker.ts │ └── storage.ts └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug-report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/.github/ISSUE_TEMPLATE/bug-report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/.github/ISSUE_TEMPLATE/feature-request.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/other-issue.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/.github/ISSUE_TEMPLATE/other-issue.md -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | npm run lint-fix && git add -u 2 | -------------------------------------------------------------------------------- /.mocharc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/.mocharc.json -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | typechain-types 2 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/README.md -------------------------------------------------------------------------------- /docs/Deployer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/docs/Deployer.md -------------------------------------------------------------------------------- /docs/DetailedExample.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/docs/DetailedExample.md -------------------------------------------------------------------------------- /docs/ExternalWallets.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/docs/ExternalWallets.md -------------------------------------------------------------------------------- /docs/MigrationProcess.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/docs/MigrationProcess.md -------------------------------------------------------------------------------- /docs/Reporter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/docs/Reporter.md -------------------------------------------------------------------------------- /eslint.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/eslint.config.cjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/package.json -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/deployer/Deployer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/deployer/Deployer.ts -------------------------------------------------------------------------------- /src/deployer/Linker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/deployer/Linker.ts -------------------------------------------------------------------------------- /src/deployer/MinimalContract.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/deployer/MinimalContract.ts -------------------------------------------------------------------------------- /src/deployer/adapters/Adapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/deployer/adapters/Adapter.ts -------------------------------------------------------------------------------- /src/deployer/adapters/BaseAdapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/deployer/adapters/BaseAdapter.ts -------------------------------------------------------------------------------- /src/deployer/adapters/BytecodeAdapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/deployer/adapters/BytecodeAdapter.ts -------------------------------------------------------------------------------- /src/deployer/adapters/EthersContractFactoryAdapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/deployer/adapters/EthersContractFactoryAdapter.ts -------------------------------------------------------------------------------- /src/deployer/adapters/TypechainContractFactoryAdapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/deployer/adapters/TypechainContractFactoryAdapter.ts -------------------------------------------------------------------------------- /src/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/errors.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/migrator/Migrator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/migrator/Migrator.ts -------------------------------------------------------------------------------- /src/tools/Stats.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/tools/Stats.ts -------------------------------------------------------------------------------- /src/tools/integrations/cast-integration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/tools/integrations/cast-integration.ts -------------------------------------------------------------------------------- /src/tools/integrations/trezor-integration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/tools/integrations/trezor-integration.ts -------------------------------------------------------------------------------- /src/tools/network/EthersProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/tools/network/EthersProvider.ts -------------------------------------------------------------------------------- /src/tools/network/ExtendedHardhatEthersSigner.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/tools/network/ExtendedHardhatEthersSigner.ts -------------------------------------------------------------------------------- /src/tools/network/NetworkManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/tools/network/NetworkManager.ts -------------------------------------------------------------------------------- /src/tools/network/etherscan-api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/tools/network/etherscan-api.ts -------------------------------------------------------------------------------- /src/tools/network/requests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/tools/network/requests.ts -------------------------------------------------------------------------------- /src/tools/reporters/PublicReporter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/tools/reporters/PublicReporter.ts -------------------------------------------------------------------------------- /src/tools/reporters/Reporter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/tools/reporters/Reporter.ts -------------------------------------------------------------------------------- /src/tools/reporters/ReporterStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/tools/reporters/ReporterStorage.ts -------------------------------------------------------------------------------- /src/tools/runners/TransactionRunner.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/tools/runners/TransactionRunner.ts -------------------------------------------------------------------------------- /src/tools/storage/ArtifactProcessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/tools/storage/ArtifactProcessor.ts -------------------------------------------------------------------------------- /src/tools/storage/MigrateStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/tools/storage/MigrateStorage.ts -------------------------------------------------------------------------------- /src/tools/storage/TransactionProcessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/tools/storage/TransactionProcessor.ts -------------------------------------------------------------------------------- /src/tools/storage/VerificationProcessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/tools/storage/VerificationProcessor.ts -------------------------------------------------------------------------------- /src/type-extensions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/type-extensions.ts -------------------------------------------------------------------------------- /src/types/adapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/types/adapter.ts -------------------------------------------------------------------------------- /src/types/deployer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/types/deployer.ts -------------------------------------------------------------------------------- /src/types/migrations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/types/migrations.ts -------------------------------------------------------------------------------- /src/types/tools.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/types/tools.ts -------------------------------------------------------------------------------- /src/types/type-checks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/types/type-checks.ts -------------------------------------------------------------------------------- /src/types/verifier.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/types/verifier.ts -------------------------------------------------------------------------------- /src/utils/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/utils/common.ts -------------------------------------------------------------------------------- /src/utils/error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/utils/error.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/logging.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/utils/logging.ts -------------------------------------------------------------------------------- /src/utils/migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/utils/migration.ts -------------------------------------------------------------------------------- /src/utils/network.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/utils/network.ts -------------------------------------------------------------------------------- /src/verifier/Verifier.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/src/verifier/Verifier.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-cast-integration/.env: -------------------------------------------------------------------------------- 1 | PASSWORD_TEST_8=12345 2 | -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-cast-integration/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-cast-integration/.gitignore -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-cast-integration/contracts/GovToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-cast-integration/contracts/GovToken.sol -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-cast-integration/deploy/1_simple.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-cast-integration/deploy/1_simple.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-cast-integration/deploy/2_second.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-cast-integration/deploy/2_second.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-cast-integration/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-cast-integration/hardhat.config.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-cast-integration/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-cast-integration/package.json -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-cast-integration/test-0.pwd: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-defined-config/.gitignore: -------------------------------------------------------------------------------- 1 | /cache 2 | /artifacts 3 | -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-defined-config/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-defined-config/hardhat.config.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-defined-config/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-defined-config/package.json -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-ethers/.gitignore: -------------------------------------------------------------------------------- 1 | /cache 2 | /artifacts 3 | -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-ethers/contracts/GovToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-ethers/contracts/GovToken.sol -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-ethers/contracts/libs/TimestampClockLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-ethers/contracts/libs/TimestampClockLib.sol -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-ethers/contracts/libs/VotingPowerLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-ethers/contracts/libs/VotingPowerLib.sol -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-ethers/deploy/1_simple.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-ethers/deploy/1_simple.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-ethers/deploy/2_linking.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-ethers/deploy/2_linking.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-ethers/deploy/3_plenty.of.stuff.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-ethers/deploy/3_plenty.of.stuff.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-ethers/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-ethers/hardhat.config.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-ethers/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-ethers/package.json -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-mock-files/.gitignore: -------------------------------------------------------------------------------- 1 | /cache 2 | /artifacts 3 | -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-mock-files/deploy-files/-1_mock.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-mock-files/deploy-files/-1_mock.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-mock-files/deploy-files/1_mock.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-mock-files/deploy-files/1_mock.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-mock-files/deploy-files/2_mock.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-mock-files/deploy-files/2_mock.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-mock-files/deploy-files/3_mock.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-mock-files/deploy-files/3_mock.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-mock-files/deploy-files/4_mock.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-mock-files/deploy-files/4_mock.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-mock-files/deploy-files/5_mock.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-mock-files/deploy-files/5_mock.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-mock-files/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-mock-files/hardhat.config.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-mock-files/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-mock-files/package.json -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-namespace/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-namespace/.gitignore -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-namespace/contracts/GovToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-namespace/contracts/GovToken.sol -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-namespace/deploy/additional/1_additional.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-namespace/deploy/additional/1_additional.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-namespace/deploy/core/1_simple.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-namespace/deploy/core/1_simple.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-namespace/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-namespace/hardhat.config.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-namespace/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-namespace/package.json -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-pure-bytecode/.gitignore: -------------------------------------------------------------------------------- 1 | /cache 2 | /artifacts 3 | abi 4 | -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-pure-bytecode/contracts/GovToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-pure-bytecode/contracts/GovToken.sol -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-pure-bytecode/contracts/libs/TimestampClockLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-pure-bytecode/contracts/libs/TimestampClockLib.sol -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-pure-bytecode/contracts/libs/VotingPowerLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-pure-bytecode/contracts/libs/VotingPowerLib.sol -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-pure-bytecode/deploy/1_simple.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-pure-bytecode/deploy/1_simple.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-pure-bytecode/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-pure-bytecode/hardhat.config.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-pure-bytecode/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-pure-bytecode/package.json -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-trezor-integration/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-trezor-integration/.gitignore -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-trezor-integration/contracts/GovToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-trezor-integration/contracts/GovToken.sol -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-trezor-integration/deploy/1_simple.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-trezor-integration/deploy/1_simple.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-trezor-integration/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-trezor-integration/hardhat.config.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-trezor-integration/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-trezor-integration/package.json -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-typechain-ethers/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-typechain-ethers/.gitignore -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-typechain-ethers/contracts/GovToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-typechain-ethers/contracts/GovToken.sol -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-typechain-ethers/contracts/Helper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-typechain-ethers/contracts/Helper.sol -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-typechain-ethers/contracts/TestContracts.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-typechain-ethers/contracts/TestContracts.sol -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-typechain-ethers/contracts/libs/TimestampClockLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-typechain-ethers/contracts/libs/TimestampClockLib.sol -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-typechain-ethers/contracts/libs/VotingPowerLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-typechain-ethers/contracts/libs/VotingPowerLib.sol -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-typechain-ethers/deploy/1_simple.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-typechain-ethers/deploy/1_simple.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-typechain-ethers/deploy/2_linking.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-typechain-ethers/deploy/2_linking.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-typechain-ethers/deploy/3_plenty.of.stuff.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-typechain-ethers/deploy/3_plenty.of.stuff.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-typechain-ethers/deploy/4_different.signers.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-typechain-ethers/deploy/4_different.signers.migration.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-typechain-ethers/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-typechain-ethers/hardhat.config.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-typechain-ethers/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-typechain-ethers/package.json -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-undefined-config/.gitignore: -------------------------------------------------------------------------------- 1 | /cache 2 | /artifacts 3 | -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-undefined-config/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-undefined-config/hardhat.config.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project-undefined-config/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project-undefined-config/package.json -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project/.gitignore: -------------------------------------------------------------------------------- 1 | /cache 2 | /artifacts 3 | -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project/contracts/GovToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project/contracts/GovToken.sol -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project/contracts/libs/TimestampClockLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project/contracts/libs/TimestampClockLib.sol -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project/contracts/libs/VotingPowerLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project/contracts/libs/VotingPowerLib.sol -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project/hardhat.config.ts -------------------------------------------------------------------------------- /test/fixture-projects/hardhat-project/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat-project/package.json -------------------------------------------------------------------------------- /test/fixture-projects/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/fixture-projects/hardhat.config.ts -------------------------------------------------------------------------------- /test/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/helpers.ts -------------------------------------------------------------------------------- /test/integration/deployer/base-contract-interaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/integration/deployer/base-contract-interaction.ts -------------------------------------------------------------------------------- /test/integration/deployer/save-and-recover.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/integration/deployer/save-and-recover.test.ts -------------------------------------------------------------------------------- /test/integration/migration/ethers.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/integration/migration/ethers.test.ts -------------------------------------------------------------------------------- /test/integration/migration/helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/integration/migration/helper.ts -------------------------------------------------------------------------------- /test/integration/migration/namespace.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/integration/migration/namespace.test.ts -------------------------------------------------------------------------------- /test/integration/migration/pure-bytecode.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/integration/migration/pure-bytecode.test.ts -------------------------------------------------------------------------------- /test/integration/migration/reporter-path.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/integration/migration/reporter-path.test.ts -------------------------------------------------------------------------------- /test/integration/migration/typechain-ethers.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/integration/migration/typechain-ethers.test.ts -------------------------------------------------------------------------------- /test/integration/reporter/file-reporting.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/integration/reporter/file-reporting.test.ts -------------------------------------------------------------------------------- /test/integration/reporter/public.reporter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/integration/reporter/public.reporter.test.ts -------------------------------------------------------------------------------- /test/integration/setup/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/integration/setup/config.ts -------------------------------------------------------------------------------- /test/integration/tools/files.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/integration/tools/files.ts -------------------------------------------------------------------------------- /test/integration/tools/migrator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/integration/tools/migrator.ts -------------------------------------------------------------------------------- /test/integration/tools/transaction-storage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/integration/tools/transaction-storage.ts -------------------------------------------------------------------------------- /test/integration/wallet/cast.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/integration/wallet/cast.test.ts -------------------------------------------------------------------------------- /test/integration/wallet/trezor.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/integration/wallet/trezor.test.ts -------------------------------------------------------------------------------- /test/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/setup.ts -------------------------------------------------------------------------------- /test/unit/linker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/unit/linker.ts -------------------------------------------------------------------------------- /test/unit/storage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/test/unit/storage.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dl-solarity/hardhat-migrate/HEAD/tsconfig.json --------------------------------------------------------------------------------