@bloxchain/sdk 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 (129) hide show
  1. package/README.md +376 -376
  2. package/abi/AccountBlox.abi.json +609 -2479
  3. package/abi/BareBlox.abi.json +94 -0
  4. package/abi/BaseStateMachine.abi.json +85 -45
  5. package/abi/CopyBlox.abi.json +1593 -0
  6. package/abi/EngineBlox.abi.json +73 -90
  7. package/abi/GuardController.abi.json +252 -806
  8. package/abi/GuardControllerDefinitions.abi.json +411 -0
  9. package/abi/IDefinition.abi.json +5 -0
  10. package/abi/RoleBlox.abi.json +375 -1590
  11. package/abi/RuntimeRBAC.abi.json +155 -218
  12. package/abi/RuntimeRBACDefinitions.abi.json +179 -0
  13. package/abi/SecureBlox.abi.json +436 -1511
  14. package/abi/SecureOwnable.abi.json +524 -1621
  15. package/abi/SecureOwnableDefinitions.abi.json +5 -0
  16. package/abi/SimpleRWA20.abi.json +478 -1756
  17. package/abi/SimpleRWA20Definitions.abi.json +5 -0
  18. package/abi/SimpleVault.abi.json +648 -2214
  19. package/abi/SimpleVaultDefinitions.abi.json +5 -0
  20. package/dist/abi/AccountBlox.abi.json +3929 -0
  21. package/dist/abi/BareBlox.abi.json +1378 -0
  22. package/dist/abi/BaseStateMachine.abi.json +1213 -1173
  23. package/dist/abi/CopyBlox.abi.json +1593 -0
  24. package/dist/abi/EngineBlox.abi.json +855 -0
  25. package/dist/abi/GuardController.abi.json +2222 -2776
  26. package/dist/abi/GuardControllerDefinitions.abi.json +411 -0
  27. package/dist/abi/IDefinition.abi.json +113 -108
  28. package/dist/abi/RoleBlox.abi.json +2994 -0
  29. package/dist/abi/RuntimeRBAC.abi.json +1540 -1603
  30. package/dist/abi/RuntimeRBACDefinitions.abi.json +381 -0
  31. package/dist/abi/SecureBlox.abi.json +2753 -0
  32. package/dist/abi/SecureOwnable.abi.json +2585 -3682
  33. package/dist/abi/SecureOwnableDefinitions.abi.json +416 -0
  34. package/dist/abi/SimpleRWA20.abi.json +4010 -0
  35. package/dist/abi/SimpleRWA20Definitions.abi.json +196 -0
  36. package/dist/abi/SimpleVault.abi.json +3385 -0
  37. package/dist/abi/SimpleVaultDefinitions.abi.json +274 -0
  38. package/dist/abi.d.ts +11 -0
  39. package/dist/abi.d.ts.map +1 -0
  40. package/dist/abi.js +10 -0
  41. package/dist/abi.js.map +1 -0
  42. package/dist/contracts/{BaseStateMachine.d.ts → core/BaseStateMachine.d.ts} +20 -6
  43. package/dist/contracts/core/BaseStateMachine.d.ts.map +1 -0
  44. package/dist/contracts/{BaseStateMachine.js → core/BaseStateMachine.js} +88 -38
  45. package/dist/contracts/core/BaseStateMachine.js.map +1 -0
  46. package/dist/contracts/{GuardController.d.ts → core/GuardController.d.ts} +22 -15
  47. package/dist/contracts/core/GuardController.d.ts.map +1 -0
  48. package/dist/contracts/{GuardController.js → core/GuardController.js} +19 -21
  49. package/dist/contracts/core/GuardController.js.map +1 -0
  50. package/dist/contracts/core/RuntimeRBAC.d.ts +27 -0
  51. package/dist/contracts/core/RuntimeRBAC.d.ts.map +1 -0
  52. package/dist/contracts/core/RuntimeRBAC.js +33 -0
  53. package/dist/contracts/core/RuntimeRBAC.js.map +1 -0
  54. package/dist/contracts/{SecureOwnable.d.ts → core/SecureOwnable.d.ts} +5 -15
  55. package/dist/contracts/core/SecureOwnable.d.ts.map +1 -0
  56. package/dist/contracts/{SecureOwnable.js → core/SecureOwnable.js} +4 -23
  57. package/dist/contracts/core/SecureOwnable.js.map +1 -0
  58. package/dist/index.d.ts +8 -7
  59. package/dist/index.d.ts.map +1 -1
  60. package/dist/index.js +6 -6
  61. package/dist/index.js.map +1 -1
  62. package/dist/interfaces/base.index.d.ts +10 -2
  63. package/dist/interfaces/base.index.d.ts.map +1 -1
  64. package/dist/interfaces/base.state.machine.index.d.ts +3 -2
  65. package/dist/interfaces/base.state.machine.index.d.ts.map +1 -1
  66. package/dist/interfaces/core.access.index.d.ts +2 -16
  67. package/dist/interfaces/core.access.index.d.ts.map +1 -1
  68. package/dist/interfaces/core.execution.index.d.ts +8 -11
  69. package/dist/interfaces/core.execution.index.d.ts.map +1 -1
  70. package/dist/interfaces/core.security.index.d.ts +1 -4
  71. package/dist/interfaces/core.security.index.d.ts.map +1 -1
  72. package/dist/lib/Definition.d.ts.map +1 -1
  73. package/dist/lib/Definition.js +1 -0
  74. package/dist/lib/Definition.js.map +1 -1
  75. package/dist/lib/EngineBlox.d.ts +16 -49
  76. package/dist/lib/EngineBlox.d.ts.map +1 -1
  77. package/dist/lib/EngineBlox.js +20 -108
  78. package/dist/lib/EngineBlox.js.map +1 -1
  79. package/dist/lib/definitions/GuardControllerDefinitions.d.ts +34 -7
  80. package/dist/lib/definitions/GuardControllerDefinitions.d.ts.map +1 -1
  81. package/dist/lib/definitions/GuardControllerDefinitions.js +62 -10
  82. package/dist/lib/definitions/GuardControllerDefinitions.js.map +1 -1
  83. package/dist/lib/definitions/RuntimeRBACDefinitions.d.ts +48 -7
  84. package/dist/lib/definitions/RuntimeRBACDefinitions.d.ts.map +1 -1
  85. package/dist/lib/definitions/RuntimeRBACDefinitions.js +73 -10
  86. package/dist/lib/definitions/RuntimeRBACDefinitions.js.map +1 -1
  87. package/dist/lib/definitions/SecureOwnableDefinitions.d.ts +12 -7
  88. package/dist/lib/definitions/SecureOwnableDefinitions.d.ts.map +1 -1
  89. package/dist/lib/definitions/SecureOwnableDefinitions.js +25 -9
  90. package/dist/lib/definitions/SecureOwnableDefinitions.js.map +1 -1
  91. package/dist/lib/definitions/index.d.ts +6 -4
  92. package/dist/lib/definitions/index.d.ts.map +1 -1
  93. package/dist/lib/definitions/index.js +5 -4
  94. package/dist/lib/definitions/index.js.map +1 -1
  95. package/dist/types/base.state.machine.index.d.ts +0 -2
  96. package/dist/types/base.state.machine.index.d.ts.map +1 -1
  97. package/dist/types/base.state.machine.index.js +1 -3
  98. package/dist/types/base.state.machine.index.js.map +1 -1
  99. package/dist/types/core.execution.index.d.ts +1 -0
  100. package/dist/types/core.execution.index.d.ts.map +1 -1
  101. package/dist/types/core.execution.index.js +1 -0
  102. package/dist/types/core.execution.index.js.map +1 -1
  103. package/dist/types/core.security.index.d.ts.map +1 -1
  104. package/dist/types/core.security.index.js +2 -2
  105. package/dist/types/core.security.index.js.map +1 -1
  106. package/dist/types/definition.index.d.ts +2 -0
  107. package/dist/types/definition.index.d.ts.map +1 -1
  108. package/dist/types/definition.index.js.map +1 -1
  109. package/dist/utils/contract-errors.d.ts +125 -6
  110. package/dist/utils/contract-errors.d.ts.map +1 -1
  111. package/dist/utils/contract-errors.js +375 -107
  112. package/dist/utils/contract-errors.js.map +1 -1
  113. package/dist/utils/interface-ids.js +8 -8
  114. package/dist/utils/interface-ids.js.map +1 -1
  115. package/dist/utils/metaTx/metaTransaction.d.ts +103 -7
  116. package/dist/utils/metaTx/metaTransaction.d.ts.map +1 -1
  117. package/dist/utils/metaTx/metaTransaction.js +136 -25
  118. package/dist/utils/metaTx/metaTransaction.js.map +1 -1
  119. package/package.json +10 -6
  120. package/dist/contracts/BaseStateMachine.d.ts.map +0 -1
  121. package/dist/contracts/BaseStateMachine.js.map +0 -1
  122. package/dist/contracts/GuardController.d.ts.map +0 -1
  123. package/dist/contracts/GuardController.js.map +0 -1
  124. package/dist/contracts/RuntimeRBAC.d.ts +0 -54
  125. package/dist/contracts/RuntimeRBAC.d.ts.map +0 -1
  126. package/dist/contracts/RuntimeRBAC.js +0 -58
  127. package/dist/contracts/RuntimeRBAC.js.map +0 -1
  128. package/dist/contracts/SecureOwnable.d.ts.map +0 -1
  129. package/dist/contracts/SecureOwnable.js.map +0 -1
@@ -18,12 +18,12 @@
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
27
  "type": "error"
28
28
  },
29
29
  {
@@ -46,27 +46,43 @@
46
46
  "inputs": [
47
47
  {
48
48
  "internalType": "uint256",
49
- "name": "from",
49
+ "name": "provided",
50
50
  "type": "uint256"
51
+ }
52
+ ],
53
+ "name": "InvalidTimeLockPeriod",
54
+ "type": "error"
55
+ },
56
+ {
57
+ "inputs": [
58
+ {
59
+ "internalType": "address",
60
+ "name": "signedContract",
61
+ "type": "address"
51
62
  },
52
63
  {
53
- "internalType": "uint256",
54
- "name": "to",
55
- "type": "uint256"
64
+ "internalType": "address",
65
+ "name": "entryContract",
66
+ "type": "address"
56
67
  }
57
68
  ],
58
- "name": "InvalidRange",
69
+ "name": "MetaTxHandlerContractMismatch",
59
70
  "type": "error"
60
71
  },
61
72
  {
62
73
  "inputs": [
63
74
  {
64
- "internalType": "uint256",
65
- "name": "provided",
66
- "type": "uint256"
75
+ "internalType": "bytes4",
76
+ "name": "signedSelector",
77
+ "type": "bytes4"
78
+ },
79
+ {
80
+ "internalType": "bytes4",
81
+ "name": "entrySelector",
82
+ "type": "bytes4"
67
83
  }
68
84
  ],
69
- "name": "InvalidTimeLockPeriod",
85
+ "name": "MetaTxHandlerSelectorMismatch",
70
86
  "type": "error"
71
87
  },
72
88
  {
@@ -85,22 +101,6 @@
85
101
  "name": "NotInitializing",
86
102
  "type": "error"
87
103
  },
88
- {
89
- "inputs": [
90
- {
91
- "internalType": "address",
92
- "name": "newAddress",
93
- "type": "address"
94
- },
95
- {
96
- "internalType": "address",
97
- "name": "currentAddress",
98
- "type": "address"
99
- }
100
- ],
101
- "name": "NotNewAddress",
102
- "type": "error"
103
- },
104
104
  {
105
105
  "inputs": [],
106
106
  "name": "NotSupported",
@@ -410,6 +410,11 @@
410
410
  "internalType": "address",
411
411
  "name": "newBroadcaster",
412
412
  "type": "address"
413
+ },
414
+ {
415
+ "internalType": "uint256",
416
+ "name": "location",
417
+ "type": "uint256"
413
418
  }
