Skip to content

Commit

Permalink
feat: Base Sepolia (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathandiep authored Jun 26, 2024
1 parent 5569a66 commit c306d21
Show file tree
Hide file tree
Showing 6 changed files with 1,012 additions and 1 deletion.
69 changes: 69 additions & 0 deletions broadcast/ProxyAdmin.s.sol/84532/run-1719264236.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"transactions": [
{
"hash": "0x734b23537810722eb315dbdb16deaeaadf1eaf79b2c01aa9ac1aa6bed42ea70d",
"transactionType": "CREATE2",
"contractName": null,
"contractAddress": "0xd28fbf7569f31877922cdc31a1a5b3c504e8faa1",
"function": null,
"arguments": null,
"transaction": {
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"gas": "0xe6685",
"value": "0x0",
"input": "0x0000000000000000000000000000000000000000000000000000000000000020608060405234801561001057600080fd5b50604051610b17380380610b1783398101604081905261002f91610090565b8061003981610040565b50506100c0565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100a257600080fd5b81516001600160a01b03811681146100b957600080fd5b9392505050565b610a48806100cf6000396000f3fe60806040526004361061007b5760003560e01c80639623609d1161004e5780639623609d1461012b57806399a88ec41461013e578063f2fde38b1461015e578063f3b7dead1461017e57600080fd5b8063204e1c7a14610080578063715018a6146100c95780637eff275e146100e05780638da5cb5b14610100575b600080fd5b34801561008c57600080fd5b506100a061009b3660046107e4565b61019e565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100d557600080fd5b506100de610255565b005b3480156100ec57600080fd5b506100de6100fb366004610808565b6102e7565b34801561010c57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff166100a0565b6100de610139366004610870565b6103ee565b34801561014a57600080fd5b506100de610159366004610808565b6104fc565b34801561016a57600080fd5b506100de6101793660046107e4565b6105d1565b34801561018a57600080fd5b506100a06101993660046107e4565b610701565b60008060008373ffffffffffffffffffffffffffffffffffffffff166040516101ea907f5c60da1b00000000000000000000000000000000000000000000000000000000815260040190565b600060405180830381855afa9150503d8060008114610225576040519150601f19603f3d011682016040523d82523d6000602084013e61022a565b606091505b50915091508161023957600080fd5b8080602001905181019061024d9190610964565b949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146102db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6102e5600061074d565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610368576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102d2565b6040517f8f28397000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8281166004830152831690638f283970906024015b600060405180830381600087803b1580156103d257600080fd5b505af11580156103e6573d6000803e3d6000fd5b505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461046f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102d2565b6040517f4f1ef28600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841690634f1ef2869034906104c59086908690600401610981565b6000604051808303818588803b1580156104de57600080fd5b505af11580156104f2573d6000803e3d6000fd5b5050505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461057d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102d2565b6040517f3659cfe600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8281166004830152831690633659cfe6906024016103b8565b60005473ffffffffffffffffffffffffffffffffffffffff163314610652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102d2565b73ffffffffffffffffffffffffffffffffffffffff81166106f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102d2565b6106fe8161074d565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff166040516101ea907ff851a44000000000000000000000000000000000000000000000000000000000815260040190565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff811681146106fe57600080fd5b6000602082840312156107f657600080fd5b8135610801816107c2565b9392505050565b6000806040838503121561081b57600080fd5b8235610826816107c2565b91506020830135610836816107c2565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060006060848603121561088557600080fd5b8335610890816107c2565b925060208401356108a0816107c2565b9150604084013567ffffffffffffffff808211156108bd57600080fd5b818601915086601f8301126108d157600080fd5b8135818111156108e3576108e3610841565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561092957610929610841565b8160405282815289602084870101111561094257600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b60006020828403121561097657600080fd5b8151610801816107c2565b73ffffffffffffffffffffffffffffffffffffffff8316815260006020604081840152835180604085015260005b818110156109cb578581018301518582016060015282016109af565b818111156109dd576000606083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160600194935050505056fea2646970667358221220bd6c09ab03bfaf9ec60a4bf8cd98903cecb891974e17e2d76a3b2002c97eeb8964736f6c634300080a0033000000000000000000000000017f8ad14a2e745ea0f756bd57cd4852400be78c",
"nonce": "0x0",
"chainId": "0x14a34"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x15a1f7",
"logs": [
{
"address": "0xd28fbf7569f31877922cdc31a1a5b3c504e8faa1",
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x000000000000000000000000017f8ad14a2e745ea0f756bd57cd4852400be78c"
],
"data": "0x",
"blockHash": "0xa3fa6675f05321493601f43d1afa8f1bdf0b9f8c1aa55ab09d35a5d374f22189",
"blockNumber": "0xb34283",
"transactionHash": "0x734b23537810722eb315dbdb16deaeaadf1eaf79b2c01aa9ac1aa6bed42ea70d",
"transactionIndex": "0xd",
"logIndex": "0xc",
"removed": false
}
],
"logsBloom": "0x04000000000000000000000000000000000010000000000000800000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000400000000000001000000000000000000000000000000000000020000000000000000000800000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000100000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0x734b23537810722eb315dbdb16deaeaadf1eaf79b2c01aa9ac1aa6bed42ea70d",
"transactionIndex": "0xd",
"blockHash": "0xa3fa6675f05321493601f43d1afa8f1bdf0b9f8c1aa55ab09d35a5d374f22189",
"blockNumber": "0xb34283",
"gasUsed": "0x9d967",
"effectiveGasPrice": "0x1673fd",
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"contractAddress": null,
"l1BaseFeeScalar": "0x44d",
"l1BlobBaseFee": "0x1",
"l1BlobBaseFeeScalar": "0xa118b",
"l1Fee": "0x2b899de95",
"l1GasPrice": "0x1e6611ac",
"l1GasUsed": "0x514d"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1719264236,
"chain": 84532,
"commit": "5569a66"
}
69 changes: 69 additions & 0 deletions broadcast/ProxyAdmin.s.sol/84532/run-latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"transactions": [
{
"hash": "0x734b23537810722eb315dbdb16deaeaadf1eaf79b2c01aa9ac1aa6bed42ea70d",
"transactionType": "CREATE2",
"contractName": null,
"contractAddress": "0xd28fbf7569f31877922cdc31a1a5b3c504e8faa1",
"function": null,
"arguments": null,
"transaction": {
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"gas": "0xe6685",
"value": "0x0",
"input": "0x0000000000000000000000000000000000000000000000000000000000000020608060405234801561001057600080fd5b50604051610b17380380610b1783398101604081905261002f91610090565b8061003981610040565b50506100c0565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100a257600080fd5b81516001600160a01b03811681146100b957600080fd5b9392505050565b610a48806100cf6000396000f3fe60806040526004361061007b5760003560e01c80639623609d1161004e5780639623609d1461012b57806399a88ec41461013e578063f2fde38b1461015e578063f3b7dead1461017e57600080fd5b8063204e1c7a14610080578063715018a6146100c95780637eff275e146100e05780638da5cb5b14610100575b600080fd5b34801561008c57600080fd5b506100a061009b3660046107e4565b61019e565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100d557600080fd5b506100de610255565b005b3480156100ec57600080fd5b506100de6100fb366004610808565b6102e7565b34801561010c57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff166100a0565b6100de610139366004610870565b6103ee565b34801561014a57600080fd5b506100de610159366004610808565b6104fc565b34801561016a57600080fd5b506100de6101793660046107e4565b6105d1565b34801561018a57600080fd5b506100a06101993660046107e4565b610701565b60008060008373ffffffffffffffffffffffffffffffffffffffff166040516101ea907f5c60da1b00000000000000000000000000000000000000000000000000000000815260040190565b600060405180830381855afa9150503d8060008114610225576040519150601f19603f3d011682016040523d82523d6000602084013e61022a565b606091505b50915091508161023957600080fd5b8080602001905181019061024d9190610964565b949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146102db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6102e5600061074d565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610368576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102d2565b6040517f8f28397000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8281166004830152831690638f283970906024015b600060405180830381600087803b1580156103d257600080fd5b505af11580156103e6573d6000803e3d6000fd5b505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461046f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102d2565b6040517f4f1ef28600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841690634f1ef2869034906104c59086908690600401610981565b6000604051808303818588803b1580156104de57600080fd5b505af11580156104f2573d6000803e3d6000fd5b5050505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461057d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102d2565b6040517f3659cfe600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8281166004830152831690633659cfe6906024016103b8565b60005473ffffffffffffffffffffffffffffffffffffffff163314610652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102d2565b73ffffffffffffffffffffffffffffffffffffffff81166106f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102d2565b6106fe8161074d565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff166040516101ea907ff851a44000000000000000000000000000000000000000000000000000000000815260040190565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff811681146106fe57600080fd5b6000602082840312156107f657600080fd5b8135610801816107c2565b9392505050565b6000806040838503121561081b57600080fd5b8235610826816107c2565b91506020830135610836816107c2565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060006060848603121561088557600080fd5b8335610890816107c2565b925060208401356108a0816107c2565b9150604084013567ffffffffffffffff808211156108bd57600080fd5b818601915086601f8301126108d157600080fd5b8135818111156108e3576108e3610841565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561092957610929610841565b8160405282815289602084870101111561094257600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b60006020828403121561097657600080fd5b8151610801816107c2565b73ffffffffffffffffffffffffffffffffffffffff8316815260006020604081840152835180604085015260005b818110156109cb578581018301518582016060015282016109af565b818111156109dd576000606083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160600194935050505056fea2646970667358221220bd6c09ab03bfaf9ec60a4bf8cd98903cecb891974e17e2d76a3b2002c97eeb8964736f6c634300080a0033000000000000000000000000017f8ad14a2e745ea0f756bd57cd4852400be78c",
"nonce": "0x0",
"chainId": "0x14a34"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x15a1f7",
"logs": [
{
"address": "0xd28fbf7569f31877922cdc31a1a5b3c504e8faa1",
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x000000000000000000000000017f8ad14a2e745ea0f756bd57cd4852400be78c"
],
"data": "0x",
"blockHash": "0xa3fa6675f05321493601f43d1afa8f1bdf0b9f8c1aa55ab09d35a5d374f22189",
"blockNumber": "0xb34283",
"transactionHash": "0x734b23537810722eb315dbdb16deaeaadf1eaf79b2c01aa9ac1aa6bed42ea70d",
"transactionIndex": "0xd",
"logIndex": "0xc",
"removed": false
}
],
"logsBloom": "0x04000000000000000000000000000000000010000000000000800000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000400000000000001000000000000000000000000000000000000020000000000000000000800000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000100000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0x734b23537810722eb315dbdb16deaeaadf1eaf79b2c01aa9ac1aa6bed42ea70d",
"transactionIndex": "0xd",
"blockHash": "0xa3fa6675f05321493601f43d1afa8f1bdf0b9f8c1aa55ab09d35a5d374f22189",
"blockNumber": "0xb34283",
"gasUsed": "0x9d967",
"effectiveGasPrice": "0x1673fd",
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"contractAddress": null,
"l1BaseFeeScalar": "0x44d",
"l1BlobBaseFee": "0x1",
"l1BlobBaseFeeScalar": "0xa118b",
"l1Fee": "0x2b899de95",
"l1GasPrice": "0x1e6611ac",
"l1GasUsed": "0x514d"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1719264236,
"chain": 84532,
"commit": "5569a66"
}
436 changes: 436 additions & 0 deletions broadcast/QuestFactory.s.sol/84532/run-1719264262.json

Large diffs are not rendered by default.

436 changes: 436 additions & 0 deletions broadcast/QuestFactory.s.sol/84532/run-latest.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ scroll = "https://rpc.scroll.io/"
blast = "https://restless-divine-meme.blast-mainnet.quiknode.pro/${QUICKNODE_BLAST_API_KEY}/"
zora = "https://rpc.zora.co"
degen = "https://rpc.degen.tips"
base-sepolia = "https://sepolia.base.org"

[etherscan]
mainnet = { key = "${MAIN_ETHERSCAN_API_KEY}" }
Expand Down
2 changes: 1 addition & 1 deletion script/QuestFactory.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ contract QuestFactoryDeploy is Script {
owner, // ownerAddress_
500000000000000, // nftQuestFee_,
5000, // referralFee_,
75000000000000 // mintFee_
0 // mintFee_
);

vm.stopBroadcast();
Expand Down

0 comments on commit c306d21

Please sign in to comment.