@bloxchain/contracts 1.0.0-alpha.20 → 1.0.0-alpha.21

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.
@@ -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
  ]