414
419
  ],
415
420
  "name": "executeBroadcasterUpdate",
@@ -456,25 +461,6 @@
456
461
  "stateMutability": "nonpayable",
457
462
  "type": "function"
458
463
  },
459
- {
460
- "inputs": [
461
- {
462
- "internalType": "bytes4",
463
- "name": "functionSelector",
464
- "type": "bytes4"
465
- }
466
- ],
467
- "name": "functionSchemaExists",
468
- "outputs": [
469
- {
470
- "internalType": "bool",
471
- "name": "",
472
- "type": "bool"
473
- }
474
- ],
475
- "stateMutability": "view",
476
- "type": "function"
477
- },
478
464
  {
479
465
  "inputs": [
480
466
  {
@@ -1003,6 +989,25 @@
1003
989
  "stateMutability": "view",
1004
990
  "type": "function"
1005
991
  },
992
+ {
993
+ "inputs": [
994
+ {
995
+ "internalType": "bytes32",
996
+ "name": "roleHash",
997
+ "type": "bytes32"
998
+ }
999
+ ],
1000
+ "name": "getAuthorizedWallets",
1001
+ "outputs": [
1002
+ {
1003
+ "internalType": "address[]",
1004
+ "name": "",
1005
+ "type": "address[]"
1006
+ }
1007
+ ],
1008
+ "stateMutability": "view",
1009
+ "type": "function"
1010
+ },
1006
1011
  {
1007
1012
  "inputs": [],
1008
1013
  "name": "getBroadcasters",
@@ -1016,6 +1021,105 @@
1016
1021
  "stateMutability": "view",
1017
1022
  "type": "function"
1018
1023
  },
1024
+ {
1025
+ "inputs": [
1026
+ {
1027
+ "internalType": "bytes4",
1028
+ "name": "functionSelector",
1029
+ "type": "bytes4"
1030
+ }
1031
+ ],
1032
+ "name": "getFunctionSchema",
1033
+ "outputs": [
1034
+ {
1035
+ "components": [
1036
+ {
1037
+ "internalType": "string",
1038
+ "name": "functionSignature",
1039
+ "type": "string"
1040
+ },
1041
+ {
1042
+ "internalType": "bytes4",
1043
+ "name": "functionSelector",
1044
+ "type": "bytes4"
1045
+ },
1046
+ {
1047
+ "internalType": "bytes32",
1048
+ "name": "operationType",
1049
+ "type": "bytes32"
1050
+ },
1051
+ {
1052
+ "internalType": "string",
1053
+ "name": "operationName",
1054
+ "type": "string"
1055
+ },
1056
+ {
1057
+ "internalType": "uint16",
1058
+ "name": "supportedActionsBitmap",
1059
+ "type": "uint16"
1060
+ },
1061
+ {
1062
+ "internalType": "bool",
1063
+ "name": "enforceHandlerRelations",
1064
+ "type": "bool"
1065
+ },
1066
+ {
1067
+ "internalType": "bool",
1068
+ "name": "isProtected",
1069
+ "type": "bool"
1070
+ },
1071
+ {
1072
+ "internalType": "bytes4[]",
1073
+ "name": "handlerForSelectors",
1074
+ "type": "bytes4[]"
1075
+ }
1076
+ ],
1077
+ "internalType": "struct EngineBlox.FunctionSchema",
1078
+ "name": "",
1079
+ "type": "tuple"
1080
+ }
1081
+ ],
1082
+ "stateMutability": "view",
1083
+ "type": "function"
1084
+ },
1085
+ {
1086
+ "inputs": [
1087
+ {
1088
+ "internalType": "bytes4",
1089
+ "name": "functionSelector",
1090
+ "type": "bytes4"
1091
+ }
1092
+ ],
1093
+ "name": "getFunctionWhitelistTargets",
1094
+ "outputs": [
1095
+ {
1096
+ "internalType": "address[]",
1097
+ "name": "",
1098
+ "type": "address[]"
1099
+ }
1100
+ ],
1101
+ "stateMutability": "view",
1102
+ "type": "function"
1103
+ },
1104
+ {
1105
+ "inputs": [
1106
+ {
1107
+ "internalType": "bytes4",
1108
+ "name": "functionSelector",
1109
+ "type": "bytes4"
1110
+ }
1111
+ ],
1112
+ "name": "getHooks",
1113
+ "outputs": [
1114
+ {
1115
+ "internalType": "address[]",
1116
+ "name": "hooks",
1117
+ "type": "address[]"
1118
+ }
1119
+ ],
1120
+ "stateMutability": "view",
1121
+ "type": "function"
1122
+ },
1019
1123
  {
1020
1124
  "inputs": [],
1021
1125
  "name": "getPendingTransactions",
@@ -1059,7 +1163,7 @@
1059
1163
  },
1060
1164
  {
1061
1165
  "internalType": "bytes32",
1062
- "name": "roleHashReturn",
1166
+ "name": "hash",
1063
1167
  "type": "bytes32"
1064
1168
  },
1065
1169
  {
@@ -1406,25 +1510,6 @@
1406
1510
  "stateMutability": "view",
1407
1511
  "type": "function"
1408
1512
  },
1409
- {
1410
- "inputs": [
1411
- {
1412
- "internalType": "bytes32",
1413
- "name": "roleHash",
1414
- "type": "bytes32"
1415
- }
1416
- ],
1417
- "name": "getWalletsInRole",
1418
- "outputs": [
1419
- {
1420
- "internalType": "address[]",
1421
- "name": "",
1422
- "type": "address[]"
1423
- }
1424
- ],
1425
- "stateMutability": "view",
1426
- "type": "function"
1427
- },
1428
1513
  {
1429
1514
  "inputs": [
1430
1515
  {
@@ -1462,30 +1547,6 @@
1462
1547
  "stateMutability": "view",
1463
1548
  "type": "function"
1464
1549
  },
1465
- {
1466
- "inputs": [
1467
- {
1468
- "internalType": "bytes4",
1469
- "name": "functionSelector",
1470
- "type": "bytes4"
1471
- },
1472
- {
1473
- "internalType": "enum EngineBlox.TxAction",
1474
- "name": "action",
1475
- "type": "uint8"
1476
- }
1477
- ],
1478
- "name": "isActionSupportedByFunction",
1479
- "outputs": [
1480
- {
1481
- "internalType": "bool",
1482
- "name": "",
1483
- "type": "bool"
1484
- }
1485
- ],
1486
- "stateMutability": "view",
1487
- "type": "function"
1488
- },
1489
1550
  {
1490
1551
  "inputs": [],
1491
1552
  "name": "owner",
@@ -1693,228 +1754,36 @@
1693
1754
  ],
1694
1755
  "name": "transferOwnershipApprovalWithMetaTx",
1695
1756
  "outputs": [
1696
- {
1697
- "components": [
1698
- {
1699
- "internalType": "uint256",
1700
- "name": "txId",
1701
- "type": "uint256"
1702
- },
1703
- {
1704
- "internalType": "uint256",
1705
- "name": "releaseTime",
1706
- "type": "uint256"
1707
- },
1708
- {
1709
- "internalType": "enum EngineBlox.TxStatus",
1710
- "name": "status",
1711
- "type": "uint8"
1712
- },
1713
- {
1714
- "components": [
1715
- {
1716
- "internalType": "address",
1717
- "name": "requester",
1718
- "type": "address"
1719
- },
1720
- {
1721
- "internalType": "address",
1722
- "name": "target",
1723
- "type": "address"
1724
- },
1725
- {
1726
- "internalType": "uint256",
1727
- "name": "value",
1728
- "type": "uint256"
1729
- },
1730
- {
1731
- "internalType": "uint256",
1732
- "name": "gasLimit",
1733
- "type": "uint256"
1734
- },
1735
- {
1736
- "internalType": "bytes32",
1737
- "name": "operationType",
1738
- "type": "bytes32"
1739
- },
1740
- {
1741
- "internalType": "bytes4",
1742
- "name": "executionSelector",
1743
- "type": "bytes4"
1744
- },
1745
- {
1746
- "internalType": "bytes",
1747
- "name": "executionParams",
1748
- "type": "bytes"
1749
- }
1750
- ],
1751
- "internalType": "struct EngineBlox.TxParams",
1752
- "name": "params",
1753
- "type": "tuple"
1754
- },
1755
- {
1756
- "internalType": "bytes32",
1757
- "name": "message",
1758
- "type": "bytes32"
1759
- },
1760
- {
1761
- "internalType": "bytes",
1762
- "name": "result",
1763
- "type": "bytes"
1764
- },
1765
- {
1766
- "components": [
1767
- {
1768
- "internalType": "address",
1769
- "name": "recipient",
1770
- "type": "address"
1771
- },
1772
- {
1773
- "internalType": "uint256",
1774
- "name": "nativeTokenAmount",
1775
- "type": "uint256"
1776
- },
1777
- {
1778
- "internalType": "address",
1779
- "name": "erc20TokenAddress",
1780
- "type": "address"
1781
- },
1782
- {
1783
- "internalType": "uint256",
1784
- "name": "erc20TokenAmount",
1785
- "type": "uint256"
1786
- }
1787
- ],
1788
- "internalType": "struct EngineBlox.PaymentDetails",
1789
- "name": "payment",
1790
- "type": "tuple"
1791
- }
1792
- ],
1793
- "internalType": "struct EngineBlox.TxRecord",
1794
- "name": "",
1795
- "type": "tuple"
1796
- }
1797
- ],
1798
- "stateMutability": "nonpayable",
1799
- "type": "function"
1800
- },
1801
- {
1802
- "inputs": [
1803
- {
1804
- "internalType": "uint256",
1805
- "name": "txId",
1806
- "type": "uint256"
1807
- }
1808
- ],
1809
- "name": "transferOwnershipCancellation",
1810
- "outputs": [
1811
- {
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": [
1757
+ {
1758
+ "internalType": "uint256",
1759
+ "name": "",
1760
+ "type": "uint256"
1761
+ }
1762
+ ],
1763
+ "stateMutability": "nonpayable",
1764
+ "type": "function"
1765
+ },
1766
+ {
1767
+ "inputs": [
1768
+ {
1769
+ "internalType": "uint256",
1770
+ "name": "txId",
1771
+ "type": "uint256"
1772
+ }
1773
+ ],
1774
+ "name": "transferOwnershipCancellation",
1775
+ "outputs": [
1776
+ {
1777
+ "internalType": "uint256",
1778
+ "name": "",
1779
+ "type": "uint256"
1780
+ }
1781
+ ],
1782
+ "stateMutability": "nonpayable",
1783
+ "type": "function"
1784
+ },
1785
+ {
1786
+ "inputs": [
1918
1787
  {
1919
1788
  "components": [
1920
1789
  {
@@ -2088,177 +1957,196 @@
2088
1957
  ],
2089
1958
  "name": "transferOwnershipCancellationWithMetaTx",
2090
1959
  "outputs": [
1960
+ {
1961
+ "internalType": "uint256",
1962
+ "name": "",
1963
+ "type": "uint256"
1964
+ }
1965
+ ],
1966
+ "stateMutability": "nonpayable",
1967
+ "type": "function"
1968
+ },
1969
+ {
1970
+ "inputs": [
1971
+ {
1972
+ "internalType": "uint256",
1973
+ "name": "txId",
1974
+ "type": "uint256"
1975
+ }
1976
+ ],
1977
+ "name": "transferOwnershipDelayedApproval",
1978
+ "outputs": [
1979
+ {
1980
+ "internalType": "uint256",
1981
+ "name": "",
1982
+ "type": "uint256"
1983
+ }
1984
+ ],
1985
+ "stateMutability": "nonpayable",
1986
+ "type": "function"
1987
+ },
1988
+ {
1989
+ "inputs": [],
1990
+ "name": "transferOwnershipRequest",
1991
+ "outputs": [
1992
+ {
1993
+ "internalType": "uint256",
1994
+ "name": "txId",
1995
+ "type": "uint256"
1996
+ }
1997
+ ],
1998
+ "stateMutability": "nonpayable",
1999
+ "type": "function"
2000
+ },
2001
+ {
2002
+ "inputs": [
2091
2003
  {
2092
2004
  "components": [
2093
- {
2094
- "internalType": "uint256",
2095
- "name": "txId",
2096
- "type": "uint256"
2097
- },
2098
- {
2099
- "internalType": "uint256",
2100
- "name": "releaseTime",
2101
- "type": "uint256"
2102
- },
2103
- {
2104
- "internalType": "enum EngineBlox.TxStatus",
2105
- "name": "status",
2106
- "type": "uint8"
2107
- },
2108
2005
  {
2109
2006
  "components": [
2110
- {
2111
- "internalType": "address",
2112
- "name": "requester",
2113
- "type": "address"
2114
- },
2115
- {
2116
- "internalType": "address",
2117
- "name": "target",
2118
- "type": "address"
2119
- },
2120
2007
  {
2121
2008
  "internalType": "uint256",
2122
- "name": "value",
2009
+ "name": "txId",
2123
2010
  "type": "uint256"
2124
2011
  },
2125
2012
  {
2126
2013
  "internalType": "uint256",
2127
- "name": "gasLimit",
2014
+ "name": "releaseTime",
2128
2015
  "type": "uint256"
2129
2016
  },
2130
2017
  {
2131
- "internalType": "bytes32",
2132
- "name": "operationType",
2133
- "type": "bytes32"
2018
+ "internalType": "enum EngineBlox.TxStatus",
2019
+ "name": "status",
2020
+ "type": "uint8"
2134
2021
  },
2135
2022
  {
2136
- "internalType": "bytes4",
2137
- "name": "executionSelector",
2138
- "type": "bytes4"
2023
+ "components": [
2024
+ {
2025
+ "internalType": "address",
2026
+ "name": "requester",
2027
+ "type": "address"
2028
+ },
2029
+ {
2030
+ "internalType": "address",
2031
+ "name": "target",
2032
+ "type": "address"
2033
+ },
2034
+ {
2035
+ "internalType": "uint256",
2036
+ "name": "value",
2037
+ "type": "uint256"
2038
+ },
2039
+ {
2040
+ "internalType": "uint256",
2041
+ "name": "gasLimit",
2042
+ "type": "uint256"
2043
+ },
2044
+ {
2045
+ "internalType": "bytes32",
2046
+ "name": "operationType",
2047
+ "type": "bytes32"
2048
+ },
2049
+ {
2050
+ "internalType": "bytes4",
2051
+ "name": "executionSelector",
2052
+ "type": "bytes4"
2053
+ },
2054
+ {
2055
+ "internalType": "bytes",
2056
+ "name": "executionParams",
2057
+ "type": "bytes"
2058
+ }
2059
+ ],
2060
+ "internalType": "struct EngineBlox.TxParams",
2061
+ "name": "params",
2062
+ "type": "tuple"
2063
+ },
2064
+ {
2065
+ "internalType": "bytes32",
2066
+ "name": "message",
2067
+ "type": "bytes32"
2139
2068
  },
2140
2069
  {
2141
2070
  "internalType": "bytes",
2142
- "name": "executionParams",
2071
+ "name": "result",
2143
2072
  "type": "bytes"
2073
+ },
2074
+ {
2075
+ "components": [
2076
+ {
2077
+ "internalType": "address",
2078
+ "name": "recipient",
2079
+ "type": "address"
2080
+ },
2081
+ {
2082
+ "internalType": "uint256",
2083
+ "name": "nativeTokenAmount",
2084
+ "type": "uint256"
2085
+ },
2086
+ {
2087
+ "internalType": "address",
2088
+ "name": "erc20TokenAddress",
2089
+ "type": "address"
2090
+ },
2091
+ {
2092
+ "internalType": "uint256",
2093
+ "name": "erc20TokenAmount",
2094
+ "type": "uint256"
2095
+ }
2096
+ ],
2097
+ "internalType": "struct EngineBlox.PaymentDetails",
2098
+ "name": "payment",
2099
+ "type": "tuple"
2144
2100
  }
2145
2101
  ],
2146
- "internalType": "struct EngineBlox.TxParams",
2147
- "name": "params",
2102
+ "internalType": "struct EngineBlox.TxRecord",
2103
+ "name": "txRecord",
2148
2104
  "type": "tuple"
2149
2105
  },
2150
- {
2151
- "internalType": "bytes32",
2152
- "name": "message",
2153
- "type": "bytes32"
2154
- },
2155
- {
2156
- "internalType": "bytes",
2157
- "name": "result",
2158
- "type": "bytes"
2159
- },
2160
2106
  {
2161
2107
  "components": [
2162
2108
  {
2163
- "internalType": "address",
2164
- "name": "recipient",
2165
- "type": "address"
2109
+ "internalType": "uint256",
2110
+ "name": "chainId",
2111
+ "type": "uint256"
2166
2112
  },
2167
2113
  {
2168
2114
  "internalType": "uint256",
2169
- "name": "nativeTokenAmount",
2115
+ "name": "nonce",
2170
2116
  "type": "uint256"
2171
2117
  },
2172
2118
  {
2173
2119
  "internalType": "address",
2174
- "name": "erc20TokenAddress",
2120
+ "name": "handlerContract",
2175
2121
  "type": "address"
2176
2122
  },
2177
2123
  {
2178
- "internalType": "uint256",
2179
- "name": "erc20TokenAmount",
2180
- "type": "uint256"
2181
- }
2182
- ],
2183
- "internalType": "struct EngineBlox.PaymentDetails",
2184
- "name": "payment",
2185
- "type": "tuple"
2186
- }
2187
- ],
2188
- "internalType": "struct EngineBlox.TxRecord",
2189
- "name": "",
2190
- "type": "tuple"
2191
- }
2192
- ],
2193
- "stateMutability": "nonpayable",
2194
- "type": "function"
2195
- },
2196
- {
2197
- "inputs": [
2198
- {
2199
- "internalType": "uint256",
2200
- "name": "txId",
2201
- "type": "uint256"
2202
- }
2203
- ],
2204
- "name": "transferOwnershipDelayedApproval",
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"
2124
+ "internalType": "bytes4",
2125
+ "name": "handlerSelector",
2126
+ "type": "bytes4"
2229
2127
  },
2230
2128
  {
2231
- "internalType": "address",
2232
- "name": "target",
2233
- "type": "address"
2129
+ "internalType": "enum EngineBlox.TxAction",
2130
+ "name": "action",
2131
+ "type": "uint8"
2234
2132
  },
2235
2133
  {
2236
2134
  "internalType": "uint256",
2237
- "name": "value",
2135
+ "name": "deadline",
2238
2136
  "type": "uint256"
2239
2137
  },
2240
2138
  {
2241
2139
  "internalType": "uint256",
2242
- "name": "gasLimit",
2140
+ "name": "maxGasPrice",
2243
2141
  "type": "uint256"
2244
2142
  },
2245
2143
  {
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"
2144
+ "internalType": "address",
2145
+ "name": "signer",
2146
+ "type": "address"
2259
2147
  }
2260
2148
  ],
2261
- "internalType": "struct EngineBlox.TxParams",
2149
+ "internalType": "struct EngineBlox.MetaTxParams",
2262
2150
  "name": "params",
2263
2151
  "type": "tuple"
2264
2152
  },
@@ -2269,151 +2157,274 @@
2269
2157
  },
2270
2158
  {
2271
2159
  "internalType": "bytes",
2272
- "name": "result",
2160
+ "name": "signature",
2273
2161
  "type": "bytes"
2274
2162
  },
2275
2163
  {
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"
2164
+ "internalType": "bytes",
2165
+ "name": "data",
2166
+ "type": "bytes"
2301
2167
  }
2302
2168
  ],
2303
- "internalType": "struct EngineBlox.TxRecord",
2304
- "name": "",
2169
+ "internalType": "struct EngineBlox.MetaTransaction",
2170
+ "name": "metaTx",
2305
2171
  "type": "tuple"
2306
2172
  }
2307
2173
  ],
2174
+ "name": "updateBroadcasterApprovalWithMetaTx",
2175
+ "outputs": [
2176
+ {
2177
+ "internalType": "uint256",
2178
+ "name": "",
2179
+ "type": "uint256"
2180
+ }
2181
+ ],
2308
2182
  "stateMutability": "nonpayable",
2309
2183
  "type": "function"
2310
2184
  },
