Skip to content

Commit bebc805

Browse files
committed
updated for multiple deployments in one file
1 parent 10911c3 commit bebc805

File tree

2 files changed

+155
-0
lines changed

2 files changed

+155
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"transactions": [
3+
{
4+
"hash": "0x7935ff7649fe38df4d8310dada7ad137ba80d6045c2b646caabe735e1e5f1bd3",
5+
"transactionType": "CREATE",
6+
"contractName": "FunWithStorage",
7+
"contractAddress": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
8+
"function": null,
9+
"arguments": null,
10+
"rpc": "http://127.0.0.1:8545",
11+
"transaction": {
12+
"type": "0x02",
13+
"from": "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266",
14+
"gas": "0x3fd62",
15+
"value": "0x0",
16+
"data": "0x60a060405234801561001057600080fd5b50601960009081556001805460ff19908116821782556002805480840190915560de7f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace9091015591805260036020527f3617319a054d772f909f7c479a2cebe5066e836a939412e32403c99029b92eff8054909216179055607b60805260805160a26100a36000396000505060a26000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c8063874f33a114602d575b600080fd5b60336035565b005b6000805460429060016046565b5050565b80820180821115606657634e487b7160e01b600052601160045260246000fd5b9291505056fea2646970667358221220dc05b69ca32bbf0b23ab2378ded66dffc0db016b13b8a4c0054713df1408642564736f6c63430008130033",
17+
"nonce": "0x1",
18+
"accessList": []
19+
},
20+
"additionalContracts": [],
21+
"isFixedGasLimit": false
22+
}
23+
],
24+
"receipts": [
25+
{
26+
"transactionHash": "0x7935ff7649fe38df4d8310dada7ad137ba80d6045c2b646caabe735e1e5f1bd3",
27+
"transactionIndex": "0x0",
28+
"blockHash": "0x81396aac9de10fba3d978bad7bcc1a5d8bb78ef65c934e2201e4aa0934da4bae",
29+
"blockNumber": "0x2",
30+
"from": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
31+
"to": null,
32+
"cumulativeGasUsed": "0x311ae",
33+
"gasUsed": "0x311ae",
34+
"contractAddress": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
35+
"logs": [],
36+
"status": "0x1",
37+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
38+
"type": "0x2",
39+
"effectiveGasPrice": "0xe7116214"
40+
}
41+
],
42+
"libraries": [],
43+
"pending": [],
44+
"path": "/Users/patrick/code/foundry-full-course/foundry-fund-me-f23/broadcast/DeployStorageFun.s.sol/31337/run-latest.json",
45+
"returns": {
46+
"0": {
47+
"internal_type": "contract FunWithStorage",
48+
"value": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512"
49+
}
50+
},
51+
"timestamp": 1681332460,
52+
"chain": 31337,
53+
"multi": false,
54+
"commit": "8503ade"
55+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
{
2+
"transactions": [
3+
{
4+
"hash": "0xbd9eb9dc640c1b03b1244d5b64d3777092038b3faf7e07c23d5603e368d032c1",
5+
"transactionType": "CREATE",
6+
"contractName": "MockV3Aggregator",
7+
"contractAddress": "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0",
8+
"function": null,
9+
"arguments": [
10+
"8",
11+
"200000000000"
12+
],
13+
"rpc": "http://localhost:8545",
14+
"transaction": {
15+
"type": "0x02",
16+
"from": "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266",
17+
"gas": "0x9b0b0",
18+
"value": "0x0",
19+
"data": "0x608060405234801561001057600080fd5b5060405161068238038061068283398101604081905261002f91610138565b6000805460ff191660ff841617905561004781610072565b610050306100c8565b610059306100c8565b610062306100c8565b61006b306100c8565b5050610193565b6001819055426002556003805490600061008b8361016c565b9091555050600380546000908152600460209081526040808320949094558254825260058152838220429081905592548252600690529190912055565b6040516001600160a01b03821660248201526101149060440160408051601f198184030181529190526020810180516001600160e01b0390811663161765e160e11b1790915261011716565b50565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b6000806040838503121561014b57600080fd5b825160ff8116811461015c57600080fd5b6020939093015192949293505050565b60006001820161018c57634e487b7160e01b600052601160045260246000fd5b5060010190565b6104e0806101a26000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80638205bf6a116100715780638205bf6a146101a15780639a6fc8f5146101aa578063a87a20ce14610228578063b5ab58dc1461023b578063b633620c1461025b578063feaf968c1461027b57600080fd5b8063313ce567146100b95780634aa2011f146100dd57806350d25bcd1461013a57806354fd4d5014610151578063668a0f02146101595780637284e41614610162575b600080fd5b6000546100c69060ff1681565b60405160ff90911681526020015b60405180910390f35b6101386100eb3660046103c1565b69ffffffffffffffffffff90931660038181556001849055600283905560009182526004602090815260408084209590955581548352600581528483209390935554815260069091522055565b005b61014360015481565b6040519081526020016100d4565b610143600081565b61014360035481565b604080518082018252601f81527f76302e362f74657374732f4d6f636b563341676772656761746f722e736f6c00602082015290516100d491906103fa565b61014360025481565b6101f16101b8366004610448565b69ffffffffffffffffffff8116600090815260046020908152604080832054600683528184205460059093529220549293919290918490565b6040805169ffffffffffffffffffff968716815260208101959095528401929092526060830152909116608082015260a0016100d4565b61013861023636600461046a565b610283565b61014361024936600461046a565b60046020526000908152604090205481565b61014361026936600461046a565b60056020526000908152604090205481565b6101f16102d9565b6001819055426002556003805490600061029c83610483565b9091555050600380546000908152600460209081526040808320949094558254825260058152838220429081905592548252600690529190912055565b6000806000806000610306604051806040016040528060048152602001634849494960e01b81525061033b565b505060035460008181526004602090815260408083205460068352818420546005909352922054929691955093509091508490565b61037e8160405160240161034f91906103fa565b60408051601f198184030181529190526020810180516001600160e01b031663104c13eb60e21b179052610381565b50565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b803569ffffffffffffffffffff811681146103bc57600080fd5b919050565b600080600080608085870312156103d757600080fd5b6103e0856103a2565b966020860135965060408601359560600135945092505050565b600060208083528351808285015260005b818110156104275785810183015185820160400152820161040b565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561045a57600080fd5b610463826103a2565b9392505050565b60006020828403121561047c57600080fd5b5035919050565b6000600182016104a357634e487b7160e01b600052601160045260246000fd5b506001019056fea26469706673582212203e33d99f1ed351b1199279c8535bf039f9f86a383c28a1f8e8fadaa9b6bbfd2e64736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000002e90edd000",
20+
"nonce": "0x2",
21+
"accessList": []
22+
},
23+
"additionalContracts": [],
24+
"isFixedGasLimit": false
25+
},
26+
{
27+
"hash": "0xf130526ea64bc50716e543ac624f3a38cf288601a882f8500647ee1e0a61100e",
28+
"transactionType": "CREATE",
29+
"contractName": "FundMe",
30+
"contractAddress": "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
31+
"function": null,
32+
"arguments": [
33+
"0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0"
34+
],
35+
"rpc": "http://localhost:8545",
36+
"transaction": {
37+
"type": "0x02",
38+
"from": "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266",
39+
"gas": "0xcb0ff",
40+
"value": "0x0",
41+
"data": "0x60a060405234801561001057600080fd5b50604051610af1380380610af183398101604081905261002f91610058565b600280546001600160a01b0319166001600160a01b039290921691909117905533608052610088565b60006020828403121561006a57600080fd5b81516001600160a01b038116811461008157600080fd5b9392505050565b608051610a326100bf6000396000818161012c0152818161023d015281816102f40152818161045701526105690152610a326000f3fe6080604052600436106100865760003560e01c8063893d20e811610059578063893d20e81461011d5780639e87a5cd14610164578063b60d428814610182578063be2693f01461018a578063d7b4750c1461019f57600080fd5b80630343fb251461008b5780630d8e6e2c146100d45780633ccfd60b146100e95780636b69a59214610100575b600080fd5b34801561009757600080fd5b506100c16100a6366004610823565b6001600160a01b031660009081526001602052604090205490565b6040519081526020015b60405180910390f35b3480156100e057600080fd5b506100c16101bf565b3480156100f557600080fd5b506100fe610232565b005b34801561010c57600080fd5b506100c16802b5e3af16b188000081565b34801561012957600080fd5b507f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100cb565b34801561017057600080fd5b506002546001600160a01b031661014c565b6100fe610373565b34801561019657600080fd5b506100fe61044c565b3480156101ab57600080fd5b5061014c6101ba36600461084c565b6105e9565b6002546040805163054fd4d560e41b815290516000926001600160a01b0316916354fd4d509160048083019260209291908290030181865afa158015610209573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022d9190610865565b905090565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461027b5760405163579610db60e01b815260040160405180910390fd5b60005b6000548110156102d157600080828154811061029c5761029c61087e565b60009182526020808320909101546001600160a01b0316825260019052604081205550806102c9816108aa565b91505061027e565b50604080516000808252602082019283905290516102ef92906107a9565b5060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03164760405160006040518083038185875af1925050503d806000811461035d576040519150601f19603f3d011682016040523d82523d6000602084013e610362565b606091505b505090508061037057600080fd5b50565b6002546802b5e3af16b1880000906103959034906001600160a01b0316610618565b10156103e75760405162461bcd60e51b815260206004820152601b60248201527f596f75206e65656420746f207370656e64206d6f726520455448210000000000604482015260640160405180910390fd5b33600090815260016020526040812080543492906104069084906108c3565b9091555050600080546001810182559080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5630180546001600160a01b03191633179055565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104955760405163579610db60e01b815260040160405180910390fd5b60008054604080516020808402820181019092528281529183918301828280156104e857602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116104ca575b5050505050905060005b815181101561054657600082828151811061050f5761050f61087e565b6020908102919091018101516001600160a01b0316600090815260019091526040812055508061053e816108aa565b9150506104f2565b506040805160008082526020820192839052905161056492906107a9565b5060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03164760405160006040518083038185875af1925050503d80600081146105d2576040519150601f19603f3d011682016040523d82523d6000602084013e6105d7565b606091505b50509050806105e557600080fd5b5050565b60008082815481106105fd576105fd61087e565b6000918252602090912001546001600160a01b031692915050565b60008061062483610650565b90506000670de0b6b3a764000061063b86846108d6565b61064591906108ed565b925050505b92915050565b6000610676604051806040016040528060038152602001623bba3360e91b815250610701565b61067f82610744565b6000826001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa1580156106bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e3919061092e565b505050915050806402540be4006106fa919061097e565b9392505050565b6103708160405160240161071591906109ae565b60408051601f198184030181529190526020810180516001600160e01b031663104c13eb60e21b179052610788565b6040516001600160a01b03821660248201526103709060440160408051601f198184030181529190526020810180516001600160e01b031663161765e160e11b1790525b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b8280548282559060005260206000209081019282156107fe579160200282015b828111156107fe57825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906107c9565b5061080a92915061080e565b5090565b5b8082111561080a576000815560010161080f565b60006020828403121561083557600080fd5b81356001600160a01b03811681146106fa57600080fd5b60006020828403121561085e57600080fd5b5035919050565b60006020828403121561087757600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016108bc576108bc610894565b5060010190565b8082018082111561064a5761064a610894565b808202811582820484141761064a5761064a610894565b60008261090a57634e487b7160e01b600052601260045260246000fd5b500490565b805169ffffffffffffffffffff8116811461092957600080fd5b919050565b600080600080600060a0868803121561094657600080fd5b61094f8661090f565b94506020860151935060408601519250606086015191506109726080870161090f565b90509295509295909350565b80820260008212600160ff1b8414161561099a5761099a610894565b818105831482151761064a5761064a610894565b600060208083528351808285015260005b818110156109db578581018301518582016040015282016109bf565b506000604082860101526040601f19601f830116850101925050509291505056fea2646970667358221220c4b6e6cae17e5493072e436772b64df8b02c81e9870e770baf3bc6970bfb274864736f6c634300081300330000000000000000000000009fe46736679d2d9a65f0992f2272de9f3c7fa6e0",
42+
"nonce": "0x3",
43+
"accessList": []
44+
},
45+
"additionalContracts": [],
46+
"isFixedGasLimit": false
47+
}
48+
],
49+
"receipts": [
50+
{
51+
"transactionHash": "0xbd9eb9dc640c1b03b1244d5b64d3777092038b3faf7e07c23d5603e368d032c1",
52+
"transactionIndex": "0x0",
53+
"blockHash": "0xf4b1c8e9615221a2085a34d9274ce69aa221eb99bbceae8afe3cca39afa9601d",
54+
"blockNumber": "0x3",
55+
"from": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
56+
"to": null,
57+
"cumulativeGasUsed": "0x77439",
58+
"gasUsed": "0x77439",
59+
"contractAddress": "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0",
60+
"logs": [],
61+
"status": "0x1",
62+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
63+
"type": "0x2",
64+
"effectiveGasPrice": "0xe0f0bf1e"
65+
},
66+
{
67+
"transactionHash": "0xf130526ea64bc50716e543ac624f3a38cf288601a882f8500647ee1e0a61100e",
68+
"transactionIndex": "0x0",
69+
"blockHash": "0x451957e06c7c88c7854e48183eb7aeb7c9e871cd53e347d00a293ef646032dc7",
70+
"blockNumber": "0x4",
71+
"from": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
72+
"to": null,
73+
"cumulativeGasUsed": "0x9c33b",
74+
"gasUsed": "0x9c33b",
75+
"contractAddress": "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
76+
"logs": [],
77+
"status": "0x1",
78+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
79+
"type": "0x2",
80+
"effectiveGasPrice": "0xdb5cc502"
81+
}
82+
],
83+
"libraries": [],
84+
"pending": [],
85+
"path": "/Users/patrick/code/foundry-full-course/foundry-fund-me-f23/broadcast/DeployFundMe.s.sol/31337/run-latest.json",
86+
"returns": {
87+
"1": {
88+
"internal_type": "contract HelperConfig",
89+
"value": "0xC7f2Cf4845C6db0e1a1e91ED41Bcd0FcC1b0E141"
90+
},
91+
"0": {
92+
"internal_type": "contract FundMe",
93+
"value": "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9"
94+
}
95+
},
96+
"timestamp": 1681418410,
97+
"chain": 31337,
98+
"multi": false,
99+
"commit": "8503ade"
100+
}

0 commit comments

Comments
 (0)