@superfluid-finance/ethereum-contracts 1.7.2-dev.09f3be3.0 → 1.7.2-dev.2cebc84.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 +4 -5
  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/CallUtils.sol",
16
16
  "exportedSymbols": {
17
17
  "CallUtils": [
18
- 25774
18
+ 25785
19
19
  ]
20
20
  },
21
- "id": 25775,
21
+ "id": 25786,
22
22
  "license": "AGPLv3",
23
23
  "nodeType": "SourceUnit",
24
24
  "nodes": [
25
25
  {
26
- "id": 25637,
26
+ "id": 25648,
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": 25638,
42
+ "id": 25649,
43
43
  "nodeType": "StructuredDocumentation",
44
44
  "src": "60:99:66",
45
45
  "text": " @title Call utilities library that is absent from the OpenZeppelin\n @author Superfluid"
46
46
  },
47
47
  "fullyImplemented": true,
48
- "id": 25774,
48
+ "id": 25785,
49
49
  "linearizedBaseContracts": [
50
- 25774
50
+ 25785
51
51
  ],
52
52
  "name": "CallUtils",
53
53
  "nameLocation": "168:9:66",
@@ -55,7 +55,7 @@
55
55
  "nodes": [
56
56
  {
57
57
  "body": {
58
- "id": 25686,
58
+ "id": 25697,
59
59
  "nodeType": "Block",
60
60
  "src": "501:1873:66",
61
61
  "statements": [
@@ -65,25 +65,25 @@
65
65
  "typeIdentifier": "t_uint256",
66
66
  "typeString": "uint256"
67
67
  },
68
- "id": 25647,
68
+ "id": 25658,
69
69
  "isConstant": false,
70
70
  "isLValue": false,
71
71
  "isPure": false,
72
72
  "lValueRequested": false,
73
73
  "leftExpression": {
74
74
  "expression": {
75
- "id": 25644,
75
+ "id": 25655,
76
76
  "name": "returnedData",
77
77
  "nodeType": "Identifier",
78
78
  "overloadedDeclarations": [],
79
- "referencedDeclaration": 25641,
79
+ "referencedDeclaration": 25652,
80
80
  "src": "515:12:66",
81
81
  "typeDescriptions": {
82
82
  "typeIdentifier": "t_bytes_memory_ptr",
83
83
  "typeString": "bytes memory"
84
84
  }
85
85
  },
86
- "id": 25645,
86
+ "id": 25656,
87
87
  "isConstant": false,
88
88
  "isLValue": false,
89
89
  "isPure": false,
@@ -101,7 +101,7 @@
101
101
  "operator": "<",
102
102
  "rightExpression": {
103
103
  "hexValue": "34",
104
- "id": 25646,
104
+ "id": 25657,
105
105
  "isConstant": false,
106
106
  "isLValue": false,
107
107
  "isPure": true,
@@ -122,23 +122,23 @@
122
122
  }
123
123
  },
124
124
  "falseBody": {
125
- "id": 25684,
125
+ "id": 25695,
126
126
  "nodeType": "Block",
127
127
  "src": "640:1728:66",
128
128
  "statements": [
129
129
  {
130
130
  "assignments": [
131
- 25654
131
+ 25665
132
132
  ],
133
133
  "declarations": [
134
134
  {
135
135
  "constant": false,
136
- "id": 25654,
136
+ "id": 25665,
137
137
  "mutability": "mutable",
138
138
  "name": "errorSelector",
139
139
  "nameLocation": "661:13:66",
140
140
  "nodeType": "VariableDeclaration",
141
- "scope": 25684,
141
+ "scope": 25695,
142
142
  "src": "654:20:66",
143
143
  "stateVariable": false,
144
144
  "storageLocation": "default",
@@ -147,7 +147,7 @@
147
147
  "typeString": "bytes4"
148
148
  },
149
149
  "typeName": {
150
- "id": 25653,
150
+ "id": 25664,
151
151
  "name": "bytes4",
152
152
  "nodeType": "ElementaryTypeName",
153
153
  "src": "654:6:66",
@@ -159,7 +159,7 @@
159
159
  "visibility": "internal"
160
160
  }
161
161
  ],
162
- "id": 25655,
162
+ "id": 25666,
163
163
  "nodeType": "VariableDeclarationStatement",
164
164
  "src": "654:20:66"
165
165
  },
@@ -218,21 +218,21 @@
218
218
  "evmVersion": "paris",
219
219
  "externalReferences": [
220
220
  {
221
- "declaration": 25654,
221
+ "declaration": 25665,
222
222
  "isOffset": false,
223
223
  "isSlot": false,
224
224
  "src": "715:13:66",
225
225
  "valueSize": 1
226
226
  },
227
227
  {
228
- "declaration": 25641,
228
+ "declaration": 25652,
229
229
  "isOffset": false,
230
230
  "isSlot": false,
231
231
  "src": "742:12:66",
232
232
  "valueSize": 1
233
233
  }
234
234
  ],
235
- "id": 25656,
235
+ "id": 25667,
236
236
  "nodeType": "InlineAssembly",
237
237
  "src": "688:88:66"
238
238
  },
@@ -242,17 +242,17 @@
242
242
  "typeIdentifier": "t_bytes4",
243
243
  "typeString": "bytes4"
244
244
  },
245
- "id": 25662,
245
+ "id": 25673,
246
246
  "isConstant": false,
247
247
  "isLValue": false,
248
248
  "isPure": false,
249
249
  "lValueRequested": false,
250
250
  "leftExpression": {
251
- "id": 25657,
251
+ "id": 25668,
252
252
  "name": "errorSelector",
253
253
  "nodeType": "Identifier",
254
254
  "overloadedDeclarations": [],
255
- "referencedDeclaration": 25654,
255
+ "referencedDeclaration": 25665,
256
256
  "src": "793:13:66",
257
257
  "typeDescriptions": {
258
258
  "typeIdentifier": "t_bytes4",
@@ -265,7 +265,7 @@
265
265
  "arguments": [
266
266
  {
267
267
  "hexValue": "30783465343837623731",
268
- "id": 25660,
268
+ "id": 25671,
269
269
  "isConstant": false,
270
270
  "isLValue": false,
271
271
  "isPure": true,
@@ -287,7 +287,7 @@
287
287
  "typeString": "int_const 1313373041"
288
288
  }
289
289
  ],
290
- "id": 25659,
290
+ "id": 25670,
291
291
  "isConstant": false,
292
292
  "isLValue": false,
293
293
  "isPure": true,
@@ -299,14 +299,14 @@
299
299
  "typeString": "type(bytes4)"
300
300
  },
301
301
  "typeName": {
302
- "id": 25658,
302
+ "id": 25669,
303
303
  "name": "bytes4",
304
304
  "nodeType": "ElementaryTypeName",
305
305
  "src": "810:6:66",
306
306
  "typeDescriptions": {}
307
307
  }
308
308
  },
309
- "id": 25661,
309
+ "id": 25672,
310
310
  "isConstant": false,
311
311
  "isLValue": false,
312
312
  "isPure": true,
@@ -329,23 +329,23 @@
329
329
  }
330
330
  },
331
331
  "falseBody": {
332
- "id": 25682,
332
+ "id": 25693,
333
333
  "nodeType": "Block",
334
334
  "src": "2060:298:66",
335
335
  "statements": [
336
336
  {
337
337
  "assignments": [
338
- 25677
338
+ 25688
339
339
  ],
340
340
  "declarations": [
341
341
  {
342
342
  "constant": false,
343
- "id": 25677,
343
+ "id": 25688,
344
344
  "mutability": "mutable",
345
345
  "name": "len",
346
346
  "nameLocation": "2218:3:66",
347
347
  "nodeType": "VariableDeclaration",
348
- "scope": 25682,
348
+ "scope": 25693,
349
349
  "src": "2213:8:66",
350
350
  "stateVariable": false,
351
351
  "storageLocation": "default",
@@ -354,7 +354,7 @@
354
354
  "typeString": "uint256"
355
355
  },
356
356
  "typeName": {
357
- "id": 25676,
357
+ "id": 25687,
358
358
  "name": "uint",
359
359
  "nodeType": "ElementaryTypeName",
360
360
  "src": "2213:4:66",
@@ -366,21 +366,21 @@
366
366
  "visibility": "internal"
367
367
  }
368
368
  ],
369
- "id": 25680,
369
+ "id": 25691,
370
370
  "initialValue": {
371
371
  "expression": {
372
- "id": 25678,
372
+ "id": 25689,
373
373
  "name": "returnedData",
374
374
  "nodeType": "Identifier",
375
375
  "overloadedDeclarations": [],
376
- "referencedDeclaration": 25641,
376
+ "referencedDeclaration": 25652,
377
377
  "src": "2224:12:66",
378
378
  "typeDescriptions": {
379
379
  "typeIdentifier": "t_bytes_memory_ptr",
380
380
  "typeString": "bytes memory"
381
381
  }
382
382
  },
383
- "id": 25679,
383
+ "id": 25690,
384
384
  "isConstant": false,
385
385
  "isLValue": false,
386
386
  "isPure": false,
@@ -450,47 +450,47 @@
450
450
  "evmVersion": "paris",
451
451
  "externalReferences": [
452
452
  {
453
- "declaration": 25677,
453
+ "declaration": 25688,
454
454
  "isOffset": false,
455
455
  "isSlot": false,
456
456
  "src": "2322:3:66",
457
457
  "valueSize": 1
458
458
  },
459
459
  {
460
- "declaration": 25641,
460
+ "declaration": 25652,
461
461
  "isOffset": false,
462
462
  "isSlot": false,
463
463
  "src": "2303:12:66",
464
464
  "valueSize": 1
465
465
  }
466
466
  ],
467
- "id": 25681,
467
+ "id": 25692,
468
468
  "nodeType": "InlineAssembly",
469
469
  "src": "2261:83:66"
470
470
  }
471
471
  ]
472
472
  },
473
- "id": 25683,
473
+ "id": 25694,
474
474
  "nodeType": "IfStatement",
475
475
  "src": "789:1569:66",
476
476
  "trueBody": {
477
- "id": 25675,
477
+ "id": 25686,
478
478
  "nodeType": "Block",
479
479
  "src": "864:1190:66",
480
480
  "statements": [
481
481
  {
482
482
  "assignments": [
483
- 25664
483
+ 25675
484
484
  ],
485
485
  "declarations": [
486
486
  {
487
487
  "constant": false,
488
- "id": 25664,
488
+ "id": 25675,
489
489
  "mutability": "mutable",
490
490
  "name": "reason",
491
491
  "nameLocation": "1149:6:66",
492
492
  "nodeType": "VariableDeclaration",
493
- "scope": 25675,
493
+ "scope": 25686,
494
494
  "src": "1135:20:66",
495
495
  "stateVariable": false,
496
496
  "storageLocation": "memory",
@@ -499,7 +499,7 @@
499
499
  "typeString": "string"
500
500
  },
501
501
  "typeName": {
502
- "id": 25663,
502
+ "id": 25674,
503
503
  "name": "string",
504
504
  "nodeType": "ElementaryTypeName",
505
505
  "src": "1135:6:66",
@@ -511,10 +511,10 @@
511
511
  "visibility": "internal"
512
512
  }
513
513
  ],
514
- "id": 25666,
514
+ "id": 25677,
515
515
  "initialValue": {
516
516
  "hexValue": "43616c6c5574696c733a207461726765742070616e69636b65643a2030785f5f",
517
- "id": 25665,
517
+ "id": 25676,
518
518
  "isConstant": false,
519
519
  "isLValue": false,
520
520
  "isPure": true,
@@ -533,17 +533,17 @@
533
533
  },
534
534
  {
535
535
  "assignments": [
536
- 25668
536
+ 25679
537
537
  ],
538
538
  "declarations": [
539
539
  {
540
540
  "constant": false,
541
- "id": 25668,
541
+ "id": 25679,
542
542
  "mutability": "mutable",
543
543
  "name": "errorCode",
544
544
  "nameLocation": "1215:9:66",
545
545
  "nodeType": "VariableDeclaration",
546
- "scope": 25675,
546
+ "scope": 25686,
547
547
  "src": "1210:14:66",
548
548
  "stateVariable": false,
549
549
  "storageLocation": "default",
@@ -552,7 +552,7 @@
552
552
  "typeString": "uint256"
553
553
  },
554
554
  "typeName": {
555
- "id": 25667,
555
+ "id": 25678,
556
556
  "name": "uint",
557
557
  "nodeType": "ElementaryTypeName",
558
558
  "src": "1210:4:66",
@@ -564,7 +564,7 @@
564
564
  "visibility": "internal"
565
565
  }
566
566
  ],
567
- "id": 25669,
567
+ "id": 25680,
568
568
  "nodeType": "VariableDeclarationStatement",
569
569
  "src": "1210:14:66"
570
570
  },
@@ -920,49 +920,49 @@
920
920
  "evmVersion": "paris",
921
921
  "externalReferences": [
922
922
  {
923
- "declaration": 25668,
923
+ "declaration": 25679,
924
924
  "isOffset": false,
925
925
  "isSlot": false,
926
926
  "src": "1273:9:66",
927
927
  "valueSize": 1
928
928
  },
929
929
  {
930
- "declaration": 25668,
930
+ "declaration": 25679,
931
931
  "isOffset": false,
932
932
  "isSlot": false,
933
933
  "src": "1649:9:66",
934
934
  "valueSize": 1
935
935
  },
936
936
  {
937
- "declaration": 25668,
937
+ "declaration": 25679,
938
938
  "isOffset": false,
939
939
  "isSlot": false,
940
940
  "src": "1724:9:66",
941
941
  "valueSize": 1
942
942
  },
943
943
  {
944
- "declaration": 25664,
944
+ "declaration": 25675,
945
945
  "isOffset": false,
946
946
  "isSlot": false,
947
947
  "src": "1365:6:66",
948
948
  "valueSize": 1
949
949
  },
950
950
  {
951
- "declaration": 25664,
951
+ "declaration": 25675,
952
952
  "isOffset": false,
953
953
  "isSlot": false,
954
954
  "src": "1964:6:66",
955
955
  "valueSize": 1
956
956
  },
957
957
  {
958
- "declaration": 25641,
958
+ "declaration": 25652,
959
959
  "isOffset": false,
960
960
  "isSlot": false,
961
961
  "src": "1296:12:66",
962
962
  "valueSize": 1
963
963
  }
964
964
  ],
965
- "id": 25670,
965
+ "id": 25681,
966
966
  "nodeType": "InlineAssembly",
967
967
  "src": "1242:766:66"
968
968
  },
@@ -970,11 +970,11 @@
970
970
  "expression": {
971
971
  "arguments": [
972
972
  {
973
- "id": 25672,
973
+ "id": 25683,
974
974
  "name": "reason",
975
975
  "nodeType": "Identifier",
976
976
  "overloadedDeclarations": [],
977
- "referencedDeclaration": 25664,
977
+ "referencedDeclaration": 25675,
978
978
  "src": "2032:6:66",
979
979
  "typeDescriptions": {
980
980
  "typeIdentifier": "t_string_memory_ptr",
@@ -989,7 +989,7 @@
989
989
  "typeString": "string memory"
990
990
  }
991
991
  ],
992
- "id": 25671,
992
+ "id": 25682,
993
993
  "name": "revert",
994
994
  "nodeType": "Identifier",
995
995
  "overloadedDeclarations": [
@@ -1003,7 +1003,7 @@
1003
1003
  "typeString": "function (string memory) pure"
1004
1004
  }
1005
1005
  },
1006
- "id": 25673,
1006
+ "id": 25684,
1007
1007
  "isConstant": false,
1008
1008
  "isLValue": false,
1009
1009
  "isPure": false,
@@ -1019,7 +1019,7 @@
1019
1019
  "typeString": "tuple()"
1020
1020
  }
1021
1021
  },
1022
- "id": 25674,
1022
+ "id": 25685,
1023
1023
  "nodeType": "ExpressionStatement",
1024
1024
  "src": "2025:14:66"
1025
1025
  }
@@ -1028,11 +1028,11 @@
1028
1028
  }
1029
1029
  ]
1030
1030
  },
