@bloxchain/sdk 1.0.0-alpha.3 → 1.0.0-alpha.5

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 (59) hide show
  1. package/abi/AccountBlox.abi.json +420 -2293
  2. package/abi/BareBlox.abi.json +19 -0
  3. package/abi/BaseStateMachine.abi.json +19 -0
  4. package/abi/EngineBlox.abi.json +0 -31
  5. package/abi/GuardController.abi.json +142 -724
  6. package/abi/RoleBlox.abi.json +393 -1639
  7. package/abi/RuntimeRBAC.abi.json +21 -98
  8. package/abi/SecureBlox.abi.json +276 -1426
  9. package/abi/SecureOwnable.abi.json +276 -1426
  10. package/abi/SimpleRWA20.abi.json +313 -1644
  11. package/abi/SimpleVault.abi.json +498 -2117
  12. package/dist/abi/BaseStateMachine.abi.json +19 -0
  13. package/dist/abi/GuardController.abi.json +142 -724
  14. package/dist/abi/RuntimeRBAC.abi.json +21 -98
  15. package/dist/abi/SecureOwnable.abi.json +276 -1426
  16. package/dist/contracts/SecureOwnable.d.ts +1 -1
  17. package/dist/contracts/SecureOwnable.d.ts.map +1 -1
  18. package/dist/contracts/SecureOwnable.js +2 -2
  19. package/dist/contracts/SecureOwnable.js.map +1 -1
  20. package/dist/contracts/core/BaseStateMachine.d.ts +98 -0
  21. package/dist/contracts/core/BaseStateMachine.d.ts.map +1 -0
  22. package/dist/contracts/core/BaseStateMachine.js +271 -0
  23. package/dist/contracts/core/BaseStateMachine.js.map +1 -0
  24. package/dist/contracts/core/GuardController.d.ts +120 -0
  25. package/dist/contracts/core/GuardController.d.ts.map +1 -0
  26. package/dist/contracts/core/GuardController.js +150 -0
  27. package/dist/contracts/core/GuardController.js.map +1 -0
  28. package/dist/contracts/core/RuntimeRBAC.d.ts +40 -0
  29. package/dist/contracts/core/RuntimeRBAC.d.ts.map +1 -0
  30. package/dist/contracts/core/RuntimeRBAC.js +50 -0
  31. package/dist/contracts/core/RuntimeRBAC.js.map +1 -0
  32. package/dist/contracts/core/SecureOwnable.d.ts +41 -0
  33. package/dist/contracts/core/SecureOwnable.d.ts.map +1 -0
  34. package/dist/contracts/core/SecureOwnable.js +81 -0
  35. package/dist/contracts/core/SecureOwnable.js.map +1 -0
  36. package/dist/index.d.ts +4 -4
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/index.js +4 -4
  39. package/dist/index.js.map +1 -1
  40. package/dist/interfaces/core.security.index.d.ts +1 -1
  41. package/dist/interfaces/core.security.index.d.ts.map +1 -1
  42. package/dist/lib/EngineBlox.d.ts +0 -9
  43. package/dist/lib/EngineBlox.d.ts.map +1 -1
  44. package/dist/lib/EngineBlox.js +0 -9
  45. package/dist/lib/EngineBlox.js.map +1 -1
  46. package/dist/types/base.state.machine.index.d.ts +0 -1
  47. package/dist/types/base.state.machine.index.d.ts.map +1 -1
  48. package/dist/types/base.state.machine.index.js +1 -2
  49. package/dist/types/base.state.machine.index.js.map +1 -1
  50. package/dist/types/core.security.index.d.ts.map +1 -1
  51. package/dist/types/core.security.index.js +2 -2
  52. package/dist/types/core.security.index.js.map +1 -1
  53. package/dist/utils/contract-errors.d.ts +0 -1
  54. package/dist/utils/contract-errors.d.ts.map +1 -1
  55. package/dist/utils/contract-errors.js +4 -4
  56. package/dist/utils/contract-errors.js.map +1 -1
  57. package/dist/utils/interface-ids.js +1 -1
  58. package/dist/utils/interface-ids.js.map +1 -1
  59. package/package.json +71 -71
@@ -907,6 +907,25 @@
907
907
  "stateMutability": "view",
908
908
  "type": "function"
909
909
  },
