@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,23 +18,12 @@
18
18
  {
19
19
  "inputs": [
20
20
  {
21
- "internalType": "bytes32",
22
- "name": "resourceId",
23
- "type": "bytes32"
24
- }
25
- ],
26
- "name": "CannotModifyProtected",
27
- "type": "error"
28
- },
29
- {
30
- "inputs": [
31
- {
32
- "internalType": "address",
33
- "name": "provided",
34
- "type": "address"
21
+ "internalType": "bytes4",
22
+ "name": "functionSelector",
23
+ "type": "bytes4"
35
24
  }
36
25
  ],
37
- "name": "InvalidAddress",
26
+ "name": "ContractFunctionMustBeProtected",
38
27
  "type": "error"
39
28
  },
40
29
  {
@@ -74,22 +63,6 @@
74
63
  "name": "NotInitializing",
75
64
  "type": "error"
76
65
  },
77
- {
78
- "inputs": [
79
- {
80
- "internalType": "address",
81
- "name": "newAddress",
82
- "type": "address"
83
- },
84
- {
85
- "internalType": "address",
86
- "name": "currentAddress",
87
- "type": "address"
88
- }
89
- ],
90
- "name": "NotNewAddress",
91
- "type": "error"
92
- },
93
66
  {
94
67
  "inputs": [
95
68
  {
@@ -320,6 +293,11 @@
320
293
  "internalType": "address",
321
294
  "name": "newBroadcaster",
322
295
  "type": "address"
296
+ },
297
+ {
298
+ "internalType": "uint256",
299
+ "name": "location",
300
+ "type": "uint256"
323
301
  }
324
302
  ],
325
303
  "name": "executeBroadcasterUpdate",
@@ -926,6 +904,100 @@
926
904
  "stateMutability": "view",
927
905
  "type": "function"
928
906
  },
907
+ {
908
+ "inputs": [
909
+ {
910
+ "internalType": "bytes4",
911
+ "name": "functionSelector",
912
+ "type": "bytes4"
913
+ }
914
+ ],
915
+ "name": "getFunctionSchema",
916
+ "outputs": [
917
+ {
918
+ "components": [
919
+ {
920
+ "internalType": "string",
921
+ "name": "functionSignature",
922
+ "type": "string"
923
+ },
924
+ {
925
+ "internalType": "bytes4",
926
+ "name": "functionSelector",
927
+ "type": "bytes4"
928
+ },
929
+ {
930
+ "internalType": "bytes32",
931
+ "name": "operationType",
932
+ "type": "bytes32"
933
+ },
934
+ {
935
+ "internalType": "string",
936
+ "name": "operationName",
937
+ "type": "string"
938
+ },
939
+ {
940
+ "internalType": "uint16",
941
+ "name": "supportedActionsBitmap",
942
+ "type": "uint16"
943
+ },
944
+ {
945
+ "internalType": "bool",
946
+ "name": "isProtected",
947
+ "type": "bool"
948
+ },
949
+ {
950
+ "internalType": "bytes4[]",
951
+ "name": "handlerForSelectors",
952
+ "type": "bytes4[]"
953
+ }
954
+ ],
955
+ "internalType": "struct EngineBlox.FunctionSchema",
956
+ "name": "",
957
+ "type": "tuple"
958
+ }
959
+ ],
960
+ "stateMutability": "view",
961
+ "type": "function"
962
+ },
963
+ {
964
+ "inputs": [
965
+ {
966
+ "internalType": "bytes4",
967
+ "name": "functionSelector",
968
+ "type": "bytes4"
969
+ }
970
+ ],
971
+ "name": "getFunctionWhitelistTargets",
972
+ "outputs": [
973
+ {
974
+ "internalType": "address[]",
975
+ "name": "",
976
+ "type": "address[]"
977
+ }
978
+ ],
979
+ "stateMutability": "view",
980
+ "type": "function"
981
+ },
982
+ {
983
+ "inputs": [
984
+ {
985
+ "internalType": "bytes4",
986
+ "name": "functionSelector",
987
+ "type": "bytes4"
988
+ }
989
+ ],
990
+ "name": "getHooks",
991
+ "outputs": [
992
+ {
993
+ "internalType": "address[]",
994
+ "name": "hooks",
995
+ "type": "address[]"
996
+ }
997
+ ],
998
+ "stateMutability": "view",
999
+ "type": "function"
1000
+ },
929
1001
  {
930
1002
  "inputs": [],
931
1003
  "name": "getPendingTransactions",
@@ -1604,105 +1676,9 @@
1604
1676
  "name": "transferOwnershipApprovalWithMetaTx",
1605
1677
  "outputs": [
1606
1678
  {
1607
- "components": [
1608
- {
1609
- "internalType": "uint256",
1610
- "name": "txId",
1611
- "type": "uint256"
1612
- },
1613
- {
1614
- "internalType": "uint256",
1615
- "name": "releaseTime",
1616
- "type": "uint256"
1617
- },
1618
- {
1619
- "internalType": "enum EngineBlox.TxStatus",
1620
- "name": "status",
1621
- "type": "uint8"
1622
- },
1623
- {
1624
- "components": [
1625
- {
1626
- "internalType": "address",
1627
- "name": "requester",
1628
- "type": "address"
1629
- },
1630
- {
1631
- "internalType": "address",
1632
- "name": "target",
1633
- "type": "address"
1634
- },
1635
- {
1636
- "internalType": "uint256",
1637
- "name": "value",
1638
- "type": "uint256"
1639
- },
1640
- {
1641
- "internalType": "uint256",
1642
- "name": "gasLimit",
1643
- "type": "uint256"
1644
- },
1645
- {
1646
- "internalType": "bytes32",
1647
- "name": "operationType",
1648
- "type": "bytes32"
1649
- },
1650
- {
1651
- "internalType": "bytes4",
1652
- "name": "executionSelector",
1653
- "type": "bytes4"
1654
- },
1655
- {
1656
- "internalType": "bytes",
1657
- "name": "executionParams",
1658
- "type": "bytes"
1659
- }
1660
- ],
1661
- "internalType": "struct EngineBlox.TxParams",
1662
- "name": "params",
1663
- "type": "tuple"
1664
- },
1665
- {
1666
- "internalType": "bytes32",
1667
- "name": "message",
1668
- "type": "bytes32"
1669
- },
1670
- {
1671
- "internalType": "bytes",
1672
- "name": "result",
1673
- "type": "bytes"
1674
- },
1675
- {
1676
- "components": [
1677
- {
1678
- "internalType": "address",
1679
- "name": "recipient",
1680
- "type": "address"
1681
- },
1682
- {
1683
- "internalType": "uint256",
1684
- "name": "nativeTokenAmount",
1685
- "type": "uint256"
1686
- },
1687
- {
1688
- "internalType": "address",
1689
- "name": "erc20TokenAddress",
1690
- "type": "address"
1691
- },
1692
- {
1693
- "internalType": "uint256",
1694
- "name": "erc20TokenAmount",
1695
- "type": "uint256"
1696
- }
1697
- ],
1698
- "internalType": "struct EngineBlox.PaymentDetails",
1699
- "name": "payment",
1700
- "type": "tuple"
1701
- }
1702
- ],
1703
- "internalType": "struct EngineBlox.TxRecord",
1679
+ "internalType": "uint256",
1704
1680
  "name": "",
1705
- "type": "tuple"
1681
+ "type": "uint256"
1706
1682
  }
1707
1683
  ],
1708
1684
  "stateMutability": "nonpayable",
@@ -1718,108 +1694,228 @@
1718
1694
  ],
1719
1695
  "name": "transferOwnershipCancellation",
