@latticexyz/world-modules 2.0.0-main-251170e1 → 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.
Files changed (121) 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/Callbacks.sol/Callbacks.json +45 -45
  5. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +350 -350
  6. package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
  7. package/out/DelegationControl.sol/DelegationControl.json +83 -83
  8. package/out/Hooks.sol/Hooks.json +45 -45
  9. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +111 -111
  10. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +96 -96
  11. package/out/IBaseWorld.sol/IBaseWorld.abi.json +0 -13
  12. package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +0 -13
  13. package/out/IBaseWorld.sol/IBaseWorld.json +81 -161
  14. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
  16. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
  17. package/out/ICoreSystem.sol/ICoreSystem.json +15 -15
  18. package/out/IDelegationControl.sol/IDelegationControl.json +100 -100
  19. package/out/IModule.sol/IModule.json +139 -139
  20. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +58 -58
  21. package/out/ISystemHook.sol/ISystemHook.json +141 -141
  22. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +2 -2
  23. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +2 -2
  24. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +37 -37
  25. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +118 -118
  26. package/out/IWorldErrors.sol/IWorldErrors.json +257 -257
  27. package/out/IWorldKernel.sol/IWorldCall.json +251 -251
  28. package/out/IWorldKernel.sol/IWorldKernel.json +251 -251
  29. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +251 -251
  30. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +321 -321
  31. package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
  32. package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
  33. package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
  34. package/out/KeysInTableModule.sol/KeysInTableModule.json +885 -885
  35. package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
  36. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1604 -1604
  37. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +700 -700
  38. package/out/Mixed.sol/Mixed.json +66 -66
  39. package/out/Module.sol/Module.json +73 -73
  40. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  41. package/out/Schema.sol/SchemaInstance.json +30 -30
  42. package/out/Schema.sol/SchemaLib.json +30 -30
  43. package/out/SchemaType.sol/SchemaType.json +276 -276
  44. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +495 -495
  45. package/out/StoreHook.sol/StoreHook.json +358 -358
  46. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  47. package/out/System.sol/System.json +19 -19
  48. package/out/Tables.sol/Tables.json +73 -73
  49. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +183 -183
  50. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
  51. package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
  52. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +529 -529
  53. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +128 -128
  54. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4588 -4588
  55. package/out/Vector2.sol/Vector2.json +52 -52
  56. package/out/WorldContext.sol/WorldContextConsumer.json +28 -28
  57. package/out/WorldContext.sol/WorldContextProvider.json +28 -28
  58. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
  59. package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
  60. package/out/constants.sol/constants.json +142 -142
  61. package/out/getKeysInTable.sol/getKeysInTable.json +918 -918
  62. package/out/getKeysWithValue.sol/getKeysWithValue.json +431 -431
  63. package/out/getTargetTableId.sol/getTargetTableId.json +272 -272
  64. package/out/getUniqueEntity.sol/getUniqueEntity.json +149 -149
  65. package/out/hasKey.sol/hasKey.json +215 -215
  66. package/out/index.sol/index.json +73 -73
  67. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +51 -15
  68. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
  69. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +326 -253
  70. package/out/interfaces/IERC165.sol/IERC165.json +50 -50
  71. package/out/interfaces/IWorldKernel.sol/IWorldCall.json +149 -149
  72. package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +149 -149
  73. package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
  74. package/out/query.sol/query.json +1892 -1892
  75. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  76. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  77. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  78. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  79. package/out/src/IStore.sol/IStore.json +885 -885
  80. package/out/src/IStore.sol/IStoreData.json +885 -885
  81. package/out/src/IStore.sol/IStoreRead.json +885 -885
  82. package/out/src/IStore.sol/IStoreRegistration.json +885 -885
  83. package/out/src/IStore.sol/IStoreWrite.json +885 -885
  84. package/out/src/Memory.sol/Memory.json +89 -89
  85. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  86. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  87. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  88. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  89. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  90. package/out/src/Schema.sol/SchemaLib.json +787 -787
  91. package/out/src/Slice.sol/SliceInstance.json +429 -429
  92. package/out/src/Slice.sol/SliceLib.json +429 -429
  93. package/out/src/StoreCore.sol/StoreCore.json +4461 -4461
  94. package/out/src/StoreCore.sol/StoreCoreInternal.json +4461 -4461
  95. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  96. package/out/src/WorldContext.sol/WorldContextConsumer.json +353 -353
  97. package/out/src/WorldContext.sol/WorldContextProvider.json +353 -353
  98. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
  99. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
  100. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  101. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  102. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  103. package/out/tables/Tables.sol/Tables.json +7288 -7288
  104. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  105. package/out/types.sol/types.json +131 -23
  106. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  107. package/package.json +8 -8
  108. package/src/interfaces/IBaseWorld.sol +1 -3
  109. package/src/interfaces/IUniqueEntitySystem.sol +2 -3
  110. package/src/modules/keysintable/KeysInTableModule.sol +1 -1
  111. package/src/modules/keyswithvalue/KeysWithValueHook.sol +1 -1
  112. package/src/modules/keyswithvalue/KeysWithValueModule.sol +1 -1
  113. package/src/modules/std-delegations/StandardDelegationsModule.sol +1 -1
  114. package/src/modules/uniqueentity/UniqueEntityModule.sol +1 -1
  115. package/src/modules/uniqueentity/getUniqueEntity.sol +2 -2
  116. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
  117. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
  118. package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
  119. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +0 -15
  120. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +0 -16
  121. 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
- 36365
174
+ 36384
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,
201
- "sourceUnit": 36430,
200
+ "scope": 33211,
201
+ "sourceUnit": 36449,
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
- "referencedDeclaration": 36365,
210
- "src": "117:10:37",
209
+ "referencedDeclaration": 36384,
210
+ "src": "117:10:36",
211
211
  "typeDescriptions": {}
212
212
  },
213
213
  "nameLocation": "-1:-1:-1"
@@ -216,57 +216,57 @@
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": {
250
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
250
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
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
- "referencedDeclaration": 36365,
264
- "src": "249:10:37"
263
+ "referencedDeclaration": 36384,
264
+ "src": "249:10:36"
265
265
  },
266
- "referencedDeclaration": 36365,
267
- "src": "249:10:37",
266
+ "referencedDeclaration": 36384,
267
+ "src": "249:10:36",
268
268
  "typeDescriptions": {
269
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
269
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
270
270
  "typeString": "ResourceId"
271
271
  }
272
272
  },
@@ -274,36 +274,36 @@
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": {
287
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
287
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
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
- "referencedDeclaration": 36365,
301
- "src": "277:10:37"
300
+ "referencedDeclaration": 36384,
301
+ "src": "277:10:36"
302
302
  },
303
- "referencedDeclaration": 36365,
304
- "src": "277:10:37",
303
+ "referencedDeclaration": 36384,
304
+ "src": "277:10:36",
305
305
  "typeDescriptions": {
306
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
306
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
307
307
  "typeString": "ResourceId"
308
308
  }
309
309
  },
@@ -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,66 +337,66 @@
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": {
380
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
380
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
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
- "referencedDeclaration": 36365,
394
- "src": "366:10:37"
393
+ "referencedDeclaration": 36384,
394
+ "src": "366:10:36"
395
395
  },
396
- "referencedDeclaration": 36365,
397
- "src": "366:10:37",
396
+ "referencedDeclaration": 36384,
397
+ "src": "366:10:36",
398
398
  "typeDescriptions": {
399
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
399
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
400
400
  "typeString": "ResourceId"
401
401
  }
402
402
  },
@@ -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
  {