@bloxchain/contracts 1.0.0-alpha.2 → 1.0.0-alpha.20

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.
Files changed (42) hide show
  1. package/README.md +7 -7
  2. package/abi/BaseStateMachine.abi.json +85 -45
  3. package/abi/EngineBlox.abi.json +73 -90
  4. package/abi/GuardController.abi.json +252 -806
  5. package/abi/{SimpleVaultDefinitions.abi.json → GuardControllerDefinitions.abi.json} +170 -28
  6. package/abi/IDefinition.abi.json +5 -0
  7. package/abi/RuntimeRBAC.abi.json +155 -218
  8. package/abi/RuntimeRBACDefinitions.abi.json +179 -0
  9. package/abi/SecureOwnable.abi.json +524 -1621
  10. package/abi/SecureOwnableDefinitions.abi.json +5 -0
  11. package/components/README.md +8 -0
  12. package/core/access/RuntimeRBAC.sol +255 -270
  13. package/core/access/interface/IRuntimeRBAC.sol +55 -84
  14. package/core/access/lib/definitions/RuntimeRBACDefinitions.sol +93 -2
  15. package/core/base/BaseStateMachine.sol +193 -107
  16. package/core/base/interface/IBaseStateMachine.sol +153 -153
  17. package/core/execution/GuardController.sol +155 -131
  18. package/core/execution/interface/IGuardController.sol +146 -120
  19. package/core/execution/lib/definitions/GuardControllerDefinitions.sol +193 -43
  20. package/core/lib/EngineBlox.sol +2683 -2322
  21. package/{interfaces → core/lib/interfaces}/IDefinition.sol +49 -49
  22. package/{interfaces → core/lib/interfaces}/IEventForwarder.sol +33 -33
  23. package/{utils → core/lib/utils}/SharedValidation.sol +61 -8
  24. package/core/pattern/Account.sol +84 -0
  25. package/core/security/SecureOwnable.sol +456 -412
  26. package/core/security/interface/ISecureOwnable.sol +105 -104
  27. package/core/security/lib/definitions/SecureOwnableDefinitions.sol +22 -6
  28. package/package.json +5 -5
  29. package/standards/README.md +12 -0
  30. package/standards/behavior/ICopyable.sol +34 -0
  31. package/standards/hooks/IOnActionHook.sol +21 -0
  32. package/abi/AccountBlox.abi.json +0 -5799
  33. package/abi/BareBlox.abi.json +0 -1284
  34. package/abi/RoleBlox.abi.json +0 -4209
  35. package/abi/SecureBlox.abi.json +0 -3828
  36. package/abi/SimpleRWA20.abi.json +0 -5288
  37. package/abi/SimpleRWA20Definitions.abi.json +0 -191
  38. package/abi/SimpleVault.abi.json +0 -4951
  39. package/core/research/BloxchainWallet.sol +0 -306
  40. package/core/research/erc20-blox/ERC20Blox.sol +0 -140
  41. package/core/research/erc20-blox/lib/definitions/ERC20BloxDefinitions.sol +0 -185
  42. package/interfaces/IOnActionHook.sol +0 -79
@@ -18,44 +18,49 @@
18
18
  {
19
19
  "inputs": [
20
20
  {
21
- "internalType": "bytes32",
22
- "name": "resourceId",
23
- "type": "bytes32"
21
+ "internalType": "bytes4",
22
+ "name": "functionSelector",
23
+ "type": "bytes4"
24
24
  }
25
25
  ],
26
- "name": "CannotModifyProtected",
26
+ "name": "ContractFunctionMustBeProtected",
27
+ "type": "error"
28
+ },
29
+ {
30
+ "inputs": [],
31
+ "name": "InvalidInitialization",
27
32
  "type": "error"
28
33
  },
29
34
  {
30
35
  "inputs": [
31
36
  {
32
37
  "internalType": "address",
33
- "name": "provided",
38
+ "name": "signedContract",
39
+ "type": "address"
40
+ },
41
+ {
42
+ "internalType": "address",
43
+ "name": "entryContract",
34
44
  "type": "address"
35
45
  }
36
46
  ],
37
- "name": "InvalidAddress",
38
- "type": "error"
39
- },
40
- {
41
- "inputs": [],
42
- "name": "InvalidInitialization",
47
+ "name": "MetaTxHandlerContractMismatch",
43
48
  "type": "error"
44
49
  },
45
50
  {
46
51
  "inputs": [
47
52
  {
48
- "internalType": "uint256",
49
- "name": "from",
50
- "type": "uint256"
53
+ "internalType": "bytes4",
54
+ "name": "signedSelector",
55
+ "type": "bytes4"
51
56
  },
52
57
  {
53
- "internalType": "uint256",
54
- "name": "to",
55
- "type": "uint256"
58
+ "internalType": "bytes4",
59
+ "name": "entrySelector",
60
+ "type": "bytes4"
56
61
  }
57
62
  ],
58
- "name": "InvalidRange",
63
+ "name": "MetaTxHandlerSelectorMismatch",
59
64
  "type": "error"
60
65
  },
61
66
  {
@@ -74,22 +79,6 @@
74
79
  "name": "NotInitializing",
75
80
  "type": "error"
76
81
  },