910
+ {
911
+ "inputs": [
912
+ {
913
+ "internalType": "bytes4",
914
+ "name": "functionSelector",
915
+ "type": "bytes4"
916
+ }
917
+ ],
918
+ "name": "getHooks",
919
+ "outputs": [
920
+ {
921
+ "internalType": "address[]",
922
+ "name": "hooks",
923
+ "type": "address[]"
924
+ }
925
+ ],
926
+ "stateMutability": "view",
927
+ "type": "function"
928
+ },
910
929
  {
911
930
  "inputs": [],
912
931
  "name": "getPendingTransactions",
@@ -1477,108 +1496,83 @@
1477
1496
  ],
1478
1497
  "name": "executeWithTimeLock",
1479
1498
  "outputs": [
1499
+ {
1500
+ "internalType": "uint256",
1501
+ "name": "txId",
1502
+ "type": "uint256"
1503
+ }
1504
+ ],
1505
+ "stateMutability": "nonpayable",
1506
+ "type": "function"
1507
+ },
1508
+ {
1509
+ "inputs": [
1510
+ {
1511
+ "internalType": "address",
1512
+ "name": "target",
1513
+ "type": "address"
1514
+ },
1515
+ {
1516
+ "internalType": "uint256",
1517
+ "name": "value",
1518
+ "type": "uint256"
1519
+ },
1520
+ {
1521
+ "internalType": "bytes4",
1522
+ "name": "functionSelector",
1523
+ "type": "bytes4"
1524
+ },
1525
+ {
1526
+ "internalType": "bytes",
1527
+ "name": "params",
1528
+ "type": "bytes"
1529
+ },
1530
+ {
1531
+ "internalType": "uint256",
1532
+ "name": "gasLimit",
1533
+ "type": "uint256"
1534
+ },
1535
+ {
1536
+ "internalType": "bytes32",
1537
+ "name": "operationType",
1538
+ "type": "bytes32"
1539
+ },
1480
1540
  {
1481
1541
  "components": [
1482
1542
  {
1483
- "internalType": "uint256",
1484
- "name": "txId",
1485
- "type": "uint256"
1543
+ "internalType": "address",
1544
+ "name": "recipient",
1545
+ "type": "address"
1486
1546
  },
1487
1547
  {
1488
1548
  "internalType": "uint256",
1489
- "name": "releaseTime",
1549
+ "name": "nativeTokenAmount",
1490
1550
  "type": "uint256"
1491
1551
  },
1492
1552
  {
1493
- "internalType": "enum EngineBlox.TxStatus",
1494
- "name": "status",
1495
- "type": "uint8"
1496
- },
1497
- {
1498
- "components": [
1499
- {
1500
- "internalType": "address",
1501
- "name": "requester",
1502
- "type": "address"
1503
- },
1504
- {
1505
- "internalType": "address",
1506
- "name": "target",
1507
- "type": "address"
1508
- },
1509
- {
1510
- "internalType": "uint256",
1511
- "name": "value",
1512
- "type": "uint256"
1513
- },
1514
- {
1515
- "internalType": "uint256",
1516
- "name": "gasLimit",
1517
- "type": "uint256"
1518
- },
1519
- {
1520
- "internalType": "bytes32",
1521
- "name": "operationType",
1522
- "type": "bytes32"
1523
- },
1524
- {
1525
- "internalType": "bytes4",
1526
- "name": "executionSelector",
1527
- "type": "bytes4"
1528
- },
1529
- {
1530
- "internalType": "bytes",
1531
- "name": "executionParams",
1532
- "type": "bytes"
1533
- }
1534
- ],
1535
- "internalType": "struct EngineBlox.TxParams",
1536
- "name": "params",
1537
- "type": "tuple"
1538
- },
1539
- {
1540
- "internalType": "bytes32",
1541
- "name": "message",
1542
- "type": "bytes32"
1543
- },
1544
- {
1545
- "internalType": "bytes",
1546
- "name": "result",
1547
- "type": "bytes"
1553
+ "internalType": "address",
1554
+ "name": "erc20TokenAddress",
1555
+ "type": "address"
1548
1556
  },
1549
1557
  {
1550
- "components": [
1551
- {
1552
- "internalType": "address",
1553
- "name": "recipient",
1554
- "type": "address"
1555
- },
1556
- {
1557
- "internalType": "uint256",
1558
- "name": "nativeTokenAmount",
1559
- "type": "uint256"
1560
- },
1561
- {
1562
- "internalType": "address",
1563
- "name": "erc20TokenAddress",
1564
- "type": "address"
1565
- },
1566
- {
1567
- "internalType": "uint256",
1568
- "name": "erc20TokenAmount",
1569
- "type": "uint256"
1570
- }
1571
- ],
1572
- "internalType": "struct EngineBlox.PaymentDetails",
1573
- "name": "payment",
1574
- "type": "tuple"
1558
+ "internalType": "uint256",
1559
+ "name": "erc20TokenAmount",
1560
+ "type": "uint256"
1575
1561
  }
1576
1562
  ],
1577
- "internalType": "struct EngineBlox.TxRecord",
1578
- "name": "",
1563
+ "internalType": "struct EngineBlox.PaymentDetails",
1564
+ "name": "paymentDetails",
1579
1565
  "type": "tuple"
1580
1566
  }
1581
1567
  ],
1568
+ "name": "executeWithPayment",
1569
+ "outputs": [
1570
+ {
1571
+ "internalType": "uint256",
1572
+ "name": "txId",
1573
+ "type": "uint256"
1574
+ }
1575
+ ],
1582
1576
  "stateMutability": "nonpayable",
1583
1577
  "type": "function"
1584
1578
  },