2311
2185
  {
2312
- "inputs": [],
2313
- "name": "transferOwnershipRequest",
2314
- "outputs": [
2186
+ "inputs": [
2315
2187
  {
2316
- "components": [
2317
- {
2318
- "internalType": "uint256",
2319
- "name": "txId",
2320
- "type": "uint256"
2321
- },
2322
- {
2323
- "internalType": "uint256",
2324
- "name": "releaseTime",
2325
- "type": "uint256"
2326
- },
2327
- {
2328
- "internalType": "enum EngineBlox.TxStatus",
2329
- "name": "status",
2330
- "type": "uint8"
2331
- },
2188
+ "internalType": "uint256",
2189
+ "name": "txId",
2190
+ "type": "uint256"
2191
+ }
2192
+ ],
2193
+ "name": "updateBroadcasterCancellation",
2194
+ "outputs": [
2195
+ {
2196
+ "internalType": "uint256",
2197
+ "name": "",
2198
+ "type": "uint256"
2199
+ }
2200
+ ],
2201
+ "stateMutability": "nonpayable",
2202
+ "type": "function"
2203
+ },
2204
+ {
2205
+ "inputs": [
2206
+ {
2207
+ "components": [
2332
2208
  {
2333
2209
  "components": [
2334
- {
2335
- "internalType": "address",
2336
- "name": "requester",
2337
- "type": "address"
2338
- },
2339
- {
2340
- "internalType": "address",
2341
- "name": "target",
2342
- "type": "address"
2343
- },
2344
2210
  {
2345
2211
  "internalType": "uint256",
2346
- "name": "value",
2212
+ "name": "txId",
2347
2213
  "type": "uint256"
2348
2214
  },
2349
2215
  {
2350
2216
  "internalType": "uint256",
2351
- "name": "gasLimit",
2217
+ "name": "releaseTime",
2352
2218
  "type": "uint256"
2353
2219
  },
2354
2220
  {
2355
- "internalType": "bytes32",
2356
- "name": "operationType",
2357
- "type": "bytes32"
2221
+ "internalType": "enum EngineBlox.TxStatus",
2222
+ "name": "status",
2223
+ "type": "uint8"
2358
2224
  },
2359
2225
  {
2360
- "internalType": "bytes4",
2361
- "name": "executionSelector",
2362
- "type": "bytes4"
2226
+ "components": [
2227
+ {
2228
+ "internalType": "address",
2229
+ "name": "requester",
2230
+ "type": "address"
2231
+ },
2232
+ {
2233
+ "internalType": "address",
2234
+ "name": "target",
2235
+ "type": "address"
2236
+ },
2237
+ {
2238
+ "internalType": "uint256",
2239
+ "name": "value",
2240
+ "type": "uint256"
2241
+ },
2242
+ {
2243
+ "internalType": "uint256",
2244
+ "name": "gasLimit",
2245
+ "type": "uint256"
2246
+ },
2247
+ {
2248
+ "internalType": "bytes32",
2249
+ "name": "operationType",
2250
+ "type": "bytes32"
2251
+ },
2252
+ {
2253
+ "internalType": "bytes4",
2254
+ "name": "executionSelector",
2255
+ "type": "bytes4"
2256
+ },
2257
+ {
2258
+ "internalType": "bytes",
2259
+ "name": "executionParams",
2260
+ "type": "bytes"
2261
+ }
2262
+ ],
2263
+ "internalType": "struct EngineBlox.TxParams",
2264
+ "name": "params",
2265
+ "type": "tuple"
2266
+ },
2267
+ {
2268
+ "internalType": "bytes32",
2269
+ "name": "message",
2270
+ "type": "bytes32"
2363
2271
  },
2364
2272
  {
2365
2273
  "internalType": "bytes",
2366
- "name": "executionParams",
2274
+ "name": "result",
2367
2275
  "type": "bytes"
2276
+ },
2277
+ {
2278
+ "components": [
2279
+ {
2280
+ "internalType": "address",
2281
+ "name": "recipient",
2282
+ "type": "address"
2283
+ },
2284
+ {
2285
+ "internalType": "uint256",
2286
+ "name": "nativeTokenAmount",
2287
+ "type": "uint256"
2288
+ },
2289
+ {
2290
+ "internalType": "address",
2291
+ "name": "erc20TokenAddress",
2292
+ "type": "address"
2293
+ },
2294
+ {
2295
+ "internalType": "uint256",
2296
+ "name": "erc20TokenAmount",
2297
+ "type": "uint256"
2298
+ }
2299
+ ],
2300
+ "internalType": "struct EngineBlox.PaymentDetails",
2301
+ "name": "payment",
2302
+ "type": "tuple"
2368
2303
  }
2369
2304
  ],
2370
- "internalType": "struct EngineBlox.TxParams",
2371
- "name": "params",
2305
+ "internalType": "struct EngineBlox.TxRecord",
2306
+ "name": "txRecord",
2372
2307
  "type": "tuple"
2373
2308
  },
2374
- {
2375
- "internalType": "bytes32",
2376
- "name": "message",
2377
- "type": "bytes32"
2378
- },
2379
- {
2380
- "internalType": "bytes",
2381
- "name": "result",
2382
- "type": "bytes"
2383
- },
2384
2309
  {
2385
2310
  "components": [
2386
2311
  {
2387
- "internalType": "address",
2388
- "name": "recipient",
2389
- "type": "address"
2312
+ "internalType": "uint256",
2313
+ "name": "chainId",
2314
+ "type": "uint256"
2390
2315
  },
2391
2316
  {
2392
2317
  "internalType": "uint256",
2393
- "name": "nativeTokenAmount",
2318
+ "name": "nonce",
2394
2319
  "type": "uint256"
2395
2320
  },
2396
2321
  {
2397
2322
  "internalType": "address",
2398
- "name": "erc20TokenAddress",
2323
+ "name": "handlerContract",
2399
2324
  "type": "address"
2400
2325
  },
2326
+ {
2327
+ "internalType": "bytes4",
2328
+ "name": "handlerSelector",
2329
+ "type": "bytes4"
2330
+ },
2331
+ {
2332
+ "internalType": "enum EngineBlox.TxAction",
2333
+ "name": "action",
2334
+ "type": "uint8"
2335
+ },
2401
2336
  {
2402
2337
  "internalType": "uint256",
2403
- "name": "erc20TokenAmount",
2338
+ "name": "deadline",
2339
+ "type": "uint256"
2340
+ },
2341
+ {
2342
+ "internalType": "uint256",
2343
+ "name": "maxGasPrice",
2404
2344
  "type": "uint256"
2345
+ },
2346
+ {
2347
+ "internalType": "address",
2348
+ "name": "signer",
2349
+ "type": "address"
2405
2350
  }
2406
2351
  ],
2407
- "internalType": "struct EngineBlox.PaymentDetails",
2408
- "name": "payment",
2352
+ "internalType": "struct EngineBlox.MetaTxParams",
2353
+ "name": "params",
2409
2354
  "type": "tuple"
2355
+ },
2356
+ {
2357
+ "internalType": "bytes32",
2358
+ "name": "message",
2359
+ "type": "bytes32"
2360
+ },
2361
+ {
2362
+ "internalType": "bytes",
2363
+ "name": "signature",
2364
+ "type": "bytes"
2365
+ },
2366
+ {
2367
+ "internalType": "bytes",
2368
+ "name": "data",
2369
+ "type": "bytes"
2410
2370
  }
2411
2371
  ],
2412
- "internalType": "struct EngineBlox.TxRecord",
2413
- "name": "",
2372
+ "internalType": "struct EngineBlox.MetaTransaction",
2373
+ "name": "metaTx",
2414
2374
  "type": "tuple"
2415
2375
  }
2416
2376
  ],
2377
+ "name": "updateBroadcasterCancellationWithMetaTx",
2378
+ "outputs": [
2379
+ {
2380
+ "internalType": "uint256",
2381
+ "name": "",
2382
+ "type": "uint256"
2383
+ }
2384
+ ],
2385
+ "stateMutability": "nonpayable",
2386
+ "type": "function"
2387
+ },
2388
+ {
2389
+ "inputs": [
2390
+ {
2391
+ "internalType": "uint256",
2392
+ "name": "txId",
2393
+ "type": "uint256"
2394
+ }
2395
+ ],
2396
+ "name": "updateBroadcasterDelayedApproval",
2397
+ "outputs": [
2398
+ {
2399
+ "internalType": "uint256",
2400
+ "name": "",
2401
+ "type": "uint256"
2402
+ }
2403
+ ],
2404
+ "stateMutability": "nonpayable",
2405
+ "type": "function"
2406
+ },
2407
+ {
2408
+ "inputs": [
2409
+ {
2410
+ "internalType": "address",
2411
+ "name": "newBroadcaster",
2412
+ "type": "address"
2413
+ },
2414
+ {
2415
+ "internalType": "uint256",
2416
+ "name": "location",
2417
+ "type": "uint256"
2418
+ }
2419
+ ],
2420
+ "name": "updateBroadcasterRequest",
2421
+ "outputs": [
2422
+ {
2423
+ "internalType": "uint256",
2424
+ "name": "txId",
2425
+ "type": "uint256"
2426
+ }
2427
+ ],
2417
2428
  "stateMutability": "nonpayable",
2418
2429
  "type": "function"
2419
2430
  },
@@ -2590,223 +2601,12 @@
2590
2601
  "type": "tuple"
2591
2602
  }
2592
2603
  ],