1031
- "id": 25685,
1031
+ "id": 25696,
1032
1032
  "nodeType": "IfStatement",
1033
1033
  "src": "511:1857:66",
1034
1034
  "trueBody": {
1035
- "id": 25652,
1035
+ "id": 25663,
1036
1036
  "nodeType": "Block",
1037
1037
  "src": "540:94:66",
1038
1038
  "statements": [
@@ -1041,7 +1041,7 @@
1041
1041
  "arguments": [
1042
1042
  {
1043
1043
  "hexValue": "43616c6c5574696c733a20746172676574207265766572742829",
1044
- "id": 25649,
1044
+ "id": 25660,
1045
1045
  "isConstant": false,
1046
1046
  "isLValue": false,
1047
1047
  "isPure": true,
@@ -1063,7 +1063,7 @@
1063
1063
  "typeString": "literal_string \"CallUtils: target revert()\""
1064
1064
  }
1065
1065
  ],
1066
- "id": 25648,
1066
+ "id": 25659,
1067
1067
  "name": "revert",
1068
1068
  "nodeType": "Identifier",
1069
1069
  "overloadedDeclarations": [
@@ -1077,7 +1077,7 @@
1077
1077
  "typeString": "function (string memory) pure"
1078
1078
  }
1079
1079
  },
1080
- "id": 25650,
1080
+ "id": 25661,
1081
1081
  "isConstant": false,
1082
1082
  "isLValue": false,
1083
1083
  "isPure": false,
@@ -1093,7 +1093,7 @@
1093
1093
  "typeString": "tuple()"
1094
1094
  }
