@superfluid-finance/ethereum-contracts 1.4.4-dev.b157ec2.0 → 1.4.4-dev.c2b2de3.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 (146) hide show
  1. package/artifacts/contracts/utils/TOGA.sol/ITOGAv3.json +194 -0
  2. package/artifacts/contracts/utils/TOGA.sol/TOGA.json +2 -33
  3. package/build/contracts/AccessControl.json +1 -1
  4. package/build/contracts/AccessControlEnumerable.json +1 -1
  5. package/build/contracts/Address.json +1 -1
  6. package/build/contracts/AgreementBase.json +1 -1
  7. package/build/contracts/AgreementLibrary.json +1 -1
  8. package/build/contracts/BaseRelayRecipient.json +1 -1
  9. package/build/contracts/BatchLiquidator.json +723 -723
  10. package/build/contracts/BatchOperation.json +1 -1
  11. package/build/contracts/CFAv1Forwarder.json +2050 -2050
  12. package/build/contracts/CFAv1Library.json +1 -1
  13. package/build/contracts/CallUtils.json +1 -1
  14. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1566 -1566
  15. package/build/contracts/ConstantFlowAgreementV1.json +4582 -4582
  16. package/build/contracts/Context.json +1 -1
  17. package/build/contracts/ContextDefinitions.json +1 -1
  18. package/build/contracts/CustomSuperTokenBase.json +1 -1
  19. package/build/contracts/ERC165.json +1 -1
  20. package/build/contracts/ERC1820Implementer.json +79 -79
  21. package/build/contracts/ERC1820RegistryCompiled.json +1 -1
  22. package/build/contracts/ERC20.json +1289 -1289
  23. package/build/contracts/ERC20WithTokenInfo.json +1 -1
  24. package/build/contracts/ERC777Helper.json +1 -1
  25. package/build/contracts/ERC777RecipientDrainingGas.json +350 -350
  26. package/build/contracts/ERC777RecipientReverting.json +373 -373
  27. package/build/contracts/EnumerableSet.json +1 -1
  28. package/build/contracts/EventsEmitter.json +1 -1
  29. package/build/contracts/ExclusiveInflowTestApp.json +1594 -1594
  30. package/build/contracts/FixedSizeData.json +1 -1
  31. package/build/contracts/FlowExchangeTestApp.json +1704 -1704
  32. package/build/contracts/FlowOperatorDefinitions.json +1 -1
  33. package/build/contracts/FullUpgradableSuperTokenProxy.json +74 -74
  34. package/build/contracts/IAccessControl.json +1 -1
  35. package/build/contracts/IAccessControlEnumerable.json +1 -1
  36. package/build/contracts/IConstantFlowAgreementHook.json +1 -1
  37. package/build/contracts/IConstantFlowAgreementV1.json +1 -1
  38. package/build/contracts/IDAv1Library.json +1 -1
  39. package/build/contracts/IERC165.json +1 -1
  40. package/build/contracts/IERC1820Implementer.json +1 -1
  41. package/build/contracts/IERC1820Registry.json +1 -1
  42. package/build/contracts/IERC20.json +1 -1
  43. package/build/contracts/IERC20Metadata.json +1 -1
  44. package/build/contracts/IERC20Permit.json +1 -1
  45. package/build/contracts/IERC777.json +1 -1
  46. package/build/contracts/IERC777Recipient.json +1 -1
  47. package/build/contracts/IERC777Sender.json +1 -1
  48. package/build/contracts/IInstantDistributionAgreementV1.json +1 -1
  49. package/build/contracts/IMultiSigWallet.json +1 -1
  50. package/build/contracts/IPureSuperToken.json +1 -1
  51. package/build/contracts/IPureSuperTokenCustom.json +1 -1
  52. package/build/contracts/IRelayRecipient.json +1 -1
  53. package/build/contracts/IResolver.json +1 -1
  54. package/build/contracts/ISETH.json +1 -1
  55. package/build/contracts/ISETHCustom.json +1 -1
  56. package/build/contracts/ISuperAgreement.json +1 -1
  57. package/build/contracts/ISuperApp.json +1 -1
  58. package/build/contracts/ISuperToken.json +1 -1
  59. package/build/contracts/ISuperTokenFactory.json +1 -1
  60. package/build/contracts/ISuperfluid.json +1 -1
  61. package/build/contracts/ISuperfluidGovernance.json +1 -1
  62. package/build/contracts/ISuperfluidToken.json +1 -1
  63. package/build/contracts/ITOGAv1.json +2099 -2898
  64. package/build/contracts/ITOGAv2.json +2098 -2897
  65. package/build/contracts/ITOGAv3.json +10990 -0
  66. package/build/contracts/Initializable.json +1 -1
  67. package/build/contracts/InstantDistributionAgreementV1.json +5077 -5077
  68. package/build/contracts/NonClosableOutflowTestApp.json +1469 -1469
  69. package/build/contracts/Ownable.json +1 -1
  70. package/build/contracts/Proxy.json +1 -1
  71. package/build/contracts/PureSuperToken.json +534 -534
  72. package/build/contracts/Resolver.json +885 -885
  73. package/build/contracts/SETHProxy.json +293 -293
  74. package/build/contracts/SafeCast.json +1 -1
  75. package/build/contracts/SafeERC20.json +1 -1
  76. package/build/contracts/SafeMath.json +1 -1
  77. package/build/contracts/SelfDeletingFlowTestApp.json +1566 -1566
  78. package/build/contracts/SlotsBitmapLibrary.json +971 -971
  79. package/build/contracts/StreamRedirector.json +1956 -1956
  80. package/build/contracts/Strings.json +1 -1
  81. package/build/contracts/SuperAppBase.json +1 -1
  82. package/build/contracts/SuperAppDefinitions.json +1 -1
  83. package/build/contracts/SuperToken.json +4575 -4575
  84. package/build/contracts/SuperTokenFactory.json +1753 -1753
  85. package/build/contracts/SuperTokenFactoryBase.json +1 -1
  86. package/build/contracts/SuperTokenFactoryHelper.json +104 -104
  87. package/build/contracts/SuperUpgrader.json +1718 -1718
  88. package/build/contracts/Superfluid.json +4566 -4566
  89. package/build/contracts/SuperfluidFrameworkDeployer.json +2400 -2400
  90. package/build/contracts/SuperfluidGovernanceBase.json +1 -1
  91. package/build/contracts/SuperfluidGovernanceConfigs.json +1 -1
  92. package/build/contracts/SuperfluidGovernanceII.json +2438 -2438
  93. package/build/contracts/SuperfluidGovernanceIIProxy.json +211 -211
  94. package/build/contracts/SuperfluidLoader.json +500 -500
  95. package/build/contracts/SuperfluidToken.json +1 -1
  96. package/build/contracts/TOGA.json +4255 -6226
  97. package/build/contracts/TestGovernance.json +2494 -2494
  98. package/build/contracts/TestResolver.json +964 -964
  99. package/build/contracts/TestToken.json +1478 -1478
  100. package/build/contracts/TokenInfo.json +1 -1
  101. package/build/contracts/UUPSProxiable.json +1 -1
  102. package/build/contracts/UUPSProxy.json +116 -116
  103. package/build/contracts/UUPSUtils.json +1 -1
  104. package/build/typechain/contracts/utils/TOGA.sol/ITOGAv3.d.ts +158 -0
  105. package/build/typechain/contracts/utils/TOGA.sol/ITOGAv3.d.ts.map +1 -0
  106. package/build/typechain/contracts/utils/{TokenCustodian.js → TOGA.sol/ITOGAv3.js} +1 -1
  107. package/build/typechain/contracts/utils/TOGA.sol/ITOGAv3.js.map +1 -0
  108. package/build/typechain/contracts/utils/TOGA.sol/TOGA.d.ts +1 -25
  109. package/build/typechain/contracts/utils/TOGA.sol/TOGA.d.ts.map +1 -1
  110. package/build/typechain/contracts/utils/TOGA.sol/index.d.ts +1 -0
  111. package/build/typechain/contracts/utils/TOGA.sol/index.d.ts.map +1 -1
  112. package/build/typechain/contracts/utils/index.d.ts +0 -1
  113. package/build/typechain/contracts/utils/index.d.ts.map +1 -1
  114. package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.d.ts +36 -0
  115. package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.d.ts.map +1 -0
  116. package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.js +203 -0
  117. package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.js.map +1 -0
  118. package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.d.ts +3 -3
  119. package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.d.ts.map +1 -1
  120. package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.js +5 -36
  121. package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.js.map +1 -1
  122. package/build/typechain/factories/contracts/utils/TOGA.sol/index.d.ts +1 -0
  123. package/build/typechain/factories/contracts/utils/TOGA.sol/index.d.ts.map +1 -1
  124. package/build/typechain/factories/contracts/utils/TOGA.sol/index.js +3 -1
  125. package/build/typechain/factories/contracts/utils/TOGA.sol/index.js.map +1 -1
  126. package/build/typechain/factories/contracts/utils/index.d.ts +0 -1
  127. package/build/typechain/factories/contracts/utils/index.d.ts.map +1 -1
  128. package/build/typechain/factories/contracts/utils/index.js +1 -3
  129. package/build/typechain/factories/contracts/utils/index.js.map +1 -1
  130. package/build/typechain/index.d.ts +2 -2
  131. package/build/typechain/index.d.ts.map +1 -1
  132. package/build/typechain/index.js +3 -3
  133. package/build/typechain/index.js.map +1 -1
  134. package/contracts/utils/TOGA.sol +16 -28
  135. package/package.json +2 -2
  136. package/scripts/deploy-aux-contracts.js +1 -5
  137. package/artifacts/contracts/utils/TokenCustodian.sol/TokenCustodian.json +0 -146
  138. package/build/contracts/TokenCustodian.json +0 -5052
  139. package/build/typechain/contracts/utils/TokenCustodian.d.ts +0 -114
  140. package/build/typechain/contracts/utils/TokenCustodian.d.ts.map +0 -1
  141. package/build/typechain/contracts/utils/TokenCustodian.js.map +0 -1
  142. package/build/typechain/factories/contracts/utils/TokenCustodian__factory.d.ts +0 -56
  143. package/build/typechain/factories/contracts/utils/TokenCustodian__factory.d.ts.map +0 -1
  144. package/build/typechain/factories/contracts/utils/TokenCustodian__factory.js +0 -178
  145. package/build/typechain/factories/contracts/utils/TokenCustodian__factory.js.map +0 -1
  146. package/contracts/utils/TokenCustodian.sol +0 -55
