-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add hardhat config * hedera deploy * deploy on hedera-mainnet * deploy strategies
- Loading branch information
1 parent
ee6dbbd
commit b5907b6
Showing
33 changed files
with
2,277 additions
and
6 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 85 additions & 0 deletions
85
...deployment-logs/core/deployAllo/hedera-mainnet/20250210_153916/deploy-20250210_153916.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
|
||
//////////////////////////////////////////////////// | ||
Deploys Allo.sol on hedera-mainnet | ||
//////////////////////////////////////////////////// | ||
|
||
┌─────────────────┬──────────────────────────────────────────────┐ | ||
│ (index) │ Values │ | ||
├─────────────────┼──────────────────────────────────────────────┤ | ||
│ contract │ 'Deploy Allo.sol' │ | ||
│ chainId │ 295 │ | ||
│ network │ 'hedera-mainnet' │ | ||
│ owner │ '0x8C180840fcBb90CE8464B4eCd12ab0f840c6647C' │ | ||
│ registry │ '0x4AAcca72145e1dF2aeC137E1f3C5E3D75DB8b5f3' │ | ||
│ treasury │ '0x8C180840fcBb90CE8464B4eCd12ab0f840c6647C' │ | ||
│ percentFee │ 0 │ | ||
│ baseFee │ 0 │ | ||
│ deployerAddress │ '0x8C180840fcBb90CE8464B4eCd12ab0f840c6647C' │ | ||
│ balance │ '198.7854449' │ | ||
└─────────────────┴──────────────────────────────────────────────┘ | ||
Deploying Allo.sol... | ||
Allo Proxy deployed to: 0x1133eA7Af70876e64665ecD07C0A0476d09465a1 | ||
Registry implementation deployed to: 0xB087535DB0df98fC4327136e897A5985E5Cfbd66 | ||
Proxy Admin: 0x758b87af7fdB4783f848a1dDEa1F025dC48B9858 | ||
Proxy Admin Owner: 0x8C180840fcBb90CE8464B4eCd12ab0f840c6647C | ||
|
||
Verifying contract... | ||
Verifying implementation: 0xB087535DB0df98fC4327136e897A5985E5Cfbd66 | ||
Failed to verify implementation contract at 0xB087535DB0df98fC4327136e897A5985E5Cfbd66: Trying to verify a contract in a network with chain id 295, but the plugin doesn't recognize it as a supported chain. | ||
|
||
You can manually add support for it by following these instructions: https://hardhat.org/verify-custom-networks | ||
|
||
To see the list of supported networks, run this command: | ||
|
||
npx hardhat verify --list-networks | ||
ChainConfigNotFoundError: Trying to verify a contract in a network with chain id 295, but the plugin doesn't recognize it as a supported chain. | ||
|
||
You can manually add support for it by following these instructions: https://hardhat.org/verify-custom-networks | ||
|
||
To see the list of supported networks, run this command: | ||
|
||
npx hardhat verify --list-networks | ||
at Function.getCurrentChainConfig (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@nomicfoundation/hardhat-verify/src/internal/etherscan.ts:65:13) | ||
at processTicksAndRejections (node:internal/process/task_queues:95:5) | ||
at async getEtherscanInstance (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@openzeppelin/hardhat-upgrades/src/utils/etherscan-api.ts:44:23) | ||
at async fullVerifyTransparentOrUUPS (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@openzeppelin/hardhat-upgrades/src/verify-proxy.ts:202:21) | ||
at async verify (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@openzeppelin/hardhat-upgrades/src/verify-proxy.ts:99:5) | ||
at async OverriddenTaskDefinition._action (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@openzeppelin/hardhat-upgrades/src/index.ts:206:12) | ||
at async Environment._runTaskDefinition (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/hardhat/src/internal/core/runtime-environment.ts:351:14) | ||
at async Environment.run (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/hardhat/src/internal/core/runtime-environment.ts:184:14) | ||
at async SimpleTaskDefinition.action (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@nomicfoundation/hardhat-verify/src/index.ts:546:7) | ||
at async Environment._runTaskDefinition (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/hardhat/src/internal/core/runtime-environment.ts:351:14) | ||
|
||
Verifying contract... | ||
ChainConfigNotFoundError: Trying to verify a contract in a network with chain id 295, but the plugin doesn't recognize it as a supported chain. | ||
|
||
You can manually add support for it by following these instructions: https://hardhat.org/verify-custom-networks | ||
|
||
To see the list of supported networks, run this command: | ||
|
||
npx hardhat verify --list-networks | ||
at Function.getCurrentChainConfig (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@nomicfoundation/hardhat-verify/src/internal/etherscan.ts:65:13) | ||
at processTicksAndRejections (node:internal/process/task_queues:95:5) | ||
at async SimpleTaskDefinition.action (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@nomicfoundation/hardhat-verify/src/index.ts:234:27) | ||
at async Environment._runTaskDefinition (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/hardhat/src/internal/core/runtime-environment.ts:351:14) | ||
at async hardhatVerify (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@openzeppelin/hardhat-upgrades/src/verify-proxy.ts:118:12) | ||
at async OverriddenTaskDefinition._action (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@openzeppelin/hardhat-upgrades/src/index.ts:206:12) | ||
at async Environment._runTaskDefinition (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/hardhat/src/internal/core/runtime-environment.ts:351:14) | ||
at async Environment.run (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/hardhat/src/internal/core/runtime-environment.ts:184:14) | ||
at async SimpleTaskDefinition.action (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@nomicfoundation/hardhat-verify/src/index.ts:546:7) | ||
at async Environment._runTaskDefinition (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/hardhat/src/internal/core/runtime-environment.ts:351:14) | ||
[90m | ||
Validating getRegistry() == 0x4AAcca72145e1dF2aeC137E1f3C5E3D75DB8b5f3[0m | ||
[32m ✅ PASSED with Result: 0x4AAcca72145e1dF2aeC137E1f3C5E3D75DB8b5f3[0m | ||
[90m | ||
Validating getTreasury() == 0x8C180840fcBb90CE8464B4eCd12ab0f840c6647C[0m | ||
[32m ✅ PASSED with Result: 0x8C180840fcBb90CE8464B4eCd12ab0f840c6647C[0m | ||
[90m | ||
Validating getPercentFee() == 0[0m | ||
[32m ✅ PASSED with Result: 0[0m | ||
[90m | ||
Validating getBaseFee() == 0[0m | ||
[32m ✅ PASSED with Result: 0[0m | ||
[90m | ||
Validating owner() == 0x8C180840fcBb90CE8464B4eCd12ab0f840c6647C[0m | ||
[32m ✅ PASSED with Result: 0x8C180840fcBb90CE8464B4eCd12ab0f840c6647C[0m |
88 changes: 88 additions & 0 deletions
88
...deployment-logs/core/deployAllo/hedera-testnet/20250207_182922/deploy-20250207_182922.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
WARNING: You are currently using Node.js v21.7.3, which is not supported by Hardhat. This can lead to unexpected behavior. See https://hardhat.org/nodejs-versions | ||
|
||
|
||
|
||
//////////////////////////////////////////////////// | ||
Deploys Allo.sol on hedera-testnet | ||
//////////////////////////////////////////////////// | ||
|
||
┌─────────────────┬──────────────────────────────────────────────┐ | ||
│ (index) │ Values │ | ||
├─────────────────┼──────────────────────────────────────────────┤ | ||
│ contract │ 'Deploy Allo.sol' │ | ||
│ chainId │ 296 │ | ||
│ network │ 'hedera-testnet' │ | ||
│ owner │ '0x8C180840fcBb90CE8464B4eCd12ab0f840c6647C' │ | ||
│ registry │ '0xd39b40aC9279EeeB86FBbDeb2C9acDF16e16cF89' │ | ||
│ treasury │ '0x8C180840fcBb90CE8464B4eCd12ab0f840c6647C' │ | ||
│ percentFee │ 0 │ | ||
│ baseFee │ 0 │ | ||
│ deployerAddress │ '0xB8cEF765721A6da910f14Be93e7684e9a3714123' │ | ||
│ balance │ '99.55726574' │ | ||
└─────────────────┴──────────────────────────────────────────────┘ | ||
Deploying Allo.sol... | ||
Allo Proxy deployed to: 0x00CD233ae7F31DC3664401cb040f24f6bf615668 | ||
Registry implementation deployed to: 0x0BFA0AAF5f2D81f859e85C8E82A3fc5b624fc6E8 | ||
Proxy Admin: 0xe773F10dE367E803940693cD3AA3C563A354dE26 | ||
Proxy Admin Owner: 0xB8cEF765721A6da910f14Be93e7684e9a3714123 | ||
|
||
Verifying contract... | ||
Verifying implementation: 0x0BFA0AAF5f2D81f859e85C8E82A3fc5b624fc6E8 | ||
Failed to verify implementation contract at 0x0BFA0AAF5f2D81f859e85C8E82A3fc5b624fc6E8: Trying to verify a contract in a network with chain id 296, but the plugin doesn't recognize it as a supported chain. | ||
|
||
You can manually add support for it by following these instructions: https://hardhat.org/verify-custom-networks | ||
|
||
To see the list of supported networks, run this command: | ||
|
||
npx hardhat verify --list-networks | ||
ChainConfigNotFoundError: Trying to verify a contract in a network with chain id 296, but the plugin doesn't recognize it as a supported chain. | ||
|
||
You can manually add support for it by following these instructions: https://hardhat.org/verify-custom-networks | ||
|
||
To see the list of supported networks, run this command: | ||
|
||
npx hardhat verify --list-networks | ||
at Function.getCurrentChainConfig (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@nomicfoundation/hardhat-verify/src/internal/etherscan.ts:65:13) | ||
at processTicksAndRejections (node:internal/process/task_queues:95:5) | ||
at async getEtherscanInstance (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@openzeppelin/hardhat-upgrades/src/utils/etherscan-api.ts:44:23) | ||
at async fullVerifyTransparentOrUUPS (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@openzeppelin/hardhat-upgrades/src/verify-proxy.ts:202:21) | ||
at async verify (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@openzeppelin/hardhat-upgrades/src/verify-proxy.ts:99:5) | ||
at async OverriddenTaskDefinition._action (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@openzeppelin/hardhat-upgrades/src/index.ts:206:12) | ||
at async Environment._runTaskDefinition (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/hardhat/src/internal/core/runtime-environment.ts:351:14) | ||
at async Environment.run (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/hardhat/src/internal/core/runtime-environment.ts:184:14) | ||
at async SimpleTaskDefinition.action (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@nomicfoundation/hardhat-verify/src/index.ts:546:7) | ||
at async Environment._runTaskDefinition (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/hardhat/src/internal/core/runtime-environment.ts:351:14) | ||
|
||
Verifying contract... | ||
ChainConfigNotFoundError: Trying to verify a contract in a network with chain id 296, but the plugin doesn't recognize it as a supported chain. | ||
|
||
You can manually add support for it by following these instructions: https://hardhat.org/verify-custom-networks | ||
|
||
To see the list of supported networks, run this command: | ||
|
||
npx hardhat verify --list-networks | ||
at Function.getCurrentChainConfig (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@nomicfoundation/hardhat-verify/src/internal/etherscan.ts:65:13) | ||
at processTicksAndRejections (node:internal/process/task_queues:95:5) | ||
at async SimpleTaskDefinition.action (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@nomicfoundation/hardhat-verify/src/index.ts:234:27) | ||
at async Environment._runTaskDefinition (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/hardhat/src/internal/core/runtime-environment.ts:351:14) | ||
at async hardhatVerify (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@openzeppelin/hardhat-upgrades/src/verify-proxy.ts:118:12) | ||
at async OverriddenTaskDefinition._action (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@openzeppelin/hardhat-upgrades/src/index.ts:206:12) | ||
at async Environment._runTaskDefinition (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/hardhat/src/internal/core/runtime-environment.ts:351:14) | ||
at async Environment.run (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/hardhat/src/internal/core/runtime-environment.ts:184:14) | ||
at async SimpleTaskDefinition.action (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/@nomicfoundation/hardhat-verify/src/index.ts:546:7) | ||
at async Environment._runTaskDefinition (/Users/thelostone-mc/Labs/allo/allo-v2/node_modules/hardhat/src/internal/core/runtime-environment.ts:351:14) | ||
[90m | ||
Validating getRegistry() == 0xd39b40aC9279EeeB86FBbDeb2C9acDF16e16cF89[0m | ||
[32m ✅ PASSED with Result: 0xd39b40aC9279EeeB86FBbDeb2C9acDF16e16cF89[0m | ||
[90m | ||
Validating getTreasury() == 0x8C180840fcBb90CE8464B4eCd12ab0f840c6647C[0m | ||
[32m ✅ PASSED with Result: 0x8C180840fcBb90CE8464B4eCd12ab0f840c6647C[0m | ||
[90m | ||
Validating getPercentFee() == 0[0m | ||
[32m ✅ PASSED with Result: 0[0m | ||
[90m | ||
Validating getBaseFee() == 0[0m | ||
[32m ✅ PASSED with Result: 0[0m | ||
[90m | ||
Validating owner() == 0x8C180840fcBb90CE8464B4eCd12ab0f840c6647C[0m | ||
[32m ✅ PASSED with Result: 0x8C180840fcBb90CE8464B4eCd12ab0f840c6647C[0m |
Oops, something went wrong.