@bloxchain/sdk 1.0.0-alpha.20 → 1.0.0-alpha.22

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 (71) hide show
  1. package/README.md +22 -22
  2. package/abi/AccountBlox.abi.json +1886 -1837
  3. package/abi/BaseStateMachine.abi.json +780 -775
  4. package/abi/CopyBlox.abi.json +825 -809
  5. package/abi/EngineBlox.abi.json +545 -538
  6. package/abi/GuardController.abi.json +1590 -1585
  7. package/abi/GuardControllerDefinitions.abi.json +231 -226
  8. package/abi/IDefinition.abi.json +54 -49
  9. package/abi/RoleBlox.abi.json +2993 -2993
  10. package/abi/RuntimeRBAC.abi.json +832 -827
  11. package/abi/RuntimeRBACDefinitions.abi.json +212 -207
  12. package/abi/SecureBlox.abi.json +2752 -2752
  13. package/abi/SecureOwnable.abi.json +1359 -1321
  14. package/abi/SecureOwnableDefinitions.abi.json +171 -166
  15. package/dist/abi/AccountBlox.abi.json +1886 -1837
  16. package/dist/abi/BaseStateMachine.abi.json +780 -775
  17. package/dist/abi/CopyBlox.abi.json +825 -809
  18. package/dist/abi/EngineBlox.abi.json +545 -538
  19. package/dist/abi/GuardController.abi.json +1590 -1585
  20. package/dist/abi/GuardControllerDefinitions.abi.json +231 -226
  21. package/dist/abi/IDefinition.abi.json +54 -49
  22. package/dist/abi/RoleBlox.abi.json +2993 -2993
  23. package/dist/abi/RuntimeRBAC.abi.json +832 -827
  24. package/dist/abi/RuntimeRBACDefinitions.abi.json +212 -207
  25. package/dist/abi/SecureBlox.abi.json +2752 -2752
  26. package/dist/abi/SecureOwnable.abi.json +1359 -1321
  27. package/dist/abi/SecureOwnableDefinitions.abi.json +171 -166
  28. package/dist/contracts/core/SecureOwnable.d.ts +1 -1
  29. package/dist/contracts/core/SecureOwnable.d.ts.map +1 -1
  30. package/dist/contracts/core/SecureOwnable.js +2 -2
  31. package/dist/contracts/core/SecureOwnable.js.map +1 -1
  32. package/dist/interfaces/core.security.index.d.ts +1 -1
  33. package/dist/interfaces/core.security.index.d.ts.map +1 -1
  34. package/dist/interfaces/lib.index.d.ts +1 -1
  35. package/dist/interfaces/lib.index.d.ts.map +1 -1
  36. package/dist/lib/Definition.d.ts.map +1 -1
  37. package/dist/lib/Definition.js +1 -0
  38. package/dist/lib/Definition.js.map +1 -1
  39. package/dist/lib/EngineBlox.d.ts +4 -5
  40. package/dist/lib/EngineBlox.d.ts.map +1 -1
  41. package/dist/lib/EngineBlox.js +9 -5
  42. package/dist/lib/EngineBlox.js.map +1 -1
  43. package/dist/types/core.execution.index.js +2 -2
  44. package/dist/types/core.execution.index.js.map +1 -1
  45. package/dist/types/core.security.index.d.ts.map +1 -1
  46. package/dist/types/core.security.index.js +8 -8
  47. package/dist/types/core.security.index.js.map +1 -1
  48. package/dist/types/definition.index.d.ts +5 -0
  49. package/dist/types/definition.index.d.ts.map +1 -1
  50. package/dist/types/definition.index.js.map +1 -1
  51. package/dist/types/lib.index.d.ts +0 -1
  52. package/dist/types/lib.index.d.ts.map +1 -1
  53. package/dist/types/lib.index.js +1 -2
  54. package/dist/types/lib.index.js.map +1 -1
  55. package/dist/types/meta-transaction.signatures.d.ts +10 -0
  56. package/dist/types/meta-transaction.signatures.d.ts.map +1 -0
  57. package/dist/types/meta-transaction.signatures.js +12 -0
  58. package/dist/types/meta-transaction.signatures.js.map +1 -0
  59. package/dist/utils/contract-errors.d.ts +1 -8
  60. package/dist/utils/contract-errors.d.ts.map +1 -1
  61. package/dist/utils/contract-errors.js +0 -5
  62. package/dist/utils/contract-errors.js.map +1 -1
  63. package/dist/utils/interface-ids.js +1 -1
  64. package/dist/utils/validations.d.ts.map +1 -1
  65. package/dist/utils/validations.js +10 -11
  66. package/dist/utils/validations.js.map +1 -1
  67. package/package.json +5 -5
  68. package/abi/SimpleRWA20.abi.json +0 -4010
  69. package/abi/SimpleRWA20Definitions.abi.json +0 -196
  70. package/abi/SimpleVault.abi.json +0 -3385
  71. package/abi/SimpleVaultDefinitions.abi.json +0 -274