2593
- "name": "updateBroadcasterApprovalWithMetaTx",
2604
+ "name": "updateRecoveryRequestAndApprove",
2594
2605
  "outputs": [
2595
- {
2596
- "components": [
2597
- {
2598
- "internalType": "uint256",
2599
- "name": "txId",
2600
- "type": "uint256"
2601
- },
2602
- {
2603
- "internalType": "uint256",
2604
- "name": "releaseTime",
2605
- "type": "uint256"
2606
- },
2607
- {
2608
- "internalType": "enum EngineBlox.TxStatus",
2609
- "name": "status",
2610
- "type": "uint8"
2611
- },
2612
- {
2613
- "components": [
2614
- {
2615
- "internalType": "address",
2616
- "name": "requester",
2617
- "type": "address"
2618
- },
2619
- {
2620
- "internalType": "address",
2621
- "name": "target",
2622
- "type": "address"
2623
- },
2624
- {
2625
- "internalType": "uint256",
2626
- "name": "value",
2627
- "type": "uint256"
2628
- },
2629
- {
2630
- "internalType": "uint256",
2631
- "name": "gasLimit",
2632
- "type": "uint256"
2633
- },
2634
- {
2635
- "internalType": "bytes32",
2636
- "name": "operationType",
2637
- "type": "bytes32"
2638
- },
2639
- {
2640
- "internalType": "bytes4",
2641
- "name": "executionSelector",
2642
- "type": "bytes4"
2643
- },
2644
- {
2645
- "internalType": "bytes",
2646
- "name": "executionParams",
2647
- "type": "bytes"
2648
- }
2649
- ],
2650
- "internalType": "struct EngineBlox.TxParams",
2651
- "name": "params",
2652
- "type": "tuple"
2653
- },
2654
- {
2655
- "internalType": "bytes32",
2656
- "name": "message",
2657
- "type": "bytes32"
2658
- },
2659
- {
2660
- "internalType": "bytes",
2661
- "name": "result",
2662
- "type": "bytes"
2663
- },
2664
- {
2665
- "components": [
2666
- {
2667
- "internalType": "address",
2668
- "name": "recipient",
2669
- "type": "address"
2670
- },
2671
- {
2672
- "internalType": "uint256",
2673
- "name": "nativeTokenAmount",
2674
- "type": "uint256"
2675
- },
2676
- {
2677
- "internalType": "address",
2678
- "name": "erc20TokenAddress",
2679
- "type": "address"
2680
- },
2681
- {
2682
- "internalType": "uint256",
2683
- "name": "erc20TokenAmount",
2684
- "type": "uint256"
2685
- }
2686
- ],
2687
- "internalType": "struct EngineBlox.PaymentDetails",
2688
- "name": "payment",
2689
- "type": "tuple"
2690
- }
2691
- ],
2692
- "internalType": "struct EngineBlox.TxRecord",
2693
- "name": "",
2694
- "type": "tuple"
2695
- }
2696
- ],
2697
- "stateMutability": "nonpayable",
2698
- "type": "function"
2699
- },
2700
- {
2701
- "inputs": [
2702
2606
  {
2703
2607
  "internalType": "uint256",
2704
- "name": "txId",
2705
- "type": "uint256"
2706
- }
2707
- ],
2708
- "name": "updateBroadcasterCancellation",
2709
- "outputs": [
2710
- {
2711
- "components": [
2712
- {
2713
- "internalType": "uint256",
2714
- "name": "txId",
2715
- "type": "uint256"
2716
- },
2717
- {
2718
- "internalType": "uint256",
2719
- "name": "releaseTime",
2720
- "type": "uint256"
2721
- },
2722
- {
2723
- "internalType": "enum EngineBlox.TxStatus",
2724
- "name": "status",
2725
- "type": "uint8"
2726
- },
2727
- {
2728
- "components": [
2729
- {
2730
- "internalType": "address",
2731
- "name": "requester",
2732
- "type": "address"
2733
- },
2734
- {
2735
- "internalType": "address",
2736
- "name": "target",
2737
- "type": "address"
2738
- },
2739
- {
2740
- "internalType": "uint256",
2741
- "name": "value",
2742
- "type": "uint256"
2743
- },
2744
- {
2745
- "internalType": "uint256",
2746
- "name": "gasLimit",
2747
- "type": "uint256"
2748
- },
2749
- {
2750
- "internalType": "bytes32",
2751
- "name": "operationType",
2752
- "type": "bytes32"
2753
- },
2754
- {
2755
- "internalType": "bytes4",
2756
- "name": "executionSelector",
2757
- "type": "bytes4"
2758
- },
2759
- {
2760
- "internalType": "bytes",
2761
- "name": "executionParams",
2762
- "type": "bytes"
2763
- }
2764
- ],
2765
- "internalType": "struct EngineBlox.TxParams",
2766
- "name": "params",
2767
- "type": "tuple"
2768
- },
2769
- {
2770
- "internalType": "bytes32",
2771
- "name": "message",
2772
- "type": "bytes32"
2773
- },
2774
- {
2775
- "internalType": "bytes",
2776
- "name": "result",
2777
- "type": "bytes"
2778
- },
2779
- {
2780
- "components": [
2781
- {
2782
- "internalType": "address",
2783
- "name": "recipient",
2784
- "type": "address"
2785
- },
2786
- {
2787
- "internalType": "uint256",
2788
- "name": "nativeTokenAmount",
2789
- "type": "uint256"
2790
- },
2791
- {
2792
- "internalType": "address",
2793
- "name": "erc20TokenAddress",
2794
- "type": "address"
2795
- },
2796
- {
2797
- "internalType": "uint256",
2798
- "name": "erc20TokenAmount",
2799
- "type": "uint256"
2800
- }
2801
- ],
2802
- "internalType": "struct EngineBlox.PaymentDetails",
2803
- "name": "payment",
2804
- "type": "tuple"
2805
- }
2806
- ],
2807
- "internalType": "struct EngineBlox.TxRecord",
2808
2608
  "name": "",
2809
- "type": "tuple"
2609
+ "type": "uint256"
2810
2610
  }
2811
2611
  ],
2812
2612
  "stateMutability": "nonpayable",
@@ -2985,1327 +2785,153 @@
2985
2785
  "type": "tuple"
2986
2786
  }
