|
160 | 160 | "name": "getBidHash", |
161 | 161 | "inputs": [ |
162 | 162 | { |
163 | | - "name": "_txnHash", |
164 | | - "type": "string", |
165 | | - "internalType": "string" |
166 | | - }, |
167 | | - { |
168 | | - "name": "_revertingTxHashes", |
169 | | - "type": "string", |
170 | | - "internalType": "string" |
171 | | - }, |
172 | | - { |
173 | | - "name": "_bidAmt", |
174 | | - "type": "uint256", |
175 | | - "internalType": "uint256" |
176 | | - }, |
177 | | - { |
178 | | - "name": "_blockNumber", |
179 | | - "type": "uint64", |
180 | | - "internalType": "uint64" |
181 | | - }, |
182 | | - { |
183 | | - "name": "_decayStartTimeStamp", |
184 | | - "type": "uint64", |
185 | | - "internalType": "uint64" |
186 | | - }, |
187 | | - { |
188 | | - "name": "_decayEndTimeStamp", |
189 | | - "type": "uint64", |
190 | | - "internalType": "uint64" |
191 | | - }, |
192 | | - { |
193 | | - "name": "_zkProof", |
194 | | - "type": "uint256[]", |
195 | | - "internalType": "uint256[]" |
| 163 | + "name": "params", |
| 164 | + "type": "tuple", |
| 165 | + "internalType": "struct IPreconfManager.OpenCommitmentParams", |
| 166 | + "components": [ |
| 167 | + { |
| 168 | + "name": "unopenedCommitmentIndex", |
| 169 | + "type": "bytes32", |
| 170 | + "internalType": "bytes32" |
| 171 | + }, |
| 172 | + { |
| 173 | + "name": "bidAmt", |
| 174 | + "type": "uint256", |
| 175 | + "internalType": "uint256" |
| 176 | + }, |
| 177 | + { |
| 178 | + "name": "slashAmt", |
| 179 | + "type": "uint256", |
| 180 | + "internalType": "uint256" |
| 181 | + }, |
| 182 | + { |
| 183 | + "name": "blockNumber", |
| 184 | + "type": "uint64", |
| 185 | + "internalType": "uint64" |
| 186 | + }, |
| 187 | + { |
| 188 | + "name": "decayStartTimeStamp", |
| 189 | + "type": "uint64", |
| 190 | + "internalType": "uint64" |
| 191 | + }, |
| 192 | + { |
| 193 | + "name": "decayEndTimeStamp", |
| 194 | + "type": "uint64", |
| 195 | + "internalType": "uint64" |
| 196 | + }, |
| 197 | + { |
| 198 | + "name": "txnHash", |
| 199 | + "type": "string", |
| 200 | + "internalType": "string" |
| 201 | + }, |
| 202 | + { |
| 203 | + "name": "revertingTxHashes", |
| 204 | + "type": "string", |
| 205 | + "internalType": "string" |
| 206 | + }, |
| 207 | + { |
| 208 | + "name": "bidSignature", |
| 209 | + "type": "bytes", |
| 210 | + "internalType": "bytes" |
| 211 | + }, |
| 212 | + { |
| 213 | + "name": "zkProof", |
| 214 | + "type": "uint256[]", |
| 215 | + "internalType": "uint256[]" |
| 216 | + } |
| 217 | + ] |
196 | 218 | } |
197 | 219 | ], |
198 | 220 | "outputs": [ |
|
260 | 282 | "type": "uint256", |
261 | 283 | "internalType": "uint256" |
262 | 284 | }, |
| 285 | + { |
| 286 | + "name": "slashAmt", |
| 287 | + "type": "uint256", |
| 288 | + "internalType": "uint256" |
| 289 | + }, |
263 | 290 | { |
264 | 291 | "name": "commitmentDigest", |
265 | 292 | "type": "bytes32", |
|
334 | 361 | "type": "uint256", |
335 | 362 | "internalType": "uint256" |
336 | 363 | }, |
| 364 | + { |
| 365 | + "name": "slashAmt", |
| 366 | + "type": "uint256", |
| 367 | + "internalType": "uint256" |
| 368 | + }, |
337 | 369 | { |
338 | 370 | "name": "commitmentDigest", |
339 | 371 | "type": "bytes32", |
|
585 | 617 | "name": "openCommitment", |
586 | 618 | "inputs": [ |
587 | 619 | { |
588 | | - "name": "unopenedCommitmentIndex", |
589 | | - "type": "bytes32", |
590 | | - "internalType": "bytes32" |
591 | | - }, |
592 | | - { |
593 | | - "name": "bidAmt", |
594 | | - "type": "uint256", |
595 | | - "internalType": "uint256" |
596 | | - }, |
597 | | - { |
598 | | - "name": "blockNumber", |
599 | | - "type": "uint64", |
600 | | - "internalType": "uint64" |
601 | | - }, |
602 | | - { |
603 | | - "name": "txnHash", |
604 | | - "type": "string", |
605 | | - "internalType": "string" |
606 | | - }, |
607 | | - { |
608 | | - "name": "revertingTxHashes", |
609 | | - "type": "string", |
610 | | - "internalType": "string" |
611 | | - }, |
612 | | - { |
613 | | - "name": "decayStartTimeStamp", |
614 | | - "type": "uint64", |
615 | | - "internalType": "uint64" |
616 | | - }, |
617 | | - { |
618 | | - "name": "decayEndTimeStamp", |
619 | | - "type": "uint64", |
620 | | - "internalType": "uint64" |
621 | | - }, |
622 | | - { |
623 | | - "name": "bidSignature", |
624 | | - "type": "bytes", |
625 | | - "internalType": "bytes" |
626 | | - }, |
627 | | - { |
628 | | - "name": "zkProof", |
629 | | - "type": "uint256[]", |
630 | | - "internalType": "uint256[]" |
| 620 | + "name": "params", |
| 621 | + "type": "tuple", |
| 622 | + "internalType": "struct IPreconfManager.OpenCommitmentParams", |
| 623 | + "components": [ |
| 624 | + { |
| 625 | + "name": "unopenedCommitmentIndex", |
| 626 | + "type": "bytes32", |
| 627 | + "internalType": "bytes32" |
| 628 | + }, |
| 629 | + { |
| 630 | + "name": "bidAmt", |
| 631 | + "type": "uint256", |
| 632 | + "internalType": "uint256" |
| 633 | + }, |
| 634 | + { |
| 635 | + "name": "slashAmt", |
| 636 | + "type": "uint256", |
| 637 | + "internalType": "uint256" |
| 638 | + }, |
| 639 | + { |
| 640 | + "name": "blockNumber", |
| 641 | + "type": "uint64", |
| 642 | + "internalType": "uint64" |
| 643 | + }, |
| 644 | + { |
| 645 | + "name": "decayStartTimeStamp", |
| 646 | + "type": "uint64", |
| 647 | + "internalType": "uint64" |
| 648 | + }, |
| 649 | + { |
| 650 | + "name": "decayEndTimeStamp", |
| 651 | + "type": "uint64", |
| 652 | + "internalType": "uint64" |
| 653 | + }, |
| 654 | + { |
| 655 | + "name": "txnHash", |
| 656 | + "type": "string", |
| 657 | + "internalType": "string" |
| 658 | + }, |
| 659 | + { |
| 660 | + "name": "revertingTxHashes", |
| 661 | + "type": "string", |
| 662 | + "internalType": "string" |
| 663 | + }, |
| 664 | + { |
| 665 | + "name": "bidSignature", |
| 666 | + "type": "bytes", |
| 667 | + "internalType": "bytes" |
| 668 | + }, |
| 669 | + { |
| 670 | + "name": "zkProof", |
| 671 | + "type": "uint256[]", |
| 672 | + "internalType": "uint256[]" |
| 673 | + } |
| 674 | + ] |
631 | 675 | } |
632 | 676 | ], |
633 | 677 | "outputs": [ |
|
690 | 734 | "type": "uint256", |
691 | 735 | "internalType": "uint256" |
692 | 736 | }, |
| 737 | + { |
| 738 | + "name": "slashAmt", |
| 739 | + "type": "uint256", |
| 740 | + "internalType": "uint256" |
| 741 | + }, |
693 | 742 | { |
694 | 743 | "name": "commitmentDigest", |
695 | 744 | "type": "bytes32", |
|
1000 | 1049 | "name": "verifyBid", |
1001 | 1050 | "inputs": [ |
1002 | 1051 | { |
1003 | | - "name": "bidAmt", |
1004 | | - "type": "uint256", |
1005 | | - "internalType": "uint256" |
1006 | | - }, |
1007 | | - { |
1008 | | - "name": "blockNumber", |
1009 | | - "type": "uint64", |
1010 | | - "internalType": "uint64" |
1011 | | - }, |
1012 | | - { |
1013 | | - "name": "decayStartTimeStamp", |
1014 | | - "type": "uint64", |
1015 | | - "internalType": "uint64" |
1016 | | - }, |
1017 | | - { |
1018 | | - "name": "decayEndTimeStamp", |
1019 | | - "type": "uint64", |
1020 | | - "internalType": "uint64" |
1021 | | - }, |
1022 | | - { |
1023 | | - "name": "txnHash", |
1024 | | - "type": "string", |
1025 | | - "internalType": "string" |
1026 | | - }, |
1027 | | - { |
1028 | | - "name": "revertingTxHashes", |
1029 | | - "type": "string", |
1030 | | - "internalType": "string" |
1031 | | - }, |
1032 | | - { |
1033 | | - "name": "bidSignature", |
1034 | | - "type": "bytes", |
1035 | | - "internalType": "bytes" |
1036 | | - }, |
1037 | | - { |
1038 | | - "name": "zkProof", |
1039 | | - "type": "uint256[]", |
1040 | | - "internalType": "uint256[]" |
| 1052 | + "name": "params", |
| 1053 | + "type": "tuple", |
| 1054 | + "internalType": "struct IPreconfManager.OpenCommitmentParams", |
| 1055 | + "components": [ |
| 1056 | + { |
| 1057 | + "name": "unopenedCommitmentIndex", |
| 1058 | + "type": "bytes32", |
| 1059 | + "internalType": "bytes32" |
| 1060 | + }, |
| 1061 | + { |
| 1062 | + "name": "bidAmt", |
| 1063 | + "type": "uint256", |
| 1064 | + "internalType": "uint256" |
| 1065 | + }, |
| 1066 | + { |
| 1067 | + "name": "slashAmt", |
| 1068 | + "type": "uint256", |
| 1069 | + "internalType": "uint256" |
| 1070 | + }, |
| 1071 | + { |
| 1072 | + "name": "blockNumber", |
| 1073 | + "type": "uint64", |
| 1074 | + "internalType": "uint64" |
| 1075 | + }, |
| 1076 | + { |
| 1077 | + "name": "decayStartTimeStamp", |
| 1078 | + "type": "uint64", |
| 1079 | + "internalType": "uint64" |
| 1080 | + }, |
| 1081 | + { |
| 1082 | + "name": "decayEndTimeStamp", |
| 1083 | + "type": "uint64", |
| 1084 | + "internalType": "uint64" |
| 1085 | + }, |
| 1086 | + { |
| 1087 | + "name": "txnHash", |
| 1088 | + "type": "string", |
| 1089 | + "internalType": "string" |
| 1090 | + }, |
| 1091 | + { |
| 1092 | + "name": "revertingTxHashes", |
| 1093 | + "type": "string", |
| 1094 | + "internalType": "string" |
| 1095 | + }, |
| 1096 | + { |
| 1097 | + "name": "bidSignature", |
| 1098 | + "type": "bytes", |
| 1099 | + "internalType": "bytes" |
| 1100 | + }, |
| 1101 | + { |
| 1102 | + "name": "zkProof", |
| 1103 | + "type": "uint256[]", |
| 1104 | + "internalType": "uint256[]" |
| 1105 | + } |
| 1106 | + ] |
1041 | 1107 | } |
1042 | 1108 | ], |
1043 | 1109 | "outputs": [ |
|
1078 | 1144 | "type": "uint256", |
1079 | 1145 | "internalType": "uint256" |
1080 | 1146 | }, |
| 1147 | + { |
| 1148 | + "name": "slashAmt", |
| 1149 | + "type": "uint256", |
| 1150 | + "internalType": "uint256" |
| 1151 | + }, |
1081 | 1152 | { |
1082 | 1153 | "name": "blockNumber", |
1083 | 1154 | "type": "uint64", |
|
1223 | 1294 | "indexed": false, |
1224 | 1295 | "internalType": "uint256" |
1225 | 1296 | }, |
| 1297 | + { |
| 1298 | + "name": "slashAmt", |
| 1299 | + "type": "uint256", |
| 1300 | + "indexed": false, |
| 1301 | + "internalType": "uint256" |
| 1302 | + }, |
1226 | 1303 | { |
1227 | 1304 | "name": "blockNumber", |
1228 | 1305 | "type": "uint64", |
|
0 commit comments