@latticexyz/world-modules 2.0.0-main-251170e1 → 2.0.0-main-c07fa021

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 (91) hide show
  1. package/dist/mud.config.js +1 -1
  2. package/dist/mud.config.js.map +1 -1
  3. package/out/ArrayLib.sol/ArrayLib.json +477 -477
  4. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +314 -314
  5. package/out/CallboundDelegations.sol/CallboundDelegations.json +4012 -4012
  6. package/out/DelegationControl.sol/DelegationControl.json +22 -22
  7. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +97 -97
  8. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +81 -81
  9. package/out/IBaseWorld.sol/IBaseWorld.abi.json +0 -13
  10. package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +0 -13
  11. package/out/IBaseWorld.sol/IBaseWorld.json +63 -143
  12. package/out/ICallBatchSystem.sol/ICallBatchSystem.json +51 -51
  13. package/out/ICoreSystem.sol/ICoreSystem.json +15 -15
  14. package/out/IDelegationControl.sol/IDelegationControl.json +93 -93
  15. package/out/IModule.sol/IModule.json +139 -139
  16. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +58 -58
  17. package/out/ISystemHook.sol/ISystemHook.json +129 -129
  18. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +2 -2
  19. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +2 -2
  20. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +37 -37
  21. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +118 -118
  22. package/out/IWorldErrors.sol/IWorldErrors.json +238 -238
  23. package/out/IWorldKernel.sol/IWorldCall.json +241 -241
  24. package/out/IWorldKernel.sol/IWorldKernel.json +241 -241
  25. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +241 -241
  26. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +282 -282
  27. package/out/KeysInTable.sol/KeysInTable.json +15792 -15792
  28. package/out/KeysInTableHook.sol/KeysInTableHook.json +1253 -1253
  29. package/out/KeysInTableModule.sol/KeysInTableModule.json +798 -798
  30. package/out/KeysWithValue.sol/KeysWithValue.json +5879 -5879
  31. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1335 -1335
  32. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +619 -619
  33. package/out/Module.sol/Module.json +20 -20
  34. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +467 -467
  35. package/out/StoreHook.sol/StoreHook.json +31 -31
  36. package/out/System.sol/System.json +3 -3
  37. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +166 -166
  38. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3149 -3149
  39. package/out/UniqueEntity.sol/UniqueEntity.json +1976 -1976
  40. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +486 -486
  41. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +114 -114
  42. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +3954 -3954
  43. package/out/WorldContext.sol/WorldContextConsumer.json +17 -17
  44. package/out/WorldContext.sol/WorldContextProvider.json +17 -17
  45. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +7 -7
  46. package/out/WorldResourceId.sol/WorldResourceIdLib.json +7 -7
  47. package/out/constants.sol/constants.json +116 -116
  48. package/out/getKeysInTable.sol/getKeysInTable.json +819 -819
  49. package/out/getKeysWithValue.sol/getKeysWithValue.json +374 -374
  50. package/out/getTargetTableId.sol/getTargetTableId.json +232 -232
  51. package/out/getUniqueEntity.sol/getUniqueEntity.json +143 -143
  52. package/out/hasKey.sol/hasKey.json +189 -189
  53. package/out/index.sol/index.json +73 -73
  54. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +197 -197
  55. package/out/interfaces/IERC165.sol/IERC165.json +50 -50
  56. package/out/interfaces/IWorldKernel.sol/IWorldCall.json +137 -137
  57. package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +137 -137
  58. package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +137 -137
  59. package/out/query.sol/query.json +1791 -1791
  60. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +47 -47
  61. package/out/src/FieldLayout.sol/FieldLayoutLib.json +47 -47
  62. package/out/src/IStore.sol/IStore.json +21 -21
  63. package/out/src/IStore.sol/IStoreData.json +21 -21
  64. package/out/src/IStore.sol/IStoreRead.json +21 -21
  65. package/out/src/IStore.sol/IStoreRegistration.json +21 -21
  66. package/out/src/IStore.sol/IStoreWrite.json +21 -21
  67. package/out/src/Memory.sol/Memory.json +4 -4
  68. package/out/src/Schema.sol/SchemaInstance.json +42 -42
  69. package/out/src/Schema.sol/SchemaLib.json +42 -42
  70. package/out/src/Slice.sol/SliceInstance.json +4 -4
  71. package/out/src/Slice.sol/SliceLib.json +4 -4
  72. package/out/src/StoreCore.sol/StoreCore.json +294 -294
  73. package/out/src/StoreCore.sol/StoreCoreInternal.json +294 -294
  74. package/out/src/StoreSwitch.sol/StoreSwitch.json +23 -23
  75. package/out/src/WorldContext.sol/WorldContextConsumer.json +22 -22
  76. package/out/src/WorldContext.sol/WorldContextProvider.json +22 -22
  77. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +14 -14
  78. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +14 -14
  79. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +297 -297
  80. package/package.json +8 -8
  81. package/src/interfaces/IBaseWorld.sol +1 -3
  82. package/src/interfaces/IUniqueEntitySystem.sol +2 -3
  83. package/src/modules/keysintable/KeysInTableModule.sol +1 -1
  84. package/src/modules/keyswithvalue/KeysWithValueHook.sol +1 -1
  85. package/src/modules/keyswithvalue/KeysWithValueModule.sol +1 -1
  86. package/src/modules/std-delegations/StandardDelegationsModule.sol +1 -1
  87. package/src/modules/uniqueentity/UniqueEntityModule.sol +1 -1
  88. package/src/modules/uniqueentity/getUniqueEntity.sol +2 -2
  89. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +0 -15
  90. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +0 -16
  91. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +0 -197