1095
1095
  },
1096
- "id": 25651,
1096
+ "id": 25662,
1097
1097
  "nodeType": "ExpressionStatement",
1098
1098
  "src": "587:36:66"
1099
1099
  }
@@ -1103,12 +1103,12 @@
1103
1103
  ]
1104
1104
  },
1105
1105
  "documentation": {
1106
- "id": 25639,
1106
+ "id": 25650,
1107
1107
  "nodeType": "StructuredDocumentation",
1108
1108
  "src": "185:238:66",
1109
1109
  "text": "@dev Bubble up the revert from the returnedData (supports Panic, Error & Custom Errors)\n @notice This is needed in order to provide some human-readable revert message from a call\n @param returnedData Response of the call"
1110
1110
  },
1111
- "id": 25687,
1111
+ "id": 25698,
1112
1112
  "implemented": true,
1113
1113
  "kind": "function",
1114
1114
  "modifiers": [],
@@ -1116,17 +1116,17 @@
1116
1116
  "nameLocation": "437:22:66",
1117
1117
  "nodeType": "FunctionDefinition",
1118
1118
  "parameters": {
1119
- "id": 25642,
1119
+ "id": 25653,
1120
1120
  "nodeType": "ParameterList",
1121
1121
  "parameters": [
1122
1122
  {
1123
1123
  "constant": false,
1124
- "id": 25641,
1124
+ "id": 25652,
1125
1125
  "mutability": "mutable",
1126
1126
  "name": "returnedData",
1127
1127
  "nameLocation": "473:12:66",
1128
1128
  "nodeType": "VariableDeclaration",
1129
- "scope": 25687,
1129
+ "scope": 25698,
1130
1130
  "src": "460:25:66",
1131
1131
  "stateVariable": false,
1132
1132
  "storageLocation": "memory",
@@ -1135,7 +1135,7 @@
1135
1135
  "typeString": "bytes"
1136
1136
  },
1137
1137
  "typeName": {
1138
- "id": 25640,
1138
+ "id": 25651,
1139
1139
  "name": "bytes",
1140
1140
  "nodeType": "ElementaryTypeName",
1141
1141
  "src": "460:5:66",
@@ -1150,12 +1150,12 @@
1150
1150
  "src": "459:27:66"
1151
1151
  },
1152
1152
  "returnParameters": {
1153
- "id": 25643,
1153
+ "id": 25654,
1154
1154
  "nodeType": "ParameterList",
1155
1155
  "parameters": [],
1156
1156
  "src": "501:0:66"
1157
1157
  },
1158
- "scope": 25774,
1158
+ "scope": 25785,
1159
1159
  "src": "428:1946:66",
1160
1160
  "stateMutability": "pure",
1161
1161
  "virtual": false,
@@ -1163,7 +1163,7 @@
1163
1163
  },
1164
1164
  {
1165
1165
  "body": {
1166
- "id": 25704,
1166
+ "id": 25715,
1167
1167
  "nodeType": "Block",
1168
1168
  "src": "2699:213:66",
1169
1169
  "statements": [
@@ -1175,25 +1175,25 @@
1175
1175
  "typeIdentifier": "t_uint256",
1176
1176
  "typeString": "uint256"
1177
1177
  },
1178
- "id": 25699,
1178
+ "id": 25710,
1179
1179
  "isConstant": false,
1180
1180
  "isLValue": false,
1181
1181
  "isPure": false,
1182
1182
  "lValueRequested": false,
1183
1183
  "leftExpression": {
1184
1184
  "expression": {
1185
- "id": 25696,
1185
+ "id": 25707,
1186
1186
  "name": "callData",
1187
1187
  "nodeType": "Identifier",
1188
1188
  "overloadedDeclarations": [],
1189
- "referencedDeclaration": 25690,
1189
+ "referencedDeclaration": 25701,
1190
1190
  "src": "2717:8:66",
1191
1191
  "typeDescriptions": {
1192
1192
  "typeIdentifier": "t_bytes_memory_ptr",
1193
1193
  "typeString": "bytes memory"
1194
1194
  }
1195
1195
  },
1196
- "id": 25697,
1196
+ "id": 25708,
1197
1197
  "isConstant": false,
1198
1198
  "isLValue": false,
1199
1199
  "isPure": false,
@@ -1211,7 +1211,7 @@
1211
1211
  "operator": ">=",
1212
1212
  "rightExpression": {
1213
1213
  "hexValue": "34",
1214
- "id": 25698,
1214
+ "id": 25709,
1215
1215
  "isConstant": false,
1216
1216
  "isLValue": false,
1217
1217
  "isPure": true,
@@ -1233,7 +1233,7 @@
1233
1233
  },
1234
1234
  {
1235
1235
  "hexValue": "43616c6c5574696c733a20696e76616c69642063616c6c44617461",
1236
- "id": 25700,
1236
+ "id": 25711,
1237
1237
  "isConstant": false,
1238
1238
  "isLValue": false,
1239
1239
  "isPure": true,
@@ -1259,7 +1259,7 @@
1259
1259
  "typeString": "literal_string \"CallUtils: invalid callData\""
1260
1260
  }
1261
1261
  ],
1262
- "id": 25695,
1262
+ "id": 25706,
1263
1263
  "name": "require",
1264
1264
  "nodeType": "Identifier",
1265
1265
  "overloadedDeclarations": [
@@ -1273,7 +1273,7 @@
1273
1273
  "typeString": "function (bool,string memory) pure"
1274
1274
  }
1275
1275
  },
1276
- "id": 25701,
1276
+ "id": 25712,
1277
1277
  "isConstant": false,
1278
1278
  "isLValue": false,
1279
1279
  "isPure": false,
@@ -1289,7 +1289,7 @@
1289
1289
  "typeString": "tuple()"
1290
1290
  }
1291
1291
  },
1292
- "id": 25702,
1292
+ "id": 25713,
1293
1293
  "nodeType": "ExpressionStatement",
1294
1294
  "src": "2709:60:66"
1295
1295
  },
@@ -1348,33 +1348,33 @@
1348
1348
  "evmVersion": "paris",
1349
1349
  "externalReferences": [
1350
1350
  {
1351
- "declaration": 25690,
1351
+ "declaration": 25701,
1352
1352
  "isOffset": false,
1353
1353
  "isSlot": false,
1354
1354
  "src": "2880:8:66",
1355
1355
  "valueSize": 1
1356
1356
  },
1357
1357
  {
1358
- "declaration": 25693,
1358
+ "declaration": 25704,
1359
1359
  "isOffset": false,
1360
1360
  "isSlot": false,
1361
1361
  "src": "2858:8:66",
1362
1362
  "valueSize": 1
1363
1363
  }
1364
1364
  ],
1365
- "id": 25703,
1365
+ "id": 25714,
1366
1366
  "nodeType": "InlineAssembly",
1367
1367
  "src": "2835:71:66"
1368
1368
  }
1369
1369
  ]
1370
1370
  },
1371
1371
  "documentation": {
1372
- "id": 25688,
1372
+ "id": 25699,
1373
1373
  "nodeType": "StructuredDocumentation",
1374
1374
  "src": "2380:228:66",
1375
1375
  "text": " @dev Helper method to parse data and extract the method signature (selector).\n Copied from: https://github.com/argentlabs/argent-contracts/\n blob/master/contracts/modules/common/Utils.sol#L54-L60"
1376
1376
  },
1377
- "id": 25705,
1377
+ "id": 25716,
1378
1378
  "implemented": true,
1379
1379
  "kind": "function",
1380
1380
  "modifiers": [],
@@ -1382,17 +1382,17 @@
1382
1382
  "nameLocation": "2622:13:66",
1383
1383
  "nodeType": "FunctionDefinition",