@@ -1,118 +1,123 @@
1
1
  [
2
2
  {
3
- "inputs": [],
3
+ "type": "function",
4
4
  "name": "getFunctionSchemas",
5
+ "inputs": [],
5
6
  "outputs": [
6
7
  {
8
+ "name": "",
9
+ "type": "tuple[]",
10
+ "internalType": "struct EngineBlox.FunctionSchema[]",
7
11
  "components": [
8
12
  {
9
- "internalType": "string",
10
13
  "name": "functionSignature",
11
- "type": "string"
14
+ "type": "string",
15
+ "internalType": "string"
12
16
  },
13
17
  {
14
- "internalType": "bytes4",
15
18
  "name": "functionSelector",
16
- "type": "bytes4"
19
+ "type": "bytes4",
20
+ "internalType": "bytes4"
17
21
  },
18
22
  {
19
- "internalType": "bytes32",
20
23
  "name": "operationType",
21
- "type": "bytes32"
24
+ "type": "bytes32",
25
+ "internalType": "bytes32"
22
26
  },
23
27
  {
24
- "internalType": "string",
25
28
  "name": "operationName",
26
- "type": "string"
29
+ "type": "string",
30
+ "internalType": "string"
27
31
  },
28
32
  {
29
- "internalType": "uint16",
30
33
  "name": "supportedActionsBitmap",
31
- "type": "uint16"
34
+ "type": "uint16",
35
+ "internalType": "uint16"
32
36
  },
33
37
  {
34
- "internalType": "bool",
35
38
  "name": "enforceHandlerRelations",
36
- "type": "bool"
39
+ "type": "bool",
40
+ "internalType": "bool"
37
41
  },
38
42
  {
39
- "internalType": "bool",
40
43
  "name": "isProtected",
41
- "type": "bool"
44
+ "type": "bool",
45
+ "internalType": "bool"
46
+ },
47
+ {
48
+ "name": "isGrantRevocable",
49
+ "type": "bool",
50
+ "internalType": "bool"
42
51
  },
43
52
  {
44
- "internalType": "bytes4[]",
45
53
  "name": "handlerForSelectors",
46
- "type": "bytes4[]"
54
+ "type": "bytes4[]",
55
+ "internalType": "bytes4[]"
47
56
  }
48
- ],
49
- "internalType": "struct EngineBlox.FunctionSchema[]",
50
- "name": "",
51
- "type": "tuple[]"
57
+ ]
52
58
  }
53
59
  ],
54
- "stateMutability": "pure",
55
- "type": "function"
60
+ "stateMutability": "pure"
56
61
  },
57
62
  {
58
- "inputs": [],
63
+ "type": "function",
59
64
  "name": "getRolePermissions",
65
+ "inputs": [],
60
66
  "outputs": [
61
67
  {
68
+ "name": "",
69
+ "type": "tuple",
70
+ "internalType": "struct IDefinition.RolePermission",
62
71
  "components": [
63
72
  {
64
- "internalType": "bytes32[]",
65
73
  "name": "roleHashes",
66
- "type": "bytes32[]"
74
+ "type": "bytes32[]",
75
+ "internalType": "bytes32[]"
67
76
  },
68
77
  {
78
+ "name": "functionPermissions",
79
+ "type": "tuple[]",
80
+ "internalType": "struct EngineBlox.FunctionPermission[]",
69
81
  "components": [
70
82
  {
71
- "internalType": "bytes4",
72
83
  "name": "functionSelector",
73
- "type": "bytes4"
84
+ "type": "bytes4",
85
+ "internalType": "bytes4"
74
86
  },
75
87
  {
76
- "internalType": "uint16",
77
88
  "name": "grantedActionsBitmap",
78
- "type": "uint16"
89
+ "type": "uint16",
90
+ "internalType": "uint16"
79
91
  },
80
92
  {
81
- "internalType": "bytes4[]",
82
93
  "name": "handlerForSelectors",
83
- "type": "bytes4[]"
94
+ "type": "bytes4[]",
95
+ "internalType": "bytes4[]"
84
96
  }
85
- ],
86
- "internalType": "struct EngineBlox.FunctionPermission[]",
87
- "name": "functionPermissions",
88
- "type": "tuple[]"
97
+ ]
89
98
  }
90
- ],
91
- "internalType": "struct IDefinition.RolePermission",
92
- "name": "",
93
- "type": "tuple"
99
+ ]
94
100
  }
95
101
  ],
96
- "stateMutability": "pure",
97
- "type": "function"
102
+ "stateMutability": "pure"
98
103
  },
99
104
  {
105
+ "type": "function",
106
+ "name": "supportsInterface",
100
107
  "inputs": [
101
108
  {
102
- "internalType": "bytes4",
103
109
  "name": "interfaceId",
104
- "type": "bytes4"
110
+ "type": "bytes4",
111
+ "internalType": "bytes4"
105
112
  }
106
113
  ],
107
- "name": "supportsInterface",
108
114
  "outputs": [
109
115
  {
110
- "internalType": "bool",
111
116
  "name": "",
112
- "type": "bool"
117
+ "type": "bool",
118
+ "internalType": "bool"
113
119
  }
114
120
  ],
115
- "stateMutability": "view",
116
- "type": "function"
121
+ "stateMutability": "view"
117
122
  }
118
123
  ]