Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update QuestBudget Fee Calculation #289

Merged
merged 10 commits into from
Jul 19, 2024
2 changes: 1 addition & 1 deletion Quest.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion QuestBudget.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion QuestFactory.json

Large diffs are not rendered by default.

82 changes: 41 additions & 41 deletions broadcast/Quest.s.sol/10/run-latest.json

Large diffs are not rendered by default.

97 changes: 97 additions & 0 deletions broadcast/Quest.s.sol/11155111/run-1720556566.json

Large diffs are not rendered by default.

68 changes: 34 additions & 34 deletions broadcast/Quest.s.sol/11155111/run-latest.json

Large diffs are not rendered by default.

98 changes: 49 additions & 49 deletions broadcast/Quest.s.sol/137/run-latest.json

Large diffs are not rendered by default.

72 changes: 36 additions & 36 deletions broadcast/Quest.s.sol/42161/run-latest.json

Large diffs are not rendered by default.

101 changes: 101 additions & 0 deletions broadcast/Quest.s.sol/666666666/run-1721340191.json

Large diffs are not rendered by default.

60 changes: 30 additions & 30 deletions broadcast/Quest.s.sol/666666666/run-latest.json

Large diffs are not rendered by default.

103 changes: 103 additions & 0 deletions broadcast/Quest.s.sol/7560/run-1721340406.json

Large diffs are not rendered by default.

68 changes: 34 additions & 34 deletions broadcast/Quest.s.sol/7560/run-latest.json

Large diffs are not rendered by default.

109 changes: 109 additions & 0 deletions broadcast/Quest.s.sol/7777777/run-1721342470.json

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions broadcast/Quest.s.sol/7777777/run-latest.json

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions broadcast/Quest.s.sol/81457/run-latest.json

Large diffs are not rendered by default.

88 changes: 44 additions & 44 deletions broadcast/Quest.s.sol/8453/run-latest.json

Large diffs are not rendered by default.

82 changes: 41 additions & 41 deletions broadcast/Quest.s.sol/84532/run-latest.json

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions broadcast/QuestBudget.s.sol/10/run-latest.json

Large diffs are not rendered by default.

175 changes: 175 additions & 0 deletions broadcast/QuestBudget.s.sol/11155111/run-1720557285.json

Large diffs are not rendered by default.

159 changes: 78 additions & 81 deletions broadcast/QuestBudget.s.sol/11155111/run-latest.json

Large diffs are not rendered by default.