1384
1384
  "parameters": {
1385
- "id": 25691,
1385
+ "id": 25702,
1386
1386
  "nodeType": "ParameterList",
1387
1387
  "parameters": [
1388
1388
  {
1389
1389
  "constant": false,
1390
- "id": 25690,
1390
+ "id": 25701,
1391
1391
  "mutability": "mutable",
1392
1392
  "name": "callData",
1393
1393
  "nameLocation": "2649:8:66",
1394
1394
  "nodeType": "VariableDeclaration",
1395
- "scope": 25705,
1395
+ "scope": 25716,
1396
1396
  "src": "2636:21:66",
1397
1397
  "stateVariable": false,
1398
1398
  "storageLocation": "memory",
@@ -1401,7 +1401,7 @@
1401
1401
  "typeString": "bytes"
1402
1402
  },
1403
1403
  "typeName": {
1404
- "id": 25689,
1404
+ "id": 25700,
1405
1405
  "name": "bytes",
1406
1406
  "nodeType": "ElementaryTypeName",
1407
1407
  "src": "2636:5:66",
@@ -1416,17 +1416,17 @@
1416
1416
  "src": "2635:23:66"
1417
1417
  },
1418
1418
  "returnParameters": {
1419
- "id": 25694,
1419
+ "id": 25705,
1420
1420
  "nodeType": "ParameterList",
1421
1421
  "parameters": [
1422
1422
  {
1423
1423
  "constant": false,
1424
- "id": 25693,
1424
+ "id": 25704,
1425
1425
  "mutability": "mutable",
1426
1426
  "name": "selector",
1427
1427
  "nameLocation": "2689:8:66",
1428
1428
  "nodeType": "VariableDeclaration",
1429
- "scope": 25705,
1429
+ "scope": 25716,
1430
1430
  "src": "2682:15:66",
1431
1431
  "stateVariable": false,
1432
1432
  "storageLocation": "default",
@@ -1435,7 +1435,7 @@
1435
1435
  "typeString": "bytes4"
1436
1436
  },
1437
1437
  "typeName": {
1438
- "id": 25692,
1438
+ "id": 25703,
1439
1439
  "name": "bytes4",
1440
1440
  "nodeType": "ElementaryTypeName",
1441
1441
  "src": "2682:6:66",
@@ -1449,7 +1449,7 @@
1449
1449
  ],
1450
1450
  "src": "2681:17:66"
1451
1451
  },
1452
- "scope": 25774,
1452
+ "scope": 25785,
1453
1453
  "src": "2613:299:66",
1454
1454
  "stateMutability": "pure",
1455
1455
  "virtual": false,
@@ -1457,7 +1457,7 @@
1457
1457
  },
1458
1458
  {
1459
1459
  "body": {
1460
- "id": 25733,
1460
+ "id": 25744,
1461
1461
  "nodeType": "Block",
1462
1462
  "src": "3059:87:66",
1463
1463
  "statements": [
@@ -1467,7 +1467,7 @@
1467
1467
  "typeIdentifier": "t_uint256",
1468
1468
  "typeString": "uint256"
1469
1469
  },
1470
- "id": 25731,
1470
+ "id": 25742,
1471
1471
  "isConstant": false,
1472
1472
  "isLValue": false,
1473
1473
  "isPure": false,
@@ -1479,7 +1479,7 @@
1479
1479
  "typeIdentifier": "t_uint256",
1480
1480
  "typeString": "uint256"
1481
1481
  },
1482
- "id": 25728,
1482
+ "id": 25739,
1483
1483
  "isConstant": false,
1484
1484
  "isLValue": false,
1485
1485
  "isPure": false,
@@ -1491,17 +1491,17 @@
1491
1491
  "typeIdentifier": "t_uint256",
1492
1492
  "typeString": "uint256"
1493
1493
  },
1494
- "id": 25715,
1494
+ "id": 25726,
1495
1495
  "isConstant": false,
1496
1496
  "isLValue": false,
1497
1497
  "isPure": false,
1498
1498
  "lValueRequested": false,
1499
1499
  "leftExpression": {
1500
- "id": 25713,
1500
+ "id": 25724,
1501
1501
  "name": "len",
1502
1502
  "nodeType": "Identifier",
1503
1503
  "overloadedDeclarations": [],
1504
- "referencedDeclaration": 25708,
1504
+ "referencedDeclaration": 25719,
1505
1505
  "src": "3078:3:66",
1506
1506
  "typeDescriptions": {
1507
1507
  "typeIdentifier": "t_uint256",
@@ -1512,7 +1512,7 @@
1512
1512
  "operator": "/",
1513
1513
  "rightExpression": {
1514
1514
  "hexValue": "3332",
1515
- "id": 25714,
1515
+ "id": 25725,
1516
1516
  "isConstant": false,
1517
1517
  "isLValue": false,
1518
1518
  "isPure": true,
@@ -1533,7 +1533,7 @@
1533
1533
  }
1534
1534
  }
1535
1535
  ],
1536
- "id": 25716,
1536
+ "id": 25727,
1537
1537
  "isConstant": false,
1538
1538
  "isInlineArray": false,
1539
1539
  "isLValue": false,
@@ -1558,7 +1558,7 @@
1558
1558
  "typeIdentifier": "t_uint256",
1559
1559
  "typeString": "uint256"
1560
1560
  },
1561
- "id": 25722,
1561
+ "id": 25733,
1562
1562
  "isConstant": false,
1563
1563
  "isLValue": false,
1564
1564
  "isPure": false,
@@ -1570,17 +1570,17 @@
1570
1570
  "typeIdentifier": "t_uint256",
1571
1571
  "typeString": "uint256"
1572
1572
  },
1573
- "id": 25719,
1573
+ "id": 25730,
1574
1574
  "isConstant": false,
1575
1575
  "isLValue": false,
1576
1576
  "isPure": false,
1577
1577
  "lValueRequested": false,
1578
1578
  "leftExpression": {
1579
- "id": 25717,
1579
+ "id": 25728,
1580
1580
  "name": "len",
1581
1581
  "nodeType": "Identifier",
1582
1582
  "overloadedDeclarations": [],
1583
- "referencedDeclaration": 25708,
1583
+ "referencedDeclaration": 25719,
1584
1584
  "src": "3094:3:66",
1585
1585
  "typeDescriptions": {
1586
1586
  "typeIdentifier": "t_uint256",
@@ -1591,7 +1591,7 @@
1591
1591
  "operator": "&",
1592
1592
  "rightExpression": {
1593
1593
  "hexValue": "3331",
1594
- "id": 25718,
1594
+ "id": 25729,
1595
1595
  "isConstant": false,
1596
1596
  "isLValue": false,
1597
1597
  "isPure": true,
@@ -1612,7 +1612,7 @@
1612
1612
  }
1613
1613
  }
1614
1614
  ],
1615
- "id": 25720,
1615
+ "id": 25731,
1616
1616
  "isConstant": false,
1617
1617
  "isInlineArray": false,
1618
1618
  "isLValue": false,
@@ -1629,7 +1629,7 @@
1629
1629
  "operator": ">",
1630
1630
  "rightExpression": {
1631
1631
  "hexValue": "30",
1632
- "id": 25721,
1632
+ "id": 25732,
1633
1633
  "isConstant": false,
1634
1634
  "isLValue": false,
1635
1635
  "isPure": true,
@@ -1650,7 +1650,7 @@
1650
1650
  }
1651
1651
  }
1652
1652
  ],
1653
- "id": 25723,
1653
+ "id": 25734,
1654
1654
  "isConstant": false,
1655
1655
  "isInlineArray": false,
1656
1656
  "isLValue": false,
@@ -1665,7 +1665,7 @@
1665
1665
  },
1666
1666
  "falseExpression": {
1667
1667
  "hexValue": "30",
1668
- "id": 25725,
1668
+ "id": 25736,
1669
1669
  "isConstant": false,
1670
1670
  "isLValue": false,
1671
1671
  "isPure": true,
@@ -1679,7 +1679,7 @@
1679
1679
  },
1680
1680
  "value": "0"
1681
1681
  },
1682
- "id": 25726,
1682
+ "id": 25737,
1683
1683
  "isConstant": false,
1684
1684
  "isLValue": false,
1685
1685
  "isPure": false,
@@ -1688,7 +1688,7 @@
1688
1688
  "src": "3092:40:66",
1689
1689
  "trueExpression": {
1690
1690
  "hexValue": "31",
1691
- "id": 25724,
1691
+ "id": 25735,
1692
1692
  "isConstant": false,
1693
1693
  "isLValue": false,
1694
1694
  "isPure": true,
@@ -1708,7 +1708,7 @@
1708
1708
  }
1709
1709
  }
1710
1710
  ],
1711
- "id": 25727,
1711
+ "id": 25738,
1712
1712
  "isConstant": false,
1713
1713
  "isInlineArray": false,
1714
1714
  "isLValue": false,
@@ -1728,7 +1728,7 @@
1728
1728
  }
1729
1729
  }
1730
1730
  ],
1731
- "id": 25729,
1731
+ "id": 25740,
1732
1732
  "isConstant": false,
1733
1733
  "isInlineArray": false,
1734
1734
  "isLValue": false,
@@ -1745,7 +1745,7 @@
1745
1745
  "operator": "*",
1746
1746
  "rightExpression": {
1747
1747
  "hexValue": "3332",
1748
- "id": 25730,
1748
+ "id": 25741,
1749
1749
  "isConstant": false,
1750
1750
  "isLValue": false,
1751
1751
  "isPure": true,
@@ -1765,20 +1765,20 @@
1765
1765
  "typeString": "uint256"
1766
1766
  }