1720
1696
  "outputs": [
1697
+ {
1698
+ "internalType": "uint256",
1699
+ "name": "",
1700
+ "type": "uint256"
1701
+ }
1702
+ ],
1703
+ "stateMutability": "nonpayable",
1704
+ "type": "function"
1705
+ },
1706
+ {
1707
+ "inputs": [
1721
1708
  {
1722
1709
  "components": [
1723
- {
1724
- "internalType": "uint256",
1725
- "name": "txId",
1726
- "type": "uint256"
1727
- },
1728
- {
1729
- "internalType": "uint256",
1730
- "name": "releaseTime",
1731
- "type": "uint256"
1732
- },
1733
- {
1734
- "internalType": "enum EngineBlox.TxStatus",
1735
- "name": "status",
1736
- "type": "uint8"
1737
- },
1738
1710
  {
1739
1711
  "components": [
1740
- {
1741
- "internalType": "address",
1742
- "name": "requester",
1743
- "type": "address"
1744
- },
1745
- {
1746
- "internalType": "address",
1747
- "name": "target",
1748
- "type": "address"
1749
- },
1750
1712
  {
1751
1713
  "internalType": "uint256",
1752
- "name": "value",
1714
+ "name": "txId",
1753
1715
  "type": "uint256"
1754
1716
  },
1755
1717
  {
1756
1718
  "internalType": "uint256",
1757
- "name": "gasLimit",
1719
+ "name": "releaseTime",
1758
1720
  "type": "uint256"
1759
1721
  },
1760
1722
  {
1761
- "internalType": "bytes32",
1762
- "name": "operationType",
1763
- "type": "bytes32"
1723
+ "internalType": "enum EngineBlox.TxStatus",
1724
+ "name": "status",
1725
+ "type": "uint8"
1764
1726
  },
1765
1727
  {
1766
- "internalType": "bytes4",
1767
- "name": "executionSelector",
1768
- "type": "bytes4"
1728
+ "components": [
1729
+ {
1730
+ "internalType": "address",
1731
+ "name": "requester",
1732
+ "type": "address"
1733
+ },
1734
+ {
1735
+ "internalType": "address",
1736
+ "name": "target",
1737
+ "type": "address"
1738
+ },
1739
+ {
1740
+ "internalType": "uint256",
1741
+ "name": "value",
1742
+ "type": "uint256"
1743
+ },
1744
+ {
1745
+ "internalType": "uint256",
1746
+ "name": "gasLimit",
1747
+ "type": "uint256"
1748
+ },
1749
+ {
1750
+ "internalType": "bytes32",
1751
+ "name": "operationType",
1752
+ "type": "bytes32"
1753
+ },
1754
+ {
1755
+ "internalType": "bytes4",
1756
+ "name": "executionSelector",
1757
+ "type": "bytes4"
1758
+ },
1759
+ {
1760
+ "internalType": "bytes",
1761
+ "name": "executionParams",
1762
+ "type": "bytes"
1763
+ }
1764
+ ],
1765
+ "internalType": "struct EngineBlox.TxParams",
1766
+ "name": "params",
1767
+ "type": "tuple"
1768
+ },
1769
+ {
1770
+ "internalType": "bytes32",
1771
+ "name": "message",
1772
+ "type": "bytes32"
1769
1773
  },
1770
1774
  {
1771
1775
  "internalType": "bytes",
1772
- "name": "executionParams",
1776
+ "name": "result",
1773
1777
  "type": "bytes"
1778
+ },
1779
+ {
1780
+ "components": [
1781
+ {
1782
+ "internalType": "address",
1783
+ "name": "recipient",
1784
+ "type": "address"
1785
+ },
1786
+ {
1787
+ "internalType": "uint256",
1788
+ "name": "nativeTokenAmount",
1789
+ "type": "uint256"
1790
+ },
1791
+ {
1792
+ "internalType": "address",
1793
+ "name": "erc20TokenAddress",
1794
+ "type": "address"
1795
+ },
1796
+ {
1797
+ "internalType": "uint256",
1798
+ "name": "erc20TokenAmount",
1799
+ "type": "uint256"
1800
+ }
1801
+ ],
1802
+ "internalType": "struct EngineBlox.PaymentDetails",
1803
+ "name": "payment",
1804
+ "type": "tuple"
1774
1805
  }
1775
1806
  ],
1776
- "internalType": "struct EngineBlox.TxParams",
1777
- "name": "params",
1807
+ "internalType": "struct EngineBlox.TxRecord",
1808
+ "name": "txRecord",
1778
1809
  "type": "tuple"
1779
1810
  },
1780
- {
1781
- "internalType": "bytes32",
1782
- "name": "message",
1783
- "type": "bytes32"
1784
- },
1785
- {
1786
- "internalType": "bytes",
1787
- "name": "result",
1788
- "type": "bytes"
1789
- },
1790
1811
  {
1791
1812
  "components": [
1792
1813
  {
1793
- "internalType": "address",
1794
- "name": "recipient",
1795
- "type": "address"
1814
+ "internalType": "uint256",
1815
+ "name": "chainId",
1816
+ "type": "uint256"
1796
1817
  },
1797
1818
  {
1798
1819
  "internalType": "uint256",
1799
- "name": "nativeTokenAmount",
1820
+ "name": "nonce",
1800
1821
  "type": "uint256"
1801
1822
  },
1802
1823
  {
1803
1824
  "internalType": "address",
1804
- "name": "erc20TokenAddress",
1825
+ "name": "handlerContract",
1805
1826
  "type": "address"
1806
1827
  },
1828
+ {
1829
+ "internalType": "bytes4",
1830
+ "name": "handlerSelector",
1831
+ "type": "bytes4"
1832
+ },
1833
+ {
1834
+ "internalType": "enum EngineBlox.TxAction",
1835
+ "name": "action",
1836
+ "type": "uint8"
1837
+ },
1807
1838
  {
1808
1839
  "internalType": "uint256",
1809
- "name": "erc20TokenAmount",
1840
+ "name": "deadline",
1841
+ "type": "uint256"
1842
+ },
1843
+ {
1844
+ "internalType": "uint256",
1845
+ "name": "maxGasPrice",
1810
1846
  "type": "uint256"
1847
+ },
1848
+ {
1849
+ "internalType": "address",
1850
+ "name": "signer",
1851
+ "type": "address"
1811
1852
  }
1812
1853
  ],
1813
- "internalType": "struct EngineBlox.PaymentDetails",
1814
- "name": "payment",
1854
+ "internalType": "struct EngineBlox.MetaTxParams",
1855
+ "name": "params",
1815
1856
  "type": "tuple"
1857
+ },
1858
+ {
1859
+ "internalType": "bytes32",
1860
+ "name": "message",
1861
+ "type": "bytes32"
1862
+ },
1863
+ {
1864
+ "internalType": "bytes",
1865
+ "name": "signature",
1866
+ "type": "bytes"
1867
+ },
1868
+ {
1869
+ "internalType": "bytes",
1870
+ "name": "data",
1871
+ "type": "bytes"
1816
1872
  }
1817
1873
  ],
1818
- "internalType": "struct EngineBlox.TxRecord",
1819
- "name": "",
1874
+ "internalType": "struct EngineBlox.MetaTransaction",
1875
+ "name": "metaTx",
1820
1876
  "type": "tuple"
1821
1877
  }
1822
1878
  ],
1879
+ "name": "transferOwnershipCancellationWithMetaTx",
1880
+ "outputs": [
1881
+ {
1882
+ "internalType": "uint256",
1883
+ "name": "",
1884
+ "type": "uint256"
1885
+ }
1886
+ ],
1887
+ "stateMutability": "nonpayable",
1888
+ "type": "function"
1889
+ },
1890
+ {
1891
+ "inputs": [
1892
+ {
1893
+ "internalType": "uint256",
1894
+ "name": "txId",
1895
+ "type": "uint256"
1896
+ }
1897
+ ],
1898
+ "name": "transferOwnershipDelayedApproval",
1899
+ "outputs": [
1900
+ {
1901
+ "internalType": "uint256",
1902
+ "name": "",
1903
+ "type": "uint256"
1904
+ }
1905
+ ],
1906
+ "stateMutability": "nonpayable",
1907
+ "type": "function"
1908
+ },
1909
+ {
1910
+ "inputs": [],
1911
+ "name": "transferOwnershipRequest",
1912
+ "outputs": [
1913
+ {
1914
+ "internalType": "uint256",
1915
+ "name": "txId",
1916
+ "type": "uint256"
1917
+ }
1918
+ ],
1823
1919
  "stateMutability": "nonpayable",
1824
1920
  "type": "function"
1825
1921
  },
@@ -1996,752 +2092,56 @@
1996
2092
  "type": "tuple"
1997
2093
  }
1998
2094
  ],
1999
- "name": "transferOwnershipCancellationWithMetaTx",
2095
+ "name": "updateBroadcasterApprovalWithMetaTx",
2096
+ "outputs": [
2097
+ {
2098
+ "internalType": "uint256",
2099
+ "name": "",
2100
+ "type": "uint256"
2101
+ }
2102
+ ],
2103
+ "stateMutability": "nonpayable",
2104
+ "type": "function"
2105
+ },
2106
+ {
2107
+ "inputs": [
2108
+ {
2109
+ "internalType": "uint256",
2110
+ "name": "txId",
2111
+ "type": "uint256"
2112
+ }
2113
+ ],
2114
+ "name": "updateBroadcasterCancellation",
2000
2115
  "outputs": [
2116
+ {
2117
+ "internalType": "uint256",
2118
+ "name": "",
2119
+ "type": "uint256"
2120
+ }
2121
+ ],
2122
+ "stateMutability": "nonpayable",
2123
+ "type": "function"
2124
+ },
2125
+ {
2126
+ "inputs": [
2001
2127
  {
2002
2128
  "components": [
2003
- {
2004
- "internalType": "uint256",
2005
- "name": "txId",
2006
- "type": "uint256"
2007
- },
2008
- {
2009
- "internalType": "uint256",
2010
- "name": "releaseTime",
2011
- "type": "uint256"
2012
- },
2013
- {
2014
- "internalType": "enum EngineBlox.TxStatus",
2015
- "name": "status",
2016
- "type": "uint8"
2017
- },
2018
2129
  {
2019
2130
  "components": [
2020
- {
2021
- "internalType": "address",
2022
- "name": "requester",
2023
- "type": "address"
2024
- },
2025
- {
2026
- "internalType": "address",
2027
- "name": "target",
2028
- "type": "address"
2029
- },
2030
2131
  {
2031
2132
  "internalType": "uint256",
2032
- "name": "value",
2133
+ "name": "txId",
2033
2134
  "type": "uint256"
2034
2135
  },
2035
2136
  {
2036
2137
  "internalType": "uint256",
2037
- "name": "gasLimit",
2138
+ "name": "releaseTime",
2038
2139
  "type": "uint256"
2039
2140
  },
2040
2141
  {
2041
- "internalType": "bytes32",
2042
- "name": "operationType",
2043
- "type": "bytes32"
2044
- },
2045
- {
2046
- "internalType": "bytes4",
2047
- "name": "executionSelector",
2048
- "type": "bytes4"
2049
- },
2050
- {
2051
- "internalType": "bytes",
2052
- "name": "executionParams",
2053
- "type": "bytes"
2054
- }
2055
- ],
2056
- "internalType": "struct EngineBlox.TxParams",
2057
- "name": "params",
2058
- "type": "tuple"
2059
- },
2060
- {
2061
- "internalType": "bytes32",
2062
- "name": "message",
2063
- "type": "bytes32"
2064
- },
2065
- {
2066
- "internalType": "bytes",
2067
- "name": "result",
2068
- "type": "bytes"
2069
- },
2070
- {
2071
- "components": [
2072
- {
2073
- "internalType": "address",
2074
- "name": "recipient",
2075
- "type": "address"
2076
- },
2077
- {
2078
- "internalType": "uint256",
2079
- "name": "nativeTokenAmount",
2080
- "type": "uint256"
2081
- },
2082
- {
2083
- "internalType": "address",
2084
- "name": "erc20TokenAddress",
2085
- "type": "address"
2086
- },
2087
- {
2088
- "internalType": "uint256",
2089
- "name": "erc20TokenAmount",
2090
- "type": "uint256"
2091
- }
2092
- ],
2093
- "internalType": "struct EngineBlox.PaymentDetails",
2094
- "name": "payment",
2095
- "type": "tuple"
2096
- }
2097
- ],
2098
- "internalType": "struct EngineBlox.TxRecord",
2099
- "name": "",
2100
- "type": "tuple"
2101
- }
2102
- ],
2103
- "stateMutability": "nonpayable",
2104
- "type": "function"
2105
- },
2106
- {
2107
- "inputs": [
2108
- {
2109
- "internalType": "uint256",
2110
- "name": "txId",
2111
- "type": "uint256"
2112
- }
2113
- ],
2114
- "name": "transferOwnershipDelayedApproval",
2115
- "outputs": [
2116
- {
2117
- "components": [
2118
- {
2119
- "internalType": "uint256",
2120
- "name": "txId",
2121
- "type": "uint256"
2122
- },
2123
- {
2124
- "internalType": "uint256",
2125
- "name": "releaseTime",
2126
- "type": "uint256"
2127
- },
2128
- {
2129
- "internalType": "enum EngineBlox.TxStatus",
2130
- "name": "status",
2131
- "type": "uint8"
2132
- },
2133
- {
2134
- "components": [
2135
- {
2136
- "internalType": "address",
2137
- "name": "requester",
2138
- "type": "address"
2139
- },
2140
- {
2141
- "internalType": "address",
2142
- "name": "target",
2143
- "type": "address"
2144
- },
2145
- {
2146
- "internalType": "uint256",
2147
- "name": "value",
2148
- "type": "uint256"
2149
- },
2150
- {
2151
- "internalType": "uint256",
2152
- "name": "gasLimit",
2153
- "type": "uint256"
2154
- },
2155
- {
2156
- "internalType": "bytes32",
2157
- "name": "operationType",
2158
- "type": "bytes32"
2159
- },
2160
- {
2161
- "internalType": "bytes4",
2162
- "name": "executionSelector",
2163
- "type": "bytes4"
2164
- },
2165
- {
2166
- "internalType": "bytes",
2167
- "name": "executionParams",
2168
- "type": "bytes"
2169
- }
2170
- ],
2171
- "internalType": "struct EngineBlox.TxParams",
2172
- "name": "params",
2173
- "type": "tuple"
2174
- },
2175
- {
2176
- "internalType": "bytes32",
2177
- "name": "message",
2178
- "type": "bytes32"
2179
- },
2180
- {
2181
- "internalType": "bytes",
2182
- "name": "result",
2183
- "type": "bytes"
2184
- },
2185
- {
2186
- "components": [
2187
- {
2188
- "internalType": "address",
2189
- "name": "recipient",
2190
- "type": "address"
2191
- },
2192
- {
2193
- "internalType": "uint256",
2194
- "name": "nativeTokenAmount",
2195
- "type": "uint256"
2196
- },
2197
- {
2198
- "internalType": "address",
2199
- "name": "erc20TokenAddress",
2200
- "type": "address"
2201
- },
2202
- {
2203
- "internalType": "uint256",
2204
- "name": "erc20TokenAmount",
2205
- "type": "uint256"
2206
- }
2207
- ],
2208
- "internalType": "struct EngineBlox.PaymentDetails",
2209
- "name": "payment",
2210
- "type": "tuple"
2211
- }
2212
- ],
2213
- "internalType": "struct EngineBlox.TxRecord",
2214
- "name": "",
2215
- "type": "tuple"
2216
- }
2217
- ],
2218
- "stateMutability": "nonpayable",
2219
- "type": "function"
2220
- },
2221
- {
2222
- "inputs": [],
2223
- "name": "transferOwnershipRequest",
2224
- "outputs": [
2225
- {
2226
- "components": [
2227
- {
2228
- "internalType": "uint256",
2229
- "name": "txId",
2230
- "type": "uint256"
2231
- },
2232
- {
2233
- "internalType": "uint256",
2234
- "name": "releaseTime",
2235
- "type": "uint256"
2236
- },
2237
- {
2238
- "internalType": "enum EngineBlox.TxStatus",
2239
- "name": "status",
2240
- "type": "uint8"
2241
- },
2242
- {
2243
- "components": [
2244
- {
2245
- "internalType": "address",
2246
- "name": "requester",
2247
- "type": "address"
2248
- },
2249
- {
2250
- "internalType": "address",
2251
- "name": "target",
2252
- "type": "address"
2253
- },
2254
- {
2255
- "internalType": "uint256",
2256
- "name": "value",
2257
- "type": "uint256"
2258
- },
2259
- {
2260
- "internalType": "uint256",
2261
- "name": "gasLimit",
2262
- "type": "uint256"
2263
- },
2264
- {
2265
- "internalType": "bytes32",
2266
- "name": "operationType",
2267
- "type": "bytes32"
2268
- },
2269
- {
2270
- "internalType": "bytes4",
2271
- "name": "executionSelector",
2272
- "type": "bytes4"
2273
- },
2274
- {
2275
- "internalType": "bytes",
2276
- "name": "executionParams",
2277
- "type": "bytes"
2278
- }
2279
- ],
2280
- "internalType": "struct EngineBlox.TxParams",
2281
- "name": "params",
2282
- "type": "tuple"
2283
- },
2284
- {
2285
- "internalType": "bytes32",
2286
- "name": "message",
2287
- "type": "bytes32"
2288
- },
2289
- {
2290
- "internalType": "bytes",
2291
- "name": "result",
2292
- "type": "bytes"
2293
- },
2294
- {
2295
- "components": [
2296
- {
2297
- "internalType": "address",
2298
- "name": "recipient",
2299
- "type": "address"
2300
- },
2301
- {
2302
- "internalType": "uint256",
2303
- "name": "nativeTokenAmount",
2304
- "type": "uint256"
2305
- },
2306
- {
2307
- "internalType": "address",
2308
- "name": "erc20TokenAddress",
2309
- "type": "address"
2310
- },
2311
- {
2312
- "internalType": "uint256",
2313
- "name": "erc20TokenAmount",
2314
- "type": "uint256"
2315
- }
2316
- ],
2317
- "internalType": "struct EngineBlox.PaymentDetails",
2318
- "name": "payment",
2319
- "type": "tuple"
2320
- }
2321
- ],
2322
- "internalType": "struct EngineBlox.TxRecord",
2323
- "name": "",
2324
- "type": "tuple"
2325
- }
2326
- ],
2327
- "stateMutability": "nonpayable",
2328
- "type": "function"
2329
- },
2330
- {
2331
- "inputs": [
2332
- {
2333
- "components": [
2334
- {
2335
- "components": [
2336
- {
2337
- "internalType": "uint256",
2338
- "name": "txId",
2339
- "type": "uint256"
2340
- },
2341
- {
2342
- "internalType": "uint256",
2343
- "name": "releaseTime",
2344
- "type": "uint256"
2345
- },
2346
- {
2347
- "internalType": "enum EngineBlox.TxStatus",
2348
- "name": "status",
2349
- "type": "uint8"
2350
- },
2351
- {
2352
- "components": [
2353
- {
2354
- "internalType": "address",
2355
- "name": "requester",
2356
- "type": "address"
2357
- },
2358
- {
2359
- "internalType": "address",
2360
- "name": "target",
2361
- "type": "address"
2362
- },
2363
- {
2364
- "internalType": "uint256",
2365
- "name": "value",
2366
- "type": "uint256"
2367
- },
2368
- {
2369
- "internalType": "uint256",
2370
- "name": "gasLimit",
2371
- "type": "uint256"
2372
- },
2373
- {
2374
- "internalType": "bytes32",
2375
- "name": "operationType",
2376
- "type": "bytes32"
2377
- },
2378
- {
2379
- "internalType": "bytes4",
2380
- "name": "executionSelector",
2381
- "type": "bytes4"
2382
- },
2383
- {
2384
- "internalType": "bytes",
2385
- "name": "executionParams",
2386
- "type": "bytes"
2387
- }
2388
- ],
2389
- "internalType": "struct EngineBlox.TxParams",
2390
- "name": "params",
2391
- "type": "tuple"
2392
- },
2393
- {
2394
- "internalType": "bytes32",
2395
- "name": "message",
2396
- "type": "bytes32"
2397
- },
2398
- {
2399
- "internalType": "bytes",
2400
- "name": "result",
2401
- "type": "bytes"
2402
- },
2403
- {
2404
- "components": [
2405
- {
2406
- "internalType": "address",
2407
- "name": "recipient",
2408
- "type": "address"
2409
- },
2410
- {
2411
- "internalType": "uint256",
2412
- "name": "nativeTokenAmount",
2413
- "type": "uint256"
2414
- },
2415
- {
2416
- "internalType": "address",
2417
- "name": "erc20TokenAddress",
2418
- "type": "address"
2419
- },
2420
- {
2421
- "internalType": "uint256",
2422
- "name": "erc20TokenAmount",
2423
- "type": "uint256"
2424
- }
2425
- ],
2426
- "internalType": "struct EngineBlox.PaymentDetails",
2427
- "name": "payment",
2428
- "type": "tuple"
2429
- }
2430
- ],
2431
- "internalType": "struct EngineBlox.TxRecord",
2432
- "name": "txRecord",
2433
- "type": "tuple"
2434
- },
2435
- {
2436
- "components": [
2437
- {
2438
- "internalType": "uint256",
2439
- "name": "chainId",
2440
- "type": "uint256"
2441
- },
2442
- {
2443
- "internalType": "uint256",
2444
- "name": "nonce",
2445
- "type": "uint256"
2446
- },
2447
- {
2448
- "internalType": "address",
2449
- "name": "handlerContract",
2450
- "type": "address"
2451
- },
2452
- {
2453
- "internalType": "bytes4",
2454
- "name": "handlerSelector",
2455
- "type": "bytes4"
2456
- },
2457
- {
2458
- "internalType": "enum EngineBlox.TxAction",
2459
- "name": "action",
2460
- "type": "uint8"
2461
- },
2462
- {
2463
- "internalType": "uint256",
2464
- "name": "deadline",
2465
- "type": "uint256"
2466
- },
2467
- {
2468
- "internalType": "uint256",
2469
- "name": "maxGasPrice",
2470
- "type": "uint256"
2471
- },
2472
- {
2473
- "internalType": "address",
2474
- "name": "signer",
2475
- "type": "address"
2476
- }
2477
- ],
2478
- "internalType": "struct EngineBlox.MetaTxParams",
2479
- "name": "params",
2480
- "type": "tuple"
2481
- },
2482
- {
2483
- "internalType": "bytes32",
2484
- "name": "message",
2485
- "type": "bytes32"
2486
- },
2487
- {
2488
- "internalType": "bytes",
2489
- "name": "signature",
2490
- "type": "bytes"
2491
- },
2492
- {
2493
- "internalType": "bytes",
2494
- "name": "data",
2495
- "type": "bytes"
2496
- }
2497
- ],
2498
- "internalType": "struct EngineBlox.MetaTransaction",
2499
- "name": "metaTx",
2500
- "type": "tuple"
2501
- }
2502
- ],
2503
- "name": "updateBroadcasterApprovalWithMetaTx",
2504
- "outputs": [
2505
- {
2506
- "components": [
2507
- {
2508
- "internalType": "uint256",
2509
- "name": "txId",
2510
- "type": "uint256"
2511
- },
2512
- {
2513
- "internalType": "uint256",
2514
- "name": "releaseTime",
2515
- "type": "uint256"
2516
- },
2517
- {
2518
- "internalType": "enum EngineBlox.TxStatus",
2519
- "name": "status",
2520
- "type": "uint8"
2521
- },
2522
- {
2523
- "components": [
2524
- {
2525
- "internalType": "address",
2526
- "name": "requester",
2527
- "type": "address"
2528
- },
2529
- {
2530
- "internalType": "address",
2531
- "name": "target",
2532
- "type": "address"
2533
- },
2534
- {
2535
- "internalType": "uint256",
2536
- "name": "value",
2537
- "type": "uint256"
2538
- },
2539
- {
2540
- "internalType": "uint256",
2541
- "name": "gasLimit",
2542
- "type": "uint256"
2543
- },
2544
- {
2545
- "internalType": "bytes32",
2546
- "name": "operationType",
2547
- "type": "bytes32"
2548
- },
2549
- {
2550
- "internalType": "bytes4",
2551
- "name": "executionSelector",
2552
- "type": "bytes4"
2553
- },
2554
- {
2555
- "internalType": "bytes",
2556
- "name": "executionParams",
2557
- "type": "bytes"
2558
- }
2559
- ],
2560
- "internalType": "struct EngineBlox.TxParams",
2561
- "name": "params",
2562
- "type": "tuple"
2563
- },
2564
- {
2565
- "internalType": "bytes32",
2566
- "name": "message",
2567
- "type": "bytes32"
2568
- },
2569
- {
2570
- "internalType": "bytes",
2571
- "name": "result",
2572
- "type": "bytes"
2573
- },
2574
- {
2575
- "components": [
2576
- {
2577
- "internalType": "address",
2578
- "name": "recipient",
2579
- "type": "address"
2580
- },
2581
- {
2582
- "internalType": "uint256",
2583
- "name": "nativeTokenAmount",
2584
- "type": "uint256"
2585
- },
2586
- {
2587
- "internalType": "address",
2588
- "name": "erc20TokenAddress",
2589
- "type": "address"
2590
- },
2591
- {
2592
- "internalType": "uint256",
2593
- "name": "erc20TokenAmount",
2594
- "type": "uint256"
2595
- }
2596
- ],
2597
- "internalType": "struct EngineBlox.PaymentDetails",
2598
- "name": "payment",
2599
- "type": "tuple"
2600
- }
2601
- ],
2602
- "internalType": "struct EngineBlox.TxRecord",
2603
- "name": "",
2604
- "type": "tuple"
2605
- }
2606
- ],
2607
- "stateMutability": "nonpayable",
2608
- "type": "function"
2609
- },
2610
- {
2611
- "inputs": [
2612
- {
2613
- "internalType": "uint256",
2614
- "name": "txId",
2615
- "type": "uint256"
2616
- }
2617
- ],
2618
- "name": "updateBroadcasterCancellation",
2619
- "outputs": [
2620
- {
2621
- "components": [
2622
- {
2623
- "internalType": "uint256",
2624
- "name": "txId",
2625
- "type": "uint256"
2626
- },
2627
- {
2628
- "internalType": "uint256",
2629
- "name": "releaseTime",
2630
- "type": "uint256"
2631
- },
2632
- {
2633
- "internalType": "enum EngineBlox.TxStatus",
2634
- "name": "status",
2635
- "type": "uint8"
2636
- },
2637
- {
2638
- "components": [
2639
- {
2640
- "internalType": "address",
2641
- "name": "requester",
2642
- "type": "address"
2643
- },
2644
- {
2645
- "internalType": "address",
2646
- "name": "target",
2647
- "type": "address"
2648
- },
2649
- {
2650
- "internalType": "uint256",
2651
- "name": "value",
2652
- "type": "uint256"
2653
- },
2654
- {
2655
- "internalType": "uint256",
2656
- "name": "gasLimit",
2657
- "type": "uint256"
2658
- },
2659
- {
2660
- "internalType": "bytes32",
2661
- "name": "operationType",
2662
- "type": "bytes32"
2663
- },
2664
- {
2665
- "internalType": "bytes4",
2666
- "name": "executionSelector",
2667
- "type": "bytes4"
2668
- },
2669
- {
2670
- "internalType": "bytes",
2671
- "name": "executionParams",
2672
- "type": "bytes"
2673
- }
2674
- ],
2675
- "internalType": "struct EngineBlox.TxParams",
2676
- "name": "params",
2677
- "type": "tuple"
2678
- },
2679
- {
2680
- "internalType": "bytes32",
2681
- "name": "message",
2682
- "type": "bytes32"
2683
- },
2684
- {
2685
- "internalType": "bytes",
2686
- "name": "result",
2687
- "type": "bytes"
2688
- },
2689
- {
2690
- "components": [
2691
- {
2692
- "internalType": "address",
2693
- "name": "recipient",
2694
- "type": "address"
2695
- },
2696
- {
2697
- "internalType": "uint256",
2698
- "name": "nativeTokenAmount",
2699
- "type": "uint256"
2700
- },
2701
- {
2702
- "internalType": "address",
2703
- "name": "erc20TokenAddress",
2704
- "type": "address"
2705
- },
2706
- {
2707
- "internalType": "uint256",
2708
- "name": "erc20TokenAmount",
2709
- "type": "uint256"
2710
- }
2711
- ],
2712
- "internalType": "struct EngineBlox.PaymentDetails",
2713
- "name": "payment",
2714
- "type": "tuple"
2715
- }
2716
- ],
2717
- "internalType": "struct EngineBlox.TxRecord",
2718
- "name": "",
2719
- "type": "tuple"
2720
- }
2721
- ],
2722
- "stateMutability": "nonpayable",
2723
- "type": "function"
2724
- },
2725
- {
2726
- "inputs": [
2727
- {
2728
- "components": [
2729
- {
2730
- "components": [
2731
- {
2732
- "internalType": "uint256",
2733
- "name": "txId",
2734
- "type": "uint256"
2735
- },
2736
- {
2737
- "internalType": "uint256",
2738
- "name": "releaseTime",
2739
- "type": "uint256"
2740
- },
2741
- {
2742
- "internalType": "enum EngineBlox.TxStatus",
2743
- "name": "status",
2744
- "type": "uint8"
2142
+ "internalType": "enum EngineBlox.TxStatus",
2143
+ "name": "status",
2144
+ "type": "uint8"
2745
2145
  },
2746
2146
  {
2747
2147
  "components": [
@@ -2772,417 +2172,105 @@
2772
2172
  },
2773
2173
  {
2774
2174
  "internalType": "bytes4",
2775
- "name": "executionSelector",
2776
- "type": "bytes4"
2777
- },
2778
- {
2779
- "internalType": "bytes",
2780
- "name": "executionParams",
2781
- "type": "bytes"
2782
- }
2783
- ],
2784
- "internalType": "struct EngineBlox.TxParams",
2785
- "name": "params",
2786
- "type": "tuple"
2787
- },
2788
- {
2789
- "internalType": "bytes32",
2790
- "name": "message",
2791
- "type": "bytes32"
2792
- },
2793
- {
2794
- "internalType": "bytes",
2795
- "name": "result",
2796
- "type": "bytes"
2797
- },
2798
- {
2799
- "components": [
2800
- {
2801
- "internalType": "address",
2802
- "name": "recipient",
2803
- "type": "address"
2804
- },
2805
- {
2806
- "internalType": "uint256",
2807
- "name": "nativeTokenAmount",
2808
- "type": "uint256"
2809
- },
2810
- {
2811
- "internalType": "address",
2812
- "name": "erc20TokenAddress",
2813
- "type": "address"
2814
- },
2815
- {
2816
- "internalType": "uint256",
2817
- "name": "erc20TokenAmount",
2818
- "type": "uint256"
2819
- }
2820
- ],
2821
- "internalType": "struct EngineBlox.PaymentDetails",
2822
- "name": "payment",
2823
- "type": "tuple"
2824
- }
2825
- ],
2826
- "internalType": "struct EngineBlox.TxRecord",
2827
- "name": "txRecord",
2828
- "type": "tuple"
2829
- },
2830
- {
2831
- "components": [
2832
- {
2833
- "internalType": "uint256",
2834
- "name": "chainId",
2835
- "type": "uint256"
2836
- },
2837
- {
2838
- "internalType": "uint256",
2839
- "name": "nonce",
2840
- "type": "uint256"
2841
- },
2842
- {
2843
- "internalType": "address",
2844
- "name": "handlerContract",
2845
- "type": "address"
2846
- },
2847
- {
2848
- "internalType": "bytes4",
2849
- "name": "handlerSelector",
2850
- "type": "bytes4"
2851
- },
2852
- {
2853
- "internalType": "enum EngineBlox.TxAction",
2854
- "name": "action",
2855
- "type": "uint8"
2856
- },
2857
- {
2858
- "internalType": "uint256",
2859
- "name": "deadline",
2860
- "type": "uint256"
2861
- },
2862
- {
2863
- "internalType": "uint256",
2864
- "name": "maxGasPrice",
2865
- "type": "uint256"
2866
- },
2867
- {
2868
- "internalType": "address",
2869
- "name": "signer",
2870
- "type": "address"
2871
- }
2872
- ],
2873
- "internalType": "struct EngineBlox.MetaTxParams",
2874
- "name": "params",
2875
- "type": "tuple"
2876
- },
2877
- {
2878
- "internalType": "bytes32",
2879
- "name": "message",
2880
- "type": "bytes32"
2881
- },
2882
- {
2883
- "internalType": "bytes",
2884
- "name": "signature",
2885
- "type": "bytes"
2886
- },
2887
- {
2888
- "internalType": "bytes",
2889
- "name": "data",
2890
- "type": "bytes"
2891
- }
2892
- ],
2893
- "internalType": "struct EngineBlox.MetaTransaction",
2894
- "name": "metaTx",
2895
- "type": "tuple"
2896
- }
2897
- ],
2898
- "name": "updateBroadcasterCancellationWithMetaTx",
2899
- "outputs": [
2900
- {
2901
- "components": [
2902
- {
2903
- "internalType": "uint256",
2904
- "name": "txId",
2905
- "type": "uint256"
2906
- },
2907
- {
2908
- "internalType": "uint256",
2909
- "name": "releaseTime",
2910
- "type": "uint256"
2911
- },
2912
- {
2913
- "internalType": "enum EngineBlox.TxStatus",
2914
- "name": "status",
2915
- "type": "uint8"
2916
- },
2917
- {
2918
- "components": [
2919
- {
2920
- "internalType": "address",
2921
- "name": "requester",
2922
- "type": "address"
2923
- },
2924
- {
2925
- "internalType": "address",
2926
- "name": "target",
2927
- "type": "address"
2928
- },
2929
- {
2930
- "internalType": "uint256",
2931
- "name": "value",
2932
- "type": "uint256"
2933
- },
2934
- {
2935
- "internalType": "uint256",
2936
- "name": "gasLimit",
2937
- "type": "uint256"
2938
- },
2939
- {
2940
- "internalType": "bytes32",
2941
- "name": "operationType",
2942
- "type": "bytes32"
2943
- },
2944
- {
2945
- "internalType": "bytes4",
2946
- "name": "executionSelector",
2947
- "type": "bytes4"
2948
- },
2949
- {
2950
- "internalType": "bytes",
2951
- "name": "executionParams",
2952
- "type": "bytes"
2953
- }
2954
- ],
2955
- "internalType": "struct EngineBlox.TxParams",
2956
- "name": "params",
2957
- "type": "tuple"
2958
- },
2959
- {
2960
- "internalType": "bytes32",
2961
- "name": "message",
2962
- "type": "bytes32"
2963
- },
2964
- {
2965
- "internalType": "bytes",
2966
- "name": "result",
2967
- "type": "bytes"
2968
- },
2969
- {
2970
- "components": [
2971
- {
2972
- "internalType": "address",
2973
- "name": "recipient",
2974
- "type": "address"
2175
+ "name": "executionSelector",
2176
+ "type": "bytes4"
2177
+ },
2178
+ {
2179
+ "internalType": "bytes",
2180
+ "name": "executionParams",
2181
+ "type": "bytes"
2182
+ }
2183
+ ],
2184
+ "internalType": "struct EngineBlox.TxParams",
2185
+ "name": "params",
2186
+ "type": "tuple"
2975
2187
  },
2976
2188
  {
2977
- "internalType": "uint256",
2978
- "name": "nativeTokenAmount",
2979
- "type": "uint256"
2189
+ "internalType": "bytes32",
2190
+ "name": "message",
2191
+ "type": "bytes32"
2980
2192
  },
2981
2193
  {
2982
- "internalType": "address",
2983
- "name": "erc20TokenAddress",
2984
- "type": "address"
2194
+ "internalType": "bytes",
2195
+ "name": "result",
2196
+ "type": "bytes"
2985
2197
  },
2986
2198
  {
2987
- "internalType": "uint256",
2988
- "name": "erc20TokenAmount",
2989
- "type": "uint256"
2199
+ "components": [
2200
+ {
2201
+ "internalType": "address",
2202
+ "name": "recipient",
2203
+ "type": "address"
2204
+ },
2205
+ {
2206
+ "internalType": "uint256",
2207
+ "name": "nativeTokenAmount",
2208
+ "type": "uint256"
2209
+ },
2210
+ {
2211
+ "internalType": "address",
2212
+ "name": "erc20TokenAddress",
2213
+ "type": "address"
2214
+ },
2215
+ {
2216
+ "internalType": "uint256",
2217
+ "name": "erc20TokenAmount",
2218
+ "type": "uint256"
2219
+ }
2220
+ ],
2221
+ "internalType": "struct EngineBlox.PaymentDetails",
2222
+ "name": "payment",
2223
+ "type": "tuple"
2990
2224
  }
2991
2225
  ],
2992
- "internalType": "struct EngineBlox.PaymentDetails",
2993
- "name": "payment",
2226
+ "internalType": "struct EngineBlox.TxRecord",
2227
+ "name": "txRecord",
2994
2228
  "type": "tuple"
2995
- }
2996
- ],
2997
- "internalType": "struct EngineBlox.TxRecord",
2998
- "name": "",
2999
- "type": "tuple"
3000
- }
3001
- ],
3002
- "stateMutability": "nonpayable",
3003
- "type": "function"
3004
- },
3005
- {
3006
- "inputs": [
3007
- {
3008
- "internalType": "uint256",
3009
- "name": "txId",
3010
- "type": "uint256"
3011
- }
3012
- ],
3013
- "name": "updateBroadcasterDelayedApproval",
3014
- "outputs": [
3015
- {
3016
- "components": [
3017
- {
3018
- "internalType": "uint256",
3019
- "name": "txId",
3020
- "type": "uint256"
3021
- },
3022
- {
3023
- "internalType": "uint256",
3024
- "name": "releaseTime",
3025
- "type": "uint256"
3026
- },
3027
- {
3028
- "internalType": "enum EngineBlox.TxStatus",
3029
- "name": "status",
3030
- "type": "uint8"
3031
2229
  },
3032
2230
  {
3033
2231
  "components": [
3034
- {
3035
- "internalType": "address",
3036
- "name": "requester",
3037
- "type": "address"
3038
- },
3039
- {
3040
- "internalType": "address",
3041
- "name": "target",
3042
- "type": "address"
3043
- },
3044
2232
  {
3045
2233
  "internalType": "uint256",
3046
- "name": "value",
2234
+ "name": "chainId",
3047
2235
  "type": "uint256"
3048
2236
  },
3049
2237
  {
3050
2238
  "internalType": "uint256",
3051
- "name": "gasLimit",
2239
+ "name": "nonce",
3052
2240
  "type": "uint256"
3053
2241
  },
3054
2242
  {
3055
- "internalType": "bytes32",
3056
- "name": "operationType",
3057
- "type": "bytes32"
2243
+ "internalType": "address",
2244
+ "name": "handlerContract",
2245
+ "type": "address"
3058
2246
  },
3059
2247
  {
3060
2248
  "internalType": "bytes4",
3061
- "name": "executionSelector",
2249
+ "name": "handlerSelector",
3062
2250
  "type": "bytes4"
3063
2251
  },
3064
2252
  {
3065
- "internalType": "bytes",
3066
- "name": "executionParams",
3067
- "type": "bytes"
3068
- }
3069
- ],
3070
- "internalType": "struct EngineBlox.TxParams",
3071
- "name": "params",
3072
- "type": "tuple"
3073
- },
3074
- {
3075
- "internalType": "bytes32",
3076
- "name": "message",
3077
- "type": "bytes32"
3078
- },
3079
- {
3080
- "internalType": "bytes",
3081
- "name": "result",
3082
- "type": "bytes"
3083
- },
3084
- {
3085
- "components": [
3086
- {
3087
- "internalType": "address",
3088
- "name": "recipient",
3089
- "type": "address"
2253
+ "internalType": "enum EngineBlox.TxAction",
2254
+ "name": "action",
2255
+ "type": "uint8"
3090
2256
  },
3091
2257
  {
3092
2258
  "internalType": "uint256",
3093
- "name": "nativeTokenAmount",
2259
+ "name": "deadline",
3094
2260
  "type": "uint256"
3095
2261
  },
3096
- {
3097
- "internalType": "address",
3098
- "name": "erc20TokenAddress",
3099
- "type": "address"
3100
- },
3101
2262
  {
3102
2263
  "internalType": "uint256",
3103
- "name": "erc20TokenAmount",
2264
+ "name": "maxGasPrice",
3104
2265
  "type": "uint256"
3105
- }
3106
- ],
3107
- "internalType": "struct EngineBlox.PaymentDetails",
3108
- "name": "payment",
3109
- "type": "tuple"
3110
- }
3111
- ],
3112
- "internalType": "struct EngineBlox.TxRecord",
3113
- "name": "",
3114
- "type": "tuple"
3115
- }
3116
- ],
3117
- "stateMutability": "nonpayable",
3118
- "type": "function"
3119
- },
3120
- {
3121
- "inputs": [
3122
- {
3123
- "internalType": "address",
3124
- "name": "newBroadcaster",
3125
- "type": "address"
3126
- }
3127
- ],
3128
- "name": "updateBroadcasterRequest",
3129
- "outputs": [
3130
- {
3131
- "components": [
3132
- {
3133
- "internalType": "uint256",
3134
- "name": "txId",
3135
- "type": "uint256"
3136
- },
3137
- {
3138
- "internalType": "uint256",
3139
- "name": "releaseTime",
3140
- "type": "uint256"
3141
- },
3142
- {
3143
- "internalType": "enum EngineBlox.TxStatus",
3144
- "name": "status",
3145
- "type": "uint8"
3146
- },
3147
- {
3148
- "components": [
3149
- {
3150
- "internalType": "address",
3151
- "name": "requester",
3152
- "type": "address"
3153
2266
  },
3154
2267
  {
3155
2268
  "internalType": "address",
3156
- "name": "target",
2269
+ "name": "signer",
3157
2270
  "type": "address"
3158
- },
3159
- {
3160
- "internalType": "uint256",
3161
- "name": "value",
3162
- "type": "uint256"
3163
- },
3164
- {
3165
- "internalType": "uint256",
3166
- "name": "gasLimit",
3167
- "type": "uint256"
3168
- },
3169
- {
3170
- "internalType": "bytes32",
3171
- "name": "operationType",
3172
- "type": "bytes32"
3173
- },
3174
- {
3175
- "internalType": "bytes4",
3176
- "name": "executionSelector",
3177
- "type": "bytes4"
3178
- },
3179
- {
3180
- "internalType": "bytes",
3181
- "name": "executionParams",
3182
- "type": "bytes"
3183
2271
  }
3184
2272
  ],
3185
- "internalType": "struct EngineBlox.TxParams",
2273
+ "internalType": "struct EngineBlox.MetaTxParams",
3186
2274
  "name": "params",
3187
2275
  "type": "tuple"
3188
2276
  },
@@ -3193,42 +2281,71 @@
3193
2281
  },
3194
2282
  {
3195
2283
  "internalType": "bytes",
3196
- "name": "result",
2284
+ "name": "signature",
3197
2285
  "type": "bytes"
3198
2286
  },
3199
2287
  {
3200
- "components": [
3201
- {
3202
- "internalType": "address",
3203
- "name": "recipient",
3204
- "type": "address"
3205
- },
3206
- {
3207
- "internalType": "uint256",
3208
- "name": "nativeTokenAmount",
3209
- "type": "uint256"
3210
- },
3211
- {
3212
- "internalType": "address",
3213
- "name": "erc20TokenAddress",
3214
- "type": "address"
3215
- },
3216
- {
3217
- "internalType": "uint256",
3218
- "name": "erc20TokenAmount",
3219
- "type": "uint256"
3220
- }
3221
- ],
3222
- "internalType": "struct EngineBlox.PaymentDetails",
3223
- "name": "payment",
3224
- "type": "tuple"
2288
+ "internalType": "bytes",
2289
+ "name": "data",
2290
+ "type": "bytes"
3225
2291
  }
3226
2292
  ],
3227
- "internalType": "struct EngineBlox.TxRecord",
3228
- "name": "",
2293
+ "internalType": "struct EngineBlox.MetaTransaction",
2294
+ "name": "metaTx",
3229
2295
  "type": "tuple"
3230
2296
  }
3231
2297
  ],