@@ -92,49 +92,49 @@
92
92
  {
93
93
  "ast": {
94
94
  "nodeType": "YulBlock",
95
- "src": "0:2763:104",
95
+ "src": "0:2763:103",
96
96
  "statements": [
97
97
  {
98
98
  "nodeType": "YulBlock",
99
- "src": "6:3:104",
99
+ "src": "6:3:103",
100
100
  "statements": []
101
101
  },
102
102
  {
103
103
  "body": {
104
104
  "nodeType": "YulBlock",
105
- "src": "63:124:104",
105
+ "src": "63:124:103",
106
106
  "statements": [
107
107
  {
108
108
  "nodeType": "YulAssignment",
109
- "src": "73:29:104",
109
+ "src": "73:29:103",
110
110
  "value": {
111
111
  "arguments": [
112
112
  {
113
113
  "name": "offset",
114
114
  "nodeType": "YulIdentifier",
115
- "src": "95:6:104"
115
+ "src": "95:6:103"
116
116
  }
117
117
  ],
118
118
  "functionName": {
119
119
  "name": "calldataload",
120
120
  "nodeType": "YulIdentifier",
121
- "src": "82:12:104"
121
+ "src": "82:12:103"
122
122
  },
123
123
  "nodeType": "YulFunctionCall",
124
- "src": "82:20:104"
124
+ "src": "82:20:103"
125
125
  },
126
126
  "variableNames": [
127
127
  {
128
128
  "name": "value",
129
129
  "nodeType": "YulIdentifier",
130
- "src": "73:5:104"
130
+ "src": "73:5:103"
131
131
  }
132
132
  ]
133
133
  },
134
134
  {
135
135
  "body": {
136
136
  "nodeType": "YulBlock",
137
- "src": "165:16:104",
137
+ "src": "165:16:103",
138
138
  "statements": [
139
139
  {
140
140
  "expression": {
@@ -142,14 +142,14 @@
142
142
  {
143
143
  "kind": "number",
144
144
  "nodeType": "YulLiteral",
145
- "src": "174:1:104",
145
+ "src": "174:1:103",
146
146
  "type": "",
147
147
  "value": "0"
148
148
  },
149
149
  {
150
150
  "kind": "number",
151
151
  "nodeType": "YulLiteral",
152
- "src": "177:1:104",
152
+ "src": "177:1:103",
153
153
  "type": "",
154
154
  "value": "0"
155
155
  }
@@ -157,13 +157,13 @@
157
157
  "functionName": {
158
158
  "name": "revert",
159
159
  "nodeType": "YulIdentifier",
160
- "src": "167:6:104"
160
+ "src": "167:6:103"
161
161
  },
162
162
  "nodeType": "YulFunctionCall",
163
- "src": "167:12:104"
163
+ "src": "167:12:103"
164
164
  },
165
165
  "nodeType": "YulExpressionStatement",
166
- "src": "167:12:104"
166
+ "src": "167:12:103"
167
167
  }
168
168
  ]
169
169
  },
@@ -174,14 +174,14 @@
174
174
  {
175
175
  "name": "value",
176
176
  "nodeType": "YulIdentifier",
177
- "src": "124:5:104"
177
+ "src": "124:5:103"
178
178
  },
179
179
  {
180
180
  "arguments": [
181
181
  {
182
182
  "name": "value",
183
183
  "nodeType": "YulIdentifier",
184
- "src": "135:5:104"
184
+ "src": "135:5:103"
185
185
  },
186
186
  {
187
187
  "arguments": [
@@ -190,14 +190,14 @@
190
190
  {
191
191
  "kind": "number",
192
192
  "nodeType": "YulLiteral",
193
- "src": "150:3:104",
193
+ "src": "150:3:103",
194
194
  "type": "",
195
195
  "value": "160"
196
196
  },
197
197
  {
198
198
  "kind": "number",
199
199
  "nodeType": "YulLiteral",
200
- "src": "155:1:104",
200
+ "src": "155:1:103",
201
201
  "type": "",
202
202
  "value": "1"
203
203
  }
@@ -205,15 +205,15 @@
205
205
  "functionName": {
206
206
  "name": "shl",
207
207
  "nodeType": "YulIdentifier",
208
- "src": "146:3:104"
208
+ "src": "146:3:103"
209
209
  },
210
210
  "nodeType": "YulFunctionCall",
211
- "src": "146:11:104"
211
+ "src": "146:11:103"
212
212
  },
213
213
  {
214
214
  "kind": "number",
215
215
  "nodeType": "YulLiteral",
216
- "src": "159:1:104",
216
+ "src": "159:1:103",
217
217
  "type": "",
218
218
  "value": "1"
219
219
  }
@@ -221,40 +221,40 @@
221
221
  "functionName": {
222
222
  "name": "sub",
223
223
  "nodeType": "YulIdentifier",
224
- "src": "142:3:104"
224
+ "src": "142:3:103"
225
225
  },
226
226
  "nodeType": "YulFunctionCall",
227
- "src": "142:19:104"
227
+ "src": "142:19:103"
228
228
  }
229
229
  ],
230
230
  "functionName": {
231
231
  "name": "and",
232
232
  "nodeType": "YulIdentifier",
233
- "src": "131:3:104"
233
+ "src": "131:3:103"
234
234
  },
235
235
  "nodeType": "YulFunctionCall",
236
- "src": "131:31:104"
236
+ "src": "131:31:103"
237
237
  }
238
238
  ],
239
239
  "functionName": {
240
240
  "name": "eq",
241
241
  "nodeType": "YulIdentifier",
242
- "src": "121:2:104"
242
+ "src": "121:2:103"
243
243
  },
244
244
  "nodeType": "YulFunctionCall",
245
- "src": "121:42:104"
245
+ "src": "121:42:103"
246
246
  }
247
247
  ],
248
248
  "functionName": {
249
249
  "name": "iszero",
250
250
  "nodeType": "YulIdentifier",
251
- "src": "114:6:104"
251
+ "src": "114:6:103"
252
252
  },
253
253
  "nodeType": "YulFunctionCall",
254
- "src": "114:50:104"
254
+ "src": "114:50:103"
255
255
  },
256
256
  "nodeType": "YulIf",
257
- "src": "111:70:104"
257
+ "src": "111:70:103"
258
258
  }
259
259
  ]
260
260
  },
@@ -264,7 +264,7 @@
264
264
  {
265
265
  "name": "offset",
266
266
  "nodeType": "YulTypedName",
267
- "src": "42:6:104",
267
+ "src": "42:6:103",
268
268
  "type": ""
269
269
  }
270
270
  ],
@@ -272,21 +272,21 @@
272
272
  {
273
273
  "name": "value",
274
274
  "nodeType": "YulTypedName",
275
- "src": "53:5:104",
275
+ "src": "53:5:103",
276
276
  "type": ""
277
277
  }
278
278
  ],
279
- "src": "14:173:104"
279
+ "src": "14:173:103"
280
280
  },
281
281
  {
282
282
  "body": {
283
283
  "nodeType": "YulBlock",
284
- "src": "264:275:104",
284
+ "src": "264:275:103",
285
285
  "statements": [
286
286
  {
287
287
  "body": {
288
288
  "nodeType": "YulBlock",
289
- "src": "313:16:104",
289
+ "src": "313:16:103",
290
290
  "statements": [
291
291
  {
292
292
  "expression": {
@@ -294,14 +294,14 @@
294
294
  {
295
295
  "kind": "number",
296
296
  "nodeType": "YulLiteral",
297
- "src": "322:1:104",
297
+ "src": "322:1:103",
298
298
  "type": "",
299
299
  "value": "0"
300
300
  },
301
301
  {
302
302
  "kind": "number",
303
303
  "nodeType": "YulLiteral",
304
- "src": "325:1:104",
304
+ "src": "325:1:103",
305
305
  "type": "",
306
306
  "value": "0"
307
307
  }
@@ -309,13 +309,13 @@
309
309
  "functionName": {
310
310
  "name": "revert",
311
311
  "nodeType": "YulIdentifier",
312
- "src": "315:6:104"
312
+ "src": "315:6:103"
313
313
  },
314
314
  "nodeType": "YulFunctionCall",
315
- "src": "315:12:104"
315
+ "src": "315:12:103"
316
316
  },
317
317
  "nodeType": "YulExpressionStatement",
318
- "src": "315:12:104"
318
+ "src": "315:12:103"
319
319
  }
320
320
  ]
321
321
  },
@@ -328,12 +328,12 @@
328
328
  {
329
329
  "name": "offset",
330
330
  "nodeType": "YulIdentifier",
331
- "src": "292:6:104"
331
+ "src": "292:6:103"
332
332
  },
333
333
  {
334
334
  "kind": "number",
335
335
  "nodeType": "YulLiteral",
336
- "src": "300:4:104",
336
+ "src": "300:4:103",
337
337
  "type": "",
338
338
  "value": "0x1f"
339
339
  }
@@ -341,68 +341,68 @@
341
341
  "functionName": {
342
342
  "name": "add",
343
343
  "nodeType": "YulIdentifier",
344
- "src": "288:3:104"
344
+ "src": "288:3:103"
345
345
  },
346
346
  "nodeType": "YulFunctionCall",
347
- "src": "288:17:104"
347
+ "src": "288:17:103"
348
348
  },
349
349
  {
350
350
  "name": "end",
351
351
  "nodeType": "YulIdentifier",
352
- "src": "307:3:104"
352
+ "src": "307:3:103"
353
353
  }
354
354
  ],
355
355
  "functionName": {
356
356
  "name": "slt",
357
357
  "nodeType": "YulIdentifier",
358
- "src": "284:3:104"
358
+ "src": "284:3:103"
359
359
  },
360
360
  "nodeType": "YulFunctionCall",
361
- "src": "284:27:104"
361
+ "src": "284:27:103"
362
362
  }
363
363
  ],
364
364
  "functionName": {
365
365
  "name": "iszero",
366
366
  "nodeType": "YulIdentifier",
367
- "src": "277:6:104"
367
+ "src": "277:6:103"
368
368
  },
369
369
  "nodeType": "YulFunctionCall",
370
- "src": "277:35:104"
370
+ "src": "277:35:103"
371
371
  },
372
372
  "nodeType": "YulIf",
373
- "src": "274:55:104"
373
+ "src": "274:55:103"
374
374
  },
375
375
  {
376
376
  "nodeType": "YulAssignment",
377
- "src": "338:30:104",
377
+ "src": "338:30:103",
378
378
  "value": {
379
379
  "arguments": [
380
380
  {
381
381
  "name": "offset",
382
382
  "nodeType": "YulIdentifier",
383
- "src": "361:6:104"
383
+ "src": "361:6:103"
384
384
  }
385
385
  ],
386
386
  "functionName": {
387
387
  "name": "calldataload",
388
388
  "nodeType": "YulIdentifier",
389
- "src": "348:12:104"
389
+ "src": "348:12:103"
390
390
  },
391
391
  "nodeType": "YulFunctionCall",
392
- "src": "348:20:104"
392
+ "src": "348:20:103"
393
393
  },
394
394
  "variableNames": [
395
395
  {
396
396
  "name": "length",
397
397
  "nodeType": "YulIdentifier",
398
- "src": "338:6:104"
398
+ "src": "338:6:103"
399
399
  }
400
400
  ]
401
401
  },
402
402
  {
403
403
  "body": {
404
404
  "nodeType": "YulBlock",
405
- "src": "411:16:104",
405
+ "src": "411:16:103",
406
406
  "statements": [
407
407
  {
408
408
  "expression": {
@@ -410,14 +410,14 @@
410
410
  {
411
411
  "kind": "number",
412
412
  "nodeType": "YulLiteral",
413
- "src": "420:1:104",
413
+ "src": "420:1:103",
414
414
  "type": "",
415
415
  "value": "0"
416
416
  },
417
417
  {
418
418
  "kind": "number",
419
419
  "nodeType": "YulLiteral",
420
- "src": "423:1:104",
420
+ "src": "423:1:103",
421
421
  "type": "",
422
422
  "value": "0"
423
423
  }
@@ -425,13 +425,13 @@
425
425
  "functionName": {
426
426
  "name": "revert",
427
427
  "nodeType": "YulIdentifier",
428
- "src": "413:6:104"
428
+ "src": "413:6:103"
429
429
  },
430
430
  "nodeType": "YulFunctionCall",
431
- "src": "413:12:104"
431
+ "src": "413:12:103"
432
432
  },
433
433
  "nodeType": "YulExpressionStatement",
434
- "src": "413:12:104"
434
+ "src": "413:12:103"
435
435
  }
436
436
  ]
437
437
  },
@@ -440,12 +440,12 @@
440
440
  {
441
441
  "name": "length",
442
442
  "nodeType": "YulIdentifier",
443
- "src": "383:6:104"
443
+ "src": "383:6:103"
444
444
  },
445
445
  {
446
446
  "kind": "number",
447
447
  "nodeType": "YulLiteral",
448
- "src": "391:18:104",
448
+ "src": "391:18:103",
449
449
  "type": "",
450
450
  "value": "0xffffffffffffffff"
451
451
  }
@@ -453,28 +453,28 @@
453
453
  "functionName": {
454
454
  "name": "gt",
455
455
  "nodeType": "YulIdentifier",
456
- "src": "380:2:104"
456
+ "src": "380:2:103"
457
457
  },
458
458
  "nodeType": "YulFunctionCall",
459
- "src": "380:30:104"
459
+ "src": "380:30:103"
460
460
  },
461
461
  "nodeType": "YulIf",
462
- "src": "377:50:104"
462
+ "src": "377:50:103"
463
463
  },
464
464
  {
465
465
  "nodeType": "YulAssignment",
466
- "src": "436:29:104",
466
+ "src": "436:29:103",
467
467
  "value": {
468
468
  "arguments": [
469
469
  {
470
470
  "name": "offset",
471
471
  "nodeType": "YulIdentifier",
472
- "src": "452:6:104"
472
+ "src": "452:6:103"
473
473
  },
474
474
  {
475
475
  "kind": "number",
476
476
  "nodeType": "YulLiteral",
477
- "src": "460:4:104",
477
+ "src": "460:4:103",
478
478
  "type": "",
479
479
  "value": "0x20"
480
480
  }
@@ -482,23 +482,23 @@
482
482
  "functionName": {
483
483
  "name": "add",
484
484
  "nodeType": "YulIdentifier",
485
- "src": "448:3:104"
485
+ "src": "448:3:103"
486
486
  },
487
487
  "nodeType": "YulFunctionCall",
488
- "src": "448:17:104"
488
+ "src": "448:17:103"
489
489
  },
490
490
  "variableNames": [
491
491
  {
492
492
  "name": "arrayPos",
493
493
  "nodeType": "YulIdentifier",
494
- "src": "436:8:104"
494
+ "src": "436:8:103"
495
495
  }
496
496
  ]
497
497
  },
498
498
  {
499
499
  "body": {
500
500
  "nodeType": "YulBlock",
501
- "src": "517:16:104",
501
+ "src": "517:16:103",
502
502
  "statements": [
503
503
  {
504
504
  "expression": {
@@ -506,14 +506,14 @@
506
506
  {
507
507
  "kind": "number",
508
508
  "nodeType": "YulLiteral",
509
- "src": "526:1:104",
509
+ "src": "526:1:103",
510
510
  "type": "",
511
511
  "value": "0"
512
512
  },
513
513
  {
514
514
  "kind": "number",
515
515
  "nodeType": "YulLiteral",
516
- "src": "529:1:104",
516
+ "src": "529:1:103",
517
517
  "type": "",
518
518
  "value": "0"
519
519
  }
@@ -521,13 +521,13 @@
521
521
  "functionName": {
522
522
  "name": "revert",
523
523
  "nodeType": "YulIdentifier",
524
- "src": "519:6:104"
524
+ "src": "519:6:103"
525
525
  },
526
526
  "nodeType": "YulFunctionCall",
527
- "src": "519:12:104"
527
+ "src": "519:12:103"
528
528
  },
529
529
  "nodeType": "YulExpressionStatement",
530
- "src": "519:12:104"
530
+ "src": "519:12:103"
531
531
  }
532
532
  ]
533
533
  },
@@ -540,26 +540,26 @@
540
540
  {
541
541
  "name": "offset",
542
542
  "nodeType": "YulIdentifier",
543
- "src": "488:6:104"
543
+ "src": "488:6:103"
544
544
  },
545
545
  {
546
546
  "name": "length",
547
547
  "nodeType": "YulIdentifier",
548
- "src": "496:6:104"
548
+ "src": "496:6:103"
549
549
  }
550
550
  ],
551
551
  "functionName": {
552
552
  "name": "add",
553
553
  "nodeType": "YulIdentifier",
554
- "src": "484:3:104"
554
+ "src": "484:3:103"
555
555
  },
556
556
  "nodeType": "YulFunctionCall",
557
- "src": "484:19:104"
557
+ "src": "484:19:103"
558
558
  },