1767
1767
  },
1768
- "functionReturnParameters": 25712,
1769
- "id": 25732,
1768
+ "functionReturnParameters": 25723,
1769
+ "id": 25743,
1770
1770
  "nodeType": "Return",
1771
1771
  "src": "3069:70:66"
1772
1772
  }
1773
1773
  ]
1774
1774
  },
1775
1775
  "documentation": {
1776
- "id": 25706,
1776
+ "id": 25717,
1777
1777
  "nodeType": "StructuredDocumentation",
1778
1778
  "src": "2918:60:66",
1779
1779
  "text": " @dev Pad length to 32 bytes word boundary"
1780
1780
  },
1781
- "id": 25734,
1781
+ "id": 25745,
1782
1782
  "implemented": true,
1783
1783
  "kind": "function",
1784
1784
  "modifiers": [],
@@ -1786,17 +1786,17 @@
1786
1786
  "nameLocation": "2992:11:66",
1787
1787
  "nodeType": "FunctionDefinition",
1788
1788
  "parameters": {
1789
- "id": 25709,
1789
+ "id": 25720,
1790
1790
  "nodeType": "ParameterList",
1791
1791
  "parameters": [
1792
1792
  {
1793
1793
  "constant": false,
1794
- "id": 25708,
1794
+ "id": 25719,
1795
1795
  "mutability": "mutable",
1796
1796
  "name": "len",
1797
1797
  "nameLocation": "3012:3:66",
1798
1798
  "nodeType": "VariableDeclaration",
1799
- "scope": 25734,
1799
+ "scope": 25745,
1800
1800
  "src": "3004:11:66",
1801
1801
  "stateVariable": false,
1802
1802
  "storageLocation": "default",
@@ -1805,7 +1805,7 @@
1805
1805
  "typeString": "uint256"
1806
1806
  },
1807
1807
  "typeName": {
1808
- "id": 25707,
1808
+ "id": 25718,
1809
1809
  "name": "uint256",
1810
1810
  "nodeType": "ElementaryTypeName",
1811
1811
  "src": "3004:7:66",
@@ -1820,17 +1820,17 @@
1820
1820
  "src": "3003:13:66"
1821
1821
  },
1822
1822
  "returnParameters": {
1823
- "id": 25712,
1823
+ "id": 25723,
1824
1824
  "nodeType": "ParameterList",
1825
1825
  "parameters": [
1826
1826
  {
1827
1827
  "constant": false,
1828
- "id": 25711,
1828
+ "id": 25722,
1829
1829
  "mutability": "mutable",
1830
1830
  "name": "paddedLen",
1831
1831
  "nameLocation": "3048:9:66",
1832
1832
  "nodeType": "VariableDeclaration",
1833
- "scope": 25734,
1833
+ "scope": 25745,
1834
1834
  "src": "3040:17:66",
1835
1835
  "stateVariable": false,
1836
1836
  "storageLocation": "default",
@@ -1839,7 +1839,7 @@
1839
1839
  "typeString": "uint256"
1840
1840
  },
1841
1841
  "typeName": {
1842
- "id": 25710,
1842
+ "id": 25721,
1843
1843
  "name": "uint256",
1844
1844
  "nodeType": "ElementaryTypeName",
1845
1845
  "src": "3040:7:66",
@@ -1853,7 +1853,7 @@
1853
1853
  ],
1854
1854
  "src": "3039:19:66"
1855
1855
  },
1856
- "scope": 25774,
1856
+ "scope": 25785,
1857
1857
  "src": "2983:163:66",
1858
1858
  "stateMutability": "pure",
1859
1859
  "virtual": false,
@@ -1861,7 +1861,7 @@
1861
1861
  },
1862
1862
  {
1863
1863
  "body": {
1864
- "id": 25772,
1864
+ "id": 25783,
1865
1865
  "nodeType": "Block",
1866
1866
  "src": "3537:447:66",
1867
1867
  "statements": [
@@ -1871,25 +1871,25 @@
1871
1871
  "typeIdentifier": "t_uint256",
1872
1872
  "typeString": "uint256"
1873
1873
  },
1874
- "id": 25745,
1874
+ "id": 25756,
1875
1875
  "isConstant": false,
1876
1876
  "isLValue": false,
1877
1877
  "isPure": false,
1878
1878
  "lValueRequested": false,
1879
1879
  "leftExpression": {
1880
1880
  "expression": {
1881
- "id": 25742,
1881
+ "id": 25753,
1882
1882
  "name": "data",
1883
1883
  "nodeType": "Identifier",
1884
1884
  "overloadedDeclarations": [],
1885
- "referencedDeclaration": 25737,
1885
+ "referencedDeclaration": 25748,
1886
1886
  "src": "3551:4:66",
1887
1887
  "typeDescriptions": {
1888
1888
  "typeIdentifier": "t_bytes_memory_ptr",
1889
1889
  "typeString": "bytes memory"
1890
1890
  }
1891
1891
  },
1892
- "id": 25743,
1892
+ "id": 25754,
1893
1893
  "isConstant": false,
1894
1894
  "isLValue": false,
1895
1895
  "isPure": false,
@@ -1907,7 +1907,7 @@
1907
1907
  "operator": "<",
1908
1908
  "rightExpression": {
1909
1909
  "hexValue": "3634",
1910
- "id": 25744,
1910
+ "id": 25755,
1911
1911
  "isConstant": false,
1912
1912
  "isLValue": false,
1913
1913
  "isPure": true,
@@ -1927,13 +1927,13 @@
1927
1927
  "typeString": "bool"
1928
1928
  }
1929
1929
  },
1930
- "id": 25748,
1930
+ "id": 25759,
1931
1931
  "nodeType": "IfStatement",
1932
1932
  "src": "3547:34:66",
1933
1933
  "trueBody": {
1934
1934
  "expression": {
1935
1935
  "hexValue": "66616c7365",
1936
- "id": 25746,
1936
+ "id": 25757,
1937
1937
  "isConstant": false,
1938
1938
  "isLValue": false,
1939
1939
  "isPure": true,
@@ -1947,25 +1947,25 @@
1947
1947
  },
1948
1948
  "value": "false"
1949
1949
  },
1950
- "functionReturnParameters": 25741,
1951
- "id": 25747,
1950
+ "functionReturnParameters": 25752,
1951
+ "id": 25758,
1952
1952
  "nodeType": "Return",
1953
1953
  "src": "3569:12:66"
1954
1954
  }
1955
1955
  },
1956
1956
  {
1957
1957
  "assignments": [
1958
- 25750
1958
+ 25761
1959
1959
  ],
1960
1960
  "declarations": [
1961
1961
  {
1962
1962
  "constant": false,
1963
- "id": 25750,
1963
+ "id": 25761,
1964
1964
  "mutability": "mutable",
1965
1965
  "name": "bytesOffset",
1966
1966
  "nameLocation": "3596:11:66",
1967
1967
  "nodeType": "VariableDeclaration",
1968
- "scope": 25772,
1968
+ "scope": 25783,
1969
1969
  "src": "3591:16:66",
1970
1970
  "stateVariable": false,
1971
1971
  "storageLocation": "default",
@@ -1974,7 +1974,7 @@
1974
1974
  "typeString": "uint256"
1975
1975
  },
1976
1976
  "typeName": {
1977
- "id": 25749,
1977
+ "id": 25760,
1978
1978
  "name": "uint",
1979
1979
  "nodeType": "ElementaryTypeName",
1980
1980
  "src": "3591:4:66",
@@ -1986,23 +1986,23 @@
1986
1986
  "visibility": "internal"
1987
1987
  }
1988
1988
  ],
1989
- "id": 25751,
1989
+ "id": 25762,
1990
1990
  "nodeType": "VariableDeclarationStatement",
1991
1991
  "src": "3591:16:66"
1992
1992
  },
1993
1993
  {
1994
1994
  "assignments": [
1995
- 25753
1995
+ 25764
1996
1996
  ],
1997
1997
  "declarations": [
1998
1998
  {
1999
1999
  "constant": false,
2000
- "id": 25753,
2000
+ "id": 25764,
2001
2001
  "mutability": "mutable",
2002
2002
  "name": "bytesLen",
2003
2003
  "nameLocation": "3622:8:66",
2004
2004
  "nodeType": "VariableDeclaration",
2005
- "scope": 25772,
2005
+ "scope": 25783,
2006
2006
  "src": "3617:13:66",
2007
2007
  "stateVariable": false,
2008
2008
  "storageLocation": "default",
@@ -2011,7 +2011,7 @@
2011
2011
  "typeString": "uint256"
2012
2012
  },
2013
2013
  "typeName": {
2014
- "id": 25752,
2014
+ "id": 25763,
2015
2015
  "name": "uint",
2016
2016
  "nodeType": "ElementaryTypeName",
2017
2017
  "src": "3617:4:66",
@@ -2023,7 +2023,7 @@
2023
2023
  "visibility": "internal"
2024
2024
  }
2025
2025
  ],
2026
- "id": 25754,
2026
+ "id": 25765,
2027
2027
  "nodeType": "VariableDeclarationStatement",
2028
2028
  "src": "3617:13:66"
2029
2029
  },
@@ -2082,21 +2082,21 @@
2082
2082
  "evmVersion": "paris",
2083
2083
  "externalReferences": [
2084
2084
  {
2085
- "declaration": 25750,
2085
+ "declaration": 25761,
2086
2086
  "isOffset": false,
2087
2087
  "isSlot": false,
2088
2088
  "src": "3703:11:66",
2089
2089
  "valueSize": 1
2090
2090
  },
2091
2091
  {
2092
- "declaration": 25737,
2092
+ "declaration": 25748,
2093
2093
  "isOffset": false,
2094
2094
  "isSlot": false,
2095
2095
  "src": "3728:4:66",
2096
2096
  "valueSize": 1
2097
2097
  }
2098
2098
  ],
2099
- "id": 25755,
2099
+ "id": 25766,
2100
2100
  "nodeType": "InlineAssembly",
2101
2101
  "src": "3692:48:66"
2102
2102
  },
@@ -2106,17 +2106,17 @@
2106
2106
  "typeIdentifier": "t_uint256",
2107
2107
  "typeString": "uint256"
2108
2108
  },