2298
+ "name": "updateBroadcasterCancellationWithMetaTx",
2299
+ "outputs": [
2300
+ {
2301
+ "internalType": "uint256",
2302
+ "name": "",
2303
+ "type": "uint256"
2304
+ }
2305
+ ],
2306
+ "stateMutability": "nonpayable",
2307
+ "type": "function"
2308
+ },
2309
+ {
2310
+ "inputs": [
2311
+ {
2312
+ "internalType": "uint256",
2313
+ "name": "txId",
2314
+ "type": "uint256"
2315
+ }
2316
+ ],
2317
+ "name": "updateBroadcasterDelayedApproval",
2318
+ "outputs": [
2319
+ {
2320
+ "internalType": "uint256",
2321
+ "name": "",
2322
+ "type": "uint256"
2323
+ }
2324
+ ],
2325
+ "stateMutability": "nonpayable",
2326
+ "type": "function"
2327
+ },
2328
+ {
2329
+ "inputs": [
2330
+ {
2331
+ "internalType": "address",
2332
+ "name": "newBroadcaster",
2333
+ "type": "address"
2334
+ },
2335
+ {
2336
+ "internalType": "uint256",
2337
+ "name": "location",
2338
+ "type": "uint256"
2339
+ }
2340
+ ],
2341
+ "name": "updateBroadcasterRequest",
2342
+ "outputs": [
2343
+ {
2344
+ "internalType": "uint256",
2345
+ "name": "txId",
2346
+ "type": "uint256"
2347
+ }
2348
+ ],
3232
2349
  "stateMutability": "nonpayable",
3233
2350
  "type": "function"
3234
2351
  },
