Skip to content

Instantly share code, notes, and snippets.

@ZenGround0
Created April 3, 2025 03:56
Show Gist options
  • Save ZenGround0/0b807c537df14239c4681de143faf796 to your computer and use it in GitHub Desktop.
Save ZenGround0/0b807c537df14239c4681de143faf796 to your computer and use it in GitHub Desktop.
forge script script/Recall.s.sol \ --tc DeployScript \ Wed Apr 2 21:49:50 2025
--sig 'run()' \
--rpc-url localhost:1234/rpc/v1 \
--private-key $PRIVATE_KEY \
--broadcast \
-g 100000
Warning: This is a nightly build of Foundry. It is recommended to use the latest stable version. Visit https://book.getfoundry.sh/announcements for more information.
To mute this warning set `FOUNDRY_DISABLE_NIGHTLY_WARNING` in your environment.
[⠑] Compiling...
No files changed, compilation skipped
Script ran successfully.
== Return ==
0: contract Recall 0xC2F64878EeBf70cb15DbCA177FA7B3CAc08d9531
== Logs ==
Implementation address: 0x067fd08940ba732C25c44423005D662BF95e6763
Deployer: 0x908FDD9eF6dB0B4f8c3a60640f2D6B3c2a7A4f3B
## Setting up 1 EVM.
==========================
Chain 31415926
Estimated gas price: 0.0001002 gwei
Estimated total gas used for script: 3306206000
Estimated amount required: 0.0003312818412 ETH
==========================
##### 31415926
✅ [Success] Hash: 0x98e0bfd5789e5ecb6072439b3d2346bdd2d4e4afbbbc98cfd12d47e067f67625
Contract Address: 0x067fd08940ba732C25c44423005D662BF95e6763
Block: 167
Paid: 0.000290392369290646 ETH (73129322 gas * 0.003970943 gwei)
##### 31415926
✅ [Success] Hash: 0x471b67369517fe4d279294e219486d2e00be281f2cb0930c63bbf22b5ed7a9d2
Contract Address: 0xC2F64878EeBf70cb15DbCA177FA7B3CAc08d9531
Block: 167
Paid: 0.00004055878958472 ETH (31875316 gas * 0.00127242 gwei)
✅ Sequence #1 on 31415926 | Total Paid: 0.000330951158875366 ETH (105004638 gas * avg 0.002621681 gwei)
==========================
ONCHAIN EXECUTION COMPLETE & SUCCESSFUL.
Transactions saved to: /Users/zenground0/pl/repos/contracts/broadcast/Recall.s.sol/31415926/run-latest.json
Sensitive values saved to: /Users/zenground0/pl/repos/contracts/cache/Recall.s.sol/31415926/run-latest.json
~/p/r/contracts    z lotus 36.8s  Wed Apr 2 21:50:49 2025
~/p/r/lotus   $…  cast call --rpc-url localhost:1234/rpc/v1 0xC2F64878EeBf70cb15DbCA177FA7B3CAc08d9531 "hasRole(bytes32,address)" $(cast keccak "MINTER_ROLE") 0x908FDD9eF6dB0B4f8c3a60640f2D6B3c2a7A4f3B
Warning: This is a nightly build of Foundry. It is recommended to use the latest stable version. Visit https://book.getfoundry.sh/announcements for more information.
To mute this warning set `FOUNDRY_DISABLE_NIGHTLY_WARNING` in your environment.
Warning: This is a nightly build of Foundry. It is recommended to use the latest stable version. Visit https://book.getfoundry.sh/announcements for more information.
To mute this warning set `FOUNDRY_DISABLE_NIGHTLY_WARNING` in your environment.
0x0000000000000000000000000000000000000000000000000000000000000001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment