Skip to content

Commit

Permalink
Merge pull request #25 from Cookie-Jar-DAO/feat/deploys-add-base
Browse files Browse the repository at this point in the history
add deploy
  • Loading branch information
bitbeckers authored Jul 3, 2024
2 parents e7bdebc + f051173 commit 5170408
Show file tree
Hide file tree
Showing 41 changed files with 34,682 additions and 122 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ cache/
out/

# Ignores development broadcast logs
/broadcast
!/broadcast
/broadcast/*/31337/
/broadcast/**/dry-run/
/broadcast/*/*/dry-run

# Docs
docs/

# Dotenv file
.env

.idea/
.idea/
193 changes: 127 additions & 66 deletions README.md

Large diffs are not rendered by default.

143 changes: 143 additions & 0 deletions broadcast/DeployCookieJarFactory.s.sol/10/run-1720007978.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
{
"transactions": [
{
"hash": "0xeec401c711f0bebbfa4edc8591a6bf93b9476d17ffac8cdbfd78c839afe3fde2",
"transactionType": "CREATE2",
"contractName": "CookieJarFactory",
"contractAddress": "0x4c941cafac0b6d67a6c4ee5399927aa889aab780",
"function": null,
"arguments": [
"0xdf2C3dacE6F31e650FD03B8Ff72beE82Cb1C199A"
],
"transaction": {
"from": "0xdf2c3dace6f31e650fd03b8ff72bee82cb1c199a",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"gas": "0xe4a03",
"value": "0x0",
"input": "0xe8245ed8f93ccf147bc8972ab6d5f8278ed994d647700daaa5b7ebde9370aa6f608060405234801561001057600080fd5b50604051610c6f380380610c6f83398101604081905261002f91610171565b61003833610047565b61004181610097565b506101a1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61009f610115565b6001600160a01b0381166101095760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61011281610047565b50565b6000546001600160a01b0316331461016f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610100565b565b60006020828403121561018357600080fd5b81516001600160a01b038116811461019a57600080fd5b9392505050565b610abf806101b06000396000f3fe6080604052600436106100655760003560e01c80638da5cb5b116100435780638da5cb5b146100e5578063f2fde38b14610110578063fbddd7511461013057600080fd5b80630c34dd1f1461006a5780631fb2f712146100a6578063715018a6146100ce575b600080fd5b61007d6100783660046108aa565b610150565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100b257600080fd5b5061007d731ce42ba793ba1e9bf36c8b3f0addee6c89d9a9fc81565b3480156100da57600080fd5b506100e3610573565b005b3480156100f157600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff1661007d565b34801561011c57600080fd5b506100e361012b36600461096e565b610587565b34801561013c57600080fd5b506100e361014b36600461096e565b61063e565b60008083118015610176575073ffffffffffffffffffffffffffffffffffffffff841615155b15610361576040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152731ce42ba793ba1e9bf36c8b3f0addee6c89d9a9fc60248201526044810184905273ffffffffffffffffffffffffffffffffffffffff8516906323b872dd906064016020604051808303816000875af1158015610208573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022c9190610992565b15610285576040805173ffffffffffffffffffffffffffffffffffffffff86168152602081018590527f264f630d9efa0d07053a31163641d9fcc0adafc9d9e76f1c37c2ce3a558d2c52910160405180910390a1610311565b6040517e1a93a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f436f6f6b69654a6172466163746f72793a20646f6e6174696f6e206661696c6560448201527f640000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff86168152602081018590527f264f630d9efa0d07053a31163641d9fcc0adafc9d9e76f1c37c2ce3a558d2c52910160405180910390a15b341561048d57604051600090731ce42ba793ba1e9bf36c8b3f0addee6c89d9a9fc9034908381818185875af1925050503d80600081146103bd576040519150601f19603f3d011682016040523d82523d6000602084013e6103c2565b606091505b5050905080610452576040517e1a93a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f436f6f6b69654a6172466163746f72793a20646f6e6174696f6e206661696c6560448201527f64000000000000000000000000000000000000000000000000000000000000006064820152608401610308565b60408051600081523460208201527f264f630d9efa0d07053a31163641d9fcc0adafc9d9e76f1c37c2ce3a558d2c52910160405180910390a1505b6001546040517ff1ab873c00000000000000000000000000000000000000000000000000000000815260009173ffffffffffffffffffffffffffffffffffffffff169063f1ab873c906104e8908b908b908890600401610a18565b6020604051808303816000875af1158015610507573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052b9190610a57565b90507f69da2091670579111d591c3d0e8a31fe0d7d58027d365fda4a5dece222223bc181888860405161056093929190610a74565b60405180910390a1979650505050505050565b61057b6106bf565b6105856000610740565b565b61058f6106bf565b73ffffffffffffffffffffffffffffffffffffffff8116610632576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610308565b61063b81610740565b50565b6106466106bf565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f5743612d326e4dd2dc908ca499e04c4f9665bb1c8591fb255605b302ab22dba49060200160405180910390a150565b60005473ffffffffffffffffffffffffffffffffffffffff163314610585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610308565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff8116811461063b57600080fd5b80356107e2816107b5565b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115610831576108316107e7565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715610877576108776107e7565b8160405280935085815286868601111561089057600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c087890312156108c357600080fd5b86356108ce816107b5565b9550602087013567ffffffffffffffff808211156108eb57600080fd5b818901915089601f8301126108ff57600080fd5b61090e8a833560208501610816565b9650604089013591508082111561092457600080fd5b508701601f8101891361093657600080fd5b61094589823560208401610816565b945050610954606088016107d7565b92506080870135915060a087013590509295509295509295565b60006020828403121561098057600080fd5b813561098b816107b5565b9392505050565b6000602082840312156109a457600080fd5b8151801515811461098b57600080fd5b6000815180845260005b818110156109da576020818501810151868301820152016109be565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b73ffffffffffffffffffffffffffffffffffffffff84168152606060208201526000610a4760608301856109b4565b9050826040830152949350505050565b600060208284031215610a6957600080fd5b815161098b816107b5565b73ffffffffffffffffffffffffffffffffffffffff84168152606060208201526000610aa360608301856109b4565b8281036040840152610ab581856109b4565b969550505050505056000000000000000000000000df2c3dace6f31e650fd03b8ff72bee82cb1c199a",
"nonce": "0x8",
"chainId": "0xa"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": "0xa466a89cf9a281f9c149f44279b7312300f1eaadb02dbedc7d9fdcdc2c977294",
"transactionType": "CALL",
"contractName": "CookieJarFactory",
"contractAddress": "0x4c941cafac0b6d67a6c4ee5399927aa889aab780",
"function": "setProxyFactory(address)",
"arguments": [
"0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC"
],
"transaction": {
"from": "0xdf2c3dace6f31e650fd03b8ff72bee82cb1c199a",
"to": "0x4c941cafac0b6d67a6c4ee5399927aa889aab780",
"gas": "0x10d1d",
"value": "0x0",
"input": "0xfbddd751000000000000000000000000c22834581ebc8527d974f8a1c97e1bea4ef910bc",
"nonce": "0x9",
"chainId": "0xa"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x367e59",
"logs": [
{
"address": "0x4c941cafac0b6d67a6c4ee5399927aa889aab780",
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000004e59b44847b379578588920ca78fbf26c0b4956c"
],
"data": "0x",
"blockHash": "0x702b6559baa3dc5c199a4f1d3bcfc92746a7b30b75fc8ad8d40aece841919f83",
"blockNumber": "0x748b1ad",
"transactionHash": "0xeec401c711f0bebbfa4edc8591a6bf93b9476d17ffac8cdbfd78c839afe3fde2",
"transactionIndex": "0x8",
"logIndex": "0x4c",
"removed": false
},
{
"address": "0x4c941cafac0b6d67a6c4ee5399927aa889aab780",
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
"0x0000000000000000000000004e59b44847b379578588920ca78fbf26c0b4956c",
"0x000000000000000000000000df2c3dace6f31e650fd03b8ff72bee82cb1c199a"
],
"data": "0x",
"blockHash": "0x702b6559baa3dc5c199a4f1d3bcfc92746a7b30b75fc8ad8d40aece841919f83",
"blockNumber": "0x748b1ad",
"transactionHash": "0xeec401c711f0bebbfa4edc8591a6bf93b9476d17ffac8cdbfd78c839afe3fde2",
"transactionIndex": "0x8",
"logIndex": "0x4d",
"removed": false
}
],
"logsBloom": "0x00000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000001000000000000010000000000000000000000020000000000000000000800000000080000000200000000000000400000000000000000000000000000000000000000001000000000000000000000000000000001000000000000000000000000000000000000080000000000000000001000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000080000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0xeec401c711f0bebbfa4edc8591a6bf93b9476d17ffac8cdbfd78c839afe3fde2",
"transactionIndex": "0x8",
"blockHash": "0x702b6559baa3dc5c199a4f1d3bcfc92746a7b30b75fc8ad8d40aece841919f83",
"blockNumber": "0x748b1ad",
"gasUsed": "0xa5920",
"effectiveGasPrice": "0x3a23132",
"from": "0xdf2c3dace6f31e650fd03b8ff72bee82cb1c199a",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"contractAddress": "0x4c941cafac0b6d67a6c4ee5399927aa889aab780",
"l1BaseFeeScalar": "0x558",
"l1BlobBaseFee": "0x8",
"l1BlobBaseFeeScalar": "0xc5fc5",
"l1Fee": "0x4a2efddea1",
"l1GasPrice": "0x11d08bdba",
"l1GasUsed": "0xbe40"
},
{
"status": "0x1",
"cumulativeGasUsed": "0x37365c",
"logs": [
{
"address": "0x4c941cafac0b6d67a6c4ee5399927aa889aab780",
"topics": [
"0x5743612d326e4dd2dc908ca499e04c4f9665bb1c8591fb255605b302ab22dba4"
],
"data": "0x000000000000000000000000c22834581ebc8527d974f8a1c97e1bea4ef910bc",
"blockHash": "0x702b6559baa3dc5c199a4f1d3bcfc92746a7b30b75fc8ad8d40aece841919f83",
"blockNumber": "0x748b1ad",
"transactionHash": "0xa466a89cf9a281f9c149f44279b7312300f1eaadb02dbedc7d9fdcdc2c977294",
"transactionIndex": "0x9",
"logIndex": "0x4e",
"removed": false
}
],
"logsBloom": "0x00000000000000000000000000000000000000400000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0xa466a89cf9a281f9c149f44279b7312300f1eaadb02dbedc7d9fdcdc2c977294",
"transactionIndex": "0x9",
"blockHash": "0x702b6559baa3dc5c199a4f1d3bcfc92746a7b30b75fc8ad8d40aece841919f83",
"blockNumber": "0x748b1ad",
"gasUsed": "0xb803",
"effectiveGasPrice": "0x3a23132",
"from": "0xdf2c3dace6f31e650fd03b8ff72bee82cb1c199a",
"to": "0x4c941cafac0b6d67a6c4ee5399927aa889aab780",
"contractAddress": null,
"l1BaseFeeScalar": "0x558",
"l1BlobBaseFee": "0x8",
"l1BlobBaseFeeScalar": "0xc5fc5",
"l1Fee": "0x3507b06eb",
"l1GasPrice": "0x11d08bdba",
"l1GasUsed": "0x880"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1720007978,
"chain": 10,
"commit": "e78b308"
}
Loading

0 comments on commit 5170408

Please sign in to comment.