@@ -61,7 +61,7 @@
61
61
  "transferBalanceToAddress(bytes32,address,uint256)": "45afd199",
62
62
  "transferBalanceToNamespace(bytes32,bytes32,uint256)": "c9c85a60"
63
63
  },
64
- "rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"fromNamespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"toAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferBalanceToAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"fromNamespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"ResourceId\",\"name\":\"toNamespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferBalanceToNamespace\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/interfaces/IBalanceTransferSystem.sol\":\"IBalanceTransferSystem\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"/home/runner/work/mud/mud/packages/world/src/interfaces/IBalanceTransferSystem.sol\":{\"keccak256\":\"0x694f52c99dac14f11e9f489dd58edb69e72147ee9681bf66b4751a659e1161fd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://73f67b1fb2acc02fd8c03ce127dc2882a41d534287e73b5ca494479a3e5beacc\",\"dweb:/ipfs/Qmevj5uCw7KpU4vuvP62Tz9weFLGD9NXhy7gKc4aXq56JA\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x4a61aefe72d6035b1e9aca7841aab44ebd26f8706bdbb447f382046fa94753b6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f715743739e4f8f8a98d78397025a92299ecb3b5dde88cc53bc1ab72bf531fa6\",\"dweb:/ipfs/QmVsYAupGWZUemE4t6xjLqztGHadQ8cyo9E4mT5ZDKUmTs\"]}},\"version\":1}",
64
+ "rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"fromNamespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"toAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferBalanceToAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"fromNamespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"ResourceId\",\"name\":\"toNamespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferBalanceToNamespace\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBalanceTransferSystem.sol\":\"IBalanceTransferSystem\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBalanceTransferSystem.sol\":{\"keccak256\":\"0x694f52c99dac14f11e9f489dd58edb69e72147ee9681bf66b4751a659e1161fd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://73f67b1fb2acc02fd8c03ce127dc2882a41d534287e73b5ca494479a3e5beacc\",\"dweb:/ipfs/Qmevj5uCw7KpU4vuvP62Tz9weFLGD9NXhy7gKc4aXq56JA\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x4a61aefe72d6035b1e9aca7841aab44ebd26f8706bdbb447f382046fa94753b6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f715743739e4f8f8a98d78397025a92299ecb3b5dde88cc53bc1ab72bf531fa6\",\"dweb:/ipfs/QmVsYAupGWZUemE4t6xjLqztGHadQ8cyo9E4mT5ZDKUmTs\"]}},\"version\":1}",
65
65
  "metadata": {
66
66
  "compiler": {
67
67
  "version": "0.8.21+commit.d9974bed"
@@ -139,12 +139,12 @@
139
139
  "bytecodeHash": "none"
140
140
  },
141
141
  "compilationTarget": {
142
- "/home/runner/work/mud/mud/packages/world/src/interfaces/IBalanceTransferSystem.sol": "IBalanceTransferSystem"
142
+ "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBalanceTransferSystem.sol": "IBalanceTransferSystem"
143
143
  },
144
144
  "libraries": {}
145
145
  },
