@superfluid-finance/ethereum-contracts 1.7.2-dev.09f3be3.0 → 1.7.2-dev.36bfd5f.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.
Files changed (173) hide show
  1. package/artifacts/contracts/apps/SuperfluidLoaderLibrary.sol/SuperfluidLoaderLibrary.json +2 -2
  2. package/build/contracts/AccessControl.json +1 -1
  3. package/build/contracts/AccessControlEnumerable.json +1 -1
  4. package/build/contracts/Address.json +1 -1
  5. package/build/contracts/AgreementBase.json +18 -18
  6. package/build/contracts/AgreementLibrary.json +165 -165
  7. package/build/contracts/BaseRelayRecipient.json +57 -57
  8. package/build/contracts/BatchLiquidator.json +382 -382
  9. package/build/contracts/BatchOperation.json +614 -614
  10. package/build/contracts/CFAv1Forwarder.json +1250 -1250
  11. package/build/contracts/CFAv1ForwarderDeployerLibrary.json +2384 -2384
  12. package/build/contracts/CFAv1Library.json +389 -389
  13. package/build/contracts/CallUtils.json +198 -198
  14. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1525 -1525
  15. package/build/contracts/ConstantFlowAgreementV1.json +1087 -1087
  16. package/build/contracts/ConstantInflowNFT.json +402 -402
  17. package/build/contracts/ConstantOutflowNFT.json +661 -661
  18. package/build/contracts/Context.json +1 -1
  19. package/build/contracts/ContextDefinitions.json +614 -614
  20. package/build/contracts/CustomSuperTokenBase.json +19 -19
  21. package/build/contracts/ERC165.json +1 -1
  22. package/build/contracts/ERC1820Implementer.json +1 -1
  23. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  24. package/build/contracts/ERC20.json +1 -1
  25. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  26. package/build/contracts/ERC777Helper.json +384 -384
  27. package/build/contracts/ERC777RecipientDrainingGas.json +863 -863
  28. package/build/contracts/ERC777RecipientReverting.json +863 -863
  29. package/build/contracts/EnumerableSet.json +1 -1
  30. package/build/contracts/EventsEmitter.json +43 -43
  31. package/build/contracts/ExclusiveInflowTestApp.json +1525 -1525
  32. package/build/contracts/FixedSizeData.json +200 -200
  33. package/build/contracts/FlowExchangeTestApp.json +1526 -1526
  34. package/build/contracts/FlowNFTBase.json +1280 -1280
  35. package/build/contracts/FlowOperatorDefinitions.json +614 -614
  36. package/build/contracts/ForwarderBase.json +190 -190
  37. package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
  38. package/build/contracts/IAccessControl.json +1 -1
  39. package/build/contracts/IAccessControlEnumerable.json +1 -1
  40. package/build/contracts/IConstantFlowAgreementV1.json +677 -677
  41. package/build/contracts/IConstantInflowNFT.json +54 -54
  42. package/build/contracts/IConstantOutflowNFT.json +107 -107
  43. package/build/contracts/IDAv1Forwarder.json +912 -912
  44. package/build/contracts/IDAv1ForwarderDeployerLibrary.json +2384 -2384
  45. package/build/contracts/IDAv1Library.json +430 -430
  46. package/build/contracts/IERC165.json +1 -1
  47. package/build/contracts/IERC1820Implementer.json +1 -1
  48. package/build/contracts/IERC1820Registry.json +1 -1
  49. package/build/contracts/IERC20.json +1 -1
  50. package/build/contracts/IERC20Metadata.json +1 -1
  51. package/build/contracts/IERC20Permit.json +1 -1
  52. package/build/contracts/IERC721.json +1 -1
  53. package/build/contracts/IERC721Metadata.json +1 -1
  54. package/build/contracts/IERC777.json +1 -1
  55. package/build/contracts/IERC777Recipient.json +1 -1
  56. package/build/contracts/IERC777Sender.json +1 -1
  57. package/build/contracts/IFlowNFTBase.json +115 -115
  58. package/build/contracts/IInstantDistributionAgreementV1.json +667 -667
  59. package/build/contracts/IMultiSigWallet.json +31 -31
  60. package/build/contracts/IPoolAdminNFT.json +7 -7
  61. package/build/contracts/IPoolMemberNFT.json +7 -7
  62. package/build/contracts/IPureSuperToken.json +62 -62
  63. package/build/contracts/IPureSuperTokenCustom.json +62 -62
  64. package/build/contracts/IRelayRecipient.json +27 -27
  65. package/build/contracts/IResolver.json +38 -38
  66. package/build/contracts/ISETH.json +67 -67
  67. package/build/contracts/ISETHCustom.json +67 -67
  68. package/build/contracts/ISuperAgreement.json +50 -50
  69. package/build/contracts/ISuperApp.json +191 -191
  70. package/build/contracts/ISuperToken.json +695 -695
  71. package/build/contracts/ISuperTokenFactory.json +225 -225
  72. package/build/contracts/ISuperfluid.json +904 -904
  73. package/build/contracts/ISuperfluidGovernance.json +251 -251
  74. package/build/contracts/ISuperfluidToken.json +407 -407
  75. package/build/contracts/ITOGAv1.json +1346 -1346
  76. package/build/contracts/ITOGAv2.json +1346 -1346
  77. package/build/contracts/ITOGAv3.json +1346 -1346
  78. package/build/contracts/Initializable.json +1 -1
  79. package/build/contracts/InstantDistributionAgreementV1.json +594 -594
  80. package/build/contracts/Math.json +1 -1
  81. package/build/contracts/NonClosableOutflowTestApp.json +1526 -1526
  82. package/build/contracts/Ownable.json +1 -1
  83. package/build/contracts/Proxy.json +1 -1
  84. package/build/contracts/ProxyDeployerLibrary.json +2382 -2382
  85. package/build/contracts/PureSuperToken.json +106 -106
  86. package/build/contracts/Resolver.json +98 -98
  87. package/build/contracts/SETHProxy.json +224 -224
  88. package/build/contracts/SafeCast.json +1 -1
  89. package/build/contracts/SafeERC20.json +1 -1
  90. package/build/contracts/SafeGasLibrary.json +51 -51
  91. package/build/contracts/SafeMath.json +1 -1
  92. package/build/contracts/SelfDeletingFlowTestApp.json +1525 -1525
  93. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  94. package/build/contracts/StreamRedirector.json +704 -704
  95. package/build/contracts/Strings.json +1 -1
  96. package/build/contracts/SuperAppBase.json +42 -42
  97. package/build/contracts/SuperAppBaseFlow.json +138 -138
  98. package/build/contracts/SuperAppDefinitions.json +614 -614
  99. package/build/contracts/SuperToken.json +2714 -2714
  100. package/build/contracts/SuperTokenDeployerLibrary.json +2383 -2383
  101. package/build/contracts/SuperTokenFactory.json +1347 -1347
  102. package/build/contracts/SuperTokenFactoryBase.json +1329 -1329
  103. package/build/contracts/SuperTokenV1Library.json +1483 -1483
  104. package/build/contracts/SuperUpgrader.json +439 -439
  105. package/build/contracts/Superfluid.json +5196 -5196
  106. package/build/contracts/SuperfluidCFAv1DeployerLibrary.json +2383 -2383
  107. package/build/contracts/SuperfluidFrameworkDeployer.json +1260 -1260
  108. package/build/contracts/SuperfluidFrameworkDeploymentSteps.json +2382 -2382
  109. package/build/contracts/SuperfluidGovDeployerLibrary.json +2383 -2383
  110. package/build/contracts/SuperfluidGovernanceBase.json +2449 -2449
  111. package/build/contracts/SuperfluidGovernanceConfigs.json +614 -614
  112. package/build/contracts/SuperfluidGovernanceII.json +155 -155
  113. package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
  114. package/build/contracts/SuperfluidHostDeployerLibrary.json +2382 -2382
  115. package/build/contracts/SuperfluidIDAv1DeployerLibrary.json +2383 -2383
  116. package/build/contracts/SuperfluidLoader.json +207 -207
  117. package/build/contracts/SuperfluidLoaderDeployerLibrary.json +2384 -2384
  118. package/build/contracts/SuperfluidLoaderLibrary.json +485 -351
  119. package/build/contracts/SuperfluidNFTLogicDeployerLibrary.json +2387 -2387
  120. package/build/contracts/SuperfluidPeripheryDeployerLibrary.json +2385 -2385
  121. package/build/contracts/SuperfluidToken.json +1423 -1423
  122. package/build/contracts/TOGA.json +1360 -1360
  123. package/build/contracts/TestGovernance.json +250 -250
  124. package/build/contracts/TestResolver.json +47 -47
  125. package/build/contracts/TestToken.json +102 -102
  126. package/build/contracts/TokenDeployerLibrary.json +2384 -2384
  127. package/build/contracts/TokenInfo.json +32 -32
  128. package/build/contracts/UUPSProxiable.json +139 -139
  129. package/build/contracts/UUPSProxy.json +81 -81
  130. package/build/contracts/UUPSUtils.json +37 -37
  131. package/build/contracts-sizes.txt +15 -15
  132. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.d.ts +1 -1
  133. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.d.ts.map +1 -1
  134. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.js +1 -1
  135. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.js.map +1 -1
  136. package/contracts/apps/SuperfluidLoaderLibrary.sol +4 -1
  137. package/package.json +3 -4
  138. package/ops-scripts/.eslintrc.js +0 -15
  139. package/ops-scripts/artifacts/ERC1820Registry.json +0 -5
  140. package/ops-scripts/deploy-aux-contracts.js +0 -99
  141. package/ops-scripts/deploy-deterministically.js +0 -169
  142. package/ops-scripts/deploy-erc1820.js +0 -83
  143. package/ops-scripts/deploy-framework.js +0 -895
  144. package/ops-scripts/deploy-mfa.ts +0 -27
  145. package/ops-scripts/deploy-super-token.js +0 -206
  146. package/ops-scripts/deploy-test-environment.js +0 -98
  147. package/ops-scripts/deploy-test-token.js +0 -86
  148. package/ops-scripts/deploy-unlisted-pure-super-token.js +0 -69
  149. package/ops-scripts/deploy-unlisted-super-token.js +0 -68
  150. package/ops-scripts/gov-create-new-app-registration-key.js +0 -75
  151. package/ops-scripts/gov-create-new-factory-registration.js +0 -49
  152. package/ops-scripts/gov-set-3Ps-config.js +0 -67
  153. package/ops-scripts/gov-set-reward-address.js +0 -60
  154. package/ops-scripts/gov-set-token-min-deposit.js +0 -53
  155. package/ops-scripts/gov-set-trusted-forwarder.js +0 -80
  156. package/ops-scripts/gov-transfer-framework-ownership.js +0 -90
  157. package/ops-scripts/gov-upgrade-governance.js +0 -87
  158. package/ops-scripts/gov-upgrade-super-token-logic.js +0 -193
  159. package/ops-scripts/info-inspect-account.js +0 -118
  160. package/ops-scripts/info-list-apps.js +0 -55
  161. package/ops-scripts/info-print-contract-addresses.js +0 -136
  162. package/ops-scripts/info-scan-deployments.js +0 -63
  163. package/ops-scripts/info-show-protocol.js +0 -400
  164. package/ops-scripts/libs/common.js +0 -436
  165. package/ops-scripts/libs/getConfig.js +0 -289
  166. package/ops-scripts/libs/truffleScriptRunnerFactory.js +0 -97
  167. package/ops-scripts/resolver-list-super-token.js +0 -73
  168. package/ops-scripts/resolver-register-token.js +0 -72
  169. package/ops-scripts/resolver-reset-deployment.js +0 -54
  170. package/ops-scripts/resolver-set-key-value.js +0 -69
  171. package/ops-scripts/resolver-unlist-super-token.js +0 -61
  172. package/ops-scripts/tmp-trigger-token-transfer.js +0 -33
  173. package/ops-scripts/validate-nft-addresses.ts +0 -49
