Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions RUNS_1_deployment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
forge script script/1_DeployQuestFactory.s.sol --chain sepolia --rpc-url x --etherscan-api-key x --verify --broadcast

[⠊] Compiling...
No files changed, compilation skipped
Script ran successfully.

== Return ==
0: address 0x7db2542D15AC68C9958E8d73f32641Ed9714Fd6f

== Logs ==
QuestFactory deployed to: 0x7db2542D15AC68C9958E8d73f32641Ed9714Fd6f

## Setting up 1 EVM.

==========================

Chain 11155111

Estimated gas price: 19.637747512 gwei

Estimated total gas used for script: 1885305

Estimated amount required: 0.03702314357311116 ETH

==========================

##### sepolia
✅ [Success] Hash: 0x4a3feb0dc27479b8d4e23f229f63175415a97323e3c074adf339f686be645de4
Contract Address: 0x7db2542D15AC68C9958E8d73f32641Ed9714Fd6f
Block: 7671360
Paid: 0.014693441869493135 ETH (1450235 gas * 10.131766141 gwei)

✅ Sequence #1 on sepolia | Total Paid: 0.014693441869493135 ETH (1450235 gas * avg 10.131766141 gwei)


==========================

ONCHAIN EXECUTION COMPLETE & SUCCESSFUL.
##
Start verification for (1) contracts
Start verifying contract `0x7db2542D15AC68C9958E8d73f32641Ed9714Fd6f` deployed on sepolia
Compiler version: 0.8.28
Optimizations: 200

Submitting verification for [src/QuestFactory.sol:QuestFactory] 0x7db2542D15AC68C9958E8d73f32641Ed9714Fd6f.
Warning: Etherscan could not detect the deployment.; waiting 5 seconds before trying again (4 tries remaining)
D
Submitting verification for [src/QuestFactory.sol:QuestFactory] 0x7db2542D15AC68C9958E8d73f32641Ed9714Fd6f.
Warning: Etherscan could not detect the deployment.; waiting 5 seconds before trying again (3 tries remaining)

Submitting verification for [src/QuestFactory.sol:QuestFactory] 0x7db2542D15AC68C9958E8d73f32641Ed9714Fd6f.
Warning: Etherscan could not detect the deployment.; waiting 5 seconds before trying again (2 tries remaining)

Submitting verification for [src/QuestFactory.sol:QuestFactory] 0x7db2542D15AC68C9958E8d73f32641Ed9714Fd6f.
Warning: Etherscan could not detect the deployment.; waiting 5 seconds before trying again (1 tries remaining)

Submitting verification for [src/QuestFactory.sol:QuestFactory] 0x7db2542D15AC68C9958E8d73f32641Ed9714Fd6f.
Submitted contract for verification:
Response: `OK`
GUID: `htrlj4vzbfruwbx35f4xw2f5s68eb29pvnac8kccxvutfiuqma`
URL: https://sepolia.etherscan.io/address/0x7db2542d15ac68c9958e8d73f32641ed9714fd6f
Contract verification status:
Response: `NOTOK`
Details: `Pending in queue`
Warning: Verification is still pending...; waiting 15 seconds before trying again (7 tries remaining)
Contract verification status:
Response: `OK`
Details: `Pass - Verified`
Contract successfully verified
All (1) contracts were verified!

Transactions saved to: /home/amsel/etherguild-contracts/broadcast/1_DeployQuestFactory.s.sol/11155111/run-latest.json

Sensitive values saved to: /home/amsel/etherguild-contracts/cache/1_DeployQuestFactory.s.sol/11155111/run-latest.json
61 changes: 61 additions & 0 deletions RUNS_2_setup_factory.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
export FACTORY_ADDRESS="0x0"

forge script script/2_SetupQuestFactory.s.sol --chain sepolia --rpc-url x --etherscan-api-key x --broadcast --verify
[⠊] Compiling...
No files changed, compilation skipped
Script ran successfully.

== Logs ==
ETH address(0) and USDC set as allowed tokens
Price oracles set for ETH and USDC

## Setting up 1 EVM.

==========================

Chain 11155111

Estimated gas price: 17.74240113 gwei

Estimated total gas used for script: 341975

Estimated amount required: 0.00606745762643175 ETH

==========================

##### sepolia
✅ [Success] Hash: 0xd114458196fe6b069f87fa6d4dcf641736aea61e2d024be0ae4f53f504ee5db2
Block: 7671411
Paid: 0.000436615685746735 ETH (50359 gas * 8.670062665 gwei)


##### sepolia
✅ [Success] Hash: 0xd114d046505cec617634cc62f8e3d9f1a42c6d400c78d553e6a59c2fbc641538
Block: 7671411
Paid: 0.0006613523800862 ETH (76280 gas * 8.670062665 gwei)


##### sepolia
✅ [Success] Hash: 0x6b314a5c8995fb41012879b6cb8be9a7ceb1d594ddc300fe6df1d54e0db9cdae
Block: 7671411
Paid: 0.000614091868499285 ETH (70829 gas * 8.670062665 gwei)