146
146
  "sources": {
147
- "/home/runner/work/mud/mud/packages/world/src/interfaces/IBalanceTransferSystem.sol": {
147
+ "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBalanceTransferSystem.sol": {
148
148
  "keccak256": "0x694f52c99dac14f11e9f489dd58edb69e72147ee9681bf66b4751a659e1161fd",
149
149
  "urls": [
150
150
  "bzz-raw://73f67b1fb2acc02fd8c03ce127dc2882a41d534287e73b5ca494479a3e5beacc",
@@ -164,23 +164,23 @@
164
164
  "version": 1
165
165
  },
166
166
  "ast": {
167
- "absolutePath": "/home/runner/work/mud/mud/packages/world/src/interfaces/IBalanceTransferSystem.sol",
168
- "id": 33257,
167
+ "absolutePath": "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBalanceTransferSystem.sol",
168
+ "id": 33211,
169
169
  "exportedSymbols": {
170
170
  "IBalanceTransferSystem": [
171
- 33256
171
+ 33210
172
172
  ],
173
173
  "ResourceId": [
174
174
  36365
175
175
  ]
176
176
  },
177
177
  "nodeType": "SourceUnit",
178
- "src": "32:409:37",
178
+ "src": "32:409:36",
179
179
  "nodes": [
180
180
  {
181
- "id": 33232,
181
+ "id": 33186,
182
182
  "nodeType": "PragmaDirective",
183
- "src": "32:25:37",
183
+ "src": "32:25:36",
184
184
  "nodes": [],
185
185
  "literals": [
186
186
  "solidity",
@@ -190,24 +190,24 @@
190
190
  ]
191
191
  },
192
192
  {
193
- "id": 33234,
193
+ "id": 33188,
194
194
  "nodeType": "ImportDirective",
195
- "src": "108:66:37",
195
+ "src": "108:66:36",
196
196
  "nodes": [],
197
197
  "absolutePath": "node_modules/@latticexyz/store/src/ResourceId.sol",
198
198
  "file": "@latticexyz/store/src/ResourceId.sol",
199
199
  "nameLocation": "-1:-1:-1",
200
- "scope": 33257,
200
+ "scope": 33211,
201
201
  "sourceUnit": 36430,
202
202
  "symbolAliases": [
203
203
  {
204
204
  "foreign": {
205
- "id": 33233,
205
+ "id": 33187,
206
206
  "name": "ResourceId",
207
207
  "nodeType": "Identifier",
208
208
  "overloadedDeclarations": [],
209
209
  "referencedDeclaration": 36365,
210
- "src": "117:10:37",
210
+ "src": "117:10:36",
211
211
  "typeDescriptions": {}
212
212
  },
213
213
  "nameLocation": "-1:-1:-1"
@@ -216,34 +216,34 @@
216
216
  "unitAlias": ""
217
217
  },
218
218
  {
219
- "id": 33256,
219
+ "id": 33210,
220
220
  "nodeType": "ContractDefinition",
221
- "src": "176:264:37",
221
+ "src": "176:264:36",
222
222
  "nodes": [
223
223
  {
224
- "id": 33245,
224
+ "id": 33199,
225
225
  "nodeType": "FunctionDefinition",
226
- "src": "213:115:37",
226
+ "src": "213:115:36",
227
227
  "nodes": [],
228
228
  "functionSelector": "c9c85a60",
229
229
  "implemented": false,
230
230
  "kind": "function",
231
231
  "modifiers": [],
232
232
  "name": "transferBalanceToNamespace",
233
- "nameLocation": "222:26:37",
233
+ "nameLocation": "222:26:36",
234
234
  "parameters": {
235
- "id": 33243,
235
+ "id": 33197,
236
236
  "nodeType": "ParameterList",
237
237
  "parameters": [
238
238
  {
239
239
  "constant": false,
240
- "id": 33237,
240
+ "id": 33191,
241
241
  "mutability": "mutable",
242
242
  "name": "fromNamespaceId",
243
- "nameLocation": "260:15:37",
243
+ "nameLocation": "260:15:36",
244
244
  "nodeType": "VariableDeclaration",
245
- "scope": 33245,
246
- "src": "249:26:37",
245
+ "scope": 33199,
246
+ "src": "249:26:36",
247
247
  "stateVariable": false,
248
248
  "storageLocation": "default",
249
249
  "typeDescriptions": {
@@ -251,20 +251,20 @@
251
251
  "typeString": "ResourceId"
252
252
  },
253
253
  "typeName": {
254
- "id": 33236,
254
+ "id": 33190,
255
255
  "nodeType": "UserDefinedTypeName",
256
256
  "pathNode": {
257
- "id": 33235,
257
+ "id": 33189,
258
258
  "name": "ResourceId",
259
259
  "nameLocations": [
260
- "249:10:37"
260
+ "249:10:36"
261
261
  ],
262
262
  "nodeType": "IdentifierPath",
263
263
  "referencedDeclaration": 36365,
264
- "src": "249:10:37"
264
+ "src": "249:10:36"
265
265
  },
266
266
  "referencedDeclaration": 36365,
267
- "src": "249:10:37",
267
+ "src": "249:10:36",
268
268
  "typeDescriptions": {
269
269
  "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
270
270
  "typeString": "ResourceId"
@@ -274,13 +274,13 @@
274
274
  },
275
275
  {
276
276
  "constant": false,
277
- "id": 33240,
277
+ "id": 33194,
278
278
  "mutability": "mutable",
279
279
  "name": "toNamespaceId",
280
- "nameLocation": "288:13:37",
280
+ "nameLocation": "288:13:36",
281
281
  "nodeType": "VariableDeclaration",
282
- "scope": 33245,
283
- "src": "277:24:37",
282
+ "scope": 33199,
283
+ "src": "277:24:36",
284
284
  "stateVariable": false,
285
285
  "storageLocation": "default",
286
286
  "typeDescriptions": {
@@ -288,20 +288,20 @@
288
288
  "typeString": "ResourceId"
289
289
  },
290
290
  "typeName": {
291
- "id": 33239,
291
+ "id": 33193,
292
292
  "nodeType": "UserDefinedTypeName",
293
293
  "pathNode": {
294
- "id": 33238,
294
+ "id": 33192,
295
295
  "name": "ResourceId",
296
296
  "nameLocations": [
297
- "277:10:37"
297
+ "277:10:36"
298
298
  ],
299
299
  "nodeType": "IdentifierPath",
300
300
  "referencedDeclaration": 36365,
301
- "src": "277:10:37"
301
+ "src": "277:10:36"
302
302
  },
303
303
  "referencedDeclaration": 36365,
304
- "src": "277:10:37",
304
+ "src": "277:10:36",
305
305
  "typeDescriptions": {
306
306
  "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
307
307
  "typeString": "ResourceId"
@@ -311,13 +311,13 @@
311
311
  },
312
312
  {
313
313
  "constant": false,
314
- "id": 33242,
314
+ "id": 33196,
315
315
  "mutability": "mutable",
316
316
  "name": "amount",
317
- "nameLocation": "311:6:37",
317
+ "nameLocation": "311:6:36",
318
318
  "nodeType": "VariableDeclaration",
319
- "scope": 33245,
320
- "src": "303:14:37",
319
+ "scope": 33199,
320
+ "src": "303:14:36",
321
321
  "stateVariable": false,
322
322
  "storageLocation": "default",
323
323
  "typeDescriptions": {
@@ -325,10 +325,10 @@
325
325
  "typeString": "uint256"
326
326
  },
327
327
  "typeName": {
328
- "id": 33241,
328
+ "id": 33195,
329
329
  "name": "uint256",
330
330
  "nodeType": "ElementaryTypeName",
331
- "src": "303:7:37",
331
+ "src": "303:7:36",
332
332
  "typeDescriptions": {
333
333
  "typeIdentifier": "t_uint256",
334
334
  "typeString": "uint256"
@@ -337,43 +337,43 @@
337
337
  "visibility": "internal"
338
338
  }
339
339
  ],
340
- "src": "248:70:37"
340
+ "src": "248:70:36"
341
341
  },
342
342
  "returnParameters": {
343
- "id": 33244,
343
+ "id": 33198,
344
344
  "nodeType": "ParameterList",
345
345
  "parameters": [],
346
- "src": "327:0:37"
346
+ "src": "327:0:36"
347
347
  },
348
- "scope": 33256,
348
+ "scope": 33210,
349
349
  "stateMutability": "nonpayable",
350
350
  "virtual": false,
351
351
  "visibility": "external"
352
352
  },
353
353
  {
354
- "id": 33255,
354
+ "id": 33209,
355
355
  "nodeType": "FunctionDefinition",
356
- "src": "332:106:37",
356
+ "src": "332:106:36",
357
357
  "nodes": [],
358
358
  "functionSelector": "45afd199",
359
359
  "implemented": false,
360
360
  "kind": "function",
361
361
  "modifiers": [],
362
362
  "name": "transferBalanceToAddress",
363
- "nameLocation": "341:24:37",
363
+ "nameLocation": "341:24:36",
364
364
  "parameters": {
365
- "id": 33253,
365
+ "id": 33207,
366
366
  "nodeType": "ParameterList",
367
367
  "parameters": [
368
368
  {
369
369
  "constant": false,
370
- "id": 33248,
370
+ "id": 33202,
371
371
  "mutability": "mutable",
372
372
  "name": "fromNamespaceId",
373
- "nameLocation": "377:15:37",
373
+ "nameLocation": "377:15:36",
374
374
  "nodeType": "VariableDeclaration",
375
- "scope": 33255,
376
- "src": "366:26:37",
375
+ "scope": 33209,
376
+ "src": "366:26:36",
377
377
  "stateVariable": false,
378
378
  "storageLocation": "default",
379
379
  "typeDescriptions": {
@@ -381,20 +381,20 @@
381
381
  "typeString": "ResourceId"
382
382
  },
383
383
  "typeName": {
384
- "id": 33247,
384
+ "id": 33201,
385
385
  "nodeType": "UserDefinedTypeName",
386
386
  "pathNode": {
387
- "id": 33246,
387
+ "id": 33200,
388
388
  "name": "ResourceId",
389
389
  "nameLocations": [
390
- "366:10:37"
390
+ "366:10:36"
391
391
  ],
392
392
  "nodeType": "IdentifierPath",
393
393
  "referencedDeclaration": 36365,
394
- "src": "366:10:37"
394
+ "src": "366:10:36"
395
395
  },
396
396
  "referencedDeclaration": 36365,
397
- "src": "366:10:37",
397
+ "src": "366:10:36",
398
398
  "typeDescriptions": {
399
399
  "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
400
400
  "typeString": "ResourceId"
@@ -404,13 +404,13 @@
404
404
  },
405
405
  {
406
406
  "constant": false,
407
- "id": 33250,
407
+ "id": 33204,
408
408
  "mutability": "mutable",
409
409
  "name": "toAddress",
410
- "nameLocation": "402:9:37",
410
+ "nameLocation": "402:9:36",
411
411
  "nodeType": "VariableDeclaration",
412
- "scope": 33255,
413
- "src": "394:17:37",
412
+ "scope": 33209,
413
+ "src": "394:17:36",
414
414
  "stateVariable": false,
415
415
  "storageLocation": "default",
416
416
  "typeDescriptions": {
@@ -418,10 +418,10 @@
418
418
  "typeString": "address"
419
419
  },
420
420
  "typeName": {
421
- "id": 33249,
421
+ "id": 33203,
422
422
  "name": "address",
423
423
  "nodeType": "ElementaryTypeName",
424
- "src": "394:7:37",
424
+ "src": "394:7:36",
425
425
  "stateMutability": "nonpayable",
426
426
  "typeDescriptions": {
427
427
  "typeIdentifier": "t_address",
@@ -432,13 +432,13 @@
432
432
  },
433
433
  {
434
434
  "constant": false,
435
- "id": 33252,
435
+ "id": 33206,
436
436
  "mutability": "mutable",
437
437
  "name": "amount",
438
- "nameLocation": "421:6:37",
438
+ "nameLocation": "421:6:36",
439
439
  "nodeType": "VariableDeclaration",
440
- "scope": 33255,
441
- "src": "413:14:37",
440
+ "scope": 33209,
441
+ "src": "413:14:36",
442
442
  "stateVariable": false,
443
443
  "storageLocation": "default",
444
444
  "typeDescriptions": {
@@ -446,10 +446,10 @@
446
446
  "typeString": "uint256"
447
447
  },
448
448
  "typeName": {
449
- "id": 33251,
449
+ "id": 33205,
450
450
  "name": "uint256",
451
451
  "nodeType": "ElementaryTypeName",
452
- "src": "413:7:37",
452
+ "src": "413:7:36",
453
453
  "typeDescriptions": {
454
454
  "typeIdentifier": "t_uint256",
455
455
  "typeString": "uint256"
@@ -458,15 +458,15 @@
458
458
  "visibility": "internal"
459
459
  }
460
460
  ],
461
- "src": "365:63:37"
461
+ "src": "365:63:36"
462
462
  },
463
463
  "returnParameters": {
464
- "id": 33254,
464
+ "id": 33208,
465
465
  "nodeType": "ParameterList",
466
466
  "parameters": [],
467
- "src": "437:0:37"
467
+ "src": "437:0:36"
468
468
  },
469
- "scope": 33256,
469
+ "scope": 33210,
470
470
  "stateMutability": "nonpayable",
471
471
  "virtual": false,
472
472
  "visibility": "external"
@@ -479,16 +479,16 @@
479
479
  "contractKind": "interface",
480
480
  "fullyImplemented": false,
481
481
  "linearizedBaseContracts": [
482
- 33256
482
+ 33210
483
483
  ],
484
484
  "name": "IBalanceTransferSystem",
485
- "nameLocation": "186:22:37",
486
- "scope": 33257,
485
+ "nameLocation": "186:22:36",
486
+ "scope": 33211,
487
487
  "usedErrors": [],
488
488
  "usedEvents": []
489
489
  }
490
490
  ],
491
491
  "license": "MIT"
492
492
  },
493
- "id": 37
493
+ "id": 36
494
494
  }
@@ -948,19 +948,6 @@
948
948
  "stateMutability": "view",
949
949
  "type": "function"
950
950
  },
951
- {
952
- "inputs": [],
953
- "name": "getUniqueEntity",
954
- "outputs": [
955
- {
956
- "internalType": "bytes32",
957
- "name": "",
958
- "type": "bytes32"
959
- }
960
- ],
961
- "stateMutability": "nonpayable",
962
- "type": "function"
963
- },
964
951
  {
965
952
  "inputs": [
966
953
  {
@@ -948,19 +948,6 @@ declare const abi: [
948
948
  stateMutability: "view";
949
949
  type: "function";
950
950
  },
951
- {
952
- inputs: [];
953
- name: "getUniqueEntity";
954
- outputs: [
955
- {
956
- internalType: "bytes32";
957
- name: "";
958
- type: "bytes32";
959
- }
960
- ];
961
- stateMutability: "nonpayable";
962
- type: "function";
963
- },
964
951
  {
965
952
  inputs: [
966
953
  {