559
559
  {
560
560
  "kind": "number",
561
561
  "nodeType": "YulLiteral",
562
- "src": "505:4:104",
562
+ "src": "505:4:103",
563
563
  "type": "",
564
564
  "value": "0x20"
565
565
  }
@@ -567,27 +567,27 @@
567
567
  "functionName": {
568
568
  "name": "add",
569
569
  "nodeType": "YulIdentifier",
570
- "src": "480:3:104"
570
+ "src": "480:3:103"
571
571
  },
572
572
  "nodeType": "YulFunctionCall",
573
- "src": "480:30:104"
573
+ "src": "480:30:103"
574
574
  },
575
575
  {
576
576
  "name": "end",
577
577
  "nodeType": "YulIdentifier",
578
- "src": "512:3:104"
578
+ "src": "512:3:103"
579
579
  }
580
580
  ],
581
581
  "functionName": {
582
582
  "name": "gt",
583
583
  "nodeType": "YulIdentifier",
584
- "src": "477:2:104"
584
+ "src": "477:2:103"
585
585
  },
586
586
  "nodeType": "YulFunctionCall",
587
- "src": "477:39:104"
587
+ "src": "477:39:103"
588
588
  },
589
589
  "nodeType": "YulIf",
590
- "src": "474:59:104"
590
+ "src": "474:59:103"
591
591
  }
592
592
  ]
593
593
  },
@@ -597,13 +597,13 @@
597
597
  {
598
598
  "name": "offset",
599
599
  "nodeType": "YulTypedName",
600
- "src": "227:6:104",
600
+ "src": "227:6:103",
601
601
  "type": ""
602
602
  },
603
603
  {
604
604
  "name": "end",
605
605
  "nodeType": "YulTypedName",
606
- "src": "235:3:104",
606
+ "src": "235:3:103",
607
607
  "type": ""
608
608
  }
609
609
  ],
@@ -611,27 +611,27 @@
611
611
  {
612
612
  "name": "arrayPos",
613
613
  "nodeType": "YulTypedName",
614
- "src": "243:8:104",
614
+ "src": "243:8:103",
615
615
  "type": ""
616
616
  },
617
617
  {
618
618
  "name": "length",
619
619
  "nodeType": "YulTypedName",
620
- "src": "253:6:104",
620
+ "src": "253:6:103",
621
621
  "type": ""
622
622
  }
623
623
  ],
624
- "src": "192:347:104"
624
+ "src": "192:347:103"
625
625
  },
626
626
  {
627
627
  "body": {
628
628
  "nodeType": "YulBlock",
629
- "src": "737:817:104",
629
+ "src": "737:817:103",
630
630
  "statements": [
631
631
  {
632
632
  "body": {
633
633
  "nodeType": "YulBlock",
634
- "src": "784:16:104",
634
+ "src": "784:16:103",
635
635
  "statements": [
636
636
  {
637
637
  "expression": {
@@ -639,14 +639,14 @@
639
639
  {
640
640
  "kind": "number",
641
641
  "nodeType": "YulLiteral",
642
- "src": "793:1:104",
642
+ "src": "793:1:103",
643
643
  "type": "",
644
644
  "value": "0"
645
645
  },
646
646
  {
647
647
  "kind": "number",
648
648
  "nodeType": "YulLiteral",
649
- "src": "796:1:104",
649
+ "src": "796:1:103",
650
650
  "type": "",
651
651
  "value": "0"
652
652
  }
@@ -654,13 +654,13 @@
654
654
  "functionName": {
655
655
  "name": "revert",
656
656
  "nodeType": "YulIdentifier",
657
- "src": "786:6:104"
657
+ "src": "786:6:103"
658
658
  },
659
659
  "nodeType": "YulFunctionCall",
660
- "src": "786:12:104"
660
+ "src": "786:12:103"
661
661
  },
662
662
  "nodeType": "YulExpressionStatement",
663
- "src": "786:12:104"
663
+ "src": "786:12:103"
664
664
  }
665
665
  ]
666
666
  },
@@ -671,26 +671,26 @@
671
671
  {
672
672
  "name": "dataEnd",
673
673
  "nodeType": "YulIdentifier",
674
- "src": "758:7:104"
674
+ "src": "758:7:103"
675
675
  },
676
676
  {
677
677
  "name": "headStart",
678
678
  "nodeType": "YulIdentifier",
679
- "src": "767:9:104"
679
+ "src": "767:9:103"
680
680
  }
681
681
  ],
682
682
  "functionName": {
683
683
  "name": "sub",
684
684
  "nodeType": "YulIdentifier",
685
- "src": "754:3:104"
685
+ "src": "754:3:103"
686
686
  },
687
687
  "nodeType": "YulFunctionCall",
688
- "src": "754:23:104"
688
+ "src": "754:23:103"
689
689
  },
690
690
  {
691
691
  "kind": "number",
692
692
  "nodeType": "YulLiteral",
693
- "src": "779:3:104",
693
+ "src": "779:3:103",
694
694
  "type": "",
695
695
  "value": "192"
696
696
  }
@@ -698,44 +698,44 @@
698
698
  "functionName": {
699
699
  "name": "slt",
700
700
  "nodeType": "YulIdentifier",
701
- "src": "750:3:104"
701
+ "src": "750:3:103"
702
702
  },
703
703
  "nodeType": "YulFunctionCall",
704
- "src": "750:33:104"
704
+ "src": "750:33:103"
705
705
  },
706
706
  "nodeType": "YulIf",
707
- "src": "747:53:104"
707
+ "src": "747:53:103"
708
708
  },
709
709
  {
710
710
  "nodeType": "YulAssignment",
711
- "src": "809:39:104",
711
+ "src": "809:39:103",
712
712
  "value": {
713
713
  "arguments": [
714
714
  {
715
715
  "name": "headStart",
716
716
  "nodeType": "YulIdentifier",
717
- "src": "838:9:104"
717
+ "src": "838:9:103"
718
718
  }
719
719
  ],
720
720
  "functionName": {
721
721
  "name": "abi_decode_address",
722
722
  "nodeType": "YulIdentifier",
723
- "src": "819:18:104"
723
+ "src": "819:18:103"
724
724
  },
725
725
  "nodeType": "YulFunctionCall",
726
- "src": "819:29:104"
726
+ "src": "819:29:103"
727
727
  },
728
728
  "variableNames": [
729
729
  {
730
730
  "name": "value0",
731
731
  "nodeType": "YulIdentifier",
732
- "src": "809:6:104"
732
+ "src": "809:6:103"
733
733
  }
734
734
  ]
735
735
  },
736
736
  {
737
737
  "nodeType": "YulAssignment",
738
- "src": "857:48:104",
738
+ "src": "857:48:103",
739
739
  "value": {
740
740
  "arguments": [
741
741
  {
@@ -743,12 +743,12 @@
743
743
  {
744
744
  "name": "headStart",
745
745
  "nodeType": "YulIdentifier",
746
- "src": "890:9:104"
746
+ "src": "890:9:103"
747
747
  },
748
748
  {
749
749
  "kind": "number",
750
750
  "nodeType": "YulLiteral",
751
- "src": "901:2:104",
751
+ "src": "901:2:103",
752
752
  "type": "",
753
753
  "value": "32"
754
754
  }
@@ -756,31 +756,31 @@
756
756
  "functionName": {
757
757
  "name": "add",
758
758
  "nodeType": "YulIdentifier",
759
- "src": "886:3:104"
759
+ "src": "886:3:103"
760
760
  },
761
761
  "nodeType": "YulFunctionCall",
762
- "src": "886:18:104"
762
+ "src": "886:18:103"
763
763
  }
764
764
  ],
765
765
  "functionName": {
766
766
  "name": "abi_decode_address",
767
767
  "nodeType": "YulIdentifier",
768
- "src": "867:18:104"
768
+ "src": "867:18:103"
769
769
  },
770
770
  "nodeType": "YulFunctionCall",
771
- "src": "867:38:104"
771
+ "src": "867:38:103"
772
772
  },
773
773
  "variableNames": [
774
774
  {
775
775
  "name": "value1",
776
776
  "nodeType": "YulIdentifier",
777
- "src": "857:6:104"
777
+ "src": "857:6:103"
778
778
  }
779
779
  ]
780
780
  },
781
781
  {
782
782
  "nodeType": "YulAssignment",
783
- "src": "914:48:104",
783
+ "src": "914:48:103",
784
784
  "value": {
785
785
  "arguments": [
786
786
  {
@@ -788,12 +788,12 @@
788
788
  {
789
789
  "name": "headStart",
790
790
  "nodeType": "YulIdentifier",
791
- "src": "947:9:104"
791
+ "src": "947:9:103"
792
792
  },
793
793
  {
794
794
  "kind": "number",
795
795
  "nodeType": "YulLiteral",
796
- "src": "958:2:104",
796
+ "src": "958:2:103",
797
797
  "type": "",
798
798
  "value": "64"
799
799
  }
@@ -801,31 +801,31 @@
801
801
  "functionName": {
802
802
  "name": "add",
803
803
  "nodeType": "YulIdentifier",
804
- "src": "943:3:104"
804
+ "src": "943:3:103"
805
805
  },
806
806
  "nodeType": "YulFunctionCall",
807
- "src": "943:18:104"
807
+ "src": "943:18:103"
808
808
  }
809
809
  ],
810
810
  "functionName": {
811
811
  "name": "abi_decode_address",
812
812
  "nodeType": "YulIdentifier",
813
- "src": "924:18:104"
813
+ "src": "924:18:103"
814
814
  },
815
815
  "nodeType": "YulFunctionCall",
816
- "src": "924:38:104"
816
+ "src": "924:38:103"
817
817
  },
818
818
  "variableNames": [
819
819
  {
820
820
  "name": "value2",
821
821
  "nodeType": "YulIdentifier",
822
- "src": "914:6:104"
822
+ "src": "914:6:103"
823
823
  }
824
824
  ]
825
825
  },
826
826
  {
827
827
  "nodeType": "YulAssignment",
828
- "src": "971:42:104",
828
+ "src": "971:42:103",
829
829
  "value": {
830
830
  "arguments": [
831
831
  {
@@ -833,12 +833,12 @@
833
833
  {
834
834
  "name": "headStart",
835
835
  "nodeType": "YulIdentifier",
836
- "src": "998:9:104"
836
+ "src": "998:9:103"
837
837
  },
838
838
  {
839
839
  "kind": "number",
840
840
  "nodeType": "YulLiteral",
841
- "src": "1009:2:104",
841
+ "src": "1009:2:103",
842
842
  "type": "",
843
843
  "value": "96"
844
844
  }
@@ -846,31 +846,31 @@
846
846
  "functionName": {
847
847
  "name": "add",
848
848
  "nodeType": "YulIdentifier",
849
- "src": "994:3:104"
849
+ "src": "994:3:103"
850
850
  },
851
851
  "nodeType": "YulFunctionCall",
852
- "src": "994:18:104"
852
+ "src": "994:18:103"
853
853
  }
854
854
  ],
855
855
  "functionName": {
856
856
  "name": "calldataload",
857
857
  "nodeType": "YulIdentifier",
858
- "src": "981:12:104"
858
+ "src": "981:12:103"
859
859
  },
860
860
  "nodeType": "YulFunctionCall",
861
- "src": "981:32:104"
861
+ "src": "981:32:103"
862
862
  },
863
863
  "variableNames": [
864
864
  {
865
865
  "name": "value3",
866
866
  "nodeType": "YulIdentifier",
867
- "src": "971:6:104"
867
+ "src": "971:6:103"
868
868
  }
869
869
  ]
870
870
  },