2987
2787
  ],
2988
- "name": "updateBroadcasterCancellationWithMetaTx",
2788
+ "name": "updateTimeLockRequestAndApprove",
2989
2789
  "outputs": [
2990
2790
  {
2991
- "components": [
2992
- {
2993
- "internalType": "uint256",
2994
- "name": "txId",
2995
- "type": "uint256"
2996
- },
2997
- {
2998
- "internalType": "uint256",
2999
- "name": "releaseTime",
3000
- "type": "uint256"
3001
- },
3002
- {
3003
- "internalType": "enum EngineBlox.TxStatus",
3004
- "name": "status",
3005
- "type": "uint8"
3006
- },
3007
- {
3008
- "components": [
3009
- {
3010
- "internalType": "address",
3011
- "name": "requester",
3012
- "type": "address"
3013
- },
3014
- {
3015
- "internalType": "address",
3016
- "name": "target",
3017
- "type": "address"
3018
- },
3019
- {
3020
- "internalType": "uint256",
3021
- "name": "value",
3022
- "type": "uint256"
3023
- },
3024
- {
3025
- "internalType": "uint256",
3026
- "name": "gasLimit",
3027
- "type": "uint256"
3028
- },
3029
- {
3030
- "internalType": "bytes32",
3031
- "name": "operationType",
3032
- "type": "bytes32"
3033
- },
3034
- {
3035
- "internalType": "bytes4",
3036
- "name": "executionSelector",
3037
- "type": "bytes4"
3038
- },
3039
- {
3040
- "internalType": "bytes",
3041
- "name": "executionParams",
3042
- "type": "bytes"
3043
- }
3044
- ],
3045
- "internalType": "struct EngineBlox.TxParams",
3046
- "name": "params",
3047
- "type": "tuple"
3048
- },
3049
- {
3050
- "internalType": "bytes32",
3051
- "name": "message",
3052
- "type": "bytes32"
3053
- },
3054
- {
3055
- "internalType": "bytes",
3056
- "name": "result",
3057
- "type": "bytes"
3058
- },
3059
- {
3060
- "components": [
3061
- {
3062
- "internalType": "address",
3063
- "name": "recipient",
3064
- "type": "address"
3065
- },
3066
- {
3067
- "internalType": "uint256",
3068
- "name": "nativeTokenAmount",
3069
- "type": "uint256"
3070
- },
3071
- {
3072
- "internalType": "address",
3073
- "name": "erc20TokenAddress",
3074
- "type": "address"
3075
- },
3076
- {
3077
- "internalType": "uint256",
3078
- "name": "erc20TokenAmount",
3079
- "type": "uint256"
3080
- }
3081
- ],
3082
- "internalType": "struct EngineBlox.PaymentDetails",
3083
- "name": "payment",
3084
- "type": "tuple"
3085
- }
3086
- ],
3087
- "internalType": "struct EngineBlox.TxRecord",
3088
- "name": "",
3089
- "type": "tuple"
3090
- }
3091
- ],
3092
- "stateMutability": "nonpayable",
3093
- "type": "function"
3094
- },
3095
- {
3096
- "inputs": [
3097
- {
3098
- "internalType": "uint256",
3099
- "name": "txId",
3100
- "type": "uint256"
3101
- }
3102
- ],
3103
- "name": "updateBroadcasterDelayedApproval",
3104
- "outputs": [
3105
- {
3106
- "components": [
3107
- {
3108
- "internalType": "uint256",
3109
- "name": "txId",
3110
- "type": "uint256"
3111
- },
3112
- {
3113
- "internalType": "uint256",
3114
- "name": "releaseTime",
3115
- "type": "uint256"
3116
- },
3117
- {
3118
- "internalType": "enum EngineBlox.TxStatus",
3119
- "name": "status",
3120
- "type": "uint8"
3121
- },
3122
- {
3123
- "components": [
3124
- {
3125
- "internalType": "address",
3126
- "name": "requester",
3127
- "type": "address"
3128
- },
3129
- {
3130
- "internalType": "address",
3131
- "name": "target",
3132
- "type": "address"
3133
- },
3134
- {
3135
- "internalType": "uint256",
3136
- "name": "value",
3137
- "type": "uint256"
3138
- },
3139
- {
3140
- "internalType": "uint256",
3141
- "name": "gasLimit",
3142
- "type": "uint256"
3143
- },
3144
- {
3145
- "internalType": "bytes32",
3146
- "name": "operationType",
3147
- "type": "bytes32"
3148
- },
3149
- {
3150
- "internalType": "bytes4",
3151
- "name": "executionSelector",
3152
- "type": "bytes4"
3153
- },
3154
- {
3155
- "internalType": "bytes",
3156
- "name": "executionParams",
3157
- "type": "bytes"
3158
- }
3159
- ],
3160
- "internalType": "struct EngineBlox.TxParams",
3161
- "name": "params",
3162
- "type": "tuple"
3163
- },
3164
- {
3165
- "internalType": "bytes32",
3166
- "name": "message",
3167
- "type": "bytes32"
3168
- },
3169
- {
3170
- "internalType": "bytes",
3171
- "name": "result",
3172
- "type": "bytes"
3173
- },
3174
- {
3175
- "components": [
3176
- {
3177
- "internalType": "address",
3178
- "name": "recipient",
3179
- "type": "address"
3180
- },
3181
- {
3182
- "internalType": "uint256",
3183
- "name": "nativeTokenAmount",
3184
- "type": "uint256"
3185
- },
3186
- {
3187
- "internalType": "address",
3188
- "name": "erc20TokenAddress",
3189
- "type": "address"
3190
- },
3191
- {
3192
- "internalType": "uint256",
3193
- "name": "erc20TokenAmount",
3194
- "type": "uint256"
3195
- }
3196
- ],
3197
- "internalType": "struct EngineBlox.PaymentDetails",
3198
- "name": "payment",
3199
- "type": "tuple"
3200
- }
3201
- ],
3202
- "internalType": "struct EngineBlox.TxRecord",
3203
- "name": "",
3204
- "type": "tuple"
3205
- }
3206
- ],
3207
- "stateMutability": "nonpayable",
3208
- "type": "function"
3209
- },
3210
- {
3211
- "inputs": [
3212
- {
3213
- "internalType": "address",
3214
- "name": "newBroadcaster",
3215
- "type": "address"
3216
- }
3217
- ],
3218
- "name": "updateBroadcasterRequest",
3219
- "outputs": [
3220
- {
3221
- "components": [
3222
- {
3223
- "internalType": "uint256",
3224
- "name": "txId",
3225
- "type": "uint256"
3226
- },
3227
- {
3228
- "internalType": "uint256",
3229
- "name": "releaseTime",
3230
- "type": "uint256"
3231
- },
3232
- {
3233
- "internalType": "enum EngineBlox.TxStatus",
3234
- "name": "status",
3235
- "type": "uint8"
3236
- },
3237
- {
3238
- "components": [
3239
- {
3240
- "internalType": "address",
3241
- "name": "requester",
3242
- "type": "address"
3243
- },
3244
- {
3245
- "internalType": "address",
3246
- "name": "target",
3247
- "type": "address"
3248
- },
3249
- {
3250
- "internalType": "uint256",
3251
- "name": "value",
3252
- "type": "uint256"
3253
- },
3254
- {
3255
- "internalType": "uint256",
3256
- "name": "gasLimit",
3257
- "type": "uint256"
3258
- },
3259
- {
3260
- "internalType": "bytes32",
3261
- "name": "operationType",
3262
- "type": "bytes32"
3263
- },
3264
- {
3265
- "internalType": "bytes4",
3266
- "name": "executionSelector",
3267
- "type": "bytes4"
3268
- },
3269
- {
3270
- "internalType": "bytes",
3271
- "name": "executionParams",
3272
- "type": "bytes"
3273
- }
3274
- ],
3275
- "internalType": "struct EngineBlox.TxParams",
3276
- "name": "params",
3277
- "type": "tuple"
3278
- },
3279
- {
3280
- "internalType": "bytes32",
3281
- "name": "message",
3282
- "type": "bytes32"
3283
- },
3284
- {
3285
- "internalType": "bytes",
3286
- "name": "result",
3287
- "type": "bytes"
3288
- },
3289
- {
3290
- "components": [
3291
- {
3292
- "internalType": "address",
3293
- "name": "recipient",
3294
- "type": "address"
3295
- },
3296
- {
3297
- "internalType": "uint256",
3298
- "name": "nativeTokenAmount",
3299
- "type": "uint256"
3300
- },
3301
- {
3302
- "internalType": "address",
3303
- "name": "erc20TokenAddress",
3304
- "type": "address"
3305
- },
3306
- {
3307
- "internalType": "uint256",
3308
- "name": "erc20TokenAmount",
3309
- "type": "uint256"
3310
- }
3311
- ],
3312
- "internalType": "struct EngineBlox.PaymentDetails",
3313
- "name": "payment",
3314
- "type": "tuple"
3315
- }
3316
- ],
3317
- "internalType": "struct EngineBlox.TxRecord",
3318
- "name": "",
3319
- "type": "tuple"
3320
- }
3321
- ],
3322
- "stateMutability": "nonpayable",
3323
- "type": "function"
3324
- },
3325
- {
3326
- "inputs": [
3327
- {
3328
- "components": [
3329
- {
3330
- "components": [
3331
- {
3332
- "internalType": "uint256",
3333
- "name": "txId",
3334
- "type": "uint256"
3335
- },
3336
- {
3337
- "internalType": "uint256",
3338
- "name": "releaseTime",
3339
- "type": "uint256"
3340
- },
3341
- {
3342
- "internalType": "enum EngineBlox.TxStatus",
3343
- "name": "status",
3344
- "type": "uint8"
3345
- },
3346
- {
3347
- "components": [
3348
- {
3349
- "internalType": "address",
3350
- "name": "requester",
3351
- "type": "address"
3352
- },
3353
- {
3354
- "internalType": "address",
3355
- "name": "target",
3356
- "type": "address"
3357
- },
3358
- {
3359
- "internalType": "uint256",
3360
- "name": "value",
3361
- "type": "uint256"
3362
- },
3363
- {
3364
- "internalType": "uint256",
3365
- "name": "gasLimit",
3366
- "type": "uint256"
3367
- },
3368
- {
3369
- "internalType": "bytes32",
3370
- "name": "operationType",
3371
- "type": "bytes32"
3372
- },
3373
- {
3374
- "internalType": "bytes4",
3375
- "name": "executionSelector",
3376
- "type": "bytes4"
3377
- },
3378
- {
3379
- "internalType": "bytes",
3380
- "name": "executionParams",
3381
- "type": "bytes"
3382
- }
3383
- ],
3384
- "internalType": "struct EngineBlox.TxParams",
3385
- "name": "params",
3386
- "type": "tuple"
3387
- },
3388
- {
3389
- "internalType": "bytes32",
3390
- "name": "message",
3391
- "type": "bytes32"
3392
- },
3393
- {
3394
- "internalType": "bytes",
3395
- "name": "result",
3396
- "type": "bytes"
3397
- },
3398
- {
3399
- "components": [
3400
- {
3401
- "internalType": "address",
3402
- "name": "recipient",
3403
- "type": "address"
3404
- },
3405
- {
3406
- "internalType": "uint256",
3407
- "name": "nativeTokenAmount",
3408
- "type": "uint256"
3409
- },
3410
- {
3411
- "internalType": "address",
3412
- "name": "erc20TokenAddress",
3413
- "type": "address"
3414
- },
3415
- {
3416
- "internalType": "uint256",
3417
- "name": "erc20TokenAmount",
3418
- "type": "uint256"
3419
- }
3420
- ],
3421
- "internalType": "struct EngineBlox.PaymentDetails",
3422
- "name": "payment",
3423
- "type": "tuple"
3424
- }
3425
- ],
3426
- "internalType": "struct EngineBlox.TxRecord",
3427
- "name": "txRecord",
3428
- "type": "tuple"
3429
- },
3430
- {
3431
- "components": [
3432
- {
3433
- "internalType": "uint256",
3434
- "name": "chainId",
3435
- "type": "uint256"
3436
- },
3437
- {
3438
- "internalType": "uint256",
3439
- "name": "nonce",
3440
- "type": "uint256"
3441
- },
3442
- {
3443
- "internalType": "address",
3444
- "name": "handlerContract",
3445
- "type": "address"
3446
- },
3447
- {
3448
- "internalType": "bytes4",
3449
- "name": "handlerSelector",
3450
- "type": "bytes4"
3451
- },
3452
- {
3453
- "internalType": "enum EngineBlox.TxAction",
3454
- "name": "action",
3455
- "type": "uint8"
3456
- },
3457
- {
3458
- "internalType": "uint256",
3459
- "name": "deadline",
3460
- "type": "uint256"
3461
- },
3462
- {
3463
- "internalType": "uint256",
3464
- "name": "maxGasPrice",
3465
- "type": "uint256"
3466
- },
3467
- {
3468
- "internalType": "address",
3469
- "name": "signer",
3470
- "type": "address"
3471
- }
3472
- ],
3473
- "internalType": "struct EngineBlox.MetaTxParams",
3474
- "name": "params",
3475
- "type": "tuple"
3476
- },
3477
- {
3478
- "internalType": "bytes32",
3479
- "name": "message",
3480
- "type": "bytes32"
3481
- },
3482
- {
3483
- "internalType": "bytes",
3484
- "name": "signature",
3485
- "type": "bytes"
3486
- },
3487
- {
3488
- "internalType": "bytes",
3489
- "name": "data",
3490
- "type": "bytes"
3491
- }
3492
- ],
3493
- "internalType": "struct EngineBlox.MetaTransaction",
3494
- "name": "metaTx",
3495
- "type": "tuple"
3496
- }
3497
- ],
3498
- "name": "updateRecoveryRequestAndApprove",
3499
- "outputs": [
3500
- {
3501
- "components": [
3502
- {
3503
- "internalType": "uint256",
3504
- "name": "txId",
3505
- "type": "uint256"
3506
- },
3507
- {
3508
- "internalType": "uint256",
3509
- "name": "releaseTime",
3510
- "type": "uint256"
3511
- },
3512
- {
3513
- "internalType": "enum EngineBlox.TxStatus",
3514
- "name": "status",
3515
- "type": "uint8"
3516
- },
3517
- {
3518
- "components": [
3519
- {
3520
- "internalType": "address",
3521
- "name": "requester",
3522
- "type": "address"
3523
- },
3524
- {
3525
- "internalType": "address",
3526
- "name": "target",
3527
- "type": "address"
3528
- },
3529
- {
3530
- "internalType": "uint256",
3531
- "name": "value",
3532
- "type": "uint256"
3533
- },
3534
- {
3535
- "internalType": "uint256",
3536
- "name": "gasLimit",
3537
- "type": "uint256"
3538
- },
3539
- {
3540
- "internalType": "bytes32",
3541
- "name": "operationType",
3542
- "type": "bytes32"
3543
- },
3544
- {
3545
- "internalType": "bytes4",
3546
- "name": "executionSelector",
3547
- "type": "bytes4"
3548
- },
3549
- {
3550
- "internalType": "bytes",
3551
- "name": "executionParams",
3552
- "type": "bytes"
3553
- }
3554
- ],
3555
- "internalType": "struct EngineBlox.TxParams",
3556
- "name": "params",
3557
- "type": "tuple"
3558
- },
3559
- {
3560
- "internalType": "bytes32",
3561
- "name": "message",
3562
- "type": "bytes32"
3563
- },
3564
- {
3565
- "internalType": "bytes",
3566
- "name": "result",
3567
- "type": "bytes"
3568
- },
3569
- {
3570
- "components": [
3571
- {
3572
- "internalType": "address",
3573
- "name": "recipient",
3574
- "type": "address"
3575
- },
3576
- {
3577
- "internalType": "uint256",
3578
- "name": "nativeTokenAmount",
3579
- "type": "uint256"
3580
- },
3581
- {
3582
- "internalType": "address",
3583
- "name": "erc20TokenAddress",
3584
- "type": "address"
3585
- },
3586
- {
3587
- "internalType": "uint256",
3588
- "name": "erc20TokenAmount",
3589
- "type": "uint256"
3590
- }
3591
- ],
3592
- "internalType": "struct EngineBlox.PaymentDetails",
3593
- "name": "payment",
3594
- "type": "tuple"
3595
- }
3596
- ],
3597
- "internalType": "struct EngineBlox.TxRecord",
3598
- "name": "",
3599
- "type": "tuple"
3600
- }
3601
- ],
3602
- "stateMutability": "nonpayable",
3603
- "type": "function"
3604
- },
3605
- {
3606
- "inputs": [
3607
- {
3608
- "components": [
3609
- {
3610
- "components": [
3611
- {
3612
- "internalType": "uint256",
3613
- "name": "txId",
3614
- "type": "uint256"
3615
- },
3616
- {
3617
- "internalType": "uint256",
3618
- "name": "releaseTime",
3619
- "type": "uint256"
3620
- },
3621
- {
3622
- "internalType": "enum EngineBlox.TxStatus",
3623
- "name": "status",
3624
- "type": "uint8"
3625
- },
3626
- {
3627
- "components": [
3628
- {
3629
- "internalType": "address",
3630
- "name": "requester",
3631
- "type": "address"
3632
- },
3633
- {
3634
- "internalType": "address",
3635
- "name": "target",
3636
- "type": "address"
3637
- },
3638
- {
3639
- "internalType": "uint256",
3640
- "name": "value",
3641
- "type": "uint256"
3642
- },
3643
- {
3644
- "internalType": "uint256",
3645
- "name": "gasLimit",
3646
- "type": "uint256"
3647
- },
3648
- {
3649
- "internalType": "bytes32",
3650
- "name": "operationType",
3651
- "type": "bytes32"
3652
- },
3653
- {
3654
- "internalType": "bytes4",
3655
- "name": "executionSelector",
3656
- "type": "bytes4"
3657
- },
3658
- {
3659
- "internalType": "bytes",
3660
- "name": "executionParams",
3661
- "type": "bytes"
3662
- }
3663
- ],
3664
- "internalType": "struct EngineBlox.TxParams",
3665
- "name": "params",
3666
- "type": "tuple"
3667
- },
3668
- {
3669
- "internalType": "bytes32",
3670
- "name": "message",
3671
- "type": "bytes32"
3672
- },
3673
- {
3674
- "internalType": "bytes",
3675
- "name": "result",
3676
- "type": "bytes"
3677
- },
3678
- {
3679
- "components": [
3680
- {
3681
- "internalType": "address",
3682
- "name": "recipient",
3683
- "type": "address"
3684
- },
3685
- {
3686
- "internalType": "uint256",
3687
- "name": "nativeTokenAmount",
3688
- "type": "uint256"
3689
- },
3690
- {
3691
- "internalType": "address",
3692
- "name": "erc20TokenAddress",
3693
- "type": "address"
3694
- },
3695
- {
3696
- "internalType": "uint256",
3697
- "name": "erc20TokenAmount",
3698
- "type": "uint256"
3699
- }
3700
- ],
3701
- "internalType": "struct EngineBlox.PaymentDetails",
3702
- "name": "payment",
3703
- "type": "tuple"
3704
- }
3705
- ],
3706
- "internalType": "struct EngineBlox.TxRecord",
3707
- "name": "txRecord",
3708
- "type": "tuple"
3709
- },
3710
- {
3711
- "components": [
3712
- {
3713
- "internalType": "uint256",
3714
- "name": "chainId",
3715
- "type": "uint256"
3716
- },
3717
- {
3718
- "internalType": "uint256",
3719
- "name": "nonce",
3720
- "type": "uint256"
3721
- },
3722
- {
3723
- "internalType": "address",
3724
- "name": "handlerContract",
3725
- "type": "address"
3726
- },
3727
- {
3728
- "internalType": "bytes4",
3729
- "name": "handlerSelector",
3730
- "type": "bytes4"
3731
- },
3732
- {
3733
- "internalType": "enum EngineBlox.TxAction",
3734
- "name": "action",
3735
- "type": "uint8"
3736
- },
3737
- {
3738
- "internalType": "uint256",
3739
- "name": "deadline",
3740
- "type": "uint256"
3741
- },
3742
- {
3743
- "internalType": "uint256",
3744
- "name": "maxGasPrice",
3745
- "type": "uint256"
3746
- },
3747
- {
3748
- "internalType": "address",
3749
- "name": "signer",
3750
- "type": "address"
3751
- }
3752
- ],
3753
- "internalType": "struct EngineBlox.MetaTxParams",
3754
- "name": "params",
3755
- "type": "tuple"
3756
- },
3757
- {
3758
- "internalType": "bytes32",
3759
- "name": "message",
3760
- "type": "bytes32"
3761
- },
3762
- {
3763
- "internalType": "bytes",
3764
- "name": "signature",
3765
- "type": "bytes"
3766
- },
3767
- {
3768
- "internalType": "bytes",
3769
- "name": "data",
3770
- "type": "bytes"
3771
- }
3772
- ],
3773
- "internalType": "struct EngineBlox.MetaTransaction",
3774
- "name": "metaTx",
3775
- "type": "tuple"
3776
- }
3777
- ],
3778
- "name": "updateTimeLockRequestAndApprove",
3779
- "outputs": [
3780
- {
3781
- "components": [
3782
- {
3783
- "internalType": "uint256",
3784
- "name": "txId",
3785
- "type": "uint256"
3786
- },
3787
- {
3788
- "internalType": "uint256",
3789
- "name": "releaseTime",
3790
- "type": "uint256"
3791
- },
3792
- {
3793
- "internalType": "enum EngineBlox.TxStatus",
3794
- "name": "status",
3795
- "type": "uint8"
3796
- },
3797
- {
3798
- "components": [
3799
- {
3800
- "internalType": "address",
3801
- "name": "requester",
3802
- "type": "address"
3803
- },
3804
- {
3805
- "internalType": "address",
3806
- "name": "target",
3807
- "type": "address"
3808
- },
3809
- {
3810
- "internalType": "uint256",
3811
- "name": "value",
3812
- "type": "uint256"
3813
- },
3814
- {
3815
- "internalType": "uint256",
3816
- "name": "gasLimit",
3817
- "type": "uint256"
3818
- },
3819
- {
3820
- "internalType": "bytes32",
3821
- "name": "operationType",
3822
- "type": "bytes32"
3823
- },
3824
- {
3825
- "internalType": "bytes4",
3826
- "name": "executionSelector",
3827
- "type": "bytes4"
3828
- },
3829
- {
3830
- "internalType": "bytes",
3831
- "name": "executionParams",
3832
- "type": "bytes"
3833
- }
3834
- ],
3835
- "internalType": "struct EngineBlox.TxParams",
3836
- "name": "params",
3837
- "type": "tuple"
3838
- },
3839
- {
3840
- "internalType": "bytes32",
3841
- "name": "message",
3842
- "type": "bytes32"
3843
- },
3844
- {
3845
- "internalType": "bytes",
3846
- "name": "result",
3847
- "type": "bytes"
3848
- },
3849
- {
3850
- "components": [
3851
- {
3852
- "internalType": "address",
3853
- "name": "recipient",
3854
- "type": "address"
3855
- },
3856
- {
3857
- "internalType": "uint256",
3858
- "name": "nativeTokenAmount",
3859
- "type": "uint256"
3860
- },
3861
- {
3862
- "internalType": "address",
3863
- "name": "erc20TokenAddress",
3864
- "type": "address"
3865
- },
3866
- {
3867
- "internalType": "uint256",
3868
- "name": "erc20TokenAmount",
3869
- "type": "uint256"
3870
- }
3871
- ],
3872
- "internalType": "struct EngineBlox.PaymentDetails",
3873
- "name": "payment",
3874
- "type": "tuple"
3875
- }
3876
- ],
3877
- "internalType": "struct EngineBlox.TxRecord",
3878
- "name": "",
3879
- "type": "tuple"
3880
- }
3881
- ],
3882
- "stateMutability": "nonpayable",
3883
- "type": "function"
3884
- },
3885
- {
3886
- "stateMutability": "payable",
3887
- "type": "receive"
3888
- },
3889
- {
3890
- "inputs": [
3891
- {
3892
- "internalType": "address",
3893
- "name": "initialOwner",
3894
- "type": "address"
3895
- },
3896
- {
3897
- "internalType": "address",
3898
- "name": "broadcaster",
3899
- "type": "address"
3900
- },
3901
- {
3902
- "internalType": "address",
3903
- "name": "recovery",
3904
- "type": "address"
3905
- },
3906
- {
3907
- "internalType": "uint256",
3908
- "name": "timeLockPeriodSec",
3909
- "type": "uint256"
3910
- },
3911
- {
3912
- "internalType": "address",
3913
- "name": "eventForwarder",
3914
- "type": "address"
3915
- }
3916
- ],
3917
- "name": "initialize",
3918
- "outputs": [],
3919
- "stateMutability": "nonpayable",
3920
- "type": "function"
3921
- },
3922
- {
3923
- "inputs": [],
3924
- "name": "getEthBalance",
3925
- "outputs": [
3926
- {
3927
- "internalType": "uint256",
3928
- "name": "",
3929
- "type": "uint256"
3930
- }
3931
- ],
3932
- "stateMutability": "view",
3933
- "type": "function"
3934
- },
3935
- {
3936
- "inputs": [
3937
- {
3938
- "internalType": "address",
3939
- "name": "token",
3940
- "type": "address"
3941
- }
3942
- ],
3943
- "name": "getTokenBalance",
3944
- "outputs": [
3945
- {
3946
- "internalType": "uint256",
3947
- "name": "",
3948
- "type": "uint256"
3949
- }
3950
- ],
3951
- "stateMutability": "view",
3952
- "type": "function"
3953
- },
3954
- {
3955
- "inputs": [
3956
- {
3957
- "internalType": "address",
3958
- "name": "to",
3959
- "type": "address"
3960
- },
3961
- {
3962
- "internalType": "uint256",
3963
- "name": "amount",
3964
- "type": "uint256"
3965
- }
3966
- ],
3967
- "name": "withdrawEthRequest",
3968
- "outputs": [
3969
- {
3970
- "components": [
3971
- {
3972
- "internalType": "uint256",
3973
- "name": "txId",
3974
- "type": "uint256"
3975
- },
3976
- {
3977
- "internalType": "uint256",
3978
- "name": "releaseTime",
3979
- "type": "uint256"
3980
- },
3981
- {
3982
- "internalType": "enum EngineBlox.TxStatus",
3983
- "name": "status",
3984
- "type": "uint8"
3985
- },
3986
- {
3987
- "components": [
3988
- {
3989
- "internalType": "address",
3990
- "name": "requester",
3991
- "type": "address"
3992
- },
3993
- {
3994
- "internalType": "address",
3995
- "name": "target",
3996
- "type": "address"
3997
- },
3998
- {
3999
- "internalType": "uint256",
4000
- "name": "value",
4001
- "type": "uint256"
4002
- },
4003
- {
4004
- "internalType": "uint256",
4005
- "name": "gasLimit",
4006
- "type": "uint256"
4007
- },
4008
- {
4009
- "internalType": "bytes32",
4010
- "name": "operationType",
4011
- "type": "bytes32"
4012
- },
4013
- {
4014
- "internalType": "bytes4",
4015
- "name": "executionSelector",
4016
- "type": "bytes4"
4017
- },
4018
- {
4019
- "internalType": "bytes",
4020
- "name": "executionParams",
4021
- "type": "bytes"
4022
- }
4023
- ],
4024
- "internalType": "struct EngineBlox.TxParams",
4025
- "name": "params",
4026
- "type": "tuple"
4027
- },
4028
- {
4029
- "internalType": "bytes32",
4030
- "name": "message",
4031
- "type": "bytes32"
4032
- },
4033
- {
4034
- "internalType": "bytes",
4035
- "name": "result",
4036
- "type": "bytes"
4037
- },
4038
- {
4039
- "components": [
4040
- {
4041
- "internalType": "address",
4042
- "name": "recipient",
4043
- "type": "address"
4044
- },
4045
- {
4046
- "internalType": "uint256",
4047
- "name": "nativeTokenAmount",
4048
- "type": "uint256"
4049
- },
4050
- {
4051
- "internalType": "address",
4052
- "name": "erc20TokenAddress",
4053
- "type": "address"
4054
- },
4055
- {
4056
- "internalType": "uint256",
4057
- "name": "erc20TokenAmount",
4058
- "type": "uint256"
4059
- }
4060
- ],
4061
- "internalType": "struct EngineBlox.PaymentDetails",
4062
- "name": "payment",
4063
- "type": "tuple"
4064
- }
4065
- ],
4066
- "internalType": "struct EngineBlox.TxRecord",
2791
+ "internalType": "uint256",
4067
2792
  "name": "",
4068
- "type": "tuple"
2793
+ "type": "uint256"
4069
2794
  }
4070
2795
  ],
4071
2796
  "stateMutability": "nonpayable",
4072
2797
  "type": "function"
4073
2798
  },
