@latticexyz/world-modules 2.0.0-main-c07fa021 → 2.0.0-main-5741d53d
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.
- package/out/ArrayLib.sol/ArrayLib.json +255 -255
- package/out/Callbacks.sol/Callbacks.json +45 -45
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +203 -203
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
- package/out/DelegationControl.sol/DelegationControl.json +83 -83
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +14 -14
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
- package/out/IBaseWorld.sol/IBaseWorld.json +64 -64
- package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
- package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
- package/out/IDelegationControl.sol/IDelegationControl.json +60 -60
- package/out/IModule.sol/IModule.json +76 -76
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
- package/out/ISystemHook.sol/ISystemHook.json +82 -82
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +67 -67
- package/out/IWorldErrors.sol/IWorldErrors.json +136 -136
- package/out/IWorldKernel.sol/IWorldCall.json +149 -149
- package/out/IWorldKernel.sol/IWorldKernel.json +149 -149
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +175 -175
- package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
- package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
- package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
- package/out/KeysInTableModule.sol/KeysInTableModule.json +534 -534
- package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +996 -996
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +423 -423
- package/out/Mixed.sol/Mixed.json +66 -66
- package/out/Module.sol/Module.json +73 -73
- package/out/ResourceIds.sol/ResourceIds.json +45 -45
- package/out/Schema.sol/SchemaInstance.json +30 -30
- package/out/Schema.sol/SchemaLib.json +30 -30
- package/out/SchemaType.sol/SchemaType.json +276 -276
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +300 -300
- package/out/StoreHook.sol/StoreHook.json +358 -358
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +18 -18
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +107 -107
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
- package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +324 -324
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +81 -81
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
- package/out/Vector2.sol/Vector2.json +52 -52
- package/out/WorldContext.sol/WorldContextConsumer.json +28 -28
- package/out/WorldContext.sol/WorldContextProvider.json +28 -28
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
- package/out/constants.sol/constants.json +85 -85
- package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
- package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
- package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
- package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
- package/out/hasKey.sol/hasKey.json +130 -130
- package/out/index.sol/index.json +53 -53
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +51 -15
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +244 -171
- package/out/interfaces/IERC165.sol/IERC165.json +27 -27
- package/out/interfaces/IWorldKernel.sol/IWorldCall.json +151 -151
- package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +151 -151
- package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +151 -151
- package/out/query.sol/query.json +1154 -1154
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1332 -1332
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
- package/out/src/IStore.sol/IStore.json +886 -886
- package/out/src/IStore.sol/IStoreData.json +886 -886
- package/out/src/IStore.sol/IStoreRead.json +886 -886
- package/out/src/IStore.sol/IStoreRegistration.json +886 -886
- package/out/src/IStore.sol/IStoreWrite.json +886 -886
- package/out/src/Memory.sol/Memory.json +89 -89
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
- package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
- package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
- package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
- package/out/src/Schema.sol/SchemaInstance.json +787 -787
- package/out/src/Schema.sol/SchemaLib.json +787 -787
- package/out/src/Slice.sol/SliceInstance.json +429 -429
- package/out/src/Slice.sol/SliceLib.json +429 -429
- package/out/src/StoreCore.sol/StoreCore.json +4461 -4461
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4461 -4461
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
- package/out/src/WorldContext.sol/WorldContextConsumer.json +353 -353
- package/out/src/WorldContext.sol/WorldContextProvider.json +353 -353
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
- package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
- package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
- package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
- package/out/tables/Tables.sol/Tables.json +7288 -7288
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
- package/out/types.sol/types.json +131 -23
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
- package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
- package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
- package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
package/out/index.sol/index.json
CHANGED
@@ -10,47 +10,47 @@
|
|
10
10
|
},
|
11
11
|
"ast": {
|
12
12
|
"absolutePath": "src/index.sol",
|
13
|
-
"id":
|
13
|
+
"id": 49444,
|
14
14
|
"exportedSymbols": {
|
15
15
|
"CallboundDelegations": [
|
16
|
-
|
16
|
+
64882
|
17
17
|
],
|
18
18
|
"CallboundDelegationsTableId": [
|
19
|
-
|
19
|
+
63224
|
20
20
|
],
|
21
21
|
"KeysInTable": [
|
22
|
-
|
22
|
+
57819
|
23
23
|
],
|
24
24
|
"KeysInTableData": [
|
25
|
-
|
25
|
+
51326
|
26
26
|
],
|
27
27
|
"KeysInTableTableId": [
|
28
|
-
|
28
|
+
51303
|
29
29
|
],
|
30
30
|
"KeysWithValue": [
|
31
|
-
|
31
|
+
62813
|
32
32
|
],
|
33
33
|
"TimeboundDelegations": [
|
34
|
-
|
34
|
+
66251
|
35
35
|
],
|
36
36
|
"TimeboundDelegationsTableId": [
|
37
|
-
|
37
|
+
64939
|
38
38
|
],
|
39
39
|
"UniqueEntity": [
|
40
|
-
|
40
|
+
67372
|
41
41
|
],
|
42
42
|
"UsedKeysIndex": [
|
43
|
-
|
43
|
+
59431
|
44
44
|
],
|
45
45
|
"UsedKeysIndexTableId": [
|
46
|
-
|
46
|
+
57878
|
47
47
|
]
|
48
48
|
},
|
49
49
|
"nodeType": "SourceUnit",
|
50
50
|
"src": "32:706:110",
|
51
51
|
"nodes": [
|
52
52
|
{
|
53
|
-
"id":
|
53
|
+
"id": 49426,
|
54
54
|
"nodeType": "PragmaDirective",
|
55
55
|
"src": "32:25:110",
|
56
56
|
"nodes": [],
|
@@ -62,23 +62,23 @@
|
|
62
62
|
]
|
63
63
|
},
|
64
64
|
{
|
65
|
-
"id":
|
65
|
+
"id": 49428,
|
66
66
|
"nodeType": "ImportDirective",
|
67
67
|
"src": "108:81:110",
|
68
68
|
"nodes": [],
|
69
69
|
"absolutePath": "src/modules/keyswithvalue/tables/KeysWithValue.sol",
|
70
70
|
"file": "./modules/keyswithvalue/tables/KeysWithValue.sol",
|
71
71
|
"nameLocation": "-1:-1:-1",
|
72
|
-
"scope":
|
73
|
-
"sourceUnit":
|
72
|
+
"scope": 49444,
|
73
|
+
"sourceUnit": 62814,
|
74
74
|
"symbolAliases": [
|
75
75
|
{
|
76
76
|
"foreign": {
|
77
|
-
"id":
|
77
|
+
"id": 49427,
|
78
78
|
"name": "KeysWithValue",
|
79
79
|
"nodeType": "Identifier",
|
80
80
|
"overloadedDeclarations": [],
|
81
|
-
"referencedDeclaration":
|
81
|
+
"referencedDeclaration": 62813,
|
82
82
|
"src": "117:13:110",
|
83
83
|
"typeDescriptions": {}
|
84
84
|
},
|
@@ -88,23 +88,23 @@
|
|
88
88
|
"unitAlias": ""
|
89
89
|
},
|
90
90
|
{
|
91
|
-
"id":
|
91
|
+
"id": 49432,
|
92
92
|
"nodeType": "ImportDirective",
|
93
93
|
"src": "190:112:110",
|
94
94
|
"nodes": [],
|
95
95
|
"absolutePath": "src/modules/keysintable/tables/KeysInTable.sol",
|
96
96
|
"file": "./modules/keysintable/tables/KeysInTable.sol",
|
97
97
|
"nameLocation": "-1:-1:-1",
|
98
|
-
"scope":
|
99
|
-
"sourceUnit":
|
98
|
+
"scope": 49444,
|
99
|
+
"sourceUnit": 57820,
|
100
100
|
"symbolAliases": [
|
101
101
|
{
|
102
102
|
"foreign": {
|
103
|
-
"id":
|
103
|
+
"id": 49429,
|
104
104
|
"name": "KeysInTable",
|
105
105
|
"nodeType": "Identifier",
|
106
106
|
"overloadedDeclarations": [],
|
107
|
-
"referencedDeclaration":
|
107
|
+
"referencedDeclaration": 57819,
|
108
108
|
"src": "199:11:110",
|
109
109
|
"typeDescriptions": {}
|
110
110
|
},
|
@@ -112,11 +112,11 @@
|
|
112
112
|
},
|
113
113
|
{
|
114
114
|
"foreign": {
|
115
|
-
"id":
|
115
|
+
"id": 49430,
|
116
116
|
"name": "KeysInTableData",
|
117
117
|
"nodeType": "Identifier",
|
118
118
|
"overloadedDeclarations": [],
|
119
|
-
"referencedDeclaration":
|
119
|
+
"referencedDeclaration": 51326,
|
120
120
|
"src": "212:15:110",
|
121
121
|
"typeDescriptions": {}
|
122
122
|
},
|
@@ -124,11 +124,11 @@
|
|
124
124
|
},
|
125
125
|
{
|
126
126
|
"foreign": {
|
127
|
-
"id":
|
127
|
+
"id": 49431,
|
128
128
|
"name": "KeysInTableTableId",
|
129
129
|
"nodeType": "Identifier",
|
130
130
|
"overloadedDeclarations": [],
|
131
|
-
"referencedDeclaration":
|
131
|
+
"referencedDeclaration": 51303,
|
132
132
|
"src": "229:18:110",
|
133
133
|
"typeDescriptions": {}
|
134
134
|
},
|
@@ -138,23 +138,23 @@
|
|
138
138
|
"unitAlias": ""
|
139
139
|
},
|
140
140
|
{
|
141
|
-
"id":
|
141
|
+
"id": 49435,
|
142
142
|
"nodeType": "ImportDirective",
|
143
143
|
"src": "303:101:110",
|
144
144
|
"nodes": [],
|
145
145
|
"absolutePath": "src/modules/keysintable/tables/UsedKeysIndex.sol",
|
146
146
|
"file": "./modules/keysintable/tables/UsedKeysIndex.sol",
|
147
147
|
"nameLocation": "-1:-1:-1",
|
148
|
-
"scope":
|
149
|
-
"sourceUnit":
|
148
|
+
"scope": 49444,
|
149
|
+
"sourceUnit": 59441,
|
150
150
|
"symbolAliases": [
|
151
151
|
{
|
152
152
|
"foreign": {
|
153
|
-
"id":
|
153
|
+
"id": 49433,
|
154
154
|
"name": "UsedKeysIndex",
|
155
155
|
"nodeType": "Identifier",
|
156
156
|
"overloadedDeclarations": [],
|
157
|
-
"referencedDeclaration":
|
157
|
+
"referencedDeclaration": 59431,
|
158
158
|
"src": "312:13:110",
|
159
159
|
"typeDescriptions": {}
|
160
160
|
},
|
@@ -162,11 +162,11 @@
|
|
162
162
|
},
|
163
163
|
{
|
164
164
|
"foreign": {
|
165
|
-
"id":
|
165
|
+
"id": 49434,
|
166
166
|
"name": "UsedKeysIndexTableId",
|
167
167
|
"nodeType": "Identifier",
|
168
168
|
"overloadedDeclarations": [],
|
169
|
-
"referencedDeclaration":
|
169
|
+
"referencedDeclaration": 57878,
|
170
170
|
"src": "327:20:110",
|
171
171
|
"typeDescriptions": {}
|
172
172
|
},
|
@@ -176,23 +176,23 @@
|
|
176
176
|
"unitAlias": ""
|
177
177
|
},
|
178
178
|
{
|
179
|
-
"id":
|
179
|
+
"id": 49437,
|
180
180
|
"nodeType": "ImportDirective",
|
181
181
|
"src": "405:78:110",
|
182
182
|
"nodes": [],
|
183
183
|
"absolutePath": "src/modules/uniqueentity/tables/UniqueEntity.sol",
|
184
184
|
"file": "./modules/uniqueentity/tables/UniqueEntity.sol",
|
185
185
|
"nameLocation": "-1:-1:-1",
|
186
|
-
"scope":
|
187
|
-
"sourceUnit":
|
186
|
+
"scope": 49444,
|
187
|
+
"sourceUnit": 67373,
|
188
188
|
"symbolAliases": [
|
189
189
|
{
|
190
190
|
"foreign": {
|
191
|
-
"id":
|
191
|
+
"id": 49436,
|
192
192
|
"name": "UniqueEntity",
|
193
193
|
"nodeType": "Identifier",
|
194
194
|
"overloadedDeclarations": [],
|
195
|
-
"referencedDeclaration":
|
195
|
+
"referencedDeclaration": 67372,
|
196
196
|
"src": "414:12:110",
|
197
197
|
"typeDescriptions": {}
|
198
198
|
},
|
@@ -202,23 +202,23 @@
|
|
202
202
|
"unitAlias": ""
|
203
203
|
},
|
204
204
|
{
|
205
|
-
"id":
|
205
|
+
"id": 49440,
|
206
206
|
"nodeType": "ImportDirective",
|
207
207
|
"src": "484:126:110",
|
208
208
|
"nodes": [],
|
209
209
|
"absolutePath": "src/modules/std-delegations/tables/CallboundDelegations.sol",
|
210
210
|
"file": "./modules/std-delegations/tables/CallboundDelegations.sol",
|
211
211
|
"nameLocation": "-1:-1:-1",
|
212
|
-
"scope":
|
213
|
-
"sourceUnit":
|
212
|
+
"scope": 49444,
|
213
|
+
"sourceUnit": 64883,
|
214
214
|
"symbolAliases": [
|
215
215
|
{
|
216
216
|
"foreign": {
|
217
|
-
"id":
|
217
|
+
"id": 49438,
|
218
218
|
"name": "CallboundDelegations",
|
219
219
|
"nodeType": "Identifier",
|
220
220
|
"overloadedDeclarations": [],
|
221
|
-
"referencedDeclaration":
|
221
|
+
"referencedDeclaration": 64882,
|
222
222
|
"src": "493:20:110",
|
223
223
|
"typeDescriptions": {}
|
224
224
|
},
|
@@ -226,11 +226,11 @@
|
|
226
226
|
},
|
227
227
|
{
|
228
228
|
"foreign": {
|
229
|
-
"id":
|
229
|
+
"id": 49439,
|
230
230
|
"name": "CallboundDelegationsTableId",
|
231
231
|
"nodeType": "Identifier",
|
232
232
|
"overloadedDeclarations": [],
|
233
|
-
"referencedDeclaration":
|
233
|
+
"referencedDeclaration": 63224,
|
234
234
|
"src": "515:27:110",
|
235
235
|
"typeDescriptions": {}
|
236
236
|
},
|
@@ -240,23 +240,23 @@
|
|
240
240
|
"unitAlias": ""
|
241
241
|
},
|
242
242
|
{
|
243
|
-
"id":
|
243
|
+
"id": 49443,
|
244
244
|
"nodeType": "ImportDirective",
|
245
245
|
"src": "611:126:110",
|
246
246
|
"nodes": [],
|
247
247
|
"absolutePath": "src/modules/std-delegations/tables/TimeboundDelegations.sol",
|
248
248
|
"file": "./modules/std-delegations/tables/TimeboundDelegations.sol",
|
249
249
|
"nameLocation": "-1:-1:-1",
|
250
|
-
"scope":
|
251
|
-
"sourceUnit":
|
250
|
+
"scope": 49444,
|
251
|
+
"sourceUnit": 66252,
|
252
252
|
"symbolAliases": [
|
253
253
|
{
|
254
254
|
"foreign": {
|
255
|
-
"id":
|
255
|
+
"id": 49441,
|
256
256
|
"name": "TimeboundDelegations",
|
257
257
|
"nodeType": "Identifier",
|
258
258
|
"overloadedDeclarations": [],
|
259
|
-
"referencedDeclaration":
|
259
|
+
"referencedDeclaration": 66251,
|
260
260
|
"src": "620:20:110",
|
261
261
|
"typeDescriptions": {}
|
262
262
|
},
|
@@ -264,11 +264,11 @@
|
|
264
264
|
},
|
265
265
|
{
|
266
266
|
"foreign": {
|
267
|
-
"id":
|
267
|
+
"id": 49442,
|
268
268
|
"name": "TimeboundDelegationsTableId",
|
269
269
|
"nodeType": "Identifier",
|
270
270
|
"overloadedDeclarations": [],
|
271
|
-
"referencedDeclaration":
|
271
|
+
"referencedDeclaration": 64939,
|
272
272
|
"src": "642:27:110",
|
273
273
|
"typeDescriptions": {}
|
274
274
|
},
|
@@ -499,31 +499,43 @@
|
|
499
499
|
{
|
500
500
|
"inputs": [
|
501
501
|
{
|
502
|
-
"
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
502
|
+
"components": [
|
503
|
+
{
|
504
|
+
"internalType": "ResourceId",
|
505
|
+
"name": "systemId",
|
506
|
+
"type": "bytes32"
|
507
|
+
},
|
508
|
+
{
|
509
|
+
"internalType": "bytes",
|
510
|
+
"name": "callData",
|
511
|
+
"type": "bytes"
|
512
|
+
}
|
513
|
+
],
|
514
|
+
"internalType": "struct SystemCallData[]",
|
515
|
+
"name": "systemCalls",
|
516
|
+
"type": "tuple[]"
|
510
517
|
}
|
511
518
|
],
|
512
|
-
"name": "
|
519
|
+
"name": "batchCall",
|
513
520
|
"outputs": [
|
514
521
|
{
|
515
|
-
"internalType": "bytes",
|
516
|
-
"name": "",
|
517
|
-
"type": "bytes"
|
522
|
+
"internalType": "bytes[]",
|
523
|
+
"name": "returnDatas",
|
524
|
+
"type": "bytes[]"
|
518
525
|
}
|
519
526
|
],
|
520
|
-
"stateMutability": "
|
527
|
+
"stateMutability": "nonpayable",
|
521
528
|
"type": "function"
|
522
529
|
},
|
523
530
|
{
|
524
531
|
"inputs": [
|
525
532
|
{
|
526
533
|
"components": [
|
534
|
+
{
|
535
|
+
"internalType": "address",
|
536
|
+
"name": "from",
|
537
|
+
"type": "address"
|
538
|
+
},
|
527
539
|
{
|
528
540
|
"internalType": "ResourceId",
|
529
541
|
"name": "systemId",
|
@@ -535,12 +547,12 @@
|
|
535
547
|
"type": "bytes"
|
536
548
|
}
|
537
549
|
],
|
538
|
-
"internalType": "struct
|
550
|
+
"internalType": "struct SystemCallFromData[]",
|
539
551
|
"name": "systemCalls",
|
540
552
|
"type": "tuple[]"
|
541
553
|
}
|
542
554
|
],
|
543
|
-
"name": "
|
555
|
+
"name": "batchCallFrom",
|
544
556
|
"outputs": [
|
545
557
|
{
|
546
558
|
"internalType": "bytes[]",
|
@@ -551,6 +563,30 @@
|
|
551
563
|
"stateMutability": "nonpayable",
|
552
564
|
"type": "function"
|
553
565
|
},
|
566
|
+
{
|
567
|
+
"inputs": [
|
568
|
+
{
|
569
|
+
"internalType": "ResourceId",
|
570
|
+
"name": "systemId",
|
571
|
+
"type": "bytes32"
|
572
|
+
},
|
573
|
+
{
|
574
|
+
"internalType": "bytes",
|
575
|
+
"name": "callData",
|
576
|
+
"type": "bytes"
|
577
|
+
}
|
578
|
+
],
|
579
|
+
"name": "call",
|
580
|
+
"outputs": [
|
581
|
+
{
|
582
|
+
"internalType": "bytes",
|
583
|
+
"name": "",
|
584
|
+
"type": "bytes"
|
585
|
+
}
|
586
|
+
],
|
587
|
+
"stateMutability": "payable",
|
588
|
+
"type": "function"
|
589
|
+
},
|
554
590
|
{
|
555
591
|
"inputs": [
|
556
592
|
{
|
@@ -499,31 +499,43 @@ declare const abi: [
|
|
499
499
|
{
|
500
500
|
inputs: [
|
501
501
|
{
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
502
|
+
components: [
|
503
|
+
{
|
504
|
+
internalType: "ResourceId";
|
505
|
+
name: "systemId";
|
506
|
+
type: "bytes32";
|
507
|
+
},
|
508
|
+
{
|
509
|
+
internalType: "bytes";
|
510
|
+
name: "callData";
|
511
|
+
type: "bytes";
|
512
|
+
}
|
513
|
+
];
|
514
|
+
internalType: "struct SystemCallData[]";
|
515
|
+
name: "systemCalls";
|
516
|
+
type: "tuple[]";
|
510
517
|
}
|
511
518
|
];
|
512
|
-
name: "
|
519
|
+
name: "batchCall";
|
513
520
|
outputs: [
|
514
521
|
{
|
515
|
-
internalType: "bytes";
|
516
|
-
name: "";
|
517
|
-
type: "bytes";
|
522
|
+
internalType: "bytes[]";
|
523
|
+
name: "returnDatas";
|
524
|
+
type: "bytes[]";
|
518
525
|
}
|
519
526
|
];
|
520
|
-
stateMutability: "
|
527
|
+
stateMutability: "nonpayable";
|
521
528
|
type: "function";
|
522
529
|
},
|
523
530
|
{
|
524
531
|
inputs: [
|
525
532
|
{
|
526
533
|
components: [
|
534
|
+
{
|
535
|
+
internalType: "address";
|
536
|
+
name: "from";
|
537
|
+
type: "address";
|
538
|
+
},
|
527
539
|
{
|
528
540
|
internalType: "ResourceId";
|
529
541
|
name: "systemId";
|
@@ -535,12 +547,12 @@ declare const abi: [
|
|
535
547
|
type: "bytes";
|
536
548
|
}
|
537
549
|
];
|
538
|
-
internalType: "struct
|
550
|
+
internalType: "struct SystemCallFromData[]";
|
539
551
|
name: "systemCalls";
|
540
552
|
type: "tuple[]";
|
541
553
|
}
|
542
554
|
];
|
543
|
-
name: "
|
555
|
+
name: "batchCallFrom";
|
544
556
|
outputs: [
|
545
557
|
{
|
546
558
|
internalType: "bytes[]";
|
@@ -551,6 +563,30 @@ declare const abi: [
|
|
551
563
|
stateMutability: "nonpayable";
|
552
564
|
type: "function";
|
553
565
|
},
|
566
|
+
{
|
567
|
+
inputs: [
|
568
|
+
{
|
569
|
+
internalType: "ResourceId";
|
570
|
+
name: "systemId";
|
571
|
+
type: "bytes32";
|
572
|
+
},
|
573
|
+
{
|
574
|
+
internalType: "bytes";
|
575
|
+
name: "callData";
|
576
|
+
type: "bytes";
|
577
|
+
}
|
578
|
+
];
|
579
|
+
name: "call";
|
580
|
+
outputs: [
|
581
|
+
{
|
582
|
+
internalType: "bytes";
|
583
|
+
name: "";
|
584
|
+
type: "bytes";
|
585
|
+
}
|
586
|
+
];
|
587
|
+
stateMutability: "payable";
|
588
|
+
type: "function";
|
589
|
+
},
|
554
590
|
{
|
555
591
|
inputs: [
|
556
592
|
{
|