@@ -1592,246 +1586,54 @@
1592
1586
  ],
1593
1587
  "name": "approveTimeLockExecution",
1594
1588
  "outputs": [
1589
+ {
1590
+ "internalType": "uint256",
1591
+ "name": "",
1592
+ "type": "uint256"
1593
+ }
1594
+ ],
1595
+ "stateMutability": "nonpayable",
1596
+ "type": "function"
1597
+ },
1598
+ {
1599
+ "inputs": [
1600
+ {
1601
+ "internalType": "uint256",
1602
+ "name": "txId",
1603
+ "type": "uint256"
1604
+ }
1605
+ ],
1606
+ "name": "cancelTimeLockExecution",
1607
+ "outputs": [
1608
+ {
1609
+ "internalType": "uint256",
1610
+ "name": "",
1611
+ "type": "uint256"
1612
+ }
1613
+ ],
1614
+ "stateMutability": "nonpayable",
1615
+ "type": "function"
1616
+ },
1617
+ {
1618
+ "inputs": [
1595
1619
  {
1596
1620
  "components": [
1597
- {
1598
- "internalType": "uint256",
1599
- "name": "txId",
1600
- "type": "uint256"
1601
- },
1602
- {
1603
- "internalType": "uint256",
1604
- "name": "releaseTime",
1605
- "type": "uint256"
1606
- },
1607
- {
1608
- "internalType": "enum EngineBlox.TxStatus",
1609
- "name": "status",
1610
- "type": "uint8"
1611
- },
1612
1621
  {
1613
1622
  "components": [
1614
- {
1615
- "internalType": "address",
1616
- "name": "requester",
1617
- "type": "address"
1618
- },
1619
- {
1620
- "internalType": "address",
1621
- "name": "target",
1622
- "type": "address"
1623
- },
1624
1623
  {
1625
1624
  "internalType": "uint256",
1626
- "name": "value",
1625
+ "name": "txId",
1627
1626
  "type": "uint256"
1628
1627
  },
1629
1628
  {
1630
1629
  "internalType": "uint256",
1631
- "name": "gasLimit",
1630
+ "name": "releaseTime",
1632
1631
  "type": "uint256"
1633
1632
  },
1634
1633
  {
1635
- "internalType": "bytes32",
1636
- "name": "operationType",
1637
- "type": "bytes32"
1638
- },
1639
- {
1640
- "internalType": "bytes4",
1641
- "name": "executionSelector",
1642
- "type": "bytes4"
1643
- },
1644
- {
1645
- "internalType": "bytes",
1646
- "name": "executionParams",
1647
- "type": "bytes"
1648
- }
1649
- ],
1650
- "internalType": "struct EngineBlox.TxParams",
1651
- "name": "params",
1652
- "type": "tuple"
1653
- },
1654
- {
1655
- "internalType": "bytes32",
1656
- "name": "message",
1657
- "type": "bytes32"
1658
- },
1659
- {
1660
- "internalType": "bytes",
1661
- "name": "result",
1662
- "type": "bytes"
1663
- },
1664
- {
1665
- "components": [
1666
- {
1667
- "internalType": "address",
1668
- "name": "recipient",
1669
- "type": "address"
1670
- },
1671
- {
1672
- "internalType": "uint256",
1673
- "name": "nativeTokenAmount",
1674
- "type": "uint256"
1675
- },
1676
- {
1677
- "internalType": "address",
1678
- "name": "erc20TokenAddress",
1679
- "type": "address"
1680
- },
1681
- {
1682
- "internalType": "uint256",
1683
- "name": "erc20TokenAmount",
1684
- "type": "uint256"
1685
- }
1686
- ],
1687
- "internalType": "struct EngineBlox.PaymentDetails",
1688
- "name": "payment",
1689
- "type": "tuple"
1690
- }
1691
- ],
1692
- "internalType": "struct EngineBlox.TxRecord",
1693
- "name": "",
1694
- "type": "tuple"
1695
- }
1696
- ],
1697
- "stateMutability": "nonpayable",
1698
- "type": "function"
1699
- },
1700
- {
1701
- "inputs": [
1702
- {
1703
- "internalType": "uint256",
1704
- "name": "txId",
1705
- "type": "uint256"
1706
- }
1707
- ],
1708
- "name": "cancelTimeLockExecution",
1709
- "outputs": [
1710
- {
1711
- "components": [
1712
- {
1713
- "internalType": "uint256",
1714
- "name": "txId",
1715
- "type": "uint256"
1716
- },
1717
- {
1718
- "internalType": "uint256",
1719
- "name": "releaseTime",
1720
- "type": "uint256"
1721
- },
1722
- {
1723
- "internalType": "enum EngineBlox.TxStatus",
1724
- "name": "status",
1725
- "type": "uint8"
1726
- },
1727
- {
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"
1773
- },
1774
- {
1775
- "internalType": "bytes",
1776
- "name": "result",
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"
1805
- }
1806
- ],
1807
- "internalType": "struct EngineBlox.TxRecord",
1808
- "name": "",
1809
- "type": "tuple"
1810
- }
1811
- ],
1812
- "stateMutability": "nonpayable",
1813
- "type": "function"
1814
- },
1815
- {
1816
- "inputs": [
1817
- {
1818
- "components": [
1819
- {
1820
- "components": [
1821
- {
1822
- "internalType": "uint256",
1823
- "name": "txId",
1824
- "type": "uint256"
1825
- },
1826
- {
1827
- "internalType": "uint256",
1828
- "name": "releaseTime",
1829
- "type": "uint256"
1830
- },
1831
- {
1832
- "internalType": "enum EngineBlox.TxStatus",
1833
- "name": "status",
1834
- "type": "uint8"
1634
+ "internalType": "enum EngineBlox.TxStatus",
1635
+ "name": "status",
1636
+ "type": "uint8"
1835
1637
  },
1836
1638
  {
1837
1639
  "components": [
@@ -1988,105 +1790,9 @@
1988
1790
  "name": "approveTimeLockExecutionWithMetaTx",
1989
1791
  "outputs": [
1990
1792
  {
1991
- "components": [
1992
- {
1993
- "internalType": "uint256",
1994
- "name": "txId",
1995
- "type": "uint256"
1996
- },
1997
- {
1998
- "internalType": "uint256",
1999
- "name": "releaseTime",
2000
- "type": "uint256"
2001
- },
2002
- {
2003
- "internalType": "enum EngineBlox.TxStatus",
2004
- "name": "status",
2005
- "type": "uint8"
2006
- },
2007
- {
2008
- "components": [
2009
- {
2010
- "internalType": "address",
2011
- "name": "requester",
2012
- "type": "address"
2013
- },
2014
- {
2015
- "internalType": "address",
2016
- "name": "target",
2017
- "type": "address"
2018
- },
2019
- {
2020
- "internalType": "uint256",
2021
- "name": "value",
2022
- "type": "uint256"
2023
- },
2024
- {
2025
- "internalType": "uint256",
2026
- "name": "gasLimit",
2027
- "type": "uint256"
2028
- },
2029
- {
2030
- "internalType": "bytes32",
2031
- "name": "operationType",
2032
- "type": "bytes32"
2033
- },
2034
- {
2035
- "internalType": "bytes4",
2036
- "name": "executionSelector",
2037
- "type": "bytes4"
2038
- },
2039
- {
2040
- "internalType": "bytes",
2041
- "name": "executionParams",
2042
- "type": "bytes"
2043
- }
2044
- ],
2045
- "internalType": "struct EngineBlox.TxParams",
2046
- "name": "params",
2047
- "type": "tuple"
2048
- },
2049
- {
2050
- "internalType": "bytes32",
2051
- "name": "message",
2052
- "type": "bytes32"
2053
- },
2054
- {
2055
- "internalType": "bytes",
2056
- "name": "result",
2057
- "type": "bytes"
2058
- },
2059
- {
2060
- "components": [
2061
- {
2062
- "internalType": "address",
2063
- "name": "recipient",
2064
- "type": "address"
2065
- },
2066
- {
2067
- "internalType": "uint256",
2068
- "name": "nativeTokenAmount",
2069
- "type": "uint256"
2070
- },
2071
- {
2072
- "internalType": "address",
2073
- "name": "erc20TokenAddress",
2074
- "type": "address"
2075
- },
2076
- {
2077
- "internalType": "uint256",
2078
- "name": "erc20TokenAmount",
2079
- "type": "uint256"
2080
- }
2081
- ],
2082
- "internalType": "struct EngineBlox.PaymentDetails",
2083
- "name": "payment",
2084
- "type": "tuple"
2085
- }
2086
- ],
2087
- "internalType": "struct EngineBlox.TxRecord",
1793
+ "internalType": "uint256",
2088
1794
  "name": "",
2089
- "type": "tuple"
1795
+ "type": "uint256"
2090
1796
  }
2091
1797
  ],
2092
1798
  "stateMutability": "nonpayable",
@@ -2230,99 +1936,17 @@
2230
1936
  "type": "uint256"
2231
1937
  },
2232
1938
  {
2233
- "internalType": "uint256",
2234
- "name": "maxGasPrice",
2235
- "type": "uint256"
2236
- },
2237
- {
2238
- "internalType": "address",
2239
- "name": "signer",
2240
- "type": "address"
2241
- }
2242
- ],
2243
- "internalType": "struct EngineBlox.MetaTxParams",
2244
- "name": "params",
2245
- "type": "tuple"
2246
- },
2247
- {
2248
- "internalType": "bytes32",
2249
- "name": "message",
2250
- "type": "bytes32"
2251
- },
2252
- {
2253
- "internalType": "bytes",
2254
- "name": "signature",
2255
- "type": "bytes"
2256
- },
2257
- {
2258
- "internalType": "bytes",
2259
- "name": "data",
2260
- "type": "bytes"
2261
- }
2262
- ],
2263
- "internalType": "struct EngineBlox.MetaTransaction",
2264
- "name": "metaTx",
2265
- "type": "tuple"
2266
- }
2267
- ],
2268
- "name": "cancelTimeLockExecutionWithMetaTx",
2269
- "outputs": [
2270
- {
2271
- "components": [
2272
- {
2273
- "internalType": "uint256",
2274
- "name": "txId",
2275
- "type": "uint256"
2276
- },
2277
- {
2278
- "internalType": "uint256",
2279
- "name": "releaseTime",
2280
- "type": "uint256"
2281
- },
2282
- {
2283
- "internalType": "enum EngineBlox.TxStatus",
2284
- "name": "status",
2285
- "type": "uint8"
2286
- },
2287
- {
2288
- "components": [
2289
- {
2290
- "internalType": "address",
2291
- "name": "requester",
2292
- "type": "address"
2293
- },
2294
- {
2295
- "internalType": "address",
2296
- "name": "target",
2297
- "type": "address"
2298
- },
2299
- {
2300
- "internalType": "uint256",
2301
- "name": "value",
2302
- "type": "uint256"
2303
- },
2304
- {
2305
- "internalType": "uint256",
2306
- "name": "gasLimit",
2307
- "type": "uint256"
2308
- },
2309
- {
2310
- "internalType": "bytes32",
2311
- "name": "operationType",
2312
- "type": "bytes32"
2313
- },
2314
- {
2315
- "internalType": "bytes4",
2316
- "name": "executionSelector",
2317
- "type": "bytes4"
1939
+ "internalType": "uint256",
1940
+ "name": "maxGasPrice",
1941
+ "type": "uint256"
2318
1942
  },
2319
1943
  {
2320
- "internalType": "bytes",
2321
- "name": "executionParams",
2322
- "type": "bytes"
1944
+ "internalType": "address",
1945
+ "name": "signer",
1946
+ "type": "address"
2323
1947
  }
2324
1948
  ],
2325
- "internalType": "struct EngineBlox.TxParams",
1949
+ "internalType": "struct EngineBlox.MetaTxParams",
2326
1950
  "name": "params",
2327
1951
  "type": "tuple"
2328
1952
  },
@@ -2333,42 +1957,28 @@
2333
1957
  },
2334
1958
  {
2335
1959
  "internalType": "bytes",
2336
- "name": "result",
1960
+ "name": "signature",
2337
1961
  "type": "bytes"
2338
1962
  },
2339
1963
  {
2340
- "components": [
2341
- {
2342
- "internalType": "address",
2343
- "name": "recipient",
2344
- "type": "address"
2345
- },
2346
- {
2347
- "internalType": "uint256",
2348
- "name": "nativeTokenAmount",
2349
- "type": "uint256"
2350
- },
2351
- {
2352
- "internalType": "address",
2353
- "name": "erc20TokenAddress",
2354
- "type": "address"
2355
- },
2356
- {
2357
- "internalType": "uint256",
2358
- "name": "erc20TokenAmount",
2359
- "type": "uint256"
2360
- }
2361
- ],
2362
- "internalType": "struct EngineBlox.PaymentDetails",
2363
- "name": "payment",
2364
- "type": "tuple"
1964
+ "internalType": "bytes",
1965
+ "name": "data",
1966
+ "type": "bytes"
2365
1967
  }
2366
1968
  ],
2367
- "internalType": "struct EngineBlox.TxRecord",
2368
- "name": "",
1969
+ "internalType": "struct EngineBlox.MetaTransaction",
1970
+ "name": "metaTx",
2369
1971
  "type": "tuple"
2370
1972
  }
2371
1973
  ],
1974
+ "name": "cancelTimeLockExecutionWithMetaTx",
1975
+ "outputs": [
1976
+ {
1977
+ "internalType": "uint256",
1978
+ "name": "",
1979
+ "type": "uint256"
1980
+ }
1981
+ ],
2372
1982
  "stateMutability": "nonpayable",
2373
1983
  "type": "function"
2374
1984
  },
