@latticexyz/world 1.40.0 → 1.41.0
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/LICENSE +21 -0
- package/abi/AddressArraySchemaLib.json +718 -869
- package/abi/BoolSchemaLib.json +401 -401
- package/abi/Bytes.json +1162 -1162
- package/abi/CommonBase.json +125 -125
- package/abi/DSTest.json +2630 -2630
- package/abi/DecodeSlice.json +3883 -3883
- package/abi/EncodeArray.json +3336 -3336
- package/abi/Hooks.json +1491 -785
- package/abi/IMulticall3.json +283 -283
- package/abi/IStore.json +623 -421
- package/abi/IStoreHook.json +567 -421
- package/abi/ISystemHook.json +19 -19
- package/abi/Memory.json +131 -131
- package/abi/PackedCounterLib.json +683 -683
- package/abi/RouteAccess.json +2209 -1159
- package/abi/RouteOwnerSchemaLib.json +349 -349
- package/abi/RouteOwnerTable.json +297 -297
- package/abi/RouteSchemaLib.json +433 -433
- package/abi/RouteTable.json +336 -336
- package/abi/SchemaLib.json +1211 -1211
- package/abi/ScriptBase.json +125 -125
- package/abi/SliceInstance.json +429 -429
- package/abi/SliceLib.json +429 -429
- package/abi/StdAssertions.json +2135 -2135
- package/abi/StdChains.json +1051 -1051
- package/abi/StdCheats.json +3257 -3257
- package/abi/StdCheatsSafe.json +3257 -3257
- package/abi/StdInvariant.json +337 -337
- package/abi/StdUtils.json +1122 -1122
- package/abi/Storage.json +491 -491
- package/abi/Store.json +374 -209
- package/abi/StoreCore.json +10665 -7865
- package/abi/StoreCoreExtended.json +10443 -7722
- package/abi/StoreCoreInternal.json +10482 -7638
- package/abi/StoreMetadata.json +3719 -2417
- package/abi/StoreSwitch.json +1692 -783
- package/abi/System.json +16 -16
- package/abi/SystemRouteSchemaLib.json +402 -402
- package/abi/SystemRouteTable.json +336 -336
- package/abi/SystemTable.json +8544 -651
- package/abi/SystemTest.json +287 -303
- package/abi/Test.json +124 -124
- package/abi/TestBase.json +125 -125
- package/abi/TestSystem.json +287 -303
- package/abi/TightCoder.json +272 -272
- package/abi/Utils.json +67 -67
- package/abi/Vm.json +1850 -1850
- package/abi/VmSafe.json +1850 -1850
- package/abi/World.json +5183 -3374
- package/abi/WorldTest.json +9983 -10520
- package/abi/WorldTestSystem.json +9992 -10503
- package/abi/WorldTestTableHook.json +9978 -10511
- package/abi/console.json +11417 -11417
- package/abi/console2.json +11459 -11459
- package/abi/stdError.json +79 -79
- package/abi/stdJson.json +1016 -1016
- package/abi/stdMath.json +218 -218
- package/abi/stdStorage.json +2400 -2400
- package/abi/stdStorageSafe.json +2400 -2400
- package/package.json +8 -8
- package/src/World.sol +78 -32
- package/src/schemas/AddressArray.sol +5 -19
- package/src/tables/RouteAccess.sol +35 -30
- package/src/tables/SystemTable.sol +142 -23
- package/types/ethers-contracts/IStore.ts +49 -0
- package/types/ethers-contracts/Store.ts +49 -0
- package/types/ethers-contracts/World.ts +94 -0
- package/types/ethers-contracts/WorldTest.ts +27 -0
- package/types/ethers-contracts/factories/IStore__factory.ts +28 -0
- package/types/ethers-contracts/factories/StoreCore__factory.ts +2 -23
- package/types/ethers-contracts/factories/StoreSwitch__factory.ts +1 -1
- package/types/ethers-contracts/factories/Store__factory.ts +81 -0
- package/types/ethers-contracts/factories/SystemTest__factory.ts +1 -1
- package/types/ethers-contracts/factories/TestSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTestSystem__factory.ts +12 -1
- package/types/ethers-contracts/factories/WorldTestTableHook__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTest__factory.ts +11 -34
- package/types/ethers-contracts/factories/World__factory.ts +70 -30
- package/types/ethers-contracts/index.ts +0 -2
- package/abi/SystemSchemaLib.json +0 -3704
- package/src/schemas/SystemSchema.sol +0 -78
- package/types/ethers-contracts/StoreCoreExtended.ts +0 -141
- package/types/ethers-contracts/factories/StoreCoreExtended__factory.ts +0 -123
package/abi/stdMath.json
CHANGED
|
@@ -72,17 +72,17 @@
|
|
|
72
72
|
},
|
|
73
73
|
"ast": {
|
|
74
74
|
"absolutePath": "../../node_modules/forge-std/src/StdMath.sol",
|
|
75
|
-
"id":
|
|
75
|
+
"id": 68377,
|
|
76
76
|
"exportedSymbols": {
|
|
77
77
|
"stdMath": [
|
|
78
|
-
|
|
78
|
+
68376
|
|
79
79
|
]
|
|
80
80
|
},
|
|
81
81
|
"nodeType": "SourceUnit",
|
|
82
82
|
"src": "32:1328:25",
|
|
83
83
|
"nodes": [
|
|
84
84
|
{
|
|
85
|
-
"id":
|
|
85
|
+
"id": 68236,
|
|
86
86
|
"nodeType": "PragmaDirective",
|
|
87
87
|
"src": "32:31:25",
|
|
88
88
|
"nodes": [],
|
|
@@ -97,12 +97,12 @@
|
|
|
97
97
|
]
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
|
-
"id":
|
|
100
|
+
"id": 68376,
|
|
101
101
|
"nodeType": "ContractDefinition",
|
|
102
102
|
"src": "65:1294:25",
|
|
103
103
|
"nodes": [
|
|
104
104
|
{
|
|
105
|
-
"id":
|
|
105
|
+
"id": 68240,
|
|
106
106
|
"nodeType": "VariableDeclaration",
|
|
107
107
|
"src": "87:115:25",
|
|
108
108
|
"nodes": [],
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"mutability": "constant",
|
|
111
111
|
"name": "INT256_MIN",
|
|
112
112
|
"nameLocation": "111:10:25",
|
|
113
|
-
"scope":
|
|
113
|
+
"scope": 68376,
|
|
114
114
|
"stateVariable": true,
|
|
115
115
|
"storageLocation": "default",
|
|
116
116
|
"typeDescriptions": {
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"typeString": "int256"
|
|
119
119
|
},
|
|
120
120
|
"typeName": {
|
|
121
|
-
"id":
|
|
121
|
+
"id": 68237,
|
|
122
122
|
"name": "int256",
|
|
123
123
|
"nodeType": "ElementaryTypeName",
|
|
124
124
|
"src": "87:6:25",
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
"value": {
|
|
131
|
-
"id":
|
|
131
|
+
"id": 68239,
|
|
132
132
|
"isConstant": false,
|
|
133
133
|
"isLValue": false,
|
|
134
134
|
"isPure": true,
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"src": "124:78:25",
|
|
140
140
|
"subExpression": {
|
|
141
141
|
"hexValue": "3537383936303434363138363538303937373131373835343932353034333433393533393236363334393932333332383230323832303139373238373932303033393536353634383139393638",
|
|
142
|
-
"id":
|
|
142
|
+
"id": 68238,
|
|
143
143
|
"isConstant": false,
|
|
144
144
|
"isLValue": false,
|
|
145
145
|
"isPure": true,
|
|
@@ -161,12 +161,12 @@
|
|
|
161
161
|
"visibility": "private"
|
|
162
162
|
},
|
|
163
163
|
{
|
|
164
|
-
"id":
|
|
164
|
+
"id": 68266,
|
|
165
165
|
"nodeType": "FunctionDefinition",
|
|
166
166
|
"src": "209:306:25",
|
|
167
167
|
"nodes": [],
|
|
168
168
|
"body": {
|
|
169
|
-
"id":
|
|
169
|
+
"id": 68265,
|
|
170
170
|
"nodeType": "Block",
|
|
171
171
|
"src": "264:251:25",
|
|
172
172
|
"nodes": [],
|
|
@@ -177,17 +177,17 @@
|
|
|
177
177
|
"typeIdentifier": "t_int256",
|
|
178
178
|
"typeString": "int256"
|
|
179
179
|
},
|
|
180
|
-
"id":
|
|
180
|
+
"id": 68249,
|
|
181
181
|
"isConstant": false,
|
|
182
182
|
"isLValue": false,
|
|
183
183
|
"isPure": false,
|
|
184
184
|
"lValueRequested": false,
|
|
185
185
|
"leftExpression": {
|
|
186
|
-
"id":
|
|
186
|
+
"id": 68247,
|
|
187
187
|
"name": "a",
|
|
188
188
|
"nodeType": "Identifier",
|
|
189
189
|
"overloadedDeclarations": [],
|
|
190
|
-
"referencedDeclaration":
|
|
190
|
+
"referencedDeclaration": 68242,
|
|
191
191
|
"src": "342:1:25",
|
|
192
192
|
"typeDescriptions": {
|
|
193
193
|
"typeIdentifier": "t_int256",
|
|
@@ -197,11 +197,11 @@
|
|
|
197
197
|
"nodeType": "BinaryOperation",
|
|
198
198
|
"operator": "==",
|
|
199
199
|
"rightExpression": {
|
|
200
|
-
"id":
|
|
200
|
+
"id": 68248,
|
|
201
201
|
"name": "INT256_MIN",
|
|
202
202
|
"nodeType": "Identifier",
|
|
203
203
|
"overloadedDeclarations": [],
|
|
204
|
-
"referencedDeclaration":
|
|
204
|
+
"referencedDeclaration": 68240,
|
|
205
205
|
"src": "347:10:25",
|
|
206
206
|
"typeDescriptions": {
|
|
207
207
|
"typeIdentifier": "t_int256",
|
|
@@ -214,18 +214,18 @@
|
|
|
214
214
|
"typeString": "bool"
|
|
215
215
|
}
|
|
216
216
|
},
|
|
217
|
-
"id":
|
|
217
|
+
"id": 68253,
|
|
218
218
|
"nodeType": "IfStatement",
|
|
219
219
|
"src": "338:130:25",
|
|
220
220
|
"trueBody": {
|
|
221
|
-
"id":
|
|
221
|
+
"id": 68252,
|
|
222
222
|
"nodeType": "Block",
|
|
223
223
|
"src": "359:109:25",
|
|
224
224
|
"statements": [
|
|
225
225
|
{
|
|
226
226
|
"expression": {
|
|
227
227
|
"hexValue": "3537383936303434363138363538303937373131373835343932353034333433393533393236363334393932333332383230323832303139373238373932303033393536353634383139393638",
|
|
228
|
-
"id":
|
|
228
|
+
"id": 68250,
|
|
229
229
|
"isConstant": false,
|
|
230
230
|
"isLValue": false,
|
|
231
231
|
"isPure": true,
|
|
@@ -239,8 +239,8 @@
|
|
|
239
239
|
},
|
|
240
240
|
"value": "57896044618658097711785492504343953926634992332820282019728792003956564819968"
|
|
241
241
|
},
|
|
242
|
-
"functionReturnParameters":
|
|
243
|
-
"id":
|
|
242
|
+
"functionReturnParameters": 68246,
|
|
243
|
+
"id": 68251,
|
|
244
244
|
"nodeType": "Return",
|
|
245
245
|
"src": "373:84:25"
|
|
246
246
|
}
|
|
@@ -256,17 +256,17 @@
|
|
|
256
256
|
"typeIdentifier": "t_int256",
|
|
257
257
|
"typeString": "int256"
|
|
258
258
|
},
|
|
259
|
-
"id":
|
|
259
|
+
"id": 68258,
|
|
260
260
|
"isConstant": false,
|
|
261
261
|
"isLValue": false,
|
|
262
262
|
"isPure": false,
|
|
263
263
|
"lValueRequested": false,
|
|
264
264
|
"leftExpression": {
|
|
265
|
-
"id":
|
|
265
|
+
"id": 68256,
|
|
266
266
|
"name": "a",
|
|
267
267
|
"nodeType": "Identifier",
|
|
268
268
|
"overloadedDeclarations": [],
|
|
269
|
-
"referencedDeclaration":
|
|
269
|
+
"referencedDeclaration": 68242,
|
|
270
270
|
"src": "493:1:25",
|
|
271
271
|
"typeDescriptions": {
|
|
272
272
|
"typeIdentifier": "t_int256",
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
"operator": ">",
|
|
278
278
|
"rightExpression": {
|
|
279
279
|
"hexValue": "30",
|
|
280
|
-
"id":
|
|
280
|
+
"id": 68257,
|
|
281
281
|
"isConstant": false,
|
|
282
282
|
"isLValue": false,
|
|
283
283
|
"isPure": true,
|
|
@@ -298,7 +298,7 @@
|
|
|
298
298
|
}
|
|
299
299
|
},
|
|
300
300
|
"falseExpression": {
|
|
301
|
-
"id":
|
|
301
|
+
"id": 68261,
|
|
302
302
|
"isConstant": false,
|
|
303
303
|
"isLValue": false,
|
|
304
304
|
"isPure": false,
|
|
@@ -308,11 +308,11 @@
|
|
|
308
308
|
"prefix": true,
|
|
309
309
|
"src": "505:2:25",
|
|
310
310
|
"subExpression": {
|
|
311
|
-
"id":
|
|
311
|
+
"id": 68260,
|
|
312
312
|
"name": "a",
|
|
313
313
|
"nodeType": "Identifier",
|
|
314
314
|
"overloadedDeclarations": [],
|
|
315
|
-
"referencedDeclaration":
|
|
315
|
+
"referencedDeclaration": 68242,
|
|
316
316
|
"src": "506:1:25",
|
|
317
317
|
"typeDescriptions": {
|
|
318
318
|
"typeIdentifier": "t_int256",
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
"typeString": "int256"
|
|
325
325
|
}
|
|
326
326
|
},
|
|
327
|
-
"id":
|
|
327
|
+
"id": 68262,
|
|
328
328
|
"isConstant": false,
|
|
329
329
|
"isLValue": false,
|
|
330
330
|
"isPure": false,
|
|
@@ -332,11 +332,11 @@
|
|
|
332
332
|
"nodeType": "Conditional",
|
|
333
333
|
"src": "493:14:25",
|
|
334
334
|
"trueExpression": {
|
|
335
|
-
"id":
|
|
335
|
+
"id": 68259,
|
|
336
336
|
"name": "a",
|
|
337
337
|
"nodeType": "Identifier",
|
|
338
338
|
"overloadedDeclarations": [],
|
|
339
|
-
"referencedDeclaration":
|
|
339
|
+
"referencedDeclaration": 68242,
|
|
340
340
|
"src": "501:1:25",
|
|
341
341
|
"typeDescriptions": {
|
|
342
342
|
"typeIdentifier": "t_int256",
|
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
"typeString": "int256"
|
|
357
357
|
}
|
|
358
358
|
],
|
|
359
|
-
"id":
|
|
359
|
+
"id": 68255,
|
|
360
360
|
"isConstant": false,
|
|
361
361
|
"isLValue": false,
|
|
362
362
|
"isPure": true,
|
|
@@ -368,14 +368,14 @@
|
|
|
368
368
|
"typeString": "type(uint256)"
|
|
369
369
|
},
|
|
370
370
|
"typeName": {
|
|
371
|
-
"id":
|
|
371
|
+
"id": 68254,
|
|
372
372
|
"name": "uint256",
|
|
373
373
|
"nodeType": "ElementaryTypeName",
|
|
374
374
|
"src": "485:7:25",
|
|
375
375
|
"typeDescriptions": {}
|
|
376
376
|
}
|
|
377
377
|
},
|
|
378
|
-
"id":
|
|
378
|
+
"id": 68263,
|
|
379
379
|
"isConstant": false,
|
|
380
380
|
"isLValue": false,
|
|
381
381
|
"isPure": false,
|
|
@@ -390,8 +390,8 @@
|
|
|
390
390
|
"typeString": "uint256"
|
|
391
391
|
}
|
|
392
392
|
},
|
|
393
|
-
"functionReturnParameters":
|
|
394
|
-
"id":
|
|
393
|
+
"functionReturnParameters": 68246,
|
|
394
|
+
"id": 68264,
|
|
395
395
|
"nodeType": "Return",
|
|
396
396
|
"src": "478:30:25"
|
|
397
397
|
}
|
|
@@ -403,17 +403,17 @@
|
|
|
403
403
|
"name": "abs",
|
|
404
404
|
"nameLocation": "218:3:25",
|
|
405
405
|
"parameters": {
|
|
406
|
-
"id":
|
|
406
|
+
"id": 68243,
|
|
407
407
|
"nodeType": "ParameterList",
|
|
408
408
|
"parameters": [
|
|
409
409
|
{
|
|
410
410
|
"constant": false,
|
|
411
|
-
"id":
|
|
411
|
+
"id": 68242,
|
|
412
412
|
"mutability": "mutable",
|
|
413
413
|
"name": "a",
|
|
414
414
|
"nameLocation": "229:1:25",
|
|
415
415
|
"nodeType": "VariableDeclaration",
|
|
416
|
-
"scope":
|
|
416
|
+
"scope": 68266,
|
|
417
417
|
"src": "222:8:25",
|
|
418
418
|
"stateVariable": false,
|
|
419
419
|
"storageLocation": "default",
|
|
@@ -422,7 +422,7 @@
|
|
|
422
422
|
"typeString": "int256"
|
|
423
423
|
},
|
|
424
424
|
"typeName": {
|
|
425
|
-
"id":
|
|
425
|
+
"id": 68241,
|
|
426
426
|
"name": "int256",
|
|
427
427
|
"nodeType": "ElementaryTypeName",
|
|
428
428
|
"src": "222:6:25",
|
|
@@ -437,17 +437,17 @@
|
|
|
437
437
|
"src": "221:10:25"
|
|
438
438
|
},
|
|
439
439
|
"returnParameters": {
|
|
440
|
-
"id":
|
|
440
|
+
"id": 68246,
|
|
441
441
|
"nodeType": "ParameterList",
|
|
442
442
|
"parameters": [
|
|
443
443
|
{
|
|
444
444
|
"constant": false,
|
|
445
|
-
"id":
|
|
445
|
+
"id": 68245,
|
|
446
446
|
"mutability": "mutable",
|
|
447
447
|
"name": "",
|
|
448
448
|
"nameLocation": "-1:-1:-1",
|
|
449
449
|
"nodeType": "VariableDeclaration",
|
|
450
|
-
"scope":
|
|
450
|
+
"scope": 68266,
|
|
451
451
|
"src": "255:7:25",
|
|
452
452
|
"stateVariable": false,
|
|
453
453
|
"storageLocation": "default",
|
|
@@ -456,7 +456,7 @@
|
|
|
456
456
|
"typeString": "uint256"
|
|
457
457
|
},
|
|
458
458
|
"typeName": {
|
|
459
|
-
"id":
|
|
459
|
+
"id": 68244,
|
|
460
460
|
"name": "uint256",
|
|
461
461
|
"nodeType": "ElementaryTypeName",
|
|
462
462
|
"src": "255:7:25",
|
|
@@ -470,18 +470,18 @@
|
|
|
470
470
|
],
|
|
471
471
|
"src": "254:9:25"
|
|
472
472
|
},
|
|
473
|
-
"scope":
|
|
473
|
+
"scope": 68376,
|
|
474
474
|
"stateMutability": "pure",
|
|
475
475
|
"virtual": false,
|
|
476
476
|
"visibility": "internal"
|
|
477
477
|
},
|
|
478
478
|
{
|
|
479
|
-
"id":
|
|
479
|
+
"id": 68287,
|
|
480
480
|
"nodeType": "FunctionDefinition",
|
|
481
481
|
"src": "521:114:25",
|
|
482
482
|
"nodes": [],
|
|
483
483
|
"body": {
|
|
484
|
-
"id":
|
|
484
|
+
"id": 68286,
|
|
485
485
|
"nodeType": "Block",
|
|
486
486
|
"src": "590:45:25",
|
|
487
487
|
"nodes": [],
|
|
@@ -493,17 +493,17 @@
|
|
|
493
493
|
"typeIdentifier": "t_uint256",
|
|
494
494
|
"typeString": "uint256"
|
|
495
495
|
},
|
|
496
|
-
"id":
|
|
496
|
+
"id": 68277,
|
|
497
497
|
"isConstant": false,
|
|
498
498
|
"isLValue": false,
|
|
499
499
|
"isPure": false,
|
|
500
500
|
"lValueRequested": false,
|
|
501
501
|
"leftExpression": {
|
|
502
|
-
"id":
|
|
502
|
+
"id": 68275,
|
|
503
503
|
"name": "a",
|
|
504
504
|
"nodeType": "Identifier",
|
|
505
505
|
"overloadedDeclarations": [],
|
|
506
|
-
"referencedDeclaration":
|
|
506
|
+
"referencedDeclaration": 68268,
|
|
507
507
|
"src": "607:1:25",
|
|
508
508
|
"typeDescriptions": {
|
|
509
509
|
"typeIdentifier": "t_uint256",
|
|
@@ -513,11 +513,11 @@
|
|
|
513
513
|
"nodeType": "BinaryOperation",
|
|
514
514
|
"operator": ">",
|
|
515
515
|
"rightExpression": {
|
|
516
|
-
"id":
|
|
516
|
+
"id": 68276,
|
|
517
517
|
"name": "b",
|
|
518
518
|
"nodeType": "Identifier",
|
|
519
519
|
"overloadedDeclarations": [],
|
|
520
|
-
"referencedDeclaration":
|
|
520
|
+
"referencedDeclaration": 68270,
|
|
521
521
|
"src": "611:1:25",
|
|
522
522
|
"typeDescriptions": {
|
|
523
523
|
"typeIdentifier": "t_uint256",
|
|
@@ -535,17 +535,17 @@
|
|
|
535
535
|
"typeIdentifier": "t_uint256",
|
|
536
536
|
"typeString": "uint256"
|
|
537
537
|
},
|
|
538
|
-
"id":
|
|
538
|
+
"id": 68283,
|
|
539
539
|
"isConstant": false,
|
|
540
540
|
"isLValue": false,
|
|
541
541
|
"isPure": false,
|
|
542
542
|
"lValueRequested": false,
|
|
543
543
|
"leftExpression": {
|
|
544
|
-
"id":
|
|
544
|
+
"id": 68281,
|
|
545
545
|
"name": "b",
|
|
546
546
|
"nodeType": "Identifier",
|
|
547
547
|
"overloadedDeclarations": [],
|
|
548
|
-
"referencedDeclaration":
|
|
548
|
+
"referencedDeclaration": 68270,
|
|
549
549
|
"src": "623:1:25",
|
|
550
550
|
"typeDescriptions": {
|
|
551
551
|
"typeIdentifier": "t_uint256",
|
|
@@ -555,11 +555,11 @@
|
|
|
555
555
|
"nodeType": "BinaryOperation",
|
|
556
556
|
"operator": "-",
|
|
557
557
|
"rightExpression": {
|
|
558
|
-
"id":
|
|
558
|
+
"id": 68282,
|
|
559
559
|
"name": "a",
|
|
560
560
|
"nodeType": "Identifier",
|
|
561
561
|
"overloadedDeclarations": [],
|
|
562
|
-
"referencedDeclaration":
|
|
562
|
+
"referencedDeclaration": 68268,
|
|
563
563
|
"src": "627:1:25",
|
|
564
564
|
"typeDescriptions": {
|
|
565
565
|
"typeIdentifier": "t_uint256",
|
|
@@ -572,7 +572,7 @@
|
|
|
572
572
|
"typeString": "uint256"
|
|
573
573
|
}
|
|
574
574
|
},
|
|
575
|
-
"id":
|
|
575
|
+
"id": 68284,
|
|
576
576
|
"isConstant": false,
|
|
577
577
|
"isLValue": false,
|
|
578
578
|
"isPure": false,
|
|
@@ -584,17 +584,17 @@
|
|
|
584
584
|
"typeIdentifier": "t_uint256",
|
|
585
585
|
"typeString": "uint256"
|
|
586
586
|
},
|
|
587
|
-
"id":
|
|
587
|
+
"id": 68280,
|
|
588
588
|
"isConstant": false,
|
|
589
589
|
"isLValue": false,
|
|
590
590
|
"isPure": false,
|
|
591
591
|
"lValueRequested": false,
|
|
592
592
|
"leftExpression": {
|
|
593
|
-
"id":
|
|
593
|
+
"id": 68278,
|
|
594
594
|
"name": "a",
|
|
595
595
|
"nodeType": "Identifier",
|
|
596
596
|
"overloadedDeclarations": [],
|
|
597
|
-
"referencedDeclaration":
|
|
597
|
+
"referencedDeclaration": 68268,
|
|
598
598
|
"src": "615:1:25",
|
|
599
599
|
"typeDescriptions": {
|
|
600
600
|
"typeIdentifier": "t_uint256",
|
|
@@ -604,11 +604,11 @@
|
|
|
604
604
|
"nodeType": "BinaryOperation",
|
|
605
605
|
"operator": "-",
|
|
606
606
|
"rightExpression": {
|
|
607
|
-
"id":
|
|
607
|
+
"id": 68279,
|
|
608
608
|
"name": "b",
|
|
609
609
|
"nodeType": "Identifier",
|
|
610
610
|
"overloadedDeclarations": [],
|
|
611
|
-
"referencedDeclaration":
|
|
611
|
+
"referencedDeclaration": 68270,
|
|
612
612
|
"src": "619:1:25",
|
|
613
613
|
"typeDescriptions": {
|
|
614
614
|
"typeIdentifier": "t_uint256",
|
|
@@ -626,8 +626,8 @@
|
|
|
626
626
|
"typeString": "uint256"
|
|
627
627
|
}
|
|
628
628
|
},
|
|
629
|
-
"functionReturnParameters":
|
|
630
|
-
"id":
|
|
629
|
+
"functionReturnParameters": 68274,
|
|
630
|
+
"id": 68285,
|
|
631
631
|
"nodeType": "Return",
|
|
632
632
|
"src": "600:28:25"
|
|
633
633
|
}
|
|
@@ -639,17 +639,17 @@
|
|
|
639
639
|
"name": "delta",
|
|
640
640
|
"nameLocation": "530:5:25",
|
|
641
641
|
"parameters": {
|
|
642
|
-
"id":
|
|
642
|
+
"id": 68271,
|
|
643
643
|
"nodeType": "ParameterList",
|
|
644
644
|
"parameters": [
|
|
645
645
|
{
|
|
646
646
|
"constant": false,
|
|
647
|
-
"id":
|
|
647
|
+
"id": 68268,
|
|
648
648
|
"mutability": "mutable",
|
|
649
649
|
"name": "a",
|
|
650
650
|
"nameLocation": "544:1:25",
|
|
651
651
|
"nodeType": "VariableDeclaration",
|
|
652
|
-
"scope":
|
|
652
|
+
"scope": 68287,
|
|
653
653
|
"src": "536:9:25",
|
|
654
654
|
"stateVariable": false,
|
|
655
655
|
"storageLocation": "default",
|
|
@@ -658,7 +658,7 @@
|
|
|
658
658
|
"typeString": "uint256"
|
|
659
659
|
},
|
|
660
660
|
"typeName": {
|
|
661
|
-
"id":
|
|
661
|
+
"id": 68267,
|
|
662
662
|
"name": "uint256",
|
|
663
663
|
"nodeType": "ElementaryTypeName",
|
|
664
664
|
"src": "536:7:25",
|
|
@@ -671,12 +671,12 @@
|
|
|
671
671
|
},
|
|
672
672
|
{
|
|
673
673
|
"constant": false,
|
|
674
|
-
"id":
|
|
674
|
+
"id": 68270,
|
|
675
675
|
"mutability": "mutable",
|
|
676
676
|
"name": "b",
|
|
677
677
|
"nameLocation": "555:1:25",
|
|
678
678
|
"nodeType": "VariableDeclaration",
|
|
679
|
-
"scope":
|
|
679
|
+
"scope": 68287,
|
|
680
680
|
"src": "547:9:25",
|
|
681
681
|
"stateVariable": false,
|
|
682
682
|
"storageLocation": "default",
|
|
@@ -685,7 +685,7 @@
|
|
|
685
685
|
"typeString": "uint256"
|
|
686
686
|
},
|
|
687
687
|
"typeName": {
|
|
688
|
-
"id":
|
|
688
|
+
"id": 68269,
|
|
689
689
|
"name": "uint256",
|
|
690
690
|
"nodeType": "ElementaryTypeName",
|
|
691
691
|
"src": "547:7:25",
|
|
@@ -700,17 +700,17 @@
|
|
|
700
700
|
"src": "535:22:25"
|
|
701
701
|
},
|
|
702
702
|
"returnParameters": {
|
|
703
|
-
"id":
|
|
703
|
+
"id": 68274,
|
|
704
704
|
"nodeType": "ParameterList",
|
|
705
705
|
"parameters": [
|
|
706
706
|
{
|
|
707
707
|
"constant": false,
|
|
708
|
-
"id":
|
|
708
|
+
"id": 68273,
|
|
709
709
|
"mutability": "mutable",
|
|
710
710
|
"name": "",
|
|
711
711
|
"nameLocation": "-1:-1:-1",
|
|
712
712
|
"nodeType": "VariableDeclaration",
|
|
713
|
-
"scope":
|
|
713
|
+
"scope": 68287,
|
|
714
714
|
"src": "581:7:25",
|
|
715
715
|
"stateVariable": false,
|
|
716
716
|
"storageLocation": "default",
|
|
@@ -719,7 +719,7 @@
|
|
|
719
719
|
"typeString": "uint256"
|
|
720
720
|
},
|
|
721
721
|
"typeName": {
|
|
722
|
-
"id":
|
|
722
|
+
"id": 68272,
|
|
723
723
|
"name": "uint256",
|
|
724
724
|
"nodeType": "ElementaryTypeName",
|
|
725
725
|
"src": "581:7:25",
|
|
@@ -733,18 +733,18 @@
|
|
|
733
733
|
],
|
|
734
734
|
"src": "580:9:25"
|
|
735
735
|
},
|
|
736
|
-
"scope":
|
|
736
|
+
"scope": 68376,
|
|
737
737
|
"stateMutability": "pure",
|
|
738
738
|
"virtual": false,
|
|
739
739
|
"visibility": "internal"
|
|
740
740
|
},
|
|
741
741
|
{
|
|
742
|
-
"id":
|
|
742
|
+
"id": 68323,
|
|
743
743
|
"nodeType": "FunctionDefinition",
|
|
744
744
|
"src": "641:352:25",
|
|
745
745
|
"nodes": [],
|
|
746
746
|
"body": {
|
|
747
|
-
"id":
|
|
747
|
+
"id": 68322,
|
|
748
748
|
"nodeType": "Block",
|
|
749
749
|
"src": "708:285:25",
|
|
750
750
|
"nodes": [],
|
|
@@ -755,7 +755,7 @@
|
|
|
755
755
|
"typeIdentifier": "t_int256",
|
|
756
756
|
"typeString": "int256"
|
|
757
757
|
},
|
|
758
|
-
"id":
|
|
758
|
+
"id": 68302,
|
|
759
759
|
"isConstant": false,
|
|
760
760
|
"isLValue": false,
|
|
761
761
|
"isPure": false,
|
|
@@ -767,17 +767,17 @@
|
|
|
767
767
|
"typeIdentifier": "t_int256",
|
|
768
768
|
"typeString": "int256"
|
|
769
769
|
},
|
|
770
|
-
"id":
|
|
770
|
+
"id": 68298,
|
|
771
771
|
"isConstant": false,
|
|
772
772
|
"isLValue": false,
|
|
773
773
|
"isPure": false,
|
|
774
774
|
"lValueRequested": false,
|
|
775
775
|
"leftExpression": {
|
|
776
|
-
"id":
|
|
776
|
+
"id": 68296,
|
|
777
777
|
"name": "a",
|
|
778
778
|
"nodeType": "Identifier",
|
|
779
779
|
"overloadedDeclarations": [],
|
|
780
|
-
"referencedDeclaration":
|
|
780
|
+
"referencedDeclaration": 68289,
|
|
781
781
|
"src": "847:1:25",
|
|
782
782
|
"typeDescriptions": {
|
|
783
783
|
"typeIdentifier": "t_int256",
|
|
@@ -787,11 +787,11 @@
|
|
|
787
787
|
"nodeType": "BinaryOperation",
|
|
788
788
|
"operator": "^",
|
|
789
789
|
"rightExpression": {
|
|
790
|
-
"id":
|
|
790
|
+
"id": 68297,
|
|
791
791
|
"name": "b",
|
|
792
792
|
"nodeType": "Identifier",
|
|
793
793
|
"overloadedDeclarations": [],
|
|
794
|
-
"referencedDeclaration":
|
|
794
|
+
"referencedDeclaration": 68291,
|
|
795
795
|
"src": "851:1:25",
|
|
796
796
|
"typeDescriptions": {
|
|
797
797
|
"typeIdentifier": "t_int256",
|
|
@@ -805,7 +805,7 @@
|
|
|
805
805
|
}
|
|
806
806
|
}
|
|
807
807
|
],
|
|
808
|
-
"id":
|
|
808
|
+
"id": 68299,
|
|
809
809
|
"isConstant": false,
|
|
810
810
|
"isInlineArray": false,
|
|
811
811
|
"isLValue": false,
|
|
@@ -821,7 +821,7 @@
|
|
|
821
821
|
"nodeType": "BinaryOperation",
|
|
822
822
|
"operator": ">",
|
|
823
823
|
"rightExpression": {
|
|
824
|
-
"id":
|
|
824
|
+
"id": 68301,
|
|
825
825
|
"isConstant": false,
|
|
826
826
|
"isLValue": false,
|
|
827
827
|
"isPure": true,
|
|
@@ -832,7 +832,7 @@
|
|
|
832
832
|
"src": "856:2:25",
|
|
833
833
|
"subExpression": {
|
|
834
834
|
"hexValue": "31",
|
|
835
|
-
"id":
|
|
835
|
+
"id": 68300,
|
|
836
836
|
"isConstant": false,
|
|
837
837
|
"isLValue": false,
|
|
838
838
|
"isPure": true,
|
|
@@ -857,11 +857,11 @@
|
|
|
857
857
|
"typeString": "bool"
|
|
858
858
|
}
|
|
859
859
|
},
|
|
860
|
-
"id":
|
|
860
|
+
"id": 68313,
|
|
861
861
|
"nodeType": "IfStatement",
|
|
862
862
|
"src": "842:71:25",
|
|
863
863
|
"trueBody": {
|
|
864
|
-
"id":
|
|
864
|
+
"id": 68312,
|
|
865
865
|
"nodeType": "Block",
|
|
866
866
|
"src": "860:53:25",
|
|
867
867
|
"statements": [
|
|
@@ -871,11 +871,11 @@
|
|
|
871
871
|
{
|
|
872
872
|
"arguments": [
|
|
873
873
|
{
|
|
874
|
-
"id":
|
|
874
|
+
"id": 68305,
|
|
875
875
|
"name": "a",
|
|
876
876
|
"nodeType": "Identifier",
|
|
877
877
|
"overloadedDeclarations": [],
|
|
878
|
-
"referencedDeclaration":
|
|
878
|
+
"referencedDeclaration": 68289,
|
|
879
879
|
"src": "891:1:25",
|
|
880
880
|
"typeDescriptions": {
|
|
881
881
|
"typeIdentifier": "t_int256",
|
|
@@ -890,18 +890,18 @@
|
|
|
890
890
|
"typeString": "int256"
|
|
891
891
|
}
|
|
892
892
|
],
|
|
893
|
-
"id":
|
|
893
|
+
"id": 68304,
|
|
894
894
|
"name": "abs",
|
|
895
895
|
"nodeType": "Identifier",
|
|
896
896
|
"overloadedDeclarations": [],
|
|
897
|
-
"referencedDeclaration":
|
|
897
|
+
"referencedDeclaration": 68266,
|
|
898
898
|
"src": "887:3:25",
|
|
899
899
|
"typeDescriptions": {
|
|
900
900
|
"typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$",
|
|
901
901
|
"typeString": "function (int256) pure returns (uint256)"
|
|
902
902
|
}
|
|
903
903
|
},
|
|
904
|
-
"id":
|
|
904
|
+
"id": 68306,
|
|
905
905
|
"isConstant": false,
|
|
906
906
|
"isLValue": false,
|
|
907
907
|
"isPure": false,
|
|
@@ -919,11 +919,11 @@
|
|
|
919
919
|
{
|
|
920
920
|
"arguments": [
|
|
921
921
|
{
|
|
922
|
-
"id":
|
|
922
|
+
"id": 68308,
|
|
923
923
|
"name": "b",
|
|
924
924
|
"nodeType": "Identifier",
|
|
925
925
|
"overloadedDeclarations": [],
|
|
926
|
-
"referencedDeclaration":
|
|
926
|
+
"referencedDeclaration": 68291,
|
|
927
927
|
"src": "899:1:25",
|
|
928
928
|
"typeDescriptions": {
|
|
929
929
|
"typeIdentifier": "t_int256",
|
|
@@ -938,18 +938,18 @@
|
|
|
938
938
|
"typeString": "int256"
|
|
939
939
|
}
|
|
940
940
|
],
|
|
941
|
-
"id":
|
|
941
|
+
"id": 68307,
|
|
942
942
|
"name": "abs",
|
|
943
943
|
"nodeType": "Identifier",
|
|
944
944
|
"overloadedDeclarations": [],
|
|
945
|
-
"referencedDeclaration":
|
|
945
|
+
"referencedDeclaration": 68266,
|
|
946
946
|
"src": "895:3:25",
|
|
947
947
|
"typeDescriptions": {
|
|
948
948
|
"typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$",
|
|
949
949
|
"typeString": "function (int256) pure returns (uint256)"
|
|
950
950
|
}
|
|
951
951
|
},
|
|
952
|
-
"id":
|
|
952
|
+
"id": 68309,
|
|
953
953
|
"isConstant": false,
|
|
954
954
|
"isLValue": false,
|
|
955
955
|
"isPure": false,
|
|
@@ -976,21 +976,21 @@
|
|
|
976
976
|
"typeString": "uint256"
|
|
977
977
|
}
|
|
978
978
|
],
|
|
979
|
-
"id":
|
|
979
|
+
"id": 68303,
|
|
980
980
|
"name": "delta",
|
|
981
981
|
"nodeType": "Identifier",
|
|
982
982
|
"overloadedDeclarations": [
|
|
983
|
-
|
|
984
|
-
|
|
983
|
+
68287,
|
|
984
|
+
68323
|
|
985
985
|
],
|
|
986
|
-
"referencedDeclaration":
|
|
986
|
+
"referencedDeclaration": 68287,
|
|
987
987
|
"src": "881:5:25",
|
|
988
988
|
"typeDescriptions": {
|
|
989
989
|
"typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
|
|
990
990
|
"typeString": "function (uint256,uint256) pure returns (uint256)"
|
|
991
991
|
}
|
|
992
992
|
},
|
|
993
|
-
"id":
|
|
993
|
+
"id": 68310,
|
|
994
994
|
"isConstant": false,
|
|
995
995
|
"isLValue": false,
|
|
996
996
|
"isPure": false,
|
|
@@ -1005,8 +1005,8 @@
|
|
|
1005
1005
|
"typeString": "uint256"
|
|
1006
1006
|
}
|
|
1007
1007
|
},
|
|
1008
|
-
"functionReturnParameters":
|
|
1009
|
-
"id":
|
|
1008
|
+
"functionReturnParameters": 68295,
|
|
1009
|
+
"id": 68311,
|
|
1010
1010
|
"nodeType": "Return",
|
|
1011
1011
|
"src": "874:28:25"
|
|
1012
1012
|
}
|
|
@@ -1019,7 +1019,7 @@
|
|
|
1019
1019
|
"typeIdentifier": "t_uint256",
|
|
1020
1020
|
"typeString": "uint256"
|
|
1021
1021
|
},
|
|
1022
|
-
"id":
|
|
1022
|
+
"id": 68320,
|
|
1023
1023
|
"isConstant": false,
|
|
1024
1024
|
"isLValue": false,
|
|
1025
1025
|
"isPure": false,
|
|
@@ -1027,11 +1027,11 @@
|
|
|
1027
1027
|
"leftExpression": {
|
|
1028
1028
|
"arguments": [
|
|
1029
1029
|
{
|
|
1030
|
-
"id":
|
|
1030
|
+
"id": 68315,
|
|
1031
1031
|
"name": "a",
|
|
1032
1032
|
"nodeType": "Identifier",
|
|
1033
1033
|
"overloadedDeclarations": [],
|
|
1034
|
-
"referencedDeclaration":
|
|
1034
|
+
"referencedDeclaration": 68289,
|
|
1035
1035
|
"src": "975:1:25",
|
|
1036
1036
|
"typeDescriptions": {
|
|
1037
1037
|
"typeIdentifier": "t_int256",
|
|
@@ -1046,18 +1046,18 @@
|
|
|
1046
1046
|
"typeString": "int256"
|
|
1047
1047
|
}
|
|
1048
1048
|
],
|
|
1049
|
-
"id":
|
|
1049
|
+
"id": 68314,
|
|
1050
1050
|
"name": "abs",
|
|
1051
1051
|
"nodeType": "Identifier",
|
|
1052
1052
|
"overloadedDeclarations": [],
|
|
1053
|
-
"referencedDeclaration":
|
|
1053
|
+
"referencedDeclaration": 68266,
|
|
1054
1054
|
"src": "971:3:25",
|
|
1055
1055
|
"typeDescriptions": {
|
|
1056
1056
|
"typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$",
|
|
1057
1057
|
"typeString": "function (int256) pure returns (uint256)"
|
|
1058
1058
|
}
|
|
1059
1059
|
},
|
|
1060
|
-
"id":
|
|
1060
|
+
"id": 68316,
|
|
1061
1061
|
"isConstant": false,
|
|
1062
1062
|
"isLValue": false,
|
|
1063
1063
|
"isPure": false,
|
|
@@ -1077,11 +1077,11 @@
|
|
|
1077
1077
|
"rightExpression": {
|
|
1078
1078
|
"arguments": [
|
|
1079
1079
|
{
|
|
1080
|
-
"id":
|
|
1080
|
+
"id": 68318,
|
|
1081
1081
|
"name": "b",
|
|
1082
1082
|
"nodeType": "Identifier",
|
|
1083
1083
|
"overloadedDeclarations": [],
|
|
1084
|
-
"referencedDeclaration":
|
|
1084
|
+
"referencedDeclaration": 68291,
|
|
1085
1085
|
"src": "984:1:25",
|
|
1086
1086
|
"typeDescriptions": {
|
|
1087
1087
|
"typeIdentifier": "t_int256",
|
|
@@ -1096,18 +1096,18 @@
|
|
|
1096
1096
|
"typeString": "int256"
|
|
1097
1097
|
}
|
|
1098
1098
|
],
|
|
1099
|
-
"id":
|
|
1099
|
+
"id": 68317,
|
|
1100
1100
|
"name": "abs",
|
|
1101
1101
|
"nodeType": "Identifier",
|
|
1102
1102
|
"overloadedDeclarations": [],
|
|
1103
|
-
"referencedDeclaration":
|
|
1103
|
+
"referencedDeclaration": 68266,
|
|
1104
1104
|
"src": "980:3:25",
|
|
1105
1105
|
"typeDescriptions": {
|
|
1106
1106
|
"typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$",
|
|
1107
1107
|
"typeString": "function (int256) pure returns (uint256)"
|
|
1108
1108
|
}
|
|
1109
1109
|
},
|
|
1110
|
-
"id":
|
|
1110
|
+
"id": 68319,
|
|
1111
1111
|
"isConstant": false,
|
|
1112
1112
|
"isLValue": false,
|
|
1113
1113
|
"isPure": false,
|
|
@@ -1128,8 +1128,8 @@
|
|
|
1128
1128
|
"typeString": "uint256"
|
|
1129
1129
|
}
|
|
1130
1130
|
},
|
|
1131
|
-
"functionReturnParameters":
|
|
1132
|
-
"id":
|
|
1131
|
+
"functionReturnParameters": 68295,
|
|
1132
|
+
"id": 68321,
|
|
1133
1133
|
"nodeType": "Return",
|
|
1134
1134
|
"src": "964:22:25"
|
|
1135
1135
|
}
|
|
@@ -1141,17 +1141,17 @@
|
|
|
1141
1141
|
"name": "delta",
|
|
1142
1142
|
"nameLocation": "650:5:25",
|
|
1143
1143
|
"parameters": {
|
|
1144
|
-
"id":
|
|
1144
|
+
"id": 68292,
|
|
1145
1145
|
"nodeType": "ParameterList",
|
|
1146
1146
|
"parameters": [
|
|
1147
1147
|
{
|
|
1148
1148
|
"constant": false,
|
|
1149
|
-
"id":
|
|
1149
|
+
"id": 68289,
|
|
1150
1150
|
"mutability": "mutable",
|
|
1151
1151
|
"name": "a",
|
|
1152
1152
|
"nameLocation": "663:1:25",
|
|
1153
1153
|
"nodeType": "VariableDeclaration",
|
|
1154
|
-
"scope":
|
|
1154
|
+
"scope": 68323,
|
|
1155
1155
|
"src": "656:8:25",
|
|
1156
1156
|
"stateVariable": false,
|
|
1157
1157
|
"storageLocation": "default",
|
|
@@ -1160,7 +1160,7 @@
|
|
|
1160
1160
|
"typeString": "int256"
|
|
1161
1161
|
},
|
|
1162
1162
|
"typeName": {
|
|
1163
|
-
"id":
|
|
1163
|
+
"id": 68288,
|
|
1164
1164
|
"name": "int256",
|
|
1165
1165
|
"nodeType": "ElementaryTypeName",
|
|
1166
1166
|
"src": "656:6:25",
|
|
@@ -1173,12 +1173,12 @@
|
|
|
1173
1173
|
},
|
|
1174
1174
|
{
|
|
1175
1175
|
"constant": false,
|
|
1176
|
-
"id":
|
|
1176
|
+
"id": 68291,
|
|
1177
1177
|
"mutability": "mutable",
|
|
1178
1178
|
"name": "b",
|
|
1179
1179
|
"nameLocation": "673:1:25",
|
|
1180
1180
|
"nodeType": "VariableDeclaration",
|
|
1181
|
-
"scope":
|
|
1181
|
+
"scope": 68323,
|
|
1182
1182
|
"src": "666:8:25",
|
|
1183
1183
|
"stateVariable": false,
|
|
1184
1184
|
"storageLocation": "default",
|
|
@@ -1187,7 +1187,7 @@
|
|
|
1187
1187
|
"typeString": "int256"
|
|
1188
1188
|
},
|
|
1189
1189
|
"typeName": {
|
|
1190
|
-
"id":
|
|
1190
|
+
"id": 68290,
|
|
1191
1191
|
"name": "int256",
|
|
1192
1192
|
"nodeType": "ElementaryTypeName",
|
|
1193
1193
|
"src": "666:6:25",
|
|
@@ -1202,17 +1202,17 @@
|
|
|
1202
1202
|
"src": "655:20:25"
|
|
1203
1203
|
},
|
|
1204
1204
|
"returnParameters": {
|
|
1205
|
-
"id":
|
|
1205
|
+
"id": 68295,
|
|
1206
1206
|
"nodeType": "ParameterList",
|
|
1207
1207
|
"parameters": [
|
|
1208
1208
|
{
|
|
1209
1209
|
"constant": false,
|
|
1210
|
-
"id":
|
|
1210
|
+
"id": 68294,
|
|
1211
1211
|
"mutability": "mutable",
|
|
1212
1212
|
"name": "",
|
|
1213
1213
|
"nameLocation": "-1:-1:-1",
|
|
1214
1214
|
"nodeType": "VariableDeclaration",
|
|
1215
|
-
"scope":
|
|
1215
|
+
"scope": 68323,
|
|
1216
1216
|
"src": "699:7:25",
|
|
1217
1217
|
"stateVariable": false,
|
|
1218
1218
|
"storageLocation": "default",
|
|
@@ -1221,7 +1221,7 @@
|
|
|
1221
1221
|
"typeString": "uint256"
|
|
1222
1222
|
},
|
|
1223
1223
|
"typeName": {
|
|
1224
|
-
"id":
|
|
1224
|
+
"id": 68293,
|
|
1225
1225
|
"name": "uint256",
|
|
1226
1226
|
"nodeType": "ElementaryTypeName",
|
|
1227
1227
|
"src": "699:7:25",
|
|
@@ -1235,35 +1235,35 @@
|
|
|
1235
1235
|
],
|
|
1236
1236
|
"src": "698:9:25"
|
|
1237
1237
|
},
|
|
1238
|
-
"scope":
|
|
1238
|
+
"scope": 68376,
|
|
1239
1239
|
"stateMutability": "pure",
|
|
1240
1240
|
"virtual": false,
|
|
1241
1241
|
"visibility": "internal"
|
|
1242
1242
|
},
|
|
1243
1243
|
{
|
|
1244
|
-
"id":
|
|
1244
|
+
"id": 68346,
|
|
1245
1245
|
"nodeType": "FunctionDefinition",
|
|
1246
1246
|
"src": "999:160:25",
|
|
1247
1247
|
"nodes": [],
|
|
1248
1248
|
"body": {
|
|
1249
|
-
"id":
|
|
1249
|
+
"id": 68345,
|
|
1250
1250
|
"nodeType": "Block",
|
|
1251
1251
|
"src": "1075:84:25",
|
|
1252
1252
|
"nodes": [],
|
|
1253
1253
|
"statements": [
|
|
1254
1254
|
{
|
|
1255
1255
|
"assignments": [
|
|
1256
|
-
|
|
1256
|
+
68333
|
|
1257
1257
|
],
|
|
1258
1258
|
"declarations": [
|
|
1259
1259
|
{
|
|
1260
1260
|
"constant": false,
|
|
1261
|
-
"id":
|
|
1261
|
+
"id": 68333,
|
|
1262
1262
|
"mutability": "mutable",
|
|
1263
1263
|
"name": "absDelta",
|
|
1264
1264
|
"nameLocation": "1093:8:25",
|
|
1265
1265
|
"nodeType": "VariableDeclaration",
|
|
1266
|
-
"scope":
|
|
1266
|
+
"scope": 68345,
|
|
1267
1267
|
"src": "1085:16:25",
|
|
1268
1268
|
"stateVariable": false,
|
|
1269
1269
|
"storageLocation": "default",
|
|
@@ -1272,7 +1272,7 @@
|
|
|
1272
1272
|
"typeString": "uint256"
|
|
1273
1273
|
},
|
|
1274
1274
|
"typeName": {
|
|
1275
|
-
"id":
|
|
1275
|
+
"id": 68332,
|
|
1276
1276
|
"name": "uint256",
|
|
1277
1277
|
"nodeType": "ElementaryTypeName",
|
|
1278
1278
|
"src": "1085:7:25",
|
|
@@ -1284,15 +1284,15 @@
|
|
|
1284
1284
|
"visibility": "internal"
|
|
1285
1285
|
}
|
|
1286
1286
|
],
|
|
1287
|
-
"id":
|
|
1287
|
+
"id": 68338,
|
|
1288
1288
|
"initialValue": {
|
|
1289
1289
|
"arguments": [
|
|
1290
1290
|
{
|
|
1291
|
-
"id":
|
|
1291
|
+
"id": 68335,
|
|
1292
1292
|
"name": "a",
|
|
1293
1293
|
"nodeType": "Identifier",
|
|
1294
1294
|
"overloadedDeclarations": [],
|
|
1295
|
-
"referencedDeclaration":
|
|
1295
|
+
"referencedDeclaration": 68325,
|
|
1296
1296
|
"src": "1110:1:25",
|
|
1297
1297
|
"typeDescriptions": {
|
|
1298
1298
|
"typeIdentifier": "t_uint256",
|
|
@@ -1300,11 +1300,11 @@
|
|
|
1300
1300
|
}
|
|
1301
1301
|
},
|
|
1302
1302
|
{
|
|
1303
|
-
"id":
|
|
1303
|
+
"id": 68336,
|
|
1304
1304
|
"name": "b",
|
|
1305
1305
|
"nodeType": "Identifier",
|
|
1306
1306
|
"overloadedDeclarations": [],
|
|
1307
|
-
"referencedDeclaration":
|
|
1307
|
+
"referencedDeclaration": 68327,
|
|
1308
1308
|
"src": "1113:1:25",
|
|
1309
1309
|
"typeDescriptions": {
|
|
1310
1310
|
"typeIdentifier": "t_uint256",
|
|
@@ -1323,21 +1323,21 @@
|
|
|
1323
1323
|
"typeString": "uint256"
|
|
1324
1324
|
}
|
|
1325
1325
|
],
|
|
1326
|
-
"id":
|
|
1326
|
+
"id": 68334,
|
|
1327
1327
|
"name": "delta",
|
|
1328
1328
|
"nodeType": "Identifier",
|
|
1329
1329
|
"overloadedDeclarations": [
|
|
1330
|
-
|
|
1331
|
-
|
|
1330
|
+
68287,
|
|
1331
|
+
68323
|
|
1332
1332
|
],
|
|
1333
|
-
"referencedDeclaration":
|
|
1333
|
+
"referencedDeclaration": 68287,
|
|
1334
1334
|
"src": "1104:5:25",
|
|
1335
1335
|
"typeDescriptions": {
|
|
1336
1336
|
"typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
|
|
1337
1337
|
"typeString": "function (uint256,uint256) pure returns (uint256)"
|
|
1338
1338
|
}
|
|
1339
1339
|
},
|
|
1340
|
-
"id":
|
|
1340
|
+
"id": 68337,
|
|
1341
1341
|
"isConstant": false,
|
|
1342
1342
|
"isLValue": false,
|
|
1343
1343
|
"isPure": false,
|
|
@@ -1361,7 +1361,7 @@
|
|
|
1361
1361
|
"typeIdentifier": "t_uint256",
|
|
1362
1362
|
"typeString": "uint256"
|
|
1363
1363
|
},
|
|
1364
|
-
"id":
|
|
1364
|
+
"id": 68343,
|
|
1365
1365
|
"isConstant": false,
|
|
1366
1366
|
"isLValue": false,
|
|
1367
1367
|
"isPure": false,
|
|
@@ -1371,17 +1371,17 @@
|
|
|
1371
1371
|
"typeIdentifier": "t_uint256",
|
|
1372
1372
|
"typeString": "uint256"
|
|
1373
1373
|
},
|
|
1374
|
-
"id":
|
|
1374
|
+
"id": 68341,
|
|
1375
1375
|
"isConstant": false,
|
|
1376
1376
|
"isLValue": false,
|
|
1377
1377
|
"isPure": false,
|
|
1378
1378
|
"lValueRequested": false,
|
|
1379
1379
|
"leftExpression": {
|
|
1380
|
-
"id":
|
|
1380
|
+
"id": 68339,
|
|
1381
1381
|
"name": "absDelta",
|
|
1382
1382
|
"nodeType": "Identifier",
|
|
1383
1383
|
"overloadedDeclarations": [],
|
|
1384
|
-
"referencedDeclaration":
|
|
1384
|
+
"referencedDeclaration": 68333,
|
|
1385
1385
|
"src": "1133:8:25",
|
|
1386
1386
|
"typeDescriptions": {
|
|
1387
1387
|
"typeIdentifier": "t_uint256",
|
|
@@ -1392,7 +1392,7 @@
|
|
|
1392
1392
|
"operator": "*",
|
|
1393
1393
|
"rightExpression": {
|
|
1394
1394
|
"hexValue": "31653138",
|
|
1395
|
-
"id":
|
|
1395
|
+
"id": 68340,
|
|
1396
1396
|
"isConstant": false,
|
|
1397
1397
|
"isLValue": false,
|
|
1398
1398
|
"isPure": true,
|
|
@@ -1415,11 +1415,11 @@
|
|
|
1415
1415
|
"nodeType": "BinaryOperation",
|
|
1416
1416
|
"operator": "/",
|
|
1417
1417
|
"rightExpression": {
|
|
1418
|
-
"id":
|
|
1418
|
+
"id": 68342,
|
|
1419
1419
|
"name": "b",
|
|
1420
1420
|
"nodeType": "Identifier",
|
|
1421
1421
|
"overloadedDeclarations": [],
|
|
1422
|
-
"referencedDeclaration":
|
|
1422
|
+
"referencedDeclaration": 68327,
|
|
1423
1423
|
"src": "1151:1:25",
|
|
1424
1424
|
"typeDescriptions": {
|
|
1425
1425
|
"typeIdentifier": "t_uint256",
|
|
@@ -1432,8 +1432,8 @@
|
|
|
1432
1432
|
"typeString": "uint256"
|
|
1433
1433
|
}
|
|
1434
1434
|
},
|
|
1435
|
-
"functionReturnParameters":
|
|
1436
|
-
"id":
|
|
1435
|
+
"functionReturnParameters": 68331,
|
|
1436
|
+
"id": 68344,
|
|
1437
1437
|
"nodeType": "Return",
|
|
1438
1438
|
"src": "1126:26:25"
|
|
1439
1439
|
}
|
|
@@ -1445,17 +1445,17 @@
|
|
|
1445
1445
|
"name": "percentDelta",
|
|
1446
1446
|
"nameLocation": "1008:12:25",
|
|
1447
1447
|
"parameters": {
|
|
1448
|
-
"id":
|
|
1448
|
+
"id": 68328,
|
|
1449
1449
|
"nodeType": "ParameterList",
|
|
1450
1450
|
"parameters": [
|
|
1451
1451
|
{
|
|
1452
1452
|
"constant": false,
|
|
1453
|
-
"id":
|
|
1453
|
+
"id": 68325,
|
|
1454
1454
|
"mutability": "mutable",
|
|
1455
1455
|
"name": "a",
|
|
1456
1456
|
"nameLocation": "1029:1:25",
|
|
1457
1457
|
"nodeType": "VariableDeclaration",
|
|
1458
|
-
"scope":
|
|
1458
|
+
"scope": 68346,
|
|
1459
1459
|
"src": "1021:9:25",
|
|
1460
1460
|
"stateVariable": false,
|
|
1461
1461
|
"storageLocation": "default",
|
|
@@ -1464,7 +1464,7 @@
|
|
|
1464
1464
|
"typeString": "uint256"
|
|
1465
1465
|
},
|
|
1466
1466
|
"typeName": {
|
|
1467
|
-
"id":
|
|
1467
|
+
"id": 68324,
|
|
1468
1468
|
"name": "uint256",
|
|
1469
1469
|
"nodeType": "ElementaryTypeName",
|
|
1470
1470
|
"src": "1021:7:25",
|
|
@@ -1477,12 +1477,12 @@
|
|
|
1477
1477
|
},
|
|
1478
1478
|
{
|
|
1479
1479
|
"constant": false,
|
|
1480
|
-
"id":
|
|
1480
|
+
"id": 68327,
|
|
1481
1481
|
"mutability": "mutable",
|
|
1482
1482
|
"name": "b",
|
|
1483
1483
|
"nameLocation": "1040:1:25",
|
|
1484
1484
|
"nodeType": "VariableDeclaration",
|
|
1485
|
-
"scope":
|
|
1485
|
+
"scope": 68346,
|
|
1486
1486
|
"src": "1032:9:25",
|
|
1487
1487
|
"stateVariable": false,
|
|
1488
1488
|
"storageLocation": "default",
|
|
@@ -1491,7 +1491,7 @@
|
|
|
1491
1491
|
"typeString": "uint256"
|
|
1492
1492
|
},
|
|
1493
1493
|
"typeName": {
|
|
1494
|
-
"id":
|
|
1494
|
+
"id": 68326,
|
|
1495
1495
|
"name": "uint256",
|
|
1496
1496
|
"nodeType": "ElementaryTypeName",
|
|
1497
1497
|
"src": "1032:7:25",
|
|
@@ -1506,17 +1506,17 @@
|
|
|
1506
1506
|
"src": "1020:22:25"
|
|
1507
1507
|
},
|
|
1508
1508
|
"returnParameters": {
|
|
1509
|
-
"id":
|
|
1509
|
+
"id": 68331,
|
|
1510
1510
|
"nodeType": "ParameterList",
|
|
1511
1511
|
"parameters": [
|
|
1512
1512
|
{
|
|
1513
1513
|
"constant": false,
|
|
1514
|
-
"id":
|
|
1514
|
+
"id": 68330,
|
|
1515
1515
|
"mutability": "mutable",
|
|
1516
1516
|
"name": "",
|
|
1517
1517
|
"nameLocation": "-1:-1:-1",
|
|
1518
1518
|
"nodeType": "VariableDeclaration",
|
|
1519
|
-
"scope":
|
|
1519
|
+
"scope": 68346,
|
|
1520
1520
|
"src": "1066:7:25",
|
|
1521
1521
|
"stateVariable": false,
|
|
1522
1522
|
"storageLocation": "default",
|
|
@@ -1525,7 +1525,7 @@
|
|
|
1525
1525
|
"typeString": "uint256"
|
|
1526
1526
|
},
|
|
1527
1527
|
"typeName": {
|
|
1528
|
-
"id":
|
|
1528
|
+
"id": 68329,
|
|
1529
1529
|
"name": "uint256",
|
|
1530
1530
|
"nodeType": "ElementaryTypeName",
|
|
1531
1531
|
"src": "1066:7:25",
|
|
@@ -1539,35 +1539,35 @@
|
|
|
1539
1539
|
],
|
|
1540
1540
|
"src": "1065:9:25"
|
|
1541
1541
|
},
|
|
1542
|
-
"scope":
|
|
1542
|
+
"scope": 68376,
|
|
1543
1543
|
"stateMutability": "pure",
|
|
1544
1544
|
"virtual": false,
|
|
1545
1545
|
"visibility": "internal"
|
|
1546
1546
|
},
|
|
1547
1547
|
{
|
|
1548
|
-
"id":
|
|
1548
|
+
"id": 68375,
|
|
1549
1549
|
"nodeType": "FunctionDefinition",
|
|
1550
1550
|
"src": "1165:192:25",
|
|
1551
1551
|
"nodes": [],
|
|
1552
1552
|
"body": {
|
|
1553
|
-
"id":
|
|
1553
|
+
"id": 68374,
|
|
1554
1554
|
"nodeType": "Block",
|
|
1555
1555
|
"src": "1239:118:25",
|
|
1556
1556
|
"nodes": [],
|
|
1557
1557
|
"statements": [
|
|
1558
1558
|
{
|
|
1559
1559
|
"assignments": [
|
|
1560
|
-
|
|
1560
|
+
68356
|
|
1561
1561
|
],
|
|
1562
1562
|
"declarations": [
|
|
1563
1563
|
{
|
|
1564
1564
|
"constant": false,
|
|
1565
|
-
"id":
|
|
1565
|
+
"id": 68356,
|
|
1566
1566
|
"mutability": "mutable",
|
|
1567
1567
|
"name": "absDelta",
|
|
1568
1568
|
"nameLocation": "1257:8:25",
|
|
1569
1569
|
"nodeType": "VariableDeclaration",
|
|
1570
|
-
"scope":
|
|
1570
|
+
"scope": 68374,
|
|
1571
1571
|
"src": "1249:16:25",
|
|
1572
1572
|
"stateVariable": false,
|
|
1573
1573
|
"storageLocation": "default",
|
|
@@ -1576,7 +1576,7 @@
|
|
|
1576
1576
|
"typeString": "uint256"
|
|
1577
1577
|
},
|
|
1578
1578
|
"typeName": {
|
|
1579
|
-
"id":
|
|
1579
|
+
"id": 68355,
|
|
1580
1580
|
"name": "uint256",
|
|
1581
1581
|
"nodeType": "ElementaryTypeName",
|
|
1582
1582
|
"src": "1249:7:25",
|
|
@@ -1588,15 +1588,15 @@
|
|
|
1588
1588
|
"visibility": "internal"
|
|
1589
1589
|
}
|
|
1590
1590
|
],
|
|
1591
|
-
"id":
|
|
1591
|
+
"id": 68361,
|
|
1592
1592
|
"initialValue": {
|
|
1593
1593
|
"arguments": [
|
|
1594
1594
|
{
|
|
1595
|
-
"id":
|
|
1595
|
+
"id": 68358,
|
|
1596
1596
|
"name": "a",
|
|
1597
1597
|
"nodeType": "Identifier",
|
|
1598
1598
|
"overloadedDeclarations": [],
|
|
1599
|
-
"referencedDeclaration":
|
|
1599
|
+
"referencedDeclaration": 68348,
|
|
1600
1600
|
"src": "1274:1:25",
|
|
1601
1601
|
"typeDescriptions": {
|
|
1602
1602
|
"typeIdentifier": "t_int256",
|
|
@@ -1604,11 +1604,11 @@
|
|
|
1604
1604
|
}
|
|
1605
1605
|
},
|
|
1606
1606
|
{
|
|
1607
|
-
"id":
|
|
1607
|
+
"id": 68359,
|
|
1608
1608
|
"name": "b",
|
|
1609
1609
|
"nodeType": "Identifier",
|
|
1610
1610
|
"overloadedDeclarations": [],
|
|
1611
|
-
"referencedDeclaration":
|
|
1611
|
+
"referencedDeclaration": 68350,
|
|
1612
1612
|
"src": "1277:1:25",
|
|
1613
1613
|
"typeDescriptions": {
|
|
1614
1614
|
"typeIdentifier": "t_int256",
|
|
@@ -1627,21 +1627,21 @@
|
|
|
1627
1627
|
"typeString": "int256"
|
|
1628
1628
|
}
|
|
1629
1629
|
],
|
|
1630
|
-
"id":
|
|
1630
|
+
"id": 68357,
|
|
1631
1631
|
"name": "delta",
|
|
1632
1632
|
"nodeType": "Identifier",
|
|
1633
1633
|
"overloadedDeclarations": [
|
|
1634
|
-
|
|
1635
|
-
|
|
1634
|
+
68287,
|
|
1635
|
+
68323
|
|
1636
1636
|
],
|
|
1637
|
-
"referencedDeclaration":
|
|
1637
|
+
"referencedDeclaration": 68323,
|
|
1638
1638
|
"src": "1268:5:25",
|
|
1639
1639
|
"typeDescriptions": {
|
|
1640
1640
|
"typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$",
|
|
1641
1641
|
"typeString": "function (int256,int256) pure returns (uint256)"
|
|
1642
1642
|
}
|
|
1643
1643
|
},
|
|
1644
|
-
"id":
|
|
1644
|
+
"id": 68360,
|
|
1645
1645
|
"isConstant": false,
|
|
1646
1646
|
"isLValue": false,
|
|
1647
1647
|
"isPure": false,
|
|
@@ -1661,17 +1661,17 @@
|
|
|
1661
1661
|
},
|
|
1662
1662
|
{
|
|
1663
1663
|
"assignments": [
|
|
1664
|
-
|
|
1664
|
+
68363
|
|
1665
1665
|
],
|
|
1666
1666
|
"declarations": [
|
|
1667
1667
|
{
|
|
1668
1668
|
"constant": false,
|
|
1669
|
-
"id":
|
|
1669
|
+
"id": 68363,
|
|
1670
1670
|
"mutability": "mutable",
|
|
1671
1671
|
"name": "absB",
|
|
1672
1672
|
"nameLocation": "1297:4:25",
|
|
1673
1673
|
"nodeType": "VariableDeclaration",
|
|
1674
|
-
"scope":
|
|
1674
|
+
"scope": 68374,
|
|
1675
1675
|
"src": "1289:12:25",
|
|
1676
1676
|
"stateVariable": false,
|
|
1677
1677
|
"storageLocation": "default",
|
|
@@ -1680,7 +1680,7 @@
|
|
|
1680
1680
|
"typeString": "uint256"
|
|
1681
1681
|
},
|
|
1682
1682
|
"typeName": {
|
|
1683
|
-
"id":
|
|
1683
|
+
"id": 68362,
|
|
1684
1684
|
"name": "uint256",
|
|
1685
1685
|
"nodeType": "ElementaryTypeName",
|
|
1686
1686
|
"src": "1289:7:25",
|
|
@@ -1692,15 +1692,15 @@
|
|
|
1692
1692
|
"visibility": "internal"
|
|
1693
1693
|
}
|
|
1694
1694
|
],
|
|
1695
|
-
"id":
|
|
1695
|
+
"id": 68367,
|
|
1696
1696
|
"initialValue": {
|
|
1697
1697
|
"arguments": [
|
|
1698
1698
|
{
|
|
1699
|
-
"id":
|
|
1699
|
+
"id": 68365,
|
|
1700
1700
|
"name": "b",
|
|
1701
1701
|
"nodeType": "Identifier",
|
|
1702
1702
|
"overloadedDeclarations": [],
|
|
1703
|
-
"referencedDeclaration":
|
|
1703
|
+
"referencedDeclaration": 68350,
|
|
1704
1704
|
"src": "1308:1:25",
|
|
1705
1705
|
"typeDescriptions": {
|
|
1706
1706
|
"typeIdentifier": "t_int256",
|
|
@@ -1715,18 +1715,18 @@
|
|
|
1715
1715
|
"typeString": "int256"
|
|
1716
1716
|
}
|
|
1717
1717
|
],
|
|
1718
|
-
"id":
|
|
1718
|
+
"id": 68364,
|
|
1719
1719
|
"name": "abs",
|
|
1720
1720
|
"nodeType": "Identifier",
|
|
1721
1721
|
"overloadedDeclarations": [],
|
|
1722
|
-
"referencedDeclaration":
|
|
1722
|
+
"referencedDeclaration": 68266,
|
|
1723
1723
|
"src": "1304:3:25",
|
|
1724
1724
|
"typeDescriptions": {
|
|
1725
1725
|
"typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$",
|
|
1726
1726
|
"typeString": "function (int256) pure returns (uint256)"
|
|
1727
1727
|
}
|
|
1728
1728
|
},
|
|
1729
|
-
"id":
|
|
1729
|
+
"id": 68366,
|
|
1730
1730
|
"isConstant": false,
|
|
1731
1731
|
"isLValue": false,
|
|
1732
1732
|
"isPure": false,
|
|
@@ -1750,7 +1750,7 @@
|
|
|
1750
1750
|
"typeIdentifier": "t_uint256",
|
|
1751
1751
|
"typeString": "uint256"
|
|
1752
1752
|
},
|
|
1753
|
-
"id":
|
|
1753
|
+
"id": 68372,
|
|
1754
1754
|
"isConstant": false,
|
|
1755
1755
|
"isLValue": false,
|
|
1756
1756
|
"isPure": false,
|
|
@@ -1760,17 +1760,17 @@
|
|
|
1760
1760
|
"typeIdentifier": "t_uint256",
|
|
1761
1761
|
"typeString": "uint256"
|
|
1762
1762
|
},
|
|
1763
|
-
"id":
|
|
1763
|
+
"id": 68370,
|
|
1764
1764
|
"isConstant": false,
|
|
1765
1765
|
"isLValue": false,
|
|
1766
1766
|
"isPure": false,
|
|
1767
1767
|
"lValueRequested": false,
|
|
1768
1768
|
"leftExpression": {
|
|
1769
|
-
"id":
|
|
1769
|
+
"id": 68368,
|
|
1770
1770
|
"name": "absDelta",
|
|
1771
1771
|
"nodeType": "Identifier",
|
|
1772
1772
|
"overloadedDeclarations": [],
|
|
1773
|
-
"referencedDeclaration":
|
|
1773
|
+
"referencedDeclaration": 68356,
|
|
1774
1774
|
"src": "1328:8:25",
|
|
1775
1775
|
"typeDescriptions": {
|
|
1776
1776
|
"typeIdentifier": "t_uint256",
|
|
@@ -1781,7 +1781,7 @@
|
|
|
1781
1781
|
"operator": "*",
|
|
1782
1782
|
"rightExpression": {
|
|
1783
1783
|
"hexValue": "31653138",
|
|
1784
|
-
"id":
|
|
1784
|
+
"id": 68369,
|
|
1785
1785
|
"isConstant": false,
|
|
1786
1786
|
"isLValue": false,
|
|
1787
1787
|
"isPure": true,
|
|
@@ -1804,11 +1804,11 @@
|
|
|
1804
1804
|
"nodeType": "BinaryOperation",
|
|
1805
1805
|
"operator": "/",
|
|
1806
1806
|
"rightExpression": {
|
|
1807
|
-
"id":
|
|
1807
|
+
"id": 68371,
|
|
1808
1808
|
"name": "absB",
|
|
1809
1809
|
"nodeType": "Identifier",
|
|
1810
1810
|
"overloadedDeclarations": [],
|
|
1811
|
-
"referencedDeclaration":
|
|
1811
|
+
"referencedDeclaration": 68363,
|
|
1812
1812
|
"src": "1346:4:25",
|
|
1813
1813
|
"typeDescriptions": {
|
|
1814
1814
|
"typeIdentifier": "t_uint256",
|
|
@@ -1821,8 +1821,8 @@
|
|
|
1821
1821
|
"typeString": "uint256"
|
|
1822
1822
|
}
|
|
1823
1823
|
},
|
|
1824
|
-
"functionReturnParameters":
|
|
1825
|
-
"id":
|
|
1824
|
+
"functionReturnParameters": 68354,
|
|
1825
|
+
"id": 68373,
|
|
1826
1826
|
"nodeType": "Return",
|
|
1827
1827
|
"src": "1321:29:25"
|
|
1828
1828
|
}
|
|
@@ -1834,17 +1834,17 @@
|
|
|
1834
1834
|
"name": "percentDelta",
|
|
1835
1835
|
"nameLocation": "1174:12:25",
|
|
1836
1836
|
"parameters": {
|
|
1837
|
-
"id":
|
|
1837
|
+
"id": 68351,
|
|
1838
1838
|
"nodeType": "ParameterList",
|
|
1839
1839
|
"parameters": [
|
|
1840
1840
|
{
|
|
1841
1841
|
"constant": false,
|
|
1842
|
-
"id":
|
|
1842
|
+
"id": 68348,
|
|
1843
1843
|
"mutability": "mutable",
|
|
1844
1844
|
"name": "a",
|
|
1845
1845
|
"nameLocation": "1194:1:25",
|
|
1846
1846
|
"nodeType": "VariableDeclaration",
|
|
1847
|
-
"scope":
|
|
1847
|
+
"scope": 68375,
|
|
1848
1848
|
"src": "1187:8:25",
|
|
1849
1849
|
"stateVariable": false,
|
|
1850
1850
|
"storageLocation": "default",
|
|
@@ -1853,7 +1853,7 @@
|
|
|
1853
1853
|
"typeString": "int256"
|
|
1854
1854
|
},
|
|
1855
1855
|
"typeName": {
|
|
1856
|
-
"id":
|
|
1856
|
+
"id": 68347,
|
|
1857
1857
|
"name": "int256",
|
|
1858
1858
|
"nodeType": "ElementaryTypeName",
|
|
1859
1859
|
"src": "1187:6:25",
|
|
@@ -1866,12 +1866,12 @@
|
|
|
1866
1866
|
},
|
|
1867
1867
|
{
|
|
1868
1868
|
"constant": false,
|
|
1869
|
-
"id":
|
|
1869
|
+
"id": 68350,
|
|
1870
1870
|
"mutability": "mutable",
|
|
1871
1871
|
"name": "b",
|
|
1872
1872
|
"nameLocation": "1204:1:25",
|
|
1873
1873
|
"nodeType": "VariableDeclaration",
|
|
1874
|
-
"scope":
|
|
1874
|
+
"scope": 68375,
|
|
1875
1875
|
"src": "1197:8:25",
|
|
1876
1876
|
"stateVariable": false,
|
|
1877
1877
|
"storageLocation": "default",
|
|
@@ -1880,7 +1880,7 @@
|
|
|
1880
1880
|
"typeString": "int256"
|
|
1881
1881
|
},
|
|
1882
1882
|
"typeName": {
|
|
1883
|
-
"id":
|
|
1883
|
+
"id": 68349,
|
|
1884
1884
|
"name": "int256",
|
|
1885
1885
|
"nodeType": "ElementaryTypeName",
|
|
1886
1886
|
"src": "1197:6:25",
|
|
@@ -1895,17 +1895,17 @@
|
|
|
1895
1895
|
"src": "1186:20:25"
|
|
1896
1896
|
},
|
|
1897
1897
|
"returnParameters": {
|
|
1898
|
-
"id":
|
|
1898
|
+
"id": 68354,
|
|
1899
1899
|
"nodeType": "ParameterList",
|
|
1900
1900
|
"parameters": [
|
|
1901
1901
|
{
|
|
1902
1902
|
"constant": false,
|
|
1903
|
-
"id":
|
|
1903
|
+
"id": 68353,
|
|
1904
1904
|
"mutability": "mutable",
|
|
1905
1905
|
"name": "",
|
|
1906
1906
|
"nameLocation": "-1:-1:-1",
|
|
1907
1907
|
"nodeType": "VariableDeclaration",
|
|
1908
|
-
"scope":
|
|
1908
|
+
"scope": 68375,
|
|
1909
1909
|
"src": "1230:7:25",
|
|
1910
1910
|
"stateVariable": false,
|
|
1911
1911
|
"storageLocation": "default",
|
|
@@ -1914,7 +1914,7 @@
|
|
|
1914
1914
|
"typeString": "uint256"
|
|
1915
1915
|
},
|
|
1916
1916
|
"typeName": {
|
|
1917
|
-
"id":
|
|
1917
|
+
"id": 68352,
|
|
1918
1918
|
"name": "uint256",
|
|
1919
1919
|
"nodeType": "ElementaryTypeName",
|
|
1920
1920
|
"src": "1230:7:25",
|
|
@@ -1928,7 +1928,7 @@
|
|
|
1928
1928
|
],
|
|
1929
1929
|
"src": "1229:9:25"
|
|
1930
1930
|
},
|
|
1931
|
-
"scope":
|
|
1931
|
+
"scope": 68376,
|
|
1932
1932
|
"stateMutability": "pure",
|
|
1933
1933
|
"virtual": false,
|
|
1934
1934
|
"visibility": "internal"
|
|
@@ -1941,11 +1941,11 @@
|
|
|
1941
1941
|
"contractKind": "library",
|
|
1942
1942
|
"fullyImplemented": true,
|
|
1943
1943
|
"linearizedBaseContracts": [
|
|
1944
|
-
|
|
1944
|
+
68376
|
|
1945
1945
|
],
|
|
1946
1946
|
"name": "stdMath",
|
|
1947
1947
|
"nameLocation": "73:7:25",
|
|
1948
|
-
"scope":
|
|
1948
|
+
"scope": 68377,
|
|
1949
1949
|
"usedErrors": []
|
|
1950
1950
|
}
|
|
1951
1951
|
],
|