@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
@@ -45,12 +45,12 @@
45
45
  {
46
46
  "inputs": [
47
47
  {
48
- "internalType": "address",
49
- "name": "provided",
50
- "type": "address"
48
+ "internalType": "bytes4",
49
+ "name": "functionSelector",
50
+ "type": "bytes4"
51
51
  }
52
52
  ],
53
- "name": "InvalidAddress",
53
+ "name": "ContractFunctionMustBeProtected",
54
54
  "type": "error"
55
55
  },
56
56
  {
@@ -74,17 +74,6 @@
74
74
  "name": "InvalidRange",
75
75
  "type": "error"
76
76
  },
77
- {
78
- "inputs": [
79
- {
80
- "internalType": "uint256",
81
- "name": "provided",
82
- "type": "uint256"
83
- }
84
- ],
85
- "name": "MaxWalletsZero",
86
- "type": "error"
87
- },
88
77
  {
89
78
  "inputs": [
90
79
  {
@@ -101,22 +90,6 @@
101
90
  "name": "NotInitializing",
102
91
  "type": "error"
103
92
  },
104
- {
105
- "inputs": [
106
- {
107
- "internalType": "address",
108
- "name": "newAddress",
109
- "type": "address"
110
- },
111
- {
112
- "internalType": "address",
113
- "name": "currentAddress",
114
- "type": "address"
115
- }
116
- ],
117
- "name": "NotNewAddress",
118
- "type": "error"
119
- },
120
93
  {
121
94
  "inputs": [],
122
95
  "name": "NotSupported",
@@ -352,6 +325,11 @@
352
325
  "internalType": "address",
353
326
  "name": "newBroadcaster",
354
327
  "type": "address"
328
+ },
329
+ {
330
+ "internalType": "uint256",
331
+ "name": "location",
332
+ "type": "uint256"
355
333
  }
356
334
  ],
357
335
  "name": "executeBroadcasterUpdate",
@@ -377,7 +355,7 @@
377
355
  {
378
356
  "components": [
379
357
  {
380
- "internalType": "enum RuntimeRBAC.RoleConfigActionType",
358
+ "internalType": "enum IRuntimeRBAC.RoleConfigActionType",
381
359
  "name": "actionType",
382
360
  "type": "uint8"
383
361
  },
@@ -387,7 +365,7 @@
387
365
  "type": "bytes"
388
366
  }
389
367
  ],
390
- "internalType": "struct RuntimeRBAC.RoleConfigAction[]",
368
+ "internalType": "struct IRuntimeRBAC.RoleConfigAction[]",
391
369
  "name": "actions",
392
370
  "type": "tuple[]"
393
371
  }
@@ -994,34 +972,84 @@
994
972
  "name": "getFunctionSchema",
995
973
  "outputs": [
996
974
  {
997
- "internalType": "string",
998
- "name": "functionSignature",
999
- "type": "string"
1000
- },
975
+ "components": [
976
+ {
977
+ "internalType": "string",
978
+ "name": "functionSignature",
979
+ "type": "string"
980
+ },
981
+ {
982
+ "internalType": "bytes4",
983
+ "name": "functionSelector",
984
+ "type": "bytes4"
985
+ },
986
+ {
987
+ "internalType": "bytes32",
988
+ "name": "operationType",
989
+ "type": "bytes32"
990
+ },
991
+ {
992
+ "internalType": "string",
993
+ "name": "operationName",
994
+ "type": "string"
995
+ },
996
+ {
997
+ "internalType": "uint16",
998
+ "name": "supportedActionsBitmap",
999
+ "type": "uint16"
1000
+ },
1001
+ {
1002
+ "internalType": "bool",
1003
+ "name": "isProtected",
1004
+ "type": "bool"
1005
+ },
1006
+ {
1007
+ "internalType": "bytes4[]",
1008
+ "name": "handlerForSelectors",
1009
+ "type": "bytes4[]"
1010
+ }
1011
+ ],
1012
+ "internalType": "struct EngineBlox.FunctionSchema",
1013
+ "name": "",
1014
+ "type": "tuple"
1015
+ }
1016
+ ],
1017
+ "stateMutability": "view",
1018
+ "type": "function"
1019
+ },
1020
+ {
1021
+ "inputs": [
1001
1022
  {
1002
1023
  "internalType": "bytes4",
1003
- "name": "functionSelectorReturn",
1024
+ "name": "functionSelector",
1004
1025
  "type": "bytes4"
1005
- },
1006
- {
1007
- "internalType": "bytes32",
1008
- "name": "operationType",
1009
- "type": "bytes32"
1010
- },
1026
+ }
1027
+ ],
1028
+ "name": "getFunctionWhitelistTargets",
1029
+ "outputs": [
1011
1030
  {
1012
- "internalType": "string",
1013
- "name": "operationName",
1014
- "type": "string"
1015
- },
1031
+ "internalType": "address[]",
1032
+ "name": "",
1033
+ "type": "address[]"
1034
+ }
1035
+ ],
1036
+ "stateMutability": "view",
1037
+ "type": "function"
1038
+ },
1039
+ {
1040
+ "inputs": [
1016
1041
  {
1017
- "internalType": "enum EngineBlox.TxAction[]",
1018
- "name": "supportedActions",
1019
- "type": "uint8[]"
1020
- },
1042
+ "internalType": "bytes4",
1043
+ "name": "functionSelector",
1044
+ "type": "bytes4"
1045
+ }
1046
+ ],
1047
+ "name": "getHooks",
1048
+ "outputs": [
1021
1049
  {
1022
- "internalType": "bool",
1023
- "name": "isProtected",
1024
- "type": "bool"
1050
+ "internalType": "address[]",
1051
+ "name": "hooks",
1052
+ "type": "address[]"
1025
1053
  }
1026
1054
  ],
1027
1055
  "stateMutability": "view",
@@ -1686,105 +1714,9 @@
1686
1714
  "name": "roleConfigBatchRequestAndApprove",
1687
1715
  "outputs": [
1688
1716
  {
1689
- "components": [
1690
- {
1691
- "internalType": "uint256",
1692
- "name": "txId",
1693
- "type": "uint256"
1694
- },
1695
- {
1696
- "internalType": "uint256",
1697
- "name": "releaseTime",
1698
- "type": "uint256"
1699
- },
1700
- {
1701
- "internalType": "enum EngineBlox.TxStatus",
1702
- "name": "status",
1703
- "type": "uint8"
1704
- },
1705
- {
1706
- "components": [
1707
- {
1708
- "internalType": "address",
1709
- "name": "requester",
1710
- "type": "address"
1711
- },
1712
- {
1713
- "internalType": "address",
1714
- "name": "target",
1715
- "type": "address"
1716
- },
1717
- {
1718
- "internalType": "uint256",
1719
- "name": "value",
1720
- "type": "uint256"
1721
- },
1722
- {
1723
- "internalType": "uint256",
1724
- "name": "gasLimit",
1725
- "type": "uint256"
1726
- },
1727
- {
1728
- "internalType": "bytes32",
1729
- "name": "operationType",
1730
- "type": "bytes32"
1731
- },
1732
- {
1733
- "internalType": "bytes4",
1734
- "name": "executionSelector",
1735
- "type": "bytes4"
1736
- },
1737
- {
1738
- "internalType": "bytes",
1739
- "name": "executionParams",
1740
- "type": "bytes"
1741
- }
1742
- ],
1743
- "internalType": "struct EngineBlox.TxParams",
1744
- "name": "params",
1745
- "type": "tuple"
1746
- },
1747
- {
1748
- "internalType": "bytes32",
1749
- "name": "message",
1750
- "type": "bytes32"
1751
- },
1752
- {
1753
- "internalType": "bytes",
1754
- "name": "result",
1755
- "type": "bytes"
1756
- },
1757
- {
1758
- "components": [
1759
- {
1760
- "internalType": "address",
1761
- "name": "recipient",
1762
- "type": "address"
1763
- },
1764
- {
1765
- "internalType": "uint256",
1766
- "name": "nativeTokenAmount",
1767
- "type": "uint256"
1768
- },
1769
- {
1770
- "internalType": "address",
1771
- "name": "erc20TokenAddress",
1772
- "type": "address"
1773
- },
1774
- {
1775
- "internalType": "uint256",
1776
- "name": "erc20TokenAmount",
1777
- "type": "uint256"
1778
- }
1779
- ],
1780
- "internalType": "struct EngineBlox.PaymentDetails",
1781
- "name": "payment",
1782
- "type": "tuple"
1783
- }
1784
- ],
1785
- "internalType": "struct EngineBlox.TxRecord",
1717
+ "internalType": "uint256",
1786
1718
  "name": "",
1787
- "type": "tuple"
1719
+ "type": "uint256"
1788
1720
  }
1789
1721
  ],