2799
+ {
2800
+ "stateMutability": "payable",
2801
+ "type": "receive"
2802
+ },
4074
2803
  {
4075
2804
  "inputs": [
4076
2805
  {
4077
2806
  "internalType": "address",
4078
- "name": "token",
2807
+ "name": "initialOwner",
4079
2808
  "type": "address"
4080
2809
  },
4081
2810
  {
4082
2811
  "internalType": "address",
4083
- "name": "to",
2812
+ "name": "broadcaster",
2813
+ "type": "address"
2814
+ },
2815
+ {
2816
+ "internalType": "address",
2817
+ "name": "recovery",
4084
2818
  "type": "address"
4085
2819
  },
4086
2820
  {
4087
2821
  "internalType": "uint256",
4088
- "name": "amount",
2822
+ "name": "timeLockPeriodSec",
4089
2823
  "type": "uint256"
2824
+ },
2825
+ {
2826
+ "internalType": "address",
2827
+ "name": "eventForwarder",
2828
+ "type": "address"
4090
2829
  }
4091
2830
  ],
4092
- "name": "withdrawTokenRequest",
2831
+ "name": "initialize",
2832
+ "outputs": [],
2833
+ "stateMutability": "nonpayable",
2834
+ "type": "function"
2835
+ },
2836
+ {
2837
+ "inputs": [],
2838
+ "name": "getEthBalance",
4093
2839
  "outputs": [
4094
2840
  {
4095
- "components": [
4096
- {
4097
- "internalType": "uint256",
4098
- "name": "txId",
4099
- "type": "uint256"
4100
- },
4101
- {
4102
- "internalType": "uint256",
4103
- "name": "releaseTime",
4104
- "type": "uint256"
4105
- },
4106
- {
4107
- "internalType": "enum EngineBlox.TxStatus",
4108
- "name": "status",
4109
- "type": "uint8"
4110
- },
4111
- {
4112
- "components": [
4113
- {
4114
- "internalType": "address",
4115
- "name": "requester",
4116
- "type": "address"
4117
- },
4118
- {
4119
- "internalType": "address",
4120
- "name": "target",
4121
- "type": "address"
4122
- },
4123
- {
4124
- "internalType": "uint256",
4125
- "name": "value",
4126
- "type": "uint256"
4127
- },
4128
- {
4129
- "internalType": "uint256",
4130
- "name": "gasLimit",
4131
- "type": "uint256"
4132
- },
4133
- {
4134
- "internalType": "bytes32",
4135
- "name": "operationType",
4136
- "type": "bytes32"
4137
- },
4138
- {
4139
- "internalType": "bytes4",
4140
- "name": "executionSelector",
4141
- "type": "bytes4"
4142
- },
4143
- {
4144
- "internalType": "bytes",
4145
- "name": "executionParams",
4146
- "type": "bytes"
4147
- }
4148
- ],
4149
- "internalType": "struct EngineBlox.TxParams",
4150
- "name": "params",
4151
- "type": "tuple"
4152
- },
4153
- {
4154
- "internalType": "bytes32",
4155
- "name": "message",
4156
- "type": "bytes32"
4157
- },
4158
- {
4159
- "internalType": "bytes",
4160
- "name": "result",
4161
- "type": "bytes"
4162
- },
4163
- {
4164
- "components": [
4165
- {
4166
- "internalType": "address",
4167
- "name": "recipient",
4168
- "type": "address"
4169
- },
4170
- {
4171
- "internalType": "uint256",
4172
- "name": "nativeTokenAmount",
4173
- "type": "uint256"
4174
- },
4175
- {
4176
- "internalType": "address",
4177
- "name": "erc20TokenAddress",
4178
- "type": "address"
4179
- },
4180
- {
4181
- "internalType": "uint256",
4182
- "name": "erc20TokenAmount",
4183
- "type": "uint256"
4184
- }
4185
- ],
4186
- "internalType": "struct EngineBlox.PaymentDetails",
4187
- "name": "payment",
4188
- "type": "tuple"
4189
- }
4190
- ],
4191
- "internalType": "struct EngineBlox.TxRecord",
2841
+ "internalType": "uint256",
4192
2842
  "name": "",
4193
- "type": "tuple"
2843
+ "type": "uint256"
4194
2844
  }
4195
2845
  ],
4196
- "stateMutability": "nonpayable",
2846
+ "stateMutability": "view",
4197
2847
  "type": "function"
4198
2848
  },
