@latticexyz/world-modules 2.0.0-main-e20633d4 → 2.0.0-main-071aadb9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/ArrayLib.sol/ArrayLib.json +255 -255
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +220 -220
- package/out/CallboundDelegations.sol/CallboundDelegations.json +4463 -4463
- package/out/DecodeSlice.sol/DecodeSlice.json +3250 -3250
- package/out/DelegationControl.sol/DelegationControl.json +98 -98
- package/out/EncodeArray.sol/EncodeArray.json +3345 -3345
- package/out/FieldLayout.sol/FieldLayoutInstance.json +47 -47
- package/out/FieldLayout.sol/FieldLayoutLib.json +47 -47
- package/out/Hook.sol/HookInstance.json +13 -13
- package/out/Hook.sol/HookLib.json +13 -13
- package/out/Hooks.sol/Hooks.json +3186 -3186
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +106 -100
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +98 -92
- package/out/IBaseWorld.sol/IBaseWorld.json +79 -79
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +92 -86
- package/out/ICoreSystem.sol/ICoreSystem.json +19 -13
- package/out/IDelegationControl.sol/IDelegationControl.json +62 -62
- package/out/IModule.sol/IModule.json +78 -78
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +52 -46
- package/out/ISystemHook.sol/ISystemHook.json +86 -86
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
- package/out/IWorldErrors.sol/IWorldErrors.json +152 -152
- package/out/IWorldKernel.sol/IWorldCall.json +154 -154
- package/out/IWorldKernel.sol/IWorldKernel.json +154 -154
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +154 -154
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +329 -323
- package/out/KeysInTable.sol/KeysInTable.json +18239 -18239
- package/out/KeysInTableHook.sol/KeysInTableHook.json +882 -882
- package/out/KeysInTableModule.sol/KeysInTableModule.json +564 -564
- package/out/KeysWithValue.sol/KeysWithValue.json +6661 -6661
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1023 -1023
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +450 -450
- package/out/Memory.sol/Memory.json +4 -4
- package/out/Module.sol/Module.json +88 -88
- package/out/ResourceIds.sol/ResourceIds.json +1237 -1231
- package/out/Schema.sol/SchemaInstance.json +72 -72
- package/out/Schema.sol/SchemaLib.json +72 -72
- package/out/SchemaType.sol/SchemaType.json +276 -276
- package/out/Slice.sol/SliceInstance.json +4 -4
- package/out/Slice.sol/SliceLib.json +4 -4
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +330 -330
- package/out/Storage.sol/Storage.json +7 -7
- package/out/StoreCore.sol/StoreCore.json +101 -101
- package/out/StoreCore.sol/StoreCoreInternal.json +101 -101
- package/out/StoreHook.sol/StoreHook.json +368 -368
- package/out/StoreHooks.sol/StoreHooks.json +6042 -6042
- package/out/StoreSwitch.sol/StoreSwitch.json +13 -13
- package/out/System.sol/System.json +32 -32
- package/out/Tables.sol/Tables.json +10401 -10401
- package/out/TightCoder.sol/TightCoder.json +124 -124
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +124 -124
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3442 -3442
- package/out/UniqueEntity.sol/UniqueEntity.json +2344 -2344
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +351 -351
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +98 -98
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4568 -4562
- package/out/WorldContext.sol/WorldContextConsumer.json +376 -376
- package/out/WorldContext.sol/WorldContextProvider.json +376 -376
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
- package/out/constants.sol/LayoutOffsets.json +79 -79
- package/out/constants.sol/constants.json +115 -115
- package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
- package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
- package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
- package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
- package/out/hasKey.sol/hasKey.json +130 -130
- package/out/index.sol/index.json +53 -53
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +186 -186
- package/out/leftMask.sol/leftMask.json +31 -31
- package/out/query.sol/query.json +1154 -1154
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1338 -1338
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +698 -698
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +698 -698
- package/out/src/IStore.sol/IStore.json +52 -52
- package/out/src/IWorldKernel.sol/IWorldCall.json +154 -154
- package/out/src/IWorldKernel.sol/IWorldKernel.json +154 -154
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +154 -154
- package/out/src/Memory.sol/Memory.json +91 -91
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
- package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
- package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
- package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
- package/out/src/Schema.sol/SchemaInstance.json +790 -790
- package/out/src/Schema.sol/SchemaLib.json +790 -790
- package/out/src/Slice.sol/SliceInstance.json +430 -430
- package/out/src/Slice.sol/SliceLib.json +430 -430
- package/out/src/StoreCore.sol/StoreCore.json +4473 -4473
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4473 -4473
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2496 -2496
- package/out/src/WorldContext.sol/WorldContextConsumer.json +376 -376
- package/out/src/WorldContext.sol/WorldContextProvider.json +376 -376
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
- package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
- package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
- package/out/tables/ResourceIds.sol/ResourceIds.json +2889 -2883
- package/out/tables/Tables.sol/Tables.json +12187 -12187
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
- package/out/types.sol/types.json +41 -41
- package/out/version.sol/version.json +7 -7
- package/out/world/src/IERC165.sol/IERC165.json +28 -28
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
- package/src/interfaces/IBaseWorld.sol +4 -2
- package/src/modules/keysintable/tables/KeysInTable.sol +357 -163
- package/src/modules/keysintable/tables/UsedKeysIndex.sol +116 -36
- package/src/modules/keyswithvalue/tables/KeysWithValue.sol +163 -69
- package/src/modules/std-delegations/tables/CallboundDelegations.sol +87 -26
- package/src/modules/std-delegations/tables/TimeboundDelegations.sol +87 -26
- package/src/modules/uniqueentity/tables/UniqueEntity.sol +87 -26
@@ -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/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\":\"
|
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\":{\"details\":\"This interface is automatically generated from the corresponding system contract. Do not edit manually.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"IBalanceTransferSystem\",\"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\":\"0xf04594c29c5c5b3110453ac189a8008735753de864ab4a7dfa97ccd3ae5f4a55\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4a3061f72b969a294dc96c3b2e59277e762ce6571cedcc7e280412431453dde5\",\"dweb:/ipfs/QmWB9aboakrCH9AmzGiZ1mCceh9atF4ks5ndEYFzUVbaHT\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x40983c580b8958e55db4520095934a535e98544ffe8228327e598973eb6647ed\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://839d658fa2bb2b1f09a08149d2bf0c26a26c301ad2dda8154fc99458085a695d\",\"dweb:/ipfs/Qmd5jHHYrgqraPqF8bjzT4xyjsoPk8K7pkxXLLfz6MRT6d\"]}},\"version\":1}",
|
65
65
|
"metadata": {
|
66
66
|
"compiler": {
|
67
67
|
"version": "0.8.21+commit.d9974bed"
|
@@ -145,10 +145,10 @@
|
|
145
145
|
},
|
146
146
|
"sources": {
|
147
147
|
"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBalanceTransferSystem.sol": {
|
148
|
-
"keccak256": "
|
148
|
+
"keccak256": "0xf04594c29c5c5b3110453ac189a8008735753de864ab4a7dfa97ccd3ae5f4a55",
|
149
149
|
"urls": [
|
150
|
-
"bzz-raw://
|
151
|
-
"dweb:/ipfs/
|
150
|
+
"bzz-raw://4a3061f72b969a294dc96c3b2e59277e762ce6571cedcc7e280412431453dde5",
|
151
|
+
"dweb:/ipfs/QmWB9aboakrCH9AmzGiZ1mCceh9atF4ks5ndEYFzUVbaHT"
|
152
152
|
],
|
153
153
|
"license": "MIT"
|
154
154
|
},
|
@@ -165,20 +165,20 @@
|
|
165
165
|
},
|
166
166
|
"ast": {
|
167
167
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBalanceTransferSystem.sol",
|
168
|
-
"id":
|
168
|
+
"id": 24123,
|
169
169
|
"exportedSymbols": {
|
170
170
|
"IBalanceTransferSystem": [
|
171
|
-
|
171
|
+
24122
|
172
172
|
],
|
173
173
|
"ResourceId": [
|
174
|
-
|
174
|
+
26573
|
175
175
|
]
|
176
176
|
},
|
177
177
|
"nodeType": "SourceUnit",
|
178
|
-
"src": "32:
|
178
|
+
"src": "32:562:43",
|
179
179
|
"nodes": [
|
180
180
|
{
|
181
|
-
"id":
|
181
|
+
"id": 24097,
|
182
182
|
"nodeType": "PragmaDirective",
|
183
183
|
"src": "32:25:43",
|
184
184
|
"nodes": [],
|
@@ -190,23 +190,23 @@
|
|
190
190
|
]
|
191
191
|
},
|
192
192
|
{
|
193
|
-
"id":
|
193
|
+
"id": 24099,
|
194
194
|
"nodeType": "ImportDirective",
|
195
195
|
"src": "108:66:43",
|
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":
|
201
|
-
"sourceUnit":
|
200
|
+
"scope": 24123,
|
201
|
+
"sourceUnit": 26645,
|
202
202
|
"symbolAliases": [
|
203
203
|
{
|
204
204
|
"foreign": {
|
205
|
-
"id":
|
205
|
+
"id": 24098,
|
206
206
|
"name": "ResourceId",
|
207
207
|
"nodeType": "Identifier",
|
208
208
|
"overloadedDeclarations": [],
|
209
|
-
"referencedDeclaration":
|
209
|
+
"referencedDeclaration": 26573,
|
210
210
|
"src": "117:10:43",
|
211
211
|
"typeDescriptions": {}
|
212
212
|
},
|
@@ -216,57 +216,57 @@
|
|
216
216
|
"unitAlias": ""
|
217
217
|
},
|
218
218
|
{
|
219
|
-
"id":
|
219
|
+
"id": 24122,
|
220
220
|
"nodeType": "ContractDefinition",
|
221
|
-
"src": "
|
221
|
+
"src": "329:264:43",
|
222
222
|
"nodes": [
|
223
223
|
{
|
224
|
-
"id":
|
224
|
+
"id": 24111,
|
225
225
|
"nodeType": "FunctionDefinition",
|
226
|
-
"src": "
|
226
|
+
"src": "366:115:43",
|
227
227
|
"nodes": [],
|
228
228
|
"functionSelector": "c9c85a60",
|
229
229
|
"implemented": false,
|
230
230
|
"kind": "function",
|
231
231
|
"modifiers": [],
|
232
232
|
"name": "transferBalanceToNamespace",
|
233
|
-
"nameLocation": "
|
233
|
+
"nameLocation": "375:26:43",
|
234
234
|
"parameters": {
|
235
|
-
"id":
|
235
|
+
"id": 24109,
|
236
236
|
"nodeType": "ParameterList",
|
237
237
|
"parameters": [
|
238
238
|
{
|
239
239
|
"constant": false,
|
240
|
-
"id":
|
240
|
+
"id": 24103,
|
241
241
|
"mutability": "mutable",
|
242
242
|
"name": "fromNamespaceId",
|
243
|
-
"nameLocation": "
|
243
|
+
"nameLocation": "413:15:43",
|
244
244
|
"nodeType": "VariableDeclaration",
|
245
|
-
"scope":
|
246
|
-
"src": "
|
245
|
+
"scope": 24111,
|
246
|
+
"src": "402:26:43",
|
247
247
|
"stateVariable": false,
|
248
248
|
"storageLocation": "default",
|
249
249
|
"typeDescriptions": {
|
250
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
250
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
|
251
251
|
"typeString": "ResourceId"
|
252
252
|
},
|
253
253
|
"typeName": {
|
254
|
-
"id":
|
254
|
+
"id": 24102,
|
255
255
|
"nodeType": "UserDefinedTypeName",
|
256
256
|
"pathNode": {
|
257
|
-
"id":
|
257
|
+
"id": 24101,
|
258
258
|
"name": "ResourceId",
|
259
259
|
"nameLocations": [
|
260
|
-
"
|
260
|
+
"402:10:43"
|
261
261
|
],
|
262
262
|
"nodeType": "IdentifierPath",
|
263
|
-
"referencedDeclaration":
|
264
|
-
"src": "
|
263
|
+
"referencedDeclaration": 26573,
|
264
|
+
"src": "402:10:43"
|
265
265
|
},
|
266
|
-
"referencedDeclaration":
|
267
|
-
"src": "
|
266
|
+
"referencedDeclaration": 26573,
|
267
|
+
"src": "402:10:43",
|
268
268
|
"typeDescriptions": {
|
269
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
269
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
|
270
270
|
"typeString": "ResourceId"
|
271
271
|
}
|
272
272
|
},
|
@@ -274,36 +274,36 @@
|
|
274
274
|
},
|
275
275
|
{
|
276
276
|
"constant": false,
|
277
|
-
"id":
|
277
|
+
"id": 24106,
|
278
278
|
"mutability": "mutable",
|
279
279
|
"name": "toNamespaceId",
|
280
|
-
"nameLocation": "
|
280
|
+
"nameLocation": "441:13:43",
|
281
281
|
"nodeType": "VariableDeclaration",
|
282
|
-
"scope":
|
283
|
-
"src": "
|
282
|
+
"scope": 24111,
|
283
|
+
"src": "430:24:43",
|
284
284
|
"stateVariable": false,
|
285
285
|
"storageLocation": "default",
|
286
286
|
"typeDescriptions": {
|
287
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
287
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
|
288
288
|
"typeString": "ResourceId"
|
289
289
|
},
|
290
290
|
"typeName": {
|
291
|
-
"id":
|
291
|
+
"id": 24105,
|
292
292
|
"nodeType": "UserDefinedTypeName",
|
293
293
|
"pathNode": {
|
294
|
-
"id":
|
294
|
+
"id": 24104,
|
295
295
|
"name": "ResourceId",
|
296
296
|
"nameLocations": [
|
297
|
-
"
|
297
|
+
"430:10:43"
|
298
298
|
],
|
299
299
|
"nodeType": "IdentifierPath",
|
300
|
-
"referencedDeclaration":
|
301
|
-
"src": "
|
300
|
+
"referencedDeclaration": 26573,
|
301
|
+
"src": "430:10:43"
|
302
302
|
},
|
303
|
-
"referencedDeclaration":
|
304
|
-
"src": "
|
303
|
+
"referencedDeclaration": 26573,
|
304
|
+
"src": "430:10:43",
|
305
305
|
"typeDescriptions": {
|
306
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
306
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
|
307
307
|
"typeString": "ResourceId"
|
308
308
|
}
|
309
309
|
},
|
@@ -311,13 +311,13 @@
|
|
311
311
|
},
|
312
312
|
{
|
313
313
|
"constant": false,
|
314
|
-
"id":
|
314
|
+
"id": 24108,
|
315
315
|
"mutability": "mutable",
|
316
316
|
"name": "amount",
|
317
|
-
"nameLocation": "
|
317
|
+
"nameLocation": "464:6:43",
|
318
318
|
"nodeType": "VariableDeclaration",
|
319
|
-
"scope":
|
320
|
-
"src": "
|
319
|
+
"scope": 24111,
|
320
|
+
"src": "456:14:43",
|
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": 24107,
|
329
329
|
"name": "uint256",
|
330
330
|
"nodeType": "ElementaryTypeName",
|
331
|
-
"src": "
|
331
|
+
"src": "456:7:43",
|
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": "
|
340
|
+
"src": "401:70:43"
|
341
341
|
},
|
342
342
|
"returnParameters": {
|
343
|
-
"id":
|
343
|
+
"id": 24110,
|
344
344
|
"nodeType": "ParameterList",
|
345
345
|
"parameters": [],
|
346
|
-
"src": "
|
346
|
+
"src": "480:0:43"
|
347
347
|
},
|
348
|
-
"scope":
|
348
|
+
"scope": 24122,
|
349
349
|
"stateMutability": "nonpayable",
|
350
350
|
"virtual": false,
|
351
351
|
"visibility": "external"
|
352
352
|
},
|
353
353
|
{
|
354
|
-
"id":
|
354
|
+
"id": 24121,
|
355
355
|
"nodeType": "FunctionDefinition",
|
356
|
-
"src": "
|
356
|
+
"src": "485:106:43",
|
357
357
|
"nodes": [],
|
358
358
|
"functionSelector": "45afd199",
|
359
359
|
"implemented": false,
|
360
360
|
"kind": "function",
|
361
361
|
"modifiers": [],
|
362
362
|
"name": "transferBalanceToAddress",
|
363
|
-
"nameLocation": "
|
363
|
+
"nameLocation": "494:24:43",
|
364
364
|
"parameters": {
|
365
|
-
"id":
|
365
|
+
"id": 24119,
|
366
366
|
"nodeType": "ParameterList",
|
367
367
|
"parameters": [
|
368
368
|
{
|
369
369
|
"constant": false,
|
370
|
-
"id":
|
370
|
+
"id": 24114,
|
371
371
|
"mutability": "mutable",
|
372
372
|
"name": "fromNamespaceId",
|
373
|
-
"nameLocation": "
|
373
|
+
"nameLocation": "530:15:43",
|
374
374
|
"nodeType": "VariableDeclaration",
|
375
|
-
"scope":
|
376
|
-
"src": "
|
375
|
+
"scope": 24121,
|
376
|
+
"src": "519:26:43",
|
377
377
|
"stateVariable": false,
|
378
378
|
"storageLocation": "default",
|
379
379
|
"typeDescriptions": {
|
380
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
380
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
|
381
381
|
"typeString": "ResourceId"
|
382
382
|
},
|
383
383
|
"typeName": {
|
384
|
-
"id":
|
384
|
+
"id": 24113,
|
385
385
|
"nodeType": "UserDefinedTypeName",
|
386
386
|
"pathNode": {
|
387
|
-
"id":
|
387
|
+
"id": 24112,
|
388
388
|
"name": "ResourceId",
|
389
389
|
"nameLocations": [
|
390
|
-
"
|
390
|
+
"519:10:43"
|
391
391
|
],
|
392
392
|
"nodeType": "IdentifierPath",
|
393
|
-
"referencedDeclaration":
|
394
|
-
"src": "
|
393
|
+
"referencedDeclaration": 26573,
|
394
|
+
"src": "519:10:43"
|
395
395
|
},
|
396
|
-
"referencedDeclaration":
|
397
|
-
"src": "
|
396
|
+
"referencedDeclaration": 26573,
|
397
|
+
"src": "519:10:43",
|
398
398
|
"typeDescriptions": {
|
399
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
399
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
|
400
400
|
"typeString": "ResourceId"
|
401
401
|
}
|
402
402
|
},
|
@@ -404,13 +404,13 @@
|
|
404
404
|
},
|
405
405
|
{
|
406
406
|
"constant": false,
|
407
|
-
"id":
|
407
|
+
"id": 24116,
|
408
408
|
"mutability": "mutable",
|
409
409
|
"name": "toAddress",
|
410
|
-
"nameLocation": "
|
410
|
+
"nameLocation": "555:9:43",
|
411
411
|
"nodeType": "VariableDeclaration",
|
412
|
-
"scope":
|
413
|
-
"src": "
|
412
|
+
"scope": 24121,
|
413
|
+
"src": "547:17:43",
|
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": 24115,
|
422
422
|
"name": "address",
|
423
423
|
"nodeType": "ElementaryTypeName",
|
424
|
-
"src": "
|
424
|
+
"src": "547:7:43",
|
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": 24118,
|
436
436
|
"mutability": "mutable",
|
437
437
|
"name": "amount",
|
438
|
-
"nameLocation": "
|
438
|
+
"nameLocation": "574:6:43",
|
439
439
|
"nodeType": "VariableDeclaration",
|
440
|
-
"scope":
|
441
|
-
"src": "
|
440
|
+
"scope": 24121,
|
441
|
+
"src": "566:14:43",
|
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": 24117,
|
450
450
|
"name": "uint256",
|
451
451
|
"nodeType": "ElementaryTypeName",
|
452
|
-
"src": "
|
452
|
+
"src": "566:7:43",
|
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": "
|
461
|
+
"src": "518:63:43"
|
462
462
|
},
|
463
463
|
"returnParameters": {
|
464
|
-
"id":
|
464
|
+
"id": 24120,
|
465
465
|
"nodeType": "ParameterList",
|
466
466
|
"parameters": [],
|
467
|
-
"src": "
|
467
|
+
"src": "590:0:43"
|
468
468
|
},
|
469
|
-
"scope":
|
469
|
+
"scope": 24122,
|
470
470
|
"stateMutability": "nonpayable",
|
471
471
|
"virtual": false,
|
472
472
|
"visibility": "external"
|
@@ -477,13 +477,19 @@
|
|
477
477
|
"canonicalName": "IBalanceTransferSystem",
|
478
478
|
"contractDependencies": [],
|
479
479
|
"contractKind": "interface",
|
480
|
+
"documentation": {
|
481
|
+
"id": 24100,
|
482
|
+
"nodeType": "StructuredDocumentation",
|
483
|
+
"src": "176:152:43",
|
484
|
+
"text": " @title IBalanceTransferSystem\n @dev This interface is automatically generated from the corresponding system contract. Do not edit manually."
|
485
|
+
},
|
480
486
|
"fullyImplemented": false,
|
481
487
|
"linearizedBaseContracts": [
|
482
|
-
|
488
|
+
24122
|
483
489
|
],
|
484
490
|
"name": "IBalanceTransferSystem",
|
485
|
-
"nameLocation": "
|
486
|
-
"scope":
|
491
|
+
"nameLocation": "339:22:43",
|
492
|
+
"scope": 24123,
|
487
493
|
"usedErrors": [],
|
488
494
|
"usedEvents": []
|
489
495
|
}
|