53 changes: 53 additions & 0 deletions broadcast/QuestFactory.s.sol/10/run-1721341914.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"transactions": [
{
"hash": "0xee16d9b7cd3da25e8ffd929b984af42110be3a5f7e6def94fe6f9589241a4e94",
"transactionType": "CALL",
"contractName": "TransparentUpgradeableProxy",
"contractAddress": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"function": null,
"arguments": null,
"transaction": {
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"gas": "0x11dae",
"value": "0x0",
"input": "0x086575ae00000000000000000000000000000000000000000000000000000000000000fa",
"nonce": "0x138",
"chainId": "0xa"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x108704",
"logs": [],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0xee16d9b7cd3da25e8ffd929b984af42110be3a5f7e6def94fe6f9589241a4e94",
"transactionIndex": "0x5",
"blockHash": "0xb3f3368cb610fd5b54a9f669f1965872a08af3be9521f0f8985f26562f6fbf5e",
"blockNumber": "0x752df0d",
"gasUsed": "0xced4",
"effectiveGasPrice": "0x3bb7af9",
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"contractAddress": null,
"l1BaseFeeScalar": "0x146b",
"l1BlobBaseFee": "0x1",
"l1BlobBaseFeeScalar": "0xf79c5",
"l1Fee": "0x115e942ffe",
"l1GasPrice": "0x213af1488",
"l1GasUsed": "0x640"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1721341914,
"chain": 10,
"commit": "f8647fa"
}
38 changes: 19 additions & 19 deletions broadcast/QuestFactory.s.sol/10/run-latest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"transactions": [
{
"hash": "0x02f2ca7583060d2bf7d38dd491a823d1a74b39a80fb3507f3f1e92007a1c6dd2",
"hash": "0xee16d9b7cd3da25e8ffd929b984af42110be3a5f7e6def94fe6f9589241a4e94",
"transactionType": "CALL",
"contractName": "TransparentUpgradeableProxy",
"contractAddress": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
Expand All @@ -10,10 +10,10 @@
"transaction": {
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"gas": "0xd211",
"gas": "0x11dae",
"value": "0x0",
"input": "0xe1bc3aba00000000000000000000000000000000000000000000000000000000000000fa",
"nonce": "0x12f",
"input": "0x086575ae00000000000000000000000000000000000000000000000000000000000000fa",
"nonce": "0x138",
"chainId": "0xa"
},
"additionalContracts": [],
Expand All @@ -23,31 +23,31 @@
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x259f0d",
"cumulativeGasUsed": "0x108704",
"logs": [],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0x02f2ca7583060d2bf7d38dd491a823d1a74b39a80fb3507f3f1e92007a1c6dd2",
"transactionIndex": "0x10",
"blockHash": "0x5e6093a243e4140a66969076b236e941ae7e4af6a5765e620c1003d64474021e",
"blockNumber": "0x74447b6",
"gasUsed": "0x8fa3",
"effectiveGasPrice": "0x18a240e",
"transactionHash": "0xee16d9b7cd3da25e8ffd929b984af42110be3a5f7e6def94fe6f9589241a4e94",
"transactionIndex": "0x5",
"blockHash": "0xb3f3368cb610fd5b54a9f669f1965872a08af3be9521f0f8985f26562f6fbf5e",
"blockNumber": "0x752df0d",
"gasUsed": "0xced4",
"effectiveGasPrice": "0x3bb7af9",
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"contractAddress": null,
"l1BaseFeeScalar": "0x558",
"l1BlobBaseFee": "0x11ee80",
"l1BlobBaseFeeScalar": "0xc5fc5",
"l1Fee": "0x41817040e",
"l1GasPrice": "0x1838015f4",
"l1GasUsed": "0x7ac"
"l1BaseFeeScalar": "0x146b",
"l1BlobBaseFee": "0x1",
"l1BlobBaseFeeScalar": "0xf79c5",
"l1Fee": "0x115e942ffe",
"l1GasPrice": "0x213af1488",
"l1GasUsed": "0x640"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1719429420,
"timestamp": 1721341914,
"chain": 10,
"commit": "9f10ed7"
"commit": "f8647fa"
}
113 changes: 113 additions & 0 deletions broadcast/QuestFactory.s.sol/11155111/run-1720556469.json

Large diffs are not rendered by default.

47 changes: 47 additions & 0 deletions broadcast/QuestFactory.s.sol/11155111/run-1720556619.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"transactions": [
{
"hash": "0x03bc1337f2c1f762fc4d9baee50a9007ce1752b47a506b13126b6829c516f760",
"transactionType": "CALL",
"contractName": "TransparentUpgradeableProxy",
"contractAddress": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"function": null,
"arguments": null,
"transaction": {
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"gas": "0x11dae",
"value": "0x0",
"input": "0x086575ae00000000000000000000000000000000000000000000000000000000000000fa",
"nonce": "0x1a0",
"chainId": "0xaa36a7"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x12d3ce7",
"logs": [],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0x03bc1337f2c1f762fc4d9baee50a9007ce1752b47a506b13126b6829c516f760",
"transactionIndex": "0x78",
"blockHash": "0x338eb0c2ac8c2eb45d7decff9ecd9ef5b338a9b233c299d2b909f7a06954ab04",
"blockNumber": "0x5fce40",
"gasUsed": "0xced4",
"effectiveGasPrice": "0x41b29c53",
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"contractAddress": null
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1720556619,
"chain": 11155111,
"commit": "7bc400a"
}
26 changes: 13 additions & 13 deletions broadcast/QuestFactory.s.sol/11155111/run-latest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"transactions": [
{
"hash": "0x46b08ba8ceb5c8759f9b53accfee98f5201af9aa2854531e81651c60ba066883",
"hash": "0x03bc1337f2c1f762fc4d9baee50a9007ce1752b47a506b13126b6829c516f760",
"transactionType": "CALL",
"contractName": "TransparentUpgradeableProxy",
"contractAddress": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
Expand All @@ -10,10 +10,10 @@
"transaction": {
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"gas": "0xd211",
"gas": "0x11dae",
"value": "0x0",
"input": "0xe1bc3aba00000000000000000000000000000000000000000000000000000000000000fa",
"nonce": "0x197",
"input": "0x086575ae00000000000000000000000000000000000000000000000000000000000000fa",
"nonce": "0x1a0",
"chainId": "0xaa36a7"
},
"additionalContracts": [],
Expand All @@ -23,16 +23,16 @@
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x78ba80",
"cumulativeGasUsed": "0x12d3ce7",
"logs": [],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0x46b08ba8ceb5c8759f9b53accfee98f5201af9aa2854531e81651c60ba066883",
"transactionIndex": "0x3f",
"blockHash": "0x44461736fc1e4e06bd05c0cb28510593ffc3d39f61f0a2ea3a361081a556ba30",
"blockNumber": "0x5e43f9",
"gasUsed": "0x8fa3",
"effectiveGasPrice": "0x3f25c9071",
"transactionHash": "0x03bc1337f2c1f762fc4d9baee50a9007ce1752b47a506b13126b6829c516f760",
"transactionIndex": "0x78",
"blockHash": "0x338eb0c2ac8c2eb45d7decff9ecd9ef5b338a9b233c299d2b909f7a06954ab04",
"blockNumber": "0x5fce40",
"gasUsed": "0xced4",
"effectiveGasPrice": "0x41b29c53",
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"contractAddress": null
Expand All @@ -41,7 +41,7 @@
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1719249950,
"timestamp": 1720556619,
"chain": 11155111,
"commit": "42a9cc2"
"commit": "7bc400a"
}
64 changes: 64 additions & 0 deletions broadcast/QuestFactory.s.sol/137/run-1721341594.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"transactions": [
{
"hash": "0x3a3410013efef61436d752c39b2da7db196615c501bc93389ce697d685a53ffa",
"transactionType": "CALL",
"contractName": "TransparentUpgradeableProxy",
"contractAddress": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"function": null,
"arguments": null,
"transaction": {
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"gas": "0x11dae",
"value": "0x0",
"input": "0x086575ae00000000000000000000000000000000000000000000000000000000000000fa",
"nonce": "0xee",
"chainId": "0x89"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x558a22",
"logs": [
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x000000000000000000000000017f8ad14a2e745ea0f756bd57cd4852400be78c",
"0x0000000000000000000000009ead03f7136fc6b4bdb0780b00a1c14ae5a8b6d0"
],
"data": "0x0000000000000000000000000000000000000000000000000005ce92cb9b4cd4000000000000000000000000000000000000000000000012128a13e0a34aa84c00000000000000000000000000000000000000000000025c3caace539d0512390000000000000000000000000000000000000000000000121284454dd7af5b7800000000000000000000000000000000000000000000025c3cb09ce668a05f0d",
"blockHash": "0x0bb42e08b8d4bcaff2daa28b64fa301947cfc50dd6a033782d58df031f33dd14",
"blockNumber": "0x38c4ddb",
"transactionHash": "0x3a3410013efef61436d752c39b2da7db196615c501bc93389ce697d685a53ffa",
"transactionIndex": "0x29",
"logIndex": "0xb1",
"removed": false
}
],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000400000000800000000000000000000100000000000000000000000000000000000000000000000000000000000080000000000000000040000000040000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000200000000004000000000000000000001000000000000000100000000000000120000000000000000000000000000000000000000000000000000000000000000000000100000",
"type": "0x2",
"transactionHash": "0x3a3410013efef61436d752c39b2da7db196615c501bc93389ce697d685a53ffa",
"transactionIndex": "0x29",
"blockHash": "0x0bb42e08b8d4bcaff2daa28b64fa301947cfc50dd6a033782d58df031f33dd14",
"blockNumber": "0x38c4ddb",
"gasUsed": "0xced4",
"effectiveGasPrice": "0x72ffed19e",
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"contractAddress": null
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1721341594,
"chain": 137,
"commit": "f8647fa"
}
42 changes: 21 additions & 21 deletions broadcast/QuestFactory.s.sol/137/run-latest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"transactions": [
{
"hash": "0xb0ad04e007f492747051a462818ca7a12c2db69629dc6307cdd70210a03af983",
"hash": "0x3a3410013efef61436d752c39b2da7db196615c501bc93389ce697d685a53ffa",
"transactionType": "CALL",
"contractName": "TransparentUpgradeableProxy",
"contractAddress": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
Expand All @@ -10,10 +10,10 @@
"transaction": {
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"gas": "0xd211",
"gas": "0x11dae",
"value": "0x0",
"input": "0xe1bc3aba00000000000000000000000000000000000000000000000000000000000000fa",
"nonce": "0xe5",
"input": "0x086575ae00000000000000000000000000000000000000000000000000000000000000fa",
"nonce": "0xee",
"chainId": "0x89"
},
"additionalContracts": [],
Expand All @@ -23,33 +23,33 @@
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x613541",
"cumulativeGasUsed": "0x558a22",
"logs": [
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x000000000000000000000000017f8ad14a2e745ea0f756bd57cd4852400be78c",
"0x0000000000000000000000007c7379531b2aee82e4ca06d4175d13b9cbeafd49"
"0x0000000000000000000000009ead03f7136fc6b4bdb0780b00a1c14ae5a8b6d0"
],
"data": "0x0000000000000000000000000000000000000000000000000003eb4a77ca84000000000000000000000000000000000000000000000000121652fb6200f98be8000000000000000000000000000000000000000000030b04e742fc2f8eb9e835000000000000000000000000000000000000000000000012164f1017892f07e8000000000000000000000000000000000000000000030b04e746e77a06846c35",
"blockHash": "0xb101f8a97c027b660a23afc9a5ab28b0f1adebb30fd6a46b8905fdd83f9a7f1a",
"blockNumber": "0x37ec729",
"transactionHash": "0xb0ad04e007f492747051a462818ca7a12c2db69629dc6307cdd70210a03af983",
"transactionIndex": "0x48",
"logIndex": "0xe8",
"data": "0x0000000000000000000000000000000000000000000000000005ce92cb9b4cd4000000000000000000000000000000000000000000000012128a13e0a34aa84c00000000000000000000000000000000000000000000025c3caace539d0512390000000000000000000000000000000000000000000000121284454dd7af5b7800000000000000000000000000000000000000000000025c3cb09ce668a05f0d",
"blockHash": "0x0bb42e08b8d4bcaff2daa28b64fa301947cfc50dd6a033782d58df031f33dd14",
"blockNumber": "0x38c4ddb",
"transactionHash": "0x3a3410013efef61436d752c39b2da7db196615c501bc93389ce697d685a53ffa",
"transactionIndex": "0x29",
"logIndex": "0xb1",
"removed": false
}
],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000008000000000000000000000000000000000000000000000000400000000800000000000400000000100000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000200000000004000000000000000000001000000000000000100000000000000100000000000000000000000000000000000000000000000000000000000000000000000100000",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000400000000800000000000000000000100000000000000000000000000000000000000000000000000000000000080000000000000000040000000040000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000200000000004000000000000000000001000000000000000100000000000000120000000000000000000000000000000000000000000000000000000000000000000000100000",
"type": "0x2",
"transactionHash": "0xb0ad04e007f492747051a462818ca7a12c2db69629dc6307cdd70210a03af983",
"transactionIndex": "0x48",
"blockHash": "0xb101f8a97c027b660a23afc9a5ab28b0f1adebb30fd6a46b8905fdd83f9a7f1a",
"blockNumber": "0x37ec729",
"gasUsed": "0x8fa3",
"effectiveGasPrice": "0x6fc23ac39",
"transactionHash": "0x3a3410013efef61436d752c39b2da7db196615c501bc93389ce697d685a53ffa",
"transactionIndex": "0x29",
"blockHash": "0x0bb42e08b8d4bcaff2daa28b64fa301947cfc50dd6a033782d58df031f33dd14",
"blockNumber": "0x38c4ddb",
"gasUsed": "0xced4",
"effectiveGasPrice": "0x72ffed19e",
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"contractAddress": null
Expand All @@ -58,7 +58,7 @@
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1719429110,
"timestamp": 1721341594,
"chain": 137,
"commit": "9f10ed7"
"commit": "f8647fa"
}
Loading
Loading