viem 2.8.18 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/_cjs/chains/definitions/optimismSepolia.js +5 -0
- package/_cjs/chains/definitions/optimismSepolia.js.map +1 -1
- package/_cjs/chains/opStack/abis.js +1070 -1
- package/_cjs/chains/opStack/abis.js.map +1 -1
- package/_cjs/chains/opStack/actions/buildProveWithdrawal.js +3 -3
- package/_cjs/chains/opStack/actions/buildProveWithdrawal.js.map +1 -1
- package/_cjs/chains/opStack/actions/getGame.js +20 -0
- package/_cjs/chains/opStack/actions/getGame.js.map +1 -0
- package/_cjs/chains/opStack/actions/getGames.js +56 -0
- package/_cjs/chains/opStack/actions/getGames.js.map +1 -0
- package/_cjs/chains/opStack/actions/getL2Output.js +12 -0
- package/_cjs/chains/opStack/actions/getL2Output.js.map +1 -1
- package/_cjs/chains/opStack/actions/getPortalVersion.js +25 -0
- package/_cjs/chains/opStack/actions/getPortalVersion.js.map +1 -0
- package/_cjs/chains/opStack/actions/getTimeToFinalize.js +52 -26
- package/_cjs/chains/opStack/actions/getTimeToFinalize.js.map +1 -1
- package/_cjs/chains/opStack/actions/getTimeToNextGame.js +45 -0
- package/_cjs/chains/opStack/actions/getTimeToNextGame.js.map +1 -0
- package/_cjs/chains/opStack/actions/getTimeToProve.js +9 -1
- package/_cjs/chains/opStack/actions/getTimeToProve.js.map +1 -1
- package/_cjs/chains/opStack/actions/getWithdrawalStatus.js +79 -28
- package/_cjs/chains/opStack/actions/getWithdrawalStatus.js.map +1 -1
- package/_cjs/chains/opStack/actions/proveWithdrawal.js +1 -1
- package/_cjs/chains/opStack/actions/proveWithdrawal.js.map +1 -1
- package/_cjs/chains/opStack/actions/waitForNextGame.js +35 -0
- package/_cjs/chains/opStack/actions/waitForNextGame.js.map +1 -0
- package/_cjs/chains/opStack/actions/waitForNextL2Output.js.map +1 -1
- package/_cjs/chains/opStack/actions/waitToProve.js +34 -3
- package/_cjs/chains/opStack/actions/waitToProve.js.map +1 -1
- package/_cjs/chains/opStack/decorators/publicL1.js +10 -0
- package/_cjs/chains/opStack/decorators/publicL1.js.map +1 -1
- package/_cjs/chains/opStack/errors/withdrawal.js +13 -1
- package/_cjs/chains/opStack/errors/withdrawal.js.map +1 -1
- package/_cjs/chains/opStack/index.js +11 -1
- package/_cjs/chains/opStack/index.js.map +1 -1
- package/_cjs/chains/zksync/actions/deployContract.js +26 -0
- package/_cjs/chains/zksync/actions/deployContract.js.map +1 -0
- package/_cjs/chains/zksync/constants/abis.js +427 -0
- package/_cjs/chains/zksync/constants/abis.js.map +1 -0
- package/_cjs/chains/zksync/constants/address.js +5 -0
- package/_cjs/chains/zksync/constants/address.js.map +1 -0
- package/_cjs/chains/zksync/constants/contract.js +6 -0
- package/_cjs/chains/zksync/constants/contract.js.map +1 -0
- package/_cjs/chains/zksync/constants/number.js +6 -0
- package/_cjs/chains/zksync/constants/number.js.map +1 -0
- package/_cjs/chains/zksync/decorators/eip712.js +2 -0
- package/_cjs/chains/zksync/decorators/eip712.js.map +1 -1
- package/_cjs/chains/zksync/errors/bytecode.js +41 -0
- package/_cjs/chains/zksync/errors/bytecode.js.map +1 -0
- package/_cjs/chains/zksync/formatters.js +5 -1
- package/_cjs/chains/zksync/formatters.js.map +1 -1
- package/_cjs/chains/zksync/index.js +3 -1
- package/_cjs/chains/zksync/index.js.map +1 -1
- package/_cjs/chains/zksync/types/contract.js +3 -0
- package/_cjs/chains/zksync/types/contract.js.map +1 -0
- package/_cjs/chains/zksync/utils/abi/encodeDeployData.js +68 -0
- package/_cjs/chains/zksync/utils/abi/encodeDeployData.js.map +1 -0
- package/_cjs/chains/zksync/utils/getEip712Domain.js +4 -2
- package/_cjs/chains/zksync/utils/getEip712Domain.js.map +1 -1
- package/_cjs/chains/zksync/utils/hashBytecode.js +36 -0
- package/_cjs/chains/zksync/utils/hashBytecode.js.map +1 -0
- package/_cjs/errors/version.js +1 -1
- package/_cjs/errors/version.js.map +1 -1
- package/_esm/chains/definitions/optimismSepolia.js +5 -0
- package/_esm/chains/definitions/optimismSepolia.js.map +1 -1
- package/_esm/chains/opStack/abis.js +1069 -0
- package/_esm/chains/opStack/abis.js.map +1 -1
- package/_esm/chains/opStack/actions/buildProveWithdrawal.js +4 -3
- package/_esm/chains/opStack/actions/buildProveWithdrawal.js.map +1 -1
- package/_esm/chains/opStack/actions/getGame.js +40 -0
- package/_esm/chains/opStack/actions/getGame.js.map +1 -0
- package/_esm/chains/opStack/actions/getGames.js +75 -0
- package/_esm/chains/opStack/actions/getGames.js.map +1 -0
- package/_esm/chains/opStack/actions/getL2Output.js +12 -0
- package/_esm/chains/opStack/actions/getL2Output.js.map +1 -1
- package/_esm/chains/opStack/actions/getPortalVersion.js +48 -0
- package/_esm/chains/opStack/actions/getPortalVersion.js.map +1 -0
- package/_esm/chains/opStack/actions/getTimeToFinalize.js +54 -27
- package/_esm/chains/opStack/actions/getTimeToFinalize.js.map +1 -1
- package/_esm/chains/opStack/actions/getTimeToNextGame.js +71 -0
- package/_esm/chains/opStack/actions/getTimeToNextGame.js.map +1 -0
- package/_esm/chains/opStack/actions/getTimeToProve.js +10 -1
- package/_esm/chains/opStack/actions/getTimeToProve.js.map +1 -1
- package/_esm/chains/opStack/actions/getWithdrawalStatus.js +84 -32
- package/_esm/chains/opStack/actions/getWithdrawalStatus.js.map +1 -1
- package/_esm/chains/opStack/actions/proveWithdrawal.js +1 -1
- package/_esm/chains/opStack/actions/proveWithdrawal.js.map +1 -1
- package/_esm/chains/opStack/actions/waitForNextGame.js +61 -0
- package/_esm/chains/opStack/actions/waitForNextGame.js.map +1 -0
- package/_esm/chains/opStack/actions/waitForNextL2Output.js.map +1 -1
- package/_esm/chains/opStack/actions/waitToProve.js +35 -3
- package/_esm/chains/opStack/actions/waitToProve.js.map +1 -1
- package/_esm/chains/opStack/decorators/publicL1.js +10 -0
- package/_esm/chains/opStack/decorators/publicL1.js.map +1 -1
- package/_esm/chains/opStack/errors/withdrawal.js +11 -0
- package/_esm/chains/opStack/errors/withdrawal.js.map +1 -1
- package/_esm/chains/opStack/index.js +5 -0
- package/_esm/chains/opStack/index.js.map +1 -1
- package/_esm/chains/zksync/actions/deployContract.js +52 -0
- package/_esm/chains/zksync/actions/deployContract.js.map +1 -0
- package/_esm/chains/zksync/constants/abis.js +425 -0
- package/_esm/chains/zksync/constants/abis.js.map +1 -0
- package/_esm/chains/zksync/constants/address.js +2 -0
- package/_esm/chains/zksync/constants/address.js.map +1 -0
- package/_esm/chains/zksync/constants/contract.js +3 -0
- package/_esm/chains/zksync/constants/contract.js.map +1 -0
- package/_esm/chains/zksync/constants/number.js +3 -0
- package/_esm/chains/zksync/constants/number.js.map +1 -0
- package/_esm/chains/zksync/decorators/eip712.js +2 -0
- package/_esm/chains/zksync/decorators/eip712.js.map +1 -1
- package/_esm/chains/zksync/errors/bytecode.js +35 -0
- package/_esm/chains/zksync/errors/bytecode.js.map +1 -0
- package/_esm/chains/zksync/formatters.js +5 -1
- package/_esm/chains/zksync/formatters.js.map +1 -1
- package/_esm/chains/zksync/index.js +1 -0
- package/_esm/chains/zksync/index.js.map +1 -1
- package/_esm/chains/zksync/types/contract.js +2 -0
- package/_esm/chains/zksync/types/contract.js.map +1 -0
- package/_esm/chains/zksync/utils/abi/encodeDeployData.js +65 -0
- package/_esm/chains/zksync/utils/abi/encodeDeployData.js.map +1 -0
- package/_esm/chains/zksync/utils/getEip712Domain.js +4 -2
- package/_esm/chains/zksync/utils/getEip712Domain.js.map +1 -1
- package/_esm/chains/zksync/utils/hashBytecode.js +36 -0
- package/_esm/chains/zksync/utils/hashBytecode.js.map +1 -0
- package/_esm/errors/version.js +1 -1
- package/_esm/errors/version.js.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +5 -0
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
- package/_types/chains/opStack/abis.d.ts +824 -0
- package/_types/chains/opStack/abis.d.ts.map +1 -1
- package/_types/chains/opStack/actions/buildProveWithdrawal.d.ts +6 -2
- package/_types/chains/opStack/actions/buildProveWithdrawal.d.ts.map +1 -1
- package/_types/chains/opStack/actions/getGame.d.ts +57 -0
- package/_types/chains/opStack/actions/getGame.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getGames.d.ts +48 -0
- package/_types/chains/opStack/actions/getGames.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getL2Output.d.ts +8 -1
- package/_types/chains/opStack/actions/getL2Output.d.ts.map +1 -1
- package/_types/chains/opStack/actions/getPortalVersion.d.ts +46 -0
- package/_types/chains/opStack/actions/getPortalVersion.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getTimeToFinalize.d.ts.map +1 -1
- package/_types/chains/opStack/actions/getTimeToNextGame.d.ts +61 -0
- package/_types/chains/opStack/actions/getTimeToNextGame.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getTimeToProve.d.ts +6 -3
- package/_types/chains/opStack/actions/getTimeToProve.d.ts.map +1 -1
- package/_types/chains/opStack/actions/getWithdrawalStatus.d.ts +7 -1
- package/_types/chains/opStack/actions/getWithdrawalStatus.d.ts.map +1 -1
- package/_types/chains/opStack/actions/proveWithdrawal.d.ts +1 -1
- package/_types/chains/opStack/actions/proveWithdrawal.d.ts.map +1 -1
- package/_types/chains/opStack/actions/waitForNextGame.d.ts +60 -0
- package/_types/chains/opStack/actions/waitForNextGame.d.ts.map +1 -0
- package/_types/chains/opStack/actions/waitForNextL2Output.d.ts.map +1 -1
- package/_types/chains/opStack/actions/waitToProve.d.ts +10 -2
- package/_types/chains/opStack/actions/waitToProve.d.ts.map +1 -1
- package/_types/chains/opStack/decorators/publicL1.d.ts +129 -0
- package/_types/chains/opStack/decorators/publicL1.d.ts.map +1 -1
- package/_types/chains/opStack/errors/withdrawal.d.ts +7 -0
- package/_types/chains/opStack/errors/withdrawal.d.ts.map +1 -1
- package/_types/chains/opStack/index.d.ts +5 -0
- package/_types/chains/opStack/index.d.ts.map +1 -1
- package/_types/chains/opStack/types/chain.d.ts +1 -1
- package/_types/chains/opStack/types/chain.d.ts.map +1 -1
- package/_types/chains/opStack/types/withdrawal.d.ts +7 -0
- package/_types/chains/opStack/types/withdrawal.d.ts.map +1 -1
- package/_types/chains/zksync/actions/deployContract.d.ts +49 -0
- package/_types/chains/zksync/actions/deployContract.d.ts.map +1 -0
- package/_types/chains/zksync/constants/abis.d.ts +70 -0
- package/_types/chains/zksync/constants/abis.d.ts.map +1 -0
- package/_types/chains/zksync/constants/address.d.ts +2 -0
- package/_types/chains/zksync/constants/address.d.ts.map +1 -0
- package/_types/chains/zksync/constants/contract.d.ts +3 -0
- package/_types/chains/zksync/constants/contract.d.ts.map +1 -0
- package/_types/chains/zksync/constants/number.d.ts +2 -0
- package/_types/chains/zksync/constants/number.d.ts.map +1 -0
- package/_types/chains/zksync/decorators/eip712.d.ts +32 -0
- package/_types/chains/zksync/decorators/eip712.d.ts.map +1 -1
- package/_types/chains/zksync/errors/bytecode.d.ts +30 -0
- package/_types/chains/zksync/errors/bytecode.d.ts.map +1 -0
- package/_types/chains/zksync/formatters.d.ts.map +1 -1
- package/_types/chains/zksync/index.d.ts +1 -0
- package/_types/chains/zksync/index.d.ts.map +1 -1
- package/_types/chains/zksync/types/contract.d.ts +2 -0
- package/_types/chains/zksync/types/contract.d.ts.map +1 -0
- package/_types/chains/zksync/utils/abi/encodeDeployData.d.ts +13 -0
- package/_types/chains/zksync/utils/abi/encodeDeployData.d.ts.map +1 -0
- package/_types/chains/zksync/utils/getEip712Domain.d.ts.map +1 -1
- package/_types/chains/zksync/utils/hashBytecode.d.ts +3 -0
- package/_types/chains/zksync/utils/hashBytecode.d.ts.map +1 -0
- package/_types/errors/version.d.ts +1 -1
- package/_types/errors/version.d.ts.map +1 -1
- package/chains/definitions/optimismSepolia.ts +5 -0
- package/chains/opStack/abis.ts +1071 -0
- package/chains/opStack/actions/buildProveWithdrawal.ts +7 -6
- package/chains/opStack/actions/getGame.ts +99 -0
- package/chains/opStack/actions/getGames.ts +133 -0
- package/chains/opStack/actions/getL2Output.ts +44 -3
- package/chains/opStack/actions/getPortalVersion.ts +87 -0
- package/chains/opStack/actions/getTimeToFinalize.ts +64 -27
- package/chains/opStack/actions/getTimeToNextGame.ts +143 -0
- package/chains/opStack/actions/getTimeToProve.ts +43 -5
- package/chains/opStack/actions/getWithdrawalStatus.ts +130 -38
- package/chains/opStack/actions/proveWithdrawal.ts +3 -1
- package/chains/opStack/actions/waitForNextGame.ts +122 -0
- package/chains/opStack/actions/waitForNextL2Output.ts +5 -1
- package/chains/opStack/actions/waitToProve.ts +65 -7
- package/chains/opStack/decorators/publicL1.ts +164 -0
- package/chains/opStack/errors/withdrawal.ts +10 -0
- package/chains/opStack/index.ts +30 -0
- package/chains/opStack/types/chain.ts +4 -1
- package/chains/opStack/types/withdrawal.ts +8 -0
- package/chains/zksync/actions/deployContract.ts +100 -0
- package/chains/zksync/constants/abis.ts +424 -0
- package/chains/zksync/constants/address.ts +2 -0
- package/chains/zksync/constants/contract.ts +2 -0
- package/chains/zksync/constants/number.ts +3 -0
- package/chains/zksync/decorators/eip712.ts +47 -0
- package/chains/zksync/errors/bytecode.ts +46 -0
- package/chains/zksync/formatters.ts +7 -1
- package/chains/zksync/index.ts +6 -0
- package/chains/zksync/types/contract.ts +6 -0
- package/chains/zksync/utils/abi/encodeDeployData.ts +120 -0
- package/chains/zksync/utils/getEip712Domain.ts +4 -2
- package/chains/zksync/utils/hashBytecode.ts +48 -0
- package/errors/version.ts +1 -1
- package/package.json +1 -1
@@ -1198,6 +1198,830 @@ export declare const l2ToL1MessagePasserAbi: readonly [{
|
|
1198
1198
|
readonly stateMutability: "payable";
|
1199
1199
|
readonly type: "receive";
|
1200
1200
|
}];
|
1201
|
+
export declare const disputeGameFactoryAbi: readonly [{
|
1202
|
+
readonly type: "constructor";
|
1203
|
+
readonly inputs: readonly [];
|
1204
|
+
readonly stateMutability: "nonpayable";
|
1205
|
+
}, {
|
1206
|
+
readonly type: "function";
|
1207
|
+
readonly name: "create";
|
1208
|
+
readonly inputs: readonly [{
|
1209
|
+
readonly name: "_gameType";
|
1210
|
+
readonly type: "uint32";
|
1211
|
+
readonly internalType: "GameType";
|
1212
|
+
}, {
|
1213
|
+
readonly name: "_rootClaim";
|
1214
|
+
readonly type: "bytes32";
|
1215
|
+
readonly internalType: "Claim";
|
1216
|
+
}, {
|
1217
|
+
readonly name: "_extraData";
|
1218
|
+
readonly type: "bytes";
|
1219
|
+
readonly internalType: "bytes";
|
1220
|
+
}];
|
1221
|
+
readonly outputs: readonly [{
|
1222
|
+
readonly name: "proxy_";
|
1223
|
+
readonly type: "address";
|
1224
|
+
readonly internalType: "contract IDisputeGame";
|
1225
|
+
}];
|
1226
|
+
readonly stateMutability: "payable";
|
1227
|
+
}, {
|
1228
|
+
readonly type: "function";
|
1229
|
+
readonly name: "findLatestGames";
|
1230
|
+
readonly inputs: readonly [{
|
1231
|
+
readonly name: "_gameType";
|
1232
|
+
readonly type: "uint32";
|
1233
|
+
readonly internalType: "GameType";
|
1234
|
+
}, {
|
1235
|
+
readonly name: "_start";
|
1236
|
+
readonly type: "uint256";
|
1237
|
+
readonly internalType: "uint256";
|
1238
|
+
}, {
|
1239
|
+
readonly name: "_n";
|
1240
|
+
readonly type: "uint256";
|
1241
|
+
readonly internalType: "uint256";
|
1242
|
+
}];
|
1243
|
+
readonly outputs: readonly [{
|
1244
|
+
readonly name: "games_";
|
1245
|
+
readonly type: "tuple[]";
|
1246
|
+
readonly internalType: "struct IDisputeGameFactory.GameSearchResult[]";
|
1247
|
+
readonly components: readonly [{
|
1248
|
+
readonly name: "index";
|
1249
|
+
readonly type: "uint256";
|
1250
|
+
readonly internalType: "uint256";
|
1251
|
+
}, {
|
1252
|
+
readonly name: "metadata";
|
1253
|
+
readonly type: "bytes32";
|
1254
|
+
readonly internalType: "GameId";
|
1255
|
+
}, {
|
1256
|
+
readonly name: "timestamp";
|
1257
|
+
readonly type: "uint64";
|
1258
|
+
readonly internalType: "Timestamp";
|
1259
|
+
}, {
|
1260
|
+
readonly name: "rootClaim";
|
1261
|
+
readonly type: "bytes32";
|
1262
|
+
readonly internalType: "Claim";
|
1263
|
+
}, {
|
1264
|
+
readonly name: "extraData";
|
1265
|
+
readonly type: "bytes";
|
1266
|
+
readonly internalType: "bytes";
|
1267
|
+
}];
|
1268
|
+
}];
|
1269
|
+
readonly stateMutability: "view";
|
1270
|
+
}, {
|
1271
|
+
readonly type: "function";
|
1272
|
+
readonly name: "gameAtIndex";
|
1273
|
+
readonly inputs: readonly [{
|
1274
|
+
readonly name: "_index";
|
1275
|
+
readonly type: "uint256";
|
1276
|
+
readonly internalType: "uint256";
|
1277
|
+
}];
|
1278
|
+
readonly outputs: readonly [{
|
1279
|
+
readonly name: "gameType_";
|
1280
|
+
readonly type: "uint32";
|
1281
|
+
readonly internalType: "GameType";
|
1282
|
+
}, {
|
1283
|
+
readonly name: "timestamp_";
|
1284
|
+
readonly type: "uint64";
|
1285
|
+
readonly internalType: "Timestamp";
|
1286
|
+
}, {
|
1287
|
+
readonly name: "proxy_";
|
1288
|
+
readonly type: "address";
|
1289
|
+
readonly internalType: "contract IDisputeGame";
|
1290
|
+
}];
|
1291
|
+
readonly stateMutability: "view";
|
1292
|
+
}, {
|
1293
|
+
readonly type: "function";
|
1294
|
+
readonly name: "gameCount";
|
1295
|
+
readonly inputs: readonly [];
|
1296
|
+
readonly outputs: readonly [{
|
1297
|
+
readonly name: "gameCount_";
|
1298
|
+
readonly type: "uint256";
|
1299
|
+
readonly internalType: "uint256";
|
1300
|
+
}];
|
1301
|
+
readonly stateMutability: "view";
|
1302
|
+
}, {
|
1303
|
+
readonly type: "function";
|
1304
|
+
readonly name: "gameImpls";
|
1305
|
+
readonly inputs: readonly [{
|
1306
|
+
readonly name: "";
|
1307
|
+
readonly type: "uint32";
|
1308
|
+
readonly internalType: "GameType";
|
1309
|
+
}];
|
1310
|
+
readonly outputs: readonly [{
|
1311
|
+
readonly name: "";
|
1312
|
+
readonly type: "address";
|
1313
|
+
readonly internalType: "contract IDisputeGame";
|
1314
|
+
}];
|
1315
|
+
readonly stateMutability: "view";
|
1316
|
+
}, {
|
1317
|
+
readonly type: "function";
|
1318
|
+
readonly name: "games";
|
1319
|
+
readonly inputs: readonly [{
|
1320
|
+
readonly name: "_gameType";
|
1321
|
+
readonly type: "uint32";
|
1322
|
+
readonly internalType: "GameType";
|
1323
|
+
}, {
|
1324
|
+
readonly name: "_rootClaim";
|
1325
|
+
readonly type: "bytes32";
|
1326
|
+
readonly internalType: "Claim";
|
1327
|
+
}, {
|
1328
|
+
readonly name: "_extraData";
|
1329
|
+
readonly type: "bytes";
|
1330
|
+
readonly internalType: "bytes";
|
1331
|
+
}];
|
1332
|
+
readonly outputs: readonly [{
|
1333
|
+
readonly name: "proxy_";
|
1334
|
+
readonly type: "address";
|
1335
|
+
readonly internalType: "contract IDisputeGame";
|
1336
|
+
}, {
|
1337
|
+
readonly name: "timestamp_";
|
1338
|
+
readonly type: "uint64";
|
1339
|
+
readonly internalType: "Timestamp";
|
1340
|
+
}];
|
1341
|
+
readonly stateMutability: "view";
|
1342
|
+
}, {
|
1343
|
+
readonly type: "function";
|
1344
|
+
readonly name: "getGameUUID";
|
1345
|
+
readonly inputs: readonly [{
|
1346
|
+
readonly name: "_gameType";
|
1347
|
+
readonly type: "uint32";
|
1348
|
+
readonly internalType: "GameType";
|
1349
|
+
}, {
|
1350
|
+
readonly name: "_rootClaim";
|
1351
|
+
readonly type: "bytes32";
|
1352
|
+
readonly internalType: "Claim";
|
1353
|
+
}, {
|
1354
|
+
readonly name: "_extraData";
|
1355
|
+
readonly type: "bytes";
|
1356
|
+
readonly internalType: "bytes";
|
1357
|
+
}];
|
1358
|
+
readonly outputs: readonly [{
|
1359
|
+
readonly name: "uuid_";
|
1360
|
+
readonly type: "bytes32";
|
1361
|
+
readonly internalType: "Hash";
|
1362
|
+
}];
|
1363
|
+
readonly stateMutability: "pure";
|
1364
|
+
}, {
|
1365
|
+
readonly type: "function";
|
1366
|
+
readonly name: "initBonds";
|
1367
|
+
readonly inputs: readonly [{
|
1368
|
+
readonly name: "";
|
1369
|
+
readonly type: "uint32";
|
1370
|
+
readonly internalType: "GameType";
|
1371
|
+
}];
|
1372
|
+
readonly outputs: readonly [{
|
1373
|
+
readonly name: "";
|
1374
|
+
readonly type: "uint256";
|
1375
|
+
readonly internalType: "uint256";
|
1376
|
+
}];
|
1377
|
+
readonly stateMutability: "view";
|
1378
|
+
}, {
|
1379
|
+
readonly type: "function";
|
1380
|
+
readonly name: "initialize";
|
1381
|
+
readonly inputs: readonly [{
|
1382
|
+
readonly name: "_owner";
|
1383
|
+
readonly type: "address";
|
1384
|
+
readonly internalType: "address";
|
1385
|
+
}];
|
1386
|
+
readonly outputs: readonly [];
|
1387
|
+
readonly stateMutability: "nonpayable";
|
1388
|
+
}, {
|
1389
|
+
readonly type: "function";
|
1390
|
+
readonly name: "owner";
|
1391
|
+
readonly inputs: readonly [];
|
1392
|
+
readonly outputs: readonly [{
|
1393
|
+
readonly name: "";
|
1394
|
+
readonly type: "address";
|
1395
|
+
readonly internalType: "address";
|
1396
|
+
}];
|
1397
|
+
readonly stateMutability: "view";
|
1398
|
+
}, {
|
1399
|
+
readonly type: "function";
|
1400
|
+
readonly name: "renounceOwnership";
|
1401
|
+
readonly inputs: readonly [];
|
1402
|
+
readonly outputs: readonly [];
|
1403
|
+
readonly stateMutability: "nonpayable";
|
1404
|
+
}, {
|
1405
|
+
readonly type: "function";
|
1406
|
+
readonly name: "setImplementation";
|
1407
|
+
readonly inputs: readonly [{
|
1408
|
+
readonly name: "_gameType";
|
1409
|
+
readonly type: "uint32";
|
1410
|
+
readonly internalType: "GameType";
|
1411
|
+
}, {
|
1412
|
+
readonly name: "_impl";
|
1413
|
+
readonly type: "address";
|
1414
|
+
readonly internalType: "contract IDisputeGame";
|
1415
|
+
}];
|
1416
|
+
readonly outputs: readonly [];
|
1417
|
+
readonly stateMutability: "nonpayable";
|
1418
|
+
}, {
|
1419
|
+
readonly type: "function";
|
1420
|
+
readonly name: "setInitBond";
|
1421
|
+
readonly inputs: readonly [{
|
1422
|
+
readonly name: "_gameType";
|
1423
|
+
readonly type: "uint32";
|
1424
|
+
readonly internalType: "GameType";
|
1425
|
+
}, {
|
1426
|
+
readonly name: "_initBond";
|
1427
|
+
readonly type: "uint256";
|
1428
|
+
readonly internalType: "uint256";
|
1429
|
+
}];
|
1430
|
+
readonly outputs: readonly [];
|
1431
|
+
readonly stateMutability: "nonpayable";
|
1432
|
+
}, {
|
1433
|
+
readonly type: "function";
|
1434
|
+
readonly name: "transferOwnership";
|
1435
|
+
readonly inputs: readonly [{
|
1436
|
+
readonly name: "newOwner";
|
1437
|
+
readonly type: "address";
|
1438
|
+
readonly internalType: "address";
|
1439
|
+
}];
|
1440
|
+
readonly outputs: readonly [];
|
1441
|
+
readonly stateMutability: "nonpayable";
|
1442
|
+
}, {
|
1443
|
+
readonly type: "function";
|
1444
|
+
readonly name: "version";
|
1445
|
+
readonly inputs: readonly [];
|
1446
|
+
readonly outputs: readonly [{
|
1447
|
+
readonly name: "";
|
1448
|
+
readonly type: "string";
|
1449
|
+
readonly internalType: "string";
|
1450
|
+
}];
|
1451
|
+
readonly stateMutability: "view";
|
1452
|
+
}, {
|
1453
|
+
readonly type: "event";
|
1454
|
+
readonly name: "DisputeGameCreated";
|
1455
|
+
readonly inputs: readonly [{
|
1456
|
+
readonly name: "disputeProxy";
|
1457
|
+
readonly type: "address";
|
1458
|
+
readonly indexed: true;
|
1459
|
+
readonly internalType: "address";
|
1460
|
+
}, {
|
1461
|
+
readonly name: "gameType";
|
1462
|
+
readonly type: "uint32";
|
1463
|
+
readonly indexed: true;
|
1464
|
+
readonly internalType: "GameType";
|
1465
|
+
}, {
|
1466
|
+
readonly name: "rootClaim";
|
1467
|
+
readonly type: "bytes32";
|
1468
|
+
readonly indexed: true;
|
1469
|
+
readonly internalType: "Claim";
|
1470
|
+
}];
|
1471
|
+
readonly anonymous: false;
|
1472
|
+
}, {
|
1473
|
+
readonly type: "event";
|
1474
|
+
readonly name: "ImplementationSet";
|
1475
|
+
readonly inputs: readonly [{
|
1476
|
+
readonly name: "impl";
|
1477
|
+
readonly type: "address";
|
1478
|
+
readonly indexed: true;
|
1479
|
+
readonly internalType: "address";
|
1480
|
+
}, {
|
1481
|
+
readonly name: "gameType";
|
1482
|
+
readonly type: "uint32";
|
1483
|
+
readonly indexed: true;
|
1484
|
+
readonly internalType: "GameType";
|
1485
|
+
}];
|
1486
|
+
readonly anonymous: false;
|
1487
|
+
}, {
|
1488
|
+
readonly type: "event";
|
1489
|
+
readonly name: "InitBondUpdated";
|
1490
|
+
readonly inputs: readonly [{
|
1491
|
+
readonly name: "gameType";
|
1492
|
+
readonly type: "uint32";
|
1493
|
+
readonly indexed: true;
|
1494
|
+
readonly internalType: "GameType";
|
1495
|
+
}, {
|
1496
|
+
readonly name: "newBond";
|
1497
|
+
readonly type: "uint256";
|
1498
|
+
readonly indexed: true;
|
1499
|
+
readonly internalType: "uint256";
|
1500
|
+
}];
|
1501
|
+
readonly anonymous: false;
|
1502
|
+
}, {
|
1503
|
+
readonly type: "event";
|
1504
|
+
readonly name: "Initialized";
|
1505
|
+
readonly inputs: readonly [{
|
1506
|
+
readonly name: "version";
|
1507
|
+
readonly type: "uint8";
|
1508
|
+
readonly indexed: false;
|
1509
|
+
readonly internalType: "uint8";
|
1510
|
+
}];
|
1511
|
+
readonly anonymous: false;
|
1512
|
+
}, {
|
1513
|
+
readonly type: "event";
|
1514
|
+
readonly name: "OwnershipTransferred";
|
1515
|
+
readonly inputs: readonly [{
|
1516
|
+
readonly name: "previousOwner";
|
1517
|
+
readonly type: "address";
|
1518
|
+
readonly indexed: true;
|
1519
|
+
readonly internalType: "address";
|
1520
|
+
}, {
|
1521
|
+
readonly name: "newOwner";
|
1522
|
+
readonly type: "address";
|
1523
|
+
readonly indexed: true;
|
1524
|
+
readonly internalType: "address";
|
1525
|
+
}];
|
1526
|
+
readonly anonymous: false;
|
1527
|
+
}, {
|
1528
|
+
readonly type: "error";
|
1529
|
+
readonly name: "GameAlreadyExists";
|
1530
|
+
readonly inputs: readonly [{
|
1531
|
+
readonly name: "uuid";
|
1532
|
+
readonly type: "bytes32";
|
1533
|
+
readonly internalType: "Hash";
|
1534
|
+
}];
|
1535
|
+
}, {
|
1536
|
+
readonly type: "error";
|
1537
|
+
readonly name: "InsufficientBond";
|
1538
|
+
readonly inputs: readonly [];
|
1539
|
+
}, {
|
1540
|
+
readonly type: "error";
|
1541
|
+
readonly name: "NoImplementation";
|
1542
|
+
readonly inputs: readonly [{
|
1543
|
+
readonly name: "gameType";
|
1544
|
+
readonly type: "uint32";
|
1545
|
+
readonly internalType: "GameType";
|
1546
|
+
}];
|
1547
|
+
}];
|
1548
|
+
export declare const portal2Abi: readonly [{
|
1549
|
+
readonly inputs: readonly [{
|
1550
|
+
readonly internalType: "uint256";
|
1551
|
+
readonly name: "_proofMaturityDelaySeconds";
|
1552
|
+
readonly type: "uint256";
|
1553
|
+
}, {
|
1554
|
+
readonly internalType: "uint256";
|
1555
|
+
readonly name: "_disputeGameFinalityDelaySeconds";
|
1556
|
+
readonly type: "uint256";
|
1557
|
+
}, {
|
1558
|
+
readonly internalType: "GameType";
|
1559
|
+
readonly name: "_initialRespectedGameType";
|
1560
|
+
readonly type: "uint32";
|
1561
|
+
}];
|
1562
|
+
readonly stateMutability: "nonpayable";
|
1563
|
+
readonly type: "constructor";
|
1564
|
+
}, {
|
1565
|
+
readonly stateMutability: "payable";
|
1566
|
+
readonly type: "receive";
|
1567
|
+
}, {
|
1568
|
+
readonly inputs: readonly [];
|
1569
|
+
readonly name: "GUARDIAN";
|
1570
|
+
readonly outputs: readonly [{
|
1571
|
+
readonly internalType: "address";
|
1572
|
+
readonly name: "";
|
1573
|
+
readonly type: "address";
|
1574
|
+
}];
|
1575
|
+
readonly stateMutability: "view";
|
1576
|
+
readonly type: "function";
|
1577
|
+
}, {
|
1578
|
+
readonly inputs: readonly [];
|
1579
|
+
readonly name: "SYSTEM_CONFIG";
|
1580
|
+
readonly outputs: readonly [{
|
1581
|
+
readonly internalType: "contract SystemConfig";
|
1582
|
+
readonly name: "";
|
1583
|
+
readonly type: "address";
|
1584
|
+
}];
|
1585
|
+
readonly stateMutability: "view";
|
1586
|
+
readonly type: "function";
|
1587
|
+
}, {
|
1588
|
+
readonly inputs: readonly [{
|
1589
|
+
readonly internalType: "contract IDisputeGame";
|
1590
|
+
readonly name: "_disputeGame";
|
1591
|
+
readonly type: "address";
|
1592
|
+
}];
|
1593
|
+
readonly name: "blacklistDisputeGame";
|
1594
|
+
readonly outputs: readonly [];
|
1595
|
+
readonly stateMutability: "nonpayable";
|
1596
|
+
readonly type: "function";
|
1597
|
+
}, {
|
1598
|
+
readonly inputs: readonly [{
|
1599
|
+
readonly internalType: "bytes32";
|
1600
|
+
readonly name: "_withdrawalHash";
|
1601
|
+
readonly type: "bytes32";
|
1602
|
+
}];
|
1603
|
+
readonly name: "checkWithdrawal";
|
1604
|
+
readonly outputs: readonly [];
|
1605
|
+
readonly stateMutability: "view";
|
1606
|
+
readonly type: "function";
|
1607
|
+
}, {
|
1608
|
+
readonly inputs: readonly [{
|
1609
|
+
readonly internalType: "address";
|
1610
|
+
readonly name: "_to";
|
1611
|
+
readonly type: "address";
|
1612
|
+
}, {
|
1613
|
+
readonly internalType: "uint256";
|
1614
|
+
readonly name: "_value";
|
1615
|
+
readonly type: "uint256";
|
1616
|
+
}, {
|
1617
|
+
readonly internalType: "uint64";
|
1618
|
+
readonly name: "_gasLimit";
|
1619
|
+
readonly type: "uint64";
|
1620
|
+
}, {
|
1621
|
+
readonly internalType: "bool";
|
1622
|
+
readonly name: "_isCreation";
|
1623
|
+
readonly type: "bool";
|
1624
|
+
}, {
|
1625
|
+
readonly internalType: "bytes";
|
1626
|
+
readonly name: "_data";
|
1627
|
+
readonly type: "bytes";
|
1628
|
+
}];
|
1629
|
+
readonly name: "depositTransaction";
|
1630
|
+
readonly outputs: readonly [];
|
1631
|
+
readonly stateMutability: "payable";
|
1632
|
+
readonly type: "function";
|
1633
|
+
}, {
|
1634
|
+
readonly inputs: readonly [{
|
1635
|
+
readonly internalType: "contract IDisputeGame";
|
1636
|
+
readonly name: "";
|
1637
|
+
readonly type: "address";
|
1638
|
+
}];
|
1639
|
+
readonly name: "disputeGameBlacklist";
|
1640
|
+
readonly outputs: readonly [{
|
1641
|
+
readonly internalType: "bool";
|
1642
|
+
readonly name: "";
|
1643
|
+
readonly type: "bool";
|
1644
|
+
}];
|
1645
|
+
readonly stateMutability: "view";
|
1646
|
+
readonly type: "function";
|
1647
|
+
}, {
|
1648
|
+
readonly inputs: readonly [];
|
1649
|
+
readonly name: "disputeGameFactory";
|
1650
|
+
readonly outputs: readonly [{
|
1651
|
+
readonly internalType: "contract DisputeGameFactory";
|
1652
|
+
readonly name: "";
|
1653
|
+
readonly type: "address";
|
1654
|
+
}];
|
1655
|
+
readonly stateMutability: "view";
|
1656
|
+
readonly type: "function";
|
1657
|
+
}, {
|
1658
|
+
readonly inputs: readonly [];
|
1659
|
+
readonly name: "disputeGameFinalityDelaySeconds";
|
1660
|
+
readonly outputs: readonly [{
|
1661
|
+
readonly internalType: "uint256";
|
1662
|
+
readonly name: "";
|
1663
|
+
readonly type: "uint256";
|
1664
|
+
}];
|
1665
|
+
readonly stateMutability: "view";
|
1666
|
+
readonly type: "function";
|
1667
|
+
}, {
|
1668
|
+
readonly inputs: readonly [];
|
1669
|
+
readonly name: "donateETH";
|
1670
|
+
readonly outputs: readonly [];
|
1671
|
+
readonly stateMutability: "payable";
|
1672
|
+
readonly type: "function";
|
1673
|
+
}, {
|
1674
|
+
readonly inputs: readonly [{
|
1675
|
+
readonly components: readonly [{
|
1676
|
+
readonly internalType: "uint256";
|
1677
|
+
readonly name: "nonce";
|
1678
|
+
readonly type: "uint256";
|
1679
|
+
}, {
|
1680
|
+
readonly internalType: "address";
|
1681
|
+
readonly name: "sender";
|
1682
|
+
readonly type: "address";
|
1683
|
+
}, {
|
1684
|
+
readonly internalType: "address";
|
1685
|
+
readonly name: "target";
|
1686
|
+
readonly type: "address";
|
1687
|
+
}, {
|
1688
|
+
readonly internalType: "uint256";
|
1689
|
+
readonly name: "value";
|
1690
|
+
readonly type: "uint256";
|
1691
|
+
}, {
|
1692
|
+
readonly internalType: "uint256";
|
1693
|
+
readonly name: "gasLimit";
|
1694
|
+
readonly type: "uint256";
|
1695
|
+
}, {
|
1696
|
+
readonly internalType: "bytes";
|
1697
|
+
readonly name: "data";
|
1698
|
+
readonly type: "bytes";
|
1699
|
+
}];
|
1700
|
+
readonly internalType: "struct Types.WithdrawalTransaction";
|
1701
|
+
readonly name: "_tx";
|
1702
|
+
readonly type: "tuple";
|
1703
|
+
}];
|
1704
|
+
readonly name: "finalizeWithdrawalTransaction";
|
1705
|
+
readonly outputs: readonly [];
|
1706
|
+
readonly stateMutability: "nonpayable";
|
1707
|
+
readonly type: "function";
|
1708
|
+
}, {
|
1709
|
+
readonly inputs: readonly [{
|
1710
|
+
readonly internalType: "bytes32";
|
1711
|
+
readonly name: "";
|
1712
|
+
readonly type: "bytes32";
|
1713
|
+
}];
|
1714
|
+
readonly name: "finalizedWithdrawals";
|
1715
|
+
readonly outputs: readonly [{
|
1716
|
+
readonly internalType: "bool";
|
1717
|
+
readonly name: "";
|
1718
|
+
readonly type: "bool";
|
1719
|
+
}];
|
1720
|
+
readonly stateMutability: "view";
|
1721
|
+
readonly type: "function";
|
1722
|
+
}, {
|
1723
|
+
readonly inputs: readonly [];
|
1724
|
+
readonly name: "guardian";
|
1725
|
+
readonly outputs: readonly [{
|
1726
|
+
readonly internalType: "address";
|
1727
|
+
readonly name: "";
|
1728
|
+
readonly type: "address";
|
1729
|
+
}];
|
1730
|
+
readonly stateMutability: "view";
|
1731
|
+
readonly type: "function";
|
1732
|
+
}, {
|
1733
|
+
readonly inputs: readonly [{
|
1734
|
+
readonly internalType: "contract DisputeGameFactory";
|
1735
|
+
readonly name: "_disputeGameFactory";
|
1736
|
+
readonly type: "address";
|
1737
|
+
}, {
|
1738
|
+
readonly internalType: "contract SystemConfig";
|
1739
|
+
readonly name: "_systemConfig";
|
1740
|
+
readonly type: "address";
|
1741
|
+
}, {
|
1742
|
+
readonly internalType: "contract SuperchainConfig";
|
1743
|
+
readonly name: "_superchainConfig";
|
1744
|
+
readonly type: "address";
|
1745
|
+
}];
|
1746
|
+
readonly name: "initialize";
|
1747
|
+
readonly outputs: readonly [];
|
1748
|
+
readonly stateMutability: "nonpayable";
|
1749
|
+
readonly type: "function";
|
1750
|
+
}, {
|
1751
|
+
readonly inputs: readonly [];
|
1752
|
+
readonly name: "l2Sender";
|
1753
|
+
readonly outputs: readonly [{
|
1754
|
+
readonly internalType: "address";
|
1755
|
+
readonly name: "";
|
1756
|
+
readonly type: "address";
|
1757
|
+
}];
|
1758
|
+
readonly stateMutability: "view";
|
1759
|
+
readonly type: "function";
|
1760
|
+
}, {
|
1761
|
+
readonly inputs: readonly [{
|
1762
|
+
readonly internalType: "uint64";
|
1763
|
+
readonly name: "_byteCount";
|
1764
|
+
readonly type: "uint64";
|
1765
|
+
}];
|
1766
|
+
readonly name: "minimumGasLimit";
|
1767
|
+
readonly outputs: readonly [{
|
1768
|
+
readonly internalType: "uint64";
|
1769
|
+
readonly name: "";
|
1770
|
+
readonly type: "uint64";
|
1771
|
+
}];
|
1772
|
+
readonly stateMutability: "pure";
|
1773
|
+
readonly type: "function";
|
1774
|
+
}, {
|
1775
|
+
readonly inputs: readonly [];
|
1776
|
+
readonly name: "params";
|
1777
|
+
readonly outputs: readonly [{
|
1778
|
+
readonly internalType: "uint128";
|
1779
|
+
readonly name: "prevBaseFee";
|
1780
|
+
readonly type: "uint128";
|
1781
|
+
}, {
|
1782
|
+
readonly internalType: "uint64";
|
1783
|
+
readonly name: "prevBoughtGas";
|
1784
|
+
readonly type: "uint64";
|
1785
|
+
}, {
|
1786
|
+
readonly internalType: "uint64";
|
1787
|
+
readonly name: "prevBlockNum";
|
1788
|
+
readonly type: "uint64";
|
1789
|
+
}];
|
1790
|
+
readonly stateMutability: "view";
|
1791
|
+
readonly type: "function";
|
1792
|
+
}, {
|
1793
|
+
readonly inputs: readonly [];
|
1794
|
+
readonly name: "paused";
|
1795
|
+
readonly outputs: readonly [{
|
1796
|
+
readonly internalType: "bool";
|
1797
|
+
readonly name: "";
|
1798
|
+
readonly type: "bool";
|
1799
|
+
}];
|
1800
|
+
readonly stateMutability: "view";
|
1801
|
+
readonly type: "function";
|
1802
|
+
}, {
|
1803
|
+
readonly inputs: readonly [];
|
1804
|
+
readonly name: "proofMaturityDelaySeconds";
|
1805
|
+
readonly outputs: readonly [{
|
1806
|
+
readonly internalType: "uint256";
|
1807
|
+
readonly name: "";
|
1808
|
+
readonly type: "uint256";
|
1809
|
+
}];
|
1810
|
+
readonly stateMutability: "view";
|
1811
|
+
readonly type: "function";
|
1812
|
+
}, {
|
1813
|
+
readonly inputs: readonly [{
|
1814
|
+
readonly components: readonly [{
|
1815
|
+
readonly internalType: "uint256";
|
1816
|
+
readonly name: "nonce";
|
1817
|
+
readonly type: "uint256";
|
1818
|
+
}, {
|
1819
|
+
readonly internalType: "address";
|
1820
|
+
readonly name: "sender";
|
1821
|
+
readonly type: "address";
|
1822
|
+
}, {
|
1823
|
+
readonly internalType: "address";
|
1824
|
+
readonly name: "target";
|
1825
|
+
readonly type: "address";
|
1826
|
+
}, {
|
1827
|
+
readonly internalType: "uint256";
|
1828
|
+
readonly name: "value";
|
1829
|
+
readonly type: "uint256";
|
1830
|
+
}, {
|
1831
|
+
readonly internalType: "uint256";
|
1832
|
+
readonly name: "gasLimit";
|
1833
|
+
readonly type: "uint256";
|
1834
|
+
}, {
|
1835
|
+
readonly internalType: "bytes";
|
1836
|
+
readonly name: "data";
|
1837
|
+
readonly type: "bytes";
|
1838
|
+
}];
|
1839
|
+
readonly internalType: "struct Types.WithdrawalTransaction";
|
1840
|
+
readonly name: "_tx";
|
1841
|
+
readonly type: "tuple";
|
1842
|
+
}, {
|
1843
|
+
readonly internalType: "uint256";
|
1844
|
+
readonly name: "_disputeGameIndex";
|
1845
|
+
readonly type: "uint256";
|
1846
|
+
}, {
|
1847
|
+
readonly components: readonly [{
|
1848
|
+
readonly internalType: "bytes32";
|
1849
|
+
readonly name: "version";
|
1850
|
+
readonly type: "bytes32";
|
1851
|
+
}, {
|
1852
|
+
readonly internalType: "bytes32";
|
1853
|
+
readonly name: "stateRoot";
|
1854
|
+
readonly type: "bytes32";
|
1855
|
+
}, {
|
1856
|
+
readonly internalType: "bytes32";
|
1857
|
+
readonly name: "messagePasserStorageRoot";
|
1858
|
+
readonly type: "bytes32";
|
1859
|
+
}, {
|
1860
|
+
readonly internalType: "bytes32";
|
1861
|
+
readonly name: "latestBlockhash";
|
1862
|
+
readonly type: "bytes32";
|
1863
|
+
}];
|
1864
|
+
readonly internalType: "struct Types.OutputRootProof";
|
1865
|
+
readonly name: "_outputRootProof";
|
1866
|
+
readonly type: "tuple";
|
1867
|
+
}, {
|
1868
|
+
readonly internalType: "bytes[]";
|
1869
|
+
readonly name: "_withdrawalProof";
|
1870
|
+
readonly type: "bytes[]";
|
1871
|
+
}];
|
1872
|
+
readonly name: "proveWithdrawalTransaction";
|
1873
|
+
readonly outputs: readonly [];
|
1874
|
+
readonly stateMutability: "nonpayable";
|
1875
|
+
readonly type: "function";
|
1876
|
+
}, {
|
1877
|
+
readonly inputs: readonly [{
|
1878
|
+
readonly internalType: "bytes32";
|
1879
|
+
readonly name: "";
|
1880
|
+
readonly type: "bytes32";
|
1881
|
+
}];
|
1882
|
+
readonly name: "provenWithdrawals";
|
1883
|
+
readonly outputs: readonly [{
|
1884
|
+
readonly internalType: "contract IDisputeGame";
|
1885
|
+
readonly name: "disputeGameProxy";
|
1886
|
+
readonly type: "address";
|
1887
|
+
}, {
|
1888
|
+
readonly internalType: "uint64";
|
1889
|
+
readonly name: "timestamp";
|
1890
|
+
readonly type: "uint64";
|
1891
|
+
}];
|
1892
|
+
readonly stateMutability: "view";
|
1893
|
+
readonly type: "function";
|
1894
|
+
}, {
|
1895
|
+
readonly inputs: readonly [];
|
1896
|
+
readonly name: "respectedGameType";
|
1897
|
+
readonly outputs: readonly [{
|
1898
|
+
readonly internalType: "GameType";
|
1899
|
+
readonly name: "";
|
1900
|
+
readonly type: "uint32";
|
1901
|
+
}];
|
1902
|
+
readonly stateMutability: "view";
|
1903
|
+
readonly type: "function";
|
1904
|
+
}, {
|
1905
|
+
readonly inputs: readonly [];
|
1906
|
+
readonly name: "respectedGameTypeUpdatedAt";
|
1907
|
+
readonly outputs: readonly [{
|
1908
|
+
readonly internalType: "uint64";
|
1909
|
+
readonly name: "";
|
1910
|
+
readonly type: "uint64";
|
1911
|
+
}];
|
1912
|
+
readonly stateMutability: "view";
|
1913
|
+
readonly type: "function";
|
1914
|
+
}, {
|
1915
|
+
readonly inputs: readonly [{
|
1916
|
+
readonly internalType: "GameType";
|
1917
|
+
readonly name: "_gameType";
|
1918
|
+
readonly type: "uint32";
|
1919
|
+
}];
|
1920
|
+
readonly name: "setRespectedGameType";
|
1921
|
+
readonly outputs: readonly [];
|
1922
|
+
readonly stateMutability: "nonpayable";
|
1923
|
+
readonly type: "function";
|
1924
|
+
}, {
|
1925
|
+
readonly inputs: readonly [];
|
1926
|
+
readonly name: "superchainConfig";
|
1927
|
+
readonly outputs: readonly [{
|
1928
|
+
readonly internalType: "contract SuperchainConfig";
|
1929
|
+
readonly name: "";
|
1930
|
+
readonly type: "address";
|
1931
|
+
}];
|
1932
|
+
readonly stateMutability: "view";
|
1933
|
+
readonly type: "function";
|
1934
|
+
}, {
|
1935
|
+
readonly inputs: readonly [];
|
1936
|
+
readonly name: "systemConfig";
|
1937
|
+
readonly outputs: readonly [{
|
1938
|
+
readonly internalType: "contract SystemConfig";
|
1939
|
+
readonly name: "";
|
1940
|
+
readonly type: "address";
|
1941
|
+
}];
|
1942
|
+
readonly stateMutability: "view";
|
1943
|
+
readonly type: "function";
|
1944
|
+
}, {
|
1945
|
+
readonly inputs: readonly [];
|
1946
|
+
readonly name: "version";
|
1947
|
+
readonly outputs: readonly [{
|
1948
|
+
readonly internalType: "string";
|
1949
|
+
readonly name: "";
|
1950
|
+
readonly type: "string";
|
1951
|
+
}];
|
1952
|
+
readonly stateMutability: "view";
|
1953
|
+
readonly type: "function";
|
1954
|
+
}, {
|
1955
|
+
readonly anonymous: false;
|
1956
|
+
readonly inputs: readonly [{
|
1957
|
+
readonly indexed: false;
|
1958
|
+
readonly internalType: "uint8";
|
1959
|
+
readonly name: "version";
|
1960
|
+
readonly type: "uint8";
|
1961
|
+
}];
|
1962
|
+
readonly name: "Initialized";
|
1963
|
+
readonly type: "event";
|
1964
|
+
}, {
|
1965
|
+
readonly anonymous: false;
|
1966
|
+
readonly inputs: readonly [{
|
1967
|
+
readonly indexed: true;
|
1968
|
+
readonly internalType: "address";
|
1969
|
+
readonly name: "from";
|
1970
|
+
readonly type: "address";
|
1971
|
+
}, {
|
1972
|
+
readonly indexed: true;
|
1973
|
+
readonly internalType: "address";
|
1974
|
+
readonly name: "to";
|
1975
|
+
readonly type: "address";
|
1976
|
+
}, {
|
1977
|
+
readonly indexed: true;
|
1978
|
+
readonly internalType: "uint256";
|
1979
|
+
readonly name: "version";
|
1980
|
+
readonly type: "uint256";
|
1981
|
+
}, {
|
1982
|
+
readonly indexed: false;
|
1983
|
+
readonly internalType: "bytes";
|
1984
|
+
readonly name: "opaqueData";
|
1985
|
+
readonly type: "bytes";
|
1986
|
+
}];
|
1987
|
+
readonly name: "TransactionDeposited";
|
1988
|
+
readonly type: "event";
|
1989
|
+
}, {
|
1990
|
+
readonly anonymous: false;
|
1991
|
+
readonly inputs: readonly [{
|
1992
|
+
readonly indexed: true;
|
1993
|
+
readonly internalType: "bytes32";
|
1994
|
+
readonly name: "withdrawalHash";
|
1995
|
+
readonly type: "bytes32";
|
1996
|
+
}, {
|
1997
|
+
readonly indexed: false;
|
1998
|
+
readonly internalType: "bool";
|
1999
|
+
readonly name: "success";
|
2000
|
+
readonly type: "bool";
|
2001
|
+
}];
|
2002
|
+
readonly name: "WithdrawalFinalized";
|
2003
|
+
readonly type: "event";
|
2004
|
+
}, {
|
2005
|
+
readonly anonymous: false;
|
2006
|
+
readonly inputs: readonly [{
|
2007
|
+
readonly indexed: true;
|
2008
|
+
readonly internalType: "bytes32";
|
2009
|
+
readonly name: "withdrawalHash";
|
2010
|
+
readonly type: "bytes32";
|
2011
|
+
}, {
|
2012
|
+
readonly indexed: true;
|
2013
|
+
readonly internalType: "address";
|
2014
|
+
readonly name: "from";
|
2015
|
+
readonly type: "address";
|
2016
|
+
}, {
|
2017
|
+
readonly indexed: true;
|
2018
|
+
readonly internalType: "address";
|
2019
|
+
readonly name: "to";
|
2020
|
+
readonly type: "address";
|
2021
|
+
}];
|
2022
|
+
readonly name: "WithdrawalProven";
|
2023
|
+
readonly type: "event";
|
2024
|
+
}];
|
1201
2025
|
export declare const portalAbi: readonly [{
|
1202
2026
|
readonly stateMutability: "nonpayable";
|
1203
2027
|
readonly type: "constructor";
|