77
- {
78
- "inputs": [
79
- {
80
- "internalType": "address",
81
- "name": "newAddress",
82
- "type": "address"
83
- },
84
- {
85
- "internalType": "address",
86
- "name": "currentAddress",
87
- "type": "address"
88
- }
89
- ],
90
- "name": "NotNewAddress",
91
- "type": "error"
92
- },
93
82
  {
94
83
  "inputs": [
95
84
  {
@@ -314,25 +303,6 @@
314
303
  "stateMutability": "view",
315
304
  "type": "function"
316
305
  },
317
- {
318
- "inputs": [
319
- {
320
- "internalType": "bytes4",
321
- "name": "functionSelector",
322
- "type": "bytes4"
323
- }
324
- ],
325
- "name": "functionSchemaExists",
326
- "outputs": [
327
- {
328
- "internalType": "bool",
329
- "name": "",
330
- "type": "bool"
331
- }
332
- ],
333
- "stateMutability": "view",
334
- "type": "function"
335
- },
336
306
  {
337
307
  "inputs": [
338
308
  {
@@ -861,6 +831,25 @@
861
831
  "stateMutability": "view",
862
832
  "type": "function"
863
833
  },
834
+ {
835
+ "inputs": [
836
+ {
837
+ "internalType": "bytes32",
838
+ "name": "roleHash",
839
+ "type": "bytes32"
840
+ }
841
+ ],
842
+ "name": "getAuthorizedWallets",
843
+ "outputs": [
844
+ {
845
+ "internalType": "address[]",
846
+ "name": "",
847
+ "type": "address[]"
848
+ }
849
+ ],
850
+ "stateMutability": "view",
851
+ "type": "function"
852
+ },
864
853
  {
865
854
  "inputs": [],
866
855
  "name": "getBroadcasters",
@@ -874,6 +863,105 @@
874
863
  "stateMutability": "view",
875
864
  "type": "function"
876
865
  },
866
+ {
867
+ "inputs": [
868
+ {
869
+ "internalType": "bytes4",
870
+ "name": "functionSelector",
871
+ "type": "bytes4"
872
+ }
873
+ ],
874
+ "name": "getFunctionSchema",
875
+ "outputs": [
876
+ {
877
+ "components": [
878
+ {
879
+ "internalType": "string",
880
+ "name": "functionSignature",
881
+ "type": "string"
882
+ },
883
+ {
884
+ "internalType": "bytes4",
885
+ "name": "functionSelector",
886
+ "type": "bytes4"
887
+ },
888
+ {
889
+ "internalType": "bytes32",
890
+ "name": "operationType",
891
+ "type": "bytes32"
892
+ },
893
+ {
894
+ "internalType": "string",
895
+ "name": "operationName",
896
+ "type": "string"
897
+ },
898
+ {
899
+ "internalType": "uint16",
900
+ "name": "supportedActionsBitmap",
901
+ "type": "uint16"
902
+ },
903
+ {
904
+ "internalType": "bool",
905
+ "name": "enforceHandlerRelations",
906
+ "type": "bool"
907
+ },
908
+ {
909
+ "internalType": "bool",
910
+ "name": "isProtected",
911
+ "type": "bool"
912
+ },
913
+ {
914
+ "internalType": "bytes4[]",
915
+ "name": "handlerForSelectors",
916
+ "type": "bytes4[]"
917
+ }
918
+ ],
919
+ "internalType": "struct EngineBlox.FunctionSchema",
920
+ "name": "",
921
+ "type": "tuple"
922
+ }
923
+ ],
924
+ "stateMutability": "view",
925
+ "type": "function"
926
+ },
927
+ {
928
+ "inputs": [
929
+ {
930
+ "internalType": "bytes4",
931
+ "name": "functionSelector",
932
+ "type": "bytes4"
933
+ }
934
+ ],
935
+ "name": "getFunctionWhitelistTargets",
936
+ "outputs": [
937
+ {
938
+ "internalType": "address[]",
939
+ "name": "",
940
+ "type": "address[]"
941
+ }
942
+ ],
943
+ "stateMutability": "view",
944
+ "type": "function"
945
+ },
946
+ {
947
+ "inputs": [
948
+ {
949
+ "internalType": "bytes4",
950
+ "name": "functionSelector",
951
+ "type": "bytes4"
952
+ }
953
+ ],
954
+ "name": "getHooks",
955
+ "outputs": [
956
+ {
957
+ "internalType": "address[]",
958
+ "name": "hooks",
959
+ "type": "address[]"
960
+ }
961
+ ],
962
+ "stateMutability": "view",
963
+ "type": "function"
964
+ },
877
965
  {
878
966
  "inputs": [],
879
967
  "name": "getPendingTransactions",
@@ -917,7 +1005,7 @@
917
1005
  },
918
1006
  {
919
1007
  "internalType": "bytes32",
920
- "name": "roleHashReturn",
1008
+ "name": "hash",
921
1009
  "type": "bytes32"
922
1010
  },
923
1011
  {
@@ -1264,25 +1352,6 @@
1264
1352
  "stateMutability": "view",
1265
1353
  "type": "function"
1266
1354
  },
1267
- {
1268
- "inputs": [
1269
- {
1270
- "internalType": "bytes32",
1271
- "name": "roleHash",
1272
- "type": "bytes32"
1273
- }
1274
- ],
1275
- "name": "getWalletsInRole",
1276
- "outputs": [
1277
- {
1278
- "internalType": "address[]",
1279
- "name": "",
1280
- "type": "address[]"
1281
- }
1282
- ],
1283
- "stateMutability": "view",
1284
- "type": "function"
1285
- },
1286
1355
  {
1287
1356
  "inputs": [
1288
1357
  {
@@ -1320,30 +1389,6 @@
1320
1389
  "stateMutability": "view",
1321
1390
  "type": "function"
1322
1391
  },
1323
- {
1324
- "inputs": [
1325
- {
1326
- "internalType": "bytes4",
1327
- "name": "functionSelector",
1328
- "type": "bytes4"
1329
- },
1330
- {
1331
- "internalType": "enum EngineBlox.TxAction",
1332
- "name": "action",
1333
- "type": "uint8"
1334
- }
1335
- ],
1336
- "name": "isActionSupportedByFunction",
1337
- "outputs": [
1338
- {
1339
- "internalType": "bool",
1340
- "name": "",
1341
- "type": "bool"
1342
- }
1343
- ],
1344
- "stateMutability": "view",
1345
- "type": "function"
1346
- },
1347
1392
  {
1348
1393
  "inputs": [],
1349
1394
  "name": "owner",
@@ -1413,177 +1458,183 @@
1413
1458
  "inputs": [],
1414
1459
  "name": "transferOwnershipRequest",
1415
1460
  "outputs": [
1461
+ {
1462
+ "internalType": "uint256",
1463
+ "name": "txId",
1464
+ "type": "uint256"
1465
+ }
1466
+ ],
1467
+ "stateMutability": "nonpayable",
1468
+ "type": "function"
1469
+ },
1470
+ {
1471
+ "inputs": [
1472
+ {
1473
+ "internalType": "uint256",
1474
+ "name": "txId",
1475
+ "type": "uint256"
1476
+ }
1477
+ ],
1478
+ "name": "transferOwnershipDelayedApproval",
1479
+ "outputs": [
1480
+ {
1481
+ "internalType": "uint256",
1482
+ "name": "",
1483
+ "type": "uint256"
1484
+ }
1485
+ ],
1486
+ "stateMutability": "nonpayable",
1487
+ "type": "function"
1488
+ },
1489
+ {
1490
+ "inputs": [
1416
1491
  {
1417
1492
  "components": [
1418
- {
1419
- "internalType": "uint256",
1420
- "name": "txId",
1421
- "type": "uint256"
1422
- },
1423
- {
1424
- "internalType": "uint256",
1425
- "name": "releaseTime",
1426
- "type": "uint256"
1427
- },
1428
- {
1429
- "internalType": "enum EngineBlox.TxStatus",
1430
- "name": "status",
1431
- "type": "uint8"
1432
- },
1433
1493
  {
1434
1494
  "components": [
1435
1495
  {
1436
- "internalType": "address",
1437
- "name": "requester",
1438
- "type": "address"
1439
- },
1440
- {
1441
- "internalType": "address",
1442
- "name": "target",
1443
- "type": "address"
1496
+ "internalType": "uint256",
1497
+ "name": "txId",
1498
+ "type": "uint256"
1444
1499
  },
1445
1500
  {
1446
1501
  "internalType": "uint256",
1447
- "name": "value",
1502
+ "name": "releaseTime",
1448
1503
  "type": "uint256"
1449
1504
  },
1450
1505
  {
1451
- "internalType": "uint256",
1452
- "name": "gasLimit",
1453
- "type": "uint256"
1506
+ "internalType": "enum EngineBlox.TxStatus",
1507
+ "name": "status",
1508
+ "type": "uint8"
1454
1509
  },
1455
1510
  {
1456
- "internalType": "bytes32",
1457
- "name": "operationType",
1458
- "type": "bytes32"
1511
+ "components": [
1512
+ {
1513
+ "internalType": "address",
1514
+ "name": "requester",
1515
+ "type": "address"
1516
+ },
1517
+ {
1518
+ "internalType": "address",
1519
+ "name": "target",
1520
+ "type": "address"
1521
+ },
1522
+ {
1523
+ "internalType": "uint256",
1524
+ "name": "value",
1525
+ "type": "uint256"
1526
+ },
1527
+ {
1528
+ "internalType": "uint256",
1529
+ "name": "gasLimit",
1530
+ "type": "uint256"
1531
+ },
1532
+ {
1533
+ "internalType": "bytes32",
1534
+ "name": "operationType",
1535
+ "type": "bytes32"
1536
+ },
1537
+ {
1538
+ "internalType": "bytes4",
1539
+ "name": "executionSelector",
1540
+ "type": "bytes4"
1541
+ },
1542
+ {
1543
+ "internalType": "bytes",
1544
+ "name": "executionParams",
1545
+ "type": "bytes"
1546
+ }
1547
+ ],
1548
+ "internalType": "struct EngineBlox.TxParams",
1549
+ "name": "params",
1550
+ "type": "tuple"
1459
1551
  },
1460
1552
  {
1461
- "internalType": "bytes4",
1462
- "name": "executionSelector",
1463
- "type": "bytes4"
1553
+ "internalType": "bytes32",
1554
+ "name": "message",
1555
+ "type": "bytes32"
1464
1556
  },
1465
1557
  {
1466
1558
  "internalType": "bytes",
1467
- "name": "executionParams",
1559
+ "name": "result",
1468
1560
  "type": "bytes"
1561
+ },
1562
+ {
1563
+ "components": [
1564
+ {
1565
+ "internalType": "address",
1566
+ "name": "recipient",
1567
+ "type": "address"
1568
+ },
1569
+ {
1570
+ "internalType": "uint256",
1571
+ "name": "nativeTokenAmount",
1572
+ "type": "uint256"
1573
+ },
1574
+ {
1575
+ "internalType": "address",
1576
+ "name": "erc20TokenAddress",
1577
+ "type": "address"
1578
+ },
1579
+ {
1580
+ "internalType": "uint256",
1581
+ "name": "erc20TokenAmount",
1582
+ "type": "uint256"
1583
+ }
1584
+ ],
1585
+ "internalType": "struct EngineBlox.PaymentDetails",
1586
+ "name": "payment",
1587
+ "type": "tuple"
1469
1588
  }
1470
1589
  ],
1471
- "internalType": "struct EngineBlox.TxParams",
1472
- "name": "params",
1590
+ "internalType": "struct EngineBlox.TxRecord",
1591
+ "name": "txRecord",
1473
1592
  "type": "tuple"
1474
1593
  },
1475
- {
1476
- "internalType": "bytes32",
1477
- "name": "message",
1478
- "type": "bytes32"
1479
- },
1480
- {
1481
- "internalType": "bytes",
1482
- "name": "result",
1483
- "type": "bytes"
1484
- },
1485
1594
  {
1486
1595
  "components": [
1487
1596
  {
1488
- "internalType": "address",
1489
- "name": "recipient",
1490
- "type": "address"
1597
+ "internalType": "uint256",
1598
+ "name": "chainId",
1599
+ "type": "uint256"
1491
1600
  },
1492
1601
  {
1493
1602
  "internalType": "uint256",
1494
- "name": "nativeTokenAmount",
1603
+ "name": "nonce",
1495
1604
  "type": "uint256"
1496
1605
  },
1497
1606
  {
1498
1607
  "internalType": "address",
1499
- "name": "erc20TokenAddress",
1608
+ "name": "handlerContract",
1500
1609
  "type": "address"
1501
1610
  },
1502
1611
  {
1503
- "internalType": "uint256",
1504
- "name": "erc20TokenAmount",
1505
- "type": "uint256"
1506
- }
1507
- ],
1508
- "internalType": "struct EngineBlox.PaymentDetails",
1509
- "name": "payment",
1510
- "type": "tuple"
1511
- }
1512
- ],
1513
- "internalType": "struct EngineBlox.TxRecord",
1514
- "name": "",
1515
- "type": "tuple"
1516
- }
1517
- ],
1518
- "stateMutability": "nonpayable",
1519
- "type": "function"
1520
- },
1521
- {
1522
- "inputs": [
1523
- {
1524
- "internalType": "uint256",
1525
- "name": "txId",
1526
- "type": "uint256"
1527
- }
1528
- ],
1529
- "name": "transferOwnershipDelayedApproval",
1530
- "outputs": [
1531
- {
1532
- "components": [
1533
- {
1534
- "internalType": "uint256",
1535
- "name": "txId",
1536
- "type": "uint256"
1537
- },
1538
- {
1539
- "internalType": "uint256",
1540
- "name": "releaseTime",
1541
- "type": "uint256"
1542
- },
1543
- {
1544
- "internalType": "enum EngineBlox.TxStatus",
1545
- "name": "status",
1546
- "type": "uint8"
1547
- },
1548
- {
1549
- "components": [
1550
- {
1551
- "internalType": "address",
1552
- "name": "requester",
1553
- "type": "address"
1612
+ "internalType": "bytes4",
1613
+ "name": "handlerSelector",
1614
+ "type": "bytes4"
1554
1615
  },
1555
1616
  {
1556
- "internalType": "address",
1557
- "name": "target",
1558
- "type": "address"
1617
+ "internalType": "enum EngineBlox.TxAction",
1618
+ "name": "action",
1619
+ "type": "uint8"
1559
1620
  },
1560
1621
  {
1561
1622
  "internalType": "uint256",
1562
- "name": "value",
1623
+ "name": "deadline",
1563
1624
  "type": "uint256"
1564
1625
  },
1565
1626
  {
1566
1627
  "internalType": "uint256",
1567
- "name": "gasLimit",
1628
+ "name": "maxGasPrice",
1568
1629
  "type": "uint256"
1569
1630
  },
1570
1631
  {
1571
- "internalType": "bytes32",
1572
- "name": "operationType",
1573
- "type": "bytes32"
1574
- },
1575
- {
1576
- "internalType": "bytes4",
1577
- "name": "executionSelector",
1578
- "type": "bytes4"
1579
- },
1580
- {
1581
- "internalType": "bytes",
1582
- "name": "executionParams",
1583
- "type": "bytes"
1632
+ "internalType": "address",
1633
+ "name": "signer",
1634
+ "type": "address"
1584
1635
  }
1585
1636
  ],
1586
- "internalType": "struct EngineBlox.TxParams",
1637
+ "internalType": "struct EngineBlox.MetaTxParams",
1587
1638
  "name": "params",
1588
1639
  "type": "tuple"
1589
1640
  },
@@ -1594,42 +1645,47 @@
1594
1645
  },
1595
1646
  {
1596
1647
  "internalType": "bytes",
1597
- "name": "result",
1648
+ "name": "signature",
1598
1649
  "type": "bytes"
1599
1650
  },
1600
1651
  {
1601
- "components": [
1602
- {
1603
- "internalType": "address",
1604
- "name": "recipient",
1605
- "type": "address"
1606
- },
1607
- {
1608
- "internalType": "uint256",
1609
- "name": "nativeTokenAmount",
1610
- "type": "uint256"
1611
- },
1612
- {
1613
- "internalType": "address",
1614
- "name": "erc20TokenAddress",
1615
- "type": "address"
1616
- },
1617
- {
1618
- "internalType": "uint256",
1619
- "name": "erc20TokenAmount",
1620
- "type": "uint256"
1621
- }
1622
- ],
1623
- "internalType": "struct EngineBlox.PaymentDetails",
1624
- "name": "payment",
1625
- "type": "tuple"
1652
+ "internalType": "bytes",
1653
+ "name": "data",
1654
+ "type": "bytes"
1626
1655
  }
1627
1656
  ],
1628
- "internalType": "struct EngineBlox.TxRecord",
1629
- "name": "",
1657
+ "internalType": "struct EngineBlox.MetaTransaction",
1658
+ "name": "metaTx",
1630
1659
  "type": "tuple"
1631
1660
  }
1632
1661
  ],
1662
+ "name": "transferOwnershipApprovalWithMetaTx",
1663
+ "outputs": [
1664
+ {
1665
+ "internalType": "uint256",
1666
+ "name": "",
1667
+ "type": "uint256"
1668
+ }
1669
+ ],
1670
+ "stateMutability": "nonpayable",
1671
+ "type": "function"
1672
+ },
1673
+ {
1674
+ "inputs": [
1675
+ {
1676
+ "internalType": "uint256",
1677
+ "name": "txId",
1678
+ "type": "uint256"
1679
+ }
1680
+ ],
1681
+ "name": "transferOwnershipCancellation",
1682
+ "outputs": [
1683
+ {
1684
+ "internalType": "uint256",
1685
+ "name": "",
1686
+ "type": "uint256"
1687
+ }
1688
+ ],
1633
1689
  "stateMutability": "nonpayable",
1634
1690
  "type": "function"
1635
1691
  },
@@ -1806,1128 +1862,55 @@
1806
1862
  "type": "tuple"
1807
1863
  }
1808
1864
  ],
1809
- "name": "transferOwnershipApprovalWithMetaTx",
1865
+ "name": "transferOwnershipCancellationWithMetaTx",
1810
1866
  "outputs": [
1811
1867
  {
1812
- "components": [
1813
- {
1814
- "internalType": "uint256",
1815
- "name": "txId",
1816
- "type": "uint256"
1817
- },
1818
- {
1819
- "internalType": "uint256",
1820
- "name": "releaseTime",
1821
- "type": "uint256"
1822
- },
1823
- {
1824
- "internalType": "enum EngineBlox.TxStatus",
1825
- "name": "status",
1826
- "type": "uint8"
1827
- },
1828
- {
1829
- "components": [
1830
- {
1831
- "internalType": "address",
1832
- "name": "requester",
1833
- "type": "address"
1834
- },
1835
- {
1836
- "internalType": "address",
1837
- "name": "target",
1838
- "type": "address"
1839
- },
1840
- {
1841
- "internalType": "uint256",
1842
- "name": "value",
1843
- "type": "uint256"
1844
- },
1845
- {
1846
- "internalType": "uint256",
1847
- "name": "gasLimit",
1848
- "type": "uint256"
1849
- },
1850
- {
1851
- "internalType": "bytes32",
1852
- "name": "operationType",
1853
- "type": "bytes32"
1854
- },
1855
- {
1856
- "internalType": "bytes4",
1857
- "name": "executionSelector",
1858
- "type": "bytes4"
1859
- },
1860
- {
1861
- "internalType": "bytes",
1862
- "name": "executionParams",
1863
- "type": "bytes"
1864
- }
1865
- ],
1866
- "internalType": "struct EngineBlox.TxParams",
1867
- "name": "params",
1868
- "type": "tuple"
1869
- },
1870
- {
1871
- "internalType": "bytes32",
1872
- "name": "message",
1873
- "type": "bytes32"
1874
- },
1875
- {
1876
- "internalType": "bytes",
1877
- "name": "result",
1878
- "type": "bytes"
1879
- },
1880
- {
1881
- "components": [
1882
- {
1883
- "internalType": "address",
1884
- "name": "recipient",
1885
- "type": "address"
1886
- },
1887
- {
1888
- "internalType": "uint256",
1889
- "name": "nativeTokenAmount",
1890
- "type": "uint256"
1891
- },
1892
- {
1893
- "internalType": "address",
1894
- "name": "erc20TokenAddress",
1895
- "type": "address"
1896
- },
1897
- {
1898
- "internalType": "uint256",
1899
- "name": "erc20TokenAmount",
1900
- "type": "uint256"
1901
- }
1902
- ],
1903
- "internalType": "struct EngineBlox.PaymentDetails",
1904
- "name": "payment",
1905
- "type": "tuple"
1906
- }
1907
- ],
1908
- "internalType": "struct EngineBlox.TxRecord",
1909
- "name": "",
1910
- "type": "tuple"
1911
- }
1912
- ],
1913
- "stateMutability": "nonpayable",
1914
- "type": "function"
1915
- },
1916
- {
1917
- "inputs": [
1918
- {
1919
- "internalType": "uint256",
1920
- "name": "txId",
1921
- "type": "uint256"
1922
- }
1923
- ],
1924
- "name": "transferOwnershipCancellation",
1925
- "outputs": [
1926
- {
1927
- "components": [
1928
- {
1929
- "internalType": "uint256",
1930
- "name": "txId",
1931
- "type": "uint256"
1932
- },
1933
- {
1934
- "internalType": "uint256",
1935
- "name": "releaseTime",
1936
- "type": "uint256"
1937
- },
1938
- {
1939
- "internalType": "enum EngineBlox.TxStatus",
1940
- "name": "status",
1941
- "type": "uint8"
1942
- },
1943
- {
1944
- "components": [
1945
- {
1946
- "internalType": "address",
1947
- "name": "requester",
1948
- "type": "address"
1949
- },
1950
- {
1951
- "internalType": "address",
1952
- "name": "target",
1953
- "type": "address"
1954
- },
1955
- {
1956
- "internalType": "uint256",
1957
- "name": "value",
1958
- "type": "uint256"
1959
- },
1960
- {
1961
- "internalType": "uint256",
1962
- "name": "gasLimit",
1963
- "type": "uint256"
1964
- },
1965
- {
1966
- "internalType": "bytes32",
1967
- "name": "operationType",
1968
- "type": "bytes32"
1969
- },
1970
- {
1971
- "internalType": "bytes4",
1972
- "name": "executionSelector",
1973
- "type": "bytes4"
1974
- },
1975
- {
1976
- "internalType": "bytes",
1977
- "name": "executionParams",
1978
- "type": "bytes"
1979
- }
1980
- ],
1981
- "internalType": "struct EngineBlox.TxParams",
1982
- "name": "params",
1983
- "type": "tuple"
1984
- },
1985
- {
1986
- "internalType": "bytes32",
1987
- "name": "message",
1988
- "type": "bytes32"
1989
- },
1990
- {
1991
- "internalType": "bytes",
1992
- "name": "result",
1993
- "type": "bytes"
1994
- },
1995
- {
1996
- "components": [
1997
- {
1998
- "internalType": "address",
1999
- "name": "recipient",
2000
- "type": "address"
2001
- },
2002
- {
2003
- "internalType": "uint256",
2004
- "name": "nativeTokenAmount",
2005
- "type": "uint256"
2006
- },
2007
- {
2008
- "internalType": "address",
2009
- "name": "erc20TokenAddress",
2010
- "type": "address"
2011
- },
2012
- {
2013
- "internalType": "uint256",
2014
- "name": "erc20TokenAmount",
2015
- "type": "uint256"
2016
- }
2017
- ],
2018
- "internalType": "struct EngineBlox.PaymentDetails",
2019
- "name": "payment",
2020
- "type": "tuple"
2021
- }
2022
- ],
2023
- "internalType": "struct EngineBlox.TxRecord",
2024
- "name": "",
2025
- "type": "tuple"
2026
- }
2027
- ],
2028
- "stateMutability": "nonpayable",
2029
- "type": "function"
2030
- },
2031
- {
2032
- "inputs": [
2033
- {
2034
- "components": [
2035
- {
2036
- "components": [
2037
- {
2038
- "internalType": "uint256",
2039
- "name": "txId",
2040
- "type": "uint256"
2041
- },
2042
- {
2043
- "internalType": "uint256",
2044
- "name": "releaseTime",
2045
- "type": "uint256"
2046
- },
2047
- {
2048
- "internalType": "enum EngineBlox.TxStatus",
2049
- "name": "status",
2050
- "type": "uint8"
2051
- },
2052
- {
2053
- "components": [
2054
- {
2055
- "internalType": "address",
2056
- "name": "requester",
2057
- "type": "address"
2058
- },
2059
- {
2060
- "internalType": "address",
2061
- "name": "target",
2062
- "type": "address"
2063
- },
2064
- {
2065
- "internalType": "uint256",
2066
- "name": "value",
2067
- "type": "uint256"
2068
- },
2069
- {
2070
- "internalType": "uint256",
2071
- "name": "gasLimit",
2072
- "type": "uint256"
2073
- },
2074
- {
2075
- "internalType": "bytes32",
2076
- "name": "operationType",
2077
- "type": "bytes32"
2078
- },
2079
- {
2080
- "internalType": "bytes4",
2081
- "name": "executionSelector",
2082
- "type": "bytes4"
2083
- },
2084
- {
2085
- "internalType": "bytes",
2086
- "name": "executionParams",
2087
- "type": "bytes"
2088
- }
2089
- ],
2090
- "internalType": "struct EngineBlox.TxParams",
2091
- "name": "params",
2092
- "type": "tuple"
2093
- },
2094
- {
2095
- "internalType": "bytes32",
2096
- "name": "message",
2097
- "type": "bytes32"
2098
- },
2099
- {
2100
- "internalType": "bytes",
2101
- "name": "result",
2102
- "type": "bytes"
2103
- },
2104
- {
2105
- "components": [
2106
- {
2107
- "internalType": "address",
2108
- "name": "recipient",
2109
- "type": "address"
2110
- },
2111
- {
2112
- "internalType": "uint256",
2113
- "name": "nativeTokenAmount",
2114
- "type": "uint256"
2115
- },
2116
- {
2117
- "internalType": "address",
2118
- "name": "erc20TokenAddress",
2119
- "type": "address"
2120
- },
2121
- {
2122
- "internalType": "uint256",
2123
- "name": "erc20TokenAmount",
2124
- "type": "uint256"
2125
- }
2126
- ],
2127
- "internalType": "struct EngineBlox.PaymentDetails",
2128
- "name": "payment",
2129
- "type": "tuple"
2130
- }
2131
- ],
2132
- "internalType": "struct EngineBlox.TxRecord",
2133
- "name": "txRecord",
2134
- "type": "tuple"
2135
- },
2136
- {
2137
- "components": [
2138
- {
2139
- "internalType": "uint256",
2140
- "name": "chainId",
2141
- "type": "uint256"
2142
- },
2143
- {
2144
- "internalType": "uint256",
2145
- "name": "nonce",
2146
- "type": "uint256"
2147
- },
2148
- {
2149
- "internalType": "address",
2150
- "name": "handlerContract",
2151
- "type": "address"
2152
- },
2153
- {
2154
- "internalType": "bytes4",
2155
- "name": "handlerSelector",
2156
- "type": "bytes4"
2157
- },
2158
- {
2159
- "internalType": "enum EngineBlox.TxAction",
2160
- "name": "action",
2161
- "type": "uint8"
2162
- },
2163
- {
2164
- "internalType": "uint256",
2165
- "name": "deadline",
2166
- "type": "uint256"
2167
- },
2168
- {
2169
- "internalType": "uint256",
2170
- "name": "maxGasPrice",
2171
- "type": "uint256"
2172
- },
2173
- {
2174
- "internalType": "address",
2175
- "name": "signer",
2176
- "type": "address"
2177
- }
2178
- ],
2179
- "internalType": "struct EngineBlox.MetaTxParams",
2180
- "name": "params",
2181
- "type": "tuple"
2182
- },
2183
- {
2184
- "internalType": "bytes32",
2185
- "name": "message",
2186
- "type": "bytes32"
2187
- },
2188
- {
2189
- "internalType": "bytes",
2190
- "name": "signature",
2191
- "type": "bytes"
2192
- },
2193
- {
2194
- "internalType": "bytes",
2195
- "name": "data",
2196
- "type": "bytes"
2197
- }
2198
- ],
2199
- "internalType": "struct EngineBlox.MetaTransaction",
2200
- "name": "metaTx",
2201
- "type": "tuple"
2202
- }
2203
- ],
2204
- "name": "transferOwnershipCancellationWithMetaTx",
2205
- "outputs": [
2206
- {
2207
- "components": [
2208
- {
2209
- "internalType": "uint256",
2210
- "name": "txId",
2211
- "type": "uint256"
2212
- },
2213
- {
2214
- "internalType": "uint256",
2215
- "name": "releaseTime",
2216
- "type": "uint256"
2217
- },
2218
- {
2219
- "internalType": "enum EngineBlox.TxStatus",
2220
- "name": "status",
2221
- "type": "uint8"
2222
- },
2223
- {
2224
- "components": [
2225
- {
2226
- "internalType": "address",
2227
- "name": "requester",
2228
- "type": "address"
2229
- },
2230
- {
2231
- "internalType": "address",
2232
- "name": "target",
2233
- "type": "address"
2234
- },
2235
- {
2236
- "internalType": "uint256",
2237
- "name": "value",
2238
- "type": "uint256"
2239
- },
2240
- {
2241
- "internalType": "uint256",
2242
- "name": "gasLimit",
2243
- "type": "uint256"
2244
- },
2245
- {
2246
- "internalType": "bytes32",
2247
- "name": "operationType",
2248
- "type": "bytes32"
2249
- },
2250
- {
2251
- "internalType": "bytes4",
2252
- "name": "executionSelector",
2253
- "type": "bytes4"
2254
- },
2255
- {
2256
- "internalType": "bytes",
2257
- "name": "executionParams",
2258
- "type": "bytes"
2259
- }
2260
- ],
2261
- "internalType": "struct EngineBlox.TxParams",
2262
- "name": "params",
2263
- "type": "tuple"
2264
- },
2265
- {
2266
- "internalType": "bytes32",
2267
- "name": "message",
2268
- "type": "bytes32"
2269
- },
2270
- {
2271
- "internalType": "bytes",
2272
- "name": "result",
2273
- "type": "bytes"
2274
- },
2275
- {
2276
- "components": [
2277
- {
2278
- "internalType": "address",
2279
- "name": "recipient",
2280
- "type": "address"
2281
- },
2282
- {
2283
- "internalType": "uint256",
2284
- "name": "nativeTokenAmount",
2285
- "type": "uint256"
2286
- },
2287
- {
2288
- "internalType": "address",
2289
- "name": "erc20TokenAddress",
2290
- "type": "address"
2291
- },
2292
- {
2293
- "internalType": "uint256",
2294
- "name": "erc20TokenAmount",
2295
- "type": "uint256"
2296
- }
2297
- ],
2298
- "internalType": "struct EngineBlox.PaymentDetails",
2299
- "name": "payment",
2300
- "type": "tuple"
2301
- }
2302
- ],
2303
- "internalType": "struct EngineBlox.TxRecord",
2304
- "name": "",
2305
- "type": "tuple"
2306
- }
2307
- ],
2308
- "stateMutability": "nonpayable",
2309
- "type": "function"
2310
- },
2311
- {
2312
- "inputs": [
2313
- {
2314
- "internalType": "address",
2315
- "name": "newBroadcaster",
2316
- "type": "address"
2317
- }
2318
- ],
2319
- "name": "updateBroadcasterRequest",
2320
- "outputs": [
2321
- {
2322
- "components": [
2323
- {
2324
- "internalType": "uint256",
2325
- "name": "txId",
2326
- "type": "uint256"
2327
- },
2328
- {
2329
- "internalType": "uint256",
2330
- "name": "releaseTime",
2331
- "type": "uint256"
2332
- },
2333
- {
2334
- "internalType": "enum EngineBlox.TxStatus",
2335
- "name": "status",
2336
- "type": "uint8"
2337
- },
2338
- {
2339
- "components": [
2340
- {
2341
- "internalType": "address",
2342
- "name": "requester",
2343
- "type": "address"
2344
- },
2345
- {
2346
- "internalType": "address",
2347
- "name": "target",
2348
- "type": "address"
2349
- },
2350
- {
2351
- "internalType": "uint256",
2352
- "name": "value",
2353
- "type": "uint256"
2354
- },
2355
- {
2356
- "internalType": "uint256",
2357
- "name": "gasLimit",
2358
- "type": "uint256"
2359
- },
2360
- {
2361
- "internalType": "bytes32",
2362
- "name": "operationType",
2363
- "type": "bytes32"
2364
- },
2365
- {
2366
- "internalType": "bytes4",
2367
- "name": "executionSelector",
2368
- "type": "bytes4"
2369
- },
2370
- {
2371
- "internalType": "bytes",
2372
- "name": "executionParams",
2373
- "type": "bytes"
2374
- }
2375
- ],
2376
- "internalType": "struct EngineBlox.TxParams",
2377
- "name": "params",
2378
- "type": "tuple"
2379
- },
2380
- {
2381
- "internalType": "bytes32",
2382
- "name": "message",
2383
- "type": "bytes32"
2384
- },
2385
- {
2386
- "internalType": "bytes",
2387
- "name": "result",
2388
- "type": "bytes"
2389
- },
2390
- {
2391
- "components": [
2392
- {
2393
- "internalType": "address",
2394
- "name": "recipient",
2395
- "type": "address"
2396
- },
2397
- {
2398
- "internalType": "uint256",
2399
- "name": "nativeTokenAmount",
2400
- "type": "uint256"
2401
- },
2402
- {
2403
- "internalType": "address",
2404
- "name": "erc20TokenAddress",
2405
- "type": "address"
2406
- },
2407
- {
2408
- "internalType": "uint256",
2409
- "name": "erc20TokenAmount",
2410
- "type": "uint256"
2411
- }
2412
- ],
2413
- "internalType": "struct EngineBlox.PaymentDetails",
2414
- "name": "payment",
2415
- "type": "tuple"
2416
- }
2417
- ],
2418
- "internalType": "struct EngineBlox.TxRecord",
2419
- "name": "",
2420
- "type": "tuple"
2421
- }
2422
- ],
2423
- "stateMutability": "nonpayable",
2424
- "type": "function"
2425
- },
2426
- {
2427
- "inputs": [
2428
- {
2429
- "internalType": "uint256",
2430
- "name": "txId",
2431
- "type": "uint256"
2432
- }
2433
- ],
2434
- "name": "updateBroadcasterDelayedApproval",
2435
- "outputs": [
2436
- {
2437
- "components": [
2438
- {
2439
- "internalType": "uint256",
2440
- "name": "txId",
2441
- "type": "uint256"
2442
- },
2443
- {
2444
- "internalType": "uint256",
2445
- "name": "releaseTime",
2446
- "type": "uint256"
2447
- },
2448
- {
2449
- "internalType": "enum EngineBlox.TxStatus",
2450
- "name": "status",
2451
- "type": "uint8"
2452
- },
2453
- {
2454
- "components": [
2455
- {
2456
- "internalType": "address",
2457
- "name": "requester",
2458
- "type": "address"
2459
- },
2460
- {
2461
- "internalType": "address",
2462
- "name": "target",
2463
- "type": "address"
2464
- },
2465
- {
2466
- "internalType": "uint256",
2467
- "name": "value",
2468
- "type": "uint256"
2469
- },
2470
- {
2471
- "internalType": "uint256",
2472
- "name": "gasLimit",
2473
- "type": "uint256"
2474
- },
2475
- {
2476
- "internalType": "bytes32",
2477
- "name": "operationType",
2478
- "type": "bytes32"
2479
- },
2480
- {
2481
- "internalType": "bytes4",
2482
- "name": "executionSelector",
2483
- "type": "bytes4"
2484
- },
2485
- {
2486
- "internalType": "bytes",
2487
- "name": "executionParams",
2488
- "type": "bytes"
2489
- }
2490
- ],
2491
- "internalType": "struct EngineBlox.TxParams",
2492
- "name": "params",
2493
- "type": "tuple"
2494
- },
2495
- {
2496
- "internalType": "bytes32",
2497
- "name": "message",
2498
- "type": "bytes32"
2499
- },
2500
- {
2501
- "internalType": "bytes",
2502
- "name": "result",
2503
- "type": "bytes"
2504
- },
2505
- {
2506
- "components": [
2507
- {
2508
- "internalType": "address",
2509
- "name": "recipient",
2510
- "type": "address"
2511
- },
2512
- {
2513
- "internalType": "uint256",
2514
- "name": "nativeTokenAmount",
2515
- "type": "uint256"
2516
- },
2517
- {
2518
- "internalType": "address",
2519
- "name": "erc20TokenAddress",
2520
- "type": "address"
2521
- },
2522
- {
2523
- "internalType": "uint256",
2524
- "name": "erc20TokenAmount",
2525
- "type": "uint256"
2526
- }
2527
- ],
2528
- "internalType": "struct EngineBlox.PaymentDetails",
2529
- "name": "payment",
2530
- "type": "tuple"
2531
- }
2532
- ],
2533
- "internalType": "struct EngineBlox.TxRecord",
2534
- "name": "",
2535
- "type": "tuple"
2536
- }
2537
- ],
2538
- "stateMutability": "nonpayable",
2539
- "type": "function"
2540
- },
2541
- {
2542
- "inputs": [
2543
- {
2544
- "components": [
2545
- {
2546
- "components": [
2547
- {
2548
- "internalType": "uint256",
2549
- "name": "txId",
2550
- "type": "uint256"
2551
- },
2552
- {
2553
- "internalType": "uint256",
2554
- "name": "releaseTime",
2555
- "type": "uint256"
2556
- },
2557
- {
2558
- "internalType": "enum EngineBlox.TxStatus",
2559
- "name": "status",
2560
- "type": "uint8"
2561
- },
2562
- {
2563
- "components": [
2564
- {
2565
- "internalType": "address",
2566
- "name": "requester",
2567
- "type": "address"
2568
- },
2569
- {
2570
- "internalType": "address",
2571
- "name": "target",
2572
- "type": "address"
2573
- },
2574
- {
2575
- "internalType": "uint256",
2576
- "name": "value",
2577
- "type": "uint256"
2578
- },
2579
- {
2580
- "internalType": "uint256",
2581
- "name": "gasLimit",
2582
- "type": "uint256"
2583
- },
2584
- {
2585
- "internalType": "bytes32",
2586
- "name": "operationType",
2587
- "type": "bytes32"
2588
- },
2589
- {
2590
- "internalType": "bytes4",
2591
- "name": "executionSelector",
2592
- "type": "bytes4"
2593
- },
2594
- {
2595
- "internalType": "bytes",
2596
- "name": "executionParams",
2597
- "type": "bytes"
2598
- }
2599
- ],
2600
- "internalType": "struct EngineBlox.TxParams",
2601
- "name": "params",
2602
- "type": "tuple"
2603
- },
2604
- {
2605
- "internalType": "bytes32",
2606
- "name": "message",
2607
- "type": "bytes32"
2608
- },
2609
- {
2610
- "internalType": "bytes",
2611
- "name": "result",
2612
- "type": "bytes"
2613
- },
2614
- {
2615
- "components": [
2616
- {
2617
- "internalType": "address",
2618
- "name": "recipient",
2619
- "type": "address"
2620
- },
2621
- {
2622
- "internalType": "uint256",
2623
- "name": "nativeTokenAmount",
2624
- "type": "uint256"
2625
- },
2626
- {
2627
- "internalType": "address",
2628
- "name": "erc20TokenAddress",
2629
- "type": "address"
2630
- },
2631
- {
2632
- "internalType": "uint256",
2633
- "name": "erc20TokenAmount",
2634
- "type": "uint256"
2635
- }
2636
- ],
2637
- "internalType": "struct EngineBlox.PaymentDetails",
2638
- "name": "payment",
2639
- "type": "tuple"
2640
- }
2641
- ],
2642
- "internalType": "struct EngineBlox.TxRecord",
2643
- "name": "txRecord",
2644
- "type": "tuple"
2645
- },
2646
- {
2647
- "components": [
2648
- {
2649
- "internalType": "uint256",
2650
- "name": "chainId",
2651
- "type": "uint256"
2652
- },
2653
- {
2654
- "internalType": "uint256",
2655
- "name": "nonce",
2656
- "type": "uint256"
2657
- },
2658
- {
2659
- "internalType": "address",
2660
- "name": "handlerContract",
2661
- "type": "address"
2662
- },
2663
- {
2664
- "internalType": "bytes4",
2665
- "name": "handlerSelector",
2666
- "type": "bytes4"
2667
- },
2668
- {
2669
- "internalType": "enum EngineBlox.TxAction",
2670
- "name": "action",
2671
- "type": "uint8"
2672
- },
2673
- {
2674
- "internalType": "uint256",
2675
- "name": "deadline",
2676
- "type": "uint256"
2677
- },
2678
- {
2679
- "internalType": "uint256",
2680
- "name": "maxGasPrice",
2681
- "type": "uint256"
2682
- },
2683
- {
2684
- "internalType": "address",
2685
- "name": "signer",
2686
- "type": "address"
2687
- }
2688
- ],
2689
- "internalType": "struct EngineBlox.MetaTxParams",
2690
- "name": "params",
2691
- "type": "tuple"
2692
- },
2693
- {
2694
- "internalType": "bytes32",
2695
- "name": "message",
2696
- "type": "bytes32"
2697
- },
2698
- {
2699
- "internalType": "bytes",
2700
- "name": "signature",
2701
- "type": "bytes"
2702
- },
2703
- {
2704
- "internalType": "bytes",
2705
- "name": "data",
2706
- "type": "bytes"
2707
- }
2708
- ],
2709
- "internalType": "struct EngineBlox.MetaTransaction",
2710
- "name": "metaTx",
2711
- "type": "tuple"
2712
- }
2713
- ],
2714
- "name": "updateBroadcasterApprovalWithMetaTx",
2715
- "outputs": [
2716
- {
2717
- "components": [
2718
- {
2719
- "internalType": "uint256",
2720
- "name": "txId",
2721
- "type": "uint256"
2722
- },
2723
- {
2724
- "internalType": "uint256",
2725
- "name": "releaseTime",
2726
- "type": "uint256"
2727
- },
2728
- {
2729
- "internalType": "enum EngineBlox.TxStatus",
2730
- "name": "status",
2731
- "type": "uint8"
2732
- },
2733
- {
2734
- "components": [
2735
- {
2736
- "internalType": "address",
2737
- "name": "requester",
2738
- "type": "address"
2739
- },
2740
- {
2741
- "internalType": "address",
2742
- "name": "target",
2743
- "type": "address"
2744
- },
2745
- {
2746
- "internalType": "uint256",
2747
- "name": "value",
2748
- "type": "uint256"
2749
- },
2750
- {
2751
- "internalType": "uint256",
2752
- "name": "gasLimit",
2753
- "type": "uint256"
2754
- },
2755
- {
2756
- "internalType": "bytes32",
2757
- "name": "operationType",
2758
- "type": "bytes32"
2759
- },
2760
- {
2761
- "internalType": "bytes4",
2762
- "name": "executionSelector",
2763
- "type": "bytes4"
2764
- },
2765
- {
2766
- "internalType": "bytes",
2767
- "name": "executionParams",
2768
- "type": "bytes"
2769
- }
2770
- ],
2771
- "internalType": "struct EngineBlox.TxParams",
2772
- "name": "params",
2773
- "type": "tuple"
2774
- },
2775
- {
2776
- "internalType": "bytes32",
2777
- "name": "message",
2778
- "type": "bytes32"
2779
- },
2780
- {
2781
- "internalType": "bytes",
2782
- "name": "result",
2783
- "type": "bytes"
2784
- },
2785
- {
2786
- "components": [
2787
- {
2788
- "internalType": "address",
2789
- "name": "recipient",
2790
- "type": "address"
2791
- },
2792
- {
2793
- "internalType": "uint256",
2794
- "name": "nativeTokenAmount",
2795
- "type": "uint256"
2796
- },
2797
- {
2798
- "internalType": "address",
2799
- "name": "erc20TokenAddress",
2800
- "type": "address"
2801
- },
2802
- {
2803
- "internalType": "uint256",
2804
- "name": "erc20TokenAmount",
2805
- "type": "uint256"
2806
- }
2807
- ],
2808
- "internalType": "struct EngineBlox.PaymentDetails",
2809
- "name": "payment",
2810
- "type": "tuple"
2811
- }
2812
- ],
2813
- "internalType": "struct EngineBlox.TxRecord",
2814
- "name": "",
2815
- "type": "tuple"
2816
- }
2817
- ],
2818
- "stateMutability": "nonpayable",
2819
- "type": "function"
2820
- },
2821
- {
2822
- "inputs": [
2823
- {
2824
- "internalType": "uint256",
2825
- "name": "txId",
2826
- "type": "uint256"
2827
- }
2828
- ],
2829
- "name": "updateBroadcasterCancellation",
2830
- "outputs": [
2831
- {
2832
- "components": [
2833
- {
2834
- "internalType": "uint256",
2835
- "name": "txId",
2836
- "type": "uint256"
2837
- },
2838
- {
2839
- "internalType": "uint256",
2840
- "name": "releaseTime",
2841
- "type": "uint256"
2842
- },
2843
- {
2844
- "internalType": "enum EngineBlox.TxStatus",
2845
- "name": "status",
2846
- "type": "uint8"
2847
- },
2848
- {
2849
- "components": [
2850
- {
2851
- "internalType": "address",
2852
- "name": "requester",
2853
- "type": "address"
2854
- },
2855
- {
2856
- "internalType": "address",
2857
- "name": "target",
2858
- "type": "address"
2859
- },
2860
- {
2861
- "internalType": "uint256",
2862
- "name": "value",
2863
- "type": "uint256"
2864
- },
2865
- {
2866
- "internalType": "uint256",
2867
- "name": "gasLimit",
2868
- "type": "uint256"
2869
- },
2870
- {
2871
- "internalType": "bytes32",
2872
- "name": "operationType",
2873
- "type": "bytes32"
2874
- },
2875
- {
2876
- "internalType": "bytes4",
2877
- "name": "executionSelector",
2878
- "type": "bytes4"
2879
- },
2880
- {
2881
- "internalType": "bytes",
2882
- "name": "executionParams",
2883
- "type": "bytes"
2884
- }
2885
- ],
2886
- "internalType": "struct EngineBlox.TxParams",
2887
- "name": "params",
2888
- "type": "tuple"
2889
- },
2890
- {
2891
- "internalType": "bytes32",
2892
- "name": "message",
2893
- "type": "bytes32"
2894
- },
2895
- {
2896
- "internalType": "bytes",
2897
- "name": "result",
2898
- "type": "bytes"
2899
- },
2900
- {
2901
- "components": [
2902
- {
2903
- "internalType": "address",
2904
- "name": "recipient",
2905
- "type": "address"
2906
- },
2907
- {
2908
- "internalType": "uint256",
2909
- "name": "nativeTokenAmount",
2910
- "type": "uint256"
2911
- },
2912
- {
2913
- "internalType": "address",
2914
- "name": "erc20TokenAddress",
2915
- "type": "address"
2916
- },
2917
- {
2918
- "internalType": "uint256",
2919
- "name": "erc20TokenAmount",
2920
- "type": "uint256"
2921
- }
2922
- ],
2923
- "internalType": "struct EngineBlox.PaymentDetails",
2924
- "name": "payment",
2925
- "type": "tuple"
2926
- }
2927
- ],
2928
- "internalType": "struct EngineBlox.TxRecord",
1868
+ "internalType": "uint256",
2929
1869
  "name": "",
2930
- "type": "tuple"
1870
+ "type": "uint256"
1871
+ }
1872
+ ],
1873
+ "stateMutability": "nonpayable",
1874
+ "type": "function"
1875
+ },
1876
+ {
1877
+ "inputs": [
1878
+ {
1879
+ "internalType": "address",
1880
+ "name": "newBroadcaster",
1881
+ "type": "address"
1882
+ },
1883
+ {
1884
+ "internalType": "uint256",
1885
+ "name": "location",
1886
+ "type": "uint256"
1887
+ }
1888
+ ],
1889
+ "name": "updateBroadcasterRequest",
1890
+ "outputs": [
1891
+ {
1892
+ "internalType": "uint256",
1893
+ "name": "txId",
1894
+ "type": "uint256"
1895
+ }
1896
+ ],
1897
+ "stateMutability": "nonpayable",
1898
+ "type": "function"
1899
+ },
1900
+ {
1901
+ "inputs": [
1902
+ {
1903
+ "internalType": "uint256",
1904
+ "name": "txId",
1905
+ "type": "uint256"
1906
+ }
1907
+ ],
1908
+ "name": "updateBroadcasterDelayedApproval",
1909
+ "outputs": [
1910
+ {
1911
+ "internalType": "uint256",
1912
+ "name": "",
1913
+ "type": "uint256"
2931
1914
  }
2932
1915
  ],
2933
1916
  "stateMutability": "nonpayable",
@@ -3106,64 +2089,185 @@
3106
2089
  "type": "tuple"
3107
2090
  }
3108
2091
  ],
3109
- "name": "updateBroadcasterCancellationWithMetaTx",
2092
+ "name": "updateBroadcasterApprovalWithMetaTx",
2093
+ "outputs": [
2094
+ {
2095
+ "internalType": "uint256",
2096
+ "name": "",
2097
+ "type": "uint256"
2098
+ }
2099
+ ],
2100
+ "stateMutability": "nonpayable",
2101
+ "type": "function"
2102
+ },
2103
+ {
2104
+ "inputs": [
2105
+ {
2106
+ "internalType": "uint256",
2107
+ "name": "txId",
2108
+ "type": "uint256"
2109
+ }
2110
+ ],
2111
+ "name": "updateBroadcasterCancellation",
3110
2112
  "outputs": [
2113
+ {
2114
+ "internalType": "uint256",
2115
+ "name": "",
2116
+ "type": "uint256"
2117
+ }
2118
+ ],
2119
+ "stateMutability": "nonpayable",
2120
+ "type": "function"
2121
+ },
2122
+ {
2123
+ "inputs": [
3111
2124
  {
3112
2125
  "components": [
3113
- {
3114
- "internalType": "uint256",
3115
- "name": "txId",
3116
- "type": "uint256"
3117
- },
3118
- {
3119
- "internalType": "uint256",
3120
- "name": "releaseTime",
3121
- "type": "uint256"
3122
- },
3123
- {
3124
- "internalType": "enum EngineBlox.TxStatus",
3125
- "name": "status",
3126
- "type": "uint8"
3127
- },
3128
2126
  {
3129
2127
  "components": [
3130
2128
  {
3131
- "internalType": "address",
3132
- "name": "requester",
3133
- "type": "address"
2129
+ "internalType": "uint256",
2130
+ "name": "txId",
2131
+ "type": "uint256"
3134
2132
  },
3135
2133
  {
3136
- "internalType": "address",
3137
- "name": "target",
3138
- "type": "address"
2134
+ "internalType": "uint256",
2135
+ "name": "releaseTime",
2136
+ "type": "uint256"
2137
+ },
2138
+ {
2139
+ "internalType": "enum EngineBlox.TxStatus",
2140
+ "name": "status",
2141
+ "type": "uint8"
2142
+ },
2143
+ {
2144
+ "components": [
2145
+ {
2146
+ "internalType": "address",
2147
+ "name": "requester",
2148
+ "type": "address"
2149
+ },
2150
+ {
2151
+ "internalType": "address",
2152
+ "name": "target",
2153
+ "type": "address"
2154
+ },
2155
+ {
2156
+ "internalType": "uint256",
2157
+ "name": "value",
2158
+ "type": "uint256"
2159
+ },
2160
+ {
2161
+ "internalType": "uint256",
2162
+ "name": "gasLimit",
2163
+ "type": "uint256"
2164
+ },
2165
+ {
2166
+ "internalType": "bytes32",
2167
+ "name": "operationType",
2168
+ "type": "bytes32"
2169
+ },
2170
+ {
2171
+ "internalType": "bytes4",
2172
+ "name": "executionSelector",
2173
+ "type": "bytes4"
2174
+ },
2175
+ {
2176
+ "internalType": "bytes",
2177
+ "name": "executionParams",
2178
+ "type": "bytes"
2179
+ }
2180
+ ],
2181
+ "internalType": "struct EngineBlox.TxParams",
2182
+ "name": "params",
2183
+ "type": "tuple"
2184
+ },
2185
+ {
2186
+ "internalType": "bytes32",
2187
+ "name": "message",
2188
+ "type": "bytes32"
3139
2189
  },
2190
+ {
2191
+ "internalType": "bytes",
2192
+ "name": "result",
2193
+ "type": "bytes"
2194
+ },
2195
+ {
2196
+ "components": [
2197
+ {
2198
+ "internalType": "address",
2199
+ "name": "recipient",
2200
+ "type": "address"
2201
+ },
2202
+ {
2203
+ "internalType": "uint256",
2204
+ "name": "nativeTokenAmount",
2205
+ "type": "uint256"
2206
+ },
2207
+ {
2208
+ "internalType": "address",
2209
+ "name": "erc20TokenAddress",
2210
+ "type": "address"
2211
+ },
2212
+ {
2213
+ "internalType": "uint256",
2214
+ "name": "erc20TokenAmount",
2215
+ "type": "uint256"
2216
+ }
2217
+ ],
2218
+ "internalType": "struct EngineBlox.PaymentDetails",
2219
+ "name": "payment",
2220
+ "type": "tuple"
2221
+ }
2222
+ ],
2223
+ "internalType": "struct EngineBlox.TxRecord",
2224
+ "name": "txRecord",
2225
+ "type": "tuple"
2226
+ },
2227
+ {
2228
+ "components": [
3140
2229
  {
3141
2230
  "internalType": "uint256",
3142
- "name": "value",
2231
+ "name": "chainId",
3143
2232
  "type": "uint256"
3144
2233
  },
3145
2234
  {
3146
2235
  "internalType": "uint256",
3147
- "name": "gasLimit",
2236
+ "name": "nonce",
3148
2237
  "type": "uint256"
3149
2238
  },
3150
2239
  {
3151
- "internalType": "bytes32",
3152
- "name": "operationType",
3153
- "type": "bytes32"
2240
+ "internalType": "address",
2241
+ "name": "handlerContract",
2242
+ "type": "address"
3154
2243
  },
3155
2244
  {
3156
2245
  "internalType": "bytes4",
3157
- "name": "executionSelector",
2246
+ "name": "handlerSelector",
3158
2247
  "type": "bytes4"
3159
2248
  },
3160
2249
  {
3161
- "internalType": "bytes",
3162
- "name": "executionParams",
3163
- "type": "bytes"
2250
+ "internalType": "enum EngineBlox.TxAction",
2251
+ "name": "action",
2252
+ "type": "uint8"
2253
+ },
2254
+ {
2255
+ "internalType": "uint256",
2256
+ "name": "deadline",
2257
+ "type": "uint256"
2258
+ },
2259
+ {
2260
+ "internalType": "uint256",
2261
+ "name": "maxGasPrice",
2262
+ "type": "uint256"
2263
+ },
2264
+ {
2265
+ "internalType": "address",
2266
+ "name": "signer",
2267
+ "type": "address"
3164
2268
  }
3165
2269
  ],
3166
- "internalType": "struct EngineBlox.TxParams",
2270
+ "internalType": "struct EngineBlox.MetaTxParams",
3167
2271
  "name": "params",
3168
2272
  "type": "tuple"
3169
2273
  },
@@ -3174,42 +2278,28 @@
3174
2278
  },
3175
2279
  {
3176
2280
  "internalType": "bytes",
3177
- "name": "result",
2281
+ "name": "signature",
3178
2282
  "type": "bytes"
3179
2283
  },
3180
2284
  {
3181
- "components": [
3182
- {
3183
- "internalType": "address",
3184
- "name": "recipient",
3185
- "type": "address"
3186
- },
3187
- {
3188
- "internalType": "uint256",
3189
- "name": "nativeTokenAmount",
3190
- "type": "uint256"
3191
- },
3192
- {
3193
- "internalType": "address",
3194
- "name": "erc20TokenAddress",
3195
- "type": "address"
3196
- },
3197
- {
3198
- "internalType": "uint256",
3199
- "name": "erc20TokenAmount",
3200
- "type": "uint256"
3201
- }
3202
- ],
3203
- "internalType": "struct EngineBlox.PaymentDetails",
3204
- "name": "payment",
3205
- "type": "tuple"
2285
+ "internalType": "bytes",
2286
+ "name": "data",
2287
+ "type": "bytes"
3206
2288
  }
3207
2289
  ],
3208
- "internalType": "struct EngineBlox.TxRecord",
3209
- "name": "",
2290
+ "internalType": "struct EngineBlox.MetaTransaction",
2291
+ "name": "metaTx",
3210
2292
  "type": "tuple"
3211
2293
  }
3212
2294
  ],
2295
+ "name": "updateBroadcasterCancellationWithMetaTx",
2296
+ "outputs": [
2297
+ {
2298
+ "internalType": "uint256",
2299
+ "name": "",
2300
+ "type": "uint256"
2301
+ }
2302
+ ],
3213
2303
  "stateMutability": "nonpayable",
3214
2304
  "type": "function"
3215
2305
  },
@@ -3389,105 +2479,9 @@
3389
2479
  "name": "updateRecoveryRequestAndApprove",
3390
2480
  "outputs": [
3391
2481
  {
3392
- "components": [
3393
- {
3394
- "internalType": "uint256",
3395
- "name": "txId",
3396
- "type": "uint256"
3397
- },
3398
- {
3399
- "internalType": "uint256",
3400
- "name": "releaseTime",
3401
- "type": "uint256"
3402
- },
3403
- {
3404
- "internalType": "enum EngineBlox.TxStatus",
3405
- "name": "status",
3406
- "type": "uint8"
3407
- },
3408
- {
3409
- "components": [
3410
- {
3411
- "internalType": "address",
3412
- "name": "requester",
3413
- "type": "address"
3414
- },
3415
- {
3416
- "internalType": "address",
3417
- "name": "target",
3418
- "type": "address"
3419
- },
3420
- {
3421
- "internalType": "uint256",
3422
- "name": "value",
3423
- "type": "uint256"
3424
- },
3425
- {
3426
- "internalType": "uint256",
3427
- "name": "gasLimit",
3428
- "type": "uint256"
3429
- },
3430
- {
3431
- "internalType": "bytes32",
3432
- "name": "operationType",
3433
- "type": "bytes32"
3434
- },
3435
- {
3436
- "internalType": "bytes4",
3437
- "name": "executionSelector",
3438
- "type": "bytes4"
3439
- },
3440
- {
3441
- "internalType": "bytes",
3442
- "name": "executionParams",
3443
- "type": "bytes"
3444
- }
3445
- ],
3446
- "internalType": "struct EngineBlox.TxParams",
3447
- "name": "params",
3448
- "type": "tuple"
3449
- },
3450
- {
3451
- "internalType": "bytes32",
3452
- "name": "message",
3453
- "type": "bytes32"
3454
- },
3455
- {
3456
- "internalType": "bytes",
3457
- "name": "result",
3458
- "type": "bytes"
3459
- },
3460
- {
3461
- "components": [
3462
- {
3463
- "internalType": "address",
3464
- "name": "recipient",
3465
- "type": "address"
3466
- },
3467
- {
3468
- "internalType": "uint256",
3469
- "name": "nativeTokenAmount",
3470
- "type": "uint256"
3471
- },
3472
- {
3473
- "internalType": "address",
3474
- "name": "erc20TokenAddress",
3475
- "type": "address"
3476
- },
3477
- {
3478
- "internalType": "uint256",
3479
- "name": "erc20TokenAmount",
3480
- "type": "uint256"
3481
- }
3482
- ],
3483
- "internalType": "struct EngineBlox.PaymentDetails",
3484
- "name": "payment",
3485
- "type": "tuple"
3486
- }
3487
- ],
3488
- "internalType": "struct EngineBlox.TxRecord",
2482
+ "internalType": "uint256",
3489
2483
  "name": "",
3490
- "type": "tuple"
2484
+ "type": "uint256"
3491
2485
  }
3492
2486
  ],