871
871
  {
872
872
  "nodeType": "YulVariableDeclaration",
873
- "src": "1022:47:104",
873
+ "src": "1022:47:103",
874
874
  "value": {
875
875
  "arguments": [
876
876
  {
@@ -878,12 +878,12 @@
878
878
  {
879
879
  "name": "headStart",
880
880
  "nodeType": "YulIdentifier",
881
- "src": "1053:9:104"
881
+ "src": "1053:9:103"
882
882
  },
883
883
  {
884
884
  "kind": "number",
885
885
  "nodeType": "YulLiteral",
886
- "src": "1064:3:104",
886
+ "src": "1064:3:103",
887
887
  "type": "",
888
888
  "value": "128"
889
889
  }
@@ -891,36 +891,36 @@
891
891
  "functionName": {
892
892
  "name": "add",
893
893
  "nodeType": "YulIdentifier",
894
- "src": "1049:3:104"
894
+ "src": "1049:3:103"
895
895
  },
896
896
  "nodeType": "YulFunctionCall",
897
- "src": "1049:19:104"
897
+ "src": "1049:19:103"
898
898
  }
899
899
  ],
900
900
  "functionName": {
901
901
  "name": "calldataload",
902
902
  "nodeType": "YulIdentifier",
903
- "src": "1036:12:104"
903
+ "src": "1036:12:103"
904
904
  },
905
905
  "nodeType": "YulFunctionCall",
906
- "src": "1036:33:104"
906
+ "src": "1036:33:103"
907
907
  },
908
908
  "variables": [
909
909
  {
910
910
  "name": "offset",
911
911
  "nodeType": "YulTypedName",
912
- "src": "1026:6:104",
912
+ "src": "1026:6:103",
913
913
  "type": ""
914
914
  }
915
915
  ]
916
916
  },
917
917
  {
918
918
  "nodeType": "YulVariableDeclaration",
919
- "src": "1078:28:104",
919
+ "src": "1078:28:103",
920
920
  "value": {
921
921
  "kind": "number",
922
922
  "nodeType": "YulLiteral",
923
- "src": "1088:18:104",
923
+ "src": "1088:18:103",
924
924
  "type": "",
925
925
  "value": "0xffffffffffffffff"
926
926
  },
@@ -928,7 +928,7 @@
928
928
  {
929
929
  "name": "_1",
930
930
  "nodeType": "YulTypedName",
931
- "src": "1082:2:104",
931
+ "src": "1082:2:103",
932
932
  "type": ""
933
933
  }
934
934
  ]
@@ -936,7 +936,7 @@
936
936
  {
937
937
  "body": {
938
938
  "nodeType": "YulBlock",
939
- "src": "1133:16:104",
939
+ "src": "1133:16:103",
940
940
  "statements": [
941
941
  {
942
942
  "expression": {
@@ -944,14 +944,14 @@
944
944
  {
945
945
  "kind": "number",
946
946
  "nodeType": "YulLiteral",
947
- "src": "1142:1:104",
947
+ "src": "1142:1:103",
948
948
  "type": "",
949
949
  "value": "0"
950
950
  },
951
951
  {
952
952
  "kind": "number",
953
953
  "nodeType": "YulLiteral",
954
- "src": "1145:1:104",
954
+ "src": "1145:1:103",
955
955
  "type": "",
956
956
  "value": "0"
957
957
  }
@@ -959,13 +959,13 @@
959
959
  "functionName": {
960
960
  "name": "revert",
961
961
  "nodeType": "YulIdentifier",
962
- "src": "1135:6:104"
962
+ "src": "1135:6:103"
963
963
  },
964
964
  "nodeType": "YulFunctionCall",
965
- "src": "1135:12:104"
965
+ "src": "1135:12:103"
966
966
  },
967
967
  "nodeType": "YulExpressionStatement",
968
- "src": "1135:12:104"
968
+ "src": "1135:12:103"
969
969
  }
970
970
  ]
971
971
  },
@@ -974,28 +974,28 @@
974
974
  {
975
975
  "name": "offset",
976
976
  "nodeType": "YulIdentifier",
977
- "src": "1121:6:104"
977
+ "src": "1121:6:103"
978
978
  },
979
979
  {
980
980
  "name": "_1",
981
981
  "nodeType": "YulIdentifier",
982
- "src": "1129:2:104"
982
+ "src": "1129:2:103"
983
983
  }
984
984
  ],
985
985
  "functionName": {
986
986
  "name": "gt",
987
987
  "nodeType": "YulIdentifier",
988
- "src": "1118:2:104"
988
+ "src": "1118:2:103"
989
989
  },
990
990
  "nodeType": "YulFunctionCall",
991
- "src": "1118:14:104"
991
+ "src": "1118:14:103"
992
992
  },
993
993
  "nodeType": "YulIf",
994
- "src": "1115:34:104"
994
+ "src": "1115:34:103"
995
995
  },
996
996
  {
997
997
  "nodeType": "YulVariableDeclaration",
998
- "src": "1158:84:104",
998
+ "src": "1158:84:103",
999
999
  "value": {
1000
1000
  "arguments": [
1001
1001
  {
@@ -1003,86 +1003,86 @@
1003
1003
  {
1004
1004
  "name": "headStart",
1005
1005
  "nodeType": "YulIdentifier",
1006
- "src": "1214:9:104"
1006
+ "src": "1214:9:103"
1007
1007
  },
1008
1008
  {
1009
1009
  "name": "offset",
1010
1010
  "nodeType": "YulIdentifier",
1011
- "src": "1225:6:104"
1011
+ "src": "1225:6:103"
1012
1012
  }
1013
1013
  ],
1014
1014
  "functionName": {
1015
1015
  "name": "add",
1016
1016
  "nodeType": "YulIdentifier",
1017
- "src": "1210:3:104"
1017
+ "src": "1210:3:103"
1018
1018
  },
1019
1019
  "nodeType": "YulFunctionCall",
1020
- "src": "1210:22:104"
1020
+ "src": "1210:22:103"
1021
1021
  },
1022
1022
  {
1023
1023
  "name": "dataEnd",
1024
1024
  "nodeType": "YulIdentifier",
1025
- "src": "1234:7:104"
1025
+ "src": "1234:7:103"
1026
1026
  }
1027
1027
  ],
1028
1028
  "functionName": {
1029
1029
  "name": "abi_decode_bytes_calldata",
1030
1030
  "nodeType": "YulIdentifier",
1031
- "src": "1184:25:104"
1031
+ "src": "1184:25:103"
1032
1032
  },
1033
1033
  "nodeType": "YulFunctionCall",
1034
- "src": "1184:58:104"
1034
+ "src": "1184:58:103"
1035
1035
  },
1036
1036
  "variables": [
1037
1037
  {
1038
1038
  "name": "value4_1",
1039
1039
  "nodeType": "YulTypedName",
1040
- "src": "1162:8:104",
1040
+ "src": "1162:8:103",
1041
1041
  "type": ""
1042
1042
  },
1043
1043
  {
1044
1044
  "name": "value5_1",
1045
1045
  "nodeType": "YulTypedName",
1046
- "src": "1172:8:104",
1046
+ "src": "1172:8:103",
1047
1047
  "type": ""
1048
1048
  }
1049
1049
  ]
1050
1050
  },
1051
1051
  {
1052
1052
  "nodeType": "YulAssignment",
1053
- "src": "1251:18:104",
1053
+ "src": "1251:18:103",
1054
1054
  "value": {
1055
1055
  "name": "value4_1",
1056
1056
  "nodeType": "YulIdentifier",
1057
- "src": "1261:8:104"
1057
+ "src": "1261:8:103"
1058
1058
  },
1059
1059
  "variableNames": [
1060
1060
  {
1061
1061
  "name": "value4",
1062
1062
  "nodeType": "YulIdentifier",
1063
- "src": "1251:6:104"
1063
+ "src": "1251:6:103"
1064
1064
  }
1065
1065
  ]
1066
1066
  },
1067
1067
  {
1068
1068
  "nodeType": "YulAssignment",
1069
- "src": "1278:18:104",
1069
+ "src": "1278:18:103",
1070
1070
  "value": {
1071
1071
  "name": "value5_1",
1072
1072
  "nodeType": "YulIdentifier",
1073
- "src": "1288:8:104"
1073
+ "src": "1288:8:103"
1074
1074
  },
1075
1075
  "variableNames": [
1076
1076
  {
1077
1077
  "name": "value5",
1078
1078
  "nodeType": "YulIdentifier",
1079
- "src": "1278:6:104"
1079
+ "src": "1278:6:103"
1080
1080
  }
1081
1081
  ]
1082
1082
  },
1083
1083
  {
1084
1084
  "nodeType": "YulVariableDeclaration",
1085
- "src": "1305:49:104",
1085
+ "src": "1305:49:103",
1086
1086
  "value": {
1087
1087
  "arguments": [
1088
1088
  {
@@ -1090,12 +1090,12 @@
1090
1090
  {
1091
1091
  "name": "headStart",
1092
1092
  "nodeType": "YulIdentifier",
1093
- "src": "1338:9:104"
1093
+ "src": "1338:9:103"
1094
1094
  },
1095
1095
  {
1096
1096
  "kind": "number",
1097
1097
  "nodeType": "YulLiteral",
1098
- "src": "1349:3:104",
1098
+ "src": "1349:3:103",
1099
1099
  "type": "",
1100
1100
  "value": "160"
1101
1101
  }
@@ -1103,25 +1103,25 @@
1103
1103
  "functionName": {
1104
1104
  "name": "add",
1105
1105
  "nodeType": "YulIdentifier",
1106
- "src": "1334:3:104"
1106
+ "src": "1334:3:103"
1107
1107
  },
1108
1108
  "nodeType": "YulFunctionCall",
1109
- "src": "1334:19:104"
1109
+ "src": "1334:19:103"
1110
1110
  }
1111
1111
  ],
1112
1112
  "functionName": {
1113
1113
  "name": "calldataload",
1114
1114
  "nodeType": "YulIdentifier",
1115
- "src": "1321:12:104"
1115
+ "src": "1321:12:103"
1116
1116
  },
1117
1117
  "nodeType": "YulFunctionCall",
1118
- "src": "1321:33:104"
1118
+ "src": "1321:33:103"
1119
1119
  },
1120
1120
  "variables": [
1121
1121
  {
1122
1122
  "name": "offset_1",
1123
1123
  "nodeType": "YulTypedName",
1124
- "src": "1309:8:104",
1124
+ "src": "1309:8:103",
1125
1125
  "type": ""
1126
1126
  }
1127
1127
  ]
@@ -1129,7 +1129,7 @@
1129
1129
  {
1130
1130
  "body": {
1131
1131
  "nodeType": "YulBlock",
1132
- "src": "1383:16:104",
1132
+ "src": "1383:16:103",
1133
1133
  "statements": [
1134
1134
  {
1135
1135
  "expression": {
@@ -1137,14 +1137,14 @@
1137
1137
  {
1138
1138
  "kind": "number",
1139
1139
  "nodeType": "YulLiteral",
1140
- "src": "1392:1:104",
1140
+ "src": "1392:1:103",
1141
1141
  "type": "",
1142
1142
  "value": "0"
1143
1143
  },
1144
1144
  {
1145
1145
  "kind": "number",
1146
1146
  "nodeType": "YulLiteral",
1147
- "src": "1395:1:104",
1147
+ "src": "1395:1:103",
1148
1148
  "type": "",
1149
1149
  "value": "0"
1150
1150
  }
@@ -1152,13 +1152,13 @@
1152
1152
  "functionName": {
1153
1153
  "name": "revert",
1154
1154
  "nodeType": "YulIdentifier",
1155
- "src": "1385:6:104"
1155
+ "src": "1385:6:103"
1156
1156
  },
1157
1157
  "nodeType": "YulFunctionCall",
1158
- "src": "1385:12:104"
1158
+ "src": "1385:12:103"
1159
1159
  },
1160
1160
  "nodeType": "YulExpressionStatement",
1161
- "src": "1385:12:104"
1161
+ "src": "1385:12:103"
1162
1162
  }
1163
1163
  ]
1164
1164
  },
@@ -1167,28 +1167,28 @@
1167
1167
  {
1168
1168
  "name": "offset_1",
1169
1169
  "nodeType": "YulIdentifier",
1170
- "src": "1369:8:104"
1170
+ "src": "1369:8:103"
1171
1171
  },
1172
1172
  {
1173
1173
  "name": "_1",
1174
1174
  "nodeType": "YulIdentifier",
1175
- "src": "1379:2:104"
1175
+ "src": "1379:2:103"
1176
1176
  }
1177
1177
  ],
1178
1178
  "functionName": {
1179
1179
  "name": "gt",
1180
1180
  "nodeType": "YulIdentifier",
1181
- "src": "1366:2:104"
1181
+ "src": "1366:2:103"
1182
1182
  },
1183
1183
  "nodeType": "YulFunctionCall",
1184
- "src": "1366:16:104"
1184
+ "src": "1366:16:103"
1185
1185
  },
1186
1186
  "nodeType": "YulIf",
1187
- "src": "1363:36:104"
1187
+ "src": "1363:36:103"
1188
1188
  },
1189
1189
  {
1190
1190
  "nodeType": "YulVariableDeclaration",
1191
- "src": "1408:86:104",
1191
+ "src": "1408:86:103",
1192
1192
  "value": {
1193
1193
  "arguments": [
1194
1194
  {
@@ -1196,80 +1196,80 @@
1196
1196
  {
1197
1197
  "name": "headStart",
1198
1198
  "nodeType": "YulIdentifier",
1199
- "src": "1464:9:104"
1199
+ "src": "1464:9:103"
1200
1200
  },
1201
1201
  {
1202
1202
  "name": "offset_1",
1203
1203
  "nodeType": "YulIdentifier",
1204
- "src": "1475:8:104"
1204
+ "src": "1475:8:103"
1205
1205
  }
1206
1206
  ],
1207
1207
  "functionName": {
1208
1208
  "name": "add",
1209
1209
  "nodeType": "YulIdentifier",
1210
- "src": "1460:3:104"
1210
+ "src": "1460:3:103"
1211
1211
  },
1212
1212
  "nodeType": "YulFunctionCall",
1213
- "src": "1460:24:104"
1213
+ "src": "1460:24:103"
1214
1214
  },
1215
1215
  {
1216
1216
  "name": "dataEnd",
1217
1217
  "nodeType": "YulIdentifier",
1218
- "src": "1486:7:104"
1218
+ "src": "1486:7:103"
1219
1219
  }
1220
1220
  ],
1221
1221
  "functionName": {
1222
1222
  "name": "abi_decode_bytes_calldata",
1223
1223
  "nodeType": "YulIdentifier",
1224
- "src": "1434:25:104"
1224
+ "src": "1434:25:103"
1225
1225
  },
1226
1226
  "nodeType": "YulFunctionCall",
1227
- "src": "1434:60:104"
1227
+ "src": "1434:60:103"
1228
1228
  },
1229
1229
  "variables": [
1230
1230
  {
1231
1231
  "name": "value6_1",
1232
1232
  "nodeType": "YulTypedName",
1233
- "src": "1412:8:104",
1233
+ "src": "1412:8:103",
1234
1234
  "type": ""
1235
1235
  },
1236
1236
  {
1237
1237
  "name": "value7_1",
1238
1238
  "nodeType": "YulTypedName",
1239
- "src": "1422:8:104",
1239
+ "src": "1422:8:103",
1240
1240
  "type": ""
1241
1241
  }
1242
1242
  ]
1243
1243
  },
1244
1244
  {
1245
1245
  "nodeType": "YulAssignment",
1246
- "src": "1503:18:104",
1246
+ "src": "1503:18:103",
1247
1247
  "value": {
1248
1248
  "name": "value6_1",
1249
1249
  "nodeType": "YulIdentifier",
1250
- "src": "1513:8:104"
1250
+ "src": "1513:8:103"
1251
1251
  },
1252
1252
  "variableNames": [
1253
1253
  {
1254
1254
  "name": "value6",
1255
1255
  "nodeType": "YulIdentifier",
1256
- "src": "1503:6:104"
1256
+ "src": "1503:6:103"
1257
1257
  }
1258
1258
  ]
1259
1259
  },
1260
1260
  {
1261
1261
  "nodeType": "YulAssignment",
1262
- "src": "1530:18:104",
1262
+ "src": "1530:18:103",
1263
1263
  "value": {
1264
1264
  "name": "value7_1",
1265
1265
  "nodeType": "YulIdentifier",
1266
- "src": "1540:8:104"
1266
+ "src": "1540:8:103"
1267
1267
  },
1268
1268
  "variableNames": [
1269
1269
  {
1270
1270
  "name": "value7",
1271
1271
  "nodeType": "YulIdentifier",
1272
- "src": "1530:6:104"
1272
+ "src": "1530:6:103"
1273
1273
  }
1274
1274
  ]
1275
1275
  }
@@ -1281,13 +1281,13 @@
1281
1281
  {
1282
1282
  "name": "headStart",
1283
1283
  "nodeType": "YulTypedName",
1284
- "src": "647:9:104",
1284
+ "src": "647:9:103",
1285
1285
  "type": ""
1286
1286
  },
1287
1287
  {
1288
1288
  "name": "dataEnd",
1289
1289
  "nodeType": "YulTypedName",
1290
- "src": "658:7:104",
1290
+ "src": "658:7:103",
1291
1291
  "type": ""
1292
1292
  }
1293
1293
  ],
@@ -1295,63 +1295,63 @@
1295
1295
  {
1296
1296
  "name": "value0",
1297
1297
  "nodeType": "YulTypedName",
1298
- "src": "670:6:104",
1298
+ "src": "670:6:103",
1299
1299
  "type": ""
1300
1300
  },
1301
1301
  {
1302
1302
  "name": "value1",
1303
1303
  "nodeType": "YulTypedName",
1304
- "src": "678:6:104",
1304
+ "src": "678:6:103",
1305
1305
  "type": ""
1306
1306
  },
1307
1307
  {
1308
1308
  "name": "value2",
1309
1309
  "nodeType": "YulTypedName",
1310
- "src": "686:6:104",
1310
+ "src": "686:6:103",
1311
1311
  "type": ""
1312
1312
  },
1313
1313
  {
1314
1314
  "name": "value3",
1315
1315
  "nodeType": "YulTypedName",
1316
- "src": "694:6:104",
1316
+ "src": "694:6:103",
1317
1317
  "type": ""
1318
1318
  },
1319
1319
  {
1320
1320
  "name": "value4",
1321
1321
  "nodeType": "YulTypedName",
1322
- "src": "702:6:104",
1322
+ "src": "702:6:103",
1323
1323
  "type": ""
1324
1324
  },
1325
1325
  {
1326
1326
  "name": "value5",
1327
1327
  "nodeType": "YulTypedName",
1328
- "src": "710:6:104",
1328
+ "src": "710:6:103",
1329
1329
  "type": ""
1330
1330
  },
1331
1331
  {
1332
1332
  "name": "value6",
1333
1333
  "nodeType": "YulTypedName",
1334
- "src": "718:6:104",
1334
+ "src": "718:6:103",
1335
1335
  "type": ""
1336
1336
  },
1337
1337
  {
1338
1338
  "name": "value7",
1339
1339
  "nodeType": "YulTypedName",
1340
- "src": "726:6:104",
1340
+ "src": "726:6:103",
1341
1341
  "type": ""
1342
1342
  }
1343
1343
  ],
1344
- "src": "544:1010:104"
1344
+ "src": "544:1010:103"
1345
1345
  },
1346
1346
  {
1347
1347
  "body": {
1348
1348
  "nodeType": "YulBlock",
1349
- "src": "1646:167:104",
1349
+ "src": "1646:167:103",
1350
1350
  "statements": [
1351
1351
  {
1352
1352
  "body": {
1353
1353
  "nodeType": "YulBlock",
1354
- "src": "1692:16:104",
1354
+ "src": "1692:16:103",
1355
1355
  "statements": [
1356
1356
  {
1357
1357
  "expression": {
@@ -1359,14 +1359,14 @@
1359
1359
  {
1360
1360
  "kind": "number",
1361
1361
  "nodeType": "YulLiteral",
1362
- "src": "1701:1:104",
1362
+ "src": "1701:1:103",
1363
1363
  "type": "",
1364
1364
  "value": "0"
1365
1365
  },
1366
1366
  {
1367
1367
  "kind": "number",
1368
1368
  "nodeType": "YulLiteral",
1369
- "src": "1704:1:104",
1369
+ "src": "1704:1:103",
1370
1370
  "type": "",
1371
1371
  "value": "0"
1372
1372
  }
@@ -1374,13 +1374,13 @@
1374
1374
  "functionName": {
1375
1375
  "name": "revert",
1376
1376
  "nodeType": "YulIdentifier",
1377
- "src": "1694:6:104"
1377
+ "src": "1694:6:103"
1378
1378
  },
1379
1379
  "nodeType": "YulFunctionCall",
1380
- "src": "1694:12:104"
1380
+ "src": "1694:12:103"
1381
1381
  },
1382
1382
  "nodeType": "YulExpressionStatement",
1383
- "src": "1694:12:104"
1383
+ "src": "1694:12:103"
1384
1384
  }
1385
1385
  ]
1386
1386
  },
@@ -1391,26 +1391,26 @@
1391
1391
  {
1392
1392
  "name": "dataEnd",
1393
1393
  "nodeType": "YulIdentifier",
1394
- "src": "1667:7:104"
1394
+ "src": "1667:7:103"
1395
1395
  },
1396
1396
  {
1397
1397
  "name": "headStart",
1398
1398
  "nodeType": "YulIdentifier",
1399
- "src": "1676:9:104"
1399
+ "src": "1676:9:103"
1400
1400
  }
1401
1401
  ],
1402
1402
  "functionName": {
1403
1403
  "name": "sub",
1404
1404
  "nodeType": "YulIdentifier",
1405
- "src": "1663:3:104"
1405
+ "src": "1663:3:103"
1406
1406
  },
1407
1407
  "nodeType": "YulFunctionCall",
1408
- "src": "1663:23:104"
1408
+ "src": "1663:23:103"
1409
1409
  },
1410
1410
  {
1411
1411
  "kind": "number",
1412
1412
  "nodeType": "YulLiteral",
1413
- "src": "1688:2:104",
1413
+ "src": "1688:2:103",
1414
1414
  "type": "",
1415
1415
  "value": "64"
1416
1416
  }
@@ -1418,44 +1418,44 @@
1418
1418
  "functionName": {
1419
1419
  "name": "slt",
1420
1420
  "nodeType": "YulIdentifier",
1421
- "src": "1659:3:104"
1421
+ "src": "1659:3:103"
1422
1422
  },
1423
1423
  "nodeType": "YulFunctionCall",
1424
- "src": "1659:32:104"
1424
+ "src": "1659:32:103"
1425
1425
  },
1426
1426
  "nodeType": "YulIf",
1427
- "src": "1656:52:104"
1427
+ "src": "1656:52:103"
1428
1428
  },
1429
1429
  {
1430
1430
  "nodeType": "YulAssignment",
1431
- "src": "1717:33:104",
1431
+ "src": "1717:33:103",
1432
1432
  "value": {
1433
1433
  "arguments": [
1434
1434
  {
1435
1435
  "name": "headStart",
1436
1436
  "nodeType": "YulIdentifier",
1437
- "src": "1740:9:104"
1437
+ "src": "1740:9:103"
1438
1438
  }
1439
1439
  ],
1440
1440
  "functionName": {
1441
1441
  "name": "calldataload",
1442
1442
  "nodeType": "YulIdentifier",
1443
- "src": "1727:12:104"
1443
+ "src": "1727:12:103"
1444
1444
  },
1445
1445
  "nodeType": "YulFunctionCall",
1446
- "src": "1727:23:104"
1446
+ "src": "1727:23:103"
1447
1447
  },
1448
1448
  "variableNames": [
1449
1449
  {
1450
1450
  "name": "value0",
1451
1451
  "nodeType": "YulIdentifier",
1452
- "src": "1717:6:104"
1452
+ "src": "1717:6:103"
1453
1453
  }
1454
1454
  ]
1455
1455
  },
1456
1456
  {
1457
1457
  "nodeType": "YulAssignment",
1458
- "src": "1759:48:104",
1458
+ "src": "1759:48:103",
1459
1459
  "value": {
1460
1460
  "arguments": [
1461
1461
  {
@@ -1463,12 +1463,12 @@
1463
1463
  {
1464
1464
  "name": "headStart",
1465
1465
  "nodeType": "YulIdentifier",
1466
- "src": "1792:9:104"
1466
+ "src": "1792:9:103"
1467
1467
  },
1468
1468
  {
1469
1469
  "kind": "number",
1470
1470
  "nodeType": "YulLiteral",
1471
- "src": "1803:2:104",
1471
+ "src": "1803:2:103",
1472
1472
  "type": "",
1473
1473
  "value": "32"
1474
1474
  }
@@ -1476,25 +1476,25 @@
1476
1476
  "functionName": {
1477
1477
  "name": "add",
1478
1478
  "nodeType": "YulIdentifier",
1479
- "src": "1788:3:104"
1479
+ "src": "1788:3:103"
1480
1480
  },
1481
1481
  "nodeType": "YulFunctionCall",
1482
- "src": "1788:18:104"
1482
+ "src": "1788:18:103"
1483
1483
  }
1484
1484
  ],
1485
1485
  "functionName": {
1486
1486
  "name": "abi_decode_address",
1487
1487
  "nodeType": "YulIdentifier",
1488
- "src": "1769:18:104"
1488
+ "src": "1769:18:103"
1489
1489
  },
1490
1490
  "nodeType": "YulFunctionCall",
1491
- "src": "1769:38:104"
1491
+ "src": "1769:38:103"
1492
1492
  },
1493
1493
  "variableNames": [
1494
1494
  {
1495
1495
  "name": "value1",
1496
1496
  "nodeType": "YulIdentifier",
1497
- "src": "1759:6:104"
1497
+ "src": "1759:6:103"
1498
1498
  }
1499
1499
  ]
1500
1500
  }
@@ -1506,13 +1506,13 @@
1506
1506
  {
1507
1507
  "name": "headStart",
1508
1508
  "nodeType": "YulTypedName",
1509
- "src": "1604:9:104",
1509
+ "src": "1604:9:103",
1510
1510
  "type": ""
1511
1511
  },
1512
1512
  {
1513
1513
  "name": "dataEnd",
1514
1514
  "nodeType": "YulTypedName",
1515
- "src": "1615:7:104",
1515
+ "src": "1615:7:103",
1516
1516
  "type": ""
1517
1517
  }
1518
1518
  ],
@@ -1520,37 +1520,37 @@
1520
1520
  {
1521
1521
  "name": "value0",
1522
1522
  "nodeType": "YulTypedName",
1523
- "src": "1627:6:104",
1523
+ "src": "1627:6:103",
1524
1524
  "type": ""
1525
1525
  },