@@ -2548,105 +2158,9 @@
2548
2158
  "name": "requestAndApproveExecution",
2549
2159
  "outputs": [
2550
2160
  {
2551
- "components": [
2552
- {
2553
- "internalType": "uint256",
2554
- "name": "txId",
2555
- "type": "uint256"
2556
- },
2557
- {
2558
- "internalType": "uint256",
2559
- "name": "releaseTime",
2560
- "type": "uint256"
2561
- },
2562
- {
2563
- "internalType": "enum EngineBlox.TxStatus",
2564
- "name": "status",
2565
- "type": "uint8"
2566
- },
2567
- {
2568
- "components": [
2569
- {
2570
- "internalType": "address",
2571
- "name": "requester",
2572
- "type": "address"
2573
- },
2574
- {
2575
- "internalType": "address",
2576
- "name": "target",
2577
- "type": "address"
2578
- },
2579
- {
2580
- "internalType": "uint256",
2581
- "name": "value",
2582
- "type": "uint256"
2583
- },
2584
- {
2585
- "internalType": "uint256",
2586
- "name": "gasLimit",
2587
- "type": "uint256"
2588
- },
2589
- {
2590
- "internalType": "bytes32",
2591
- "name": "operationType",
2592
- "type": "bytes32"
2593
- },
2594
- {
2595
- "internalType": "bytes4",
2596
- "name": "executionSelector",
2597
- "type": "bytes4"
2598
- },
2599
- {
2600
- "internalType": "bytes",
2601
- "name": "executionParams",
2602
- "type": "bytes"
2603
- }
2604
- ],
2605
- "internalType": "struct EngineBlox.TxParams",
2606
- "name": "params",
2607
- "type": "tuple"
2608
- },
2609
- {
2610
- "internalType": "bytes32",
2611
- "name": "message",
2612
- "type": "bytes32"
2613
- },
2614
- {
2615
- "internalType": "bytes",
2616
- "name": "result",
2617
- "type": "bytes"
2618
- },
2619
- {
2620
- "components": [
2621
- {
2622
- "internalType": "address",
2623
- "name": "recipient",
2624
- "type": "address"
2625
- },
2626
- {
2627
- "internalType": "uint256",
2628
- "name": "nativeTokenAmount",
2629
- "type": "uint256"
2630
- },
2631
- {
2632
- "internalType": "address",
2633
- "name": "erc20TokenAddress",
2634
- "type": "address"
2635
- },
2636
- {
2637
- "internalType": "uint256",
2638
- "name": "erc20TokenAmount",
2639
- "type": "uint256"
2640
- }
2641
- ],
2642
- "internalType": "struct EngineBlox.PaymentDetails",
2643
- "name": "payment",
2644
- "type": "tuple"
2645
- }
2646
- ],
2647
- "internalType": "struct EngineBlox.TxRecord",
2161
+ "internalType": "uint256",
2648
2162
  "name": "",
2649
- "type": "tuple"
2163
+ "type": "uint256"
2650
2164
  }
2651
2165
  ],
