@latticexyz/world-modules 2.0.0-main-c714e5d1 → 2.0.0-main-94d7f1ee
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/AccessControl.sol/AccessControl.abi.json +1 -0
- package/out/AccessControl.sol/AccessControl.json +1651 -0
- package/out/ArrayLib.sol/ArrayLib.json +477 -477
- package/out/Balances.sol/Balances.abi.json +1 -0
- package/out/Balances.sol/Balances.json +13002 -0
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +350 -350
- package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
- package/out/DelegationControl.sol/DelegationControl.json +135 -135
- package/out/FunctionSelectors.sol/FunctionSelectors.abi.json +1 -0
- package/out/FunctionSelectors.sol/FunctionSelectors.json +17874 -0
- 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 +81 -81
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +15 -15
- package/out/IDelegationControl.sol/IDelegationControl.json +7 -7
- package/out/ISystemHook.sol/ISystemHook.json +12 -12
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +25 -25
- package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
- package/out/IWorldKernel.sol/IWorldCall.json +10 -10
- package/out/IWorldKernel.sol/IWorldKernel.json +10 -10
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +10 -10
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +39 -39
- package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
- package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
- package/out/KeysInTableModule.sol/KeysInTableModule.json +838 -838
- package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1557 -1557
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +650 -650
- package/out/Module.sol/Module.json +119 -119
- package/out/NamespaceOwner.sol/NamespaceOwner.abi.json +1 -0
- package/out/NamespaceOwner.sol/NamespaceOwner.json +13016 -0
- package/out/ResourceAccess.sol/ResourceAccess.abi.json +1 -0
- package/out/ResourceAccess.sol/ResourceAccess.json +17296 -0
- 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 +729 -729
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +448 -448
- package/out/StoreHook.sol/StoreHook.json +639 -639
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +32 -32
- package/out/SystemHooks.sol/SystemHooks.abi.json +1 -0
- package/out/SystemHooks.sol/SystemHooks.json +32460 -0
- package/out/SystemSwitch.sol/SystemSwitch.abi.json +1 -0
- package/out/SystemSwitch.sol/SystemSwitch.json +2879 -0
- package/out/Systems.sol/Systems.abi.json +1 -0
- package/out/Systems.sol/Systems.json +18508 -0
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +183 -183
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
- package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +482 -482
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +128 -128
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4590 -4590
- package/out/WorldContext.sol/WorldContextConsumer.json +14 -14
- package/out/WorldContext.sol/WorldContextConsumerLib.json +14 -14
- package/out/WorldContext.sol/WorldContextProviderLib.json +14 -14
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
- package/out/constants.sol/constants.json +194 -194
- package/out/getKeysInTable.sol/getKeysInTable.json +918 -918
- package/out/getKeysWithValue.sol/getKeysWithValue.json +431 -431
- package/out/getTargetTableId.sol/getTargetTableId.json +272 -272
- package/out/getUniqueEntity.sol/getUniqueEntity.json +389 -240
- package/out/hasKey.sol/hasKey.json +215 -215
- package/out/index.sol/index.json +73 -73
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +171 -171
- package/out/query.sol/query.json +1892 -1892
- package/out/revertWithBytes.sol/revertWithBytes.json +52 -52
- package/out/src/Bytes.sol/Bytes.json +3766 -3766
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +1204 -1204
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +1204 -1204
- package/out/src/Hook.sol/HookInstance.abi.json +1 -0
- package/out/src/Hook.sol/HookInstance.json +2823 -0
- package/out/src/Hook.sol/HookLib.abi.json +1 -0
- package/out/src/Hook.sol/HookLib.json +2823 -0
- package/out/src/IStore.sol/IStore.json +73 -73
- package/out/src/ISystemHook.sol/ISystemHook.abi.json +67 -0
- package/out/src/ISystemHook.sol/ISystemHook.abi.json.d.ts +68 -0
- package/out/src/ISystemHook.sol/ISystemHook.json +852 -0
- package/out/src/IWorldErrors.sol/IWorldErrors.abi.json +189 -0
- package/out/src/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +190 -0
- package/out/src/IWorldErrors.sol/IWorldErrors.json +1463 -0
- package/out/src/IWorldKernel.sol/IWorldCall.json +258 -258
- package/out/src/IWorldKernel.sol/IWorldKernel.json +258 -258
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +258 -258
- package/out/src/Memory.sol/Memory.json +242 -242
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +1633 -1633
- package/out/src/PackedCounter.sol/PackedCounterLib.json +1633 -1633
- package/out/src/ResourceId.sol/ResourceIdInstance.json +206 -206
- package/out/src/ResourceId.sol/ResourceIdLib.json +206 -206
- package/out/src/Schema.sol/SchemaInstance.json +1351 -1351
- package/out/src/Schema.sol/SchemaLib.json +1351 -1351
- package/out/src/Slice.sol/SliceInstance.json +802 -802
- package/out/src/Slice.sol/SliceLib.json +802 -802
- package/out/src/StoreCore.sol/StoreCore.json +7412 -7412
- package/out/src/StoreCore.sol/StoreCoreInternal.json +7412 -7412
- package/out/src/StoreSwitch.sol/StoreSwitch.json +4064 -4064
- package/out/src/WorldContext.sol/WorldContextConsumer.json +805 -805
- package/out/src/WorldContext.sol/WorldContextConsumerLib.json +807 -807
- package/out/src/WorldContext.sol/WorldContextProviderLib.json +807 -807
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +809 -809
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +809 -809
- package/out/storeHookTypes.sol/storeHookTypes.json +204 -204
- package/out/storeResourceTypes.sol/storeResourceTypes.json +23 -23
- package/out/systemHookTypes.sol/systemHookTypes.json +270 -0
- package/out/tables/ResourceIds.sol/ResourceIds.json +2922 -2922
- package/out/tables/Tables.sol/Tables.json +12189 -12189
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +6883 -6883
- package/out/types.sol/types.json +71 -71
- package/out/worldResourceTypes.sol/worldResourceTypes.json +92 -92
- package/package.json +8 -8
- package/src/modules/uniqueentity/getUniqueEntity.sol +5 -3
- package/src/utils/SystemSwitch.sol +82 -0
@@ -2,12 +2,12 @@
|
|
2
2
|
"abi": [],
|
3
3
|
"bytecode": {
|
4
4
|
"object": "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000815000a",
|
5
|
-
"sourceMap": "282:1703:
|
5
|
+
"sourceMap": "282:1703:67:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;282:1703:67;;;;;;;;;;;;;;;;;",
|
6
6
|
"linkReferences": {}
|
7
7
|
},
|
8
8
|
"deployedBytecode": {
|
9
9
|
"object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000815000a",
|
10
|
-
"sourceMap": "282:1703:
|
10
|
+
"sourceMap": "282:1703:67:-:0;;;;;;;;",
|
11
11
|
"linkReferences": {}
|
12
12
|
},
|
13
13
|
"methodIdentifiers": {},
|
@@ -70,22 +70,22 @@
|
|
70
70
|
},
|
71
71
|
"ast": {
|
72
72
|
"absolutePath": "node_modules/@latticexyz/store/src/Memory.sol",
|
73
|
-
"id":
|
73
|
+
"id": 28491,
|
74
74
|
"exportedSymbols": {
|
75
75
|
"Memory": [
|
76
|
-
|
76
|
+
28490
|
77
77
|
],
|
78
78
|
"leftMask": [
|
79
|
-
|
79
|
+
70215
|
80
80
|
]
|
81
81
|
},
|
82
82
|
"nodeType": "SourceUnit",
|
83
|
-
"src": "32:1954:
|
83
|
+
"src": "32:1954:67",
|
84
84
|
"nodes": [
|
85
85
|
{
|
86
|
-
"id":
|
86
|
+
"id": 28434,
|
87
87
|
"nodeType": "PragmaDirective",
|
88
|
-
"src": "32:25:
|
88
|
+
"src": "32:25:67",
|
89
89
|
"nodes": [],
|
90
90
|
"literals": [
|
91
91
|
"solidity",
|
@@ -95,24 +95,24 @@
|
|
95
95
|
]
|
96
96
|
},
|
97
97
|
{
|
98
|
-
"id":
|
98
|
+
"id": 28436,
|
99
99
|
"nodeType": "ImportDirective",
|
100
|
-
"src": "59:42:
|
100
|
+
"src": "59:42:67",
|
101
101
|
"nodes": [],
|
102
102
|
"absolutePath": "node_modules/@latticexyz/store/src/leftMask.sol",
|
103
103
|
"file": "./leftMask.sol",
|
104
104
|
"nameLocation": "-1:-1:-1",
|
105
|
-
"scope":
|
106
|
-
"sourceUnit":
|
105
|
+
"scope": 28491,
|
106
|
+
"sourceUnit": 70216,
|
107
107
|
"symbolAliases": [
|
108
108
|
{
|
109
109
|
"foreign": {
|
110
|
-
"id":
|
110
|
+
"id": 28435,
|
111
111
|
"name": "leftMask",
|
112
112
|
"nodeType": "Identifier",
|
113
113
|
"overloadedDeclarations": [],
|
114
|
-
"referencedDeclaration":
|
115
|
-
"src": "68:8:
|
114
|
+
"referencedDeclaration": 70215,
|
115
|
+
"src": "68:8:67",
|
116
116
|
"typeDescriptions": {}
|
117
117
|
},
|
118
118
|
"nameLocation": "-1:-1:-1"
|
@@ -121,64 +121,64 @@
|
|
121
121
|
"unitAlias": ""
|
122
122
|
},
|
123
123
|
{
|
124
|
-
"id":
|
124
|
+
"id": 28490,
|
125
125
|
"nodeType": "ContractDefinition",
|
126
|
-
"src": "282:1703:
|
126
|
+
"src": "282:1703:67",
|
127
127
|
"nodes": [
|
128
128
|
{
|
129
|
-
"id":
|
129
|
+
"id": 28447,
|
130
130
|
"nodeType": "FunctionDefinition",
|
131
|
-
"src": "690:151:
|
131
|
+
"src": "690:151:67",
|
132
132
|
"nodes": [],
|
133
133
|
"body": {
|
134
|
-
"id":
|
134
|
+
"id": 28446,
|
135
135
|
"nodeType": "Block",
|
136
|
-
"src": "776:65:
|
136
|
+
"src": "776:65:67",
|
137
137
|
"nodes": [],
|
138
138
|
"statements": [
|
139
139
|
{
|
140
140
|
"AST": {
|
141
|
-
"nativeSrc": "791:46:
|
141
|
+
"nativeSrc": "791:46:67",
|
142
142
|
"nodeType": "YulBlock",
|
143
|
-
"src": "791:46:
|
143
|
+
"src": "791:46:67",
|
144
144
|
"statements": [
|
145
145
|
{
|
146
|
-
"nativeSrc": "799:32:
|
146
|
+
"nativeSrc": "799:32:67",
|
147
147
|
"nodeType": "YulAssignment",
|
148
|
-
"src": "799:32:
|
148
|
+
"src": "799:32:67",
|
149
149
|
"value": {
|
150
150
|
"arguments": [
|
151
151
|
{
|
152
152
|
"name": "data",
|
153
|
-
"nativeSrc": "820:4:
|
153
|
+
"nativeSrc": "820:4:67",
|
154
154
|
"nodeType": "YulIdentifier",
|
155
|
-
"src": "820:4:
|
155
|
+
"src": "820:4:67"
|
156
156
|
},
|
157
157
|
{
|
158
158
|
"kind": "number",
|
159
|
-
"nativeSrc": "826:4:
|
159
|
+
"nativeSrc": "826:4:67",
|
160
160
|
"nodeType": "YulLiteral",
|
161
|
-
"src": "826:4:
|
161
|
+
"src": "826:4:67",
|
162
162
|
"type": "",
|
163
163
|
"value": "0x20"
|
164
164
|
}
|
165
165
|
],
|
166
166
|
"functionName": {
|
167
167
|
"name": "add",
|
168
|
-
"nativeSrc": "816:3:
|
168
|
+
"nativeSrc": "816:3:67",
|
169
169
|
"nodeType": "YulIdentifier",
|
170
|
-
"src": "816:3:
|
170
|
+
"src": "816:3:67"
|
171
171
|
},
|
172
|
-
"nativeSrc": "816:15:
|
172
|
+
"nativeSrc": "816:15:67",
|
173
173
|
"nodeType": "YulFunctionCall",
|
174
|
-
"src": "816:15:
|
174
|
+
"src": "816:15:67"
|
175
175
|
},
|
176
176
|
"variableNames": [
|
177
177
|
{
|
178
178
|
"name": "memoryPointer",
|
179
|
-
"nativeSrc": "799:13:
|
179
|
+
"nativeSrc": "799:13:67",
|
180
180
|
"nodeType": "YulIdentifier",
|
181
|
-
"src": "799:13:
|
181
|
+
"src": "799:13:67"
|
182
182
|
}
|
183
183
|
]
|
184
184
|
}
|
@@ -187,50 +187,50 @@
|
|
187
187
|
"evmVersion": "paris",
|
188
188
|
"externalReferences": [
|
189
189
|
{
|
190
|
-
"declaration":
|
190
|
+
"declaration": 28440,
|
191
191
|
"isOffset": false,
|
192
192
|
"isSlot": false,
|
193
|
-
"src": "820:4:
|
193
|
+
"src": "820:4:67",
|
194
194
|
"valueSize": 1
|
195
195
|
},
|
196
196
|
{
|
197
|
-
"declaration":
|
197
|
+
"declaration": 28443,
|
198
198
|
"isOffset": false,
|
199
199
|
"isSlot": false,
|
200
|
-
"src": "799:13:
|
200
|
+
"src": "799:13:67",
|
201
201
|
"valueSize": 1
|
202
202
|
}
|
203
203
|
],
|
204
|
-
"id":
|
204
|
+
"id": 28445,
|
205
205
|
"nodeType": "InlineAssembly",
|
206
|
-
"src": "782:55:
|
206
|
+
"src": "782:55:67"
|
207
207
|
}
|
208
208
|
]
|
209
209
|
},
|
210
210
|
"documentation": {
|
211
|
-
"id":
|
211
|
+
"id": 28438,
|
212
212
|
"nodeType": "StructuredDocumentation",
|
213
|
-
"src": "301:386:
|
213
|
+
"src": "301:386:67",
|
214
214
|
"text": " @notice Gets the actual data pointer of dynamic arrays.\n @dev In dynamic arrays, the first word stores the length of the data, after which comes the actual data.\n Example: 0x40 0x01 0x02\n ^len ^data\n @param data The dynamic bytes data from which to get the pointer.\n @return memoryPointer The pointer to the actual data (skipping the length)."
|
215
215
|
},
|
216
216
|
"implemented": true,
|
217
217
|
"kind": "function",
|
218
218
|
"modifiers": [],
|
219
219
|
"name": "dataPointer",
|
220
|
-
"nameLocation": "699:11:
|
220
|
+
"nameLocation": "699:11:67",
|
221
221
|
"parameters": {
|
222
|
-
"id":
|
222
|
+
"id": 28441,
|
223
223
|
"nodeType": "ParameterList",
|
224
224
|
"parameters": [
|
225
225
|
{
|
226
226
|
"constant": false,
|
227
|
-
"id":
|
227
|
+
"id": 28440,
|
228
228
|
"mutability": "mutable",
|
229
229
|
"name": "data",
|
230
|
-
"nameLocation": "724:4:
|
230
|
+
"nameLocation": "724:4:67",
|
231
231
|
"nodeType": "VariableDeclaration",
|
232
|
-
"scope":
|
233
|
-
"src": "711:17:
|
232
|
+
"scope": 28447,
|
233
|
+
"src": "711:17:67",
|
234
234
|
"stateVariable": false,
|
235
235
|
"storageLocation": "memory",
|
236
236
|
"typeDescriptions": {
|
@@ -238,10 +238,10 @@
|
|
238
238
|
"typeString": "bytes"
|
239
239
|
},
|
240
240
|
"typeName": {
|
241
|
-
"id":
|
241
|
+
"id": 28439,
|
242
242
|
"name": "bytes",
|
243
243
|
"nodeType": "ElementaryTypeName",
|
244
|
-
"src": "711:5:
|
244
|
+
"src": "711:5:67",
|
245
245
|
"typeDescriptions": {
|
246
246
|
"typeIdentifier": "t_bytes_storage_ptr",
|
247
247
|
"typeString": "bytes"
|
@@ -250,21 +250,21 @@
|
|
250
250
|
"visibility": "internal"
|
251
251
|
}
|
252
252
|
],
|
253
|
-
"src": "710:19:
|
253
|
+
"src": "710:19:67"
|
254
254
|
},
|
255
255
|
"returnParameters": {
|
256
|
-
"id":
|
256
|
+
"id": 28444,
|
257
257
|
"nodeType": "ParameterList",
|
258
258
|
"parameters": [
|
259
259
|
{
|
260
260
|
"constant": false,
|
261
|
-
"id":
|
261
|
+
"id": 28443,
|
262
262
|
"mutability": "mutable",
|
263
263
|
"name": "memoryPointer",
|
264
|
-
"nameLocation": "761:13:
|
264
|
+
"nameLocation": "761:13:67",
|
265
265
|
"nodeType": "VariableDeclaration",
|
266
|
-
"scope":
|
267
|
-
"src": "753:21:
|
266
|
+
"scope": 28447,
|
267
|
+
"src": "753:21:67",
|
268
268
|
"stateVariable": false,
|
269
269
|
"storageLocation": "default",
|
270
270
|
"typeDescriptions": {
|
@@ -272,10 +272,10 @@
|
|
272
272
|
"typeString": "uint256"
|
273
273
|
},
|
274
274
|
"typeName": {
|
275
|
-
"id":
|
275
|
+
"id": 28442,
|
276
276
|
"name": "uint256",
|
277
277
|
"nodeType": "ElementaryTypeName",
|
278
|
-
"src": "753:7:
|
278
|
+
"src": "753:7:67",
|
279
279
|
"typeDescriptions": {
|
280
280
|
"typeIdentifier": "t_uint256",
|
281
281
|
"typeString": "uint256"
|
@@ -284,78 +284,78 @@
|
|
284
284
|
"visibility": "internal"
|
285
285
|
}
|
286
286
|
],
|
287
|
-
"src": "752:23:
|
287
|
+
"src": "752:23:67"
|
288
288
|
},
|
289
|
-
"scope":
|
289
|
+
"scope": 28490,
|
290
290
|
"stateMutability": "pure",
|
291
291
|
"virtual": false,
|
292
292
|
"visibility": "internal"
|
293
293
|
},
|
294
294
|
{
|
295
|
-
"id":
|
295
|
+
"id": 28489,
|
296
296
|
"nodeType": "FunctionDefinition",
|
297
|
-
"src": "1161:822:
|
297
|
+
"src": "1161:822:67",
|
298
298
|
"nodes": [],
|
299
299
|
"body": {
|
300
|
-
"id":
|
300
|
+
"id": 28488,
|
301
301
|
"nodeType": "Block",
|
302
|
-
"src": "1245:738:
|
302
|
+
"src": "1245:738:67",
|
303
303
|
"nodes": [],
|
304
304
|
"statements": [
|
305
305
|
{
|
306
306
|
"body": {
|
307
|
-
"id":
|
307
|
+
"id": 28474,
|
308
308
|
"nodeType": "Block",
|
309
|
-
"src": "1299:303:
|
309
|
+
"src": "1299:303:67",
|
310
310
|
"statements": [
|
311
311
|
{
|
312
312
|
"AST": {
|
313
|
-
"nativeSrc": "1357:55:
|
313
|
+
"nativeSrc": "1357:55:67",
|
314
314
|
"nodeType": "YulBlock",
|
315
|
-
"src": "1357:55:
|
315
|
+
"src": "1357:55:67",
|
316
316
|
"statements": [
|
317
317
|
{
|
318
318
|
"expression": {
|
319
319
|
"arguments": [
|
320
320
|
{
|
321
321
|
"name": "toPointer",
|
322
|
-
"nativeSrc": "1374:9:
|
322
|
+
"nativeSrc": "1374:9:67",
|
323
323
|
"nodeType": "YulIdentifier",
|
324
|
-
"src": "1374:9:
|
324
|
+
"src": "1374:9:67"
|
325
325
|
},
|
326
326
|
{
|
327
327
|
"arguments": [
|
328
328
|
{
|
329
329
|
"name": "fromPointer",
|
330
|
-
"nativeSrc": "1391:11:
|
330
|
+
"nativeSrc": "1391:11:67",
|
331
331
|
"nodeType": "YulIdentifier",
|
332
|
-
"src": "1391:11:
|
332
|
+
"src": "1391:11:67"
|
333
333
|
}
|
334
334
|
],
|
335
335
|
"functionName": {
|
336
336
|
"name": "mload",
|
337
|
-
"nativeSrc": "1385:5:
|
337
|
+
"nativeSrc": "1385:5:67",
|
338
338
|
"nodeType": "YulIdentifier",
|
339
|
-
"src": "1385:5:
|
339
|
+
"src": "1385:5:67"
|
340
340
|
},
|
341
|
-
"nativeSrc": "1385:18:
|
341
|
+
"nativeSrc": "1385:18:67",
|
342
342
|
"nodeType": "YulFunctionCall",
|
343
|
-
"src": "1385:18:
|
343
|
+
"src": "1385:18:67"
|
344
344
|
}
|
345
345
|
],
|
346
346
|
"functionName": {
|
347
347
|
"name": "mstore",
|
348
|
-
"nativeSrc": "1367:6:
|
348
|
+
"nativeSrc": "1367:6:67",
|
349
349
|
"nodeType": "YulIdentifier",
|
350
|
-
"src": "1367:6:
|
350
|
+
"src": "1367:6:67"
|
351
351
|
},
|
352
|
-
"nativeSrc": "1367:37:
|
352
|
+
"nativeSrc": "1367:37:67",
|
353
353
|
"nodeType": "YulFunctionCall",
|
354
|
-
"src": "1367:37:
|
354
|
+
"src": "1367:37:67"
|
355
355
|
},
|
356
|
-
"nativeSrc": "1367:37:
|
356
|
+
"nativeSrc": "1367:37:67",
|
357
357
|
"nodeType": "YulExpressionStatement",
|
358
|
-
"src": "1367:37:
|
358
|
+
"src": "1367:37:67"
|
359
359
|
}
|
360
360
|
]
|
361
361
|
},
|
@@ -363,43 +363,43 @@
|
|
363
363
|
"evmVersion": "paris",
|
364
364
|
"externalReferences": [
|
365
365
|
{
|
366
|
-
"declaration":
|
366
|
+
"declaration": 28450,
|
367
367
|
"isOffset": false,
|
368
368
|
"isSlot": false,
|
369
|
-
"src": "1391:11:
|
369
|
+
"src": "1391:11:67",
|
370
370
|
"valueSize": 1
|
371
371
|
},
|
372
372
|
{
|
373
|
-
"declaration":
|
373
|
+
"declaration": 28452,
|
374
374
|
"isOffset": false,
|
375
375
|
"isSlot": false,
|
376
|
-
"src": "1374:9:
|
376
|
+
"src": "1374:9:67",
|
377
377
|
"valueSize": 1
|
378
378
|
}
|
379
379
|
],
|
380
|
-
"id":
|
380
|
+
"id": 28460,
|
381
381
|
"nodeType": "InlineAssembly",
|
382
|
-
"src": "1348:64:
|
382
|
+
"src": "1348:64:67"
|
383
383
|
},
|
384
384
|
{
|
385
|
-
"id":
|
385
|
+
"id": 28473,
|
386
386
|
"nodeType": "UncheckedBlock",
|
387
|
-
"src": "1503:93:
|
387
|
+
"src": "1503:93:67",
|
388
388
|
"statements": [
|
389
389
|
{
|
390
390
|
"expression": {
|
391
|
-
"id":
|
391
|
+
"id": 28463,
|
392
392
|
"isConstant": false,
|
393
393
|
"isLValue": false,
|
394
394
|
"isPure": false,
|
395
395
|
"lValueRequested": false,
|
396
396
|
"leftHandSide": {
|
397
|
-
"id":
|
397
|
+
"id": 28461,
|
398
398
|
"name": "toPointer",
|
399
399
|
"nodeType": "Identifier",
|
400
400
|
"overloadedDeclarations": [],
|
401
|
-
"referencedDeclaration":
|
402
|
-
"src": "1523:9:
|
401
|
+
"referencedDeclaration": 28452,
|
402
|
+
"src": "1523:9:67",
|
403
403
|
"typeDescriptions": {
|
404
404
|
"typeIdentifier": "t_uint256",
|
405
405
|
"typeString": "uint256"
|
@@ -409,44 +409,44 @@
|
|
409
409
|
"operator": "+=",
|
410
410
|
"rightHandSide": {
|
411
411
|
"hexValue": "3332",
|
412
|
-
"id":
|
412
|
+
"id": 28462,
|
413
413
|
"isConstant": false,
|
414
414
|
"isLValue": false,
|
415
415
|
"isPure": true,
|
416
416
|
"kind": "number",
|
417
417
|
"lValueRequested": false,
|
418
418
|
"nodeType": "Literal",
|
419
|
-
"src": "1536:2:
|
419
|
+
"src": "1536:2:67",
|
420
420
|
"typeDescriptions": {
|
421
421
|
"typeIdentifier": "t_rational_32_by_1",
|
422
422
|
"typeString": "int_const 32"
|
423
423
|
},
|
424
424
|
"value": "32"
|
425
425
|
},
|
426
|
-
"src": "1523:15:
|
426
|
+
"src": "1523:15:67",
|
427
427
|
"typeDescriptions": {
|
428
428
|
"typeIdentifier": "t_uint256",
|
429
429
|
"typeString": "uint256"
|
430
430
|
}
|
431
431
|
},
|
432
|
-
"id":
|
432
|
+
"id": 28464,
|
433
433
|
"nodeType": "ExpressionStatement",
|
434
|
-
"src": "1523:15:
|
434
|
+
"src": "1523:15:67"
|
435
435
|
},
|
436
436
|
{
|
437
437
|
"expression": {
|
438
|
-
"id":
|
438
|
+
"id": 28467,
|
439
439
|
"isConstant": false,
|
440
440
|
"isLValue": false,
|
441
441
|
"isPure": false,
|
442
442
|
"lValueRequested": false,
|
443
443
|
"leftHandSide": {
|
444
|
-
"id":
|
444
|
+
"id": 28465,
|
445
445
|
"name": "fromPointer",
|
446
446
|
"nodeType": "Identifier",
|
447
447
|
"overloadedDeclarations": [],
|
448
|
-
"referencedDeclaration":
|
449
|
-
"src": "1548:11:
|
448
|
+
"referencedDeclaration": 28450,
|
449
|
+
"src": "1548:11:67",
|
450
450
|
"typeDescriptions": {
|
451
451
|
"typeIdentifier": "t_uint256",
|
452
452
|
"typeString": "uint256"
|
@@ -456,44 +456,44 @@
|
|
456
456
|
"operator": "+=",
|
457
457
|
"rightHandSide": {
|
458
458
|
"hexValue": "3332",
|
459
|
-
"id":
|
459
|
+
"id": 28466,
|
460
460
|
"isConstant": false,
|
461
461
|
"isLValue": false,
|
462
462
|
"isPure": true,
|
463
463
|
"kind": "number",
|
464
464
|
"lValueRequested": false,
|
465
465
|
"nodeType": "Literal",
|
466
|
-
"src": "1563:2:
|
466
|
+
"src": "1563:2:67",
|
467
467
|
"typeDescriptions": {
|
468
468
|
"typeIdentifier": "t_rational_32_by_1",
|
469
469
|
"typeString": "int_const 32"
|
470
470
|
},
|
471
471
|
"value": "32"
|
472
472
|
},
|
473
|
-
"src": "1548:17:
|
473
|
+
"src": "1548:17:67",
|
474
474
|
"typeDescriptions": {
|
475
475
|
"typeIdentifier": "t_uint256",
|
476
476
|
"typeString": "uint256"
|
477
477
|
}
|
478
478
|
},
|
479
|
-
"id":
|
479
|
+
"id": 28468,
|
480
480
|
"nodeType": "ExpressionStatement",
|
481
|
-
"src": "1548:17:
|
481
|
+
"src": "1548:17:67"
|
482
482
|
},
|
483
483
|
{
|
484
484
|
"expression": {
|
485
|
-
"id":
|
485
|
+
"id": 28471,
|
486
486
|
"isConstant": false,
|
487
487
|
"isLValue": false,
|
488
488
|
"isPure": false,
|
489
489
|
"lValueRequested": false,
|
490
490
|
"leftHandSide": {
|
491
|
-
"id":
|
491
|
+
"id": 28469,
|
492
492
|
"name": "length",
|
493
493
|
"nodeType": "Identifier",
|
494
494
|
"overloadedDeclarations": [],
|
495
|
-
"referencedDeclaration":
|
496
|
-
"src": "1575:6:
|
495
|
+
"referencedDeclaration": 28454,
|
496
|
+
"src": "1575:6:67",
|
497
497
|
"typeDescriptions": {
|
498
498
|
"typeIdentifier": "t_uint256",
|
499
499
|
"typeString": "uint256"
|
@@ -503,29 +503,29 @@
|
|
503
503
|
"operator": "-=",
|
504
504
|
"rightHandSide": {
|
505
505
|
"hexValue": "3332",
|
506
|
-
"id":
|
506
|
+
"id": 28470,
|
507
507
|
"isConstant": false,
|
508
508
|
"isLValue": false,
|
509
509
|
"isPure": true,
|
510
510
|
"kind": "number",
|
511
511
|
"lValueRequested": false,
|
512
512
|
"nodeType": "Literal",
|
513
|
-
"src": "1585:2:
|
513
|
+
"src": "1585:2:67",
|
514
514
|
"typeDescriptions": {
|
515
515
|
"typeIdentifier": "t_rational_32_by_1",
|
516
516
|
"typeString": "int_const 32"
|
517
517
|
},
|
518
518
|
"value": "32"
|
519
519
|
},
|
520
|
-
"src": "1575:12:
|
520
|
+
"src": "1575:12:67",
|
521
521
|
"typeDescriptions": {
|
522
522
|
"typeIdentifier": "t_uint256",
|
523
523
|
"typeString": "uint256"
|
524
524
|
}
|
525
525
|
},
|
526
|
-
"id":
|
526
|
+
"id": 28472,
|
527
527
|
"nodeType": "ExpressionStatement",
|
528
|
-
"src": "1575:12:
|
528
|
+
"src": "1575:12:67"
|
529
529
|
}
|
530
530
|
]
|
531
531
|
}
|
@@ -536,18 +536,18 @@
|
|
536
536
|
"typeIdentifier": "t_uint256",
|
537
537
|
"typeString": "uint256"
|
538
538
|
},
|
539
|
-
"id":
|
539
|
+
"id": 28459,
|
540
540
|
"isConstant": false,
|
541
541
|
"isLValue": false,
|
542
542
|
"isPure": false,
|
543
543
|
"lValueRequested": false,
|
544
544
|
"leftExpression": {
|
545
|
-
"id":
|
545
|
+
"id": 28457,
|
546
546
|
"name": "length",
|
547
547
|
"nodeType": "Identifier",
|
548
548
|
"overloadedDeclarations": [],
|
549
|
-
"referencedDeclaration":
|
550
|
-
"src": "1285:6:
|
549
|
+
"referencedDeclaration": 28454,
|
550
|
+
"src": "1285:6:67",
|
551
551
|
"typeDescriptions": {
|
552
552
|
"typeIdentifier": "t_uint256",
|
553
553
|
"typeString": "uint256"
|
@@ -557,29 +557,29 @@
|
|
557
557
|
"operator": ">=",
|
558
558
|
"rightExpression": {
|
559
559
|
"hexValue": "3332",
|
560
|
-
"id":
|
560
|
+
"id": 28458,
|
561
561
|
"isConstant": false,
|
562
562
|
"isLValue": false,
|
563
563
|
"isPure": true,
|
564
564
|
"kind": "number",
|
565
565
|
"lValueRequested": false,
|
566
566
|
"nodeType": "Literal",
|
567
|
-
"src": "1295:2:
|
567
|
+
"src": "1295:2:67",
|
568
568
|
"typeDescriptions": {
|
569
569
|
"typeIdentifier": "t_rational_32_by_1",
|
570
570
|
"typeString": "int_const 32"
|
571
571
|
},
|
572
572
|
"value": "32"
|
573
573
|
},
|
574
|
-
"src": "1285:12:
|
574
|
+
"src": "1285:12:67",
|
575
575
|
"typeDescriptions": {
|
576
576
|
"typeIdentifier": "t_bool",
|
577
577
|
"typeString": "bool"
|
578
578
|
}
|
579
579
|
},
|
580
|
-
"id":
|
580
|
+
"id": 28475,
|
581
581
|
"nodeType": "WhileStatement",
|
582
|
-
"src": "1278:324:
|
582
|
+
"src": "1278:324:67"
|
583
583
|
},
|
584
584
|
{
|
585
585
|
"condition": {
|
@@ -587,18 +587,18 @@
|
|
587
587
|
"typeIdentifier": "t_uint256",
|
588
588
|
"typeString": "uint256"
|
589
589
|
},
|
590
|
-
"id":
|
590
|
+
"id": 28478,
|
591
591
|
"isConstant": false,
|
592
592
|
"isLValue": false,
|
593
593
|
"isPure": false,
|
594
594
|
"lValueRequested": false,
|
595
595
|
"leftExpression": {
|
596
|
-
"id":
|
596
|
+
"id": 28476,
|
597
597
|
"name": "length",
|
598
598
|
"nodeType": "Identifier",
|
599
599
|
"overloadedDeclarations": [],
|
600
|
-
"referencedDeclaration":
|
601
|
-
"src": "1611:6:
|
600
|
+
"referencedDeclaration": 28454,
|
601
|
+
"src": "1611:6:67",
|
602
602
|
"typeDescriptions": {
|
603
603
|
"typeIdentifier": "t_uint256",
|
604
604
|
"typeString": "uint256"
|
@@ -608,50 +608,50 @@
|
|
608
608
|
"operator": "==",
|
609
609
|
"rightExpression": {
|
610
610
|
"hexValue": "30",
|
611
|
-
"id":
|
611
|
+
"id": 28477,
|
612
612
|
"isConstant": false,
|
613
613
|
"isLValue": false,
|
614
614
|
"isPure": true,
|
615
615
|
"kind": "number",
|
616
616
|
"lValueRequested": false,
|
617
617
|
"nodeType": "Literal",
|
618
|
-
"src": "1621:1:
|
618
|
+
"src": "1621:1:67",
|
619
619
|
"typeDescriptions": {
|
620
620
|
"typeIdentifier": "t_rational_0_by_1",
|
621
621
|
"typeString": "int_const 0"
|
622
622
|
},
|
623
623
|
"value": "0"
|
624
624
|
},
|
625
|
-
"src": "1611:11:
|
625
|
+
"src": "1611:11:67",
|
626
626
|
"typeDescriptions": {
|
627
627
|
"typeIdentifier": "t_bool",
|
628
628
|
"typeString": "bool"
|
629
629
|
}
|
630
630
|
},
|
631
|
-
"id":
|
631
|
+
"id": 28480,
|
632
632
|
"nodeType": "IfStatement",
|
633
|
-
"src": "1607:24:
|
633
|
+
"src": "1607:24:67",
|
634
634
|
"trueBody": {
|
635
|
-
"functionReturnParameters":
|
636
|
-
"id":
|
635
|
+
"functionReturnParameters": 28456,
|
636
|
+
"id": 28479,
|
637
637
|
"nodeType": "Return",
|
638
|
-
"src": "1624:7:
|
638
|
+
"src": "1624:7:67"
|
639
639
|
}
|
640
640
|
},
|
641
641
|
{
|
642
642
|
"assignments": [
|
643
|
-
|
643
|
+
28482
|
644
644
|
],
|
645
645
|
"declarations": [
|
646
646
|
{
|
647
647
|
"constant": false,
|
648
|
-
"id":
|
648
|
+
"id": 28482,
|
649
649
|
"mutability": "mutable",
|
650
650
|
"name": "mask",
|
651
|
-
"nameLocation": "1678:4:
|
651
|
+
"nameLocation": "1678:4:67",
|
652
652
|
"nodeType": "VariableDeclaration",
|
653
|
-
"scope":
|
654
|
-
"src": "1670:12:
|
653
|
+
"scope": 28488,
|
654
|
+
"src": "1670:12:67",
|
655
655
|
"stateVariable": false,
|
656
656
|
"storageLocation": "default",
|
657
657
|
"typeDescriptions": {
|
@@ -659,10 +659,10 @@
|
|
659
659
|
"typeString": "uint256"
|
660
660
|
},
|
661
661
|
"typeName": {
|
662
|
-
"id":
|
662
|
+
"id": 28481,
|
663
663
|
"name": "uint256",
|
664
664
|
"nodeType": "ElementaryTypeName",
|
665
|
-
"src": "1670:7:
|
665
|
+
"src": "1670:7:67",
|
666
666
|
"typeDescriptions": {
|
667
667
|
"typeIdentifier": "t_uint256",
|
668
668
|
"typeString": "uint256"
|
@@ -671,16 +671,16 @@
|
|
671
671
|
"visibility": "internal"
|
672
672
|
}
|
673
673
|
],
|
674
|
-
"id":
|
674
|
+
"id": 28486,
|
675
675
|
"initialValue": {
|
676
676
|
"arguments": [
|
677
677
|
{
|
678
|
-
"id":
|
678
|
+
"id": 28484,
|
679
679
|
"name": "length",
|
680
680
|
"nodeType": "Identifier",
|
681
681
|
"overloadedDeclarations": [],
|
682
|
-
"referencedDeclaration":
|
683
|
-
"src": "1694:6:
|
682
|
+
"referencedDeclaration": 28454,
|
683
|
+
"src": "1694:6:67",
|
684
684
|
"typeDescriptions": {
|
685
685
|
"typeIdentifier": "t_uint256",
|
686
686
|
"typeString": "uint256"
|
@@ -694,18 +694,18 @@
|
|
694
694
|
"typeString": "uint256"
|
695
695
|
}
|
696
696
|
],
|
697
|
-
"id":
|
697
|
+
"id": 28483,
|
698
698
|
"name": "leftMask",
|
699
699
|
"nodeType": "Identifier",
|
700
700
|
"overloadedDeclarations": [],
|
701
|
-
"referencedDeclaration":
|
702
|
-
"src": "1685:8:
|
701
|
+
"referencedDeclaration": 70215,
|
702
|
+
"src": "1685:8:67",
|
703
703
|
"typeDescriptions": {
|
704
704
|
"typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$",
|
705
705
|
"typeString": "function (uint256) pure returns (uint256)"
|
706
706
|
}
|
707
707
|
},
|
708
|
-
"id":
|
708
|
+
"id": 28485,
|
709
709
|
"isConstant": false,
|
710
710
|
"isLValue": false,
|
711
711
|
"isPure": false,
|
@@ -714,7 +714,7 @@
|
|
714
714
|
"nameLocations": [],
|
715
715
|
"names": [],
|
716
716
|
"nodeType": "FunctionCall",
|
717
|
-
"src": "1685:16:
|
717
|
+
"src": "1685:16:67",
|
718
718
|
"tryCall": false,
|
719
719
|
"typeDescriptions": {
|
720
720
|
"typeIdentifier": "t_uint256",
|
@@ -722,22 +722,22 @@
|
|
722
722
|
}
|
723
723
|
},
|
724
724
|
"nodeType": "VariableDeclarationStatement",
|
725
|
-
"src": "1670:31:
|
725
|
+
"src": "1670:31:67"
|
726
726
|
},
|
727
727
|
{
|
728
728
|
"AST": {
|
729
|
-
"nativeSrc": "1755:224:
|
729
|
+
"nativeSrc": "1755:224:67",
|
730
730
|
"nodeType": "YulBlock",
|
731
|
-
"src": "1755:224:
|
731
|
+
"src": "1755:224:67",
|
732
732
|
"statements": [
|
733
733
|
{
|
734
734
|
"expression": {
|
735
735
|
"arguments": [
|
736
736
|
{
|
737
737
|
"name": "toPointer",
|
738
|
-
"nativeSrc": "1779:9:
|
738
|
+
"nativeSrc": "1779:9:67",
|
739
739
|
"nodeType": "YulIdentifier",
|
740
|
-
"src": "1779:9:
|
740
|
+
"src": "1779:9:67"
|
741
741
|
},
|
742
742
|
{
|
743
743
|
"arguments": [
|
@@ -747,37 +747,37 @@
|
|
747
747
|
"arguments": [
|
748
748
|
{
|
749
749
|
"name": "fromPointer",
|
750
|
-
"nativeSrc": "1855:11:
|
750
|
+
"nativeSrc": "1855:11:67",
|
751
751
|
"nodeType": "YulIdentifier",
|
752
|
-
"src": "1855:11:
|
752
|
+
"src": "1855:11:67"
|
753
753
|
}
|
754
754
|
],
|
755
755
|
"functionName": {
|
756
756
|
"name": "mload",
|
757
|
-
"nativeSrc": "1849:5:
|
757
|
+
"nativeSrc": "1849:5:67",
|
758
758
|
"nodeType": "YulIdentifier",
|
759
|
-
"src": "1849:5:
|
759
|
+
"src": "1849:5:67"
|
760
760
|
},
|
761
|
-
"nativeSrc": "1849:18:
|
761
|
+
"nativeSrc": "1849:18:67",
|
762
762
|
"nodeType": "YulFunctionCall",
|
763
|
-
"src": "1849:18:
|
763
|
+
"src": "1849:18:67"
|
764
764
|
},
|
765
765
|
{
|
766
766
|
"name": "mask",
|
767
|
-
"nativeSrc": "1869:4:
|
767
|
+
"nativeSrc": "1869:4:67",
|
768
768
|
"nodeType": "YulIdentifier",
|
769
|
-
"src": "1869:4:
|
769
|
+
"src": "1869:4:67"
|
770
770
|
}
|
771
771
|
],
|
772
772
|
"functionName": {
|
773
773
|
"name": "and",
|
774
|
-
"nativeSrc": "1845:3:
|
774
|
+
"nativeSrc": "1845:3:67",
|
775
775
|
"nodeType": "YulIdentifier",
|
776
|
-
"src": "1845:3:
|
776
|
+
"src": "1845:3:67"
|
777
777
|
},
|
778
|
-
"nativeSrc": "1845:29:
|
778
|
+
"nativeSrc": "1845:29:67",
|
779
779
|
"nodeType": "YulFunctionCall",
|
780
|
-
"src": "1845:29:
|
780
|
+
"src": "1845:29:67"
|
781
781
|
},
|
782
782
|
{
|
783
783
|
"arguments": [
|
@@ -785,76 +785,76 @@
|
|
785
785
|
"arguments": [
|
786
786
|
{
|
787
787
|
"name": "toPointer",
|
788
|
-
"nativeSrc": "1933:9:
|
788
|
+
"nativeSrc": "1933:9:67",
|
789
789
|
"nodeType": "YulIdentifier",
|
790
|
-
"src": "1933:9:
|
790
|
+
"src": "1933:9:67"
|
791
791
|
}
|
792
792
|
],
|
793
793
|
"functionName": {
|
794
794
|
"name": "mload",
|
795
|
-
"nativeSrc": "1927:5:
|
795
|
+
"nativeSrc": "1927:5:67",
|
796
796
|
"nodeType": "YulIdentifier",
|
797
|
-
"src": "1927:5:
|
797
|
+
"src": "1927:5:67"
|
798
798
|
},
|
799
|
-
"nativeSrc": "1927:16:
|
799
|
+
"nativeSrc": "1927:16:67",
|
800
800
|
"nodeType": "YulFunctionCall",
|
801
|
-
"src": "1927:16:
|
801
|
+
"src": "1927:16:67"
|
802
802
|
},
|
803
803
|
{
|
804
804
|
"arguments": [
|
805
805
|
{
|
806
806
|
"name": "mask",
|
807
|
-
"nativeSrc": "1949:4:
|
807
|
+
"nativeSrc": "1949:4:67",
|
808
808
|
"nodeType": "YulIdentifier",
|
809
|
-
"src": "1949:4:
|
809
|
+
"src": "1949:4:67"
|
810
810
|
}
|
811
811
|
],
|
812
812
|
"functionName": {
|
813
813
|
"name": "not",
|
814
|
-
"nativeSrc": "1945:3:
|
814
|
+
"nativeSrc": "1945:3:67",
|
815
815
|
"nodeType": "YulIdentifier",
|
816
|
-
"src": "1945:3:
|
816
|
+
"src": "1945:3:67"
|
817
817
|
},
|
818
|
-
"nativeSrc": "1945:9:
|
818
|
+
"nativeSrc": "1945:9:67",
|
819
819
|
"nodeType": "YulFunctionCall",
|
820
|
-
"src": "1945:9:
|
820
|
+
"src": "1945:9:67"
|
821
821
|
}
|
822
822
|
],
|
823
823
|
"functionName": {
|
824
824
|
"name": "and",
|
825
|
-
"nativeSrc": "1923:3:
|
825
|
+
"nativeSrc": "1923:3:67",
|
826
826
|
"nodeType": "YulIdentifier",
|
827
|
-
"src": "1923:3:
|
827
|
+
"src": "1923:3:67"
|
828
828
|
},
|
829
|
-
"nativeSrc": "1923:32:
|
829
|
+
"nativeSrc": "1923:32:67",
|
830
830
|
"nodeType": "YulFunctionCall",
|
831
|
-
"src": "1923:32:
|
831
|
+
"src": "1923:32:67"
|
832
832
|
}
|
833
833
|
],
|
834
834
|
"functionName": {
|
835
835
|
"name": "or",
|
836
|
-
"nativeSrc": "1798:2:
|
836
|
+
"nativeSrc": "1798:2:67",
|
837
837
|
"nodeType": "YulIdentifier",
|
838
|
-
"src": "1798:2:
|
838
|
+
"src": "1798:2:67"
|
839
839
|
},
|
840
|
-
"nativeSrc": "1798:167:
|
840
|
+
"nativeSrc": "1798:167:67",
|
841
841
|
"nodeType": "YulFunctionCall",
|
842
|
-
"src": "1798:167:
|
842
|
+
"src": "1798:167:67"
|
843
843
|
}
|
844
844
|
],
|
845
845
|
"functionName": {
|
846
846
|
"name": "mstore",
|
847
|
-
"nativeSrc": "1763:6:
|
847
|
+
"nativeSrc": "1763:6:67",
|
848
848
|
"nodeType": "YulIdentifier",
|
849
|
-
"src": "1763:6:
|
849
|
+
"src": "1763:6:67"
|
850
850
|
},
|
851
|
-
"nativeSrc": "1763:210:
|
851
|
+
"nativeSrc": "1763:210:67",
|
852
852
|
"nodeType": "YulFunctionCall",
|
853
|
-
"src": "1763:210:
|
853
|
+
"src": "1763:210:67"
|
854
854
|
},
|
855
|
-
"nativeSrc": "1763:210:
|
855
|
+
"nativeSrc": "1763:210:67",
|
856
856
|
"nodeType": "YulExpressionStatement",
|
857
|
-
"src": "1763:210:
|
857
|
+
"src": "1763:210:67"
|
858
858
|
}
|
859
859
|
]
|
860
860
|
},
|
@@ -862,71 +862,71 @@
|
|
862
862
|
"evmVersion": "paris",
|
863
863
|
"externalReferences": [
|
864
864
|
{
|
865
|
-
"declaration":
|
865
|
+
"declaration": 28450,
|
866
866
|
"isOffset": false,
|
867
867
|
"isSlot": false,
|
868
|
-
"src": "1855:11:
|
868
|
+
"src": "1855:11:67",
|
869
869
|
"valueSize": 1
|
870
870
|
},
|
871
871
|
{
|
872
|
-
"declaration":
|
872
|
+
"declaration": 28482,
|
873
873
|
"isOffset": false,
|
874
874
|
"isSlot": false,
|
875
|
-
"src": "1869:4:
|
875
|
+
"src": "1869:4:67",
|
876
876
|
"valueSize": 1
|
877
877
|
},
|
878
878
|
{
|
879
|
-
"declaration":
|
879
|
+
"declaration": 28482,
|
880
880
|
"isOffset": false,
|
881
881
|
"isSlot": false,
|
882
|
-
"src": "1949:4:
|
882
|
+
"src": "1949:4:67",
|
883
883
|
"valueSize": 1
|
884
884
|
},
|
885
885
|
{
|
886
|
-
"declaration":
|
886
|
+
"declaration": 28452,
|
887
887
|
"isOffset": false,
|
888
888
|
"isSlot": false,
|
889
|
-
"src": "1779:9:
|
889
|
+
"src": "1779:9:67",
|
890
890
|
"valueSize": 1
|
891
891
|
},
|
892
892
|
{
|
893
|
-
"declaration":
|
893
|
+
"declaration": 28452,
|
894
894
|
"isOffset": false,
|
895
895
|
"isSlot": false,
|
896
|
-
"src": "1933:9:
|
896
|
+
"src": "1933:9:67",
|
897
897
|
"valueSize": 1
|
898
898
|
}
|
899
899
|
],
|
900
|
-
"id":
|
900
|
+
"id": 28487,
|
901
901
|
"nodeType": "InlineAssembly",
|
902
|
-
"src": "1746:233:
|
902
|
+
"src": "1746:233:67"
|
903
903
|
}
|
904
904
|
]
|
905
905
|
},
|
906
906
|
"documentation": {
|
907
|
-
"id":
|
907
|
+
"id": 28448,
|
908
908
|
"nodeType": "StructuredDocumentation",
|
909
|
-
"src": "845:313:
|
909
|
+
"src": "845:313:67",
|
910
910
|
"text": " @notice Copies memory from one location to another.\n @dev Safely copies memory in chunks of 32 bytes, then handles any residual bytes.\n @param fromPointer The memory location to copy from.\n @param toPointer The memory location to copy to.\n @param length The number of bytes to copy."
|
911
911
|
},
|
912
912
|
"implemented": true,
|
913
913
|
"kind": "function",
|
914
914
|
"modifiers": [],
|
915
915
|
"name": "copy",
|
916
|
-
"nameLocation": "1170:4:
|
916
|
+
"nameLocation": "1170:4:67",
|
917
917
|
"parameters": {
|
918
|
-
"id":
|
918
|
+
"id": 28455,
|
919
919
|
"nodeType": "ParameterList",
|
920
920
|
"parameters": [
|
921
921
|
{
|
922
922
|
"constant": false,
|
923
|
-
"id":
|
923
|
+
"id": 28450,
|
924
924
|
"mutability": "mutable",
|
925
925
|
"name": "fromPointer",
|
926
|
-
"nameLocation": "1183:11:
|
926
|
+
"nameLocation": "1183:11:67",
|
927
927
|
"nodeType": "VariableDeclaration",
|
928
|
-
"scope":
|
929
|
-
"src": "1175:19:
|
928
|
+
"scope": 28489,
|
929
|
+
"src": "1175:19:67",
|
930
930
|
"stateVariable": false,
|
931
931
|
"storageLocation": "default",
|
932
932
|
"typeDescriptions": {
|
@@ -934,10 +934,10 @@
|
|
934
934
|
"typeString": "uint256"
|
935
935
|
},
|
936
936
|
"typeName": {
|
937
|
-
"id":
|
937
|
+
"id": 28449,
|
938
938
|
"name": "uint256",
|
939
939
|
"nodeType": "ElementaryTypeName",
|
940
|
-
"src": "1175:7:
|
940
|
+
"src": "1175:7:67",
|
941
941
|
"typeDescriptions": {
|
942
942
|
"typeIdentifier": "t_uint256",
|
943
943
|
"typeString": "uint256"
|
@@ -947,13 +947,13 @@
|
|
947
947
|
},
|
948
948
|
{
|
949
949
|
"constant": false,
|
950
|
-
"id":
|
950
|
+
"id": 28452,
|
951
951
|
"mutability": "mutable",
|
952
952
|
"name": "toPointer",
|
953
|
-
"nameLocation": "1204:9:
|
953
|
+
"nameLocation": "1204:9:67",
|
954
954
|
"nodeType": "VariableDeclaration",
|
955
|
-
"scope":
|
956
|
-
"src": "1196:17:
|
955
|
+
"scope": 28489,
|
956
|
+
"src": "1196:17:67",
|
957
957
|
"stateVariable": false,
|
958
958
|
"storageLocation": "default",
|
959
959
|
"typeDescriptions": {
|
@@ -961,10 +961,10 @@
|
|
961
961
|
"typeString": "uint256"
|
962
962
|
},
|
963
963
|
"typeName": {
|
964
|
-
"id":
|
964
|
+
"id": 28451,
|
965
965
|
"name": "uint256",
|
966
966
|
"nodeType": "ElementaryTypeName",
|
967
|
-
"src": "1196:7:
|
967
|
+
"src": "1196:7:67",
|
968
968
|
"typeDescriptions": {
|
969
969
|
"typeIdentifier": "t_uint256",
|
970
970
|
"typeString": "uint256"
|
@@ -974,13 +974,13 @@
|
|
974
974
|
},
|
975
975
|
{
|
976
976
|
"constant": false,
|
977
|
-
"id":
|
977
|
+
"id": 28454,
|
978
978
|
"mutability": "mutable",
|
979
979
|
"name": "length",
|
980
|
-
"nameLocation": "1223:6:
|
980
|
+
"nameLocation": "1223:6:67",
|
981
981
|
"nodeType": "VariableDeclaration",
|
982
|
-
"scope":
|
983
|
-
"src": "1215:14:
|
982
|
+
"scope": 28489,
|
983
|
+
"src": "1215:14:67",
|
984
984
|
"stateVariable": false,
|
985
985
|
"storageLocation": "default",
|
986
986
|
"typeDescriptions": {
|
@@ -988,10 +988,10 @@
|
|
988
988
|
"typeString": "uint256"
|
989
989
|
},
|
990
990
|
"typeName": {
|
991
|
-
"id":
|
991
|
+
"id": 28453,
|
992
992
|
"name": "uint256",
|
993
993
|
"nodeType": "ElementaryTypeName",
|
994
|
-
"src": "1215:7:
|
994
|
+
"src": "1215:7:67",
|
995
995
|
"typeDescriptions": {
|
996
996
|
"typeIdentifier": "t_uint256",
|
997
997
|
"typeString": "uint256"
|
@@ -1000,15 +1000,15 @@
|
|
1000
1000
|
"visibility": "internal"
|
1001
1001
|
}
|
1002
1002
|
],
|
1003
|
-
"src": "1174:56:
|
1003
|
+
"src": "1174:56:67"
|
1004
1004
|
},
|
1005
1005
|
"returnParameters": {
|
1006
|
-
"id":
|
1006
|
+
"id": 28456,
|
1007
1007
|
"nodeType": "ParameterList",
|
1008
1008
|
"parameters": [],
|
1009
|
-
"src": "1245:0:
|
1009
|
+
"src": "1245:0:67"
|
1010
1010
|
},
|
1011
|
-
"scope":
|
1011
|
+
"scope": 28490,
|
1012
1012
|
"stateMutability": "pure",
|
1013
1013
|
"virtual": false,
|
1014
1014
|
"visibility": "internal"
|
@@ -1020,23 +1020,23 @@
|
|
1020
1020
|
"contractDependencies": [],
|
1021
1021
|
"contractKind": "library",
|
1022
1022
|
"documentation": {
|
1023
|
-
"id":
|
1023
|
+
"id": 28437,
|
1024
1024
|
"nodeType": "StructuredDocumentation",
|
1025
|
-
"src": "103:178:
|
1025
|
+
"src": "103:178:67",
|
1026
1026
|
"text": " @title Memory Operations\n @notice A library for performing low-level memory operations.\n @dev This library provides low-level memory operations with safety checks."
|
1027
1027
|
},
|
1028
1028
|
"fullyImplemented": true,
|
1029
1029
|
"linearizedBaseContracts": [
|
1030
|
-
|
1030
|
+
28490
|
1031
1031
|
],
|
1032
1032
|
"name": "Memory",
|
1033
|
-
"nameLocation": "290:6:
|
1034
|
-
"scope":
|
1033
|
+
"nameLocation": "290:6:67",
|
1034
|
+
"scope": 28491,
|
1035
1035
|
"usedErrors": [],
|
1036
1036
|
"usedEvents": []
|
1037
1037
|
}
|
1038
1038
|
],
|
1039
1039
|
"license": "MIT"
|
1040
1040
|
},
|
1041
|
-
"id":
|
1041
|
+
"id": 67
|
1042
1042
|
}
|