|
| 1 | ++ declare -p KEY |
| 2 | ++ echo 'Using deployer private key from environment variable KEY' |
| 3 | +Using deployer private key from environment variable KEY |
| 4 | ++ export PROVIDER=https://babel-api.mainnet.iotex.one |
| 5 | ++ PROVIDER=https://babel-api.mainnet.iotex.one |
| 6 | ++ export EXPLORER=https://iotexscan.io |
| 7 | ++ EXPLORER=https://iotexscan.io |
| 8 | ++ export OUTPUT_FILE=iotex-address.txt |
| 9 | ++ OUTPUT_FILE=iotex-address.txt |
| 10 | ++ ./scripts/deploy-without-migrator.js |
| 11 | +Deploying contracts from 0x72ea90e2Fe101090fc44156cae3141527AE9F429 |
| 12 | +Connected to network at https://babel-api.mainnet.iotex.one: {"name":"unknown","chainId":"4689"} |
| 13 | +Follow deployment: https://iotexscan.io/tx/0x371e71b0713113ad9e6188a0a0912a31f442b567304e2c9b43e4068108b61df2 |
| 14 | +DATAv2 deployed to: 0x871a20C72d636A8C987e762616Ab047e1B52653e |
| 15 | +Follow grant minter role: https://iotexscan.io/tx/0x10c9a18a44fd7d5994689723a0b20b5787904b3b222e237e75b2e26c6248102c |
| 16 | +Follow grant admin role: https://iotexscan.io/tx/0xa53fd8b82141e135c11c139175914d431d8fd315d18082ab330f9684d5ad90cf |
| 17 | +++ cat iotex-address.txt |
| 18 | ++ npx hardhat verify --network iotex 0x871a20C72d636A8C987e762616Ab047e1B52653e |
| 19 | +[INFO] Sourcify Verification Skipped: Sourcify verification is currently disabled. To enable it, add the following entry to your Hardhat configuration: |
| 20 | + |
| 21 | +sourcify: { |
| 22 | + enabled: true |
| 23 | +} |
| 24 | + |
| 25 | +Or set 'enabled' to false to hide this message. |
| 26 | + |
| 27 | +For more information, visit https://hardhat.org/hardhat-runner/plugins/nomicfoundation-hardhat-verify#verifying-on-sourcify |
| 28 | +hardhat-verify found one or more errors during the verification process: |
| 29 | + |
| 30 | +Etherscan: |
| 31 | +The address 0x871a20C72d636A8C987e762616Ab047e1B52653e has no bytecode. Is the contract deployed to this network? |
| 32 | +The selected network is iotex. |
| 33 | + |
| 34 | + |
| 35 | ++ echo 'Retrying in 10 seconds...' |
| 36 | +Retrying in 10 seconds... |
| 37 | ++ sleep 10 |
| 38 | +++ cat iotex-address.txt |
| 39 | ++ npx hardhat verify --network iotex 0x871a20C72d636A8C987e762616Ab047e1B52653e |
| 40 | +[INFO] Sourcify Verification Skipped: Sourcify verification is currently disabled. To enable it, add the following entry to your Hardhat configuration: |
| 41 | + |
| 42 | +sourcify: { |
| 43 | + enabled: true |
| 44 | +} |
| 45 | + |
| 46 | +Or set 'enabled' to false to hide this message. |
| 47 | + |
| 48 | +For more information, visit https://hardhat.org/hardhat-runner/plugins/nomicfoundation-hardhat-verify#verifying-on-sourcify |
| 49 | + |
| 50 | +Successfully verified contract DATAv2 on the block explorer. |
| 51 | +https://iotexscan.io/address/0x871a20C72d636A8C987e762616Ab047e1B52653e#code |
0 commit comments