@superfluid-finance/ethereum-contracts 1.2.2-dev.6a8632e.0 → 1.2.2-dev.a4c583c.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 (114) hide show
  1. package/build/contracts/AccessControl.json +1 -1
  2. package/build/contracts/AccessControlEnumerable.json +1 -1
  3. package/build/contracts/Address.json +1 -1
  4. package/build/contracts/AgreementBase.json +18 -18
  5. package/build/contracts/AgreementLibrary.json +450 -243
  6. package/build/contracts/BaseRelayRecipient.json +112 -112
  7. package/build/contracts/BatchLiquidator.json +178 -178
  8. package/build/contracts/BatchOperation.json +1138 -1138
  9. package/build/contracts/CFAv1Library.json +2531 -2531
  10. package/build/contracts/CallUtils.json +478 -478
  11. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1521 -1521
  12. package/build/contracts/ConstantFlowAgreementV1.json +19318 -18338
  13. package/build/contracts/Context.json +1 -1
  14. package/build/contracts/ContextDefinitions.json +1138 -1138
  15. package/build/contracts/Create2.json +1 -1
  16. package/build/contracts/CustomSuperTokenBase.json +31 -31
  17. package/build/contracts/ERC165.json +1 -1
  18. package/build/contracts/ERC1820Implementer.json +1 -1
  19. package/build/contracts/ERC20.json +1 -1
  20. package/build/contracts/ERC20Burnable.json +1 -1
  21. package/build/contracts/ERC20Pausable.json +1 -1
  22. package/build/contracts/ERC20PresetMinterPauser.json +1 -1
  23. package/build/contracts/ERC20WithTokenInfo.json +36 -36
  24. package/build/contracts/ERC721.json +1 -1
  25. package/build/contracts/ERC777Helper.json +660 -660
  26. package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
  27. package/build/contracts/ERC777RecipientReverting.json +855 -855
  28. package/build/contracts/EnumerableSet.json +1 -1
  29. package/build/contracts/ExclusiveInflowTestApp.json +1521 -1521
  30. package/build/contracts/FixedSizeData.json +405 -405
  31. package/build/contracts/FlowExchangeTestApp.json +1522 -1522
  32. package/build/contracts/FlowOperatorDefinitions.json +1138 -1138
  33. package/build/contracts/FullUpgradableSuperTokenProxy.json +113 -113
  34. package/build/contracts/IAccessControl.json +1 -1
  35. package/build/contracts/IAccessControlEnumerable.json +1 -1
  36. package/build/contracts/IConstantFlowAgreementV1.json +1036 -1036
  37. package/build/contracts/IDAv1Library.json +4183 -4183
  38. package/build/contracts/IERC165.json +1 -1
  39. package/build/contracts/IERC1820Implementer.json +1 -1
  40. package/build/contracts/IERC1820Registry.json +1 -1
  41. package/build/contracts/IERC20.json +1 -1
  42. package/build/contracts/IERC20Metadata.json +1 -1
  43. package/build/contracts/IERC721.json +1 -1
  44. package/build/contracts/IERC721Metadata.json +1 -1
  45. package/build/contracts/IERC721Receiver.json +1 -1
  46. package/build/contracts/IERC777.json +1 -1
  47. package/build/contracts/IERC777Recipient.json +1 -1
  48. package/build/contracts/IERC777Sender.json +1 -1
  49. package/build/contracts/IInstantDistributionAgreementV1.json +1182 -1182
  50. package/build/contracts/IMaticBridgedNativeSuperToken.json +110 -110
  51. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +110 -110
  52. package/build/contracts/IMultiSigWallet.json +45 -45
  53. package/build/contracts/IPureSuperToken.json +69 -69
  54. package/build/contracts/IPureSuperTokenCustom.json +69 -69
  55. package/build/contracts/IRelayRecipient.json +49 -49
  56. package/build/contracts/IResolver.json +73 -73
  57. package/build/contracts/ISETH.json +79 -79
  58. package/build/contracts/ISETHCustom.json +79 -79
  59. package/build/contracts/ISuperAgreement.json +88 -88
  60. package/build/contracts/ISuperApp.json +351 -351
  61. package/build/contracts/ISuperToken.json +1008 -1008
  62. package/build/contracts/ISuperTokenFactory.json +280 -280
  63. package/build/contracts/ISuperfluid.json +1466 -1466
  64. package/build/contracts/ISuperfluidGovernance.json +404 -404
  65. package/build/contracts/ISuperfluidToken.json +774 -774
  66. package/build/contracts/ITOGAv1.json +1431 -1431
  67. package/build/contracts/ITOGAv2.json +1431 -1431
  68. package/build/contracts/Initializable.json +1 -1
  69. package/build/contracts/InstantDistributionAgreementV1.json +9343 -9343
  70. package/build/contracts/Int96SafeMath.json +504 -504
  71. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +228 -228
  72. package/build/contracts/NonClosableOutflowTestApp.json +1522 -1522
  73. package/build/contracts/Ownable.json +1 -1
  74. package/build/contracts/Pausable.json +1 -1
  75. package/build/contracts/Proxy.json +1 -1
  76. package/build/contracts/PureSuperToken.json +106 -106
  77. package/build/contracts/Resolver.json +98 -98
  78. package/build/contracts/SETHProxy.json +224 -224
  79. package/build/contracts/SafeCast.json +1 -1
  80. package/build/contracts/SafeERC20.json +1 -1
  81. package/build/contracts/SafeMath.json +1 -1
  82. package/build/contracts/SelfDeletingFlowTestApp.json +1521 -1521
  83. package/build/contracts/SlotsBitmapLibrary.json +794 -794
  84. package/build/contracts/Strings.json +1 -1
  85. package/build/contracts/SuperAppBase.json +394 -394
  86. package/build/contracts/SuperAppDefinitions.json +1138 -1138
  87. package/build/contracts/SuperToken.json +2351 -2351
  88. package/build/contracts/SuperTokenFactory.json +731 -731
  89. package/build/contracts/SuperTokenFactoryBase.json +721 -721
  90. package/build/contracts/SuperTokenFactoryHelper.json +724 -724
  91. package/build/contracts/SuperUpgrader.json +437 -437
  92. package/build/contracts/Superfluid.json +4936 -4936
  93. package/build/contracts/SuperfluidFrameworkDeployer.json +535 -535
  94. package/build/contracts/SuperfluidGovernanceBase.json +3535 -3535
  95. package/build/contracts/SuperfluidGovernanceConfigs.json +1138 -1138
  96. package/build/contracts/SuperfluidGovernanceII.json +230 -230
  97. package/build/contracts/SuperfluidGovernanceIIProxy.json +211 -211
  98. package/build/contracts/SuperfluidLoader.json +207 -207
  99. package/build/contracts/SuperfluidToken.json +1345 -1345
  100. package/build/contracts/TOGA.json +1448 -1448
  101. package/build/contracts/TestGovernance.json +247 -247
  102. package/build/contracts/TestToken.json +94 -94
  103. package/build/contracts/TokenCustodian.json +214 -214
  104. package/build/contracts/TokenInfo.json +58 -58
  105. package/build/contracts/UInt128SafeMath.json +97 -97
  106. package/build/contracts/UUPSProxiable.json +132 -132
  107. package/build/contracts/UUPSProxy.json +81 -81
  108. package/build/contracts/UUPSUtils.json +37 -37
  109. package/build/contracts-sizes.txt +1 -2
  110. package/contracts/agreements/AgreementLibrary.sol +1 -0
  111. package/contracts/agreements/ConstantFlowAgreementV1.sol +71 -35
  112. package/contracts/agreements/InstantDistributionAgreementV1.sol +3 -2
  113. package/contracts/{agreements → libs}/SlotsBitmapLibrary.sol +1 -3
  114. package/package.json +2 -1
@@ -7,30 +7,30 @@
7
7
  "immutableReferences": {},
8
8
  "generatedSources": [],
9
9
  "deployedGeneratedSources": [],
10
- "sourceMap": "160:3827:64:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;160:3827:64;;;;;;;;;;;;;;;;;",
11
- "deployedSourceMap": "160:3827:64:-:0;;;;;;;;",
10
+ "sourceMap": "160:3827:63:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;160:3827:63;;;;;;;;;;;;;;;;;",
11
+ "deployedSourceMap": "160:3827:63:-:0;;;;;;;;",
12
12
  "source": "// SPDX-License-Identifier: AGPLv3\npragma solidity 0.8.13;\n\n/**\n * @title Call utilities library that is absent from the OpenZeppelin\n * @author Superfluid\n */\nlibrary CallUtils {\n\n /// @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\n function revertFromReturnedData(bytes memory returnedData) internal pure {\n if (returnedData.length < 4) {\n // case 1: catch all\n revert(\"CallUtils: target revert()\");\n } else {\n bytes4 errorSelector;\n assembly {\n errorSelector := mload(add(returnedData, 0x20))\n }\n if (errorSelector == bytes4(0x4e487b71) /* `seth sig \"Panic(uint256)\"` */) {\n // case 2: Panic(uint256) (Defined since 0.8.0)\n // solhint-disable-next-line max-line-length\n // ref: https://docs.soliditylang.org/en/v0.8.0/control-structures.html#panic-via-assert-and-error-via-require)\n string memory reason = \"CallUtils: target panicked: 0x__\";\n uint errorCode;\n assembly {\n errorCode := mload(add(returnedData, 0x24))\n let reasonWord := mload(add(reason, 0x20))\n // [0..9] is converted to ['0'..'9']\n // [0xa..0xf] is not correctly converted to ['a'..'f']\n // but since panic code doesn't have those cases, we will ignore them for now!\n let e1 := add(and(errorCode, 0xf), 0x30)\n let e2 := shl(8, add(shr(4, and(errorCode, 0xf0)), 0x30))\n reasonWord := or(\n and(reasonWord, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000),\n or(e2, e1))\n mstore(add(reason, 0x20), reasonWord)\n }\n revert(reason);\n } else {\n // case 3: Error(string) (Defined at least since 0.7.0)\n // case 4: Custom errors (Defined since 0.8.0)\n uint len = returnedData.length;\n assembly {\n revert(add(returnedData, 32), len)\n }\n }\n }\n }\n\n /**\n * @dev Helper method to parse data and extract the method signature (selector).\n *\n * Copied from: https://github.com/argentlabs/argent-contracts/\n * blob/master/contracts/modules/common/Utils.sol#L54-L60\n */\n function parseSelector(bytes memory callData) internal pure returns (bytes4 selector) {\n require(callData.length >= 4, \"CallUtils: invalid callData\");\n // solhint-disable-next-line no-inline-assembly\n assembly {\n selector := mload(add(callData, 0x20))\n }\n }\n\n /**\n * @dev Pad length to 32 bytes word boundary\n */\n function padLength32(uint256 len) internal pure returns (uint256 paddedLen) {\n return ((len / 32) + (((len & 31) > 0) /* rounding? */ ? 1 : 0)) * 32;\n }\n\n /**\n * @dev Validate if the data is encoded correctly with abi.encode(bytesData)\n *\n * Expected ABI Encode Layout:\n * | word 1 | word 2 | word 3 | the rest...\n * | data length | bytesData offset | bytesData length | bytesData + padLength32 zeros |\n */\n function isValidAbiEncodedBytes(bytes memory data) internal pure returns (bool) {\n if (data.length < 64) return false;\n uint bytesOffset;\n uint bytesLen;\n // bytes offset is always expected to be 32\n assembly { bytesOffset := mload(add(data, 32)) }\n if (bytesOffset != 32) return false;\n assembly { bytesLen := mload(add(data, 64)) }\n // the data length should be bytesData.length + 64 + padded bytes length\n return data.length == 64 + padLength32(bytesLen);\n }\n\n}\n",
13
13
  "sourcePath": "/home/runner/work/protocol-monorepo/protocol-monorepo/packages/ethereum-contracts/contracts/libs/CallUtils.sol",
