Skip to content

Commit

Permalink
Re-add discount validators with unique keys
Browse files Browse the repository at this point in the history
  • Loading branch information
stevieraykatz committed Jun 26, 2024
1 parent 4db9e6f commit 4116686
Show file tree
Hide file tree
Showing 4 changed files with 235 additions and 25 deletions.
70 changes: 70 additions & 0 deletions broadcast/AddDiscountValidator.s.sol/84532/run-1719361537.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"transactions": [
{
"hash": "0xea69467ad8ab46819945bc09be651d1a9d23eccacaf4228fb54d2bbe4ffd09f8",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x16ee2051a0613e5c52127755ee3110cf4cd1ca10",
"function": "setDiscountDetails((bool,address,bytes32,uint256))",
"arguments": [
"(true, 0xE41Cd25f429E10744938d5048646E721ac630aF3, 0xd7c738185b4a87cdddfb28485e22953d41e0ddf37717ab565e502bb56354e157, 1000000000000000)"
],
"transaction": {
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a",
"to": "0x16ee2051a0613e5c52127755ee3110cf4cd1ca10",
"gas": "0xdd25",
"value": "0x0",
"input": "0x682baa900000000000000000000000000000000000000000000000000000000000000001000000000000000000000000e41cd25f429e10744938d5048646e721ac630af3d7c738185b4a87cdddfb28485e22953d41e0ddf37717ab565e502bb56354e15700000000000000000000000000000000000000000000000000038d7ea4c68000",
"nonce": "0x48",
"chainId": "0x14a34"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x128239",
"logs": [
{
"address": "0x16ee2051a0613e5c52127755ee3110cf4cd1ca10",
"topics": [
"0x8e8593a48f626f59b50ae7022bc900a089280e27a89c5d7c1a4ca9a4338b47d1",
"0xd7c738185b4a87cdddfb28485e22953d41e0ddf37717ab565e502bb56354e157"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000e41cd25f429e10744938d5048646e721ac630af3d7c738185b4a87cdddfb28485e22953d41e0ddf37717ab565e502bb56354e15700000000000000000000000000000000000000000000000000038d7ea4c68000",
"blockHash": "0x532f46db216376530ae186f3286a28f265929e418c6c81d32f987c0f0780e3fd",
"blockNumber": "0xb4008e",
"transactionHash": "0xea69467ad8ab46819945bc09be651d1a9d23eccacaf4228fb54d2bbe4ffd09f8",
"transactionIndex": "0x5",
"logIndex": "0xd",
"removed": false
}
],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000400000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000100c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0xea69467ad8ab46819945bc09be651d1a9d23eccacaf4228fb54d2bbe4ffd09f8",
"transactionIndex": "0x5",
"blockHash": "0x532f46db216376530ae186f3286a28f265929e418c6c81d32f987c0f0780e3fd",
"blockNumber": "0xb4008e",
"gasUsed": "0xa01c",
"effectiveGasPrice": "0xf434a",
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a",
"to": "0x16ee2051a0613e5c52127755ee3110cf4cd1ca10",
"contractAddress": null,
"l1BaseFeeScalar": "0x44d",
"l1BlobBaseFee": "0x1",
"l1BlobBaseFeeScalar": "0xa118b",
"l1Fee": "0x161584ab0",
"l1GasPrice": "0xa544538c",
"l1GasUsed": "0x795"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1719361537,
"chain": 84532,
"commit": "4db9e6f"
}
70 changes: 70 additions & 0 deletions broadcast/AddDiscountValidator.s.sol/84532/run-1719361576.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"transactions": [
{
"hash": "0xafae2a75261ba22f3e71199a4b1851bbed67b35c0f6d65b6be54d9f48df7d046",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x16ee2051a0613e5c52127755ee3110cf4cd1ca10",
"function": "setDiscountDetails((bool,address,bytes32,uint256))",
"arguments": [
"(true, 0x1079eF978d3c2A6CD4db142118D3C904E0Ac4Fc7, 0x51a5a42a1e8f8f9700bb48594d76135443eede20cf2497051d7d6345bac695e6, 1000000000000000)"
],
"transaction": {
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a",
"to": "0x16ee2051a0613e5c52127755ee3110cf4cd1ca10",
"gas": "0x296b2",
"value": "0x0",
"input": "0x682baa9000000000000000000000000000000000000000000000000000000000000000010000000000000000000000001079ef978d3c2a6cd4db142118d3c904e0ac4fc751a5a42a1e8f8f9700bb48594d76135443eede20cf2497051d7d6345bac695e600000000000000000000000000000000000000000000000000038d7ea4c68000",
"nonce": "0x49",
"chainId": "0x14a34"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0xec3bf",
"logs": [
{
"address": "0x16ee2051a0613e5c52127755ee3110cf4cd1ca10",
"topics": [
"0x8e8593a48f626f59b50ae7022bc900a089280e27a89c5d7c1a4ca9a4338b47d1",
"0x51a5a42a1e8f8f9700bb48594d76135443eede20cf2497051d7d6345bac695e6"
],
"data": "0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000001079ef978d3c2a6cd4db142118d3c904e0ac4fc751a5a42a1e8f8f9700bb48594d76135443eede20cf2497051d7d6345bac695e600000000000000000000000000000000000000000000000000038d7ea4c68000",
"blockHash": "0xebea5d7f64f9173d25da0364aaad4d2a382dbc2f01af93d188afdcd47d2d1e4d",
"blockNumber": "0xb400a1",
"transactionHash": "0xafae2a75261ba22f3e71199a4b1851bbed67b35c0f6d65b6be54d9f48df7d046",
"transactionIndex": "0x4",
"logIndex": "0xd",
"removed": false
}
],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000400000000000000000000000800000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000100800000000000000000000000000000000000000000000000008000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0xafae2a75261ba22f3e71199a4b1851bbed67b35c0f6d65b6be54d9f48df7d046",
"transactionIndex": "0x4",
"blockHash": "0xebea5d7f64f9173d25da0364aaad4d2a382dbc2f01af93d188afdcd47d2d1e4d",
"blockNumber": "0xb400a1",
"gasUsed": "0x1dfc8",
"effectiveGasPrice": "0xf434b",
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a",
"to": "0x16ee2051a0613e5c52127755ee3110cf4cd1ca10",
"contractAddress": null,
"l1BaseFeeScalar": "0x44d",
"l1BlobBaseFee": "0x1",
"l1BlobBaseFeeScalar": "0xa118b",
"l1Fee": "0x163dcd6f3",
"l1GasPrice": "0xa54e20e1",
"l1GasUsed": "0x7a3"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1719361576,
"chain": 84532,
"commit": "4db9e6f"
}
70 changes: 70 additions & 0 deletions broadcast/AddDiscountValidator.s.sol/84532/run-1719361602.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"transactions": [
{
"hash": "0x7321cc2a973941e8e37b16ec21e9cee859693b56bd4a9be79cd32c9c6a594b00",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x16ee2051a0613e5c52127755ee3110cf4cd1ca10",
"function": "setDiscountDetails((bool,address,bytes32,uint256))",
"arguments": [
"(true, 0xE41Cd25f429E10744938d5048646E721ac630aF3, 0xd4646f3b2fdadad0dd27a88c2d0928fe85a9d2885e03264de51f79eacb0568e8, 1000000000000000)"
],
"transaction": {
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a",
"to": "0x16ee2051a0613e5c52127755ee3110cf4cd1ca10",
"gas": "0x4eccc",
"value": "0x0",
"input": "0x682baa900000000000000000000000000000000000000000000000000000000000000001000000000000000000000000e41cd25f429e10744938d5048646e721ac630af3d4646f3b2fdadad0dd27a88c2d0928fe85a9d2885e03264de51f79eacb0568e800000000000000000000000000000000000000000000000000038d7ea4c68000",
"nonce": "0x4a",
"chainId": "0x14a34"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x3163e6",
"logs": [
{
"address": "0x16ee2051a0613e5c52127755ee3110cf4cd1ca10",
"topics": [
"0x8e8593a48f626f59b50ae7022bc900a089280e27a89c5d7c1a4ca9a4338b47d1",
"0xd4646f3b2fdadad0dd27a88c2d0928fe85a9d2885e03264de51f79eacb0568e8"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000e41cd25f429e10744938d5048646e721ac630af3d4646f3b2fdadad0dd27a88c2d0928fe85a9d2885e03264de51f79eacb0568e800000000000000000000000000000000000000000000000000038d7ea4c68000",
"blockHash": "0x0f725907ab3c528cde72707054733e4f92a75044adbfd59b19efe4a8acaa0e9a",
"blockNumber": "0xb400ae",
"transactionHash": "0x7321cc2a973941e8e37b16ec21e9cee859693b56bd4a9be79cd32c9c6a594b00",
"transactionIndex": "0x23",
"logIndex": "0x1f",
"removed": false
}
],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000400000000000000000000000800000000000000000000000000000000000000000000000000002000000000000000000000040000000000000000000100800000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0x7321cc2a973941e8e37b16ec21e9cee859693b56bd4a9be79cd32c9c6a594b00",
"transactionIndex": "0x23",
"blockHash": "0x0f725907ab3c528cde72707054733e4f92a75044adbfd59b19efe4a8acaa0e9a",
"blockNumber": "0xb400ae",
"gasUsed": "0x390cc",
"effectiveGasPrice": "0xf434a",
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a",
"to": "0x16ee2051a0613e5c52127755ee3110cf4cd1ca10",
"contractAddress": null,
"l1BaseFeeScalar": "0x44d",
"l1BlobBaseFee": "0x1",
"l1BlobBaseFeeScalar": "0xa118b",
"l1Fee": "0x152fb4891",
"l1GasPrice": "0x9d76ae44",
"l1GasUsed": "0x7a3"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1719361602,
"chain": 84532,
"commit": "4db9e6f"
}
50 changes: 25 additions & 25 deletions broadcast/AddDiscountValidator.s.sol/84532/run-latest.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"transactions": [
{
"hash": "0x9d332178e963da10c890f5fbbad2630b88fbb532b14a84d1a4af3a1638df65c1",
"hash": "0x7321cc2a973941e8e37b16ec21e9cee859693b56bd4a9be79cd32c9c6a594b00",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x16ee2051a0613e5c52127755ee3110cf4cd1ca10",
"function": "setDiscountDetails((bool,address,bytes32,uint256))",
"arguments": [
"(true, 0xE41Cd25f429E10744938d5048646E721ac630aF3, 0xd7c738185b4a87cdddfb28485e22953d41e0ddf37717ab565e502bb56354e157, 1000000000000000)"
"(true, 0xE41Cd25f429E10744938d5048646E721ac630aF3, 0xd4646f3b2fdadad0dd27a88c2d0928fe85a9d2885e03264de51f79eacb0568e8, 1000000000000000)"
],
"transaction": {
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a",
"to": "0x16ee2051a0613e5c52127755ee3110cf4cd1ca10",
"gas": "0xec41",
"gas": "0x4eccc",
"value": "0x0",
"input": "0x682baa900000000000000000000000000000000000000000000000000000000000000001000000000000000000000000e41cd25f429e10744938d5048646e721ac630af3d7c738185b4a87cdddfb28485e22953d41e0ddf37717ab565e502bb56354e15700000000000000000000000000000000000000000000000000038d7ea4c68000",
"nonce": "0x47",
"input": "0x682baa900000000000000000000000000000000000000000000000000000000000000001000000000000000000000000e41cd25f429e10744938d5048646e721ac630af3d4646f3b2fdadad0dd27a88c2d0928fe85a9d2885e03264de51f79eacb0568e800000000000000000000000000000000000000000000000000038d7ea4c68000",
"nonce": "0x4a",
"chainId": "0x14a34"
},
"additionalContracts": [],
Expand All @@ -25,46 +25,46 @@
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x1c49b0",
"cumulativeGasUsed": "0x3163e6",
"logs": [
{
"address": "0x16ee2051a0613e5c52127755ee3110cf4cd1ca10",
"topics": [
"0x8e8593a48f626f59b50ae7022bc900a089280e27a89c5d7c1a4ca9a4338b47d1",
"0xd7c738185b4a87cdddfb28485e22953d41e0ddf37717ab565e502bb56354e157"
"0xd4646f3b2fdadad0dd27a88c2d0928fe85a9d2885e03264de51f79eacb0568e8"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000e41cd25f429e10744938d5048646e721ac630af3d7c738185b4a87cdddfb28485e22953d41e0ddf37717ab565e502bb56354e15700000000000000000000000000000000000000000000000000038d7ea4c68000",
"blockHash": "0xbdaffacf8037f1ba06e29855328f1e22c41e679f75bc6760ee61e7c6457a1288",
"blockNumber": "0xb3ffbb",
"transactionHash": "0x9d332178e963da10c890f5fbbad2630b88fbb532b14a84d1a4af3a1638df65c1",
"transactionIndex": "0x5",
"logIndex": "0x28",
"data": "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000e41cd25f429e10744938d5048646e721ac630af3d4646f3b2fdadad0dd27a88c2d0928fe85a9d2885e03264de51f79eacb0568e800000000000000000000000000000000000000000000000000038d7ea4c68000",
"blockHash": "0x0f725907ab3c528cde72707054733e4f92a75044adbfd59b19efe4a8acaa0e9a",
"blockNumber": "0xb400ae",
"transactionHash": "0x7321cc2a973941e8e37b16ec21e9cee859693b56bd4a9be79cd32c9c6a594b00",
"transactionIndex": "0x23",
"logIndex": "0x1f",
"removed": false
}
],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000400000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000100c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000400000000000000000000000800000000000000000000000000000000000000000000000000002000000000000000000000040000000000000000000100800000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0x9d332178e963da10c890f5fbbad2630b88fbb532b14a84d1a4af3a1638df65c1",
"transactionIndex": "0x5",
"blockHash": "0xbdaffacf8037f1ba06e29855328f1e22c41e679f75bc6760ee61e7c6457a1288",
"blockNumber": "0xb3ffbb",
"gasUsed": "0xab0c",
"effectiveGasPrice": "0xf4345",
"transactionHash": "0x7321cc2a973941e8e37b16ec21e9cee859693b56bd4a9be79cd32c9c6a594b00",
"transactionIndex": "0x23",
"blockHash": "0x0f725907ab3c528cde72707054733e4f92a75044adbfd59b19efe4a8acaa0e9a",
"blockNumber": "0xb400ae",
"gasUsed": "0x390cc",
"effectiveGasPrice": "0xf434a",
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a",
"to": "0x16ee2051a0613e5c52127755ee3110cf4cd1ca10",
"contractAddress": null,
"l1BaseFeeScalar": "0x44d",
"l1BlobBaseFee": "0x1",
"l1BlobBaseFeeScalar": "0xa118b",
"l1Fee": "0x2a718b4b9",
"l1GasPrice": "0x13da0ba56",
"l1GasUsed": "0x795"
"l1Fee": "0x152fb4891",
"l1GasPrice": "0x9d76ae44",
"l1GasUsed": "0x7a3"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1719361114,
"timestamp": 1719361602,
"chain": 84532,
"commit": "dcdb812"
"commit": "4db9e6f"
}

0 comments on commit 4116686

Please sign in to comment.