@@ -3408,105 +2525,9 @@
3408
2525
  "name": "updateRecoveryRequestAndApprove",
3409
2526
  "outputs": [
3410
2527
  {
3411
- "components": [
3412
- {
3413
- "internalType": "uint256",
3414
- "name": "txId",
3415
- "type": "uint256"
3416
- },
3417
- {
3418
- "internalType": "uint256",
3419
- "name": "releaseTime",
3420
- "type": "uint256"
3421
- },
3422
- {
3423
- "internalType": "enum EngineBlox.TxStatus",
3424
- "name": "status",
3425
- "type": "uint8"
3426
- },
3427
- {
3428
- "components": [
3429
- {
3430
- "internalType": "address",
3431
- "name": "requester",
3432
- "type": "address"
3433
- },
3434
- {
3435
- "internalType": "address",
3436
- "name": "target",
3437
- "type": "address"
3438
- },
3439
- {
3440
- "internalType": "uint256",
3441
- "name": "value",
3442
- "type": "uint256"
3443
- },
3444
- {
3445
- "internalType": "uint256",
3446
- "name": "gasLimit",
3447
- "type": "uint256"
3448
- },
3449
- {
3450
- "internalType": "bytes32",
3451
- "name": "operationType",
3452
- "type": "bytes32"
3453
- },
3454
- {
3455
- "internalType": "bytes4",
3456
- "name": "executionSelector",
3457
- "type": "bytes4"
3458
- },
3459
- {
3460
- "internalType": "bytes",
3461
- "name": "executionParams",
3462
- "type": "bytes"
3463
- }
3464
- ],
3465
- "internalType": "struct EngineBlox.TxParams",
3466
- "name": "params",
3467
- "type": "tuple"
3468
- },
3469
- {
3470
- "internalType": "bytes32",
3471
- "name": "message",
3472
- "type": "bytes32"
3473
- },
3474
- {
3475
- "internalType": "bytes",
3476
- "name": "result",
3477
- "type": "bytes"
3478
- },
3479
- {
3480
- "components": [
3481
- {
3482
- "internalType": "address",
3483
- "name": "recipient",
3484
- "type": "address"
3485
- },
3486
- {
3487
- "internalType": "uint256",
3488
- "name": "nativeTokenAmount",
3489
- "type": "uint256"
3490
- },
3491
- {
3492
- "internalType": "address",
3493
- "name": "erc20TokenAddress",
3494
- "type": "address"
3495
- },
3496
- {
3497
- "internalType": "uint256",
3498
- "name": "erc20TokenAmount",
3499
- "type": "uint256"
3500
- }
3501
- ],
3502
- "internalType": "struct EngineBlox.PaymentDetails",
3503
- "name": "payment",
3504
- "type": "tuple"
3505
- }
3506
- ],
3507
- "internalType": "struct EngineBlox.TxRecord",
2528
+ "internalType": "uint256",
3508
2529
  "name": "",
3509
- "type": "tuple"
2530
+ "type": "uint256"
3510
2531
  }
3511
2532
  ],
