@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.
- package/dist/mud.config.js +1 -1
- package/dist/mud.config.js.map +1 -1
- package/out/ArrayLib.sol/ArrayLib.json +477 -477
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +314 -314
- package/out/CallboundDelegations.sol/CallboundDelegations.json +4012 -4012
- package/out/DelegationControl.sol/DelegationControl.json +22 -22
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +97 -97
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +81 -81
- package/out/IBaseWorld.sol/IBaseWorld.abi.json +0 -13
- package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +0 -13
- package/out/IBaseWorld.sol/IBaseWorld.json +63 -143
- package/out/ICallBatchSystem.sol/ICallBatchSystem.json +51 -51
- package/out/ICoreSystem.sol/ICoreSystem.json +15 -15
- package/out/IDelegationControl.sol/IDelegationControl.json +93 -93
- package/out/IModule.sol/IModule.json +139 -139
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +58 -58
- package/out/ISystemHook.sol/ISystemHook.json +129 -129
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +2 -2
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +2 -2
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +37 -37
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +118 -118
- package/out/IWorldErrors.sol/IWorldErrors.json +238 -238
- package/out/IWorldKernel.sol/IWorldCall.json +241 -241
- package/out/IWorldKernel.sol/IWorldKernel.json +241 -241
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +241 -241
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +282 -282
- package/out/KeysInTable.sol/KeysInTable.json +15792 -15792
- package/out/KeysInTableHook.sol/KeysInTableHook.json +1253 -1253
- package/out/KeysInTableModule.sol/KeysInTableModule.json +798 -798
- package/out/KeysWithValue.sol/KeysWithValue.json +5879 -5879
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1335 -1335
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +619 -619
- package/out/Module.sol/Module.json +20 -20
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +467 -467
- package/out/StoreHook.sol/StoreHook.json +31 -31
- package/out/System.sol/System.json +3 -3
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +166 -166
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3149 -3149
- package/out/UniqueEntity.sol/UniqueEntity.json +1976 -1976
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +486 -486
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +114 -114
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +3954 -3954
- package/out/WorldContext.sol/WorldContextConsumer.json +17 -17
- package/out/WorldContext.sol/WorldContextProvider.json +17 -17
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +7 -7
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +7 -7
- package/out/constants.sol/constants.json +116 -116
- package/out/getKeysInTable.sol/getKeysInTable.json +819 -819
- package/out/getKeysWithValue.sol/getKeysWithValue.json +374 -374
- package/out/getTargetTableId.sol/getTargetTableId.json +232 -232
- package/out/getUniqueEntity.sol/getUniqueEntity.json +143 -143
- package/out/hasKey.sol/hasKey.json +189 -189
- package/out/index.sol/index.json +73 -73
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +197 -197
- package/out/interfaces/IERC165.sol/IERC165.json +50 -50
- package/out/interfaces/IWorldKernel.sol/IWorldCall.json +137 -137
- package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +137 -137
- package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +137 -137
- package/out/query.sol/query.json +1791 -1791
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +47 -47
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +47 -47
- package/out/src/IStore.sol/IStore.json +21 -21
- package/out/src/IStore.sol/IStoreData.json +21 -21
- package/out/src/IStore.sol/IStoreRead.json +21 -21
- package/out/src/IStore.sol/IStoreRegistration.json +21 -21
- package/out/src/IStore.sol/IStoreWrite.json +21 -21
- package/out/src/Memory.sol/Memory.json +4 -4
- package/out/src/Schema.sol/SchemaInstance.json +42 -42
- package/out/src/Schema.sol/SchemaLib.json +42 -42
- package/out/src/Slice.sol/SliceInstance.json +4 -4
- package/out/src/Slice.sol/SliceLib.json +4 -4
- package/out/src/StoreCore.sol/StoreCore.json +294 -294
- package/out/src/StoreCore.sol/StoreCoreInternal.json +294 -294
- package/out/src/StoreSwitch.sol/StoreSwitch.json +23 -23
- package/out/src/WorldContext.sol/WorldContextConsumer.json +22 -22
- package/out/src/WorldContext.sol/WorldContextProvider.json +22 -22
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +14 -14
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +14 -14
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +297 -297
- package/package.json +8 -8
- package/src/interfaces/IBaseWorld.sol +1 -3
- package/src/interfaces/IUniqueEntitySystem.sol +2 -3
- package/src/modules/keysintable/KeysInTableModule.sol +1 -1
- package/src/modules/keyswithvalue/KeysWithValueHook.sol +1 -1
- package/src/modules/keyswithvalue/KeysWithValueModule.sol +1 -1
- package/src/modules/std-delegations/StandardDelegationsModule.sol +1 -1
- package/src/modules/uniqueentity/UniqueEntityModule.sol +1 -1
- package/src/modules/uniqueentity/getUniqueEntity.sol +2 -2
- package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +0 -15
- package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +0 -16
- 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":
|
167
|
+
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBalanceTransferSystem.sol",
|
168
|
+
"id": 33211,
|
169
169
|
"exportedSymbols": {
|
170
170
|
"IBalanceTransferSystem": [
|
171
|
-
|
171
|
+
33210
|
172
172
|
],
|
173
173
|
"ResourceId": [
|
174
174
|
36365
|
175
175
|
]
|
176
176
|
},
|
177
177
|
"nodeType": "SourceUnit",
|
178
|
-
"src": "32:409:
|
178
|
+
"src": "32:409:36",
|
179
179
|
"nodes": [
|
180
180
|
{
|
181
|
-
"id":
|
181
|
+
"id": 33186,
|
182
182
|
"nodeType": "PragmaDirective",
|
183
|
-
"src": "32:25:
|
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":
|
193
|
+
"id": 33188,
|
194
194
|
"nodeType": "ImportDirective",
|
195
|
-
"src": "108:66:
|
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":
|
200
|
+
"scope": 33211,
|
201
201
|
"sourceUnit": 36430,
|
202
202
|
"symbolAliases": [
|
203
203
|
{
|
204
204
|
"foreign": {
|
205
|
-
"id":
|
205
|
+
"id": 33187,
|
206
206
|
"name": "ResourceId",
|
207
207
|
"nodeType": "Identifier",
|
208
208
|
"overloadedDeclarations": [],
|
209
209
|
"referencedDeclaration": 36365,
|
210
|
-
"src": "117:10:
|
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":
|
219
|
+
"id": 33210,
|
220
220
|
"nodeType": "ContractDefinition",
|
221
|
-
"src": "176:264:
|
221
|
+
"src": "176:264:36",
|
222
222
|
"nodes": [
|
223
223
|
{
|
224
|
-
"id":
|
224
|
+
"id": 33199,
|
225
225
|
"nodeType": "FunctionDefinition",
|
226
|
-
"src": "213:115:
|
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:
|
233
|
+
"nameLocation": "222:26:36",
|
234
234
|
"parameters": {
|
235
|
-
"id":
|
235
|
+
"id": 33197,
|
236
236
|
"nodeType": "ParameterList",
|
237
237
|
"parameters": [
|
238
238
|
{
|
239
239
|
"constant": false,
|
240
|
-
"id":
|
240
|
+
"id": 33191,
|
241
241
|
"mutability": "mutable",
|
242
242
|
"name": "fromNamespaceId",
|
243
|
-
"nameLocation": "260:15:
|
243
|
+
"nameLocation": "260:15:36",
|
244
244
|
"nodeType": "VariableDeclaration",
|
245
|
-
"scope":
|
246
|
-
"src": "249:26:
|
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":
|
254
|
+
"id": 33190,
|
255
255
|
"nodeType": "UserDefinedTypeName",
|
256
256
|
"pathNode": {
|
257
|
-
"id":
|
257
|
+
"id": 33189,
|
258
258
|
"name": "ResourceId",
|
259
259
|
"nameLocations": [
|
260
|
-
"249:10:
|
260
|
+
"249:10:36"
|
261
261
|
],
|
262
262
|
"nodeType": "IdentifierPath",
|
263
263
|
"referencedDeclaration": 36365,
|
264
|
-
"src": "249:10:
|
264
|
+
"src": "249:10:36"
|
265
265
|
},
|
266
266
|
"referencedDeclaration": 36365,
|
267
|
-
"src": "249:10:
|
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":
|
277
|
+
"id": 33194,
|
278
278
|
"mutability": "mutable",
|
279
279
|
"name": "toNamespaceId",
|
280
|
-
"nameLocation": "288:13:
|
280
|
+
"nameLocation": "288:13:36",
|
281
281
|
"nodeType": "VariableDeclaration",
|
282
|
-
"scope":
|
283
|
-
"src": "277:24:
|
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":
|
291
|
+
"id": 33193,
|
292
292
|
"nodeType": "UserDefinedTypeName",
|
293
293
|
"pathNode": {
|
294
|
-
"id":
|
294
|
+
"id": 33192,
|
295
295
|
"name": "ResourceId",
|
296
296
|
"nameLocations": [
|
297
|
-
"277:10:
|
297
|
+
"277:10:36"
|
298
298
|
],
|
299
299
|
"nodeType": "IdentifierPath",
|
300
300
|
"referencedDeclaration": 36365,
|
301
|
-
"src": "277:10:
|
301
|
+
"src": "277:10:36"
|
302
302
|
},
|
303
303
|
"referencedDeclaration": 36365,
|
304
|
-
"src": "277:10:
|
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":
|
314
|
+
"id": 33196,
|
315
315
|
"mutability": "mutable",
|
316
316
|
"name": "amount",
|
317
|
-
"nameLocation": "311:6:
|
317
|
+
"nameLocation": "311:6:36",
|
318
318
|
"nodeType": "VariableDeclaration",
|
319
|
-
"scope":
|
320
|
-
"src": "303:14:
|
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":
|
328
|
+
"id": 33195,
|
329
329
|
"name": "uint256",
|
330
330
|
"nodeType": "ElementaryTypeName",
|
331
|
-
"src": "303:7:
|
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:
|
340
|
+
"src": "248:70:36"
|
341
341
|
},
|
342
342
|
"returnParameters": {
|
343
|
-
"id":
|
343
|
+
"id": 33198,
|
344
344
|
"nodeType": "ParameterList",
|
345
345
|
"parameters": [],
|
346
|
-
"src": "327:0:
|
346
|
+
"src": "327:0:36"
|
347
347
|
},
|
348
|
-
"scope":
|
348
|
+
"scope": 33210,
|
349
349
|
"stateMutability": "nonpayable",
|
350
350
|
"virtual": false,
|
351
351
|
"visibility": "external"
|
352
352
|
},
|
353
353
|
{
|
354
|
-
"id":
|
354
|
+
"id": 33209,
|
355
355
|
"nodeType": "FunctionDefinition",
|
356
|
-
"src": "332:106:
|
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:
|
363
|
+
"nameLocation": "341:24:36",
|
364
364
|
"parameters": {
|
365
|
-
"id":
|
365
|
+
"id": 33207,
|
366
366
|
"nodeType": "ParameterList",
|
367
367
|
"parameters": [
|
368
368
|
{
|
369
369
|
"constant": false,
|
370
|
-
"id":
|
370
|
+
"id": 33202,
|
371
371
|
"mutability": "mutable",
|
372
372
|
"name": "fromNamespaceId",
|
373
|
-
"nameLocation": "377:15:
|
373
|
+
"nameLocation": "377:15:36",
|
374
374
|
"nodeType": "VariableDeclaration",
|
375
|
-
"scope":
|
376
|
-
"src": "366:26:
|
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":
|
384
|
+
"id": 33201,
|
385
385
|
"nodeType": "UserDefinedTypeName",
|
386
386
|
"pathNode": {
|
387
|
-
"id":
|
387
|
+
"id": 33200,
|
388
388
|
"name": "ResourceId",
|
389
389
|
"nameLocations": [
|
390
|
-
"366:10:
|
390
|
+
"366:10:36"
|
391
391
|
],
|
392
392
|
"nodeType": "IdentifierPath",
|
393
393
|
"referencedDeclaration": 36365,
|
394
|
-
"src": "366:10:
|
394
|
+
"src": "366:10:36"
|
395
395
|
},
|
396
396
|
"referencedDeclaration": 36365,
|
397
|
-
"src": "366:10:
|
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":
|
407
|
+
"id": 33204,
|
408
408
|
"mutability": "mutable",
|
409
409
|
"name": "toAddress",
|
410
|
-
"nameLocation": "402:9:
|
410
|
+
"nameLocation": "402:9:36",
|
411
411
|
"nodeType": "VariableDeclaration",
|
412
|
-
"scope":
|
413
|
-
"src": "394:17:
|
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":
|
421
|
+
"id": 33203,
|
422
422
|
"name": "address",
|
423
423
|
"nodeType": "ElementaryTypeName",
|
424
|
-
"src": "394:7:
|
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":
|
435
|
+
"id": 33206,
|
436
436
|
"mutability": "mutable",
|
437
437
|
"name": "amount",
|
438
|
-
"nameLocation": "421:6:
|
438
|
+
"nameLocation": "421:6:36",
|
439
439
|
"nodeType": "VariableDeclaration",
|
440
|
-
"scope":
|
441
|
-
"src": "413:14:
|
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":
|
449
|
+
"id": 33205,
|
450
450
|
"name": "uint256",
|
451
451
|
"nodeType": "ElementaryTypeName",
|
452
|
-
"src": "413:7:
|
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:
|
461
|
+
"src": "365:63:36"
|
462
462
|
},
|
463
463
|
"returnParameters": {
|
464
|
-
"id":
|
464
|
+
"id": 33208,
|
465
465
|
"nodeType": "ParameterList",
|
466
466
|
"parameters": [],
|
467
|
-
"src": "437:0:
|
467
|
+
"src": "437:0:36"
|
468
468
|
},
|
469
|
-
"scope":
|
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
|
-
|
482
|
+
33210
|
483
483
|
],
|
484
484
|
"name": "IBalanceTransferSystem",
|
485
|
-
"nameLocation": "186:22:
|
486
|
-
"scope":
|
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":
|
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
|
{
|