Skip to content

Commit

Permalink
feat: deploy simple factory
Browse files Browse the repository at this point in the history
  • Loading branch information
dylandesrosier committed Dec 10, 2024
1 parent 22630d6 commit a27daa1
Show file tree
Hide file tree
Showing 17 changed files with 866 additions and 0 deletions.
53 changes: 53 additions & 0 deletions broadcast/DeploySimpleFactory.s.sol/10/run-1733855358.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"transactions": [
{
"hash": "0xc518289cf4c117a7ef9f549629ecfba64647b931c5f120fc9daeba5e7b3eacbc",
"transactionType": "CREATE2",
"contractName": "SimpleFactory",
"contractAddress": "0xe8ea1de8d6afe400b7c8c1a81b7c29b7876b4d02",
"function": null,
"arguments": null,
"transaction": {
"from": "0xb0403b32f54d0bd752113f4009e8b534c6669f44",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"gas": "0x4d172",
"value": "0x0",
"input": "0x3000000000000000000000000000000000000000000000000000000000000000608060405234801561001057600080fd5b506102ef806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063481286e61461003b5780634af63f021461006a575b600080fd5b61004e6100493660046101cc565b61007d565b6040516001600160a01b03909116815260200160405180910390f35b61004e610078366004610204565b610090565b60006100898284610115565b9392505050565b600061009e60008385610122565b9050806001600160a01b03163b6000036100db576040516301e3495560e61b81526001600160a01b03821660048201526024015b60405180910390fd5b6040516001600160a01b038216907ff40fcec21964ffb566044d083b4073f29f7f7929110ea19e1b3ebe375d89055e90600090a292915050565b60006100898383306101a2565b60008347101561014e5760405163392efb2b60e21b8152476004820152602481018590526044016100d2565b815160000361017057604051631328927760e21b815260040160405180910390fd5b8282516020840186f590506001600160a01b03811661008957604051633a0ba96160e11b815260040160405180910390fd5b6000604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b600080604083850312156101df57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561021757600080fd5b823567ffffffffffffffff8082111561022f57600080fd5b818501915085601f83011261024357600080fd5b813581811115610255576102556101ee565b604051601f8201601f19908116603f0116810190838211818310171561027d5761027d6101ee565b8160405282815288602084870101111561029657600080fd5b82602086016020830137600060209382018401529896909101359650505050505056fea2646970667358221220f59b6ebe1f3454773492d18c7f9a326b3d7a27fbdca2337856898f3be083841f64736f6c63430008170033",
"nonce": "0x24",
"chainId": "0xa"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x76364e",
"logs": [],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0xc518289cf4c117a7ef9f549629ecfba64647b931c5f120fc9daeba5e7b3eacbc",
"transactionIndex": "0x19",
"blockHash": "0x434c67aff45d1f5820ee34c299cd7990fdf6b2abba1841c16b7c5601212282cc",
"blockNumber": "0x7b2575f",
"gasUsed": "0x34b94",
"effectiveGasPrice": "0x19013",
"from": "0xb0403b32f54d0bd752113f4009e8b534c6669f44",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"contractAddress": null,
"l1BaseFeeScalar": "0x146b",
"l1BlobBaseFee": "0x1bc57bb5f",
"l1BlobBaseFeeScalar": "0xf79c5",
"l1Fee": "0x5e50a580ed7",
"l1GasPrice": "0x837222c99",
"l1GasUsed": "0x2689"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1733855358,
"chain": 10,
"commit": "22630d6"
}
53 changes: 53 additions & 0 deletions broadcast/DeploySimpleFactory.s.sol/10/run-latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"transactions": [
{
"hash": "0xc518289cf4c117a7ef9f549629ecfba64647b931c5f120fc9daeba5e7b3eacbc",
"transactionType": "CREATE2",
"contractName": "SimpleFactory",
"contractAddress": "0xe8ea1de8d6afe400b7c8c1a81b7c29b7876b4d02",
"function": null,
"arguments": null,
"transaction": {
"from": "0xb0403b32f54d0bd752113f4009e8b534c6669f44",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"gas": "0x4d172",
"value": "0x0",
"input": "0x3000000000000000000000000000000000000000000000000000000000000000608060405234801561001057600080fd5b506102ef806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063481286e61461003b5780634af63f021461006a575b600080fd5b61004e6100493660046101cc565b61007d565b6040516001600160a01b03909116815260200160405180910390f35b61004e610078366004610204565b610090565b60006100898284610115565b9392505050565b600061009e60008385610122565b9050806001600160a01b03163b6000036100db576040516301e3495560e61b81526001600160a01b03821660048201526024015b60405180910390fd5b6040516001600160a01b038216907ff40fcec21964ffb566044d083b4073f29f7f7929110ea19e1b3ebe375d89055e90600090a292915050565b60006100898383306101a2565b60008347101561014e5760405163392efb2b60e21b8152476004820152602481018590526044016100d2565b815160000361017057604051631328927760e21b815260040160405180910390fd5b8282516020840186f590506001600160a01b03811661008957604051633a0ba96160e11b815260040160405180910390fd5b6000604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b600080604083850312156101df57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561021757600080fd5b823567ffffffffffffffff8082111561022f57600080fd5b818501915085601f83011261024357600080fd5b813581811115610255576102556101ee565b604051601f8201601f19908116603f0116810190838211818310171561027d5761027d6101ee565b8160405282815288602084870101111561029657600080fd5b82602086016020830137600060209382018401529896909101359650505050505056fea2646970667358221220f59b6ebe1f3454773492d18c7f9a326b3d7a27fbdca2337856898f3be083841f64736f6c63430008170033",
"nonce": "0x24",
"chainId": "0xa"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x76364e",
"logs": [],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0xc518289cf4c117a7ef9f549629ecfba64647b931c5f120fc9daeba5e7b3eacbc",
"transactionIndex": "0x19",
"blockHash": "0x434c67aff45d1f5820ee34c299cd7990fdf6b2abba1841c16b7c5601212282cc",
"blockNumber": "0x7b2575f",
"gasUsed": "0x34b94",
"effectiveGasPrice": "0x19013",
"from": "0xb0403b32f54d0bd752113f4009e8b534c6669f44",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"contractAddress": null,
"l1BaseFeeScalar": "0x146b",
"l1BlobBaseFee": "0x1bc57bb5f",
"l1BlobBaseFeeScalar": "0xf79c5",
"l1Fee": "0x5e50a580ed7",
"l1GasPrice": "0x837222c99",
"l1GasUsed": "0x2689"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1733855358,
"chain": 10,
"commit": "22630d6"
}
47 changes: 47 additions & 0 deletions broadcast/DeploySimpleFactory.s.sol/11155111/run-1733855261.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"transactions": [
{
"hash": "0x4aaa86ad6a5fe99634569760b47ff0ee39f358171e9a390a6a620449cafa5d7c",
"transactionType": "CREATE2",
"contractName": "SimpleFactory",
"contractAddress": "0xe8ea1de8d6afe400b7c8c1a81b7c29b7876b4d02",
"function": null,
"arguments": null,
"transaction": {
"from": "0xb0403b32f54d0bd752113f4009e8b534c6669f44",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"gas": "0x4d172",
"value": "0x0",
"input": "0x3000000000000000000000000000000000000000000000000000000000000000608060405234801561001057600080fd5b506102ef806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063481286e61461003b5780634af63f021461006a575b600080fd5b61004e6100493660046101cc565b61007d565b6040516001600160a01b03909116815260200160405180910390f35b61004e610078366004610204565b610090565b60006100898284610115565b9392505050565b600061009e60008385610122565b9050806001600160a01b03163b6000036100db576040516301e3495560e61b81526001600160a01b03821660048201526024015b60405180910390fd5b6040516001600160a01b038216907ff40fcec21964ffb566044d083b4073f29f7f7929110ea19e1b3ebe375d89055e90600090a292915050565b60006100898383306101a2565b60008347101561014e5760405163392efb2b60e21b8152476004820152602481018590526044016100d2565b815160000361017057604051631328927760e21b815260040160405180910390fd5b8282516020840186f590506001600160a01b03811661008957604051633a0ba96160e11b815260040160405180910390fd5b6000604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b600080604083850312156101df57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561021757600080fd5b823567ffffffffffffffff8082111561022f57600080fd5b818501915085601f83011261024357600080fd5b813581811115610255576102556101ee565b604051601f8201601f19908116603f0116810190838211818310171561027d5761027d6101ee565b8160405282815288602084870101111561029657600080fd5b82602086016020830137600060209382018401529896909101359650505050505056fea2646970667358221220f59b6ebe1f3454773492d18c7f9a326b3d7a27fbdca2337856898f3be083841f64736f6c63430008170033",
"nonce": "0x3d",
"chainId": "0xaa36a7"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0xdaf42a",
"logs": [],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0x4aaa86ad6a5fe99634569760b47ff0ee39f358171e9a390a6a620449cafa5d7c",
"transactionIndex": "0x84",
"blockHash": "0xdc1a6f2696001a8b1335ee1e08dcc963b93a8ee78d4f91e3299b4e0e5ede958e",
"blockNumber": "0x6ea7e0",
"gasUsed": "0x34b94",
"effectiveGasPrice": "0x24978a66f",
"from": "0xb0403b32f54d0bd752113f4009e8b534c6669f44",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"contractAddress": null
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1733855261,
"chain": 11155111,
"commit": "22630d6"
}
47 changes: 47 additions & 0 deletions broadcast/DeploySimpleFactory.s.sol/11155111/run-latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"transactions": [
{
"hash": "0x4aaa86ad6a5fe99634569760b47ff0ee39f358171e9a390a6a620449cafa5d7c",
"transactionType": "CREATE2",
"contractName": "SimpleFactory",
"contractAddress": "0xe8ea1de8d6afe400b7c8c1a81b7c29b7876b4d02",
"function": null,
"arguments": null,
"transaction": {
"from": "0xb0403b32f54d0bd752113f4009e8b534c6669f44",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"gas": "0x4d172",
"value": "0x0",
"input": "0x3000000000000000000000000000000000000000000000000000000000000000608060405234801561001057600080fd5b506102ef806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063481286e61461003b5780634af63f021461006a575b600080fd5b61004e6100493660046101cc565b61007d565b6040516001600160a01b03909116815260200160405180910390f35b61004e610078366004610204565b610090565b60006100898284610115565b9392505050565b600061009e60008385610122565b9050806001600160a01b03163b6000036100db576040516301e3495560e61b81526001600160a01b03821660048201526024015b60405180910390fd5b6040516001600160a01b038216907ff40fcec21964ffb566044d083b4073f29f7f7929110ea19e1b3ebe375d89055e90600090a292915050565b60006100898383306101a2565b60008347101561014e5760405163392efb2b60e21b8152476004820152602481018590526044016100d2565b815160000361017057604051631328927760e21b815260040160405180910390fd5b8282516020840186f590506001600160a01b03811661008957604051633a0ba96160e11b815260040160405180910390fd5b6000604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b600080604083850312156101df57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561021757600080fd5b823567ffffffffffffffff8082111561022f57600080fd5b818501915085601f83011261024357600080fd5b813581811115610255576102556101ee565b604051601f8201601f19908116603f0116810190838211818310171561027d5761027d6101ee565b8160405282815288602084870101111561029657600080fd5b82602086016020830137600060209382018401529896909101359650505050505056fea2646970667358221220f59b6ebe1f3454773492d18c7f9a326b3d7a27fbdca2337856898f3be083841f64736f6c63430008170033",
"nonce": "0x3d",
"chainId": "0xaa36a7"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0xdaf42a",
"logs": [],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0x4aaa86ad6a5fe99634569760b47ff0ee39f358171e9a390a6a620449cafa5d7c",
"transactionIndex": "0x84",
"blockHash": "0xdc1a6f2696001a8b1335ee1e08dcc963b93a8ee78d4f91e3299b4e0e5ede958e",
"blockNumber": "0x6ea7e0",
"gasUsed": "0x34b94",
"effectiveGasPrice": "0x24978a66f",
"from": "0xb0403b32f54d0bd752113f4009e8b534c6669f44",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"contractAddress": null
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1733855261,
"chain": 11155111,
"commit": "22630d6"
}
64 changes: 64 additions & 0 deletions broadcast/DeploySimpleFactory.s.sol/137/run-1733855302.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"transactions": [
{
"hash": "0xd1d3c6f5c1e54b47d57d59ea36ecf4c0fbb7ddf1fa1891272a278942fda3c373",
"transactionType": "CREATE2",
"contractName": "SimpleFactory",
"contractAddress": "0xe8ea1de8d6afe400b7c8c1a81b7c29b7876b4d02",
"function": null,
"arguments": null,
"transaction": {
"from": "0xb0403b32f54d0bd752113f4009e8b534c6669f44",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"gas": "0x4d172",
"value": "0x0",
"input": "0x3000000000000000000000000000000000000000000000000000000000000000608060405234801561001057600080fd5b506102ef806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063481286e61461003b5780634af63f021461006a575b600080fd5b61004e6100493660046101cc565b61007d565b6040516001600160a01b03909116815260200160405180910390f35b61004e610078366004610204565b610090565b60006100898284610115565b9392505050565b600061009e60008385610122565b9050806001600160a01b03163b6000036100db576040516301e3495560e61b81526001600160a01b03821660048201526024015b60405180910390fd5b6040516001600160a01b038216907ff40fcec21964ffb566044d083b4073f29f7f7929110ea19e1b3ebe375d89055e90600090a292915050565b60006100898383306101a2565b60008347101561014e5760405163392efb2b60e21b8152476004820152602481018590526044016100d2565b815160000361017057604051631328927760e21b815260040160405180910390fd5b8282516020840186f590506001600160a01b03811661008957604051633a0ba96160e11b815260040160405180910390fd5b6000604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b600080604083850312156101df57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561021757600080fd5b823567ffffffffffffffff8082111561022f57600080fd5b818501915085601f83011261024357600080fd5b813581811115610255576102556101ee565b604051601f8201601f19908116603f0116810190838211818310171561027d5761027d6101ee565b8160405282815288602084870101111561029657600080fd5b82602086016020830137600060209382018401529896909101359650505050505056fea2646970667358221220f59b6ebe1f3454773492d18c7f9a326b3d7a27fbdca2337856898f3be083841f64736f6c63430008170033",
"nonce": "0x24",
"chainId": "0x89"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x783ad1",
"logs": [
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x000000000000000000000000b0403b32f54d0bd752113f4009e8b534c6669f44",
"0x00000000000000000000000083d69448f88bf9c701c1b93f43e1f753d39b2632"
],
"data": "0x00000000000000000000000000000000000000000000000000191fdc45203fd4000000000000000000000000000000000000000000000000e4d9180e76092b22000000000000000000000000000000000000000000000cb54c4f23c6390a9405000000000000000000000000000000000000000000000000e4bff83230e8eb4e000000000000000000000000000000000000000000000cb54c6843a27e2ad3d9",
"blockHash": "0x6b65360314d5a4b34876f3ca7b05b2557d568226260d820284240e625d77a578",
"blockNumber": "0x3e4ba2b",
"transactionHash": "0xd1d3c6f5c1e54b47d57d59ea36ecf4c0fbb7ddf1fa1891272a278942fda3c373",
"transactionIndex": "0x29",
"logIndex": "0x1d6",
"removed": false
}
],
"logsBloom": "0x00040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000040000000000000000000000008000000000000000800000000000001000000100000000000000000000000000000000000000000000000000000800100080000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000004000000000000000000001000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000100000",
"type": "0x2",
"transactionHash": "0xd1d3c6f5c1e54b47d57d59ea36ecf4c0fbb7ddf1fa1891272a278942fda3c373",
"transactionIndex": "0x29",
"blockHash": "0x6b65360314d5a4b34876f3ca7b05b2557d568226260d820284240e625d77a578",
"blockNumber": "0x3e4ba2b",
"gasUsed": "0x34b94",
"effectiveGasPrice": "0xb435796b5",
"from": "0xb0403b32f54d0bd752113f4009e8b534c6669f44",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"contractAddress": null
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1733855302,
"chain": 137,
"commit": "22630d6"
}
Loading

0 comments on commit a27daa1

Please sign in to comment.