##### sepolia
✅ [Success] Hash: 0x7ee32be31ea2581e0010ed060da99264196a21c75f47d078a5bfe9b78e358e5f
Block: 7671411
Paid: 0.000434534870707135 ETH (50119 gas * 8.670062665 gwei)

✅ Sequence #1 on sepolia | Total Paid: 0.002146594805039355 ETH (247587 gas * avg 8.670062665 gwei)


==========================

ONCHAIN EXECUTION COMPLETE & SUCCESSFUL.
##
Start verification for (0) contracts
All (0) contracts were verified!

Transactions saved to: /home/amsel/etherguild-contracts/broadcast/2_SetupQuestFactory.s.sol/11155111/run-latest.json

Sensitive values saved to: /home/amsel/etherguild-contracts/cache/2_SetupQuestFactory.s.sol/11155111/run-latest.json
72 changes: 72 additions & 0 deletions RUNS_3_create_quest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
export FACTORY_ADDRESS="0x0"

forge script script/3_CreateQuestDonation.s.sol --chain sepolia --rpc-url x --etherscan-api-key x --broadcast --verify
[⠊] Compiling...
No files changed, compilation skipped
Script ran successfully.

== Return ==
questDonationAddress: address 0xFd843f5158401a48a7689BbAe1976689c6582cdf

== Logs ==
QuestDonation deployed to: 0xFd843f5158401a48a7689BbAe1976689c6582cdf

## Setting up 1 EVM.

==========================

Chain 11155111

Estimated gas price: 17.488031658 gwei

Estimated total gas used for script: 1210820

Estimated amount required: 0.02117485849213956 ETH

==========================

##### sepolia
✅ [Success] Hash: 0x105e076c0874f525868697cdb88b71abefad1f63f7b81289f259c55f74234335
Block: 7671437
Paid: 0.008521738795657032 ETH (876612 gas * 9.721220786 gwei)

✅ Sequence #1 on sepolia | Total Paid: 0.008521738795657032 ETH (876612 gas * avg 9.721220786 gwei)


==========================

ONCHAIN EXECUTION COMPLETE & SUCCESSFUL.
##
Start verification for (1) contracts
Start verifying contract `0xFd843f5158401a48a7689BbAe1976689c6582cdf` deployed on sepolia
Compiler version: 0.8.28
Optimizations: 200
Constructor args: 0000000000000000000000006a439b14f527d8731794b982d785b72f5d245c6f0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000006a439b14f527d8731794b982d785b72f5d245c6f0000000000000000000000007db2542d15ac68c9958e8d73f32641ed9714fd6f

Submitting verification for [src/QuestDonation.sol:QuestDonation] 0xFd843f5158401a48a7689BbAe1976689c6582cdf.
Warning: Etherscan could not detect the deployment.; waiting 5 seconds before trying again (4 tries remaining)

Submitting verification for [src/QuestDonation.sol:QuestDonation] 0xFd843f5158401a48a7689BbAe1976689c6582cdf.
Warning: Etherscan could not detect the deployment.; waiting 5 seconds before trying again (3 tries remaining)

Submitting verification for [src/QuestDonation.sol:QuestDonation] 0xFd843f5158401a48a7689BbAe1976689c6582cdf.
Warning: Etherscan could not detect the deployment.; waiting 5 seconds before trying again (2 tries remaining)

Submitting verification for [src/QuestDonation.sol:QuestDonation] 0xFd843f5158401a48a7689BbAe1976689c6582cdf.
Submitted contract for verification:
Response: `OK`
GUID: `kkhvfmpkgcskw1ayggsskttl42uznvvgiyl9dmplgxgytx6ij5`
URL: https://sepolia.etherscan.io/address/0xfd843f5158401a48a7689bbae1976689c6582cdf
Contract verification status:
Response: `NOTOK`
Details: `Pending in queue`
Warning: Verification is still pending...; waiting 15 seconds before trying again (7 tries remaining)
Contract verification status:
Response: `OK`
Details: `Pass - Verified`
Contract successfully verified
All (1) contracts were verified!

Transactions saved to: /home/amsel/etherguild-contracts/broadcast/3_CreateQuestDonation.s.sol/11155111/run-latest.json

Sensitive values saved to: /home/amsel/etherguild-contracts/cache/3_CreateQuestDonation.s.sol/11155111/run-latest.json
8 changes: 8 additions & 0 deletions RUNS_4_quest_interaction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export DONATION_ADDRESS="0x0"

forge script script/4_InteractionQuest.s.sol --chain sepolia --rpc-url x --etherscan-api-key x
[⠊] Compiling...
No files changed, compilation skipped
Traces:
[635973] → new InteractionQuestScript@0x9f7cF1d1F558E57ef88a59ac3D47214eF25B6A06
└─ ← [Return] 3066 bytes of code
Loading