2652
2166
  "stateMutability": "nonpayable",
@@ -2828,105 +2342,9 @@
2828
2342
  "name": "guardConfigBatchRequestAndApprove",
2829
2343
  "outputs": [
2830
2344
  {
2831
- "components": [
2832
- {
2833
- "internalType": "uint256",
2834
- "name": "txId",
2835
- "type": "uint256"
2836
- },
2837
- {
2838
- "internalType": "uint256",
2839
- "name": "releaseTime",
2840
- "type": "uint256"
2841
- },
2842
- {
2843
- "internalType": "enum EngineBlox.TxStatus",
2844
- "name": "status",
2845
- "type": "uint8"
2846
- },
2847
- {
2848
- "components": [
2849
- {
2850
- "internalType": "address",
2851
- "name": "requester",
2852
- "type": "address"
2853
- },
2854
- {
2855
- "internalType": "address",
2856
- "name": "target",
2857
- "type": "address"
2858
- },
2859
- {
2860
- "internalType": "uint256",
2861
- "name": "value",
2862
- "type": "uint256"
2863
- },
2864
- {
2865
- "internalType": "uint256",
2866
- "name": "gasLimit",
2867
- "type": "uint256"
2868
- },
2869
- {
2870
- "internalType": "bytes32",
2871
- "name": "operationType",
2872
- "type": "bytes32"
2873
- },
2874
- {
2875
- "internalType": "bytes4",
2876
- "name": "executionSelector",
2877
- "type": "bytes4"
2878
- },
2879
- {
2880
- "internalType": "bytes",
2881
- "name": "executionParams",
2882
- "type": "bytes"
2883
- }
2884
- ],
2885
- "internalType": "struct EngineBlox.TxParams",
2886
- "name": "params",
2887
- "type": "tuple"
2888
- },
2889
- {
2890
- "internalType": "bytes32",
2891
- "name": "message",
2892
- "type": "bytes32"
2893
- },
2894
- {
2895
- "internalType": "bytes",
2896
- "name": "result",
2897
- "type": "bytes"
2898
- },
2899
- {
2900
- "components": [
2901
- {
2902
- "internalType": "address",
2903
- "name": "recipient",
2904
- "type": "address"
2905
- },
2906
- {
2907
- "internalType": "uint256",
2908
- "name": "nativeTokenAmount",
2909
- "type": "uint256"
2910
- },
2911
- {
2912
- "internalType": "address",
2913
- "name": "erc20TokenAddress",
2914
- "type": "address"
2915
- },
2916
- {
2917
- "internalType": "uint256",
2918
- "name": "erc20TokenAmount",
2919
- "type": "uint256"
2920
- }
2921
- ],
2922
- "internalType": "struct EngineBlox.PaymentDetails",
2923
- "name": "payment",
2924
- "type": "tuple"
2925
- }
2926
- ],
2927
- "internalType": "struct EngineBlox.TxRecord",
2345
+ "internalType": "uint256",
2928
2346
  "name": "",
2929
- "type": "tuple"
2347
+ "type": "uint256"
2930
2348
  }
2931
2349
  ],
2932
2350
  "stateMutability": "nonpayable",