@@ -15,15 +15,15 @@
15
15
  "absolutePath": "project:/contracts/libs/FixedSizeData.sol",
16
16
  "exportedSymbols": {
17
17
  "FixedSizeData": [
18
- 26212
18
+ 26223
19
19
  ]
20
20
  },
21
- "id": 26213,
21
+ "id": 26224,
22
22
  "license": "AGPLv3",
23
23
  "nodeType": "SourceUnit",
24
24
  "nodes": [
25
25
  {
26
- "id": 26079,
26
+ "id": 26090,
27
27
  "literals": [
28
28
  "solidity",
29
29
  "0.8",
@@ -39,15 +39,15 @@
39
39
  "contractDependencies": [],
40
40
  "contractKind": "library",
41
41
  "documentation": {
42
- "id": 26080,
42
+ "id": 26091,
43
43
  "nodeType": "StructuredDocumentation",
44
44
  "src": "60:550:70",
45
45
  "text": " @title Utilities for fixed size data in storage\n @author Superfluid\n When using solidity dynamic array, first word is used to store the length\n of the array. For use cases that the length doesn't change, it is better\n to use a fixed size data premitive.\n To use this library:\n - The pointer to the storage is `slot`, the user could use `keccak256(abi.encode(...))`\n scheme to create collision-free slot ID for locating the data.\n - To load data, or erase data and get all gas refund, data length is always required."
46
46
  },
47
47
  "fullyImplemented": true,
48
- "id": 26212,
48
+ "id": 26223,
49
49
  "linearizedBaseContracts": [
50
- 26212
50
+ 26223
51
51
  ],
52
52
  "name": "FixedSizeData",
53
53
  "nameLocation": "619:13:70",
@@ -55,29 +55,29 @@
55
55
  "nodes": [
56
56
  {
57
57
  "body": {
58
- "id": 26109,
58
+ "id": 26120,
59
59
  "nodeType": "Block",
60
60
  "src": "766:148:70",
61
61
  "statements": [
62
62
  {
63
63
  "body": {
64
- "id": 26107,
64
+ "id": 26118,
65
65
  "nodeType": "Block",
66
66
  "src": "815:93:70",
67
67
  "statements": [
68
68
  {
69
69
  "assignments": [
70
- 26101
70
+ 26112
71
71
  ],
72
72
  "declarations": [
73
73
  {
74
74
  "constant": false,
75
- "id": 26101,
75
+ "id": 26112,
76
76
  "mutability": "mutable",
77
77
  "name": "d",
78
78
  "nameLocation": "837:1:70",
79
79
  "nodeType": "VariableDeclaration",
80
- "scope": 26107,
80
+ "scope": 26118,
81
81
  "src": "829:9:70",
82
82
  "stateVariable": false,
83
83
  "storageLocation": "default",
@@ -86,7 +86,7 @@
86
86
  "typeString": "bytes32"
87
87
  },
88
88
  "typeName": {
89
- "id": 26100,
89
+ "id": 26111,
90
90
  "name": "bytes32",
91
91
  "nodeType": "ElementaryTypeName",
92
92
  "src": "829:7:70",
@@ -98,27 +98,27 @@
98
98
  "visibility": "internal"
99
99
  }
100
100
  ],
101
- "id": 26105,
101
+ "id": 26116,
102
102
  "initialValue": {
103
103
  "baseExpression": {
104
- "id": 26102,
104
+ "id": 26113,
105
105
  "name": "data",
106
106
  "nodeType": "Identifier",
107
107
  "overloadedDeclarations": [],
108
- "referencedDeclaration": 26086,
108
+ "referencedDeclaration": 26097,
109
109
  "src": "841:4:70",
110
110
  "typeDescriptions": {
111
111
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
112
112
  "typeString": "bytes32[] memory"
113
113
  }
114
114
  },
115
- "id": 26104,
115
+ "id": 26115,
116
116
  "indexExpression": {
117
- "id": 26103,
117
+ "id": 26114,
118
118
  "name": "j",
119
119
  "nodeType": "Identifier",
120
120
  "overloadedDeclarations": [],
121
- "referencedDeclaration": 26090,
121
+ "referencedDeclaration": 26101,
122
122
  "src": "846:1:70",
123
123
  "typeDescriptions": {
124
124
  "typeIdentifier": "t_uint256",
@@ -190,28 +190,28 @@
190
190
  "evmVersion": "paris",
191
191
  "externalReferences": [
192
192
  {
193
- "declaration": 26101,
193
+ "declaration": 26112,
194
194
  "isOffset": false,
195
195
  "isSlot": false,
196
196
  "src": "894:1:70",
197
197
  "valueSize": 1
198
198
  },
199
199
  {
200
- "declaration": 26090,
200
+ "declaration": 26101,
201
201
  "isOffset": false,
202
202
  "isSlot": false,
203
203
  "src": "890:1:70",
204
204
  "valueSize": 1
205
205
  },
206
206
  {
207
- "declaration": 26083,
207
+ "declaration": 26094,
208
208
  "isOffset": false,
209
209
  "isSlot": false,
210
210
  "src": "884:4:70",
211
211
  "valueSize": 1
212
212
  }
213
213
  ],
214
- "id": 26106,
214
+ "id": 26117,
215
215
  "nodeType": "InlineAssembly",
216
216
  "src": "862:36:70"
217
217
  }
@@ -222,17 +222,17 @@
222
222
  "typeIdentifier": "t_uint256",
223
223
  "typeString": "uint256"
224
224
  },
225
- "id": 26096,
225
+ "id": 26107,
226
226
  "isConstant": false,
227
227
  "isLValue": false,
228
228
  "isPure": false,
229
229
  "lValueRequested": false,
230
230
  "leftExpression": {
231
- "id": 26093,
231
+ "id": 26104,
232
232
  "name": "j",
233
233
  "nodeType": "Identifier",
234
234
  "overloadedDeclarations": [],
235
- "referencedDeclaration": 26090,
235
+ "referencedDeclaration": 26101,
236
236
  "src": "793:1:70",
237
237
  "typeDescriptions": {
238
238
  "typeIdentifier": "t_uint256",
@@ -243,18 +243,18 @@
243
243
  "operator": "<",
244
244
  "rightExpression": {
245
245
  "expression": {
246
- "id": 26094,
246
+ "id": 26105,
247
247
  "name": "data",
248
248
  "nodeType": "Identifier",
249
249
  "overloadedDeclarations": [],
250
- "referencedDeclaration": 26086,
250
+ "referencedDeclaration": 26097,
251
251
  "src": "797:4:70",
252
252
  "typeDescriptions": {
253
253
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
254
254
  "typeString": "bytes32[] memory"
255
255
  }
256
256
  },
257
- "id": 26095,
257
+ "id": 26106,
258
258
  "isConstant": false,
259
259
  "isLValue": false,
260
260
  "isPure": false,
@@ -274,20 +274,20 @@
274
274
  "typeString": "bool"
275
275
  }
276
276
  },
277
- "id": 26108,
277
+ "id": 26119,
278
278
  "initializationExpression": {
279
279
  "assignments": [
280
- 26090
280
+ 26101
281
281
  ],
282
282
  "declarations": [
283
283
  {
284
284
  "constant": false,
285
- "id": 26090,
285
+ "id": 26101,
286
286
  "mutability": "mutable",
287
287
  "name": "j",
288
288
  "nameLocation": "786:1:70",
289
289
  "nodeType": "VariableDeclaration",
290
- "scope": 26108,
290
+ "scope": 26119,
291
291
  "src": "781:6:70",
292
292
  "stateVariable": false,
293
293
  "storageLocation": "default",
@@ -296,7 +296,7 @@
296
296
  "typeString": "uint256"
297
297
  },
298
298
  "typeName": {
299
- "id": 26089,
299
+ "id": 26100,
300
300
  "name": "uint",
301
301
  "nodeType": "ElementaryTypeName",
302
302
  "src": "781:4:70",
@@ -308,10 +308,10 @@
308
308
  "visibility": "internal"
309
309
  }
310
310
  ],
311
- "id": 26092,
311
+ "id": 26103,
312
312
  "initialValue": {
313
313
  "hexValue": "30",
314
- "id": 26091,
314
+ "id": 26102,
315
315
  "isConstant": false,
316
316
  "isLValue": false,
317
317
  "isPure": true,
@@ -330,7 +330,7 @@
330
330
  },
331
331
  "loopExpression": {
332
332
  "expression": {
333
- "id": 26098,
333
+ "id": 26109,
334
334
  "isConstant": false,
335
335
  "isLValue": false,
336
336
  "isPure": false,
@@ -340,11 +340,11 @@
340
340
  "prefix": true,
341
341
  "src": "810:3:70",
342
342
  "subExpression": {
343
- "id": 26097,
343
+ "id": 26108,
344
344
  "name": "j",
345
345
  "nodeType": "Identifier",
346
346
  "overloadedDeclarations": [],
347
- "referencedDeclaration": 26090,
347
+ "referencedDeclaration": 26101,
348
348
  "src": "812:1:70",
349
349
  "typeDescriptions": {
350
350
  "typeIdentifier": "t_uint256",
@@ -356,7 +356,7 @@
356
356
  "typeString": "uint256"
357
357
  }
358
358
  },
359
- "id": 26099,
359
+ "id": 26110,
360
360
  "nodeType": "ExpressionStatement",
361
361
  "src": "810:3:70"
362
362
  },
@@ -366,12 +366,12 @@
366
366
  ]
367
367
  },
368
368
  "documentation": {
369
- "id": 26081,
369
+ "id": 26092,
370
370
  "nodeType": "StructuredDocumentation",
371
371
  "src": "640:56:70",
372
372
  "text": " @dev Store data to the slot at `slot`"
373
373
  },
374
- "id": 26110,
374
+ "id": 26121,
375
375
  "implemented": true,
376
376
  "kind": "function",
377
377
  "modifiers": [],
@@ -379,17 +379,17 @@
379
379
  "nameLocation": "710:9:70",
380
380
  "nodeType": "FunctionDefinition",
381
381
  "parameters": {
382
- "id": 26087,
382
+ "id": 26098,
383
383
  "nodeType": "ParameterList",
384
384
  "parameters": [
385
385
  {
386
386
  "constant": false,
387
- "id": 26083,
387
+ "id": 26094,
388
388
  "mutability": "mutable",
389
389
  "name": "slot",
390
390
  "nameLocation": "728:4:70",
391
391
  "nodeType": "VariableDeclaration",
392
- "scope": 26110,
392
+ "scope": 26121,
393
393
  "src": "720:12:70",
394
394
  "stateVariable": false,
395
395
  "storageLocation": "default",
@@ -398,7 +398,7 @@
398
398
  "typeString": "bytes32"
399
399
  },
400
400
  "typeName": {
401
- "id": 26082,
401
+ "id": 26093,
402
402
  "name": "bytes32",
403
403
  "nodeType": "ElementaryTypeName",
404
404
  "src": "720:7:70",
@@ -411,12 +411,12 @@
411
411
  },
412
412
  {
413
413
  "constant": false,
414
- "id": 26086,
414
+ "id": 26097,
415
415
  "mutability": "mutable",
416
416
  "name": "data",
417
417
  "nameLocation": "751:4:70",
418
418
  "nodeType": "VariableDeclaration",
419
- "scope": 26110,
419
+ "scope": 26121,
420
420
  "src": "734:21:70",
421
421
  "stateVariable": false,
422
422
  "storageLocation": "memory",
@@ -426,7 +426,7 @@
426
426
  },
427
427
  "typeName": {
428
428
  "baseType": {
429
- "id": 26084,
429
+ "id": 26095,
430
430
  "name": "bytes32",
431
431
  "nodeType": "ElementaryTypeName",
432
432
  "src": "734:7:70",
@@ -435,7 +435,7 @@
435
435
  "typeString": "bytes32"
436
436
  }
437
437
  },
438
- "id": 26085,
438
+ "id": 26096,
439
439
  "nodeType": "ArrayTypeName",
440
440
  "src": "734:9:70",
441
441
  "typeDescriptions": {
@@ -449,12 +449,12 @@
449
449
  "src": "719:37:70"
450
450
  },
451
451
  "returnParameters": {
452
- "id": 26088,
452
+ "id": 26099,
453
453
  "nodeType": "ParameterList",
454
454
  "parameters": [],
455
455
  "src": "766:0:70"
456
456
  },
457
- "scope": 26212,
457
+ "scope": 26223,
458
458
  "src": "701:213:70",
459
459
  "stateMutability": "nonpayable",
460
460
  "virtual": false,
@@ -462,29 +462,29 @@
462
462
  },
463
463
  {
464
464
  "body": {
465
- "id": 26146,
465
+ "id": 26157,
466
466
  "nodeType": "Block",
467
467
  "src": "997:205:70",
468
468
  "statements": [
469
469
  {
470
470
  "body": {
471
- "id": 26142,
471
+ "id": 26153,
472
472
  "nodeType": "Block",
473
473
  "src": "1045:129:70",
474
474
  "statements": [
475
475
  {
476
476
  "assignments": [
477
- 26130
477
+ 26141
478
478
  ],
479
479
  "declarations": [
480
480
  {
481
481
  "constant": false,
482
- "id": 26130,
482
+ "id": 26141,
483
483
  "mutability": "mutable",
484
484
  "name": "d",
485
485
  "nameLocation": "1067:1:70",
486
486
  "nodeType": "VariableDeclaration",
487
- "scope": 26142,
487
+ "scope": 26153,
488
488
  "src": "1059:9:70",
489
489
  "stateVariable": false,
490
490
  "storageLocation": "default",
@@ -493,7 +493,7 @@
493
493
  "typeString": "bytes32"
494
494
  },
495
495
  "typeName": {
496
- "id": 26129,
496
+ "id": 26140,
497
497
  "name": "bytes32",
498
498
  "nodeType": "ElementaryTypeName",
499
499
  "src": "1059:7:70",
@@ -505,7 +505,7 @@
505
505
  "visibility": "internal"
506
506
  }
507
507
  ],
508
- "id": 26131,
508
+ "id": 26142,
509
509
  "nodeType": "VariableDeclarationStatement",
510
510
  "src": "1059:9:70"
511
511
  },
@@ -562,28 +562,28 @@
562
562
  "evmVersion": "paris",
563
563
  "externalReferences": [
564
564
  {
565
- "declaration": 26130,
565
+ "declaration": 26141,
566
566
  "isOffset": false,
567
567
  "isSlot": false,
568
568
  "src": "1093:1:70",
569
569
  "valueSize": 1
570
570
  },
571
571
  {
572
- "declaration": 26120,
572
+ "declaration": 26131,
573
573
  "isOffset": false,
574
574
  "isSlot": false,
575
575
  "src": "1114:1:70",
576
576
  "valueSize": 1
577
577
  },
578
578
  {
579
- "declaration": 26112,
579
+ "declaration": 26123,
580
580
  "isOffset": false,
581
581
  "isSlot": false,
582
582
  "src": "1108:4:70",
583
583
  "valueSize": 1
584
584
  }
585
585
  ],
586
- "id": 26132,
586
+ "id": 26143,
587
587
  "nodeType": "InlineAssembly",
588
588
  "src": "1082:37:70"
589
589
  },
@@ -593,7 +593,7 @@
593
593
  "typeIdentifier": "t_uint256",
594
594
  "typeString": "uint256"
595
595
  },
596
- "id": 26138,
596
+ "id": 26149,
597
597
  "isConstant": false,
598
598
  "isLValue": false,
599
599
  "isPure": false,
@@ -601,11 +601,11 @@
601
601
  "leftExpression": {
602
602
  "arguments": [
603
603
  {
604
- "id": 26135,
604
+ "id": 26146,
605
605
  "name": "d",
606
606
  "nodeType": "Identifier",
607
607
  "overloadedDeclarations": [],
608
- "referencedDeclaration": 26130,
608
+ "referencedDeclaration": 26141,
609
609
  "src": "1144:1:70",
610
610
  "typeDescriptions": {
611
611
  "typeIdentifier": "t_bytes32",
@@ -620,7 +620,7 @@
620
620
  "typeString": "bytes32"
621
621
  }
622
622
  ],
623
- "id": 26134,
623
+ "id": 26145,
624
624
  "isConstant": false,
625
625
  "isLValue": false,
626
626
  "isPure": true,
@@ -632,14 +632,14 @@
632
632
  "typeString": "type(uint256)"
633
633
  },
634
634
  "typeName": {
635
- "id": 26133,
635
+ "id": 26144,
636
636
  "name": "uint256",
637
637
  "nodeType": "ElementaryTypeName",
638
638
  "src": "1136:7:70",
639
639
  "typeDescriptions": {}
640
640
  }
641
641
  },
642
- "id": 26136,
642
+ "id": 26147,
643
643
  "isConstant": false,
644
644
  "isLValue": false,
645
645
  "isPure": false,
@@ -659,7 +659,7 @@
659
659
  "operator": ">",
660
660
  "rightExpression": {
661
661
  "hexValue": "30",
662
- "id": 26137,
662
+ "id": 26148,
663
663
  "isConstant": false,
664
664
  "isLValue": false,
665
665
  "isPure": true,
@@ -679,13 +679,13 @@
679
679
  "typeString": "bool"
680
680
  }
681
681
  },
682
- "id": 26141,
682
+ "id": 26152,
683
683
  "nodeType": "IfStatement",
684
684
  "src": "1132:31:70",
685
685
  "trueBody": {
686
686
  "expression": {
687
687
  "hexValue": "74727565",
688
- "id": 26139,
688
+ "id": 26150,
689
689
  "isConstant": false,
690
690
  "isLValue": false,
691
691
  "isPure": true,
@@ -699,8 +699,8 @@
699
699
  },
700
700
  "value": "true"
701
701
  },
702
- "functionReturnParameters": 26118,
703
- "id": 26140,
702
+ "functionReturnParameters": 26129,
703
+ "id": 26151,
704
704
  "nodeType": "Return",
705
705
  "src": "1152:11:70"
706
706
  }
@@ -712,17 +712,17 @@
712
712
  "typeIdentifier": "t_uint256",
713
713
  "typeString": "uint256"
714
714
  },
715
- "id": 26125,
715
+ "id": 26136,
716
716
  "isConstant": false,
717
717
  "isLValue": false,
718
718
  "isPure": false,
719
719
  "lValueRequested": false,
720
720
  "leftExpression": {
721
- "id": 26123,
721
+ "id": 26134,
722
722
  "name": "j",
723
723
  "nodeType": "Identifier",
724
724
  "overloadedDeclarations": [],
725
- "referencedDeclaration": 26120,
725
+ "referencedDeclaration": 26131,
726
726
  "src": "1024:1:70",
727
727
  "typeDescriptions": {
728
728
  "typeIdentifier": "t_uint256",
@@ -732,11 +732,11 @@
732
732
  "nodeType": "BinaryOperation",
733
733
  "operator": "<",
734
734
  "rightExpression": {
735
- "id": 26124,
735
+ "id": 26135,
736
736
  "name": "dataLength",
737
737
  "nodeType": "Identifier",
738
738
  "overloadedDeclarations": [],
739
- "referencedDeclaration": 26114,
739
+ "referencedDeclaration": 26125,
740
740
  "src": "1028:10:70",
741
741
  "typeDescriptions": {
742
742
  "typeIdentifier": "t_uint256",
@@ -749,20 +749,20 @@
749
749
  "typeString": "bool"
750
750
  }
751
751
  },
752
- "id": 26143,
752
+ "id": 26154,
753
753
  "initializationExpression": {
754
754
  "assignments": [
755
- 26120
755
+ 26131
756
756
  ],
757
757
  "declarations": [
758
758
  {
759
759
  "constant": false,
760
- "id": 26120,
760
+ "id": 26131,
761
761
  "mutability": "mutable",
762
762
  "name": "j",
763
763
  "nameLocation": "1017:1:70",
764
764
  "nodeType": "VariableDeclaration",
765
- "scope": 26143,
765
+ "scope": 26154,
766
766
  "src": "1012:6:70",
767
767
  "stateVariable": false,
768
768
  "storageLocation": "default",
@@ -771,7 +771,7 @@
771
771
  "typeString": "uint256"
772
772
  },
773
773
  "typeName": {
774
- "id": 26119,
774
+ "id": 26130,
775
775
  "name": "uint",
776
776
  "nodeType": "ElementaryTypeName",
777
777
  "src": "1012:4:70",
@@ -783,10 +783,10 @@
783
783
  "visibility": "internal"
784
784
  }
785
785
  ],
786
- "id": 26122,
786
+ "id": 26133,
787
787
  "initialValue": {
788
788
  "hexValue": "30",
789
- "id": 26121,
789
+ "id": 26132,
790
790
  "isConstant": false,
791
791
  "isLValue": false,
792
792
  "isPure": true,
@@ -805,7 +805,7 @@
805
805
  },
806
806
  "loopExpression": {
807
807
  "expression": {
808
- "id": 26127,
808
+ "id": 26138,
809
809
  "isConstant": false,
810
810
  "isLValue": false,
811
811
  "isPure": false,
@@ -815,11 +815,11 @@
815
815
  "prefix": true,
816
816
  "src": "1040:3:70",
817
817
  "subExpression": {
818
- "id": 26126,
818
+ "id": 26137,
819
819
  "name": "j",
820
820
  "nodeType": "Identifier",
821
821
  "overloadedDeclarations": [],
822
- "referencedDeclaration": 26120,
822
+ "referencedDeclaration": 26131,
823
823
  "src": "1042:1:70",
824
824
  "typeDescriptions": {
825
825
  "typeIdentifier": "t_uint256",
@@ -831,7 +831,7 @@
831
831
  "typeString": "uint256"
832
832
  }
833
833
  },
834
- "id": 26128,
834
+ "id": 26139,
835
835
  "nodeType": "ExpressionStatement",
836
836
  "src": "1040:3:70"
837
837
  },
@@ -841,7 +841,7 @@
841
841
  {
842
842
  "expression": {
843
843
  "hexValue": "66616c7365",
844
- "id": 26144,
844
+ "id": 26155,
845
845
  "isConstant": false,
846
846
  "isLValue": false,
847
847
  "isPure": true,
@@ -855,14 +855,14 @@
855
855
  },
856
856
  "value": "false"
857
857
  },
858
- "functionReturnParameters": 26118,
859
- "id": 26145,
858
+ "functionReturnParameters": 26129,
859
+ "id": 26156,
860
860
  "nodeType": "Return",
861
861
  "src": "1183:12:70"
862
862
  }
863
863
  ]
864
864
  },
865
- "id": 26147,
865
+ "id": 26158,
866
866
  "implemented": true,
867
867
  "kind": "function",
868
868
  "modifiers": [],
@@ -870,17 +870,17 @@
870
870
  "nameLocation": "929:7:70",
871
871
  "nodeType": "FunctionDefinition",
872
872
  "parameters": {
873
- "id": 26115,
873
+ "id": 26126,
874
874
  "nodeType": "ParameterList",
875
875
  "parameters": [
876
876
  {
877
877
  "constant": false,
878
- "id": 26112,
878
+ "id": 26123,
879
879
  "mutability": "mutable",
880
880
  "name": "slot",
881
881
  "nameLocation": "945:4:70",
882
882
  "nodeType": "VariableDeclaration",
883
- "scope": 26147,
883
+ "scope": 26158,
884
884
  "src": "937:12:70",
885
885
  "stateVariable": false,
886
886
  "storageLocation": "default",
@@ -889,7 +889,7 @@
889
889
  "typeString": "bytes32"
890
890
  },
891
891
  "typeName": {
892
- "id": 26111,
892
+ "id": 26122,
893
893
  "name": "bytes32",
894
894
  "nodeType": "ElementaryTypeName",
895
895
  "src": "937:7:70",
@@ -902,12 +902,12 @@
902
902
  },
903
903
  {
904
904
  "constant": false,
905
- "id": 26114,
905
+ "id": 26125,
906
906
  "mutability": "mutable",
907
907
  "name": "dataLength",
908
908
  "nameLocation": "956:10:70",
909
909
  "nodeType": "VariableDeclaration",
910
- "scope": 26147,
910
+ "scope": 26158,
911
911
  "src": "951:15:70",
912
912
  "stateVariable": false,
913
913
  "storageLocation": "default",
@@ -916,7 +916,7 @@
916
916
  "typeString": "uint256"
917
917
  },
918
918
  "typeName": {
919
- "id": 26113,
919
+ "id": 26124,
920
920
  "name": "uint",
921
921
  "nodeType": "ElementaryTypeName",
922
922
  "src": "951:4:70",
@@ -931,17 +931,17 @@
931
931
  "src": "936:31:70"
932
932
  },
933
933
  "returnParameters": {
934
- "id": 26118,
934
+ "id": 26129,
935
935
  "nodeType": "ParameterList",
936
936
  "parameters": [
937
937
  {
938
938
  "constant": false,
939
- "id": 26117,
939
+ "id": 26128,
940
940
  "mutability": "mutable",
941
941
  "name": "",
942
942
  "nameLocation": "-1:-1:-1",
943
943
  "nodeType": "VariableDeclaration",
944
- "scope": 26147,
944
+ "scope": 26158,
945
945
  "src": "991:4:70",
946
946
  "stateVariable": false,
947
947
  "storageLocation": "default",
@@ -950,7 +950,7 @@
950
950
  "typeString": "bool"
951
951
  },
952
952
  "typeName": {
953
- "id": 26116,
953
+ "id": 26127,
954
954
  "name": "bool",
955
955
  "nodeType": "ElementaryTypeName",
956
956
  "src": "991:4:70",
@@ -964,7 +964,7 @@
964
964
  ],
965
965
  "src": "990:6:70"
966
966
  },
967
- "scope": 26212,
967
+ "scope": 26223,
968
968
  "src": "920:282:70",
969
969
  "stateMutability": "view",
970
970
  "virtual": false,
@@ -972,23 +972,23 @@
972
972
  },
973
973
  {
974
974
  "body": {
975
- "id": 26188,
975
+ "id": 26199,
976
976
  "nodeType": "Block",
977
977
  "src": "1386:205:70",
978
978
  "statements": [
979
979
  {
980
980
  "expression": {
981
- "id": 26164,
981
+ "id": 26175,
982
982
  "isConstant": false,
983
983
  "isLValue": false,
984
984
  "isPure": false,
985
985
  "lValueRequested": false,
986
986
  "leftHandSide": {
987
- "id": 26158,
987
+ "id": 26169,
988
988
  "name": "data",
989
989
  "nodeType": "Identifier",
990
990
  "overloadedDeclarations": [],
991
- "referencedDeclaration": 26156,
991
+ "referencedDeclaration": 26167,
992
992
  "src": "1396:4:70",
993
993
  "typeDescriptions": {
994
994
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
@@ -1000,11 +1000,11 @@
1000
1000
  "rightHandSide": {
1001
1001
  "arguments": [
1002
1002
  {
1003
- "id": 26162,
1003
+ "id": 26173,
1004
1004
  "name": "dataLength",
1005
1005
  "nodeType": "Identifier",
1006
1006
  "overloadedDeclarations": [],
1007
- "referencedDeclaration": 26152,
1007
+ "referencedDeclaration": 26163,
1008
1008
  "src": "1417:10:70",
1009
1009
  "typeDescriptions": {
1010
1010
  "typeIdentifier": "t_uint256",
@@ -1019,7 +1019,7 @@
1019
1019
  "typeString": "uint256"
1020
1020
  }
1021
1021
  ],
1022
- "id": 26161,
1022
+ "id": 26172,
1023
1023
  "isConstant": false,
1024
1024
  "isLValue": false,
1025
1025
  "isPure": true,
@@ -1032,7 +1032,7 @@
1032
1032
  },
1033
1033
  "typeName": {
1034
1034
  "baseType": {
1035
- "id": 26159,
1035
+ "id": 26170,
1036
1036
  "name": "bytes32",
1037
1037
  "nodeType": "ElementaryTypeName",
1038
1038
  "src": "1407:7:70",
@@ -1041,7 +1041,7 @@
1041
1041
  "typeString": "bytes32"
1042
1042
  }
1043
1043
  },
1044
- "id": 26160,
1044
+ "id": 26171,
1045
1045
  "nodeType": "ArrayTypeName",
1046
1046
  "src": "1407:9:70",
1047
1047
  "typeDescriptions": {
@@ -1050,7 +1050,7 @@
1050
1050
  }
1051
1051
  }
1052
1052
  },
1053
- "id": 26163,
1053
+ "id": 26174,
1054
1054
  "isConstant": false,
1055
1055
  "isLValue": false,
1056
1056
  "isPure": false,
@@ -1072,29 +1072,29 @@
1072
1072
  "typeString": "bytes32[] memory"
1073
1073
  }
1074
1074
  },
1075
- "id": 26165,
1075
+ "id": 26176,
1076
1076
  "nodeType": "ExpressionStatement",
1077
1077
  "src": "1396:32:70"
1078
1078
  },
1079
1079
  {
1080
1080
  "body": {
1081
- "id": 26186,
1081
+ "id": 26197,
1082
1082
  "nodeType": "Block",
1083
1083
  "src": "1476:109:70",
1084
1084
  "statements": [
1085
1085
  {
1086
1086
  "assignments": [
1087
- 26177
1087
+ 26188
1088
1088
  ],
1089
1089
  "declarations": [
1090
1090
  {
1091
1091
  "constant": false,
1092
- "id": 26177,
1092
+ "id": 26188,
1093
1093
  "mutability": "mutable",
1094
1094
  "name": "d",
1095
1095
  "nameLocation": "1498:1:70",
1096
1096
  "nodeType": "VariableDeclaration",
1097
- "scope": 26186,
1097
+ "scope": 26197,
1098
1098
  "src": "1490:9:70",
1099
1099
  "stateVariable": false,
1100
1100
  "storageLocation": "default",
@@ -1103,7 +1103,7 @@
1103
1103
  "typeString": "bytes32"
1104
1104
  },
1105
1105
  "typeName": {
1106
- "id": 26176,
1106
+ "id": 26187,
1107
1107
  "name": "bytes32",
1108
1108
  "nodeType": "ElementaryTypeName",
1109
1109
  "src": "1490:7:70",
@@ -1115,7 +1115,7 @@
1115
1115
  "visibility": "internal"
1116
1116
  }
1117
1117
  ],
1118
- "id": 26178,
1118
+ "id": 26189,
1119
1119
  "nodeType": "VariableDeclarationStatement",
1120
1120
  "src": "1490:9:70"
1121
1121
  },
@@ -1172,58 +1172,58 @@
1172
1172
  "evmVersion": "paris",
1173
1173
  "externalReferences": [
1174
1174
  {
1175
- "declaration": 26177,
1175
+ "declaration": 26188,
1176
1176
  "isOffset": false,
1177
1177
  "isSlot": false,
1178
1178
  "src": "1524:1:70",
1179
1179
  "valueSize": 1
1180
1180
  },
1181
1181
  {
1182
- "declaration": 26167,
1182
+ "declaration": 26178,
1183
1183
  "isOffset": false,
1184
1184
  "isSlot": false,
1185
1185
  "src": "1545:1:70",
1186
1186
  "valueSize": 1
1187
1187
  },
1188
1188
  {
1189
- "declaration": 26150,
1189
+ "declaration": 26161,
1190
1190
  "isOffset": false,
1191
1191
  "isSlot": false,
1192
1192
  "src": "1539:4:70",
1193
1193
  "valueSize": 1
1194
1194
  }
1195
1195
  ],
1196
- "id": 26179,
1196
+ "id": 26190,
1197
1197
  "nodeType": "InlineAssembly",
1198
1198
  "src": "1513:37:70"
1199
1199
  },
1200
1200
  {
1201
1201
  "expression": {
1202
- "id": 26184,
1202
+ "id": 26195,
1203
1203
  "isConstant": false,
1204
1204
  "isLValue": false,
1205
1205
  "isPure": false,
1206
1206
  "lValueRequested": false,
1207
1207
  "leftHandSide": {
1208
1208
  "baseExpression": {
1209
- "id": 26180,
1209
+ "id": 26191,
1210
1210
  "name": "data",
1211
1211
  "nodeType": "Identifier",
1212
1212
  "overloadedDeclarations": [],
1213
- "referencedDeclaration": 26156,
1213
+ "referencedDeclaration": 26167,
1214
1214
  "src": "1563:4:70",
1215
1215
  "typeDescriptions": {
1216
1216
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
1217
1217
  "typeString": "bytes32[] memory"
1218
1218
  }
1219
1219
  },
1220
- "id": 26182,
1220
+ "id": 26193,
1221
1221
  "indexExpression": {
1222
- "id": 26181,
1222
+ "id": 26192,
1223
1223
  "name": "j",
1224
1224
  "nodeType": "Identifier",
1225
1225
  "overloadedDeclarations": [],
1226
- "referencedDeclaration": 26167,
1226
+ "referencedDeclaration": 26178,
1227
1227
  "src": "1568:1:70",
1228
1228
  "typeDescriptions": {
1229
1229
  "typeIdentifier": "t_uint256",
@@ -1244,11 +1244,11 @@
1244
1244
  "nodeType": "Assignment",
1245
1245
  "operator": "=",
1246
1246
  "rightHandSide": {
1247
- "id": 26183,
1247
+ "id": 26194,
1248
1248
  "name": "d",
1249
1249
  "nodeType": "Identifier",
1250
1250
  "overloadedDeclarations": [],
1251
- "referencedDeclaration": 26177,
1251
+ "referencedDeclaration": 26188,
1252
1252
  "src": "1573:1:70",
1253
1253
  "typeDescriptions": {
1254
1254
  "typeIdentifier": "t_bytes32",
@@ -1261,7 +1261,7 @@
1261
1261
  "typeString": "bytes32"
1262
1262
  }
1263
1263
  },
1264
- "id": 26185,
1264
+ "id": 26196,
1265
1265
  "nodeType": "ExpressionStatement",
1266
1266
  "src": "1563:11:70"
1267
1267
  }
@@ -1272,17 +1272,17 @@
1272
1272
  "typeIdentifier": "t_uint256",
1273
1273
  "typeString": "uint256"
1274
1274
  },
1275
- "id": 26172,
1275
+ "id": 26183,
1276
1276
  "isConstant": false,
1277
1277
  "isLValue": false,
1278
1278
  "isPure": false,
1279
1279
  "lValueRequested": false,
1280
1280
  "leftExpression": {
1281
- "id": 26170,
1281
+ "id": 26181,
1282
1282
  "name": "j",
1283
1283
  "nodeType": "Identifier",
1284
1284
  "overloadedDeclarations": [],
1285
- "referencedDeclaration": 26167,
1285
+ "referencedDeclaration": 26178,
1286
1286
  "src": "1455:1:70",
1287
1287
  "typeDescriptions": {
1288
1288
  "typeIdentifier": "t_uint256",
@@ -1292,11 +1292,11 @@
1292
1292
  "nodeType": "BinaryOperation",
1293
1293
  "operator": "<",
1294
1294
  "rightExpression": {
1295
- "id": 26171,
1295
+ "id": 26182,
1296
1296
  "name": "dataLength",
1297
1297
  "nodeType": "Identifier",
1298
1298
  "overloadedDeclarations": [],
1299
- "referencedDeclaration": 26152,
1299
+ "referencedDeclaration": 26163,
1300
1300
  "src": "1459:10:70",
1301
1301
  "typeDescriptions": {
1302
1302
  "typeIdentifier": "t_uint256",
@@ -1309,20 +1309,20 @@
1309
1309
  "typeString": "bool"
1310
1310
  }
1311
1311
  },
1312
- "id": 26187,
1312
+ "id": 26198,
1313
1313
  "initializationExpression": {
1314
1314
  "assignments": [
1315
- 26167
1315
+ 26178
1316
1316
  ],
1317
1317
  "declarations": [
1318
1318
  {
1319
1319
  "constant": false,
1320
- "id": 26167,
1320
+ "id": 26178,
1321
1321
  "mutability": "mutable",
1322
1322
  "name": "j",
1323
1323
  "nameLocation": "1448:1:70",
1324
1324
  "nodeType": "VariableDeclaration",
1325
- "scope": 26187,
1325
+ "scope": 26198,
1326
1326
  "src": "1443:6:70",
1327
1327
  "stateVariable": false,
1328
1328
  "storageLocation": "default",
@@ -1331,7 +1331,7 @@
1331
1331
  "typeString": "uint256"
1332
1332
  },
1333
1333
  "typeName": {
1334
- "id": 26166,
1334
+ "id": 26177,
1335
1335
  "name": "uint",
1336
1336
  "nodeType": "ElementaryTypeName",
1337
1337
  "src": "1443:4:70",
@@ -1343,10 +1343,10 @@
1343
1343
  "visibility": "internal"
1344
1344
  }
1345
1345
  ],
1346
- "id": 26169,
1346
+ "id": 26180,
1347
1347
  "initialValue": {
1348
1348
  "hexValue": "30",
1349
- "id": 26168,
1349
+ "id": 26179,
1350
1350
  "isConstant": false,
1351
1351
  "isLValue": false,
1352
1352
  "isPure": true,
@@ -1365,7 +1365,7 @@
1365
1365
  },
1366
1366
  "loopExpression": {
1367
1367
  "expression": {
1368
- "id": 26174,
1368
+ "id": 26185,
1369
1369
  "isConstant": false,
1370
1370
  "isLValue": false,
1371
1371
  "isPure": false,
@@ -1375,11 +1375,11 @@
1375
1375
  "prefix": true,
1376
1376
  "src": "1471:3:70",
1377
1377
  "subExpression": {
1378
- "id": 26173,
1378
+ "id": 26184,
1379
1379
  "name": "j",
1380
1380
  "nodeType": "Identifier",
1381
1381
  "overloadedDeclarations": [],
1382
- "referencedDeclaration": 26167,
1382
+ "referencedDeclaration": 26178,
1383
1383
  "src": "1473:1:70",
1384
1384
  "typeDescriptions": {
1385
1385
  "typeIdentifier": "t_uint256",
@@ -1391,7 +1391,7 @@
1391
1391
  "typeString": "uint256"
1392
1392
  }
1393
1393
  },
1394
- "id": 26175,
1394
+ "id": 26186,
1395
1395
  "nodeType": "ExpressionStatement",
1396
1396
  "src": "1471:3:70"
1397
1397
  },
@@ -1401,12 +1401,12 @@
1401
1401
  ]
1402
1402
  },
1403
1403
  "documentation": {
1404
- "id": 26148,
1404
+ "id": 26159,
1405
1405
  "nodeType": "StructuredDocumentation",
1406
1406
  "src": "1208:78:70",
1407
1407
  "text": " @dev Load data of size `dataLength` from the slot at `slot`"
1408
1408
  },
1409
- "id": 26189,
1409
+ "id": 26200,
1410
1410
  "implemented": true,
1411
1411
  "kind": "function",
1412
1412
  "modifiers": [],
@@ -1414,17 +1414,17 @@
1414
1414
  "nameLocation": "1300:8:70",
1415
1415
  "nodeType": "FunctionDefinition",
1416
1416
  "parameters": {
1417
- "id": 26153,
1417
+ "id": 26164,
1418
1418
  "nodeType": "ParameterList",
1419
1419
  "parameters": [
1420
1420
  {
1421
1421
  "constant": false,
1422
- "id": 26150,
1422
+ "id": 26161,
1423
1423
  "mutability": "mutable",
1424
1424
  "name": "slot",
1425
1425
  "nameLocation": "1317:4:70",
1426
1426
  "nodeType": "VariableDeclaration",
1427
- "scope": 26189,
1427
+ "scope": 26200,
1428
1428
  "src": "1309:12:70",
1429
1429
  "stateVariable": false,
1430
1430
  "storageLocation": "default",
@@ -1433,7 +1433,7 @@
1433
1433
  "typeString": "bytes32"
1434
1434
  },
1435
1435
  "typeName": {
1436
- "id": 26149,
1436
+ "id": 26160,
1437
1437
  "name": "bytes32",
1438
1438
  "nodeType": "ElementaryTypeName",
1439
1439
  "src": "1309:7:70",
@@ -1446,12 +1446,12 @@
1446
1446
  },
1447
1447
  {
1448
1448
  "constant": false,
1449
- "id": 26152,
1449
+ "id": 26163,
1450
1450
  "mutability": "mutable",
1451
1451
  "name": "dataLength",
1452
1452
  "nameLocation": "1328:10:70",
1453
1453
  "nodeType": "VariableDeclaration",
1454
- "scope": 26189,
1454
+ "scope": 26200,
1455
1455
  "src": "1323:15:70",
1456
1456
  "stateVariable": false,
1457
1457
  "storageLocation": "default",
@@ -1460,7 +1460,7 @@
1460
1460
  "typeString": "uint256"
1461
1461
  },
1462
1462
  "typeName": {
1463
- "id": 26151,
1463
+ "id": 26162,
1464
1464
  "name": "uint",
1465
1465
  "nodeType": "ElementaryTypeName",
1466
1466
  "src": "1323:4:70",
@@ -1475,17 +1475,17 @@
1475
1475
  "src": "1308:31:70"
1476
1476
  },
1477
1477
  "returnParameters": {
1478
- "id": 26157,
1478
+ "id": 26168,
1479
1479
  "nodeType": "ParameterList",
1480
1480
  "parameters": [
1481
1481
  {
1482
1482
  "constant": false,
1483
- "id": 26156,
1483
+ "id": 26167,
1484
1484
  "mutability": "mutable",
1485
1485
  "name": "data",
1486
1486
  "nameLocation": "1380:4:70",
1487
1487
  "nodeType": "VariableDeclaration",
1488
- "scope": 26189,
1488
+ "scope": 26200,
1489
1489
  "src": "1363:21:70",
1490
1490
  "stateVariable": false,
1491
1491
  "storageLocation": "memory",
@@ -1495,7 +1495,7 @@
1495
1495
  },
1496
1496
  "typeName": {
1497
1497
  "baseType": {
1498
- "id": 26154,
1498
+ "id": 26165,
1499
1499
  "name": "bytes32",
1500
1500
  "nodeType": "ElementaryTypeName",
1501
1501
  "src": "1363:7:70",
@@ -1504,7 +1504,7 @@
1504
1504
  "typeString": "bytes32"
1505
1505
  }
1506
1506
  },
1507
- "id": 26155,
1507
+ "id": 26166,
1508
1508
  "nodeType": "ArrayTypeName",
1509
1509
  "src": "1363:9:70",
1510
1510
  "typeDescriptions": {
@@ -1517,7 +1517,7 @@
1517
1517
  ],
1518
1518
  "src": "1362:23:70"
1519
1519
  },
1520
- "scope": 26212,
1520
+ "scope": 26223,
1521
1521
  "src": "1291:300:70",
1522
1522
  "stateMutability": "view",
1523
1523
  "virtual": false,
@@ -1525,13 +1525,13 @@
1525
1525
  },
1526
1526
  {
1527
1527
  "body": {
1528
- "id": 26210,
1528
+ "id": 26221,
1529
1529
  "nodeType": "Block",
1530
1530
  "src": "1740:114:70",
1531
1531
  "statements": [
1532
1532
  {
1533
1533
  "body": {
1534
- "id": 26208,
1534
+ "id": 26219,
1535
1535
  "nodeType": "Block",
1536
1536
  "src": "1788:60:70",
1537
1537
  "statements": [
@@ -1588,21 +1588,21 @@
1588
1588
  "evmVersion": "paris",
1589
1589
  "externalReferences": [
1590
1590
  {
1591
- "declaration": 26198,
1591
+ "declaration": 26209,
1592
1592
  "isOffset": false,
1593
1593
  "isSlot": false,
1594
1594
  "src": "1830:1:70",
1595
1595
  "valueSize": 1
1596
1596
  },
1597
1597
  {
1598
- "declaration": 26192,
1598
+ "declaration": 26203,
1599
1599
  "isOffset": false,
1600
1600
  "isSlot": false,
1601
1601
  "src": "1824:4:70",
1602
1602
  "valueSize": 1
1603
1603
  }
1604
1604
  ],
1605
- "id": 26207,
1605
+ "id": 26218,
1606
1606
  "nodeType": "InlineAssembly",
1607
1607
  "src": "1802:36:70"
1608
1608
  }
@@ -1613,17 +1613,17 @@
1613
1613
  "typeIdentifier": "t_uint256",
1614
1614
  "typeString": "uint256"
1615
1615
  },
1616
- "id": 26203,
1616
+ "id": 26214,
1617
1617
  "isConstant": false,
1618
1618
  "isLValue": false,
1619
1619
  "isPure": false,
1620
1620
  "lValueRequested": false,
1621
1621
  "leftExpression": {
1622
- "id": 26201,
1622
+ "id": 26212,
1623
1623
  "name": "j",
1624
1624
  "nodeType": "Identifier",
1625
1625
  "overloadedDeclarations": [],
1626
- "referencedDeclaration": 26198,
1626
+ "referencedDeclaration": 26209,
1627
1627
  "src": "1767:1:70",
1628
1628
  "typeDescriptions": {
1629
1629
  "typeIdentifier": "t_uint256",
@@ -1633,11 +1633,11 @@
1633
1633
  "nodeType": "BinaryOperation",
1634
1634
  "operator": "<",
1635
1635
  "rightExpression": {
1636
- "id": 26202,
1636
+ "id": 26213,
1637
1637
  "name": "dataLength",
1638
1638
  "nodeType": "Identifier",
1639
1639
  "overloadedDeclarations": [],
1640
- "referencedDeclaration": 26194,
1640
+ "referencedDeclaration": 26205,
1641
1641
  "src": "1771:10:70",
1642
1642
  "typeDescriptions": {
1643
1643
  "typeIdentifier": "t_uint256",
@@ -1650,20 +1650,20 @@
1650
1650
  "typeString": "bool"
1651
1651
  }
1652
1652
  },
1653
- "id": 26209,
1653
+ "id": 26220,
1654
1654
  "initializationExpression": {
1655
1655
  "assignments": [
1656
- 26198
1656
+ 26209
1657
1657
  ],
1658
1658
  "declarations": [
1659
1659
  {
1660
1660
  "constant": false,
1661
- "id": 26198,
1661
+ "id": 26209,
1662
1662
  "mutability": "mutable",
1663
1663
  "name": "j",
1664
1664
  "nameLocation": "1760:1:70",
1665
1665
  "nodeType": "VariableDeclaration",
1666
- "scope": 26209,
1666
+ "scope": 26220,
1667
1667
  "src": "1755:6:70",
1668
1668
  "stateVariable": false,
1669
1669
  "storageLocation": "default",
@@ -1672,7 +1672,7 @@
1672
1672
  "typeString": "uint256"
1673
1673
  },
1674
1674
  "typeName": {
1675
- "id": 26197,
1675
+ "id": 26208,
1676
1676
  "name": "uint",
1677
1677
  "nodeType": "ElementaryTypeName",
1678
1678
  "src": "1755:4:70",
@@ -1684,10 +1684,10 @@
1684
1684
  "visibility": "internal"
1685
1685
  }
1686
1686
  ],
1687
- "id": 26200,
1687
+ "id": 26211,
1688
1688
  "initialValue": {
1689
1689
  "hexValue": "30",
1690
- "id": 26199,
1690
+ "id": 26210,
1691
1691
  "isConstant": false,
1692
1692
  "isLValue": false,
1693
1693
  "isPure": true,
@@ -1706,7 +1706,7 @@
1706
1706
  },
1707
1707
  "loopExpression": {
1708
1708
  "expression": {
1709
- "id": 26205,
1709
+ "id": 26216,
1710
1710
  "isConstant": false,
1711
1711
  "isLValue": false,
1712
1712
  "isPure": false,
@@ -1716,11 +1716,11 @@
1716
1716
  "prefix": true,
1717
1717
  "src": "1783:3:70",
1718
1718
  "subExpression": {
1719
- "id": 26204,
1719
+ "id": 26215,
1720
1720
  "name": "j",
1721
1721
  "nodeType": "Identifier",
1722
1722
  "overloadedDeclarations": [],
1723
- "referencedDeclaration": 26198,
1723
+ "referencedDeclaration": 26209,
1724
1724
  "src": "1785:1:70",
1725
1725
  "typeDescriptions": {
1726
1726
  "typeIdentifier": "t_uint256",
@@ -1732,7 +1732,7 @@
1732
1732
  "typeString": "uint256"
1733
1733
  }
1734
1734
  },
1735
- "id": 26206,
1735
+ "id": 26217,
1736
1736
  "nodeType": "ExpressionStatement",
1737
1737
  "src": "1783:3:70"
1738
1738
  },
@@ -1742,12 +1742,12 @@
1742
1742
  ]
1743
1743
  },
1744
1744
  "documentation": {
1745
- "id": 26190,
1745
+ "id": 26201,
1746
1746
  "nodeType": "StructuredDocumentation",
1747
1747
  "src": "1597:79:70",
1748
1748
  "text": " @dev Erase data of size `dataLength` from the slot at `slot`"
1749
1749
  },
1750
- "id": 26211,
1750
+ "id": 26222,
1751
1751
  "implemented": true,
1752
1752
  "kind": "function",
1753
1753
  "modifiers": [],
@@ -1755,17 +1755,17 @@
1755
1755
  "nameLocation": "1690:9:70",
1756
1756
  "nodeType": "FunctionDefinition",
1757
1757
  "parameters": {
1758
- "id": 26195,
1758
+ "id": 26206,
1759
1759
  "nodeType": "ParameterList",
1760
1760
  "parameters": [
1761
1761
  {
1762
1762
  "constant": false,
1763
- "id": 26192,
1763
+ "id": 26203,
1764
1764
  "mutability": "mutable",
1765
1765
  "name": "slot",
1766
1766
  "nameLocation": "1708:4:70",
1767
1767
  "nodeType": "VariableDeclaration",
1768
- "scope": 26211,
1768
+ "scope": 26222,
1769
1769
  "src": "1700:12:70",
1770
1770
  "stateVariable": false,
1771
1771
  "storageLocation": "default",
@@ -1774,7 +1774,7 @@
1774
1774
  "typeString": "bytes32"
1775
1775
  },
1776
1776
  "typeName": {
1777
- "id": 26191,
1777
+ "id": 26202,
1778
1778
  "name": "bytes32",
1779
1779
  "nodeType": "ElementaryTypeName",
1780
1780
  "src": "1700:7:70",
@@ -1787,12 +1787,12 @@
1787
1787
  },
1788
1788
  {
1789
1789
  "constant": false,
1790
- "id": 26194,
1790
+ "id": 26205,
1791
1791
  "mutability": "mutable",
1792
1792
  "name": "dataLength",
1793
1793
  "nameLocation": "1719:10:70",
1794
1794
  "nodeType": "VariableDeclaration",
1795
- "scope": 26211,
1795
+ "scope": 26222,
1796
1796
  "src": "1714:15:70",
1797
1797
  "stateVariable": false,
1798
1798
  "storageLocation": "default",
@@ -1801,7 +1801,7 @@
1801
1801
  "typeString": "uint256"
1802
1802
  },
1803
1803
  "typeName": {
1804
- "id": 26193,
1804
+ "id": 26204,
1805
1805
  "name": "uint",
1806
1806
  "nodeType": "ElementaryTypeName",
1807
1807
  "src": "1714:4:70",
@@ -1816,19 +1816,19 @@
1816
1816
  "src": "1699:31:70"
1817
1817
  },
1818
1818
  "returnParameters": {
1819
- "id": 26196,
1819
+ "id": 26207,
1820
1820
  "nodeType": "ParameterList",
1821
1821
  "parameters": [],
1822
1822
  "src": "1740:0:70"
1823
1823
  },
1824
- "scope": 26212,
1824
+ "scope": 26223,
1825
1825
  "src": "1681:173:70",
1826
1826
  "stateMutability": "nonpayable",
1827
1827
  "virtual": false,
1828
1828
  "visibility": "internal"
1829
1829
  }
1830
1830
  ],
1831
- "scope": 26213,
1831
+ "scope": 26224,
1832
1832
  "src": "611:1246:70",
1833
1833
  "usedErrors": []
1834
1834
  }
@@ -1841,7 +1841,7 @@
1841
1841
  },
1842
1842
  "networks": {},
1843
1843
  "schemaVersion": "3.4.13",
1844
- "updatedAt": "2023-06-28T11:03:18.862Z",
1844
+ "updatedAt": "2023-07-07T14:28:48.682Z",
1845
1845
  "devdoc": {
1846
1846
  "author": "Superfluid When using solidity dynamic array, first word is used to store the length of the array. For use cases that the length doesn't change, it is better to use a fixed size data premitive. To use this library: - The pointer to the storage is `slot`, the user could use `keccak256(abi.encode(...))` scheme to create collision-free slot ID for locating the data. - To load data, or erase data and get all gas refund, data length is always required.",
1847
1847
  "kind": "dev",