3512
2533
  "stateMutability": "nonpayable",
@@ -3688,105 +2709,9 @@
3688
2709
  "name": "updateTimeLockRequestAndApprove",
3689
2710
  "outputs": [
3690
2711
  {
3691
- "components": [
3692
- {
3693
- "internalType": "uint256",
3694
- "name": "txId",
3695
- "type": "uint256"
3696
- },
3697
- {
3698
- "internalType": "uint256",
3699
- "name": "releaseTime",
3700
- "type": "uint256"
3701
- },
3702
- {
3703
- "internalType": "enum EngineBlox.TxStatus",
3704
- "name": "status",
3705
- "type": "uint8"
3706
- },
3707
- {
3708
- "components": [
3709
- {
3710
- "internalType": "address",
3711
- "name": "requester",
3712
- "type": "address"
3713
- },
3714
- {
3715
- "internalType": "address",
3716
- "name": "target",
3717
- "type": "address"
3718
- },
3719
- {
3720
- "internalType": "uint256",
3721
- "name": "value",
3722
- "type": "uint256"
3723
- },
3724
- {
3725
- "internalType": "uint256",
3726
- "name": "gasLimit",
3727
- "type": "uint256"
3728
- },
3729
- {
3730
- "internalType": "bytes32",
3731
- "name": "operationType",
3732
- "type": "bytes32"
3733
- },
3734
- {
3735
- "internalType": "bytes4",
3736
- "name": "executionSelector",
3737
- "type": "bytes4"
3738
- },
3739
- {
3740
- "internalType": "bytes",
3741
- "name": "executionParams",
3742
- "type": "bytes"
3743
- }
3744
- ],
3745
- "internalType": "struct EngineBlox.TxParams",
3746
- "name": "params",
3747
- "type": "tuple"
3748
- },
3749
- {
3750
- "internalType": "bytes32",
3751
- "name": "message",
3752
- "type": "bytes32"
3753
- },
3754
- {
3755
- "internalType": "bytes",
3756
- "name": "result",
3757
- "type": "bytes"
3758
- },
3759
- {
3760
- "components": [
3761
- {
3762
- "internalType": "address",
3763
- "name": "recipient",
3764
- "type": "address"
3765
- },
3766
- {
3767
- "internalType": "uint256",
3768
- "name": "nativeTokenAmount",
3769
- "type": "uint256"
3770
- },
3771
- {
3772
- "internalType": "address",
3773
- "name": "erc20TokenAddress",
3774
- "type": "address"
3775
- },
3776
- {
3777
- "internalType": "uint256",
3778
- "name": "erc20TokenAmount",
3779
- "type": "uint256"
3780
- }
3781
- ],
3782
- "internalType": "struct EngineBlox.PaymentDetails",
3783
- "name": "payment",
3784
- "type": "tuple"
3785
- }
3786
- ],
3787
- "internalType": "struct EngineBlox.TxRecord",
2712
+ "internalType": "uint256",
3788
2713
  "name": "",
3789
- "type": "tuple"
2714
+ "type": "uint256"
3790
2715
  }
3791
2716
  ],
3792
2717
  "stateMutability": "nonpayable",