14
14
  "ast": {
15
15
  "absolutePath": "project:/contracts/libs/CallUtils.sol",
16
16
  "exportedSymbols": {
17
17
  "CallUtils": [
18
- 19996
18
+ 19774
19
19
  ]
20
20
  },
21
- "id": 19997,
21
+ "id": 19775,
22
22
  "license": "AGPLv3",
23
23
  "nodeType": "SourceUnit",
24
24
  "nodes": [
25
25
  {
26
- "id": 19859,
26
+ "id": 19637,
27
27
  "literals": [
28
28
  "solidity",
29
29
  "0.8",
30
30
  ".13"
31
31
  ],
32
32
  "nodeType": "PragmaDirective",
33
- "src": "35:23:64"
33
+ "src": "35:23:63"
34
34
  },
35
35
  {
36
36
  "abstract": false,
@@ -39,25 +39,25 @@
39
39
  "contractDependencies": [],
40
40
  "contractKind": "library",
41
41
  "documentation": {
42
- "id": 19860,
42
+ "id": 19638,
43
43
  "nodeType": "StructuredDocumentation",
44
- "src": "60:99:64",
44
+ "src": "60:99:63",
45
45
  "text": " @title Call utilities library that is absent from the OpenZeppelin\n @author Superfluid"
46
46
  },
47
47
  "fullyImplemented": true,
48
- "id": 19996,
48
+ "id": 19774,
49
49
  "linearizedBaseContracts": [
50
- 19996
50
+ 19774
51
51
  ],
52
52
  "name": "CallUtils",
53
- "nameLocation": "168:9:64",
53
+ "nameLocation": "168:9:63",
54
54
  "nodeType": "ContractDefinition",
55
55
  "nodes": [
56
56
  {
57
57
  "body": {
58
- "id": 19908,
58
+ "id": 19686,
59
59
  "nodeType": "Block",
60
- "src": "501:1873:64",
60
+ "src": "501:1873:63",
61
61
  "statements": [
62
62
  {
63
63
  "condition": {
@@ -65,32 +65,32 @@
65
65
  "typeIdentifier": "t_uint256",
66
66
  "typeString": "uint256"
67
67
  },
68
- "id": 19869,
68
+ "id": 19647,
69
69
  "isConstant": false,
70
70
  "isLValue": false,
71
71
  "isPure": false,
72
72
  "lValueRequested": false,
73
73
  "leftExpression": {
74
74
  "expression": {
75
- "id": 19866,
75
+ "id": 19644,
76
76
  "name": "returnedData",
77
77
  "nodeType": "Identifier",
78
78
  "overloadedDeclarations": [],
79
- "referencedDeclaration": 19863,
80
- "src": "515:12:64",
79
+ "referencedDeclaration": 19641,
80
+ "src": "515:12:63",
81
81
  "typeDescriptions": {
82
82
  "typeIdentifier": "t_bytes_memory_ptr",
83
83
  "typeString": "bytes memory"
84
84
  }
85
85
  },
86
- "id": 19867,
86
+ "id": 19645,
87
87
  "isConstant": false,
88
88
  "isLValue": false,
89
89
  "isPure": false,
90
90
  "lValueRequested": false,
91
91
  "memberName": "length",
92
92
  "nodeType": "MemberAccess",
93
- "src": "515:19:64",
93
+ "src": "515:19:63",
94
94
  "typeDescriptions": {
95
95
  "typeIdentifier": "t_uint256",
96
96
  "typeString": "uint256"
@@ -100,45 +100,45 @@
100
100
  "operator": "<",
101
101
  "rightExpression": {
102
102
  "hexValue": "34",
103
- "id": 19868,
103
+ "id": 19646,
104
104
  "isConstant": false,
105
105
  "isLValue": false,
106
106
  "isPure": true,
107
107
  "kind": "number",
108
108
  "lValueRequested": false,
109
109
  "nodeType": "Literal",
110
- "src": "537:1:64",
110
+ "src": "537:1:63",
111
111
  "typeDescriptions": {
112
112
  "typeIdentifier": "t_rational_4_by_1",
113
113
  "typeString": "int_const 4"
114
114
  },
115
115
  "value": "4"
116
116
  },
117
- "src": "515:23:64",
117
+ "src": "515:23:63",
118
118
  "typeDescriptions": {
119
119
  "typeIdentifier": "t_bool",
120
120
  "typeString": "bool"
121
121
  }
122
122
  },
123
123
  "falseBody": {
124
- "id": 19906,
124
+ "id": 19684,
125
125
  "nodeType": "Block",
126
- "src": "640:1728:64",
126
+ "src": "640:1728:63",
127
127
  "statements": [
128
128
  {
129
129
  "assignments": [
130
- 19876
130
+ 19654
131
131
  ],
132
132
  "declarations": [
133
133
  {
134
134
  "constant": false,
135
- "id": 19876,
135
+ "id": 19654,
136
136
  "mutability": "mutable",
137
137
  "name": "errorSelector",
138
- "nameLocation": "661:13:64",
138
+ "nameLocation": "661:13:63",
139
139
  "nodeType": "VariableDeclaration",
140
- "scope": 19906,
141
- "src": "654:20:64",
140
+ "scope": 19684,
141
+ "src": "654:20:63",
142
142
  "stateVariable": false,
143
143
  "storageLocation": "default",
144
144
  "typeDescriptions": {
@@ -146,10 +146,10 @@
146
146
  "typeString": "bytes4"
147
147
  },
148
148
  "typeName": {
149
- "id": 19875,
149
+ "id": 19653,
150
150
  "name": "bytes4",
151
151
  "nodeType": "ElementaryTypeName",
152
- "src": "654:6:64",
152
+ "src": "654:6:63",
153
153
  "typeDescriptions": {
154
154
  "typeIdentifier": "t_bytes4",
155
155
  "typeString": "bytes4"
@@ -158,18 +158,18 @@
158
158
  "visibility": "internal"
159
159
  }
160
160
  ],
161
- "id": 19877,
161
+ "id": 19655,
162
162
  "nodeType": "VariableDeclarationStatement",
163
- "src": "654:20:64"
163
+ "src": "654:20:63"
164
164
  },
165
165
  {
166
166
  "AST": {
167
167
  "nodeType": "YulBlock",
168
- "src": "697:79:64",
168
+ "src": "697:79:63",
169
169
  "statements": [
170
170
  {
171
171
  "nodeType": "YulAssignment",
172
- "src": "715:47:64",
172
+ "src": "715:47:63",
173
173
  "value": {
174
174
  "arguments": [
175
175
  {
@@ -177,12 +177,12 @@
177
177
  {
178
178
  "name": "returnedData",
179
179
  "nodeType": "YulIdentifier",
180
- "src": "742:12:64"
180
+ "src": "742:12:63"
181
181
  },
182
182
  {
183
183
  "kind": "number",
184
184
  "nodeType": "YulLiteral",
185
- "src": "756:4:64",
185
+ "src": "756:4:63",
186
186
  "type": "",
187
187
  "value": "0x20"
188
188
  }
@@ -190,25 +190,25 @@
190
190
  "functionName": {
191
191
  "name": "add",
192
192
  "nodeType": "YulIdentifier",
193
- "src": "738:3:64"
193
+ "src": "738:3:63"
194
194
  },
195
195
  "nodeType": "YulFunctionCall",
196
- "src": "738:23:64"
196
+ "src": "738:23:63"
197
197
  }
198
198
  ],
199
199
  "functionName": {
200
200
  "name": "mload",
201
201
  "nodeType": "YulIdentifier",
202
- "src": "732:5:64"
202
+ "src": "732:5:63"
203
203
  },
204
204
  "nodeType": "YulFunctionCall",
205
- "src": "732:30:64"
205
+ "src": "732:30:63"
206
206
  },
207
207
  "variableNames": [
208
208
  {
209
209
  "name": "errorSelector",
210
210
  "nodeType": "YulIdentifier",
211
- "src": "715:13:64"
211
+ "src": "715:13:63"
212
212
  }
213
213
  ]
214
214
  }
@@ -217,23 +217,23 @@
217
217
  "evmVersion": "london",
218
218
  "externalReferences": [
219
219
  {
220
- "declaration": 19876,
220
+ "declaration": 19654,
221
221
  "isOffset": false,
222
222
  "isSlot": false,
223
- "src": "715:13:64",
223
+ "src": "715:13:63",
224
224
  "valueSize": 1
225
225
  },
226
226
  {
227
- "declaration": 19863,
227
+ "declaration": 19641,
228
228
  "isOffset": false,
229
229
  "isSlot": false,
230
- "src": "742:12:64",
230
+ "src": "742:12:63",
231
231
  "valueSize": 1
232
232
  }
233
233
  ],
234
- "id": 19878,
234
+ "id": 19656,
235
235
  "nodeType": "InlineAssembly",
236
- "src": "688:88:64"
236
+ "src": "688:88:63"
237
237
  },
238
238
  {
239
239
  "condition": {
@@ -241,18 +241,18 @@
241
241
  "typeIdentifier": "t_bytes4",
242
242
  "typeString": "bytes4"
243
243
  },
244
- "id": 19884,
244
+ "id": 19662,
245
245
  "isConstant": false,
246
246
  "isLValue": false,
247
247
  "isPure": false,
248
248
  "lValueRequested": false,
249
249
  "leftExpression": {
250
- "id": 19879,
250
+ "id": 19657,
251
251
  "name": "errorSelector",
252
252
  "nodeType": "Identifier",
253
253
  "overloadedDeclarations": [],
254
- "referencedDeclaration": 19876,
255
- "src": "793:13:64",
254
+ "referencedDeclaration": 19654,
255
+ "src": "793:13:63",
256
256
  "typeDescriptions": {
257
257
  "typeIdentifier": "t_bytes4",
258
258
  "typeString": "bytes4"
@@ -264,14 +264,14 @@
264
264
  "arguments": [
265
265
  {
266
266
  "hexValue": "30783465343837623731",
267
- "id": 19882,
267
+ "id": 19660,
268
268
  "isConstant": false,
269
269
  "isLValue": false,
270
270
  "isPure": true,
271
271
  "kind": "number",
272
272
  "lValueRequested": false,
273
273
  "nodeType": "Literal",
274
- "src": "817:10:64",
274
+ "src": "817:10:63",
275
275
  "typeDescriptions": {
276
276
  "typeIdentifier": "t_rational_1313373041_by_1",
277
277
  "typeString": "int_const 1313373041"
@@ -286,26 +286,26 @@
286
286
  "typeString": "int_const 1313373041"
287
287
  }
288
288
  ],
289
- "id": 19881,
289
+ "id": 19659,
290
290
  "isConstant": false,
291
291
  "isLValue": false,
292
292
  "isPure": true,
293
293
  "lValueRequested": false,
294
294
  "nodeType": "ElementaryTypeNameExpression",
295
- "src": "810:6:64",
295
+ "src": "810:6:63",
296
296
  "typeDescriptions": {
297
297
  "typeIdentifier": "t_type$_t_bytes4_$",
298
298
  "typeString": "type(bytes4)"
299
299
  },
300
300
  "typeName": {
301
- "id": 19880,
301
+ "id": 19658,
302
302
  "name": "bytes4",
303
303
  "nodeType": "ElementaryTypeName",
304
- "src": "810:6:64",
304
+ "src": "810:6:63",
305
305
  "typeDescriptions": {}
306
306
  }
307
307
  },
308
- "id": 19883,
308
+ "id": 19661,
309
309
  "isConstant": false,
310
310
  "isLValue": false,
311
311
  "isPure": true,
@@ -313,38 +313,38 @@
313
313
  "lValueRequested": false,
314
314
  "names": [],
315
315
  "nodeType": "FunctionCall",
316
- "src": "810:18:64",
316
+ "src": "810:18:63",
317
317
  "tryCall": false,
318
318
  "typeDescriptions": {
319
319
  "typeIdentifier": "t_bytes4",
320
320
  "typeString": "bytes4"
321
321
  }
322
322
  },
323
- "src": "793:35:64",
323
+ "src": "793:35:63",
324
324
  "typeDescriptions": {
325
325
  "typeIdentifier": "t_bool",
326
326
  "typeString": "bool"
327
327
  }
328
328
  },
329
329
  "falseBody": {
330
- "id": 19904,
330
+ "id": 19682,
331
331
  "nodeType": "Block",
332
- "src": "2060:298:64",
332
+ "src": "2060:298:63",
333
333
  "statements": [
334
334
  {
335
335
  "assignments": [
336
- 19899
336
+ 19677
337
337
  ],
338
338
  "declarations": [
339
339
  {
340
340
  "constant": false,
341
- "id": 19899,
341
+ "id": 19677,
342
342
  "mutability": "mutable",
343
343
  "name": "len",
344
- "nameLocation": "2218:3:64",
344
+ "nameLocation": "2218:3:63",
345
345
  "nodeType": "VariableDeclaration",
346
- "scope": 19904,
347
- "src": "2213:8:64",
346
+ "scope": 19682,
347
+ "src": "2213:8:63",
348
348
  "stateVariable": false,
349
349
  "storageLocation": "default",
350
350
  "typeDescriptions": {
@@ -352,10 +352,10 @@
352
352
  "typeString": "uint256"
353
353
  },
354
354
  "typeName": {
355
- "id": 19898,
355
+ "id": 19676,
356
356
  "name": "uint",
357
357
  "nodeType": "ElementaryTypeName",
358
- "src": "2213:4:64",
358
+ "src": "2213:4:63",
359
359
  "typeDescriptions": {
360
360
  "typeIdentifier": "t_uint256",
361
361
  "typeString": "uint256"
@@ -364,40 +364,40 @@
364
364
  "visibility": "internal"
365
365
  }
366
366
  ],
367
- "id": 19902,
367
+ "id": 19680,
368
368
  "initialValue": {
369
369
  "expression": {
370
- "id": 19900,
370
+ "id": 19678,
371
371
  "name": "returnedData",
372
372
  "nodeType": "Identifier",
373
373
  "overloadedDeclarations": [],
374
- "referencedDeclaration": 19863,
375
- "src": "2224:12:64",
374
+ "referencedDeclaration": 19641,
375
+ "src": "2224:12:63",
376
376
  "typeDescriptions": {
377
377
  "typeIdentifier": "t_bytes_memory_ptr",
378
378
  "typeString": "bytes memory"
379
379
  }
380
380
  },
381
- "id": 19901,
381
+ "id": 19679,
382
382
  "isConstant": false,
383
383
  "isLValue": false,
384
384
  "isPure": false,
385
385
  "lValueRequested": false,
386
386
  "memberName": "length",
387
387
  "nodeType": "MemberAccess",
388
- "src": "2224:19:64",
388
+ "src": "2224:19:63",
389
389
  "typeDescriptions": {
390
390
  "typeIdentifier": "t_uint256",
391
391
  "typeString": "uint256"
392
392
  }
393
393
  },
394
394
  "nodeType": "VariableDeclarationStatement",
395
- "src": "2213:30:64"
395
+ "src": "2213:30:63"
396
396
  },
397
397
  {
398
398
  "AST": {
399
399
  "nodeType": "YulBlock",
400
- "src": "2270:74:64",
400
+ "src": "2270:74:63",
401
401
  "statements": [
402
402
  {
403
403
  "expression": {
@@ -407,12 +407,12 @@
407
407
  {
408
408
  "name": "returnedData",
409
409
  "nodeType": "YulIdentifier",
410
- "src": "2303:12:64"
410
+ "src": "2303:12:63"
411
411
  },
412
412
  {
413
413
  "kind": "number",
414
414
  "nodeType": "YulLiteral",
415
- "src": "2317:2:64",
415
+ "src": "2317:2:63",
416
416
  "type": "",
417
417
  "value": "32"
418
418
  }
@@ -420,75 +420,75 @@
420
420
  "functionName": {
421
421
  "name": "add",
422
422
  "nodeType": "YulIdentifier",
423
- "src": "2299:3:64"
423
+ "src": "2299:3:63"
424
424
  },
425
425
  "nodeType": "YulFunctionCall",
426
- "src": "2299:21:64"
426
+ "src": "2299:21:63"
427
427
  },
428
428
  {
429
429
  "name": "len",
430
430
  "nodeType": "YulIdentifier",
431
- "src": "2322:3:64"
431
+ "src": "2322:3:63"
432
432
  }
433
433
  ],
434
434
  "functionName": {
435
435
  "name": "revert",
436
436
  "nodeType": "YulIdentifier",
437
- "src": "2292:6:64"
437
+ "src": "2292:6:63"
438
438
  },
439
439
  "nodeType": "YulFunctionCall",
440
- "src": "2292:34:64"
440
+ "src": "2292:34:63"
441
441
  },
442
442
  "nodeType": "YulExpressionStatement",
443
- "src": "2292:34:64"
443
+ "src": "2292:34:63"
444
444
  }
445
445
  ]
446
446
  },
447
447
  "evmVersion": "london",
448
448
  "externalReferences": [
449
449
  {
450
- "declaration": 19899,
450
+ "declaration": 19677,
451
451
  "isOffset": false,
452
452
  "isSlot": false,
453
- "src": "2322:3:64",
453
+ "src": "2322:3:63",
454
454
  "valueSize": 1
455
455
  },
456
456
  {
457
- "declaration": 19863,
457
+ "declaration": 19641,
458
458
  "isOffset": false,
459
459
  "isSlot": false,
460
- "src": "2303:12:64",
460
+ "src": "2303:12:63",
461
461
  "valueSize": 1
462
462
  }
463
463
  ],
464
- "id": 19903,
464
+ "id": 19681,
465
465
  "nodeType": "InlineAssembly",
466
- "src": "2261:83:64"
466
+ "src": "2261:83:63"
467
467
  }
468
468
  ]
469
469
  },
470
- "id": 19905,
470
+ "id": 19683,
471
471
  "nodeType": "IfStatement",
472
- "src": "789:1569:64",
472
+ "src": "789:1569:63",
473
473
  "trueBody": {
474
- "id": 19897,
474
+ "id": 19675,
475
475
  "nodeType": "Block",
476
- "src": "864:1190:64",
476
+ "src": "864:1190:63",
477
477
  "statements": [
478
478
  {
479
479
  "assignments": [
480
- 19886
480
+ 19664
481
481
  ],
482
482
  "declarations": [
483
483
  {
484
484
  "constant": false,
485
- "id": 19886,
485
+ "id": 19664,
486
486
  "mutability": "mutable",
487
487
  "name": "reason",
488
- "nameLocation": "1149:6:64",
488
+ "nameLocation": "1149:6:63",
489
489
  "nodeType": "VariableDeclaration",
490
- "scope": 19897,
491
- "src": "1135:20:64",
490
+ "scope": 19675,
491
+ "src": "1135:20:63",
492
492
  "stateVariable": false,
493
493
  "storageLocation": "memory",
494
494
  "typeDescriptions": {
@@ -496,10 +496,10 @@
496
496
  "typeString": "string"
497
497
  },
498
498
  "typeName": {
499
- "id": 19885,
499
+ "id": 19663,
500
500
  "name": "string",
501
501
  "nodeType": "ElementaryTypeName",
502
- "src": "1135:6:64",
502
+ "src": "1135:6:63",
503
503
  "typeDescriptions": {
504
504
  "typeIdentifier": "t_string_storage_ptr",
505
505
  "typeString": "string"
@@ -508,17 +508,17 @@
508
508
  "visibility": "internal"
509
509
  }
510
510
  ],
511
- "id": 19888,
511
+ "id": 19666,
512
512
  "initialValue": {
513
513
  "hexValue": "43616c6c5574696c733a207461726765742070616e69636b65643a2030785f5f",
514
- "id": 19887,
514
+ "id": 19665,
515
515
  "isConstant": false,
516
516
  "isLValue": false,
517
517
  "isPure": true,
518
518
  "kind": "string",
519
519
  "lValueRequested": false,
520
520
  "nodeType": "Literal",
521
- "src": "1158:34:64",
521
+ "src": "1158:34:63",
522
522
  "typeDescriptions": {
523
523
  "typeIdentifier": "t_stringliteral_33b1ea1b00ef6cfda40911200e8977bed076afa6b348f265df500706e20be43f",
524
524
  "typeString": "literal_string \"CallUtils: target panicked: 0x__\""
@@ -526,22 +526,22 @@
526
526
  "value": "CallUtils: target panicked: 0x__"
527
527
  },
528
528
  "nodeType": "VariableDeclarationStatement",
529
- "src": "1135:57:64"
529
+ "src": "1135:57:63"
530
530
  },
531
531
  {
532
532
  "assignments": [
533
- 19890
533
+ 19668
534
534
  ],
535
535
  "declarations": [
536
536
  {
537
537
  "constant": false,
538
- "id": 19890,
538
+ "id": 19668,
539
539
  "mutability": "mutable",
540
540
  "name": "errorCode",
541
- "nameLocation": "1215:9:64",
541
+ "nameLocation": "1215:9:63",
542
542
  "nodeType": "VariableDeclaration",
543
- "scope": 19897,
544
- "src": "1210:14:64",
543
+ "scope": 19675,
544
+ "src": "1210:14:63",
545
545
  "stateVariable": false,
546
546
  "storageLocation": "default",
547
547
  "typeDescriptions": {
@@ -549,10 +549,10 @@
549
549
  "typeString": "uint256"
550
550
  },
551
551
  "typeName": {
552
- "id": 19889,
552
+ "id": 19667,
553
553
  "name": "uint",
554
554
  "nodeType": "ElementaryTypeName",
555
- "src": "1210:4:64",
555
+ "src": "1210:4:63",
556
556
  "typeDescriptions": {
557
557
  "typeIdentifier": "t_uint256",
558
558
  "typeString": "uint256"
@@ -561,18 +561,18 @@
561
561
  "visibility": "internal"
562
562
  }
563
563
  ],
564
- "id": 19891,
564
+ "id": 19669,
565
565
  "nodeType": "VariableDeclarationStatement",
566
- "src": "1210:14:64"
566
+ "src": "1210:14:63"
567
567
  },
568
568
  {
569
569
  "AST": {
570
570
  "nodeType": "YulBlock",
571
- "src": "1251:757:64",
571
+ "src": "1251:757:63",
572
572
  "statements": [
573
573
  {
574
574
  "nodeType": "YulAssignment",
575
- "src": "1273:43:64",
575
+ "src": "1273:43:63",
576
576
  "value": {
577
577
  "arguments": [
578
578
  {
@@ -580,12 +580,12 @@
580
580
  {
581
581
  "name": "returnedData",
582
582
  "nodeType": "YulIdentifier",
583
- "src": "1296:12:64"
583
+ "src": "1296:12:63"
584
584
  },
585
585
  {
586
586
  "kind": "number",
587
587
  "nodeType": "YulLiteral",
588
- "src": "1310:4:64",
588
+ "src": "1310:4:63",
589
589
  "type": "",
590
590
  "value": "0x24"
591
591
  }
@@ -593,31 +593,31 @@
593
593
  "functionName": {
594
594
  "name": "add",
595
595
  "nodeType": "YulIdentifier",
596
- "src": "1292:3:64"
596
+ "src": "1292:3:63"
597
597
  },
598
598
  "nodeType": "YulFunctionCall",
599
- "src": "1292:23:64"
599
+ "src": "1292:23:63"
600
600
  }
601
601
  ],
602
602
  "functionName": {
603
603
  "name": "mload",
604
604
  "nodeType": "YulIdentifier",
605
- "src": "1286:5:64"
605
+ "src": "1286:5:63"
606
606
  },
607
607
  "nodeType": "YulFunctionCall",
608
- "src": "1286:30:64"
608
+ "src": "1286:30:63"
609
609
  },
610
610
  "variableNames": [
611
611
  {
612
612
  "name": "errorCode",
613
613
  "nodeType": "YulIdentifier",
614
- "src": "1273:9:64"
614
+ "src": "1273:9:63"
615
615
  }
616
616
  ]
617
617
  },
618
618
  {
619
619
  "nodeType": "YulVariableDeclaration",
620
- "src": "1337:42:64",
620
+ "src": "1337:42:63",
621
621
  "value": {
622
622
  "arguments": [
623
623
  {
@@ -625,12 +625,12 @@
625
625
  {
626
626
  "name": "reason",
627
627
  "nodeType": "YulIdentifier",
628
- "src": "1365:6:64"
628
+ "src": "1365:6:63"
629
629
  },
630
630
  {
631
631
  "kind": "number",
632
632
  "nodeType": "YulLiteral",
633
- "src": "1373:4:64",
633
+ "src": "1373:4:63",
634
634
  "type": "",
635
635
  "value": "0x20"
636
636
  }
@@ -638,32 +638,32 @@
638
638
  "functionName": {
639
639
  "name": "add",
640
640
  "nodeType": "YulIdentifier",
641
- "src": "1361:3:64"
641
+ "src": "1361:3:63"
642
642
  },
643
643
  "nodeType": "YulFunctionCall",
644
- "src": "1361:17:64"
644
+ "src": "1361:17:63"
645
645
  }
646
646
  ],
647
647
  "functionName": {
648
648
  "name": "mload",
649
649
  "nodeType": "YulIdentifier",
650
- "src": "1355:5:64"
650
+ "src": "1355:5:63"
651
651
  },
652
652
  "nodeType": "YulFunctionCall",
653
- "src": "1355:24:64"
653
+ "src": "1355:24:63"
654
654
  },
655
655
  "variables": [
656
656
  {
657
657
  "name": "reasonWord",
658
658
  "nodeType": "YulTypedName",
659
- "src": "1341:10:64",
659
+ "src": "1341:10:63",
660
660
  "type": ""
661
661
  }
662
662
  ]
663
663
  },
664
664
  {
665
665
  "nodeType": "YulVariableDeclaration",
666
- "src": "1631:40:64",
666
+ "src": "1631:40:63",
667
667
  "value": {
668
668
  "arguments": [
669
669
  {
@@ -671,12 +671,12 @@
671
671
  {
672
672
  "name": "errorCode",
673
673
  "nodeType": "YulIdentifier",
674
- "src": "1649:9:64"
674
+ "src": "1649:9:63"
675
675
  },
676
676
  {
677
677
  "kind": "number",
678
678
  "nodeType": "YulLiteral",
679
- "src": "1660:3:64",
679
+ "src": "1660:3:63",
680
680
  "type": "",
681
681
  "value": "0xf"
682
682
  }
@@ -684,15 +684,15 @@
684
684
  "functionName": {
685
685
  "name": "and",
686
686
  "nodeType": "YulIdentifier",
687
- "src": "1645:3:64"
687
+ "src": "1645:3:63"
688
688
  },
689
689
  "nodeType": "YulFunctionCall",
690
- "src": "1645:19:64"
690
+ "src": "1645:19:63"
691
691
  },
692
692
  {
693
693
  "kind": "number",
694
694
  "nodeType": "YulLiteral",
695
- "src": "1666:4:64",
695
+ "src": "1666:4:63",
696
696
  "type": "",
697
697
  "value": "0x30"
698
698
  }
@@ -700,29 +700,29 @@
700
700
  "functionName": {
701
701
  "name": "add",
702
702
  "nodeType": "YulIdentifier",
703
- "src": "1641:3:64"
703
+ "src": "1641:3:63"
704
704
  },
705
705
  "nodeType": "YulFunctionCall",
706
- "src": "1641:30:64"
706
+ "src": "1641:30:63"
707
707
  },
708
708
  "variables": [
709
709
  {
710
710
  "name": "e1",
711
711
  "nodeType": "YulTypedName",
712
- "src": "1635:2:64",
712
+ "src": "1635:2:63",
713
713
  "type": ""
714
714
  }
715
715
  ]
716
716
  },
717
717
  {
718
718
  "nodeType": "YulVariableDeclaration",
719
- "src": "1692:57:64",
719
+ "src": "1692:57:63",
720
720
  "value": {
721
721
  "arguments": [
722
722
  {
723
723
  "kind": "number",
724
724
  "nodeType": "YulLiteral",
725
- "src": "1706:1:64",
725
+ "src": "1706:1:63",
726
726
  "type": "",
727
727
  "value": "8"
728
728
  },
@@ -733,7 +733,7 @@
733
733
  {
734
734
  "kind": "number",
735
735
  "nodeType": "YulLiteral",
736
- "src": "1717:1:64",
736
+ "src": "1717:1:63",
737
737
  "type": "",
738
738
  "value": "4"
739
739
  },
@@ -742,12 +742,12 @@
742
742
  {
743
743
  "name": "errorCode",
744
744
  "nodeType": "YulIdentifier",
745
- "src": "1724:9:64"
745
+ "src": "1724:9:63"
746
746
  },
747
747
  {
748
748
  "kind": "number",
749
749
  "nodeType": "YulLiteral",
750
- "src": "1735:4:64",
750
+ "src": "1735:4:63",
751
751
  "type": "",
752
752
  "value": "0xf0"
753
753
  }
@@ -755,24 +755,24 @@
755
755
  "functionName": {
756
756
  "name": "and",
757
757
  "nodeType": "YulIdentifier",
758
- "src": "1720:3:64"
758
+ "src": "1720:3:63"
759
759
  },
760
760
  "nodeType": "YulFunctionCall",
761
- "src": "1720:20:64"
761
+ "src": "1720:20:63"
762
762
  }
763
763
  ],
764
764
  "functionName": {
765
765
  "name": "shr",
766
766
  "nodeType": "YulIdentifier",
767
- "src": "1713:3:64"
767
+ "src": "1713:3:63"
768
768
  },
769
769
  "nodeType": "YulFunctionCall",
770
- "src": "1713:28:64"
770
+ "src": "1713:28:63"
771
771
  },
772
772
  {
773
773
  "kind": "number",
774
774
  "nodeType": "YulLiteral",
775
- "src": "1743:4:64",
775
+ "src": "1743:4:63",
776
776
  "type": "",
777
777
  "value": "0x30"
778
778
  }
@@ -780,32 +780,32 @@
780
780
  "functionName": {
781
781
  "name": "add",
782
782
  "nodeType": "YulIdentifier",
783
- "src": "1709:3:64"
783
+ "src": "1709:3:63"
784
784
  },
785
785
  "nodeType": "YulFunctionCall",
786
- "src": "1709:39:64"
786
+ "src": "1709:39:63"
787
787
  }
788
788
  ],
789
789
  "functionName": {
790
790
  "name": "shl",
791
791
  "nodeType": "YulIdentifier",
792
- "src": "1702:3:64"
792
+ "src": "1702:3:63"
793
793
  },
794
794
  "nodeType": "YulFunctionCall",
795
- "src": "1702:47:64"
795
+ "src": "1702:47:63"
796
796
  },
797
797
  "variables": [
798
798
  {
799
799
  "name": "e2",
800
800
  "nodeType": "YulTypedName",
801
- "src": "1696:2:64",
801
+ "src": "1696:2:63",
802
802
  "type": ""
803
803
  }
804
804
  ]
805
805
  },
806
806
  {
807
807
  "nodeType": "YulAssignment",
808
- "src": "1770:162:64",
808
+ "src": "1770:162:63",
809
809
  "value": {
810
810
  "arguments": [
811
811
  {
@@ -813,12 +813,12 @@
813
813
  {
814
814
  "name": "reasonWord",
815
815
  "nodeType": "YulIdentifier",
816
- "src": "1816:10:64"
816
+ "src": "1816:10:63"
817
817
  },
818
818
  {
819
819
  "kind": "number",
820
820
  "nodeType": "YulLiteral",
821
- "src": "1828:66:64",
821
+ "src": "1828:66:63",
822
822
  "type": "",
823
823
  "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000"
824
824
  }
@@ -826,46 +826,46 @@
826
826
  "functionName": {
827
827
  "name": "and",
828
828
  "nodeType": "YulIdentifier",
829
- "src": "1812:3:64"
829
+ "src": "1812:3:63"
830
830
  },
831
831
  "nodeType": "YulFunctionCall",
832
- "src": "1812:83:64"
832
+ "src": "1812:83:63"
833
833
  },
834
834
  {
835
835
  "arguments": [
836
836
  {
837
837
  "name": "e2",
838
838
  "nodeType": "YulIdentifier",
839
- "src": "1924:2:64"
839
+ "src": "1924:2:63"
840
840
  },
841
841
  {
842
842
  "name": "e1",
843
843
  "nodeType": "YulIdentifier",
844
- "src": "1928:2:64"
844
+ "src": "1928:2:63"
845
845
  }
846
846
  ],
847
847
  "functionName": {
848
848
  "name": "or",
849
849
  "nodeType": "YulIdentifier",
850
- "src": "1921:2:64"
850
+ "src": "1921:2:63"
851
851
  },
852
852
  "nodeType": "YulFunctionCall",
853
- "src": "1921:10:64"
853
+ "src": "1921:10:63"
854
854
  }
855
855
  ],
856
856
  "functionName": {
857
857
  "name": "or",
858
858
  "nodeType": "YulIdentifier",
859
- "src": "1784:2:64"
859
+ "src": "1784:2:63"
860
860
  },
861
861
  "nodeType": "YulFunctionCall",
862
- "src": "1784:148:64"
862
+ "src": "1784:148:63"
863
863
  },
864
864
  "variableNames": [
865
865
  {
866
866
  "name": "reasonWord",
867
867
  "nodeType": "YulIdentifier",
868
- "src": "1770:10:64"
868
+ "src": "1770:10:63"
869
869
  }
870
870
  ]
871
871
  },
@@ -877,12 +877,12 @@
877
877
  {
878
878
  "name": "reason",
879
879
  "nodeType": "YulIdentifier",
880
- "src": "1964:6:64"
880
+ "src": "1964:6:63"
881
881
  },
882
882
  {
883
883
  "kind": "number",
884
884
  "nodeType": "YulLiteral",
885
- "src": "1972:4:64",
885
+ "src": "1972:4:63",
886
886
  "type": "",
887
887
  "value": "0x20"
888
888
  }
@@ -890,89 +890,89 @@
890
890
  "functionName": {
891
891
  "name": "add",
892
892
  "nodeType": "YulIdentifier",
893
- "src": "1960:3:64"
893
+ "src": "1960:3:63"
894
894
  },
895
895
  "nodeType": "YulFunctionCall",
896
- "src": "1960:17:64"
896
+ "src": "1960:17:63"
897
897
  },
898
898
  {
899
899
  "name": "reasonWord",
900
900
  "nodeType": "YulIdentifier",
901
- "src": "1979:10:64"
901
+ "src": "1979:10:63"
902
902
  }
903
903
  ],
904
904
  "functionName": {
905
905
  "name": "mstore",
906
906
  "nodeType": "YulIdentifier",
907
- "src": "1953:6:64"
907
+ "src": "1953:6:63"
908
908
  },
909
909
  "nodeType": "YulFunctionCall",
910
- "src": "1953:37:64"
910
+ "src": "1953:37:63"
911
911
  },
912
912
  "nodeType": "YulExpressionStatement",
913
- "src": "1953:37:64"
913
+ "src": "1953:37:63"
914
914
  }
915
915
  ]
916
916
  },
917
917
  "evmVersion": "london",
918
918
  "externalReferences": [
919
919
  {
920
- "declaration": 19890,
920
+ "declaration": 19668,
921
921
  "isOffset": false,
922
922
  "isSlot": false,
923
- "src": "1273:9:64",
923
+ "src": "1273:9:63",
924
924
  "valueSize": 1
925
925
  },
926
926
  {
927
- "declaration": 19890,
927
+ "declaration": 19668,
928
928
  "isOffset": false,
929
929
  "isSlot": false,
930
- "src": "1649:9:64",
930
+ "src": "1649:9:63",
931
931
  "valueSize": 1
932
932
  },
933
933
  {
934
- "declaration": 19890,
934
+ "declaration": 19668,
935
935
  "isOffset": false,
936
936
  "isSlot": false,
937
- "src": "1724:9:64",
937
+ "src": "1724:9:63",
938
938
  "valueSize": 1
939
939
  },
940
940
  {
941
- "declaration": 19886,
941
+ "declaration": 19664,
942
942
  "isOffset": false,
943
943
  "isSlot": false,
944
- "src": "1365:6:64",
944
+ "src": "1365:6:63",
945
945
  "valueSize": 1
946
946
  },
947
947
  {
948
- "declaration": 19886,
948
+ "declaration": 19664,
949
949
  "isOffset": false,
950
950
  "isSlot": false,
951
- "src": "1964:6:64",
951
+ "src": "1964:6:63",
952
952
  "valueSize": 1
953
953
  },
954
954
  {
955
- "declaration": 19863,
955
+ "declaration": 19641,
956
956
  "isOffset": false,
957
957
  "isSlot": false,
958
- "src": "1296:12:64",
958
+ "src": "1296:12:63",
959
959
  "valueSize": 1
960
960
  }
961
961
  ],
962
- "id": 19892,
962
+ "id": 19670,
963
963
  "nodeType": "InlineAssembly",
964
- "src": "1242:766:64"
964
+ "src": "1242:766:63"
965
965
  },
966
966
  {
967
967
  "expression": {
968
968
  "arguments": [
969
969
  {
970
- "id": 19894,
970
+ "id": 19672,
971
971
  "name": "reason",
972
972
  "nodeType": "Identifier",
973
973
  "overloadedDeclarations": [],
974
- "referencedDeclaration": 19886,
975
- "src": "2032:6:64",
974
+ "referencedDeclaration": 19664,
975
+ "src": "2032:6:63",
976
976
  "typeDescriptions": {
977
977
  "typeIdentifier": "t_string_memory_ptr",
978
978
  "typeString": "string memory"
@@ -986,7 +986,7 @@
986
986
  "typeString": "string memory"
987
987
  }
988
988
  ],
989
- "id": 19893,
989
+ "id": 19671,
990
990
  "name": "revert",
991
991
  "nodeType": "Identifier",
992
992
  "overloadedDeclarations": [
@@ -994,13 +994,13 @@
994
994
  4294967277
995
995
  ],
996
996
  "referencedDeclaration": 4294967277,
997
- "src": "2025:6:64",
997
+ "src": "2025:6:63",
998
998
  "typeDescriptions": {
999
999
  "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$",
1000
1000
  "typeString": "function (string memory) pure"
1001
1001
  }
1002
1002
  },
1003
- "id": 19895,
1003
+ "id": 19673,
1004
1004
  "isConstant": false,
1005
1005
  "isLValue": false,
1006
1006
  "isPure": false,
@@ -1008,43 +1008,43 @@
1008
1008
  "lValueRequested": false,
1009
1009
  "names": [],
1010
1010
  "nodeType": "FunctionCall",
1011
- "src": "2025:14:64",
1011
+ "src": "2025:14:63",
1012
1012
  "tryCall": false,
1013
1013
  "typeDescriptions": {
1014
1014
  "typeIdentifier": "t_tuple$__$",
1015
1015
  "typeString": "tuple()"
1016
1016
  }
1017
1017
  },
1018
- "id": 19896,
1018
+ "id": 19674,
1019
1019
  "nodeType": "ExpressionStatement",
1020
- "src": "2025:14:64"
1020
+ "src": "2025:14:63"
1021
1021
  }
1022
1022
  ]
1023
1023
  }
1024
1024
  }
1025
1025
  ]
1026
1026
  },
1027
- "id": 19907,
1027
+ "id": 19685,
1028
1028
  "nodeType": "IfStatement",
1029
- "src": "511:1857:64",
1029
+ "src": "511:1857:63",
1030
1030
  "trueBody": {
1031
- "id": 19874,
1031
+ "id": 19652,
1032
1032
  "nodeType": "Block",
1033
- "src": "540:94:64",
1033
+ "src": "540:94:63",
1034
1034
  "statements": [
1035
1035
  {
1036
1036
  "expression": {
1037
1037
  "arguments": [
1038
1038
  {
1039
1039
  "hexValue": "43616c6c5574696c733a20746172676574207265766572742829",
1040
- "id": 19871,
1040
+ "id": 19649,
1041
1041
  "isConstant": false,
1042
1042
  "isLValue": false,
1043
1043
  "isPure": true,
1044
1044
  "kind": "string",
1045
1045
  "lValueRequested": false,
1046
1046
  "nodeType": "Literal",
1047
- "src": "594:28:64",
1047
+ "src": "594:28:63",
1048
1048
  "typeDescriptions": {
1049
1049
  "typeIdentifier": "t_stringliteral_c77ade069c0509e15b248352ace039e1cbcca51c85f55f56b24a1b614712c500",
1050
1050
  "typeString": "literal_string \"CallUtils: target revert()\""
@@ -1059,7 +1059,7 @@
1059
1059
  "typeString": "literal_string \"CallUtils: target revert()\""
1060
1060
  }
1061
1061
  ],
1062
- "id": 19870,
1062
+ "id": 19648,
1063
1063
  "name": "revert",
1064
1064
  "nodeType": "Identifier",
1065
1065
  "overloadedDeclarations": [
@@ -1067,13 +1067,13 @@
1067
1067
  4294967277
1068
1068
  ],
1069
1069
  "referencedDeclaration": 4294967277,
1070
- "src": "587:6:64",
1070
+ "src": "587:6:63",
1071
1071
  "typeDescriptions": {
1072
1072
  "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$",
1073
1073
  "typeString": "function (string memory) pure"
1074
1074
  }
1075
1075
  },
1076
- "id": 19872,
1076
+ "id": 19650,
1077
1077
  "isConstant": false,
1078
1078
  "isLValue": false,
1079
1079
  "isPure": false,
@@ -1081,16 +1081,16 @@
1081
1081
  "lValueRequested": false,
1082
1082
  "names": [],
1083
1083
  "nodeType": "FunctionCall",
1084
- "src": "587:36:64",
1084
+ "src": "587:36:63",
1085
1085
  "tryCall": false,
1086
1086
  "typeDescriptions": {
1087
1087
  "typeIdentifier": "t_tuple$__$",
1088
1088
  "typeString": "tuple()"
1089
1089
  }
1090
1090
  },
1091
- "id": 19873,
1091
+ "id": 19651,
1092
1092
  "nodeType": "ExpressionStatement",
1093
- "src": "587:36:64"
1093
+ "src": "587:36:63"
1094
1094
  }
1095
1095
  ]
1096
1096
  }
@@ -1098,31 +1098,31 @@
1098
1098
  ]
1099
1099
  },
1100
1100
  "documentation": {
1101
- "id": 19861,
1101
+ "id": 19639,
1102
1102
  "nodeType": "StructuredDocumentation",
1103
- "src": "185:238:64",
1103
+ "src": "185:238:63",
1104
1104
  "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"
1105
1105
  },
1106
- "id": 19909,
1106
+ "id": 19687,
1107
1107
  "implemented": true,
1108
1108
  "kind": "function",
1109
1109
  "modifiers": [],
1110
1110
  "name": "revertFromReturnedData",
1111
- "nameLocation": "437:22:64",
1111
+ "nameLocation": "437:22:63",
1112
1112
  "nodeType": "FunctionDefinition",
1113
1113
  "parameters": {
1114
- "id": 19864,
1114
+ "id": 19642,
1115
1115
  "nodeType": "ParameterList",
1116
1116
  "parameters": [
1117
1117
  {
1118
1118
  "constant": false,
1119
- "id": 19863,
1119
+ "id": 19641,
1120
1120
  "mutability": "mutable",
1121
1121
  "name": "returnedData",
1122
- "nameLocation": "473:12:64",
1122
+ "nameLocation": "473:12:63",
1123
1123
  "nodeType": "VariableDeclaration",
1124
- "scope": 19909,
1125
- "src": "460:25:64",
1124
+ "scope": 19687,
1125
+ "src": "460:25:63",
1126
1126
  "stateVariable": false,
1127
1127
  "storageLocation": "memory",
1128
1128
  "typeDescriptions": {
@@ -1130,10 +1130,10 @@
1130
1130
  "typeString": "bytes"
1131
1131
  },
1132
1132
  "typeName": {
1133
- "id": 19862,
1133
+ "id": 19640,
1134
1134
  "name": "bytes",
1135
1135
  "nodeType": "ElementaryTypeName",
1136
- "src": "460:5:64",
1136
+ "src": "460:5:63",
1137
1137
  "typeDescriptions": {
1138
1138
  "typeIdentifier": "t_bytes_storage_ptr",
1139
1139
  "typeString": "bytes"
@@ -1142,25 +1142,25 @@
1142
1142
  "visibility": "internal"
1143
1143
  }
1144
1144
  ],
1145
- "src": "459:27:64"
1145
+ "src": "459:27:63"
1146
1146
  },
1147
1147
  "returnParameters": {
1148
- "id": 19865,
1148
+ "id": 19643,
1149
1149
  "nodeType": "ParameterList",
1150
1150
  "parameters": [],
1151
- "src": "501:0:64"
1151
+ "src": "501:0:63"
1152
1152
  },
1153
- "scope": 19996,
1154
- "src": "428:1946:64",
1153
+ "scope": 19774,
1154
+ "src": "428:1946:63",
1155
1155
  "stateMutability": "pure",
1156
1156
  "virtual": false,
1157
1157
  "visibility": "internal"
1158
1158
  },
1159
1159
  {
1160
1160
  "body": {
1161
- "id": 19926,
1161
+ "id": 19704,
1162
1162
  "nodeType": "Block",
1163
- "src": "2699:213:64",
1163
+ "src": "2699:213:63",
1164
1164
  "statements": [
1165
1165
  {
1166
1166
  "expression": {
@@ -1170,32 +1170,32 @@
1170
1170
  "typeIdentifier": "t_uint256",
1171
1171
  "typeString": "uint256"
1172
1172
  },
1173
- "id": 19921,
1173
+ "id": 19699,
1174
1174
  "isConstant": false,
1175
1175
  "isLValue": false,
1176
1176
  "isPure": false,
1177
1177
  "lValueRequested": false,
1178
1178
  "leftExpression": {
1179
1179
  "expression": {
1180
- "id": 19918,
1180
+ "id": 19696,
1181
1181
  "name": "callData",
1182
1182
  "nodeType": "Identifier",
1183
1183
  "overloadedDeclarations": [],
1184
- "referencedDeclaration": 19912,
1185
- "src": "2717:8:64",
1184
+ "referencedDeclaration": 19690,
1185
+ "src": "2717:8:63",
1186
1186
  "typeDescriptions": {
1187
1187
  "typeIdentifier": "t_bytes_memory_ptr",
1188
1188
  "typeString": "bytes memory"
1189
1189
  }
1190
1190
  },
1191
- "id": 19919,
1191
+ "id": 19697,
1192
1192
  "isConstant": false,
1193
1193
  "isLValue": false,
1194
1194
  "isPure": false,
1195
1195
  "lValueRequested": false,
1196
1196
  "memberName": "length",
1197
1197
  "nodeType": "MemberAccess",
1198
- "src": "2717:15:64",
1198
+ "src": "2717:15:63",
1199
1199
  "typeDescriptions": {
1200
1200
  "typeIdentifier": "t_uint256",
1201
1201
  "typeString": "uint256"
@@ -1205,21 +1205,21 @@
1205
1205
  "operator": ">=",
1206
1206
  "rightExpression": {
1207
1207
  "hexValue": "34",
1208
- "id": 19920,
1208
+ "id": 19698,
1209
1209
  "isConstant": false,
1210
1210
  "isLValue": false,
1211
1211
  "isPure": true,
1212
1212
  "kind": "number",
1213
1213
  "lValueRequested": false,
1214
1214
  "nodeType": "Literal",
1215
- "src": "2736:1:64",
1215
+ "src": "2736:1:63",
1216
1216
  "typeDescriptions": {
1217
1217
  "typeIdentifier": "t_rational_4_by_1",
1218
1218
  "typeString": "int_const 4"
1219
1219
  },
1220
1220
  "value": "4"
1221
1221
  },
1222
- "src": "2717:20:64",
1222
+ "src": "2717:20:63",
1223
1223
  "typeDescriptions": {
1224
1224
  "typeIdentifier": "t_bool",
1225
1225
  "typeString": "bool"
@@ -1227,14 +1227,14 @@
1227
1227
  },
1228
1228
  {
1229
1229
  "hexValue": "43616c6c5574696c733a20696e76616c69642063616c6c44617461",
1230
- "id": 19922,
1230
+ "id": 19700,
1231
1231
  "isConstant": false,
1232
1232
  "isLValue": false,
1233
1233
  "isPure": true,
1234
1234
  "kind": "string",
1235
1235
  "lValueRequested": false,
1236
1236
  "nodeType": "Literal",
1237
- "src": "2739:29:64",
1237
+ "src": "2739:29:63",
1238
1238
  "typeDescriptions": {
1239
1239
  "typeIdentifier": "t_stringliteral_474806e8b356dc9d2561391860c4051bc56a679db49137bf346f7c31984da9de",
1240
1240
  "typeString": "literal_string \"CallUtils: invalid callData\""
@@ -1253,7 +1253,7 @@
1253
1253
  "typeString": "literal_string \"CallUtils: invalid callData\""
1254
1254
  }
1255
1255
  ],
1256
- "id": 19917,
1256
+ "id": 19695,
1257
1257
  "name": "require",
1258
1258
  "nodeType": "Identifier",
1259
1259
  "overloadedDeclarations": [
@@ -1261,13 +1261,13 @@
1261
1261
  4294967278
1262
1262
  ],
1263
1263
  "referencedDeclaration": 4294967278,
1264
- "src": "2709:7:64",
1264
+ "src": "2709:7:63",
1265
1265
  "typeDescriptions": {
1266
1266
  "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
1267
1267
  "typeString": "function (bool,string memory) pure"
1268
1268
  }
1269
1269
  },
1270
- "id": 19923,
1270
+ "id": 19701,
1271
1271
  "isConstant": false,
1272
1272
  "isLValue": false,
1273
1273
  "isPure": false,
@@ -1275,25 +1275,25 @@
1275
1275
  "lValueRequested": false,
1276
1276
  "names": [],
1277
1277
  "nodeType": "FunctionCall",
1278
- "src": "2709:60:64",
1278
+ "src": "2709:60:63",
1279
1279
  "tryCall": false,
1280
1280
  "typeDescriptions": {
1281
1281
  "typeIdentifier": "t_tuple$__$",
1282
1282
  "typeString": "tuple()"
1283
1283
  }
1284
1284
  },
1285
- "id": 19924,
1285
+ "id": 19702,
1286
1286
  "nodeType": "ExpressionStatement",
1287
- "src": "2709:60:64"
1287
+ "src": "2709:60:63"
1288
1288
  },
1289
1289
  {
1290
1290
  "AST": {
1291
1291
  "nodeType": "YulBlock",
1292
- "src": "2844:62:64",
1292
+ "src": "2844:62:63",
1293
1293
  "statements": [
1294
1294
  {
1295
1295
  "nodeType": "YulAssignment",
1296
- "src": "2858:38:64",
1296
+ "src": "2858:38:63",
1297
1297
  "value": {
1298
1298
  "arguments": [
1299
1299
  {
@@ -1301,12 +1301,12 @@
1301
1301
  {
1302
1302
  "name": "callData",
1303
1303
  "nodeType": "YulIdentifier",
1304
- "src": "2880:8:64"
1304
+ "src": "2880:8:63"
1305
1305
  },
1306
1306
  {
1307
1307
  "kind": "number",
1308
1308
  "nodeType": "YulLiteral",
1309
- "src": "2890:4:64",
1309
+ "src": "2890:4:63",
1310
1310
  "type": "",
1311
1311
  "value": "0x20"
1312
1312
  }
@@ -1314,25 +1314,25 @@
1314
1314
  "functionName": {
1315
1315
  "name": "add",
1316
1316
  "nodeType": "YulIdentifier",
1317
- "src": "2876:3:64"
1317
+ "src": "2876:3:63"
1318
1318
  },
1319
1319
  "nodeType": "YulFunctionCall",
1320
- "src": "2876:19:64"
1320
+ "src": "2876:19:63"
1321
1321
  }
1322
1322
  ],
1323
1323
  "functionName": {
1324
1324
  "name": "mload",
1325
1325
  "nodeType": "YulIdentifier",
1326
- "src": "2870:5:64"
1326
+ "src": "2870:5:63"
1327
1327
  },
1328
1328
  "nodeType": "YulFunctionCall",
1329
- "src": "2870:26:64"
1329
+ "src": "2870:26:63"
1330
1330
  },
1331
1331
  "variableNames": [
1332
1332
  {
1333
1333
  "name": "selector",
1334
1334
  "nodeType": "YulIdentifier",
1335
- "src": "2858:8:64"
1335
+ "src": "2858:8:63"
1336
1336
  }
1337
1337
  ]
1338
1338
  }
@@ -1341,52 +1341,52 @@
1341
1341
  "evmVersion": "london",
1342
1342
  "externalReferences": [
1343
1343
  {
1344
- "declaration": 19912,
1344
+ "declaration": 19690,
1345
1345
  "isOffset": false,
1346
1346
  "isSlot": false,
1347
- "src": "2880:8:64",
1347
+ "src": "2880:8:63",
1348
1348
  "valueSize": 1
1349
1349
  },
1350
1350
  {
1351
- "declaration": 19915,
1351
+ "declaration": 19693,
1352
1352
  "isOffset": false,
1353
1353
  "isSlot": false,
1354
- "src": "2858:8:64",
1354
+ "src": "2858:8:63",
1355
1355
  "valueSize": 1
1356
1356
  }
1357
1357
  ],
1358
- "id": 19925,
1358
+ "id": 19703,
1359
1359
  "nodeType": "InlineAssembly",
1360
- "src": "2835:71:64"
1360
+ "src": "2835:71:63"
1361
1361
  }
1362
1362
  ]
1363
1363
  },
1364
1364
  "documentation": {
1365
- "id": 19910,
1365
+ "id": 19688,
1366
1366
  "nodeType": "StructuredDocumentation",
1367
- "src": "2380:228:64",
1367
+ "src": "2380:228:63",
1368
1368
  "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"
1369
1369
  },
1370
- "id": 19927,
1370
+ "id": 19705,
1371
1371
  "implemented": true,
1372
1372
  "kind": "function",
1373
1373
  "modifiers": [],
1374
1374
  "name": "parseSelector",
1375
- "nameLocation": "2622:13:64",
1375
+ "nameLocation": "2622:13:63",
1376
1376
  "nodeType": "FunctionDefinition",
1377
1377
  "parameters": {
1378
- "id": 19913,
1378
+ "id": 19691,
1379
1379
  "nodeType": "ParameterList",
1380
1380
  "parameters": [
1381
1381
  {
1382
1382
  "constant": false,
1383
- "id": 19912,
1383
+ "id": 19690,
1384
1384
  "mutability": "mutable",
1385
1385
  "name": "callData",
1386
- "nameLocation": "2649:8:64",
1386
+ "nameLocation": "2649:8:63",
1387
1387
  "nodeType": "VariableDeclaration",
1388
- "scope": 19927,
1389
- "src": "2636:21:64",
1388
+ "scope": 19705,
1389
+ "src": "2636:21:63",
1390
1390
  "stateVariable": false,
1391
1391
  "storageLocation": "memory",
1392
1392
  "typeDescriptions": {
@@ -1394,10 +1394,10 @@
1394
1394
  "typeString": "bytes"
1395
1395
  },
1396
1396
  "typeName": {
1397
- "id": 19911,
1397
+ "id": 19689,
1398
1398
  "name": "bytes",
1399
1399
  "nodeType": "ElementaryTypeName",
1400
- "src": "2636:5:64",
1400
+ "src": "2636:5:63",
1401
1401
  "typeDescriptions": {
1402
1402
  "typeIdentifier": "t_bytes_storage_ptr",
1403
1403
  "typeString": "bytes"
@@ -1406,21 +1406,21 @@
1406
1406
  "visibility": "internal"
1407
1407
  }
1408
1408
  ],
1409
- "src": "2635:23:64"
1409
+ "src": "2635:23:63"
1410
1410
  },
1411
1411
  "returnParameters": {
1412
- "id": 19916,
1412
+ "id": 19694,
1413
1413
  "nodeType": "ParameterList",
1414
1414
  "parameters": [
1415
1415
  {
1416
1416
  "constant": false,
1417
- "id": 19915,
1417
+ "id": 19693,
1418
1418
  "mutability": "mutable",
1419
1419
  "name": "selector",
1420
- "nameLocation": "2689:8:64",
1420
+ "nameLocation": "2689:8:63",
1421
1421
  "nodeType": "VariableDeclaration",
1422
- "scope": 19927,
1423
- "src": "2682:15:64",
1422
+ "scope": 19705,
1423
+ "src": "2682:15:63",
1424
1424
  "stateVariable": false,
1425
1425
  "storageLocation": "default",
1426
1426
  "typeDescriptions": {
@@ -1428,10 +1428,10 @@
1428
1428
  "typeString": "bytes4"
1429
1429
  },
1430
1430
  "typeName": {
1431
- "id": 19914,
1431
+ "id": 19692,
1432
1432
  "name": "bytes4",
1433
1433
  "nodeType": "ElementaryTypeName",
1434
- "src": "2682:6:64",
1434
+ "src": "2682:6:63",
1435
1435
  "typeDescriptions": {
1436
1436
  "typeIdentifier": "t_bytes4",
1437
1437
  "typeString": "bytes4"
@@ -1440,19 +1440,19 @@
1440
1440
  "visibility": "internal"
1441
1441
  }
1442
1442
  ],
1443
- "src": "2681:17:64"
1443
+ "src": "2681:17:63"
1444
1444
  },
1445
- "scope": 19996,
1446
- "src": "2613:299:64",
1445
+ "scope": 19774,
1446
+ "src": "2613:299:63",
1447
1447
  "stateMutability": "pure",
1448
1448
  "virtual": false,
1449
1449
  "visibility": "internal"
1450
1450
  },
1451
1451
  {
1452
1452
  "body": {
1453
- "id": 19955,
1453
+ "id": 19733,
1454
1454
  "nodeType": "Block",
1455
- "src": "3059:87:64",
1455
+ "src": "3059:87:63",
1456
1456
  "statements": [
1457
1457
  {
1458
1458
  "expression": {
@@ -1460,7 +1460,7 @@
1460
1460
  "typeIdentifier": "t_uint256",
1461
1461
  "typeString": "uint256"
1462
1462
  },
1463
- "id": 19953,
1463
+ "id": 19731,
1464
1464
  "isConstant": false,
1465
1465
  "isLValue": false,
1466
1466
  "isPure": false,
@@ -1472,7 +1472,7 @@
1472
1472
  "typeIdentifier": "t_uint256",
1473
1473
  "typeString": "uint256"
1474
1474
  },
1475
- "id": 19950,
1475
+ "id": 19728,
1476
1476
  "isConstant": false,
1477
1477
  "isLValue": false,
1478
1478
  "isPure": false,
@@ -1484,18 +1484,18 @@
1484
1484
  "typeIdentifier": "t_uint256",
1485
1485
  "typeString": "uint256"
1486
1486
  },
1487
- "id": 19937,
1487
+ "id": 19715,
1488
1488
  "isConstant": false,
1489
1489
  "isLValue": false,
1490
1490
  "isPure": false,
1491
1491
  "lValueRequested": false,
1492
1492
  "leftExpression": {
1493
- "id": 19935,
1493
+ "id": 19713,
1494
1494
  "name": "len",
1495
1495
  "nodeType": "Identifier",
1496
1496
  "overloadedDeclarations": [],
1497
- "referencedDeclaration": 19930,
1498
- "src": "3078:3:64",
1497
+ "referencedDeclaration": 19708,
1498
+ "src": "3078:3:63",
1499
1499
  "typeDescriptions": {
1500
1500
  "typeIdentifier": "t_uint256",
1501
1501
  "typeString": "uint256"
@@ -1505,35 +1505,35 @@
1505
1505
  "operator": "/",
1506
1506
  "rightExpression": {
1507
1507
  "hexValue": "3332",
1508
- "id": 19936,
1508
+ "id": 19714,
1509
1509
  "isConstant": false,
1510
1510
  "isLValue": false,
1511
1511
  "isPure": true,
1512
1512
  "kind": "number",
1513
1513
  "lValueRequested": false,
1514
1514
  "nodeType": "Literal",
1515
- "src": "3084:2:64",
1515
+ "src": "3084:2:63",
1516
1516
  "typeDescriptions": {
1517
1517
  "typeIdentifier": "t_rational_32_by_1",
1518
1518
  "typeString": "int_const 32"
1519
1519
  },
1520
1520
  "value": "32"
1521
1521
  },
1522
- "src": "3078:8:64",
1522
+ "src": "3078:8:63",
1523
1523
  "typeDescriptions": {
1524
1524
  "typeIdentifier": "t_uint256",
1525
1525
  "typeString": "uint256"
1526
1526
  }
1527
1527
  }
1528
1528
  ],
1529
- "id": 19938,
1529
+ "id": 19716,
1530
1530
  "isConstant": false,
1531
1531
  "isInlineArray": false,
1532
1532
  "isLValue": false,
1533
1533
  "isPure": false,
1534
1534
  "lValueRequested": false,
1535
1535
  "nodeType": "TupleExpression",
1536
- "src": "3077:10:64",
1536
+ "src": "3077:10:63",
1537
1537
  "typeDescriptions": {
1538
1538
  "typeIdentifier": "t_uint256",
1539
1539
  "typeString": "uint256"
@@ -1551,7 +1551,7 @@
1551
1551
  "typeIdentifier": "t_uint256",
1552
1552
  "typeString": "uint256"
1553
1553
  },
1554
- "id": 19944,
1554
+ "id": 19722,
1555
1555
  "isConstant": false,
1556
1556
  "isLValue": false,
1557
1557
  "isPure": false,
@@ -1563,18 +1563,18 @@
1563
1563
  "typeIdentifier": "t_uint256",
1564
1564
  "typeString": "uint256"
1565
1565
  },
1566
- "id": 19941,
1566
+ "id": 19719,
1567
1567
  "isConstant": false,
1568
1568
  "isLValue": false,
1569
1569
  "isPure": false,
1570
1570
  "lValueRequested": false,
1571
1571
  "leftExpression": {
1572
- "id": 19939,
1572
+ "id": 19717,
1573
1573
  "name": "len",
1574
1574
  "nodeType": "Identifier",
1575
1575
  "overloadedDeclarations": [],
1576
- "referencedDeclaration": 19930,
1577
- "src": "3094:3:64",
1576
+ "referencedDeclaration": 19708,
1577
+ "src": "3094:3:63",
1578
1578
  "typeDescriptions": {
1579
1579
  "typeIdentifier": "t_uint256",
1580
1580
  "typeString": "uint256"
@@ -1584,35 +1584,35 @@
1584
1584
  "operator": "&",
1585
1585
  "rightExpression": {
1586
1586
  "hexValue": "3331",
1587
- "id": 19940,
1587
+ "id": 19718,
1588
1588
  "isConstant": false,
1589
1589
  "isLValue": false,
1590
1590
  "isPure": true,
1591
1591
  "kind": "number",
1592
1592
  "lValueRequested": false,
1593
1593
  "nodeType": "Literal",
1594
- "src": "3100:2:64",
1594
+ "src": "3100:2:63",
1595
1595
  "typeDescriptions": {
1596
1596
  "typeIdentifier": "t_rational_31_by_1",
1597
1597
  "typeString": "int_const 31"
1598
1598
  },
1599
1599
  "value": "31"
1600
1600
  },
1601
- "src": "3094:8:64",
1601
+ "src": "3094:8:63",
1602
1602
  "typeDescriptions": {
1603
1603
  "typeIdentifier": "t_uint256",
1604
1604
  "typeString": "uint256"
1605
1605
  }
1606
1606
  }
1607
1607
  ],
1608
- "id": 19942,
1608
+ "id": 19720,
1609
1609
  "isConstant": false,
1610
1610
  "isInlineArray": false,
1611
1611
  "isLValue": false,
1612
1612
  "isPure": false,
1613
1613
  "lValueRequested": false,
1614
1614
  "nodeType": "TupleExpression",
1615
- "src": "3093:10:64",
1615
+ "src": "3093:10:63",
1616
1616
  "typeDescriptions": {
1617
1617
  "typeIdentifier": "t_uint256",
1618
1618
  "typeString": "uint256"
@@ -1622,35 +1622,35 @@
1622
1622
  "operator": ">",
1623
1623
  "rightExpression": {
1624
1624
  "hexValue": "30",
1625
- "id": 19943,
1625
+ "id": 19721,
1626
1626
  "isConstant": false,
1627
1627
  "isLValue": false,
1628
1628
  "isPure": true,
1629
1629
  "kind": "number",
1630
1630
  "lValueRequested": false,
1631
1631
  "nodeType": "Literal",
1632
- "src": "3106:1:64",
1632
+ "src": "3106:1:63",
1633
1633
  "typeDescriptions": {
1634
1634
  "typeIdentifier": "t_rational_0_by_1",
1635
1635
  "typeString": "int_const 0"
1636
1636
  },
1637
1637
  "value": "0"
1638
1638
  },
1639
- "src": "3093:14:64",
1639
+ "src": "3093:14:63",
1640
1640
  "typeDescriptions": {
1641
1641
  "typeIdentifier": "t_bool",
1642
1642
  "typeString": "bool"
1643
1643
  }
1644
1644
  }
1645
1645
  ],
1646
- "id": 19945,
1646
+ "id": 19723,
1647
1647
  "isConstant": false,
1648
1648
  "isInlineArray": false,
1649
1649
  "isLValue": false,
1650
1650
  "isPure": false,
1651
1651
  "lValueRequested": false,
1652
1652
  "nodeType": "TupleExpression",
1653
- "src": "3092:16:64",
1653
+ "src": "3092:16:63",
1654
1654
  "typeDescriptions": {
1655
1655
  "typeIdentifier": "t_bool",
1656
1656
  "typeString": "bool"
@@ -1658,37 +1658,37 @@
1658
1658
  },
1659
1659
  "falseExpression": {
1660
1660
  "hexValue": "30",
1661
- "id": 19947,
1661
+ "id": 19725,
1662
1662
  "isConstant": false,
1663
1663
  "isLValue": false,
1664
1664
  "isPure": true,
1665
1665
  "kind": "number",
1666
1666
  "lValueRequested": false,
1667
1667
  "nodeType": "Literal",
1668
- "src": "3131:1:64",
1668
+ "src": "3131:1:63",
1669
1669
  "typeDescriptions": {
1670
1670
  "typeIdentifier": "t_rational_0_by_1",
1671
1671
  "typeString": "int_const 0"
1672
1672
  },
1673
1673
  "value": "0"
1674
1674
  },
1675
- "id": 19948,
1675
+ "id": 19726,
1676
1676
  "isConstant": false,
1677
1677
  "isLValue": false,
1678
1678
  "isPure": false,
1679
1679
  "lValueRequested": false,
1680
1680
  "nodeType": "Conditional",
1681
- "src": "3092:40:64",
1681
+ "src": "3092:40:63",
1682
1682
  "trueExpression": {
1683
1683
  "hexValue": "31",
1684
- "id": 19946,
1684
+ "id": 19724,
1685
1685
  "isConstant": false,
1686
1686
  "isLValue": false,
1687
1687
  "isPure": true,
1688
1688
  "kind": "number",
1689
1689
  "lValueRequested": false,
1690
1690
  "nodeType": "Literal",
1691
- "src": "3127:1:64",
1691
+ "src": "3127:1:63",
1692
1692
  "typeDescriptions": {
1693
1693
  "typeIdentifier": "t_rational_1_by_1",
1694
1694
  "typeString": "int_const 1"
@@ -1701,34 +1701,34 @@
1701
1701
  }
1702
1702
  }
1703
1703
  ],
1704
- "id": 19949,
1704
+ "id": 19727,
1705
1705
  "isConstant": false,
1706
1706
  "isInlineArray": false,
1707
1707
  "isLValue": false,
1708
1708
  "isPure": false,
1709
1709
  "lValueRequested": false,
1710
1710
  "nodeType": "TupleExpression",
1711
- "src": "3091:42:64",
1711
+ "src": "3091:42:63",
1712
1712
  "typeDescriptions": {
1713
1713
  "typeIdentifier": "t_uint8",
1714
1714
  "typeString": "uint8"
1715
1715
  }
1716
1716
  },
1717
- "src": "3077:56:64",
1717
+ "src": "3077:56:63",
1718
1718
  "typeDescriptions": {
1719
1719
  "typeIdentifier": "t_uint256",
1720
1720
  "typeString": "uint256"
1721
1721
  }
1722
1722
  }
1723
1723
  ],
1724
- "id": 19951,
1724
+ "id": 19729,
1725
1725
  "isConstant": false,
1726
1726
  "isInlineArray": false,
1727
1727
  "isLValue": false,
1728
1728
  "isPure": false,
1729
1729
  "lValueRequested": false,
1730
1730
  "nodeType": "TupleExpression",
1731
- "src": "3076:58:64",
1731
+ "src": "3076:58:63",
1732
1732
  "typeDescriptions": {
1733
1733
  "typeIdentifier": "t_uint256",
1734
1734
  "typeString": "uint256"
@@ -1738,59 +1738,59 @@
1738
1738
  "operator": "*",
1739
1739
  "rightExpression": {
1740
1740
  "hexValue": "3332",
1741
- "id": 19952,
1741
+ "id": 19730,
1742
1742
  "isConstant": false,
1743
1743
  "isLValue": false,
1744
1744
  "isPure": true,
1745
1745
  "kind": "number",
1746
1746
  "lValueRequested": false,
1747
1747
  "nodeType": "Literal",
1748
- "src": "3137:2:64",
1748
+ "src": "3137:2:63",
1749
1749
  "typeDescriptions": {
1750
1750
  "typeIdentifier": "t_rational_32_by_1",
1751
1751
  "typeString": "int_const 32"
1752
1752
  },
1753
1753
  "value": "32"
1754
1754
  },
1755
- "src": "3076:63:64",
1755
+ "src": "3076:63:63",
1756
1756
  "typeDescriptions": {
1757
1757
  "typeIdentifier": "t_uint256",
1758
1758
  "typeString": "uint256"
1759
1759
  }
1760
1760
  },
1761
- "functionReturnParameters": 19934,
1762
- "id": 19954,
1761
+ "functionReturnParameters": 19712,
1762
+ "id": 19732,
1763
1763
  "nodeType": "Return",
1764
- "src": "3069:70:64"
1764
+ "src": "3069:70:63"
1765
1765
  }
1766
1766
  ]
1767
1767
  },
1768
1768
  "documentation": {
1769
- "id": 19928,
1769
+ "id": 19706,
1770
1770
  "nodeType": "StructuredDocumentation",
1771
- "src": "2918:60:64",
1771
+ "src": "2918:60:63",
1772
1772
  "text": " @dev Pad length to 32 bytes word boundary"
1773
1773
  },
1774
- "id": 19956,
1774
+ "id": 19734,
1775
1775
  "implemented": true,
1776
1776
  "kind": "function",
1777
1777
  "modifiers": [],
1778
1778
  "name": "padLength32",
1779
- "nameLocation": "2992:11:64",
1779
+ "nameLocation": "2992:11:63",
1780
1780
  "nodeType": "FunctionDefinition",
1781
1781
  "parameters": {
1782
- "id": 19931,
1782
+ "id": 19709,
1783
1783
  "nodeType": "ParameterList",
1784
1784
  "parameters": [
1785
1785
  {
1786
1786
  "constant": false,
1787
- "id": 19930,
1787
+ "id": 19708,
1788
1788
  "mutability": "mutable",
1789
1789
  "name": "len",
1790
- "nameLocation": "3012:3:64",
1790
+ "nameLocation": "3012:3:63",
1791
1791
  "nodeType": "VariableDeclaration",
1792
- "scope": 19956,
1793
- "src": "3004:11:64",
1792
+ "scope": 19734,
1793
+ "src": "3004:11:63",
1794
1794
  "stateVariable": false,
1795
1795
  "storageLocation": "default",
1796
1796
  "typeDescriptions": {
@@ -1798,10 +1798,10 @@
1798
1798
  "typeString": "uint256"
1799
1799
  },
1800
1800
  "typeName": {
1801
- "id": 19929,
1801
+ "id": 19707,
1802
1802
  "name": "uint256",
1803
1803
  "nodeType": "ElementaryTypeName",
1804
- "src": "3004:7:64",
1804
+ "src": "3004:7:63",
1805
1805
  "typeDescriptions": {
1806
1806
  "typeIdentifier": "t_uint256",
1807
1807
  "typeString": "uint256"
@@ -1810,21 +1810,21 @@
1810
1810
  "visibility": "internal"
1811
1811
  }
1812
1812
  ],
1813
- "src": "3003:13:64"
1813
+ "src": "3003:13:63"
1814
1814
  },
1815
1815
  "returnParameters": {
1816
- "id": 19934,
1816
+ "id": 19712,
1817
1817
  "nodeType": "ParameterList",
1818
1818
  "parameters": [
1819
1819
  {
1820
1820
  "constant": false,
1821
- "id": 19933,
1821
+ "id": 19711,
1822
1822
  "mutability": "mutable",
1823
1823
  "name": "paddedLen",
1824
- "nameLocation": "3048:9:64",
1824
+ "nameLocation": "3048:9:63",
1825
1825
  "nodeType": "VariableDeclaration",
1826
- "scope": 19956,
1827
- "src": "3040:17:64",
1826
+ "scope": 19734,
1827
+ "src": "3040:17:63",
1828
1828
  "stateVariable": false,
1829
1829
  "storageLocation": "default",
1830
1830
  "typeDescriptions": {
@@ -1832,10 +1832,10 @@
1832
1832
  "typeString": "uint256"
1833
1833
  },
1834
1834
  "typeName": {
1835
- "id": 19932,
1835
+ "id": 19710,
1836
1836
  "name": "uint256",
1837
1837
  "nodeType": "ElementaryTypeName",
1838
- "src": "3040:7:64",
1838
+ "src": "3040:7:63",
1839
1839
  "typeDescriptions": {
1840
1840
  "typeIdentifier": "t_uint256",
1841
1841
  "typeString": "uint256"
@@ -1844,19 +1844,19 @@
1844
1844
  "visibility": "internal"
1845
1845
  }
1846
1846
  ],
1847
- "src": "3039:19:64"
1847
+ "src": "3039:19:63"
1848
1848
  },
1849
- "scope": 19996,
1850
- "src": "2983:163:64",
1849
+ "scope": 19774,
1850
+ "src": "2983:163:63",
1851
1851
  "stateMutability": "pure",
1852
1852
  "virtual": false,
1853
1853
  "visibility": "internal"
1854
1854
  },
1855
1855
  {
1856
1856
  "body": {
1857
- "id": 19994,
1857
+ "id": 19772,
1858
1858
  "nodeType": "Block",
1859
- "src": "3537:447:64",
1859
+ "src": "3537:447:63",
1860
1860
  "statements": [
1861
1861
  {
1862
1862
  "condition": {
@@ -1864,32 +1864,32 @@
1864
1864
  "typeIdentifier": "t_uint256",
1865
1865
  "typeString": "uint256"
1866
1866
  },
1867
- "id": 19967,
1867
+ "id": 19745,
1868
1868
  "isConstant": false,
1869
1869
  "isLValue": false,
1870
1870
  "isPure": false,
1871
1871
  "lValueRequested": false,
1872
1872
  "leftExpression": {
1873
1873
  "expression": {
1874
- "id": 19964,
1874
+ "id": 19742,
1875
1875
  "name": "data",
1876
1876
  "nodeType": "Identifier",
1877
1877
  "overloadedDeclarations": [],
1878
- "referencedDeclaration": 19959,
1879
- "src": "3551:4:64",
1878
+ "referencedDeclaration": 19737,
1879
+ "src": "3551:4:63",
1880
1880
  "typeDescriptions": {
1881
1881
  "typeIdentifier": "t_bytes_memory_ptr",
1882
1882
  "typeString": "bytes memory"
1883
1883
  }
1884
1884
  },
1885
- "id": 19965,
1885
+ "id": 19743,
1886
1886
  "isConstant": false,
1887
1887
  "isLValue": false,
1888
1888
  "isPure": false,
1889
1889
  "lValueRequested": false,
1890
1890
  "memberName": "length",
1891
1891
  "nodeType": "MemberAccess",
1892
- "src": "3551:11:64",
1892
+ "src": "3551:11:63",
1893
1893
  "typeDescriptions": {
1894
1894
  "typeIdentifier": "t_uint256",
1895
1895
  "typeString": "uint256"
@@ -1899,66 +1899,66 @@
1899
1899
  "operator": "<",
1900
1900
  "rightExpression": {
1901
1901
  "hexValue": "3634",
1902
- "id": 19966,
1902
+ "id": 19744,
1903
1903
  "isConstant": false,
1904
1904
  "isLValue": false,
1905
1905
  "isPure": true,
1906
1906
  "kind": "number",
1907
1907
  "lValueRequested": false,
1908
1908
  "nodeType": "Literal",
1909
- "src": "3565:2:64",
1909
+ "src": "3565:2:63",
1910
1910
  "typeDescriptions": {
1911
1911
  "typeIdentifier": "t_rational_64_by_1",
1912
1912
  "typeString": "int_const 64"
1913
1913
  },
1914
1914
  "value": "64"
1915
1915
  },
1916
- "src": "3551:16:64",
1916
+ "src": "3551:16:63",
1917
1917
  "typeDescriptions": {
1918
1918
  "typeIdentifier": "t_bool",
1919
1919
  "typeString": "bool"
1920
1920
  }
1921
1921
  },
1922
- "id": 19970,
1922
+ "id": 19748,
1923
1923
  "nodeType": "IfStatement",
1924
- "src": "3547:34:64",
1924
+ "src": "3547:34:63",
1925
1925
  "trueBody": {
1926
1926
  "expression": {
1927
1927
  "hexValue": "66616c7365",
1928
- "id": 19968,
1928
+ "id": 19746,
1929
1929
  "isConstant": false,
1930
1930
  "isLValue": false,
1931
1931
  "isPure": true,
1932
1932
  "kind": "bool",
1933
1933
  "lValueRequested": false,
1934
1934
  "nodeType": "Literal",
1935
- "src": "3576:5:64",
1935
+ "src": "3576:5:63",
1936
1936
  "typeDescriptions": {
1937
1937
  "typeIdentifier": "t_bool",
1938
1938
  "typeString": "bool"
1939
1939
  },
1940
1940
  "value": "false"
1941
1941
  },
1942
- "functionReturnParameters": 19963,
1943
- "id": 19969,
1942
+ "functionReturnParameters": 19741,
1943
+ "id": 19747,
1944
1944
  "nodeType": "Return",
1945
- "src": "3569:12:64"
1945
+ "src": "3569:12:63"
1946
1946
  }
1947
1947
  },
1948
1948
  {
1949
1949
  "assignments": [
1950
- 19972
1950
+ 19750
1951
1951
  ],
1952
1952
  "declarations": [
1953
1953
  {
1954
1954
  "constant": false,
1955
- "id": 19972,
1955
+ "id": 19750,
1956
1956
  "mutability": "mutable",
1957
1957
  "name": "bytesOffset",
1958
- "nameLocation": "3596:11:64",
1958
+ "nameLocation": "3596:11:63",
1959
1959
  "nodeType": "VariableDeclaration",
1960
- "scope": 19994,
1961
- "src": "3591:16:64",
1960
+ "scope": 19772,
1961
+ "src": "3591:16:63",
1962
1962
  "stateVariable": false,
1963
1963
  "storageLocation": "default",
1964
1964
  "typeDescriptions": {
@@ -1966,10 +1966,10 @@
1966
1966
  "typeString": "uint256"
1967
1967
  },
1968
1968
  "typeName": {
1969
- "id": 19971,
1969
+ "id": 19749,
1970
1970
  "name": "uint",
1971
1971
  "nodeType": "ElementaryTypeName",
1972
- "src": "3591:4:64",
1972
+ "src": "3591:4:63",
1973
1973
  "typeDescriptions": {
1974
1974
  "typeIdentifier": "t_uint256",
1975
1975
  "typeString": "uint256"
@@ -1978,24 +1978,24 @@
1978
1978
  "visibility": "internal"
1979
1979
  }
1980
1980
  ],
1981
- "id": 19973,
1981
+ "id": 19751,
1982
1982
  "nodeType": "VariableDeclarationStatement",
1983
- "src": "3591:16:64"
1983
+ "src": "3591:16:63"
1984
1984
  },
1985
1985
  {
1986
1986
  "assignments": [
1987
- 19975
1987
+ 19753
1988
1988
  ],
1989
1989
  "declarations": [
1990
1990
  {
1991
1991
  "constant": false,
1992
- "id": 19975,
1992
+ "id": 19753,
1993
1993
  "mutability": "mutable",
1994
1994
  "name": "bytesLen",
1995
- "nameLocation": "3622:8:64",
1995
+ "nameLocation": "3622:8:63",
1996
1996
  "nodeType": "VariableDeclaration",
1997
- "scope": 19994,
1998
- "src": "3617:13:64",
1997
+ "scope": 19772,
1998
+ "src": "3617:13:63",
1999
1999
  "stateVariable": false,
2000
2000
  "storageLocation": "default",
2001
2001
  "typeDescriptions": {
@@ -2003,10 +2003,10 @@
2003
2003
  "typeString": "uint256"
2004
2004
  },
2005
2005
  "typeName": {
2006
- "id": 19974,
2006
+ "id": 19752,
2007
2007
  "name": "uint",
2008
2008
  "nodeType": "ElementaryTypeName",
2009
- "src": "3617:4:64",
2009
+ "src": "3617:4:63",
2010
2010
  "typeDescriptions": {
2011
2011
  "typeIdentifier": "t_uint256",
2012
2012
  "typeString": "uint256"
@@ -2015,18 +2015,18 @@
2015
2015
  "visibility": "internal"
2016
2016
  }
2017
2017
  ],
2018
- "id": 19976,
2018
+ "id": 19754,
2019
2019
  "nodeType": "VariableDeclarationStatement",
2020
- "src": "3617:13:64"
2020
+ "src": "3617:13:63"
2021
2021
  },
2022
2022
  {
2023
2023
  "AST": {
2024
2024
  "nodeType": "YulBlock",
2025
- "src": "3701:39:64",
2025
+ "src": "3701:39:63",
2026
2026
  "statements": [
2027
2027
  {
2028
2028
  "nodeType": "YulAssignment",
2029
- "src": "3703:35:64",
2029
+ "src": "3703:35:63",
2030
2030
  "value": {
2031
2031
  "arguments": [
2032
2032
  {
@@ -2034,12 +2034,12 @@
2034
2034
  {
2035
2035
  "name": "data",
2036
2036
  "nodeType": "YulIdentifier",
2037
- "src": "3728:4:64"
2037
+ "src": "3728:4:63"
2038
2038
  },
2039
2039
  {
2040
2040
  "kind": "number",
2041
2041
  "nodeType": "YulLiteral",
2042
- "src": "3734:2:64",
2042
+ "src": "3734:2:63",
2043
2043
  "type": "",
2044
2044
  "value": "32"
2045
2045
  }
@@ -2047,25 +2047,25 @@
2047
2047
  "functionName": {
2048
2048
  "name": "add",
2049
2049
  "nodeType": "YulIdentifier",
2050
- "src": "3724:3:64"
2050
+ "src": "3724:3:63"
2051
2051
  },
2052
2052
  "nodeType": "YulFunctionCall",
2053
- "src": "3724:13:64"
2053
+ "src": "3724:13:63"
2054
2054
  }
2055
2055
  ],
2056
2056
  "functionName": {
2057
2057
  "name": "mload",
2058
2058
  "nodeType": "YulIdentifier",
2059
- "src": "3718:5:64"
2059
+ "src": "3718:5:63"
2060
2060
  },
2061
2061
  "nodeType": "YulFunctionCall",
2062
- "src": "3718:20:64"
2062
+ "src": "3718:20:63"
2063
2063
  },
2064
2064
  "variableNames": [
2065
2065
  {
2066
2066
  "name": "bytesOffset",
2067
2067
  "nodeType": "YulIdentifier",
2068
- "src": "3703:11:64"
2068
+ "src": "3703:11:63"
2069
2069
  }
2070
2070
  ]
2071
2071
  }
@@ -2074,23 +2074,23 @@
2074
2074
  "evmVersion": "london",
2075
2075
  "externalReferences": [
2076
2076
  {
2077
- "declaration": 19972,
2077
+ "declaration": 19750,
2078
2078
  "isOffset": false,
2079
2079
  "isSlot": false,
2080
- "src": "3703:11:64",
2080
+ "src": "3703:11:63",
2081
2081
  "valueSize": 1
2082
2082
  },
2083
2083
  {
2084
- "declaration": 19959,
2084
+ "declaration": 19737,
2085
2085
  "isOffset": false,
2086
2086
  "isSlot": false,
2087
- "src": "3728:4:64",
2087
+ "src": "3728:4:63",
2088
2088
  "valueSize": 1
2089
2089
  }
2090
2090
  ],
2091
- "id": 19977,
2091
+ "id": 19755,
2092
2092
  "nodeType": "InlineAssembly",
2093
- "src": "3692:48:64"
2093
+ "src": "3692:48:63"
2094
2094
  },
2095
2095
  {
2096
2096
  "condition": {
@@ -2098,18 +2098,18 @@
2098
2098
  "typeIdentifier": "t_uint256",
2099
2099
  "typeString": "uint256"
2100
2100
  },
2101
- "id": 19980,
2101
+ "id": 19758,
2102
2102
  "isConstant": false,
2103
2103
  "isLValue": false,
2104
2104
  "isPure": false,
2105
2105
  "lValueRequested": false,
2106
2106
  "leftExpression": {
2107
- "id": 19978,
2107
+ "id": 19756,
2108
2108
  "name": "bytesOffset",
2109
2109
  "nodeType": "Identifier",
2110
2110
  "overloadedDeclarations": [],
2111
- "referencedDeclaration": 19972,
2112
- "src": "3753:11:64",
2111
+ "referencedDeclaration": 19750,
2112
+ "src": "3753:11:63",
2113
2113
  "typeDescriptions": {
2114
2114
  "typeIdentifier": "t_uint256",
2115
2115
  "typeString": "uint256"
@@ -2119,60 +2119,60 @@
2119
2119
  "operator": "!=",
2120
2120
  "rightExpression": {
2121
2121
  "hexValue": "3332",
2122
- "id": 19979,
2122
+ "id": 19757,
2123
2123
  "isConstant": false,
2124
2124
  "isLValue": false,
2125
2125
  "isPure": true,
2126
2126
  "kind": "number",
2127
2127
  "lValueRequested": false,
2128
2128
  "nodeType": "Literal",
2129
- "src": "3768:2:64",
2129
+ "src": "3768:2:63",
2130
2130
  "typeDescriptions": {
2131
2131
  "typeIdentifier": "t_rational_32_by_1",
2132
2132
  "typeString": "int_const 32"
2133
2133
  },
2134
2134
  "value": "32"
2135
2135
  },
2136
- "src": "3753:17:64",
2136
+ "src": "3753:17:63",
2137
2137
  "typeDescriptions": {
2138
2138
  "typeIdentifier": "t_bool",
2139
2139
  "typeString": "bool"
2140
2140
  }
2141
2141
  },
2142
- "id": 19983,
2142
+ "id": 19761,
2143
2143
  "nodeType": "IfStatement",
2144
- "src": "3749:35:64",
2144
+ "src": "3749:35:63",
2145
2145
  "trueBody": {
2146
2146
  "expression": {
2147
2147
  "hexValue": "66616c7365",
2148
- "id": 19981,
2148
+ "id": 19759,
2149
2149
  "isConstant": false,
2150
2150
  "isLValue": false,
2151
2151
  "isPure": true,
2152
2152
  "kind": "bool",
2153
2153
  "lValueRequested": false,
2154
2154
  "nodeType": "Literal",
2155
- "src": "3779:5:64",
2155
+ "src": "3779:5:63",
2156
2156
  "typeDescriptions": {
2157
2157
  "typeIdentifier": "t_bool",
2158
2158
  "typeString": "bool"
2159
2159
  },
2160
2160
  "value": "false"
2161
2161
  },
2162
- "functionReturnParameters": 19963,
2163
- "id": 19982,
2162
+ "functionReturnParameters": 19741,
2163
+ "id": 19760,
2164
2164
  "nodeType": "Return",
2165
- "src": "3772:12:64"
2165
+ "src": "3772:12:63"
2166
2166
  }
2167
2167
  },
2168
2168
  {
2169
2169
  "AST": {
2170
2170
  "nodeType": "YulBlock",
2171
- "src": "3803:36:64",
2171
+ "src": "3803:36:63",
2172
2172
  "statements": [
2173
2173
  {
2174
2174
  "nodeType": "YulAssignment",
2175
- "src": "3805:32:64",
2175
+ "src": "3805:32:63",
2176
2176
  "value": {
2177
2177
  "arguments": [
2178
2178
  {
@@ -2180,12 +2180,12 @@
2180
2180
  {
2181
2181
  "name": "data",
2182
2182
  "nodeType": "YulIdentifier",
2183
- "src": "3827:4:64"
2183
+ "src": "3827:4:63"
2184
2184
  },
2185
2185
  {
2186
2186
  "kind": "number",
2187
2187
  "nodeType": "YulLiteral",
2188
- "src": "3833:2:64",
2188
+ "src": "3833:2:63",
2189
2189
  "type": "",
2190
2190
  "value": "64"
2191
2191
  }
@@ -2193,25 +2193,25 @@
2193
2193
  "functionName": {
2194
2194
  "name": "add",
2195
2195
  "nodeType": "YulIdentifier",
2196
- "src": "3823:3:64"
2196
+ "src": "3823:3:63"
2197
2197
  },
2198
2198
  "nodeType": "YulFunctionCall",
2199
- "src": "3823:13:64"
2199
+ "src": "3823:13:63"
2200
2200
  }
2201
2201
  ],
2202
2202
  "functionName": {
2203
2203
  "name": "mload",
2204
2204
  "nodeType": "YulIdentifier",
2205
- "src": "3817:5:64"
2205
+ "src": "3817:5:63"
2206
2206
  },
2207
2207
  "nodeType": "YulFunctionCall",
2208
- "src": "3817:20:64"
2208
+ "src": "3817:20:63"
2209
2209
  },
2210
2210
  "variableNames": [
2211
2211
  {
2212
2212
  "name": "bytesLen",
2213
2213
  "nodeType": "YulIdentifier",
2214
- "src": "3805:8:64"
2214
+ "src": "3805:8:63"
2215
2215
  }
2216
2216
  ]
2217
2217
  }
@@ -2220,23 +2220,23 @@
2220
2220
  "evmVersion": "london",
2221
2221
  "externalReferences": [
2222
2222
  {
2223
- "declaration": 19975,
2223
+ "declaration": 19753,
2224
2224
  "isOffset": false,
2225
2225
  "isSlot": false,
2226
- "src": "3805:8:64",
2226
+ "src": "3805:8:63",
2227
2227
  "valueSize": 1
2228
2228
  },
2229
2229
  {
2230
- "declaration": 19959,
2230
+ "declaration": 19737,
2231
2231
  "isOffset": false,
2232
2232
  "isSlot": false,
2233
- "src": "3827:4:64",
2233
+ "src": "3827:4:63",
2234
2234
  "valueSize": 1
2235
2235
  }
2236
2236
  ],
2237
- "id": 19984,
2237
+ "id": 19762,
2238
2238
  "nodeType": "InlineAssembly",
2239
- "src": "3794:45:64"
2239
+ "src": "3794:45:63"
2240
2240
  },
2241
2241
  {
2242
2242
  "expression": {
@@ -2244,32 +2244,32 @@
2244
2244
  "typeIdentifier": "t_uint256",
2245
2245
  "typeString": "uint256"
2246
2246
  },
2247
- "id": 19992,
2247
+ "id": 19770,
2248
2248
  "isConstant": false,
2249
2249
  "isLValue": false,
2250
2250
  "isPure": false,
2251
2251
  "lValueRequested": false,
2252
2252
  "leftExpression": {
2253
2253
  "expression": {
2254
- "id": 19985,
2254
+ "id": 19763,
2255
2255
  "name": "data",
2256
2256
  "nodeType": "Identifier",
2257
2257
  "overloadedDeclarations": [],
2258
- "referencedDeclaration": 19959,
2259
- "src": "3936:4:64",
2258
+ "referencedDeclaration": 19737,
2259
+ "src": "3936:4:63",
2260
2260
  "typeDescriptions": {
2261
2261
  "typeIdentifier": "t_bytes_memory_ptr",
2262
2262
  "typeString": "bytes memory"
2263
2263
  }
2264
2264
  },
2265
- "id": 19986,
2265
+ "id": 19764,
2266
2266
  "isConstant": false,
2267
2267
  "isLValue": false,
2268
2268
  "isPure": false,
2269
2269
  "lValueRequested": false,
2270
2270
  "memberName": "length",
2271
2271
  "nodeType": "MemberAccess",
2272
- "src": "3936:11:64",
2272
+ "src": "3936:11:63",
2273
2273
  "typeDescriptions": {
2274
2274
  "typeIdentifier": "t_uint256",
2275
2275
  "typeString": "uint256"
@@ -2282,21 +2282,21 @@
2282
2282
  "typeIdentifier": "t_uint256",
2283
2283
  "typeString": "uint256"
2284
2284
  },
2285
- "id": 19991,
2285
+ "id": 19769,
2286
2286
  "isConstant": false,
2287
2287
  "isLValue": false,
2288
2288
  "isPure": false,
2289
2289
  "lValueRequested": false,
2290
2290
  "leftExpression": {
2291
2291
  "hexValue": "3634",
2292
- "id": 19987,
2292
+ "id": 19765,
2293
2293
  "isConstant": false,
2294
2294
  "isLValue": false,
2295
2295
  "isPure": true,
2296
2296
  "kind": "number",
2297
2297
  "lValueRequested": false,
2298
2298
  "nodeType": "Literal",
2299
- "src": "3951:2:64",
2299
+ "src": "3951:2:63",
2300
2300
  "typeDescriptions": {
2301
2301
  "typeIdentifier": "t_rational_64_by_1",
2302
2302
  "typeString": "int_const 64"
@@ -2308,12 +2308,12 @@
2308
2308
  "rightExpression": {
2309
2309
  "arguments": [
2310
2310
  {
2311
- "id": 19989,
2311
+ "id": 19767,
2312
2312
  "name": "bytesLen",
2313
2313
  "nodeType": "Identifier",
2314
2314
  "overloadedDeclarations": [],
2315
- "referencedDeclaration": 19975,
2316
- "src": "3968:8:64",
2315
+ "referencedDeclaration": 19753,
2316
+ "src": "3968:8:63",
2317
2317
  "typeDescriptions": {
2318
2318
  "typeIdentifier": "t_uint256",
2319
2319
  "typeString": "uint256"
@@ -2327,18 +2327,18 @@
2327
2327
  "typeString": "uint256"
2328
2328
  }
2329
2329
  ],
2330
- "id": 19988,
2330
+ "id": 19766,
2331
2331
  "name": "padLength32",
2332
2332
  "nodeType": "Identifier",
2333
2333
  "overloadedDeclarations": [],
2334
- "referencedDeclaration": 19956,
2335
- "src": "3956:11:64",
2334
+ "referencedDeclaration": 19734,
2335
+ "src": "3956:11:63",
2336
2336
  "typeDescriptions": {
2337
2337
  "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$",
2338
2338
  "typeString": "function (uint256) pure returns (uint256)"
2339
2339
  }
2340
2340
  },
2341
- "id": 19990,
2341
+ "id": 19768,
2342
2342
  "isConstant": false,
2343
2343
  "isLValue": false,
2344
2344
  "isPure": false,
@@ -2346,58 +2346,58 @@
2346
2346
  "lValueRequested": false,
2347
2347
  "names": [],
2348
2348
  "nodeType": "FunctionCall",
2349
- "src": "3956:21:64",
2349
+ "src": "3956:21:63",
2350
2350
  "tryCall": false,
2351
2351
  "typeDescriptions": {
2352
2352
  "typeIdentifier": "t_uint256",
2353
2353
  "typeString": "uint256"
2354
2354
  }
2355
2355
  },
2356
- "src": "3951:26:64",
2356
+ "src": "3951:26:63",
2357
2357
  "typeDescriptions": {
2358
2358
  "typeIdentifier": "t_uint256",
2359
2359
  "typeString": "uint256"
2360
2360
  }
2361
2361
  },
2362
- "src": "3936:41:64",
2362
+ "src": "3936:41:63",
2363
2363
  "typeDescriptions": {
2364
2364
  "typeIdentifier": "t_bool",
2365
2365
  "typeString": "bool"
2366
2366
  }
2367
2367
  },
2368
- "functionReturnParameters": 19963,
2369
- "id": 19993,
2368
+ "functionReturnParameters": 19741,
2369
+ "id": 19771,
2370
2370
  "nodeType": "Return",
2371
- "src": "3929:48:64"
2371
+ "src": "3929:48:63"
2372
2372
  }
2373
2373
  ]
2374
2374
  },
2375
2375
  "documentation": {
2376
- "id": 19957,
2376
+ "id": 19735,
2377
2377
  "nodeType": "StructuredDocumentation",
2378
- "src": "3152:300:64",
2378
+ "src": "3152:300:63",
2379
2379
  "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 |"
2380
2380
  },
2381
- "id": 19995,
2381
+ "id": 19773,
2382
2382
  "implemented": true,
2383
2383
  "kind": "function",
2384
2384
  "modifiers": [],
2385
2385
  "name": "isValidAbiEncodedBytes",
2386
- "nameLocation": "3466:22:64",
2386
+ "nameLocation": "3466:22:63",
2387
2387
  "nodeType": "FunctionDefinition",
2388
2388
  "parameters": {
2389
- "id": 19960,
2389
+ "id": 19738,
2390
2390
  "nodeType": "ParameterList",
2391
2391
  "parameters": [
2392
2392
  {
2393
2393
  "constant": false,
2394
- "id": 19959,
2394
+ "id": 19737,
2395
2395
  "mutability": "mutable",
2396
2396
  "name": "data",
2397
- "nameLocation": "3502:4:64",
2397
+ "nameLocation": "3502:4:63",
2398
2398
  "nodeType": "VariableDeclaration",
2399
- "scope": 19995,
2400
- "src": "3489:17:64",
2399
+ "scope": 19773,
2400
+ "src": "3489:17:63",
2401
2401
  "stateVariable": false,
2402
2402
  "storageLocation": "memory",
2403
2403
  "typeDescriptions": {
@@ -2405,10 +2405,10 @@
2405
2405
  "typeString": "bytes"
2406
2406
  },
2407
2407
  "typeName": {
2408
- "id": 19958,
2408
+ "id": 19736,
2409
2409
  "name": "bytes",
2410
2410
  "nodeType": "ElementaryTypeName",
2411
- "src": "3489:5:64",
2411
+ "src": "3489:5:63",
2412
2412
  "typeDescriptions": {
2413
2413
  "typeIdentifier": "t_bytes_storage_ptr",
2414
2414
  "typeString": "bytes"
@@ -2417,21 +2417,21 @@
2417
2417
  "visibility": "internal"
2418
2418
  }
2419
2419
  ],
2420
- "src": "3488:19:64"
2420
+ "src": "3488:19:63"
2421
2421
  },
2422
2422
  "returnParameters": {
2423
- "id": 19963,
2423
+ "id": 19741,
2424
2424
  "nodeType": "ParameterList",
2425
2425
  "parameters": [
2426
2426
  {
2427
2427
  "constant": false,
2428
- "id": 19962,
2428
+ "id": 19740,
2429
2429
  "mutability": "mutable",
2430
2430
  "name": "",
2431
2431
  "nameLocation": "-1:-1:-1",
2432
2432
  "nodeType": "VariableDeclaration",
2433
- "scope": 19995,
2434
- "src": "3531:4:64",
2433
+ "scope": 19773,
2434
+ "src": "3531:4:63",
2435
2435
  "stateVariable": false,
2436
2436
  "storageLocation": "default",
2437
2437
  "typeDescriptions": {
@@ -2439,10 +2439,10 @@
2439
2439
  "typeString": "bool"
2440
2440
  },
2441
2441
  "typeName": {
2442
- "id": 19961,
2442
+ "id": 19739,
2443
2443
  "name": "bool",
2444
2444
  "nodeType": "ElementaryTypeName",
2445
- "src": "3531:4:64",
2445
+ "src": "3531:4:63",
2446
2446
  "typeDescriptions": {
2447
2447
  "typeIdentifier": "t_bool",
2448
2448
  "typeString": "bool"
@@ -2451,21 +2451,21 @@
2451
2451
  "visibility": "internal"
2452
2452
  }
2453
2453
  ],
2454
- "src": "3530:6:64"
2454
+ "src": "3530:6:63"
2455
2455
  },
2456
- "scope": 19996,
2457
- "src": "3457:527:64",
2456
+ "scope": 19774,
2457
+ "src": "3457:527:63",
2458
2458
  "stateMutability": "pure",
2459
2459
  "virtual": false,
2460
2460
  "visibility": "internal"
2461
2461
  }
2462
2462
  ],
2463
- "scope": 19997,
2464
- "src": "160:3827:64",
2463
+ "scope": 19775,
2464
+ "src": "160:3827:63",
2465
2465
  "usedErrors": []
2466
2466
  }
2467
2467
  ],
2468
- "src": "35:3953:64"
2468
+ "src": "35:3953:63"
2469
2469
  },
2470
2470
  "compiler": {
2471
2471
  "name": "solc",
@@ -2473,7 +2473,7 @@
2473
2473
  },
2474
2474
  "networks": {},
2475
2475
  "schemaVersion": "3.4.7",
2476
- "updatedAt": "2022-05-04T10:31:47.091Z",
2476
+ "updatedAt": "2022-05-05T13:57:31.279Z",
2477
2477
  "devdoc": {
2478
2478
  "author": "Superfluid",
2479
2479
  "kind": "dev",