1526
1526
  {
1527
1527
  "name": "value1",
1528
1528
  "nodeType": "YulTypedName",
1529
- "src": "1635:6:104",
1529
+ "src": "1635:6:103",
1530
1530
  "type": ""
1531
1531
  }
1532
1532
  ],
1533
- "src": "1559:254:104"
1533
+ "src": "1559:254:103"
1534
1534
  },
1535
1535
  {
1536
1536
  "body": {
1537
1537
  "nodeType": "YulBlock",
1538
- "src": "1919:76:104",
1538
+ "src": "1919:76:103",
1539
1539
  "statements": [
1540
1540
  {
1541
1541
  "nodeType": "YulAssignment",
1542
- "src": "1929:26:104",
1542
+ "src": "1929:26:103",
1543
1543
  "value": {
1544
1544
  "arguments": [
1545
1545
  {
1546
1546
  "name": "headStart",
1547
1547
  "nodeType": "YulIdentifier",
1548
- "src": "1941:9:104"
1548
+ "src": "1941:9:103"
1549
1549
  },
1550
1550
  {
1551
1551
  "kind": "number",
1552
1552
  "nodeType": "YulLiteral",
1553
- "src": "1952:2:104",
1553
+ "src": "1952:2:103",
1554
1554
  "type": "",
1555
1555
  "value": "32"
1556
1556
  }
@@ -1558,16 +1558,16 @@
1558
1558
  "functionName": {
1559
1559
  "name": "add",
1560
1560
  "nodeType": "YulIdentifier",
1561
- "src": "1937:3:104"
1561
+ "src": "1937:3:103"
1562
1562
  },
1563
1563
  "nodeType": "YulFunctionCall",
1564
- "src": "1937:18:104"
1564
+ "src": "1937:18:103"
1565
1565
  },
1566
1566
  "variableNames": [
1567
1567
  {
1568
1568
  "name": "tail",
1569
1569
  "nodeType": "YulIdentifier",
1570
- "src": "1929:4:104"
1570
+ "src": "1929:4:103"
1571
1571
  }
1572
1572
  ]
1573
1573
  },
@@ -1577,24 +1577,24 @@
1577
1577
  {
1578
1578
  "name": "headStart",
1579
1579
  "nodeType": "YulIdentifier",
1580
- "src": "1971:9:104"
1580
+ "src": "1971:9:103"
1581
1581
  },
1582
1582
  {
1583
1583
  "name": "value0",
1584
1584
  "nodeType": "YulIdentifier",
1585
- "src": "1982:6:104"
1585
+ "src": "1982:6:103"
1586
1586
  }
1587
1587
  ],
1588
1588
  "functionName": {
1589
1589
  "name": "mstore",
1590
1590
  "nodeType": "YulIdentifier",
1591
- "src": "1964:6:104"
1591
+ "src": "1964:6:103"
1592
1592
  },
1593
1593
  "nodeType": "YulFunctionCall",
1594
- "src": "1964:25:104"
1594
+ "src": "1964:25:103"
1595
1595
  },
1596
1596
  "nodeType": "YulExpressionStatement",
1597
- "src": "1964:25:104"
1597
+ "src": "1964:25:103"
1598
1598
  }
1599
1599
  ]
1600
1600
  },
@@ -1604,13 +1604,13 @@
1604
1604
  {
1605
1605
  "name": "headStart",
1606
1606
  "nodeType": "YulTypedName",
1607
- "src": "1888:9:104",
1607
+ "src": "1888:9:103",
1608
1608
  "type": ""
1609
1609
  },
1610
1610
  {
1611
1611
  "name": "value0",
1612
1612
  "nodeType": "YulTypedName",
1613
- "src": "1899:6:104",
1613
+ "src": "1899:6:103",
1614
1614
  "type": ""
1615
1615
  }
1616
1616
  ],
@@ -1618,21 +1618,21 @@
1618
1618
  {
1619
1619
  "name": "tail",
1620
1620
  "nodeType": "YulTypedName",
1621
- "src": "1910:4:104",
1621
+ "src": "1910:4:103",
1622
1622
  "type": ""
1623
1623
  }
1624
1624
  ],
1625
- "src": "1818:177:104"
1625
+ "src": "1818:177:103"
1626
1626
  },
1627
1627
  {
1628
1628
  "body": {
1629
1629
  "nodeType": "YulBlock",
1630
- "src": "2047:185:104",
1630
+ "src": "2047:185:103",
1631
1631
  "statements": [
1632
1632
  {
1633
1633
  "body": {
1634
1634
  "nodeType": "YulBlock",
1635
- "src": "2086:111:104",
1635
+ "src": "2086:111:103",
1636
1636
  "statements": [
1637
1637
  {
1638
1638
  "expression": {
@@ -1640,7 +1640,7 @@
1640
1640
  {
1641
1641
  "kind": "number",
1642
1642
  "nodeType": "YulLiteral",
1643
- "src": "2107:1:104",
1643
+ "src": "2107:1:103",
1644
1644
  "type": "",
1645
1645
  "value": "0"
1646
1646
  },
@@ -1649,14 +1649,14 @@
1649
1649
  {
1650
1650
  "kind": "number",
1651
1651
  "nodeType": "YulLiteral",
1652
- "src": "2114:3:104",
1652
+ "src": "2114:3:103",
1653
1653
  "type": "",
1654
1654
  "value": "224"
1655
1655
  },
1656
1656
  {
1657
1657
  "kind": "number",
1658
1658
  "nodeType": "YulLiteral",
1659
- "src": "2119:10:104",
1659
+ "src": "2119:10:103",
1660
1660
  "type": "",
1661
1661
  "value": "0x4e487b71"
1662
1662
  }
@@ -1664,22 +1664,22 @@
1664
1664
  "functionName": {
1665
1665
  "name": "shl",
1666
1666
  "nodeType": "YulIdentifier",
1667
- "src": "2110:3:104"
1667
+ "src": "2110:3:103"
1668
1668
  },
1669
1669
  "nodeType": "YulFunctionCall",
1670
- "src": "2110:20:104"
1670
+ "src": "2110:20:103"
1671
1671
  }
1672
1672
  ],
1673
1673
  "functionName": {
1674
1674
  "name": "mstore",
1675
1675
  "nodeType": "YulIdentifier",
1676
- "src": "2100:6:104"
1676
+ "src": "2100:6:103"
1677
1677
  },
1678
1678
  "nodeType": "YulFunctionCall",
1679
- "src": "2100:31:104"
1679
+ "src": "2100:31:103"
1680
1680
  },
1681
1681
  "nodeType": "YulExpressionStatement",
1682
- "src": "2100:31:104"
1682
+ "src": "2100:31:103"
1683
1683
  },
1684
1684
  {
1685
1685
  "expression": {
@@ -1687,14 +1687,14 @@
1687
1687
  {
1688
1688
  "kind": "number",
1689
1689
  "nodeType": "YulLiteral",
1690
- "src": "2151:1:104",
1690
+ "src": "2151:1:103",
1691
1691
  "type": "",
1692
1692
  "value": "4"
1693
1693
  },
1694
1694
  {
1695
1695
  "kind": "number",
1696
1696
  "nodeType": "YulLiteral",
1697
- "src": "2154:4:104",
1697
+ "src": "2154:4:103",
1698
1698
  "type": "",
1699
1699
  "value": "0x11"
1700
1700
  }
@@ -1702,13 +1702,13 @@
1702
1702
  "functionName": {
1703
1703
  "name": "mstore",
1704
1704
  "nodeType": "YulIdentifier",
1705
- "src": "2144:6:104"
1705
+ "src": "2144:6:103"
1706
1706
  },
1707
1707
  "nodeType": "YulFunctionCall",
1708
- "src": "2144:15:104"
1708
+ "src": "2144:15:103"
1709
1709
  },
1710
1710
  "nodeType": "YulExpressionStatement",
1711
- "src": "2144:15:104"
1711
+ "src": "2144:15:103"
1712
1712
  },
1713
1713
  {
1714
1714
  "expression": {
@@ -1716,14 +1716,14 @@
1716
1716
  {
1717
1717
  "kind": "number",
1718
1718
  "nodeType": "YulLiteral",
1719
- "src": "2179:1:104",
1719
+ "src": "2179:1:103",
1720
1720
  "type": "",
1721
1721
  "value": "0"
1722
1722
  },
1723
1723
  {
1724
1724
  "kind": "number",
1725
1725
  "nodeType": "YulLiteral",
1726
- "src": "2182:4:104",
1726
+ "src": "2182:4:103",
1727
1727
  "type": "",
1728
1728
  "value": "0x24"
1729
1729
  }
@@ -1731,13 +1731,13 @@
1731
1731
  "functionName": {
1732
1732
  "name": "revert",
1733
1733
  "nodeType": "YulIdentifier",
1734
- "src": "2172:6:104"
1734
+ "src": "2172:6:103"
1735
1735
  },
1736
1736
  "nodeType": "YulFunctionCall",
1737
- "src": "2172:15:104"
1737
+ "src": "2172:15:103"
1738
1738
  },
1739
1739
  "nodeType": "YulExpressionStatement",
1740
- "src": "2172:15:104"
1740
+ "src": "2172:15:103"
1741
1741
  }
1742
1742
  ]
1743
1743
  },
@@ -1746,14 +1746,14 @@
1746
1746
  {
1747
1747
  "name": "value",
1748
1748
  "nodeType": "YulIdentifier",
1749
- "src": "2063:5:104"
1749
+ "src": "2063:5:103"
1750
1750
  },
1751
1751
  {
1752
1752
  "arguments": [
1753
1753
  {
1754
1754
  "kind": "number",
1755
1755
  "nodeType": "YulLiteral",
1756
- "src": "2074:1:104",
1756
+ "src": "2074:1:103",
1757
1757
  "type": "",
1758
1758
  "value": "0"
1759
1759
  }
@@ -1761,37 +1761,37 @@
1761
1761
  "functionName": {
1762
1762
  "name": "not",
1763
1763
  "nodeType": "YulIdentifier",
1764
- "src": "2070:3:104"
1764
+ "src": "2070:3:103"
1765
1765
  },
1766
1766
  "nodeType": "YulFunctionCall",
1767
- "src": "2070:6:104"
1767
+ "src": "2070:6:103"
1768
1768
  }
1769
1769
  ],
1770
1770
  "functionName": {
1771
1771
  "name": "eq",
1772
1772
  "nodeType": "YulIdentifier",
1773
- "src": "2060:2:104"
1773
+ "src": "2060:2:103"
1774
1774
  },
1775
1775
  "nodeType": "YulFunctionCall",
1776
- "src": "2060:17:104"
1776
+ "src": "2060:17:103"
1777
1777
  },
1778
1778
  "nodeType": "YulIf",
1779
- "src": "2057:140:104"
1779
+ "src": "2057:140:103"
1780
1780
  },
1781
1781
  {
1782
1782
  "nodeType": "YulAssignment",
1783
- "src": "2206:20:104",
1783
+ "src": "2206:20:103",
1784
1784
  "value": {
1785
1785
  "arguments": [
1786
1786
  {
1787
1787
  "name": "value",
1788
1788
  "nodeType": "YulIdentifier",
1789
- "src": "2217:5:104"
1789
+ "src": "2217:5:103"
1790
1790
  },
1791
1791
  {
1792
1792
  "kind": "number",
1793
1793
  "nodeType": "YulLiteral",
1794
- "src": "2224:1:104",
1794
+ "src": "2224:1:103",
1795
1795
  "type": "",
1796
1796
  "value": "1"
1797
1797
  }
@@ -1799,16 +1799,16 @@
1799
1799
  "functionName": {
1800
1800
  "name": "add",
1801
1801
  "nodeType": "YulIdentifier",
1802
- "src": "2213:3:104"
1802
+ "src": "2213:3:103"
1803
1803
  },
1804
1804
  "nodeType": "YulFunctionCall",
1805
- "src": "2213:13:104"
1805
+ "src": "2213:13:103"
1806
1806
  },
1807
1807
  "variableNames": [
1808
1808
  {
1809
1809
  "name": "ret",
1810
1810
  "nodeType": "YulIdentifier",
1811
- "src": "2206:3:104"
1811
+ "src": "2206:3:103"
1812
1812
  }
1813
1813
  ]
1814
1814
  }
@@ -1820,7 +1820,7 @@
1820
1820
  {
1821
1821
  "name": "value",
1822
1822
  "nodeType": "YulTypedName",
1823
- "src": "2029:5:104",
1823
+ "src": "2029:5:103",
1824
1824
  "type": ""
1825
1825
  }
1826
1826
  ],
@@ -1828,31 +1828,31 @@
1828
1828
  {
1829
1829
  "name": "ret",
1830
1830
  "nodeType": "YulTypedName",
1831
- "src": "2039:3:104",
1831
+ "src": "2039:3:103",
1832
1832
  "type": ""
1833
1833
  }
1834
1834
  ],
1835
- "src": "2000:232:104"
1835
+ "src": "2000:232:103"
1836
1836
  },