4199
2849
  {
4200
2850
  "inputs": [
2851
+ {
2852
+ "internalType": "address",
2853
+ "name": "token",
2854
+ "type": "address"
2855
+ }
2856
+ ],
2857
+ "name": "getTokenBalance",
2858
+ "outputs": [
4201
2859
  {
4202
2860
  "internalType": "uint256",
4203
- "name": "txId",
2861
+ "name": "",
4204
2862
  "type": "uint256"
4205
2863
  }
4206
2864
  ],
4207
- "name": "approveWithdrawalAfterDelay",
4208
- "outputs": [
2865
+ "stateMutability": "view",
2866
+ "type": "function"
2867
+ },
2868
+ {
2869
+ "inputs": [
4209
2870
  {
4210
- "components": [
4211
- {
4212
- "internalType": "uint256",
4213
- "name": "txId",
4214
- "type": "uint256"
4215
- },
4216
- {
4217
- "internalType": "uint256",
4218
- "name": "releaseTime",
4219
- "type": "uint256"
4220
- },
4221
- {
4222
- "internalType": "enum EngineBlox.TxStatus",
4223
- "name": "status",
4224
- "type": "uint8"
4225
- },
4226
- {
4227
- "components": [
4228
- {
4229
- "internalType": "address",
4230
- "name": "requester",
4231
- "type": "address"
4232
- },
4233
- {
4234
- "internalType": "address",
4235
- "name": "target",
4236
- "type": "address"
4237
- },
4238
- {
4239
- "internalType": "uint256",
4240
- "name": "value",
4241
- "type": "uint256"
4242
- },
4243
- {
4244
- "internalType": "uint256",
4245
- "name": "gasLimit",
4246
- "type": "uint256"
4247
- },
4248
- {
4249
- "internalType": "bytes32",
4250
- "name": "operationType",
4251
- "type": "bytes32"
4252
- },
4253
- {
4254
- "internalType": "bytes4",
4255
- "name": "executionSelector",
4256
- "type": "bytes4"
4257
- },
4258
- {
4259
- "internalType": "bytes",
4260
- "name": "executionParams",
4261
- "type": "bytes"
4262
- }
4263
- ],
4264
- "internalType": "struct EngineBlox.TxParams",
4265
- "name": "params",
4266
- "type": "tuple"
4267
- },
4268
- {
4269
- "internalType": "bytes32",
4270
- "name": "message",
4271
- "type": "bytes32"
4272
- },
4273
- {
4274
- "internalType": "bytes",
4275
- "name": "result",
4276
- "type": "bytes"
4277
- },
4278
- {
4279
- "components": [
4280
- {
4281
- "internalType": "address",
4282
- "name": "recipient",
4283
- "type": "address"
4284
- },
4285
- {
4286
- "internalType": "uint256",
4287
- "name": "nativeTokenAmount",
4288
- "type": "uint256"
4289
- },
4290
- {
4291
- "internalType": "address",
4292
- "name": "erc20TokenAddress",
4293
- "type": "address"
4294
- },
4295
- {
4296
- "internalType": "uint256",
4297
- "name": "erc20TokenAmount",
4298
- "type": "uint256"
4299
- }
4300
- ],
4301
- "internalType": "struct EngineBlox.PaymentDetails",
4302
- "name": "payment",
4303
- "type": "tuple"
4304
- }
4305
- ],
4306
- "internalType": "struct EngineBlox.TxRecord",
2871
+ "internalType": "address",
2872
+ "name": "to",
2873
+ "type": "address"
2874
+ },
2875
+ {
2876
+ "internalType": "uint256",
2877
+ "name": "amount",
2878
+ "type": "uint256"
2879
+ }
2880
+ ],
2881
+ "name": "withdrawEthRequest",
2882
+ "outputs": [
2883
+ {
2884
+ "internalType": "uint256",
2885
+ "name": "txId",
2886
+ "type": "uint256"
2887
+ }
2888
+ ],
2889
+ "stateMutability": "nonpayable",
2890
+ "type": "function"
2891
+ },
2892
+ {
2893
+ "inputs": [
2894
+ {
2895
+ "internalType": "address",
2896
+ "name": "token",
2897
+ "type": "address"
2898
+ },
2899
+ {
2900
+ "internalType": "address",
2901
+ "name": "to",
2902
+ "type": "address"
2903
+ },
2904
+ {
2905
+ "internalType": "uint256",
2906
+ "name": "amount",
2907
+ "type": "uint256"
2908
+ }
2909
+ ],
2910
+ "name": "withdrawTokenRequest",
2911
+ "outputs": [
2912
+ {
2913
+ "internalType": "uint256",
2914
+ "name": "txId",
2915
+ "type": "uint256"
2916
+ }
2917
+ ],
2918
+ "stateMutability": "nonpayable",
2919
+ "type": "function"
2920
+ },
2921
+ {
2922
+ "inputs": [
2923
+ {
2924
+ "internalType": "uint256",
2925
+ "name": "txId",
2926
+ "type": "uint256"
2927
+ }
2928
+ ],
2929
+ "name": "approveWithdrawalAfterDelay",
2930
+ "outputs": [
2931
+ {
2932
+ "internalType": "uint256",
4307
2933
  "name": "",
4308
- "type": "tuple"
2934
+ "type": "uint256"
4309
2935
  }
4310
2936
  ],
4311
2937
  "stateMutability": "nonpayable",
@@ -4487,105 +3113,9 @@
4487
3113
  "name": "approveWithdrawalWithMetaTx",
4488
3114
  "outputs": [
4489
3115
  {
4490
- "components": [
4491
- {
4492
- "internalType": "uint256",
4493
- "name": "txId",
4494
- "type": "uint256"
4495
- },
4496
- {
4497
- "internalType": "uint256",
4498
- "name": "releaseTime",
4499
- "type": "uint256"
4500
- },
4501
- {
4502
- "internalType": "enum EngineBlox.TxStatus",
4503
- "name": "status",
4504
- "type": "uint8"
4505
- },
4506
- {
4507
- "components": [
4508
- {
4509
- "internalType": "address",
4510
- "name": "requester",
4511
- "type": "address"
4512
- },
4513
- {
4514
- "internalType": "address",
4515
- "name": "target",
4516
- "type": "address"
4517
- },
4518
- {
4519
- "internalType": "uint256",
4520
- "name": "value",
4521
- "type": "uint256"
4522
- },
4523
- {
4524
- "internalType": "uint256",
4525
- "name": "gasLimit",
4526
- "type": "uint256"
4527
- },
4528
- {
4529
- "internalType": "bytes32",
4530
- "name": "operationType",
4531
- "type": "bytes32"
4532
- },
4533
- {
4534
- "internalType": "bytes4",
4535
- "name": "executionSelector",
4536
- "type": "bytes4"
4537
- },
4538
- {
4539
- "internalType": "bytes",
4540
- "name": "executionParams",
4541
- "type": "bytes"
4542
- }
4543
- ],
4544
- "internalType": "struct EngineBlox.TxParams",
4545
- "name": "params",
4546
- "type": "tuple"
4547
- },
4548
- {
4549
- "internalType": "bytes32",
4550
- "name": "message",
4551
- "type": "bytes32"
4552
- },
4553
- {
4554
- "internalType": "bytes",
4555
- "name": "result",
4556
- "type": "bytes"
4557
- },
4558
- {
4559
- "components": [
4560
- {
4561
- "internalType": "address",
4562
- "name": "recipient",
4563
- "type": "address"
4564
- },
4565
- {
4566
- "internalType": "uint256",
4567
- "name": "nativeTokenAmount",
4568
- "type": "uint256"
4569
- },
4570
- {
4571
- "internalType": "address",
4572
- "name": "erc20TokenAddress",
4573
- "type": "address"
4574
- },
4575
- {
4576
- "internalType": "uint256",
4577
- "name": "erc20TokenAmount",
4578
- "type": "uint256"
4579
- }
4580
- ],
4581
- "internalType": "struct EngineBlox.PaymentDetails",
4582
- "name": "payment",
4583
- "type": "tuple"
4584
- }
4585
- ],
4586
- "internalType": "struct EngineBlox.TxRecord",
3116
+ "internalType": "uint256",
4587
3117
  "name": "",
4588
- "type": "tuple"
3118
+ "type": "uint256"
4589
3119
  }
4590
3120
  ],
4591
3121
  "stateMutability": "nonpayable",
@@ -4602,105 +3132,9 @@
4602
3132
  "name": "cancelWithdrawal",
4603
3133
  "outputs": [
4604
3134
  {
4605
- "components": [
4606
- {
4607
- "internalType": "uint256",
4608
- "name": "txId",
4609
- "type": "uint256"
4610
- },
4611
- {
4612
- "internalType": "uint256",
4613
- "name": "releaseTime",
4614
- "type": "uint256"
4615
- },
4616
- {
4617
- "internalType": "enum EngineBlox.TxStatus",
4618
- "name": "status",
4619
- "type": "uint8"
4620
- },
4621
- {
4622
- "components": [
4623
- {
4624
- "internalType": "address",
4625
- "name": "requester",
4626
- "type": "address"
4627
- },
4628
- {
4629
- "internalType": "address",
4630
- "name": "target",
4631
- "type": "address"
4632
- },
4633
- {
4634
- "internalType": "uint256",
4635
- "name": "value",
4636
- "type": "uint256"
4637
- },
4638
- {
4639
- "internalType": "uint256",
4640
- "name": "gasLimit",
4641
- "type": "uint256"
4642
- },
4643
- {
4644
- "internalType": "bytes32",
4645
- "name": "operationType",
4646
- "type": "bytes32"
4647
- },
4648
- {
4649
- "internalType": "bytes4",
4650
- "name": "executionSelector",
4651
- "type": "bytes4"
4652
- },
4653
- {
4654
- "internalType": "bytes",
4655
- "name": "executionParams",
4656
- "type": "bytes"
4657
- }
4658
- ],
4659
- "internalType": "struct EngineBlox.TxParams",
4660
- "name": "params",
4661
- "type": "tuple"
4662
- },
4663
- {
4664
- "internalType": "bytes32",
4665
- "name": "message",
4666
- "type": "bytes32"
4667
- },
4668
- {
4669
- "internalType": "bytes",
4670
- "name": "result",
4671
- "type": "bytes"
4672
- },
4673
- {
4674
- "components": [
4675
- {
4676
- "internalType": "address",
4677
- "name": "recipient",
4678
- "type": "address"
4679
- },
4680
- {
4681
- "internalType": "uint256",
4682
- "name": "nativeTokenAmount",
4683
- "type": "uint256"
4684
- },
4685
- {
4686
- "internalType": "address",
4687
- "name": "erc20TokenAddress",
4688
- "type": "address"
4689
- },
4690
- {
4691
- "internalType": "uint256",
4692
- "name": "erc20TokenAmount",
4693
- "type": "uint256"
4694
- }
4695
- ],
4696
- "internalType": "struct EngineBlox.PaymentDetails",
4697
- "name": "payment",
4698
- "type": "tuple"
4699
- }
4700
- ],
4701
- "internalType": "struct EngineBlox.TxRecord",
3135
+ "internalType": "uint256",
4702
3136
  "name": "",
4703
- "type": "tuple"
3137
+ "type": "uint256"
4704
3138
  }
4705
3139
  ],
4706
3140
  "stateMutability": "nonpayable",