1790
1722
  "stateMutability": "nonpayable",
@@ -1965,236 +1897,44 @@
1965
1897
  ],
1966
1898
  "name": "transferOwnershipApprovalWithMetaTx",
1967
1899
  "outputs": [
1900
+ {
1901
+ "internalType": "uint256",
1902
+ "name": "",
1903
+ "type": "uint256"
1904
+ }
1905
+ ],
1906
+ "stateMutability": "nonpayable",
1907
+ "type": "function"
1908
+ },
1909
+ {
1910
+ "inputs": [
1911
+ {
1912
+ "internalType": "uint256",
1913
+ "name": "txId",
1914
+ "type": "uint256"
1915
+ }
1916
+ ],
1917
+ "name": "transferOwnershipCancellation",
1918
+ "outputs": [
1919
+ {
1920
+ "internalType": "uint256",
1921
+ "name": "",
1922
+ "type": "uint256"
1923
+ }
1924
+ ],
1925
+ "stateMutability": "nonpayable",
1926
+ "type": "function"
1927
+ },
1928
+ {
1929
+ "inputs": [
1968
1930
  {
1969
1931
  "components": [
1970
- {
1971
- "internalType": "uint256",
1972
- "name": "txId",
1973
- "type": "uint256"
1974
- },
1975
- {
1976
- "internalType": "uint256",
1977
- "name": "releaseTime",
1978
- "type": "uint256"
1979
- },
1980
- {
1981
- "internalType": "enum EngineBlox.TxStatus",
1982
- "name": "status",
1983
- "type": "uint8"
1984
- },
1985
1932
  {
1986
1933
  "components": [
1987
1934
  {
1988
- "internalType": "address",
1989
- "name": "requester",
1990
- "type": "address"
1991
- },
1992
- {
1993
- "internalType": "address",
1994
- "name": "target",
1995
- "type": "address"
1996
- },
1997
- {
1998
- "internalType": "uint256",
1999
- "name": "value",
2000
- "type": "uint256"
2001
- },
2002
- {
2003
- "internalType": "uint256",
2004
- "name": "gasLimit",
2005
- "type": "uint256"
2006
- },
2007
- {
2008
- "internalType": "bytes32",
2009
- "name": "operationType",
2010
- "type": "bytes32"
2011
- },
2012
- {
2013
- "internalType": "bytes4",
2014
- "name": "executionSelector",
2015
- "type": "bytes4"
2016
- },
2017
- {
2018
- "internalType": "bytes",
2019
- "name": "executionParams",
2020
- "type": "bytes"
2021
- }
2022
- ],
2023
- "internalType": "struct EngineBlox.TxParams",
2024
- "name": "params",
2025
- "type": "tuple"
2026
- },
2027
- {
2028
- "internalType": "bytes32",
2029
- "name": "message",
2030
- "type": "bytes32"
2031
- },
2032
- {
2033
- "internalType": "bytes",
2034
- "name": "result",
2035
- "type": "bytes"
2036
- },
2037
- {
2038
- "components": [
2039
- {
2040
- "internalType": "address",
2041
- "name": "recipient",
2042
- "type": "address"
2043
- },
2044
- {
2045
- "internalType": "uint256",
2046
- "name": "nativeTokenAmount",
2047
- "type": "uint256"
2048
- },
2049
- {
2050
- "internalType": "address",
2051
- "name": "erc20TokenAddress",
2052
- "type": "address"
2053
- },
2054
- {
2055
- "internalType": "uint256",
2056
- "name": "erc20TokenAmount",
2057
- "type": "uint256"
2058
- }
2059
- ],
2060
- "internalType": "struct EngineBlox.PaymentDetails",
2061
- "name": "payment",
2062
- "type": "tuple"
2063
- }
2064
- ],
2065
- "internalType": "struct EngineBlox.TxRecord",
2066
- "name": "",
2067
- "type": "tuple"
2068
- }
2069
- ],
2070
- "stateMutability": "nonpayable",
2071
- "type": "function"
2072
- },
2073
- {
2074
- "inputs": [
2075
- {
2076
- "internalType": "uint256",
2077
- "name": "txId",
2078
- "type": "uint256"
2079
- }
2080
- ],
2081
- "name": "transferOwnershipCancellation",
2082
- "outputs": [
2083
- {
2084
- "components": [
2085
- {
2086
- "internalType": "uint256",
2087
- "name": "txId",
2088
- "type": "uint256"
2089
- },
2090
- {
2091
- "internalType": "uint256",
2092
- "name": "releaseTime",
2093
- "type": "uint256"
2094
- },
2095
- {
2096
- "internalType": "enum EngineBlox.TxStatus",
2097
- "name": "status",
2098
- "type": "uint8"
2099
- },
2100
- {
2101
- "components": [
2102
- {
2103
- "internalType": "address",
2104
- "name": "requester",
2105
- "type": "address"
2106
- },
2107
- {
2108
- "internalType": "address",
2109
- "name": "target",
2110
- "type": "address"
2111
- },
2112
- {
2113
- "internalType": "uint256",
2114
- "name": "value",
2115
- "type": "uint256"
2116
- },
2117
- {
2118
- "internalType": "uint256",
2119
- "name": "gasLimit",
2120
- "type": "uint256"
2121
- },
2122
- {
2123
- "internalType": "bytes32",
2124
- "name": "operationType",
2125
- "type": "bytes32"
2126
- },
2127
- {
2128
- "internalType": "bytes4",
2129
- "name": "executionSelector",
2130
- "type": "bytes4"
2131
- },
2132
- {
2133
- "internalType": "bytes",
2134
- "name": "executionParams",
2135
- "type": "bytes"
2136
- }
2137
- ],
2138
- "internalType": "struct EngineBlox.TxParams",
2139
- "name": "params",
2140
- "type": "tuple"
2141
- },
2142
- {
2143
- "internalType": "bytes32",
2144
- "name": "message",
2145
- "type": "bytes32"
2146
- },
2147
- {
2148
- "internalType": "bytes",
2149
- "name": "result",
2150
- "type": "bytes"
2151
- },
2152
- {
2153
- "components": [
2154
- {
2155
- "internalType": "address",
2156
- "name": "recipient",
2157
- "type": "address"
2158
- },
2159
- {
2160
- "internalType": "uint256",
2161
- "name": "nativeTokenAmount",
2162
- "type": "uint256"
2163
- },
2164
- {
2165
- "internalType": "address",
2166
- "name": "erc20TokenAddress",
2167
- "type": "address"
2168
- },
2169
- {
2170
- "internalType": "uint256",
2171
- "name": "erc20TokenAmount",
2172
- "type": "uint256"
2173
- }
2174
- ],
2175
- "internalType": "struct EngineBlox.PaymentDetails",
2176
- "name": "payment",
2177
- "type": "tuple"
2178
- }
2179
- ],
2180
- "internalType": "struct EngineBlox.TxRecord",
2181
- "name": "",
2182
- "type": "tuple"
2183
- }
2184
- ],
2185
- "stateMutability": "nonpayable",
2186
- "type": "function"
2187
- },
2188
- {
2189
- "inputs": [
2190
- {
2191
- "components": [
2192
- {
2193
- "components": [
2194
- {
2195
- "internalType": "uint256",
2196
- "name": "txId",
2197
- "type": "uint256"
1935
+ "internalType": "uint256",
1936
+ "name": "txId",
1937
+ "type": "uint256"
2198
1938
  },
2199
1939
  {
2200
1940
  "internalType": "uint256",
@@ -2360,732 +2100,49 @@
2360
2100
  ],
2361
2101
  "name": "transferOwnershipCancellationWithMetaTx",
2362
2102
  "outputs": [
2363
- {
2364
- "components": [
2365
- {
2366
- "internalType": "uint256",
2367
- "name": "txId",
2368
- "type": "uint256"
2369
- },
2370
- {
2371
- "internalType": "uint256",
2372
- "name": "releaseTime",
2373
- "type": "uint256"
2374
- },
2375
- {
2376
- "internalType": "enum EngineBlox.TxStatus",
2377
- "name": "status",
2378
- "type": "uint8"
2379
- },
2380
- {
2381
- "components": [
2382
- {
2383
- "internalType": "address",
2384
- "name": "requester",
2385
- "type": "address"
2386
- },
2387
- {
2388
- "internalType": "address",
2389
- "name": "target",
2390
- "type": "address"
2391
- },
2392
- {
2393
- "internalType": "uint256",
2394
- "name": "value",
2395
- "type": "uint256"
2396
- },
2397
- {
2398
- "internalType": "uint256",
2399
- "name": "gasLimit",
2400
- "type": "uint256"
2401
- },
2402
- {
2403
- "internalType": "bytes32",
2404
- "name": "operationType",
2405
- "type": "bytes32"
2406
- },
2407
- {
2408
- "internalType": "bytes4",
2409
- "name": "executionSelector",
2410
- "type": "bytes4"
2411
- },
2412
- {
2413
- "internalType": "bytes",
2414
- "name": "executionParams",
2415
- "type": "bytes"
2416
- }
2417
- ],
2418
- "internalType": "struct EngineBlox.TxParams",
2419
- "name": "params",
2420
- "type": "tuple"
2421
- },
2422
- {
2423
- "internalType": "bytes32",
2424
- "name": "message",
2425
- "type": "bytes32"
2426
- },
2427
- {
2428
- "internalType": "bytes",
2429
- "name": "result",
2430
- "type": "bytes"
2431
- },
2432
- {
2433
- "components": [
2434
- {
2435
- "internalType": "address",
2436
- "name": "recipient",
2437
- "type": "address"
2438
- },
2439
- {
2440
- "internalType": "uint256",
2441
- "name": "nativeTokenAmount",
2442
- "type": "uint256"
2443
- },
2444
- {
2445
- "internalType": "address",
2446
- "name": "erc20TokenAddress",
2447
- "type": "address"
2448
- },
2449
- {
2450
- "internalType": "uint256",
2451
- "name": "erc20TokenAmount",
2452
- "type": "uint256"
2453
- }
2454
- ],
2455
- "internalType": "struct EngineBlox.PaymentDetails",
2456
- "name": "payment",
2457
- "type": "tuple"
2458
- }
2459
- ],
2460
- "internalType": "struct EngineBlox.TxRecord",
2461
- "name": "",
2462
- "type": "tuple"
2463
- }
2464
- ],
2465
- "stateMutability": "nonpayable",
2466
- "type": "function"
2467
- },
2468
- {
2469
- "inputs": [
2470
- {
2471
- "internalType": "uint256",
2472
- "name": "txId",
2473
- "type": "uint256"
2474
- }
2475
- ],
2476
- "name": "transferOwnershipDelayedApproval",
2477
- "outputs": [
2478
- {
2479
- "components": [
2480
- {
2481
- "internalType": "uint256",
2482
- "name": "txId",
2483
- "type": "uint256"
2484
- },
2485
- {
2486
- "internalType": "uint256",
2487
- "name": "releaseTime",
2488
- "type": "uint256"
2489
- },
2490
- {
2491
- "internalType": "enum EngineBlox.TxStatus",
2492
- "name": "status",
2493
- "type": "uint8"
2494
- },
2495
- {
2496
- "components": [
2497
- {
2498
- "internalType": "address",
2499
- "name": "requester",
2500
- "type": "address"
2501
- },
2502
- {
2503
- "internalType": "address",
2504
- "name": "target",
2505
- "type": "address"
2506
- },
2507
- {
2508
- "internalType": "uint256",
2509
- "name": "value",
2510
- "type": "uint256"
2511
- },
2512
- {
2513
- "internalType": "uint256",
2514
- "name": "gasLimit",
2515
- "type": "uint256"
2516
- },
2517
- {
2518
- "internalType": "bytes32",
2519
- "name": "operationType",
2520
- "type": "bytes32"
2521
- },
2522
- {
2523
- "internalType": "bytes4",
2524
- "name": "executionSelector",
2525
- "type": "bytes4"
2526
- },
2527
- {
2528
- "internalType": "bytes",
2529
- "name": "executionParams",
2530
- "type": "bytes"
2531
- }
2532
- ],
2533
- "internalType": "struct EngineBlox.TxParams",
2534
- "name": "params",
2535
- "type": "tuple"
2536
- },
2537
- {
2538
- "internalType": "bytes32",
2539
- "name": "message",
2540
- "type": "bytes32"
2541
- },
2542
- {
2543
- "internalType": "bytes",
2544
- "name": "result",
2545
- "type": "bytes"
2546
- },
2547
- {
2548
- "components": [
2549
- {
2550
- "internalType": "address",
2551
- "name": "recipient",
2552
- "type": "address"
2553
- },
2554
- {
2555
- "internalType": "uint256",
2556
- "name": "nativeTokenAmount",
2557
- "type": "uint256"
2558
- },
2559
- {
2560
- "internalType": "address",
2561
- "name": "erc20TokenAddress",
2562
- "type": "address"
2563
- },
2564
- {
2565
- "internalType": "uint256",
2566
- "name": "erc20TokenAmount",
2567
- "type": "uint256"
2568
- }
2569
- ],
2570
- "internalType": "struct EngineBlox.PaymentDetails",
2571
- "name": "payment",
2572
- "type": "tuple"
2573
- }
2574
- ],
2575
- "internalType": "struct EngineBlox.TxRecord",
2576
- "name": "",
2577
- "type": "tuple"
2578
- }
2579
- ],
2580
- "stateMutability": "nonpayable",
2581
- "type": "function"
2582
- },
2583
- {
2584
- "inputs": [],
2585
- "name": "transferOwnershipRequest",
2586
- "outputs": [
2587
- {
2588
- "components": [
2589
- {
2590
- "internalType": "uint256",
2591
- "name": "txId",
2592
- "type": "uint256"
2593
- },
2594
- {
2595
- "internalType": "uint256",
2596
- "name": "releaseTime",
2597
- "type": "uint256"
2598
- },
2599
- {
2600
- "internalType": "enum EngineBlox.TxStatus",
2601
- "name": "status",
2602
- "type": "uint8"
2603
- },
2604
- {
2605
- "components": [
2606
- {
2607
- "internalType": "address",
2608
- "name": "requester",
2609
- "type": "address"
2610
- },
2611
- {
2612
- "internalType": "address",
2613
- "name": "target",
2614
- "type": "address"
2615
- },
2616
- {
2617
- "internalType": "uint256",
2618
- "name": "value",
2619
- "type": "uint256"
2620
- },
2621
- {
2622
- "internalType": "uint256",
2623
- "name": "gasLimit",
2624
- "type": "uint256"
2625
- },
2626
- {
2627
- "internalType": "bytes32",
2628
- "name": "operationType",
2629
- "type": "bytes32"
2630
- },
2631
- {
2632
- "internalType": "bytes4",
2633
- "name": "executionSelector",
2634
- "type": "bytes4"
2635
- },
2636
- {
2637
- "internalType": "bytes",
2638
- "name": "executionParams",
2639
- "type": "bytes"
2640
- }
2641
- ],
2642
- "internalType": "struct EngineBlox.TxParams",
2643
- "name": "params",
2644
- "type": "tuple"
2645
- },
2646
- {
2647
- "internalType": "bytes32",
2648
- "name": "message",
2649
- "type": "bytes32"
2650
- },
2651
- {
2652
- "internalType": "bytes",
2653
- "name": "result",
2654
- "type": "bytes"
2655
- },
2656
- {
2657
- "components": [
2658
- {
2659
- "internalType": "address",
2660
- "name": "recipient",
2661
- "type": "address"
2662
- },
2663
- {
2664
- "internalType": "uint256",
2665
- "name": "nativeTokenAmount",
2666
- "type": "uint256"
2667
- },
2668
- {
2669
- "internalType": "address",
2670
- "name": "erc20TokenAddress",
2671
- "type": "address"
2672
- },
2673
- {
2674
- "internalType": "uint256",
2675
- "name": "erc20TokenAmount",
2676
- "type": "uint256"
2677
- }
2678
- ],
2679
- "internalType": "struct EngineBlox.PaymentDetails",
2680
- "name": "payment",
2681
- "type": "tuple"
2682
- }
2683
- ],
2684
- "internalType": "struct EngineBlox.TxRecord",
2685
- "name": "",
2686
- "type": "tuple"
2687
- }
2688
- ],
2689
- "stateMutability": "nonpayable",
2690
- "type": "function"
2691
- },
2692
- {
2693
- "inputs": [
2694
- {
2695
- "components": [
2696
- {
2697
- "components": [
2698
- {
2699
- "internalType": "uint256",
2700
- "name": "txId",
2701
- "type": "uint256"
2702
- },
2703
- {
2704
- "internalType": "uint256",
2705
- "name": "releaseTime",
2706
- "type": "uint256"
2707
- },
2708
- {
2709
- "internalType": "enum EngineBlox.TxStatus",
2710
- "name": "status",
2711
- "type": "uint8"
2712
- },
2713
- {
2714
- "components": [
2715
- {
2716
- "internalType": "address",
2717
- "name": "requester",
2718
- "type": "address"
2719
- },
2720
- {
2721
- "internalType": "address",
2722
- "name": "target",
2723
- "type": "address"
2724
- },
2725
- {
2726
- "internalType": "uint256",
2727
- "name": "value",
2728
- "type": "uint256"
2729
- },
2730
- {
2731
- "internalType": "uint256",
2732
- "name": "gasLimit",
2733
- "type": "uint256"
2734
- },
2735
- {
2736
- "internalType": "bytes32",
2737
- "name": "operationType",
2738
- "type": "bytes32"
2739
- },
2740
- {
2741
- "internalType": "bytes4",
2742
- "name": "executionSelector",
2743
- "type": "bytes4"
2744
- },
2745
- {
2746
- "internalType": "bytes",
2747
- "name": "executionParams",
2748
- "type": "bytes"
2749
- }
2750
- ],
2751
- "internalType": "struct EngineBlox.TxParams",
2752
- "name": "params",
2753
- "type": "tuple"
2754
- },
2755
- {
2756
- "internalType": "bytes32",
2757
- "name": "message",
2758
- "type": "bytes32"
2759
- },
2760
- {
2761
- "internalType": "bytes",
2762
- "name": "result",
2763
- "type": "bytes"
2764
- },
2765
- {
2766
- "components": [
2767
- {
2768
- "internalType": "address",
2769
- "name": "recipient",
2770
- "type": "address"
2771
- },
2772
- {
2773
- "internalType": "uint256",
2774
- "name": "nativeTokenAmount",
2775
- "type": "uint256"
2776
- },
2777
- {
2778
- "internalType": "address",
2779
- "name": "erc20TokenAddress",
2780
- "type": "address"
2781
- },
2782
- {
2783
- "internalType": "uint256",
2784
- "name": "erc20TokenAmount",
2785
- "type": "uint256"
2786
- }
2787
- ],
2788
- "internalType": "struct EngineBlox.PaymentDetails",
2789
- "name": "payment",
2790
- "type": "tuple"
2791
- }
2792
- ],
2793
- "internalType": "struct EngineBlox.TxRecord",
2794
- "name": "txRecord",
2795
- "type": "tuple"
2796
- },
2797
- {
2798
- "components": [
2799
- {
2800
- "internalType": "uint256",
2801
- "name": "chainId",
2802
- "type": "uint256"
2803
- },
2804
- {
2805
- "internalType": "uint256",
2806
- "name": "nonce",
2807
- "type": "uint256"
2808
- },
2809
- {
2810
- "internalType": "address",
2811
- "name": "handlerContract",
2812
- "type": "address"
2813
- },
2814
- {
2815
- "internalType": "bytes4",
2816
- "name": "handlerSelector",
2817
- "type": "bytes4"
2818
- },
2819
- {
2820
- "internalType": "enum EngineBlox.TxAction",
2821
- "name": "action",
2822
- "type": "uint8"
2823
- },
2824
- {
2825
- "internalType": "uint256",
2826
- "name": "deadline",
2827
- "type": "uint256"
2828
- },
2829
- {
2830
- "internalType": "uint256",
2831
- "name": "maxGasPrice",
2832
- "type": "uint256"
2833
- },
2834
- {
2835
- "internalType": "address",
2836
- "name": "signer",
2837
- "type": "address"
2838
- }
2839
- ],
2840
- "internalType": "struct EngineBlox.MetaTxParams",
2841
- "name": "params",
2842
- "type": "tuple"
2843
- },
2844
- {
2845
- "internalType": "bytes32",
2846
- "name": "message",
2847
- "type": "bytes32"
2848
- },
2849
- {
2850
- "internalType": "bytes",
2851
- "name": "signature",
2852
- "type": "bytes"
2853
- },
2854
- {
2855
- "internalType": "bytes",
2856
- "name": "data",
2857
- "type": "bytes"
2858
- }
2859
- ],
2860
- "internalType": "struct EngineBlox.MetaTransaction",
2861
- "name": "metaTx",
2862
- "type": "tuple"
2863
- }
2864
- ],
2865
- "name": "updateBroadcasterApprovalWithMetaTx",
2866
- "outputs": [
2867
- {
2868
- "components": [
2869
- {
2870
- "internalType": "uint256",
2871
- "name": "txId",
2872
- "type": "uint256"
2873
- },
2874
- {
2875
- "internalType": "uint256",
2876
- "name": "releaseTime",
2877
- "type": "uint256"
2878
- },
2879
- {
2880
- "internalType": "enum EngineBlox.TxStatus",
2881
- "name": "status",
2882
- "type": "uint8"
2883
- },
2884
- {
2885
- "components": [
2886
- {
2887
- "internalType": "address",
2888
- "name": "requester",
2889
- "type": "address"
2890
- },
2891
- {
2892
- "internalType": "address",
2893
- "name": "target",
2894
- "type": "address"
2895
- },
2896
- {
2897
- "internalType": "uint256",
2898
- "name": "value",
2899
- "type": "uint256"
2900
- },
2901
- {
2902
- "internalType": "uint256",
2903
- "name": "gasLimit",
2904
- "type": "uint256"
2905
- },
2906
- {
2907
- "internalType": "bytes32",
2908
- "name": "operationType",
2909
- "type": "bytes32"
2910
- },
2911
- {
2912
- "internalType": "bytes4",
2913
- "name": "executionSelector",
2914
- "type": "bytes4"
2915
- },
2916
- {
2917
- "internalType": "bytes",
2918
- "name": "executionParams",
2919
- "type": "bytes"
2920
- }
2921
- ],
2922
- "internalType": "struct EngineBlox.TxParams",
2923
- "name": "params",
2924
- "type": "tuple"
2925
- },
2926
- {
2927
- "internalType": "bytes32",
2928
- "name": "message",
2929
- "type": "bytes32"
2930
- },
2931
- {
2932
- "internalType": "bytes",
2933
- "name": "result",
2934
- "type": "bytes"
2935
- },
2936
- {
2937
- "components": [
2938
- {
2939
- "internalType": "address",
2940
- "name": "recipient",
2941
- "type": "address"
2942
- },
2943
- {
2944
- "internalType": "uint256",
2945
- "name": "nativeTokenAmount",
2946
- "type": "uint256"
2947
- },
2948
- {
2949
- "internalType": "address",
2950
- "name": "erc20TokenAddress",
2951
- "type": "address"
2952
- },
2953
- {
2954
- "internalType": "uint256",
2955
- "name": "erc20TokenAmount",
2956
- "type": "uint256"
2957
- }
2958
- ],
2959
- "internalType": "struct EngineBlox.PaymentDetails",
2960
- "name": "payment",
2961
- "type": "tuple"
2962
- }
2963
- ],
2964
- "internalType": "struct EngineBlox.TxRecord",
2965
- "name": "",
2966
- "type": "tuple"
2967
- }
2968
- ],
2969
- "stateMutability": "nonpayable",
2970
- "type": "function"
2971
- },
2972
- {
2973
- "inputs": [
2974
- {
2975
- "internalType": "uint256",
2976
- "name": "txId",
2977
- "type": "uint256"
2978
- }
2979
- ],
2980
- "name": "updateBroadcasterCancellation",
2981
- "outputs": [
2982
- {
2983
- "components": [
2984
- {
2985
- "internalType": "uint256",
2986
- "name": "txId",
2987
- "type": "uint256"
2988
- },
2989
- {
2990
- "internalType": "uint256",
2991
- "name": "releaseTime",
2992
- "type": "uint256"
2993
- },
2994
- {
2995
- "internalType": "enum EngineBlox.TxStatus",
2996
- "name": "status",
2997
- "type": "uint8"
2998
- },
2999
- {
3000
- "components": [
3001
- {
3002
- "internalType": "address",
3003
- "name": "requester",
3004
- "type": "address"
3005
- },
3006
- {
3007
- "internalType": "address",
3008
- "name": "target",
3009
- "type": "address"
3010
- },
3011
- {
3012
- "internalType": "uint256",
3013
- "name": "value",
3014
- "type": "uint256"
3015
- },
3016
- {
3017
- "internalType": "uint256",
3018
- "name": "gasLimit",
3019
- "type": "uint256"
3020
- },
3021
- {
3022
- "internalType": "bytes32",
3023
- "name": "operationType",
3024
- "type": "bytes32"
3025
- },
3026
- {
3027
- "internalType": "bytes4",
3028
- "name": "executionSelector",
3029
- "type": "bytes4"
3030
- },
3031
- {
3032
- "internalType": "bytes",
3033
- "name": "executionParams",
3034
- "type": "bytes"
3035
- }
3036
- ],
3037
- "internalType": "struct EngineBlox.TxParams",
3038
- "name": "params",
3039
- "type": "tuple"
3040
- },
3041
- {
3042
- "internalType": "bytes32",
3043
- "name": "message",
3044
- "type": "bytes32"
3045
- },
3046
- {
3047
- "internalType": "bytes",
3048
- "name": "result",
3049
- "type": "bytes"
3050
- },
3051
- {
3052
- "components": [
3053
- {
3054
- "internalType": "address",
3055
- "name": "recipient",
3056
- "type": "address"
3057
- },
3058
- {
3059
- "internalType": "uint256",
3060
- "name": "nativeTokenAmount",
3061
- "type": "uint256"
3062
- },
3063
- {
3064
- "internalType": "address",
3065
- "name": "erc20TokenAddress",
3066
- "type": "address"
3067
- },
3068
- {
3069
- "internalType": "uint256",
3070
- "name": "erc20TokenAmount",
3071
- "type": "uint256"
3072
- }
3073
- ],
3074
- "internalType": "struct EngineBlox.PaymentDetails",
3075
- "name": "payment",
3076
- "type": "tuple"
3077
- }
3078
- ],
3079
- "internalType": "struct EngineBlox.TxRecord",
3080
- "name": "",
3081
- "type": "tuple"
3082
- }
3083
- ],
3084
- "stateMutability": "nonpayable",
3085
- "type": "function"
3086
- },
3087
- {
3088
- "inputs": [
2103
+ {
2104
+ "internalType": "uint256",
2105
+ "name": "",
2106
+ "type": "uint256"
2107
+ }
2108
+ ],
2109
+ "stateMutability": "nonpayable",
2110
+ "type": "function"
2111
+ },
2112
+ {
2113
+ "inputs": [
2114
+ {
2115
+ "internalType": "uint256",
2116
+ "name": "txId",
2117
+ "type": "uint256"
2118
+ }
2119
+ ],
2120
+ "name": "transferOwnershipDelayedApproval",
2121
+ "outputs": [
2122
+ {
2123
+ "internalType": "uint256",
2124
+ "name": "",
2125
+ "type": "uint256"
2126
+ }
2127
+ ],
2128
+ "stateMutability": "nonpayable",
2129
+ "type": "function"
2130
+ },
2131
+ {
2132
+ "inputs": [],
2133
+ "name": "transferOwnershipRequest",
2134
+ "outputs": [
2135
+ {
2136
+ "internalType": "uint256",
2137
+ "name": "txId",
2138
+ "type": "uint256"
2139
+ }
2140
+ ],
2141
+ "stateMutability": "nonpayable",
2142
+ "type": "function"
2143
+ },
2144
+ {
2145
+ "inputs": [
3089
2146
  {
3090
2147
  "components": [
3091
2148
  {
@@ -3223,213 +2280,16 @@
3223
2280
  },
3224
2281
  {
3225
2282
  "internalType": "uint256",
3226
- "name": "maxGasPrice",
3227
- "type": "uint256"
3228
- },
3229
- {
3230
- "internalType": "address",
3231
- "name": "signer",
3232
- "type": "address"
3233
- }
3234
- ],
3235
- "internalType": "struct EngineBlox.MetaTxParams",
3236
- "name": "params",
3237
- "type": "tuple"
3238
- },
3239
- {
3240
- "internalType": "bytes32",
3241
- "name": "message",
3242
- "type": "bytes32"
3243
- },
3244
- {
3245
- "internalType": "bytes",
3246
- "name": "signature",
3247
- "type": "bytes"
3248
- },
3249
- {
3250
- "internalType": "bytes",
3251
- "name": "data",
3252
- "type": "bytes"
3253
- }
3254
- ],
3255
- "internalType": "struct EngineBlox.MetaTransaction",
3256
- "name": "metaTx",
3257
- "type": "tuple"
3258
- }
3259
- ],
3260
- "name": "updateBroadcasterCancellationWithMetaTx",
3261
- "outputs": [
3262
- {
3263
- "components": [
3264
- {
3265
- "internalType": "uint256",
3266
- "name": "txId",
3267
- "type": "uint256"
3268
- },
3269
- {
3270
- "internalType": "uint256",
3271
- "name": "releaseTime",
3272
- "type": "uint256"
3273
- },
3274
- {
3275
- "internalType": "enum EngineBlox.TxStatus",
3276
- "name": "status",
3277
- "type": "uint8"
3278
- },
3279
- {
3280
- "components": [
3281
- {
3282
- "internalType": "address",
3283
- "name": "requester",
3284
- "type": "address"
3285
- },
3286
- {
3287
- "internalType": "address",
3288
- "name": "target",
3289
- "type": "address"
3290
- },
3291
- {
3292
- "internalType": "uint256",
3293
- "name": "value",
3294
- "type": "uint256"
3295
- },
3296
- {
3297
- "internalType": "uint256",
3298
- "name": "gasLimit",
3299
- "type": "uint256"
3300
- },
3301
- {
3302
- "internalType": "bytes32",
3303
- "name": "operationType",
3304
- "type": "bytes32"
3305
- },
3306
- {
3307
- "internalType": "bytes4",
3308
- "name": "executionSelector",
3309
- "type": "bytes4"
3310
- },
3311
- {
3312
- "internalType": "bytes",
3313
- "name": "executionParams",
3314
- "type": "bytes"
3315
- }
3316
- ],
3317
- "internalType": "struct EngineBlox.TxParams",
3318
- "name": "params",
3319
- "type": "tuple"
3320
- },
3321
- {
3322
- "internalType": "bytes32",
3323
- "name": "message",
3324
- "type": "bytes32"
3325
- },
3326
- {
3327
- "internalType": "bytes",
3328
- "name": "result",
3329
- "type": "bytes"
3330
- },
3331
- {
3332
- "components": [
3333
- {
3334
- "internalType": "address",
3335
- "name": "recipient",
3336
- "type": "address"
3337
- },
3338
- {
3339
- "internalType": "uint256",
3340
- "name": "nativeTokenAmount",
3341
- "type": "uint256"
3342
- },
3343
- {
3344
- "internalType": "address",
3345
- "name": "erc20TokenAddress",
3346
- "type": "address"
3347
- },
3348
- {
3349
- "internalType": "uint256",
3350
- "name": "erc20TokenAmount",
3351
- "type": "uint256"
3352
- }
3353
- ],
3354
- "internalType": "struct EngineBlox.PaymentDetails",
3355
- "name": "payment",
3356
- "type": "tuple"
3357
- }
3358
- ],
3359
- "internalType": "struct EngineBlox.TxRecord",
3360
- "name": "",
3361
- "type": "tuple"
3362
- }
3363
- ],
3364
- "stateMutability": "nonpayable",
3365
- "type": "function"
3366
- },
3367
- {
3368
- "inputs": [
3369
- {
3370
- "internalType": "uint256",
3371
- "name": "txId",
3372
- "type": "uint256"
3373
- }
3374
- ],
3375
- "name": "updateBroadcasterDelayedApproval",
3376
- "outputs": [
3377
- {
3378
- "components": [
3379
- {
3380
- "internalType": "uint256",
3381
- "name": "txId",
3382
- "type": "uint256"
3383
- },
3384
- {
3385
- "internalType": "uint256",
3386
- "name": "releaseTime",
3387
- "type": "uint256"
3388
- },
3389
- {
3390
- "internalType": "enum EngineBlox.TxStatus",
3391
- "name": "status",
3392
- "type": "uint8"
3393
- },
3394
- {
3395
- "components": [
3396
- {
3397
- "internalType": "address",
3398
- "name": "requester",
3399
- "type": "address"
3400
- },
3401
- {
3402
- "internalType": "address",
3403
- "name": "target",
3404
- "type": "address"
3405
- },
3406
- {
3407
- "internalType": "uint256",
3408
- "name": "value",
3409
- "type": "uint256"
3410
- },
3411
- {
3412
- "internalType": "uint256",
3413
- "name": "gasLimit",
2283
+ "name": "maxGasPrice",
3414
2284
  "type": "uint256"
3415
2285
  },
3416
2286
  {
3417
- "internalType": "bytes32",
3418
- "name": "operationType",
3419
- "type": "bytes32"
3420
- },
3421
- {
3422
- "internalType": "bytes4",
3423
- "name": "executionSelector",
3424
- "type": "bytes4"
3425
- },
3426
- {
3427
- "internalType": "bytes",
3428
- "name": "executionParams",
3429
- "type": "bytes"
2287
+ "internalType": "address",
2288
+ "name": "signer",
2289
+ "type": "address"
3430
2290
  }
3431
2291
  ],
3432
- "internalType": "struct EngineBlox.TxParams",
2292
+ "internalType": "struct EngineBlox.MetaTxParams",
3433
2293
  "name": "params",
3434
2294
  "type": "tuple"
3435
2295
  },
@@ -3440,157 +2300,274 @@
3440
2300
  },
3441
2301
  {
3442
2302
  "internalType": "bytes",
3443
- "name": "result",
2303
+ "name": "signature",
3444
2304
  "type": "bytes"
3445
2305
  },
3446
2306
  {
3447
- "components": [
3448
- {
3449
- "internalType": "address",
3450
- "name": "recipient",
3451
- "type": "address"
3452
- },
3453
- {
3454
- "internalType": "uint256",
3455
- "name": "nativeTokenAmount",
3456
- "type": "uint256"
3457
- },
3458
- {
3459
- "internalType": "address",
3460
- "name": "erc20TokenAddress",
3461
- "type": "address"
3462
- },
3463
- {
3464
- "internalType": "uint256",
3465
- "name": "erc20TokenAmount",
3466
- "type": "uint256"
3467
- }
3468
- ],
3469
- "internalType": "struct EngineBlox.PaymentDetails",
3470
- "name": "payment",
3471
- "type": "tuple"
2307
+ "internalType": "bytes",
2308
+ "name": "data",
2309
+ "type": "bytes"
3472
2310
  }
3473
2311
  ],
3474
- "internalType": "struct EngineBlox.TxRecord",
3475
- "name": "",
2312
+ "internalType": "struct EngineBlox.MetaTransaction",
2313
+ "name": "metaTx",
3476
2314
  "type": "tuple"
3477
2315
  }
3478
2316
  ],
2317
+ "name": "updateBroadcasterApprovalWithMetaTx",
2318
+ "outputs": [
2319
+ {
2320
+ "internalType": "uint256",
2321
+ "name": "",
2322
+ "type": "uint256"
2323
+ }
2324
+ ],
3479
2325
  "stateMutability": "nonpayable",
3480
2326
  "type": "function"
3481
2327
  },
3482
2328
  {
3483
2329
  "inputs": [
3484
2330
  {
3485
- "internalType": "address",
3486
- "name": "newBroadcaster",
3487
- "type": "address"
2331
+ "internalType": "uint256",
2332
+ "name": "txId",
2333
+ "type": "uint256"
3488
2334
  }
3489
2335
  ],
3490
- "name": "updateBroadcasterRequest",
2336
+ "name": "updateBroadcasterCancellation",
3491
2337
  "outputs": [
2338
+ {
2339
+ "internalType": "uint256",
2340
+ "name": "",
2341
+ "type": "uint256"
2342
+ }
2343
+ ],
2344
+ "stateMutability": "nonpayable",
2345
+ "type": "function"
2346
+ },
2347
+ {
2348
+ "inputs": [
3492
2349
  {
3493
2350
  "components": [
3494
- {
3495
- "internalType": "uint256",
3496
- "name": "txId",
3497
- "type": "uint256"
3498
- },
3499
- {
3500
- "internalType": "uint256",
3501
- "name": "releaseTime",
3502
- "type": "uint256"
3503
- },
3504
- {
3505
- "internalType": "enum EngineBlox.TxStatus",
3506
- "name": "status",
3507
- "type": "uint8"
3508
- },
3509
2351
  {
3510
2352
  "components": [
3511
- {
3512
- "internalType": "address",
3513
- "name": "requester",
3514
- "type": "address"
3515
- },
3516
- {
3517
- "internalType": "address",
3518
- "name": "target",
3519
- "type": "address"
3520
- },
3521
2353
  {
3522
2354
  "internalType": "uint256",
3523
- "name": "value",
2355
+ "name": "txId",
3524
2356
  "type": "uint256"
3525
2357
  },
3526
2358
  {
3527
2359
  "internalType": "uint256",
3528
- "name": "gasLimit",
2360
+ "name": "releaseTime",
3529
2361
  "type": "uint256"
3530
2362
  },
3531
2363
  {
3532
- "internalType": "bytes32",
3533
- "name": "operationType",
3534
- "type": "bytes32"
2364
+ "internalType": "enum EngineBlox.TxStatus",
2365
+ "name": "status",
2366
+ "type": "uint8"
3535
2367
  },
3536
2368
  {
3537
- "internalType": "bytes4",
3538
- "name": "executionSelector",
3539
- "type": "bytes4"
2369
+ "components": [
2370
+ {
2371
+ "internalType": "address",
2372
+ "name": "requester",
2373
+ "type": "address"
2374
+ },
2375
+ {
2376
+ "internalType": "address",
2377
+ "name": "target",
2378
+ "type": "address"
2379
+ },
2380
+ {
2381
+ "internalType": "uint256",
2382
+ "name": "value",
2383
+ "type": "uint256"
2384
+ },
2385
+ {
2386
+ "internalType": "uint256",
2387
+ "name": "gasLimit",
2388
+ "type": "uint256"
2389
+ },
2390
+ {
2391
+ "internalType": "bytes32",
2392
+ "name": "operationType",
2393
+ "type": "bytes32"
2394
+ },
2395
+ {
2396
+ "internalType": "bytes4",
2397
+ "name": "executionSelector",
2398
+ "type": "bytes4"
2399
+ },
2400
+ {
2401
+ "internalType": "bytes",
2402
+ "name": "executionParams",
2403
+ "type": "bytes"
2404
+ }
2405
+ ],
2406
+ "internalType": "struct EngineBlox.TxParams",
2407
+ "name": "params",
2408
+ "type": "tuple"
2409
+ },
2410
+ {
2411
+ "internalType": "bytes32",
2412
+ "name": "message",
2413
+ "type": "bytes32"
3540
2414
  },
3541
2415
  {
3542
2416
  "internalType": "bytes",
3543
- "name": "executionParams",
2417
+ "name": "result",
3544
2418
  "type": "bytes"
2419
+ },
2420
+ {
2421
+ "components": [
2422
+ {
2423
+ "internalType": "address",
2424
+ "name": "recipient",
2425
+ "type": "address"
2426
+ },
2427
+ {
2428
+ "internalType": "uint256",
2429
+ "name": "nativeTokenAmount",
2430
+ "type": "uint256"
2431
+ },
2432
+ {
2433
+ "internalType": "address",
2434
+ "name": "erc20TokenAddress",
2435
+ "type": "address"
2436
+ },
2437
+ {
2438
+ "internalType": "uint256",
2439
+ "name": "erc20TokenAmount",
2440
+ "type": "uint256"
2441
+ }
2442
+ ],
2443
+ "internalType": "struct EngineBlox.PaymentDetails",
2444
+ "name": "payment",
2445
+ "type": "tuple"
3545
2446
  }
3546
2447
  ],
3547
- "internalType": "struct EngineBlox.TxParams",
3548
- "name": "params",
2448
+ "internalType": "struct EngineBlox.TxRecord",
2449
+ "name": "txRecord",
3549
2450
  "type": "tuple"
3550
2451
  },
3551
- {
3552
- "internalType": "bytes32",
3553
- "name": "message",
3554
- "type": "bytes32"
3555
- },
3556
- {
3557
- "internalType": "bytes",
3558
- "name": "result",
3559
- "type": "bytes"
3560
- },
3561
2452
  {
3562
2453
  "components": [
3563
2454
  {
3564
- "internalType": "address",
3565
- "name": "recipient",
3566
- "type": "address"
2455
+ "internalType": "uint256",
2456
+ "name": "chainId",
2457
+ "type": "uint256"
3567
2458
  },
3568
2459
  {
3569
2460
  "internalType": "uint256",
3570
- "name": "nativeTokenAmount",
2461
+ "name": "nonce",
3571
2462
  "type": "uint256"
3572
2463
  },
3573
2464
  {
3574
2465
  "internalType": "address",
3575
- "name": "erc20TokenAddress",
2466
+ "name": "handlerContract",
3576
2467
  "type": "address"
3577
2468
  },
2469
+ {
2470
+ "internalType": "bytes4",
2471
+ "name": "handlerSelector",
2472
+ "type": "bytes4"
2473
+ },
2474
+ {
2475
+ "internalType": "enum EngineBlox.TxAction",
2476
+ "name": "action",
2477
+ "type": "uint8"
2478
+ },
3578
2479
  {
3579
2480
  "internalType": "uint256",
3580
- "name": "erc20TokenAmount",
2481
+ "name": "deadline",
2482
+ "type": "uint256"
2483
+ },
2484
+ {
2485
+ "internalType": "uint256",
2486
+ "name": "maxGasPrice",
3581
2487
  "type": "uint256"
2488
+ },
2489
+ {
2490
+ "internalType": "address",
2491
+ "name": "signer",
2492
+ "type": "address"
3582
2493
  }
3583
2494
  ],
3584
- "internalType": "struct EngineBlox.PaymentDetails",
3585
- "name": "payment",
2495
+ "internalType": "struct EngineBlox.MetaTxParams",
2496
+ "name": "params",
3586
2497
  "type": "tuple"
2498
+ },
2499
+ {
2500
+ "internalType": "bytes32",
2501
+ "name": "message",
2502
+ "type": "bytes32"
2503
+ },
2504
+ {
2505
+ "internalType": "bytes",
2506
+ "name": "signature",
2507
+ "type": "bytes"
2508
+ },
2509
+ {
2510
+ "internalType": "bytes",
2511
+ "name": "data",
2512
+ "type": "bytes"
3587
2513
  }
3588
2514
  ],
3589
- "internalType": "struct EngineBlox.TxRecord",
3590
- "name": "",
2515
+ "internalType": "struct EngineBlox.MetaTransaction",
2516
+ "name": "metaTx",
3591
2517
  "type": "tuple"
3592
2518
  }
3593
2519
  ],
2520
+ "name": "updateBroadcasterCancellationWithMetaTx",
2521
+ "outputs": [
2522
+ {
2523
+ "internalType": "uint256",
2524
+ "name": "",
2525
+ "type": "uint256"
2526
+ }
2527
+ ],
2528
+ "stateMutability": "nonpayable",
2529
+ "type": "function"
2530
+ },
2531
+ {
2532
+ "inputs": [
2533
+ {
2534
+ "internalType": "uint256",
2535
+ "name": "txId",
2536
+ "type": "uint256"
2537
+ }
2538
+ ],
2539
+ "name": "updateBroadcasterDelayedApproval",
2540
+ "outputs": [
2541
+ {
2542
+ "internalType": "uint256",
2543
+ "name": "",
2544
+ "type": "uint256"
2545
+ }
2546
+ ],
2547
+ "stateMutability": "nonpayable",
2548
+ "type": "function"
2549
+ },
2550
+ {
2551
+ "inputs": [
2552
+ {
2553
+ "internalType": "address",
2554
+ "name": "newBroadcaster",
2555
+ "type": "address"
2556
+ },
2557
+ {
2558
+ "internalType": "uint256",
2559
+ "name": "location",
2560
+ "type": "uint256"
2561
+ }
2562
+ ],
2563
+ "name": "updateBroadcasterRequest",
2564
+ "outputs": [
2565
+ {
2566
+ "internalType": "uint256",
2567
+ "name": "txId",
2568
+ "type": "uint256"
2569
+ }
2570
+ ],
3594
2571
  "stateMutability": "nonpayable",
3595
2572
  "type": "function"
3596
2573
  },
@@ -3770,105 +2747,9 @@
3770
2747
  "name": "updateRecoveryRequestAndApprove",
3771
2748
  "outputs": [
3772
2749
  {
3773
- "components": [
3774
- {
3775
- "internalType": "uint256",
3776
- "name": "txId",
3777
- "type": "uint256"
3778
- },
3779
- {
3780
- "internalType": "uint256",
3781
- "name": "releaseTime",
3782
- "type": "uint256"
3783
- },
3784
- {
3785
- "internalType": "enum EngineBlox.TxStatus",
3786
- "name": "status",
3787
- "type": "uint8"
3788
- },
3789
- {
3790
- "components": [
3791
- {
3792
- "internalType": "address",
3793
- "name": "requester",
3794
- "type": "address"
3795
- },
3796
- {
3797
- "internalType": "address",
3798
- "name": "target",
3799
- "type": "address"
3800
- },
3801
- {
3802
- "internalType": "uint256",
3803
- "name": "value",
3804
- "type": "uint256"
3805
- },
3806
- {
3807
- "internalType": "uint256",
3808
- "name": "gasLimit",
3809
- "type": "uint256"
3810
- },
3811
- {
3812
- "internalType": "bytes32",
3813
- "name": "operationType",
3814
- "type": "bytes32"
3815
- },
3816
- {
3817
- "internalType": "bytes4",
3818
- "name": "executionSelector",
3819
- "type": "bytes4"
3820
- },
3821
- {
3822
- "internalType": "bytes",
3823
- "name": "executionParams",
3824
- "type": "bytes"
3825
- }
3826
- ],
3827
- "internalType": "struct EngineBlox.TxParams",
3828
- "name": "params",
3829
- "type": "tuple"
3830
- },
3831
- {
3832
- "internalType": "bytes32",
3833
- "name": "message",
3834
- "type": "bytes32"
3835
- },
3836
- {
3837
- "internalType": "bytes",
3838
- "name": "result",
3839
- "type": "bytes"
3840
- },
3841
- {
3842
- "components": [
3843
- {
3844
- "internalType": "address",
3845
- "name": "recipient",
3846
- "type": "address"
3847
- },
3848
- {
3849
- "internalType": "uint256",
3850
- "name": "nativeTokenAmount",
3851
- "type": "uint256"
3852
- },
3853
- {
3854
- "internalType": "address",
3855
- "name": "erc20TokenAddress",
3856
- "type": "address"
3857
- },
3858
- {
3859
- "internalType": "uint256",
3860
- "name": "erc20TokenAmount",
3861
- "type": "uint256"
3862
- }
3863
- ],
3864
- "internalType": "struct EngineBlox.PaymentDetails",
3865
- "name": "payment",
3866
- "type": "tuple"
3867
- }
3868
- ],
3869
- "internalType": "struct EngineBlox.TxRecord",
2750
+ "internalType": "uint256",
3870
2751
  "name": "",
3871
- "type": "tuple"
2752
+ "type": "uint256"
3872
2753
  }
3873
2754
  ],
3874
2755
  "stateMutability": "nonpayable",
@@ -4050,105 +2931,9 @@
4050
2931
  "name": "updateTimeLockRequestAndApprove",
4051
2932
  "outputs": [
4052
2933
  {
4053
- "components": [
4054
- {
4055
- "internalType": "uint256",
4056
- "name": "txId",
4057
- "type": "uint256"
4058
- },
4059
- {
4060
- "internalType": "uint256",
4061
- "name": "releaseTime",
4062
- "type": "uint256"
4063
- },
4064
- {
4065
- "internalType": "enum EngineBlox.TxStatus",
4066
- "name": "status",
4067
- "type": "uint8"
4068
- },
4069
- {
4070
- "components": [
4071
- {
4072
- "internalType": "address",
4073
- "name": "requester",
4074
- "type": "address"
4075
- },
4076
- {
4077
- "internalType": "address",
4078
- "name": "target",
4079
- "type": "address"
4080
- },
4081
- {
4082
- "internalType": "uint256",
4083
- "name": "value",
4084
- "type": "uint256"
4085
- },
4086
- {
4087
- "internalType": "uint256",
4088
- "name": "gasLimit",
4089
- "type": "uint256"
4090
- },
4091
- {
4092
- "internalType": "bytes32",
4093
- "name": "operationType",
4094
- "type": "bytes32"
4095
- },
4096
- {
4097
- "internalType": "bytes4",
4098
- "name": "executionSelector",
4099
- "type": "bytes4"
4100
- },
4101
- {
4102
- "internalType": "bytes",
4103
- "name": "executionParams",
4104
- "type": "bytes"
4105
- }
4106
- ],
4107
- "internalType": "struct EngineBlox.TxParams",
4108
- "name": "params",
4109
- "type": "tuple"
4110
- },
4111
- {
4112
- "internalType": "bytes32",
4113
- "name": "message",
4114
- "type": "bytes32"
4115
- },
4116
- {
4117
- "internalType": "bytes",
4118
- "name": "result",
4119
- "type": "bytes"
4120
- },
4121
- {
4122
- "components": [
4123
- {
4124
- "internalType": "address",
4125
- "name": "recipient",
4126
- "type": "address"
4127
- },
4128
- {
4129
- "internalType": "uint256",
4130
- "name": "nativeTokenAmount",
4131
- "type": "uint256"
4132
- },
4133
- {
4134
- "internalType": "address",
4135
- "name": "erc20TokenAddress",
4136
- "type": "address"
4137
- },
4138
- {
4139
- "internalType": "uint256",
4140
- "name": "erc20TokenAmount",
4141
- "type": "uint256"
4142
- }
4143
- ],
4144
- "internalType": "struct EngineBlox.PaymentDetails",
4145
- "name": "payment",
4146
- "type": "tuple"
4147
- }
4148
- ],
4149
- "internalType": "struct EngineBlox.TxRecord",
2934
+ "internalType": "uint256",
4150
2935
  "name": "",
4151
- "type": "tuple"
2936
+ "type": "uint256"
4152
2937
  }
4153
2938
  ],
4154
2939
  "stateMutability": "nonpayable",