1837
1837
  {
1838
1838
  "body": {
1839
1839
  "nodeType": "YulBlock",
1840
- "src": "2366:119:104",
1840
+ "src": "2366:119:103",
1841
1841
  "statements": [
1842
1842
  {
1843
1843
  "nodeType": "YulAssignment",
1844
- "src": "2376:26:104",
1844
+ "src": "2376:26:103",
1845
1845
  "value": {
1846
1846
  "arguments": [
1847
1847
  {
1848
1848
  "name": "headStart",
1849
1849
  "nodeType": "YulIdentifier",
1850
- "src": "2388:9:104"
1850
+ "src": "2388:9:103"
1851
1851
  },
1852
1852
  {
1853
1853
  "kind": "number",
1854
1854
  "nodeType": "YulLiteral",
1855
- "src": "2399:2:104",
1855
+ "src": "2399:2:103",
1856
1856
  "type": "",
1857
1857
  "value": "64"
1858
1858
  }
@@ -1860,16 +1860,16 @@
1860
1860
  "functionName": {
1861
1861
  "name": "add",
1862
1862
  "nodeType": "YulIdentifier",
1863
- "src": "2384:3:104"
1863
+ "src": "2384:3:103"
1864
1864
  },
1865
1865
  "nodeType": "YulFunctionCall",
1866
- "src": "2384:18:104"
1866
+ "src": "2384:18:103"
1867
1867
  },
1868
1868
  "variableNames": [
1869
1869
  {
1870
1870
  "name": "tail",
1871
1871
  "nodeType": "YulIdentifier",
1872
- "src": "2376:4:104"
1872
+ "src": "2376:4:103"
1873
1873
  }
1874
1874
  ]
1875
1875
  },
@@ -1879,24 +1879,24 @@
1879
1879
  {
1880
1880
  "name": "headStart",
1881
1881
  "nodeType": "YulIdentifier",
1882
- "src": "2418:9:104"
1882
+ "src": "2418:9:103"
1883
1883
  },
1884
1884
  {
1885
1885
  "name": "value0",
1886
1886
  "nodeType": "YulIdentifier",
1887
- "src": "2429:6:104"
1887
+ "src": "2429:6:103"
1888
1888
  }
1889
1889
  ],
1890
1890
  "functionName": {
1891
1891
  "name": "mstore",
1892
1892
  "nodeType": "YulIdentifier",
1893
- "src": "2411:6:104"
1893
+ "src": "2411:6:103"
1894
1894
  },
1895
1895
  "nodeType": "YulFunctionCall",
1896
- "src": "2411:25:104"
1896
+ "src": "2411:25:103"
1897
1897
  },
1898
1898
  "nodeType": "YulExpressionStatement",
1899
- "src": "2411:25:104"
1899
+ "src": "2411:25:103"
1900
1900
  },
1901
1901
  {
1902
1902
  "expression": {
@@ -1906,12 +1906,12 @@
1906
1906
  {
1907
1907
  "name": "headStart",
1908
1908
  "nodeType": "YulIdentifier",
1909
- "src": "2456:9:104"
1909
+ "src": "2456:9:103"
1910
1910
  },
1911
1911
  {
1912
1912
  "kind": "number",
1913
1913
  "nodeType": "YulLiteral",
1914
- "src": "2467:2:104",
1914
+ "src": "2467:2:103",
1915
1915
  "type": "",
1916
1916
  "value": "32"
1917
1917
  }
@@ -1919,27 +1919,27 @@
1919
1919
  "functionName": {
1920
1920
  "name": "add",
1921
1921
  "nodeType": "YulIdentifier",
1922
- "src": "2452:3:104"
1922
+ "src": "2452:3:103"
1923
1923
  },
1924
1924
  "nodeType": "YulFunctionCall",
1925
- "src": "2452:18:104"
1925
+ "src": "2452:18:103"
1926
1926
  },
1927
1927
  {
1928
1928
  "name": "value1",
1929
1929
  "nodeType": "YulIdentifier",
1930
- "src": "2472:6:104"
1930
+ "src": "2472:6:103"
1931
1931
  }
1932
1932
  ],
1933
1933
  "functionName": {
1934
1934
  "name": "mstore",
1935
1935
  "nodeType": "YulIdentifier",
1936
- "src": "2445:6:104"
1936
+ "src": "2445:6:103"
1937
1937
  },
1938
1938
  "nodeType": "YulFunctionCall",
1939
- "src": "2445:34:104"
1939
+ "src": "2445:34:103"
1940
1940
  },
1941
1941
  "nodeType": "YulExpressionStatement",
1942
- "src": "2445:34:104"
1942
+ "src": "2445:34:103"
1943
1943
  }
1944
1944
  ]
1945
1945
  },
@@ -1949,19 +1949,19 @@
1949
1949
  {
1950
1950
  "name": "headStart",
1951
1951
  "nodeType": "YulTypedName",
1952
- "src": "2327:9:104",
1952
+ "src": "2327:9:103",
1953
1953
  "type": ""
1954
1954
  },
1955
1955
  {
1956
1956
  "name": "value1",
1957
1957
  "nodeType": "YulTypedName",
1958
- "src": "2338:6:104",
1958
+ "src": "2338:6:103",
1959
1959
  "type": ""
1960
1960
  },
1961
1961
  {
1962
1962
  "name": "value0",
1963
1963
  "nodeType": "YulTypedName",
1964
- "src": "2346:6:104",
1964
+ "src": "2346:6:103",
1965
1965
  "type": ""
1966
1966
  }
1967
1967
  ],
@@ -1969,16 +1969,16 @@
1969
1969
  {
1970
1970
  "name": "tail",
1971
1971
  "nodeType": "YulTypedName",
1972
- "src": "2357:4:104",
1972
+ "src": "2357:4:103",
1973
1973
  "type": ""
1974
1974
  }
1975
1975
  ],
1976
- "src": "2237:248:104"
1976
+ "src": "2237:248:103"
1977
1977
  },
1978
1978
  {
1979
1979
  "body": {
1980
1980
  "nodeType": "YulBlock",
1981
- "src": "2682:79:104",
1981
+ "src": "2682:79:103",
1982
1982
  "statements": [
1983
1983
  {
1984
1984
  "expression": {
@@ -1986,13 +1986,13 @@
1986
1986
  {
1987
1987
  "name": "pos",
1988
1988
  "nodeType": "YulIdentifier",
1989
- "src": "2699:3:104"
1989
+ "src": "2699:3:103"
1990
1990
  },
1991
1991
  {
1992
1992
  "hexValue": "455243313832305f4143434550545f4d41474943",
1993
1993
  "kind": "string",
1994
1994
  "nodeType": "YulLiteral",
1995
- "src": "2704:22:104",
1995
+ "src": "2704:22:103",
1996
1996
  "type": "",
1997
1997
  "value": "ERC1820_ACCEPT_MAGIC"
1998
1998
  }
@@ -2000,28 +2000,28 @@
2000
2000
  "functionName": {
2001
2001
  "name": "mstore",
2002
2002
  "nodeType": "YulIdentifier",
2003
- "src": "2692:6:104"
2003
+ "src": "2692:6:103"
2004
2004
  },
2005
2005
  "nodeType": "YulFunctionCall",
2006
- "src": "2692:35:104"
2006
+ "src": "2692:35:103"
2007
2007
  },
2008
2008
  "nodeType": "YulExpressionStatement",
2009
- "src": "2692:35:104"
2009
+ "src": "2692:35:103"
2010
2010
  },
2011
2011
  {
2012
2012
  "nodeType": "YulAssignment",
2013
- "src": "2736:19:104",
2013
+ "src": "2736:19:103",
2014
2014
  "value": {
2015
2015
  "arguments": [
2016
2016
  {
2017
2017
  "name": "pos",
2018
2018
  "nodeType": "YulIdentifier",
2019
- "src": "2747:3:104"
2019
+ "src": "2747:3:103"
2020
2020
  },
2021
2021
  {
2022
2022
  "kind": "number",
2023
2023
  "nodeType": "YulLiteral",
2024
- "src": "2752:2:104",
2024
+ "src": "2752:2:103",
2025
2025
  "type": "",
2026
2026
  "value": "20"
2027
2027
  }
@@ -2029,16 +2029,16 @@
2029
2029
  "functionName": {
2030
2030
  "name": "add",
2031
2031
  "nodeType": "YulIdentifier",
2032
- "src": "2743:3:104"
2032
+ "src": "2743:3:103"
2033
2033
  },
2034
2034
  "nodeType": "YulFunctionCall",
2035
- "src": "2743:12:104"
2035
+ "src": "2743:12:103"
2036
2036
  },
2037
2037
  "variableNames": [
2038
2038
  {
2039
2039
  "name": "end",
2040
2040
  "nodeType": "YulIdentifier",
2041
- "src": "2736:3:104"
2041
+ "src": "2736:3:103"
2042
2042
  }
2043
2043
  ]
2044
2044
  }
@@ -2050,7 +2050,7 @@
2050
2050
  {
2051
2051
  "name": "pos",
2052
2052
  "nodeType": "YulTypedName",
2053
- "src": "2666:3:104",
2053
+ "src": "2666:3:103",
2054
2054
  "type": ""
2055
2055
  }
2056
2056
  ],
@@ -2058,22 +2058,22 @@
2058
2058
  {
2059
2059
  "name": "end",
2060
2060
  "nodeType": "YulTypedName",
2061
- "src": "2674:3:104",
2061
+ "src": "2674:3:103",
2062
2062
  "type": ""
2063
2063
  }
2064
2064
  ],
2065
- "src": "2490:271:104"
2065
+ "src": "2490:271:103"
2066
2066
  }
2067
2067
  ]
2068
2068
  },
2069
2069
  "contents": "{\n { }\n function abi_decode_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_bytes_calldata(offset, end) -> arrayPos, length\n {\n if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n length := calldataload(offset)\n if gt(length, 0xffffffffffffffff) { revert(0, 0) }\n arrayPos := add(offset, 0x20)\n if gt(add(add(offset, length), 0x20), end) { revert(0, 0) }\n }\n function abi_decode_tuple_t_addresst_addresst_addresst_uint256t_bytes_calldata_ptrt_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5, value6, value7\n {\n if slt(sub(dataEnd, headStart), 192) { revert(0, 0) }\n value0 := abi_decode_address(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n value2 := abi_decode_address(add(headStart, 64))\n value3 := calldataload(add(headStart, 96))\n let offset := calldataload(add(headStart, 128))\n let _1 := 0xffffffffffffffff\n if gt(offset, _1) { revert(0, 0) }\n let value4_1, value5_1 := abi_decode_bytes_calldata(add(headStart, offset), dataEnd)\n value4 := value4_1\n value5 := value5_1\n let offset_1 := calldataload(add(headStart, 160))\n if gt(offset_1, _1) { revert(0, 0) }\n let value6_1, value7_1 := abi_decode_bytes_calldata(add(headStart, offset_1), dataEnd)\n value6 := value6_1\n value7 := value7_1\n }\n function abi_decode_tuple_t_bytes32t_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := calldataload(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n }\n function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function increment_t_uint256(value) -> ret\n {\n if eq(value, not(0))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n ret := add(value, 1)\n }\n function abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), value1)\n }\n function abi_encode_tuple_packed_t_stringliteral_a2ef4600d742022d532d4747cb3547474667d6f13804902513b2ec01c848f4b4__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"ERC1820_ACCEPT_MAGIC\")\n end := add(pos, 20)\n }\n}",
2070
- "id": 104,
2070
+ "id": 103,
2071
2071
  "language": "Yul",
2072
2072
  "name": "#utility.yul"
2073
2073
  }
2074
2074
  ],
2075
2075
  "sourceMap": "6371:1154:68:-:0;;;6585:1;6554:32;;6371:1154;;;;;;;;;;;;;;;;",