3493
2487
  "stateMutability": "nonpayable",
@@ -3669,105 +2663,9 @@
3669
2663
  "name": "updateTimeLockRequestAndApprove",
3670
2664
  "outputs": [
3671
2665
  {
3672
- "components": [
3673
- {
3674
- "internalType": "uint256",
3675
- "name": "txId",
3676
- "type": "uint256"
3677
- },
3678
- {
3679
- "internalType": "uint256",
3680
- "name": "releaseTime",
3681
- "type": "uint256"
3682
- },
3683
- {
3684
- "internalType": "enum EngineBlox.TxStatus",
3685
- "name": "status",
3686
- "type": "uint8"
3687
- },
3688
- {
3689
- "components": [
3690
- {
3691
- "internalType": "address",
3692
- "name": "requester",
3693
- "type": "address"
3694
- },
3695
- {
3696
- "internalType": "address",
3697
- "name": "target",
3698
- "type": "address"
3699
- },
3700
- {
3701
- "internalType": "uint256",
3702
- "name": "value",
3703
- "type": "uint256"
3704
- },
3705
- {
3706
- "internalType": "uint256",
3707
- "name": "gasLimit",
3708
- "type": "uint256"
3709
- },
3710
- {
3711
- "internalType": "bytes32",
3712
- "name": "operationType",
3713
- "type": "bytes32"
3714
- },
3715
- {
3716
- "internalType": "bytes4",
3717
- "name": "executionSelector",
3718
- "type": "bytes4"
3719
- },
3720
- {
3721
- "internalType": "bytes",
3722
- "name": "executionParams",
3723
- "type": "bytes"
3724
- }
3725
- ],
3726
- "internalType": "struct EngineBlox.TxParams",
3727
- "name": "params",
3728
- "type": "tuple"
3729
- },
3730
- {
3731
- "internalType": "bytes32",
3732
- "name": "message",
3733
- "type": "bytes32"
3734
- },
3735
- {
3736
- "internalType": "bytes",
3737
- "name": "result",
3738
- "type": "bytes"
3739
- },
3740
- {
3741
- "components": [
3742
- {
3743
- "internalType": "address",
3744
- "name": "recipient",
3745
- "type": "address"
3746
- },
3747
- {
3748
- "internalType": "uint256",
3749
- "name": "nativeTokenAmount",
3750
- "type": "uint256"
3751
- },
3752
- {
3753
- "internalType": "address",
3754
- "name": "erc20TokenAddress",
3755
- "type": "address"
3756
- },
3757
- {
3758
- "internalType": "uint256",
3759
- "name": "erc20TokenAmount",
3760
- "type": "uint256"
3761
- }
3762
- ],
3763
- "internalType": "struct EngineBlox.PaymentDetails",
3764
- "name": "payment",
3765
- "type": "tuple"
3766
- }
3767
- ],
3768
- "internalType": "struct EngineBlox.TxRecord",
2666
+ "internalType": "uint256",
3769
2667
  "name": "",
3770
- "type": "tuple"
2668
+ "type": "uint256"
3771
2669
  }
3772
2670
  ],
3773
2671
  "stateMutability": "nonpayable",
@@ -3792,6 +2690,11 @@
3792
2690
  "internalType": "address",
3793
2691
  "name": "newBroadcaster",
3794
2692
  "type": "address"
2693
+ },
2694
+ {
2695
+ "internalType": "uint256",
2696
+ "name": "location",
2697
+ "type": "uint256"
3795
2698
  }
3796
2699
  ],
3797
2700
  "name": "executeBroadcasterUpdate",