2109
- "id": 25758,
2109
+ "id": 25769,
2110
2110
  "isConstant": false,
2111
2111
  "isLValue": false,
2112
2112
  "isPure": false,
2113
2113
  "lValueRequested": false,
2114
2114
  "leftExpression": {
2115
- "id": 25756,
2115
+ "id": 25767,
2116
2116
  "name": "bytesOffset",
2117
2117
  "nodeType": "Identifier",
2118
2118
  "overloadedDeclarations": [],
2119
- "referencedDeclaration": 25750,
2119
+ "referencedDeclaration": 25761,
2120
2120
  "src": "3753:11:66",
2121
2121
  "typeDescriptions": {
2122
2122
  "typeIdentifier": "t_uint256",
@@ -2127,7 +2127,7 @@
2127
2127
  "operator": "!=",
2128
2128
  "rightExpression": {
2129
2129
  "hexValue": "3332",
2130
- "id": 25757,
2130
+ "id": 25768,
2131
2131
  "isConstant": false,
2132
2132
  "isLValue": false,
2133
2133
  "isPure": true,
@@ -2147,13 +2147,13 @@
2147
2147
  "typeString": "bool"
2148
2148
  }
2149
2149
  },
2150
- "id": 25761,
2150
+ "id": 25772,
2151
2151
  "nodeType": "IfStatement",
2152
2152
  "src": "3749:35:66",
2153
2153
  "trueBody": {
2154
2154
  "expression": {
2155
2155
  "hexValue": "66616c7365",
2156
- "id": 25759,
2156
+ "id": 25770,
2157
2157
  "isConstant": false,
2158
2158
  "isLValue": false,
2159
2159
  "isPure": true,
@@ -2167,8 +2167,8 @@
2167
2167
  },
2168
2168
  "value": "false"
2169
2169
  },
2170
- "functionReturnParameters": 25741,
2171
- "id": 25760,
2170
+ "functionReturnParameters": 25752,
2171
+ "id": 25771,
2172
2172
  "nodeType": "Return",
2173
2173
  "src": "3772:12:66"
2174
2174
  }
@@ -2228,21 +2228,21 @@
2228
2228
  "evmVersion": "paris",
2229
2229
  "externalReferences": [
2230
2230
  {
2231
- "declaration": 25753,
2231
+ "declaration": 25764,
2232
2232
  "isOffset": false,
2233
2233
  "isSlot": false,
2234
2234
  "src": "3805:8:66",
2235
2235
  "valueSize": 1
2236
2236
  },
2237
2237
  {
2238
- "declaration": 25737,
2238
+ "declaration": 25748,
2239
2239
  "isOffset": false,
2240
2240
  "isSlot": false,
2241
2241
  "src": "3827:4:66",
2242
2242
  "valueSize": 1
2243
2243
  }
2244
2244
  ],
2245
- "id": 25762,
2245
+ "id": 25773,
2246
2246
  "nodeType": "InlineAssembly",
2247
2247
  "src": "3794:45:66"
2248
2248
  },
@@ -2252,25 +2252,25 @@
2252
2252
  "typeIdentifier": "t_uint256",
2253
2253
  "typeString": "uint256"
2254
2254
  },
2255
- "id": 25770,
2255
+ "id": 25781,
2256
2256
  "isConstant": false,
2257
2257
  "isLValue": false,
2258
2258
  "isPure": false,
2259
2259
  "lValueRequested": false,