2076
- "deployedSourceMap": "6371:1154:68:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6651:508;;;;;;:::i;:::-;;:::i;:::-;;7202:321;;;;;;:::i;:::-;;:::i;:::-;;;1964:25:104;;;1952:2;1937:18;7202:321:68;;;;;;;6651:508;6895:18;6916:9;6895:30;;6935:170;6954:5;6942:9;:17;6935:170;;;7033:11;:13;;;:11;:13;;;:::i;:::-;;;;;;6935:170;;;7119:33;7130:10;7142:9;7119:33;;;2411:25:104;;;2467:2;2452:18;;2445:34;;;;2384:18;7119:33:68;;;;;;;6885:274;6651:508;;;;;;;;:::o;7202:321::-;7331:7;6514:34;7373:13;:49;:143;;7511:4;7373:143;;;7447:40;;-1:-1:-1;;;7447:40:68;;;2692:35:104;2743:12;;7447:40:68;;;;;;;;;;;;7437:51;;;;;;7373:143;7354:162;7202:321;-1:-1:-1;;;7202:321:68:o;14:173:104:-;82:20;;-1:-1:-1;;;;;131:31:104;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:347::-;243:8;253:6;307:3;300:4;292:6;288:17;284:27;274:55;;325:1;322;315:12;274:55;-1:-1:-1;348:20:104;;391:18;380:30;;377:50;;;423:1;420;413:12;377:50;460:4;452:6;448:17;436:29;;512:3;505:4;496:6;488;484:19;480:30;477:39;474:59;;;529:1;526;519:12;474:59;192:347;;;;;:::o;544:1010::-;670:6;678;686;694;702;710;718;726;779:3;767:9;758:7;754:23;750:33;747:53;;;796:1;793;786:12;747:53;819:29;838:9;819:29;:::i;:::-;809:39;;867:38;901:2;890:9;886:18;867:38;:::i;:::-;857:48;;924:38;958:2;947:9;943:18;924:38;:::i;:::-;914:48;;1009:2;998:9;994:18;981:32;971:42;;1064:3;1053:9;1049:19;1036:33;1088:18;1129:2;1121:6;1118:14;1115:34;;;1145:1;1142;1135:12;1115:34;1184:58;1234:7;1225:6;1214:9;1210:22;1184:58;:::i;:::-;1261:8;;-1:-1:-1;1158:84:104;-1:-1:-1;1349:3:104;1334:19;;1321:33;;-1:-1:-1;1366:16:104;;;1363:36;;;1395:1;1392;1385:12;1363:36;;1434:60;1486:7;1475:8;1464:9;1460:24;1434:60;:::i;:::-;544:1010;;;;-1:-1:-1;544:1010:104;;-1:-1:-1;544:1010:104;;;;;;1513:8;-1:-1:-1;;;544:1010:104:o;1559:254::-;1627:6;1635;1688:2;1676:9;1667:7;1663:23;1659:32;1656:52;;;1704:1;1701;1694:12;1656:52;1740:9;1727:23;1717:33;;1769:38;1803:2;1792:9;1788:18;1769:38;:::i;:::-;1759:48;;1559:254;;;;;:::o;2000:232::-;2039:3;2060:17;;;2057:140;;2119:10;2114:3;2110:20;2107:1;2100:31;2154:4;2151:1;2144:15;2182:4;2179:1;2172:15;2057:140;-1:-1:-1;2224:1:104;2213:13;;2000:232::o",
2076
+ "deployedSourceMap": "6371:1154:68:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6651:508;;;;;;:::i;:::-;;:::i;:::-;;7202:321;;;;;;:::i;:::-;;:::i;:::-;;;1964:25:103;;;1952:2;1937:18;7202:321:68;;;;;;;6651:508;6895:18;6916:9;6895:30;;6935:170;6954:5;6942:9;:17;6935:170;;;7033:11;:13;;;:11;:13;;;:::i;:::-;;;;;;6935:170;;;7119:33;7130:10;7142:9;7119:33;;;2411:25:103;;;2467:2;2452:18;;2445:34;;;;2384:18;7119:33:68;;;;;;;6885:274;6651:508;;;;;;;;:::o;7202:321::-;7331:7;6514:34;7373:13;:49;:143;;7511:4;7373:143;;;7447:40;;-1:-1:-1;;;7447:40:68;;;2692:35:103;2743:12;;7447:40:68;;;;;;;;;;;;7437:51;;;;;;7373:143;7354:162;7202:321;-1:-1:-1;;;7202:321:68:o;14:173:103:-;82:20;;-1:-1:-1;;;;;131:31:103;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:347::-;243:8;253:6;307:3;300:4;292:6;288:17;284:27;274:55;;325:1;322;315:12;274:55;-1:-1:-1;348:20:103;;391:18;380:30;;377:50;;;423:1;420;413:12;377:50;460:4;452:6;448:17;436:29;;512:3;505:4;496:6;488;484:19;480:30;477:39;474:59;;;529:1;526;519:12;474:59;192:347;;;;;:::o;544:1010::-;670:6;678;686;694;702;710;718;726;779:3;767:9;758:7;754:23;750:33;747:53;;;796:1;793;786:12;747:53;819:29;838:9;819:29;:::i;:::-;809:39;;867:38;901:2;890:9;886:18;867:38;:::i;:::-;857:48;;924:38;958:2;947:9;943:18;924:38;:::i;:::-;914:48;;1009:2;998:9;994:18;981:32;971:42;;1064:3;1053:9;1049:19;1036:33;1088:18;1129:2;1121:6;1118:14;1115:34;;;1145:1;1142;1135:12;1115:34;1184:58;1234:7;1225:6;1214:9;1210:22;1184:58;:::i;:::-;1261:8;;-1:-1:-1;1158:84:103;-1:-1:-1;1349:3:103;1334:19;;1321:33;;-1:-1:-1;1366:16:103;;;1363:36;;;1395:1;1392;1385:12;1363:36;;1434:60;1486:7;1475:8;1464:9;1460:24;1434:60;:::i;:::-;544:1010;;;;-1:-1:-1;544:1010:103;;-1:-1:-1;544:1010:103;;;;;;1513:8;-1:-1:-1;;;544:1010:103:o;1559:254::-;1627:6;1635;1688:2;1676:9;1667:7;1663:23;1659:32;1656:52;;;1704:1;1701;1694:12;1656:52;1740:9;1727:23;1717:33;;1769:38;1803:2;1792:9;1788:18;1769:38;:::i;:::-;1759:48;;1559:254;;;;;:::o;2000:232::-;2039:3;2060:17;;;2057:140;;2119:10;2114:3;2110:20;2107:1;2100:31;2154:4;2151:1;2144:15;2182:4;2179:1;2172:15;2057:140;-1:-1:-1;2224:1:103;2213:13;;2000:232::o",
2077
2077
  "source": "// SPDX-License-Identifier: AGPLv3\npragma solidity 0.8.16;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport \"@openzeppelin/contracts/token/ERC777/IERC777.sol\";\nimport \"@openzeppelin/contracts/token/ERC777/IERC777Sender.sol\";\nimport \"@openzeppelin/contracts/token/ERC777/IERC777Recipient.sol\";\nimport \"@openzeppelin/contracts/utils/introspection/IERC1820Registry.sol\";\nimport \"@openzeppelin/contracts/utils/introspection/ERC1820Implementer.sol\";\n\nimport {\n ISuperToken\n} from \"../superfluid/SuperToken.sol\";\n\n\ncontract ERC777SenderRecipientMock is Context, IERC777Sender, IERC777Recipient, ERC1820Implementer {\n event TokensToSendCalled(\n address operator,\n address from,\n address to,\n uint256 amount,\n bytes data,\n bytes operatorData,\n address token,\n uint256 fromBalance,\n uint256 toBalance\n );\n\n event TokensReceivedCalled(\n address operator,\n address from,\n address to,\n uint256 amount,\n bytes data,\n bytes operatorData,\n address token,\n uint256 fromBalance,\n uint256 toBalance\n );\n\n bool private _shouldRevertSend;\n bool private _shouldRevertReceive;\n\n IERC1820Registry private _erc1820 = IERC1820Registry(0x1820a4B7618BdE71Dce8cdc73aAB6C95905faD24);\n\n bytes32 constant private _TOKENS_SENDER_INTERFACE_HASH = keccak256(\"ERC777TokensSender\");\n bytes32 constant private _TOKENS_RECIPIENT_INTERFACE_HASH = keccak256(\"ERC777TokensRecipient\");\n\n function tokensToSend(\n address operator,\n address from,\n address to,\n uint256 amount,\n bytes calldata userData,\n bytes calldata operatorData\n ) external override {\n if (_shouldRevertSend) {\n revert(\"_shouldRevertSend\");\n }\n\n IERC777 token = IERC777(_msgSender());\n\n uint256 fromBalance = token.balanceOf(from);\n // when called due to burn, to will be the zero address, which will have a balance of 0\n uint256 toBalance = token.balanceOf(to);\n\n emit TokensToSendCalled(\n operator,\n from,\n to,\n amount,\n userData,\n operatorData,\n address(token),\n fromBalance,\n toBalance\n );\n }\n\n function tokensReceived(\n address operator,\n address from,\n address to,\n uint256 amount,\n bytes calldata userData,\n bytes calldata operatorData\n ) external override {\n if (_shouldRevertReceive) {\n revert(\"_shouldRevertReceive\");\n }\n\n IERC777 token = IERC777(_msgSender());\n\n uint256 fromBalance = token.balanceOf(from);\n // when called due to burn, to will be the zero address, which will have a balance of 0\n uint256 toBalance = token.balanceOf(to);\n\n emit TokensReceivedCalled(\n operator,\n from,\n to,\n amount,\n userData,\n operatorData,\n address(token),\n fromBalance,\n toBalance\n );\n }\n\n function senderFor(address account) public {\n _registerInterfaceForAddress(_TOKENS_SENDER_INTERFACE_HASH, account);\n\n address self = address(this);\n if (account == self) {\n registerSender(self);\n }\n }\n\n function registerSender(address sender) public {\n _erc1820.setInterfaceImplementer(address(this), _TOKENS_SENDER_INTERFACE_HASH, sender);\n }\n\n function recipientFor(address account) public {\n _registerInterfaceForAddress(_TOKENS_RECIPIENT_INTERFACE_HASH, account);\n\n address self = address(this);\n if (account == self) {\n registerRecipient(self);\n }\n }\n\n function registerRecipient(address recipient) public {\n _erc1820.setInterfaceImplementer(address(this), _TOKENS_RECIPIENT_INTERFACE_HASH, recipient);\n }\n\n function setShouldRevertSend(bool shouldRevert) public {\n _shouldRevertSend = shouldRevert;\n }\n\n function setShouldRevertReceive(bool shouldRevert) public {\n _shouldRevertReceive = shouldRevert;\n }\n\n function send(IERC777 token, address to, uint256 amount, bytes memory data) public {\n // This is 777's send function, not the Solidity send function\n token.send(to, amount, data); // solhint-disable-line check-send-result\n }\n\n function burn(IERC777 token, uint256 amount, bytes memory data) public {\n token.burn(amount, data);\n }\n\n function upgradeAll(ISuperToken token) public {\n IERC20 underlying = IERC20(token.getUnderlyingToken());\n uint256 amount = underlying.balanceOf(address(this));\n underlying.approve(address(token), amount);\n token.upgrade(amount);\n }\n\n function upgradeAllToSelf(ISuperToken token) public {\n IERC20 underlying = IERC20(token.getUnderlyingToken());\n uint256 amount = underlying.balanceOf(address(this));\n underlying.approve(address(token), amount);\n token.upgradeTo(address(this), amount, \"\");\n }\n}\n\ncontract ERC777RecipientReverting is IERC777Recipient, IERC1820Implementer {\n bytes32 constant private _TOKENS_RECIPIENT_INTERFACE_HASH = keccak256(\"ERC777TokensRecipient\");\n\n // allow to use the hook for this contract itself\n constructor() {\n IERC1820Registry erc1820 = IERC1820Registry(0x1820a4B7618BdE71Dce8cdc73aAB6C95905faD24);\n erc1820.setInterfaceImplementer(address(this), keccak256(\"ERC777TokensRecipient\"), address(this));\n }\n\n function tokensReceived(\n address /*operator*/,\n address /*from*/,\n address /*to*/,\n uint256 /*amount*/,\n bytes calldata /*userData*/,\n bytes calldata /*operatorData*/\n ) external pure override {\n revert(\"they shall not pass\");\n }\n\n // allow anybody to use the hook\n function canImplementInterfaceForAddress(bytes32 interfaceHash, address /*addr*/)\n external pure override\n returns(bytes32)\n {\n return\n interfaceHash == _TOKENS_RECIPIENT_INTERFACE_HASH ?\n keccak256(abi.encodePacked(\"ERC1820_ACCEPT_MAGIC\")) :\n bytes32(0x00);\n }\n}\n\n/*\n* ERC777Recipient which drains all gas it gets, trying to make the caller run out of gas\n*/\ncontract ERC777RecipientDrainingGas is IERC777Recipient, IERC1820Implementer {\n bytes32 constant private _TOKENS_RECIPIENT_INTERFACE_HASH = keccak256(\"ERC777TokensRecipient\");\n uint256 internal _uselessVar = 1;\n\n event DrainedGas(uint256 allowance, uint256 burned);\n\n function tokensReceived(\n address /*operator*/,\n address /*from*/,\n address /*to*/,\n uint256 /*amount*/,\n bytes calldata /*userData*/,\n bytes calldata /*operatorData*/\n ) external override {\n uint256 initialGas = gasleft();\n while (gasleft() > 30000) { // need to leave enough for the send() itself to not fail\n _uselessVar++; // SSTORE drains much faster than an empty loop\n }\n emit DrainedGas(initialGas, gasleft());\n }\n\n // allow anybody to use the hook\n function canImplementInterfaceForAddress(bytes32 interfaceHash, address /*addr*/)\n external pure override\n returns(bytes32)\n {\n return\n interfaceHash == _TOKENS_RECIPIENT_INTERFACE_HASH ?\n keccak256(abi.encodePacked(\"ERC1820_ACCEPT_MAGIC\")) :\n bytes32(0x00);\n }\n}\n\n\n",
2078
2078
  "sourcePath": "/home/runner/work/protocol-monorepo/protocol-monorepo/packages/ethereum-contracts/contracts/mocks/ERC777SenderRecipientMock.sol",
2079
2079
  "ast": {
@@ -10015,7 +10015,7 @@
10015
10015
  },
10016
10016
  "networks": {},
10017
10017
  "schemaVersion": "3.4.9",
10018
- "updatedAt": "2022-10-31T18:27:13.988Z",
10018
+ "updatedAt": "2022-11-16T13:27:50.419Z",
10019
10019
  "devdoc": {
10020
10020
  "kind": "dev",
10021
10021
  "methods": {},