2260
2260
  "leftExpression": {
2261
2261
  "expression": {
2262
- "id": 25763,
2262
+ "id": 25774,
2263
2263
  "name": "data",
2264
2264
  "nodeType": "Identifier",
2265
2265
  "overloadedDeclarations": [],
2266
- "referencedDeclaration": 25737,
2266
+ "referencedDeclaration": 25748,
2267
2267
  "src": "3936:4:66",
2268
2268
  "typeDescriptions": {
2269
2269
  "typeIdentifier": "t_bytes_memory_ptr",
2270
2270
  "typeString": "bytes memory"
2271
2271
  }
2272
2272
  },
2273
- "id": 25764,
2273
+ "id": 25775,
2274
2274
  "isConstant": false,
2275
2275
  "isLValue": false,
2276
2276
  "isPure": false,
@@ -2291,14 +2291,14 @@
2291
2291
  "typeIdentifier": "t_uint256",
2292
2292
  "typeString": "uint256"
2293
2293
  },
2294
- "id": 25769,
2294
+ "id": 25780,
2295
2295
  "isConstant": false,
2296
2296
  "isLValue": false,
2297
2297
  "isPure": false,
2298
2298
  "lValueRequested": false,
2299
2299
  "leftExpression": {
2300
2300
  "hexValue": "3634",
2301
- "id": 25765,
2301
+ "id": 25776,
2302
2302
  "isConstant": false,
2303
2303
  "isLValue": false,
2304
2304
  "isPure": true,
@@ -2317,11 +2317,11 @@
2317
2317
  "rightExpression": {
2318
2318
  "arguments": [
2319
2319
  {
2320
- "id": 25767,
2320
+ "id": 25778,
2321
2321
  "name": "bytesLen",
2322
2322
  "nodeType": "Identifier",
2323
2323
  "overloadedDeclarations": [],
2324
- "referencedDeclaration": 25753,
2324
+ "referencedDeclaration": 25764,
2325
2325
  "src": "3968:8:66",
2326
2326
  "typeDescriptions": {
2327
2327
  "typeIdentifier": "t_uint256",
@@ -2336,18 +2336,18 @@
2336
2336
  "typeString": "uint256"
2337
2337
  }
2338
2338
  ],
2339
- "id": 25766,
2339
+ "id": 25777,
2340
2340
  "name": "padLength32",
2341
2341
  "nodeType": "Identifier",
2342
2342
  "overloadedDeclarations": [],
2343
- "referencedDeclaration": 25734,
2343
+ "referencedDeclaration": 25745,
2344
2344
  "src": "3956:11:66",
2345
2345
  "typeDescriptions": {
2346
2346
  "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$",
2347
2347
  "typeString": "function (uint256) pure returns (uint256)"
2348
2348
  }
2349
2349
  },
2350
- "id": 25768,
2350
+ "id": 25779,
2351
2351
  "isConstant": false,
2352
2352
  "isLValue": false,
2353
2353
  "isPure": false,
@@ -2375,20 +2375,20 @@
2375
2375
  "typeString": "bool"
2376
2376
  }
2377
2377
  },
2378
- "functionReturnParameters": 25741,
2379
- "id": 25771,
2378
+ "functionReturnParameters": 25752,
2379
+ "id": 25782,
2380
2380
  "nodeType": "Return",
2381
2381
  "src": "3929:48:66"
2382
2382
  }
2383
2383
  ]
2384
2384
  },
2385
2385
  "documentation": {
2386
- "id": 25735,
2386
+ "id": 25746,
2387
2387
  "nodeType": "StructuredDocumentation",
2388
2388
  "src": "3152:300:66",
2389
2389
  "text": " @dev Validate if the data is encoded correctly with abi.encode(bytesData)\n Expected ABI Encode Layout:\n | word 1 | word 2 | word 3 | the rest...\n | data length | bytesData offset | bytesData length | bytesData + padLength32 zeros |"
2390
2390
  },
2391
- "id": 25773,
2391
+ "id": 25784,
2392
2392
  "implemented": true,
2393
2393
  "kind": "function",
2394
2394
  "modifiers": [],
@@ -2396,17 +2396,17 @@
2396
2396
  "nameLocation": "3466:22:66",
2397
2397
  "nodeType": "FunctionDefinition",
2398
2398
  "parameters": {
2399
- "id": 25738,
2399
+ "id": 25749,
2400
2400
  "nodeType": "ParameterList",
2401
2401
  "parameters": [
2402
2402
  {
2403
2403
  "constant": false,
2404
- "id": 25737,
2404
+ "id": 25748,
2405
2405
  "mutability": "mutable",
2406
2406
  "name": "data",
2407
2407
  "nameLocation": "3502:4:66",
2408
2408
  "nodeType": "VariableDeclaration",
2409
- "scope": 25773,
2409
+ "scope": 25784,
2410
2410
  "src": "3489:17:66",
2411
2411
  "stateVariable": false,
2412
2412
  "storageLocation": "memory",
@@ -2415,7 +2415,7 @@
2415
2415
  "typeString": "bytes"
2416
2416
  },
2417
2417
  "typeName": {
2418
- "id": 25736,
2418
+ "id": 25747,
2419
2419
  "name": "bytes",
2420
2420
  "nodeType": "ElementaryTypeName",
2421
2421
  "src": "3489:5:66",
@@ -2430,17 +2430,17 @@
2430
2430
  "src": "3488:19:66"
2431
2431
  },
2432
2432
  "returnParameters": {
2433
- "id": 25741,
2433
+ "id": 25752,
2434
2434
  "nodeType": "ParameterList",
2435
2435
  "parameters": [
2436
2436
  {
2437
2437
  "constant": false,
2438
- "id": 25740,
2438
+ "id": 25751,
2439
2439
  "mutability": "mutable",
2440
2440
  "name": "",
2441
2441
  "nameLocation": "-1:-1:-1",
2442
2442
  "nodeType": "VariableDeclaration",
2443
- "scope": 25773,
2443
+ "scope": 25784,
2444
2444
  "src": "3531:4:66",
2445
2445
  "stateVariable": false,
2446
2446
  "storageLocation": "default",
@@ -2449,7 +2449,7 @@
2449
2449
  "typeString": "bool"
2450
2450
  },
2451
2451
  "typeName": {
2452
- "id": 25739,
2452
+ "id": 25750,
2453
2453
  "name": "bool",
2454
2454
  "nodeType": "ElementaryTypeName",
2455
2455
  "src": "3531:4:66",
@@ -2463,14 +2463,14 @@
2463
2463
  ],
2464
2464
  "src": "3530:6:66"
2465
2465
  },
2466
- "scope": 25774,
2466
+ "scope": 25785,
2467
2467
  "src": "3457:527:66",
2468
2468
  "stateMutability": "pure",
2469
2469
  "virtual": false,
2470
2470
  "visibility": "internal"
2471
2471
  }
2472
2472
  ],
2473
- "scope": 25775,
2473
+ "scope": 25786,
2474
2474
  "src": "160:3827:66",
2475
2475
  "usedErrors": []
2476
2476
  }
@@ -2483,7 +2483,7 @@
2483
2483
  },
2484
2484
  "networks": {},
2485
2485
  "schemaVersion": "3.4.13",
2486
- "updatedAt": "2023-06-28T11:03:18.859Z",
2486
+ "updatedAt": "2023-07-13T10:28:31.747Z",
2487
2487
  "devdoc": {
2488
2488
  "author": "Superfluid",
2489
2489
  "kind": "dev",