@superfluid-finance/ethereum-contracts 1.2.3-dev.f94fdbb.0 → 1.3.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 (171) hide show
  1. package/build/contracts/AccessControl.json +3 -3
  2. package/build/contracts/AccessControlEnumerable.json +3 -3
  3. package/build/contracts/Address.json +5 -5
  4. package/build/contracts/AgreementBase.json +13 -13
  5. package/build/contracts/AgreementLibrary.json +7 -7
  6. package/build/contracts/BaseRelayRecipient.json +5 -5
  7. package/build/contracts/BatchLiquidator.json +179 -179
  8. package/build/contracts/BatchOperation.json +5 -5
  9. package/build/contracts/CFAv1Library.json +5 -5
  10. package/build/contracts/CallUtils.json +7 -7
  11. package/build/contracts/ClosingOnUpdateFlowTestApp.json +2107 -1917
  12. package/build/contracts/ConstantFlowAgreementV1.json +8 -8
  13. package/build/contracts/Context.json +3 -3
  14. package/build/contracts/ContextDefinitions.json +5 -5
  15. package/build/contracts/Create2.json +5 -5
  16. package/build/contracts/CustomSuperTokenBase.json +3 -3
  17. package/build/contracts/ERC165.json +3 -3
  18. package/build/contracts/ERC1820Implementer.json +5 -5
  19. package/build/contracts/ERC1820RegistryCompiled.json +7 -7
  20. package/build/contracts/ERC20.json +5 -5
  21. package/build/contracts/ERC20Burnable.json +3 -3
  22. package/build/contracts/ERC20Pausable.json +3 -3
  23. package/build/contracts/ERC20PresetMinterPauser.json +5 -5
  24. package/build/contracts/ERC20WithTokenInfo.json +3 -3
  25. package/build/contracts/ERC777Helper.json +7 -7
  26. package/build/contracts/ERC777RecipientDrainingGas.json +839 -839
  27. package/build/contracts/ERC777RecipientReverting.json +839 -839
  28. package/build/contracts/EnumerableSet.json +5 -5
  29. package/build/contracts/EventsEmitter.json +47 -47
  30. package/build/contracts/ExclusiveInflowTestApp.json +2107 -1917
  31. package/build/contracts/FixedSizeData.json +213 -213
  32. package/build/contracts/FlowExchangeTestApp.json +2107 -1917
  33. package/build/contracts/FlowOperatorDefinitions.json +5 -5
  34. package/build/contracts/FullUpgradableSuperTokenProxy.json +226 -312
  35. package/build/contracts/IAccessControl.json +3 -3
  36. package/build/contracts/IAccessControlEnumerable.json +3 -3
  37. package/build/contracts/IConstantFlowAgreementV1.json +451 -444
  38. package/build/contracts/IDAv1Library.json +5 -5
  39. package/build/contracts/IERC165.json +3 -3
  40. package/build/contracts/IERC1820Implementer.json +3 -3
  41. package/build/contracts/IERC1820Registry.json +3 -3
  42. package/build/contracts/IERC20.json +3 -3
  43. package/build/contracts/IERC20Metadata.json +3 -3
  44. package/build/contracts/IERC777.json +3 -3
  45. package/build/contracts/IERC777Recipient.json +3 -3
  46. package/build/contracts/IERC777Sender.json +3 -3
  47. package/build/contracts/IInstantDistributionAgreementV1.json +570 -559
  48. package/build/contracts/IMaticBridgedNativeSuperToken.json +71 -32
  49. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +3 -3
  50. package/build/contracts/IMultiSigWallet.json +3 -3
  51. package/build/contracts/IPureSuperToken.json +71 -32
  52. package/build/contracts/IPureSuperTokenCustom.json +3 -3
  53. package/build/contracts/IRelayRecipient.json +3 -3
  54. package/build/contracts/IResolver.json +3 -3
  55. package/build/contracts/ISETH.json +71 -32
  56. package/build/contracts/ISETHCustom.json +3 -3
  57. package/build/contracts/ISuperAgreement.json +3 -3
  58. package/build/contracts/ISuperApp.json +179 -173
  59. package/build/contracts/ISuperToken.json +522 -483
  60. package/build/contracts/ISuperTokenFactory.json +3 -3
  61. package/build/contracts/ISuperfluid.json +633 -628
  62. package/build/contracts/ISuperfluidGovernance.json +134 -133
  63. package/build/contracts/ISuperfluidToken.json +403 -394
  64. package/build/contracts/ITOGAv1.json +1211 -1211
  65. package/build/contracts/ITOGAv2.json +1211 -1211
  66. package/build/contracts/Initializable.json +3 -3
  67. package/build/contracts/InstantDistributionAgreementV1.json +10 -10
  68. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +194 -194
  69. package/build/contracts/NonClosableOutflowTestApp.json +2107 -1917
  70. package/build/contracts/Ownable.json +3 -3
  71. package/build/contracts/Pausable.json +3 -3
  72. package/build/contracts/Proxy.json +3 -3
  73. package/build/contracts/PureSuperToken.json +91 -91
  74. package/build/contracts/Resolver.json +96 -96
  75. package/build/contracts/SETHProxy.json +199 -199
  76. package/build/contracts/SafeCast.json +5 -5
  77. package/build/contracts/SafeERC20.json +5 -5
  78. package/build/contracts/SafeMath.json +5 -5
  79. package/build/contracts/SelfDeletingFlowTestApp.json +2107 -1917
  80. package/build/contracts/SlotsBitmapLibrary.json +7 -7
  81. package/build/contracts/Strings.json +5 -5
  82. package/build/contracts/SuperAppBase.json +3 -3
  83. package/build/contracts/SuperAppDefinitions.json +5 -5
  84. package/build/contracts/SuperToken.json +2262 -2262
  85. package/build/contracts/SuperTokenFactory.json +582 -582
  86. package/build/contracts/SuperTokenFactoryBase.json +576 -576
  87. package/build/contracts/SuperTokenFactoryHelper.json +578 -578
  88. package/build/contracts/SuperUpgrader.json +687 -687
  89. package/build/contracts/Superfluid.json +6648 -6678
  90. package/build/contracts/SuperfluidFrameworkDeployer.json +526 -526
  91. package/build/contracts/SuperfluidGovernanceBase.json +13 -13
  92. package/build/contracts/SuperfluidGovernanceConfigs.json +5 -5
  93. package/build/contracts/SuperfluidGovernanceII.json +21 -21
  94. package/build/contracts/SuperfluidGovernanceIIProxy.json +20 -20
  95. package/build/contracts/SuperfluidLoader.json +147 -147
  96. package/build/contracts/SuperfluidToken.json +1269 -1269
  97. package/build/contracts/TOGA.json +1221 -1221
  98. package/build/contracts/TestGovernance.json +315 -315
  99. package/build/contracts/TestToken.json +475 -561
  100. package/build/contracts/TokenCustodian.json +220 -220
  101. package/build/contracts/TokenInfo.json +3 -3
  102. package/build/contracts/UUPSProxiable.json +136 -136
  103. package/build/contracts/UUPSProxy.json +87 -87
  104. package/build/contracts/UUPSUtils.json +43 -43
  105. package/build/contracts-sizes.txt +6 -6
  106. package/contracts/agreements/AgreementBase.sol +1 -1
  107. package/contracts/agreements/AgreementLibrary.sol +1 -1
  108. package/contracts/agreements/ConstantFlowAgreementV1.sol +1 -1
  109. package/contracts/agreements/InstantDistributionAgreementV1.sol +1 -1
  110. package/contracts/gov/SuperfluidGovernanceBase.sol +1 -1
  111. package/contracts/gov/SuperfluidGovernanceII.sol +1 -1
  112. package/contracts/interfaces/agreements/IConstantFlowAgreementV1.sol +7 -10
  113. package/contracts/interfaces/agreements/IInstantDistributionAgreementV1.sol +11 -18
  114. package/contracts/interfaces/superfluid/ISuperApp.sol +7 -9
  115. package/contracts/interfaces/superfluid/ISuperToken.sol +36 -44
  116. package/contracts/interfaces/superfluid/ISuperfluid.sol +17 -21
  117. package/contracts/interfaces/superfluid/ISuperfluidGovernance.sol +1 -1
  118. package/contracts/interfaces/superfluid/ISuperfluidToken.sol +13 -14
  119. package/contracts/libs/BaseRelayRecipient.sol +1 -1
  120. package/contracts/libs/CallUtils.sol +1 -1
  121. package/contracts/libs/ERC1820RegistryCompiled.sol +1 -1
  122. package/contracts/libs/ERC777Helper.sol +1 -1
  123. package/contracts/libs/EventsEmitter.sol +2 -2
  124. package/contracts/libs/FixedSizeData.sol +2 -2
  125. package/contracts/libs/SlotsBitmapLibrary.sol +1 -1
  126. package/contracts/mocks/AgreementMock.sol +1 -1
  127. package/contracts/mocks/CFAAppMocks.sol +6 -6
  128. package/contracts/mocks/CFALibraryMock.sol +2 -2
  129. package/contracts/mocks/CallUtilsMock.sol +1 -1
  130. package/contracts/mocks/CallUtilsTester.sol +1 -1
  131. package/contracts/mocks/CustomSuperTokenMock.sol +1 -1
  132. package/contracts/mocks/ERC777SenderRecipientMock.sol +1 -1
  133. package/contracts/mocks/FakeSuperfluidMock.sol +1 -1
  134. package/contracts/mocks/ForwarderMock.sol +1 -1
  135. package/contracts/mocks/IDASuperAppTester.sol +2 -2
  136. package/contracts/mocks/IDAv1LibraryMock.sol +3 -3
  137. package/contracts/mocks/MockSmartWallet.sol +1 -1
  138. package/contracts/mocks/MultiFlowTesterApp.sol +2 -2
  139. package/contracts/mocks/SuperAppMocks.sol +15 -12
  140. package/contracts/mocks/SuperTokenFactoryMock.sol +1 -1
  141. package/contracts/mocks/SuperTokenMock.sol +1 -1
  142. package/contracts/mocks/SuperfluidDestructorMock.sol +1 -1
  143. package/contracts/mocks/SuperfluidGovernanceIIMock.sol +1 -1
  144. package/contracts/mocks/SuperfluidMock.sol +2 -2
  145. package/contracts/mocks/UUPSProxiableMock.sol +1 -1
  146. package/contracts/superfluid/FullUpgradableSuperTokenProxy.sol +2 -2
  147. package/contracts/superfluid/SuperToken.sol +1 -1
  148. package/contracts/superfluid/SuperTokenFactory.sol +1 -1
  149. package/contracts/superfluid/Superfluid.sol +4 -4
  150. package/contracts/superfluid/SuperfluidToken.sol +1 -1
  151. package/contracts/tokens/MaticBridgedNativeSuperToken.sol +1 -1
  152. package/contracts/tokens/PureSuperToken.sol +1 -1
  153. package/contracts/tokens/SETH.sol +1 -1
  154. package/contracts/upgradability/UUPSProxiable.sol +1 -1
  155. package/contracts/upgradability/UUPSProxy.sol +1 -1
  156. package/contracts/upgradability/UUPSUtils.sol +1 -1
  157. package/contracts/utils/BatchLiquidator.sol +1 -1
  158. package/contracts/utils/Resolver.sol +1 -1
  159. package/contracts/utils/SuperUpgrader.sol +6 -6
  160. package/contracts/utils/SuperfluidLoader.sol +1 -1
  161. package/contracts/utils/TOGA.sol +1 -1
  162. package/contracts/utils/TestGovernance.sol +2 -2
  163. package/contracts/utils/TestToken.sol +2 -2
  164. package/contracts/utils/TokenCustodian.sol +1 -1
  165. package/package.json +5 -3
  166. package/scripts/deploy-framework.js +5 -5
  167. package/scripts/deploy-super-token.js +13 -4
  168. package/scripts/gov-create-new-app-registration-key.js +2 -1
  169. package/scripts/gov-create-new-factory-registration.js +1 -1
  170. package/scripts/libs/getConfig.js +21 -3
  171. package/scripts/resolver-list-super-token.js +1 -0
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "contractName": "FixedSizeData",
3
3
  "abi": [],
4
- "metadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"author\":\"Superfluid When using solidity dynamic array, first word is used to store the length of the array. For use cases that the length doesn't change, it is better to use a fixed size data premitive. To use this library: - The pointer to the storage is `slot`, the user could use `keccak256(abi.encode(...))` scheme to create collision-free slot ID for locating the data. - To load data, or erase data and get all gas refund, data length is always required.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Utilities for fixed size data in storage\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/libs/FixedSizeData.sol\":\"FixedSizeData\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/contracts/libs/FixedSizeData.sol\":{\"keccak256\":\"0xbb3de3fbf919ef59b6890063847904d2824d7a0da63ff486d97a19eb8f4241f5\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://23a9d841867cbe1da4487d78929cc994352c22c9113840f98c15f0870b612f6f\",\"dweb:/ipfs/QmS7tZMw2itiie8BPosFiwmZy8TUipHUbzpEAf66SficGL\"]}},\"version\":1}",
5
- "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a1504d3ce03a0516da3988ef59573ab91e3e51cf577dd1bd68d193b8aabb403a64736f6c634300080d0033",
6
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a1504d3ce03a0516da3988ef59573ab91e3e51cf577dd1bd68d193b8aabb403a64736f6c634300080d0033",
4
+ "metadata": "{\"compiler\":{\"version\":\"0.8.14+commit.80d49f37\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"author\":\"Superfluid When using solidity dynamic array, first word is used to store the length of the array. For use cases that the length doesn't change, it is better to use a fixed size data premitive. To use this library: - The pointer to the storage is `slot`, the user could use `keccak256(abi.encode(...))` scheme to create collision-free slot ID for locating the data. - To load data, or erase data and get all gas refund, data length is always required.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Utilities for fixed size data in storage\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/libs/FixedSizeData.sol\":\"FixedSizeData\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/contracts/libs/FixedSizeData.sol\":{\"keccak256\":\"0xdb6303086a323e98b5efa5e8d344d531c371ae707e1df4044ca90f3dca111b01\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://af01ce1e0ed1992f543293790d58fa97718a1aa5b85923eaa42455d24caa7906\",\"dweb:/ipfs/QmVKMv8BEjkFTcsHqvviB8pTsKbb4tP55pFLvF3vqGZtSH\"]}},\"version\":1}",
5
+ "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122081a9a200f87a2da615fd24e0c742c0135cd3680281e59be3d0a6a5fdd8cfc9c364736f6c634300080e0033",
6
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122081a9a200f87a2da615fd24e0c742c0135cd3680281e59be3d0a6a5fdd8cfc9c364736f6c634300080e0033",
7
7
  "immutableReferences": {},
8
8
  "generatedSources": [],
9
9
  "deployedGeneratedSources": [],
10
- "sourceMap": "612:1246:63:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;612:1246:63;;;;;;;;;;;;;;;;;",
11
- "deployedSourceMap": "612:1246:63:-:0;;;;;;;;",
12
- "source": "// SPDX-License-Identifier: AGPLv3\npragma solidity 0.8.13;\n\n/**\n * @title Utilities for fixed size data in storage\n * @author Superfluid\n * \n * When using solidity dynamic array, first word is used to store the length\n * of the array. For use cases that the length doesn't change, it is better\n * to use a fixed size data premitive.\n *\n * To use this library:\n * - The pointer to the storage is `slot`, the user could use `keccak256(abi.encode(...))`\n * scheme to create collision-free slot ID for locating the data.\n * - To load data, or erase data and get all gas refund, data length is always required.\n */\nlibrary FixedSizeData {\n\n /**\n * @dev Store data to the slot at `slot`\n */\n function storeData(bytes32 slot, bytes32[] memory data) internal {\n for (uint j = 0; j < data.length; ++j) {\n bytes32 d = data[j];\n assembly { sstore(add(slot, j), d) }\n }\n }\n\n function hasData(bytes32 slot, uint dataLength) internal view returns (bool) {\n for (uint j = 0; j < dataLength; ++j) {\n bytes32 d;\n assembly { d := sload(add(slot, j)) }\n if (uint256(d) > 0) return true;\n }\n return false;\n }\n\n /**\n * @dev Load data of size `dataLength` from the slot at `slot`\n */\n function loadData(bytes32 slot, uint dataLength) internal view returns (bytes32[] memory data) {\n data = new bytes32[](dataLength);\n for (uint j = 0; j < dataLength; ++j) {\n bytes32 d;\n assembly { d := sload(add(slot, j)) }\n data[j] = d;\n }\n }\n\n /**\n * @dev Erase data of size `dataLength` from the slot at `slot`\n */\n function eraseData(bytes32 slot, uint dataLength) internal {\n for (uint j = 0; j < dataLength; ++j) {\n assembly { sstore(add(slot, j), 0) }\n }\n }\n\n}\n",
10
+ "sourceMap": "611:1246:63:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;611:1246:63;;;;;;;;;;;;;;;;;",
11
+ "deployedSourceMap": "611:1246:63:-:0;;;;;;;;",
12
+ "source": "// SPDX-License-Identifier: AGPLv3\npragma solidity 0.8.14;\n\n/**\n * @title Utilities for fixed size data in storage\n * @author Superfluid\n *\n * When using solidity dynamic array, first word is used to store the length\n * of the array. For use cases that the length doesn't change, it is better\n * to use a fixed size data premitive.\n *\n * To use this library:\n * - The pointer to the storage is `slot`, the user could use `keccak256(abi.encode(...))`\n * scheme to create collision-free slot ID for locating the data.\n * - To load data, or erase data and get all gas refund, data length is always required.\n */\nlibrary FixedSizeData {\n\n /**\n * @dev Store data to the slot at `slot`\n */\n function storeData(bytes32 slot, bytes32[] memory data) internal {\n for (uint j = 0; j < data.length; ++j) {\n bytes32 d = data[j];\n assembly { sstore(add(slot, j), d) }\n }\n }\n\n function hasData(bytes32 slot, uint dataLength) internal view returns (bool) {\n for (uint j = 0; j < dataLength; ++j) {\n bytes32 d;\n assembly { d := sload(add(slot, j)) }\n if (uint256(d) > 0) return true;\n }\n return false;\n }\n\n /**\n * @dev Load data of size `dataLength` from the slot at `slot`\n */\n function loadData(bytes32 slot, uint dataLength) internal view returns (bytes32[] memory data) {\n data = new bytes32[](dataLength);\n for (uint j = 0; j < dataLength; ++j) {\n bytes32 d;\n assembly { d := sload(add(slot, j)) }\n data[j] = d;\n }\n }\n\n /**\n * @dev Erase data of size `dataLength` from the slot at `slot`\n */\n function eraseData(bytes32 slot, uint dataLength) internal {\n for (uint j = 0; j < dataLength; ++j) {\n assembly { sstore(add(slot, j), 0) }\n }\n }\n\n}\n",
13
13
  "sourcePath": "/home/runner/work/protocol-monorepo/protocol-monorepo/packages/ethereum-contracts/contracts/libs/FixedSizeData.sol",
14
14
  "ast": {
15
15
  "absolutePath": "project:/contracts/libs/FixedSizeData.sol",
@@ -27,7 +27,7 @@
27
27
  "literals": [
28
28
  "solidity",
29
29
  "0.8",
30
- ".13"
30
+ ".14"
31
31
  ],
32
32
  "nodeType": "PragmaDirective",
33
33
  "src": "35:23:63"
@@ -41,8 +41,8 @@
41
41
  "documentation": {
42
42
  "id": 19376,
43
43
  "nodeType": "StructuredDocumentation",
44
- "src": "60:551:63",
45
- "text": " @title Utilities for fixed size data in storage\n @author Superfluid\n \n When using solidity dynamic array, first word is used to store the length\n of the array. For use cases that the length doesn't change, it is better\n to use a fixed size data premitive.\n To use this library:\n - The pointer to the storage is `slot`, the user could use `keccak256(abi.encode(...))`\n scheme to create collision-free slot ID for locating the data.\n - To load data, or erase data and get all gas refund, data length is always required."
44
+ "src": "60:550:63",
45
+ "text": " @title Utilities for fixed size data in storage\n @author Superfluid\n When using solidity dynamic array, first word is used to store the length\n of the array. For use cases that the length doesn't change, it is better\n to use a fixed size data premitive.\n To use this library:\n - The pointer to the storage is `slot`, the user could use `keccak256(abi.encode(...))`\n scheme to create collision-free slot ID for locating the data.\n - To load data, or erase data and get all gas refund, data length is always required."
46
46
  },
47
47
  "fullyImplemented": true,
48
48
  "id": 19508,
@@ -50,20 +50,20 @@
50
50
  19508
51
51
  ],
52
52
  "name": "FixedSizeData",
53
- "nameLocation": "620:13:63",
53
+ "nameLocation": "619:13:63",
54
54
  "nodeType": "ContractDefinition",
55
55
  "nodes": [
56
56
  {
57
57
  "body": {
58
58
  "id": 19405,
59
59
  "nodeType": "Block",
60
- "src": "767:148:63",
60
+ "src": "766:148:63",
61
61
  "statements": [
62
62
  {
63
63
  "body": {
64
64
  "id": 19403,
65
65
  "nodeType": "Block",
66
- "src": "816:93:63",
66
+ "src": "815:93:63",
67
67
  "statements": [
68
68
  {
69
69
  "assignments": [
@@ -75,10 +75,10 @@
75
75
  "id": 19397,
76
76
  "mutability": "mutable",
77
77
  "name": "d",
78
- "nameLocation": "838:1:63",
78
+ "nameLocation": "837:1:63",
79
79
  "nodeType": "VariableDeclaration",
80
80
  "scope": 19403,
81
- "src": "830:9:63",
81
+ "src": "829:9:63",
82
82
  "stateVariable": false,
83
83
  "storageLocation": "default",
84
84
  "typeDescriptions": {
@@ -89,7 +89,7 @@
89
89
  "id": 19396,
90
90
  "name": "bytes32",
91
91
  "nodeType": "ElementaryTypeName",
92
- "src": "830:7:63",
92
+ "src": "829:7:63",
93
93
  "typeDescriptions": {
94
94
  "typeIdentifier": "t_bytes32",
95
95
  "typeString": "bytes32"
@@ -106,7 +106,7 @@
106
106
  "nodeType": "Identifier",
107
107
  "overloadedDeclarations": [],
108
108
  "referencedDeclaration": 19382,
109
- "src": "842:4:63",
109
+ "src": "841:4:63",
110
110
  "typeDescriptions": {
111
111
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
112
112
  "typeString": "bytes32[] memory"
@@ -119,7 +119,7 @@
119
119
  "nodeType": "Identifier",
120
120
  "overloadedDeclarations": [],
121
121
  "referencedDeclaration": 19386,
122
- "src": "847:1:63",
122
+ "src": "846:1:63",
123
123
  "typeDescriptions": {
124
124
  "typeIdentifier": "t_uint256",
125
125
  "typeString": "uint256"
@@ -130,19 +130,19 @@
130
130
  "isPure": false,
131
131
  "lValueRequested": false,
132
132
  "nodeType": "IndexAccess",
133
- "src": "842:7:63",
133
+ "src": "841:7:63",
134
134
  "typeDescriptions": {
135
135
  "typeIdentifier": "t_bytes32",
136
136
  "typeString": "bytes32"
137
137
  }
138
138
  },
139
139
  "nodeType": "VariableDeclarationStatement",
140
- "src": "830:19:63"
140
+ "src": "829:19:63"
141
141
  },
142
142
  {
143
143
  "AST": {
144
144
  "nodeType": "YulBlock",
145
- "src": "872:27:63",
145
+ "src": "871:27:63",
146
146
  "statements": [
147
147
  {
148
148
  "expression": {
@@ -152,38 +152,38 @@
152
152
  {
153
153
  "name": "slot",
154
154
  "nodeType": "YulIdentifier",
155
- "src": "885:4:63"
155
+ "src": "884:4:63"
156
156
  },
157
157
  {
158
158
  "name": "j",
159
159
  "nodeType": "YulIdentifier",
160
- "src": "891:1:63"
160
+ "src": "890:1:63"
161
161
  }
162
162
  ],
163
163
  "functionName": {
164
164
  "name": "add",
165
165
  "nodeType": "YulIdentifier",
166
- "src": "881:3:63"
166
+ "src": "880:3:63"
167
167
  },
168
168
  "nodeType": "YulFunctionCall",
169
- "src": "881:12:63"
169
+ "src": "880:12:63"
170
170
  },
171
171
  {
172
172
  "name": "d",
173
173
  "nodeType": "YulIdentifier",
174
- "src": "895:1:63"
174
+ "src": "894:1:63"
175
175
  }
176
176
  ],
177
177
  "functionName": {
178
178
  "name": "sstore",
179
179
  "nodeType": "YulIdentifier",
180
- "src": "874:6:63"
180
+ "src": "873:6:63"
181
181
  },
182
182
  "nodeType": "YulFunctionCall",
183
- "src": "874:23:63"
183
+ "src": "873:23:63"
184
184
  },
185
185
  "nodeType": "YulExpressionStatement",
186
- "src": "874:23:63"
186
+ "src": "873:23:63"
187
187
  }
188
188
  ]
189
189
  },
@@ -193,27 +193,27 @@
193
193
  "declaration": 19397,
194
194
  "isOffset": false,
195
195
  "isSlot": false,
196
- "src": "895:1:63",
196
+ "src": "894:1:63",
197
197
  "valueSize": 1
198
198
  },
199
199
  {
200
200
  "declaration": 19386,
201
201
  "isOffset": false,
202
202
  "isSlot": false,
203
- "src": "891:1:63",
203
+ "src": "890:1:63",
204
204
  "valueSize": 1
205
205
  },
206
206
  {
207
207
  "declaration": 19379,
208
208
  "isOffset": false,
209
209
  "isSlot": false,
210
- "src": "885:4:63",
210
+ "src": "884:4:63",
211
211
  "valueSize": 1
212
212
  }
213
213
  ],
214
214
  "id": 19402,
215
215
  "nodeType": "InlineAssembly",
216
- "src": "863:36:63"
216
+ "src": "862:36:63"
217
217
  }
218
218
  ]
219
219
  },
@@ -233,7 +233,7 @@
233
233
  "nodeType": "Identifier",
234
234
  "overloadedDeclarations": [],
235
235
  "referencedDeclaration": 19386,
236
- "src": "794:1:63",
236
+ "src": "793:1:63",
237
237
  "typeDescriptions": {
238
238
  "typeIdentifier": "t_uint256",
239
239
  "typeString": "uint256"
@@ -248,7 +248,7 @@
248
248
  "nodeType": "Identifier",
249
249
  "overloadedDeclarations": [],
250
250
  "referencedDeclaration": 19382,
251
- "src": "798:4:63",
251
+ "src": "797:4:63",
252
252
  "typeDescriptions": {
253
253
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
254
254
  "typeString": "bytes32[] memory"
@@ -261,13 +261,13 @@
261
261
  "lValueRequested": false,
262
262
  "memberName": "length",
263
263
  "nodeType": "MemberAccess",
264
- "src": "798:11:63",
264
+ "src": "797:11:63",
265
265
  "typeDescriptions": {
266
266
  "typeIdentifier": "t_uint256",
267
267
  "typeString": "uint256"
268
268
  }
269
269
  },
270
- "src": "794:15:63",
270
+ "src": "793:15:63",
271
271
  "typeDescriptions": {
272
272
  "typeIdentifier": "t_bool",
273
273
  "typeString": "bool"
@@ -284,10 +284,10 @@
284
284
  "id": 19386,
285
285
  "mutability": "mutable",
286
286
  "name": "j",
287
- "nameLocation": "787:1:63",
287
+ "nameLocation": "786:1:63",
288
288
  "nodeType": "VariableDeclaration",
289
289
  "scope": 19404,
290
- "src": "782:6:63",
290
+ "src": "781:6:63",
291
291
  "stateVariable": false,
292
292
  "storageLocation": "default",
293
293
  "typeDescriptions": {
@@ -298,7 +298,7 @@
298
298
  "id": 19385,
299
299
  "name": "uint",
300
300
  "nodeType": "ElementaryTypeName",
301
- "src": "782:4:63",
301
+ "src": "781:4:63",
302
302
  "typeDescriptions": {
303
303
  "typeIdentifier": "t_uint256",
304
304
  "typeString": "uint256"
@@ -317,7 +317,7 @@
317
317
  "kind": "number",
318
318
  "lValueRequested": false,
319
319
  "nodeType": "Literal",
320
- "src": "791:1:63",
320
+ "src": "790:1:63",
321
321
  "typeDescriptions": {
322
322
  "typeIdentifier": "t_rational_0_by_1",
323
323
  "typeString": "int_const 0"
@@ -325,7 +325,7 @@
325
325
  "value": "0"
326
326
  },
327
327
  "nodeType": "VariableDeclarationStatement",
328
- "src": "782:10:63"
328
+ "src": "781:10:63"
329
329
  },
330
330
  "loopExpression": {
331
331
  "expression": {
@@ -337,14 +337,14 @@
337
337
  "nodeType": "UnaryOperation",
338
338
  "operator": "++",
339
339
  "prefix": true,
340
- "src": "811:3:63",
340
+ "src": "810:3:63",
341
341
  "subExpression": {
342
342
  "id": 19393,
343
343
  "name": "j",
344
344
  "nodeType": "Identifier",
345
345
  "overloadedDeclarations": [],
346
346
  "referencedDeclaration": 19386,
347
- "src": "813:1:63",
347
+ "src": "812:1:63",
348
348
  "typeDescriptions": {
349
349
  "typeIdentifier": "t_uint256",
350
350
  "typeString": "uint256"
@@ -357,17 +357,17 @@
357
357
  },
358
358
  "id": 19395,
359
359
  "nodeType": "ExpressionStatement",
360
- "src": "811:3:63"
360
+ "src": "810:3:63"
361
361
  },
362
362
  "nodeType": "ForStatement",
363
- "src": "777:132:63"
363
+ "src": "776:132:63"
364
364
  }
365
365
  ]
366
366
  },
367
367
  "documentation": {
368
368
  "id": 19377,
369
369
  "nodeType": "StructuredDocumentation",
370
- "src": "641:56:63",
370
+ "src": "640:56:63",
371
371
  "text": " @dev Store data to the slot at `slot`"
372
372
  },
373
373
  "id": 19406,
@@ -375,7 +375,7 @@
375
375
  "kind": "function",
376
376
  "modifiers": [],
377
377
  "name": "storeData",
378
- "nameLocation": "711:9:63",
378
+ "nameLocation": "710:9:63",
379
379
  "nodeType": "FunctionDefinition",
380
380
  "parameters": {
381
381
  "id": 19383,
@@ -386,10 +386,10 @@
386
386
  "id": 19379,
387
387
  "mutability": "mutable",
388
388
  "name": "slot",
389
- "nameLocation": "729:4:63",
389
+ "nameLocation": "728:4:63",
390
390
  "nodeType": "VariableDeclaration",
391
391
  "scope": 19406,
392
- "src": "721:12:63",
392
+ "src": "720:12:63",
393
393
  "stateVariable": false,
394
394
  "storageLocation": "default",
395
395
  "typeDescriptions": {
@@ -400,7 +400,7 @@
400
400
  "id": 19378,
401
401
  "name": "bytes32",
402
402
  "nodeType": "ElementaryTypeName",
403
- "src": "721:7:63",
403
+ "src": "720:7:63",
404
404
  "typeDescriptions": {
405
405
  "typeIdentifier": "t_bytes32",
406
406
  "typeString": "bytes32"
@@ -413,10 +413,10 @@
413
413
  "id": 19382,
414
414
  "mutability": "mutable",
415
415
  "name": "data",
416
- "nameLocation": "752:4:63",
416
+ "nameLocation": "751:4:63",
417
417
  "nodeType": "VariableDeclaration",
418
418
  "scope": 19406,
419
- "src": "735:21:63",
419
+ "src": "734:21:63",
420
420
  "stateVariable": false,
421
421
  "storageLocation": "memory",
422
422
  "typeDescriptions": {
@@ -428,7 +428,7 @@
428
428
  "id": 19380,
429
429
  "name": "bytes32",
430
430
  "nodeType": "ElementaryTypeName",
431
- "src": "735:7:63",
431
+ "src": "734:7:63",
432
432
  "typeDescriptions": {
433
433
  "typeIdentifier": "t_bytes32",
434
434
  "typeString": "bytes32"
@@ -436,7 +436,7 @@
436
436
  },
437
437
  "id": 19381,
438
438
  "nodeType": "ArrayTypeName",
439
- "src": "735:9:63",
439
+ "src": "734:9:63",
440
440
  "typeDescriptions": {
441
441
  "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
442
442
  "typeString": "bytes32[]"
@@ -445,16 +445,16 @@
445
445
  "visibility": "internal"
446
446
  }
447
447
  ],
448
- "src": "720:37:63"
448
+ "src": "719:37:63"
449
449
  },
450
450
  "returnParameters": {
451
451
  "id": 19384,
452
452
  "nodeType": "ParameterList",
453
453
  "parameters": [],
454
- "src": "767:0:63"
454
+ "src": "766:0:63"
455
455
  },
456
456
  "scope": 19508,
457
- "src": "702:213:63",
457
+ "src": "701:213:63",
458
458
  "stateMutability": "nonpayable",
459
459
  "virtual": false,
460
460
  "visibility": "internal"
@@ -463,13 +463,13 @@
463
463
  "body": {
464
464
  "id": 19442,
465
465
  "nodeType": "Block",
466
- "src": "998:205:63",
466
+ "src": "997:205:63",
467
467
  "statements": [
468
468
  {
469
469
  "body": {
470
470
  "id": 19438,
471
471
  "nodeType": "Block",
472
- "src": "1046:129:63",
472
+ "src": "1045:129:63",
473
473
  "statements": [
474
474
  {
475
475
  "assignments": [
@@ -481,10 +481,10 @@
481
481
  "id": 19426,
482
482
  "mutability": "mutable",
483
483
  "name": "d",
484
- "nameLocation": "1068:1:63",
484
+ "nameLocation": "1067:1:63",
485
485
  "nodeType": "VariableDeclaration",
486
486
  "scope": 19438,
487
- "src": "1060:9:63",
487
+ "src": "1059:9:63",
488
488
  "stateVariable": false,
489
489
  "storageLocation": "default",
490
490
  "typeDescriptions": {
@@ -495,7 +495,7 @@
495
495
  "id": 19425,
496
496
  "name": "bytes32",
497
497
  "nodeType": "ElementaryTypeName",
498
- "src": "1060:7:63",
498
+ "src": "1059:7:63",
499
499
  "typeDescriptions": {
500
500
  "typeIdentifier": "t_bytes32",
501
501
  "typeString": "bytes32"
@@ -506,16 +506,16 @@
506
506
  ],
507
507
  "id": 19427,
508
508
  "nodeType": "VariableDeclarationStatement",
509
- "src": "1060:9:63"
509
+ "src": "1059:9:63"
510
510
  },
511
511
  {
512
512
  "AST": {
513
513
  "nodeType": "YulBlock",
514
- "src": "1092:28:63",
514
+ "src": "1091:28:63",
515
515
  "statements": [
516
516
  {
517
517
  "nodeType": "YulAssignment",
518
- "src": "1094:24:63",
518
+ "src": "1093:24:63",
519
519
  "value": {
520
520
  "arguments": [
521
521
  {
@@ -523,36 +523,36 @@
523
523
  {
524
524
  "name": "slot",
525
525
  "nodeType": "YulIdentifier",
526
- "src": "1109:4:63"
526
+ "src": "1108:4:63"
527
527
  },
528
528
  {
529
529
  "name": "j",
530
530
  "nodeType": "YulIdentifier",
531
- "src": "1115:1:63"
531
+ "src": "1114:1:63"
532
532
  }
533
533
  ],
534
534
  "functionName": {
535
535
  "name": "add",
536
536
  "nodeType": "YulIdentifier",
537
- "src": "1105:3:63"
537
+ "src": "1104:3:63"
538
538
  },
539
539
  "nodeType": "YulFunctionCall",
540
- "src": "1105:12:63"
540
+ "src": "1104:12:63"
541
541
  }
542
542
  ],
543
543
  "functionName": {
544
544
  "name": "sload",
545
545
  "nodeType": "YulIdentifier",
546
- "src": "1099:5:63"
546
+ "src": "1098:5:63"
547
547
  },
548
548
  "nodeType": "YulFunctionCall",
549
- "src": "1099:19:63"
549
+ "src": "1098:19:63"
550
550
  },
551
551
  "variableNames": [
552
552
  {
553
553
  "name": "d",
554
554
  "nodeType": "YulIdentifier",
555
- "src": "1094:1:63"
555
+ "src": "1093:1:63"
556
556
  }
557
557
  ]
558
558
  }
@@ -564,27 +564,27 @@
564
564
  "declaration": 19426,
565
565
  "isOffset": false,
566
566
  "isSlot": false,
567
- "src": "1094:1:63",
567
+ "src": "1093:1:63",
568
568
  "valueSize": 1
569
569
  },
570
570
  {
571
571
  "declaration": 19416,
572
572
  "isOffset": false,
573
573
  "isSlot": false,
574
- "src": "1115:1:63",
574
+ "src": "1114:1:63",
575
575
  "valueSize": 1
576
576
  },
577
577
  {
578
578
  "declaration": 19408,
579
579
  "isOffset": false,
580
580
  "isSlot": false,
581
- "src": "1109:4:63",
581
+ "src": "1108:4:63",
582
582
  "valueSize": 1
583
583
  }
584
584
  ],
585
585
  "id": 19428,
586
586
  "nodeType": "InlineAssembly",
587
- "src": "1083:37:63"
587
+ "src": "1082:37:63"
588
588
  },
589
589
  {
590
590
  "condition": {
@@ -605,7 +605,7 @@
605
605
  "nodeType": "Identifier",
606
606
  "overloadedDeclarations": [],
607
607
  "referencedDeclaration": 19426,
608
- "src": "1145:1:63",
608
+ "src": "1144:1:63",
609
609
  "typeDescriptions": {
610
610
  "typeIdentifier": "t_bytes32",
611
611
  "typeString": "bytes32"
@@ -625,7 +625,7 @@
625
625
  "isPure": true,
626
626
  "lValueRequested": false,
627
627
  "nodeType": "ElementaryTypeNameExpression",
628
- "src": "1137:7:63",
628
+ "src": "1136:7:63",
629
629
  "typeDescriptions": {
630
630
  "typeIdentifier": "t_type$_t_uint256_$",
631
631
  "typeString": "type(uint256)"
@@ -634,7 +634,7 @@
634
634
  "id": 19429,
635
635
  "name": "uint256",
636
636
  "nodeType": "ElementaryTypeName",
637
- "src": "1137:7:63",
637
+ "src": "1136:7:63",
638
638
  "typeDescriptions": {}
639
639
  }
640
640
  },
@@ -646,7 +646,7 @@
646
646
  "lValueRequested": false,
647
647
  "names": [],
648
648
  "nodeType": "FunctionCall",
649
- "src": "1137:10:63",
649
+ "src": "1136:10:63",
650
650
  "tryCall": false,
651
651
  "typeDescriptions": {
652
652
  "typeIdentifier": "t_uint256",
@@ -664,14 +664,14 @@
664
664
  "kind": "number",
665
665
  "lValueRequested": false,
666
666
  "nodeType": "Literal",
667
- "src": "1150:1:63",
667
+ "src": "1149:1:63",
668
668
  "typeDescriptions": {
669
669
  "typeIdentifier": "t_rational_0_by_1",
670
670
  "typeString": "int_const 0"
671
671
  },
672
672
  "value": "0"
673
673
  },
674
- "src": "1137:14:63",
674
+ "src": "1136:14:63",
675
675
  "typeDescriptions": {
676
676
  "typeIdentifier": "t_bool",
677
677
  "typeString": "bool"
@@ -679,7 +679,7 @@
679
679
  },
680
680
  "id": 19437,
681
681
  "nodeType": "IfStatement",
682
- "src": "1133:31:63",
682
+ "src": "1132:31:63",
683
683
  "trueBody": {
684
684
  "expression": {
685
685
  "hexValue": "74727565",
@@ -690,7 +690,7 @@
690
690
  "kind": "bool",
691
691
  "lValueRequested": false,
692
692
  "nodeType": "Literal",
693
- "src": "1160:4:63",
693
+ "src": "1159:4:63",
694
694
  "typeDescriptions": {
695
695
  "typeIdentifier": "t_bool",
696
696
  "typeString": "bool"
@@ -700,7 +700,7 @@
700
700
  "functionReturnParameters": 19414,
701
701
  "id": 19436,
702
702
  "nodeType": "Return",
703
- "src": "1153:11:63"
703
+ "src": "1152:11:63"
704
704
  }
705
705
  }
706
706
  ]
@@ -721,7 +721,7 @@
721
721
  "nodeType": "Identifier",
722
722
  "overloadedDeclarations": [],
723
723
  "referencedDeclaration": 19416,
724
- "src": "1025:1:63",
724
+ "src": "1024:1:63",
725
725
  "typeDescriptions": {
726
726
  "typeIdentifier": "t_uint256",
727
727
  "typeString": "uint256"
@@ -735,13 +735,13 @@
735
735
  "nodeType": "Identifier",
736
736
  "overloadedDeclarations": [],
737
737
  "referencedDeclaration": 19410,
738
- "src": "1029:10:63",
738
+ "src": "1028:10:63",
739
739
  "typeDescriptions": {
740
740
  "typeIdentifier": "t_uint256",
741
741
  "typeString": "uint256"
742
742
  }
743
743
  },
744
- "src": "1025:14:63",
744
+ "src": "1024:14:63",
745
745
  "typeDescriptions": {
746
746
  "typeIdentifier": "t_bool",
747
747
  "typeString": "bool"
@@ -758,10 +758,10 @@
758
758
  "id": 19416,
759
759
  "mutability": "mutable",
760
760
  "name": "j",
761
- "nameLocation": "1018:1:63",
761
+ "nameLocation": "1017:1:63",
762
762
  "nodeType": "VariableDeclaration",
763
763
  "scope": 19439,
764
- "src": "1013:6:63",
764
+ "src": "1012:6:63",
765
765
  "stateVariable": false,
766
766
  "storageLocation": "default",
767
767
  "typeDescriptions": {
@@ -772,7 +772,7 @@
772
772
  "id": 19415,
773
773
  "name": "uint",
774
774
  "nodeType": "ElementaryTypeName",
775
- "src": "1013:4:63",
775
+ "src": "1012:4:63",
776
776
  "typeDescriptions": {
777
777
  "typeIdentifier": "t_uint256",
778
778
  "typeString": "uint256"
@@ -791,7 +791,7 @@
791
791
  "kind": "number",
792
792
  "lValueRequested": false,
793
793
  "nodeType": "Literal",
794
- "src": "1022:1:63",
794
+ "src": "1021:1:63",
795
795
  "typeDescriptions": {
796
796
  "typeIdentifier": "t_rational_0_by_1",
797
797
  "typeString": "int_const 0"
@@ -799,7 +799,7 @@
799
799
  "value": "0"
800
800
  },
801
801
  "nodeType": "VariableDeclarationStatement",
802
- "src": "1013:10:63"
802
+ "src": "1012:10:63"
803
803
  },
804
804
  "loopExpression": {
805
805
  "expression": {
@@ -811,14 +811,14 @@
811
811
  "nodeType": "UnaryOperation",
812
812
  "operator": "++",
813
813
  "prefix": true,
814
- "src": "1041:3:63",
814
+ "src": "1040:3:63",
815
815
  "subExpression": {
816
816
  "id": 19422,
817
817
  "name": "j",
818
818
  "nodeType": "Identifier",
819
819
  "overloadedDeclarations": [],
820
820
  "referencedDeclaration": 19416,
821
- "src": "1043:1:63",
821
+ "src": "1042:1:63",
822
822
  "typeDescriptions": {
823
823
  "typeIdentifier": "t_uint256",
824
824
  "typeString": "uint256"
@@ -831,10 +831,10 @@
831
831
  },
832
832
  "id": 19424,
833
833
  "nodeType": "ExpressionStatement",
834
- "src": "1041:3:63"
834
+ "src": "1040:3:63"
835
835
  },
836
836
  "nodeType": "ForStatement",
837
- "src": "1008:167:63"
837
+ "src": "1007:167:63"
838
838
  },
839
839
  {
840
840
  "expression": {
@@ -846,7 +846,7 @@
846
846
  "kind": "bool",
847
847
  "lValueRequested": false,
848
848
  "nodeType": "Literal",
849
- "src": "1191:5:63",
849
+ "src": "1190:5:63",
850
850
  "typeDescriptions": {
851
851
  "typeIdentifier": "t_bool",
852
852
  "typeString": "bool"
@@ -856,7 +856,7 @@
856
856
  "functionReturnParameters": 19414,
857
857
  "id": 19441,
858
858
  "nodeType": "Return",
859
- "src": "1184:12:63"
859
+ "src": "1183:12:63"
860
860
  }
861
861
  ]
862
862
  },
@@ -865,7 +865,7 @@
865
865
  "kind": "function",
866
866
  "modifiers": [],
867
867
  "name": "hasData",
868
- "nameLocation": "930:7:63",
868
+ "nameLocation": "929:7:63",
869
869
  "nodeType": "FunctionDefinition",
870
870
  "parameters": {
871
871
  "id": 19411,
@@ -876,10 +876,10 @@
876
876
  "id": 19408,
877
877
  "mutability": "mutable",
878
878
  "name": "slot",
879
- "nameLocation": "946:4:63",
879
+ "nameLocation": "945:4:63",
880
880
  "nodeType": "VariableDeclaration",
881
881
  "scope": 19443,
882
- "src": "938:12:63",
882
+ "src": "937:12:63",
883
883
  "stateVariable": false,
884
884
  "storageLocation": "default",
885
885
  "typeDescriptions": {
@@ -890,7 +890,7 @@
890
890
  "id": 19407,
891
891
  "name": "bytes32",
892
892
  "nodeType": "ElementaryTypeName",
893
- "src": "938:7:63",
893
+ "src": "937:7:63",
894
894
  "typeDescriptions": {
895
895
  "typeIdentifier": "t_bytes32",
896
896
  "typeString": "bytes32"
@@ -903,10 +903,10 @@
903
903
  "id": 19410,
904
904
  "mutability": "mutable",
905
905
  "name": "dataLength",
906
- "nameLocation": "957:10:63",
906
+ "nameLocation": "956:10:63",
907
907
  "nodeType": "VariableDeclaration",
908
908
  "scope": 19443,
909
- "src": "952:15:63",
909
+ "src": "951:15:63",
910
910
  "stateVariable": false,
911
911
  "storageLocation": "default",
912
912
  "typeDescriptions": {
@@ -917,7 +917,7 @@
917
917
  "id": 19409,
918
918
  "name": "uint",
919
919
  "nodeType": "ElementaryTypeName",
920
- "src": "952:4:63",
920
+ "src": "951:4:63",
921
921
  "typeDescriptions": {
922
922
  "typeIdentifier": "t_uint256",
923
923
  "typeString": "uint256"
@@ -926,7 +926,7 @@
926
926
  "visibility": "internal"
927
927
  }
928
928
  ],
929
- "src": "937:31:63"
929
+ "src": "936:31:63"
930
930
  },
931
931
  "returnParameters": {
932
932
  "id": 19414,
@@ -940,7 +940,7 @@
940
940
  "nameLocation": "-1:-1:-1",
941
941
  "nodeType": "VariableDeclaration",
942
942
  "scope": 19443,
943
- "src": "992:4:63",
943
+ "src": "991:4:63",
944
944
  "stateVariable": false,
945
945
  "storageLocation": "default",
946
946
  "typeDescriptions": {
@@ -951,7 +951,7 @@
951
951
  "id": 19412,
952
952
  "name": "bool",
953
953
  "nodeType": "ElementaryTypeName",
954
- "src": "992:4:63",
954
+ "src": "991:4:63",
955
955
  "typeDescriptions": {
956
956
  "typeIdentifier": "t_bool",
957
957
  "typeString": "bool"
@@ -960,10 +960,10 @@
960
960
  "visibility": "internal"
961
961
  }
962
962
  ],
963
- "src": "991:6:63"
963
+ "src": "990:6:63"
964
964
  },
965
965
  "scope": 19508,
966
- "src": "921:282:63",
966
+ "src": "920:282:63",
967
967
  "stateMutability": "view",
968
968
  "virtual": false,
969
969
  "visibility": "internal"
@@ -972,7 +972,7 @@
972
972
  "body": {
973
973
  "id": 19484,
974
974
  "nodeType": "Block",
975
- "src": "1387:205:63",
975
+ "src": "1386:205:63",
976
976
  "statements": [
977
977
  {
978
978
  "expression": {
@@ -987,7 +987,7 @@
987
987
  "nodeType": "Identifier",
988
988
  "overloadedDeclarations": [],
989
989
  "referencedDeclaration": 19452,
990
- "src": "1397:4:63",
990
+ "src": "1396:4:63",
991
991
  "typeDescriptions": {
992
992
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
993
993
  "typeString": "bytes32[] memory"
@@ -1003,7 +1003,7 @@
1003
1003
  "nodeType": "Identifier",
1004
1004
  "overloadedDeclarations": [],
1005
1005
  "referencedDeclaration": 19448,
1006
- "src": "1418:10:63",
1006
+ "src": "1417:10:63",
1007
1007
  "typeDescriptions": {
1008
1008
  "typeIdentifier": "t_uint256",
1009
1009
  "typeString": "uint256"
@@ -1023,7 +1023,7 @@
1023
1023
  "isPure": true,
1024
1024
  "lValueRequested": false,
1025
1025
  "nodeType": "NewExpression",
1026
- "src": "1404:13:63",
1026
+ "src": "1403:13:63",
1027
1027
  "typeDescriptions": {
1028
1028
  "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
1029
1029
  "typeString": "function (uint256) pure returns (bytes32[] memory)"
@@ -1033,7 +1033,7 @@
1033
1033
  "id": 19455,
1034
1034
  "name": "bytes32",
1035
1035
  "nodeType": "ElementaryTypeName",
1036
- "src": "1408:7:63",
1036
+ "src": "1407:7:63",
1037
1037
  "typeDescriptions": {
1038
1038
  "typeIdentifier": "t_bytes32",
1039
1039
  "typeString": "bytes32"
@@ -1041,7 +1041,7 @@
1041
1041
  },
1042
1042
  "id": 19456,
1043
1043
  "nodeType": "ArrayTypeName",
1044
- "src": "1408:9:63",
1044
+ "src": "1407:9:63",
1045
1045
  "typeDescriptions": {
1046
1046
  "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
1047
1047
  "typeString": "bytes32[]"
@@ -1056,14 +1056,14 @@
1056
1056
  "lValueRequested": false,
1057
1057
  "names": [],
1058
1058
  "nodeType": "FunctionCall",
1059
- "src": "1404:25:63",
1059
+ "src": "1403:25:63",
1060
1060
  "tryCall": false,
1061
1061
  "typeDescriptions": {
1062
1062
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
1063
1063
  "typeString": "bytes32[] memory"
1064
1064
  }
1065
1065
  },
1066
- "src": "1397:32:63",
1066
+ "src": "1396:32:63",
1067
1067
  "typeDescriptions": {
1068
1068
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
1069
1069
  "typeString": "bytes32[] memory"
@@ -1071,13 +1071,13 @@
1071
1071
  },
1072
1072
  "id": 19461,
1073
1073
  "nodeType": "ExpressionStatement",
1074
- "src": "1397:32:63"
1074
+ "src": "1396:32:63"
1075
1075
  },
1076
1076
  {
1077
1077
  "body": {
1078
1078
  "id": 19482,
1079
1079
  "nodeType": "Block",
1080
- "src": "1477:109:63",
1080
+ "src": "1476:109:63",
1081
1081
  "statements": [
1082
1082
  {
1083
1083
  "assignments": [
@@ -1089,10 +1089,10 @@
1089
1089
  "id": 19473,
1090
1090
  "mutability": "mutable",
1091
1091
  "name": "d",
1092
- "nameLocation": "1499:1:63",
1092
+ "nameLocation": "1498:1:63",
1093
1093
  "nodeType": "VariableDeclaration",
1094
1094
  "scope": 19482,
1095
- "src": "1491:9:63",
1095
+ "src": "1490:9:63",
1096
1096
  "stateVariable": false,
1097
1097
  "storageLocation": "default",
1098
1098
  "typeDescriptions": {
@@ -1103,7 +1103,7 @@
1103
1103
  "id": 19472,
1104
1104
  "name": "bytes32",
1105
1105
  "nodeType": "ElementaryTypeName",
1106
- "src": "1491:7:63",
1106
+ "src": "1490:7:63",
1107
1107
  "typeDescriptions": {
1108
1108
  "typeIdentifier": "t_bytes32",
1109
1109
  "typeString": "bytes32"
@@ -1114,16 +1114,16 @@
1114
1114
  ],
1115
1115
  "id": 19474,
1116
1116
  "nodeType": "VariableDeclarationStatement",
1117
- "src": "1491:9:63"
1117
+ "src": "1490:9:63"
1118
1118
  },
1119
1119
  {
1120
1120
  "AST": {
1121
1121
  "nodeType": "YulBlock",
1122
- "src": "1523:28:63",
1122
+ "src": "1522:28:63",
1123
1123
  "statements": [
1124
1124
  {
1125
1125
  "nodeType": "YulAssignment",
1126
- "src": "1525:24:63",
1126
+ "src": "1524:24:63",
1127
1127
  "value": {
1128
1128
  "arguments": [
1129
1129
  {
@@ -1131,36 +1131,36 @@
1131
1131
  {
1132
1132
  "name": "slot",
1133
1133
  "nodeType": "YulIdentifier",
1134
- "src": "1540:4:63"
1134
+ "src": "1539:4:63"
1135
1135
  },
1136
1136
  {
1137
1137
  "name": "j",
1138
1138
  "nodeType": "YulIdentifier",
1139
- "src": "1546:1:63"
1139
+ "src": "1545:1:63"
1140
1140
  }
1141
1141
  ],
1142
1142
  "functionName": {
1143
1143
  "name": "add",
1144
1144
  "nodeType": "YulIdentifier",
1145
- "src": "1536:3:63"
1145
+ "src": "1535:3:63"
1146
1146
  },
1147
1147
  "nodeType": "YulFunctionCall",
1148
- "src": "1536:12:63"
1148
+ "src": "1535:12:63"
1149
1149
  }
1150
1150
  ],
1151
1151
  "functionName": {
1152
1152
  "name": "sload",
1153
1153
  "nodeType": "YulIdentifier",
1154
- "src": "1530:5:63"
1154
+ "src": "1529:5:63"
1155
1155
  },
1156
1156
  "nodeType": "YulFunctionCall",
1157
- "src": "1530:19:63"
1157
+ "src": "1529:19:63"
1158
1158
  },
1159
1159
  "variableNames": [
1160
1160
  {
1161
1161
  "name": "d",
1162
1162
  "nodeType": "YulIdentifier",
1163
- "src": "1525:1:63"
1163
+ "src": "1524:1:63"
1164
1164
  }
1165
1165
  ]
1166
1166
  }
@@ -1172,27 +1172,27 @@
1172
1172
  "declaration": 19473,
1173
1173
  "isOffset": false,
1174
1174
  "isSlot": false,
1175
- "src": "1525:1:63",
1175
+ "src": "1524:1:63",
1176
1176
  "valueSize": 1
1177
1177
  },
1178
1178
  {
1179
1179
  "declaration": 19463,
1180
1180
  "isOffset": false,
1181
1181
  "isSlot": false,
1182
- "src": "1546:1:63",
1182
+ "src": "1545:1:63",
1183
1183
  "valueSize": 1
1184
1184
  },
1185
1185
  {
1186
1186
  "declaration": 19446,
1187
1187
  "isOffset": false,
1188
1188
  "isSlot": false,
1189
- "src": "1540:4:63",
1189
+ "src": "1539:4:63",
1190
1190
  "valueSize": 1
1191
1191
  }
1192
1192
  ],
1193
1193
  "id": 19475,
1194
1194
  "nodeType": "InlineAssembly",
1195
- "src": "1514:37:63"
1195
+ "src": "1513:37:63"
1196
1196
  },
1197
1197
  {
1198
1198
  "expression": {
@@ -1208,7 +1208,7 @@
1208
1208
  "nodeType": "Identifier",
1209
1209
  "overloadedDeclarations": [],
1210
1210
  "referencedDeclaration": 19452,
1211
- "src": "1564:4:63",
1211
+ "src": "1563:4:63",
1212
1212
  "typeDescriptions": {
1213
1213
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
1214
1214
  "typeString": "bytes32[] memory"
@@ -1221,7 +1221,7 @@
1221
1221
  "nodeType": "Identifier",
1222
1222
  "overloadedDeclarations": [],
1223
1223
  "referencedDeclaration": 19463,
1224
- "src": "1569:1:63",
1224
+ "src": "1568:1:63",
1225
1225
  "typeDescriptions": {
1226
1226
  "typeIdentifier": "t_uint256",
1227
1227
  "typeString": "uint256"
@@ -1232,7 +1232,7 @@
1232
1232
  "isPure": false,
1233
1233
  "lValueRequested": true,
1234
1234
  "nodeType": "IndexAccess",
1235
- "src": "1564:7:63",
1235
+ "src": "1563:7:63",
1236
1236
  "typeDescriptions": {
1237
1237
  "typeIdentifier": "t_bytes32",
1238
1238
  "typeString": "bytes32"
@@ -1246,13 +1246,13 @@
1246
1246
  "nodeType": "Identifier",
1247
1247
  "overloadedDeclarations": [],
1248
1248
  "referencedDeclaration": 19473,
1249
- "src": "1574:1:63",
1249
+ "src": "1573:1:63",
1250
1250
  "typeDescriptions": {
1251
1251
  "typeIdentifier": "t_bytes32",
1252
1252
  "typeString": "bytes32"
1253
1253
  }
1254
1254
  },
1255
- "src": "1564:11:63",
1255
+ "src": "1563:11:63",
1256
1256
  "typeDescriptions": {
1257
1257
  "typeIdentifier": "t_bytes32",
1258
1258
  "typeString": "bytes32"
@@ -1260,7 +1260,7 @@
1260
1260
  },
1261
1261
  "id": 19481,
1262
1262
  "nodeType": "ExpressionStatement",
1263
- "src": "1564:11:63"
1263
+ "src": "1563:11:63"
1264
1264
  }
1265
1265
  ]
1266
1266
  },
@@ -1280,7 +1280,7 @@
1280
1280
  "nodeType": "Identifier",
1281
1281
  "overloadedDeclarations": [],
1282
1282
  "referencedDeclaration": 19463,
1283
- "src": "1456:1:63",
1283
+ "src": "1455:1:63",
1284
1284
  "typeDescriptions": {
1285
1285
  "typeIdentifier": "t_uint256",
1286
1286
  "typeString": "uint256"
@@ -1294,13 +1294,13 @@
1294
1294
  "nodeType": "Identifier",
1295
1295
  "overloadedDeclarations": [],
1296
1296
  "referencedDeclaration": 19448,
1297
- "src": "1460:10:63",
1297
+ "src": "1459:10:63",
1298
1298
  "typeDescriptions": {
1299
1299
  "typeIdentifier": "t_uint256",
1300
1300
  "typeString": "uint256"
1301
1301
  }
1302
1302
  },
1303
- "src": "1456:14:63",
1303
+ "src": "1455:14:63",
1304
1304
  "typeDescriptions": {
1305
1305
  "typeIdentifier": "t_bool",
1306
1306
  "typeString": "bool"
@@ -1317,10 +1317,10 @@
1317
1317
  "id": 19463,
1318
1318
  "mutability": "mutable",
1319
1319
  "name": "j",
1320
- "nameLocation": "1449:1:63",
1320
+ "nameLocation": "1448:1:63",
1321
1321
  "nodeType": "VariableDeclaration",
1322
1322
  "scope": 19483,
1323
- "src": "1444:6:63",
1323
+ "src": "1443:6:63",
1324
1324
  "stateVariable": false,
1325
1325
  "storageLocation": "default",
1326
1326
  "typeDescriptions": {
@@ -1331,7 +1331,7 @@
1331
1331
  "id": 19462,
1332
1332
  "name": "uint",
1333
1333
  "nodeType": "ElementaryTypeName",
1334
- "src": "1444:4:63",
1334
+ "src": "1443:4:63",
1335
1335
  "typeDescriptions": {
1336
1336
  "typeIdentifier": "t_uint256",
1337
1337
  "typeString": "uint256"
@@ -1350,7 +1350,7 @@
1350
1350
  "kind": "number",
1351
1351
  "lValueRequested": false,
1352
1352
  "nodeType": "Literal",
1353
- "src": "1453:1:63",
1353
+ "src": "1452:1:63",
1354
1354
  "typeDescriptions": {
1355
1355
  "typeIdentifier": "t_rational_0_by_1",
1356
1356
  "typeString": "int_const 0"
@@ -1358,7 +1358,7 @@
1358
1358
  "value": "0"
1359
1359
  },
1360
1360
  "nodeType": "VariableDeclarationStatement",
1361
- "src": "1444:10:63"
1361
+ "src": "1443:10:63"
1362
1362
  },
1363
1363
  "loopExpression": {
1364
1364
  "expression": {
@@ -1370,14 +1370,14 @@
1370
1370
  "nodeType": "UnaryOperation",
1371
1371
  "operator": "++",
1372
1372
  "prefix": true,
1373
- "src": "1472:3:63",
1373
+ "src": "1471:3:63",
1374
1374
  "subExpression": {
1375
1375
  "id": 19469,
1376
1376
  "name": "j",
1377
1377
  "nodeType": "Identifier",
1378
1378
  "overloadedDeclarations": [],
1379
1379
  "referencedDeclaration": 19463,
1380
- "src": "1474:1:63",
1380
+ "src": "1473:1:63",
1381
1381
  "typeDescriptions": {
1382
1382
  "typeIdentifier": "t_uint256",
1383
1383
  "typeString": "uint256"
@@ -1390,17 +1390,17 @@
1390
1390
  },
1391
1391
  "id": 19471,
1392
1392
  "nodeType": "ExpressionStatement",
1393
- "src": "1472:3:63"
1393
+ "src": "1471:3:63"
1394
1394
  },
1395
1395
  "nodeType": "ForStatement",
1396
- "src": "1439:147:63"
1396
+ "src": "1438:147:63"
1397
1397
  }
1398
1398
  ]
1399
1399
  },
1400
1400
  "documentation": {
1401
1401
  "id": 19444,
1402
1402
  "nodeType": "StructuredDocumentation",
1403
- "src": "1209:78:63",
1403
+ "src": "1208:78:63",
1404
1404
  "text": " @dev Load data of size `dataLength` from the slot at `slot`"
1405
1405
  },
1406
1406
  "id": 19485,
@@ -1408,7 +1408,7 @@
1408
1408
  "kind": "function",
1409
1409
  "modifiers": [],
1410
1410
  "name": "loadData",
1411
- "nameLocation": "1301:8:63",
1411
+ "nameLocation": "1300:8:63",
1412
1412
  "nodeType": "FunctionDefinition",
1413
1413
  "parameters": {
1414
1414
  "id": 19449,
@@ -1419,10 +1419,10 @@
1419
1419
  "id": 19446,
1420
1420
  "mutability": "mutable",
1421
1421
  "name": "slot",
1422
- "nameLocation": "1318:4:63",
1422
+ "nameLocation": "1317:4:63",
1423
1423
  "nodeType": "VariableDeclaration",
1424
1424
  "scope": 19485,
1425
- "src": "1310:12:63",
1425
+ "src": "1309:12:63",
1426
1426
  "stateVariable": false,
1427
1427
  "storageLocation": "default",
1428
1428
  "typeDescriptions": {
@@ -1433,7 +1433,7 @@
1433
1433
  "id": 19445,
1434
1434
  "name": "bytes32",
1435
1435
  "nodeType": "ElementaryTypeName",
1436
- "src": "1310:7:63",
1436
+ "src": "1309:7:63",
1437
1437
  "typeDescriptions": {
1438
1438
  "typeIdentifier": "t_bytes32",
1439
1439
  "typeString": "bytes32"
@@ -1446,10 +1446,10 @@
1446
1446
  "id": 19448,
1447
1447
  "mutability": "mutable",
1448
1448
  "name": "dataLength",
1449
- "nameLocation": "1329:10:63",
1449
+ "nameLocation": "1328:10:63",
1450
1450
  "nodeType": "VariableDeclaration",
1451
1451
  "scope": 19485,
1452
- "src": "1324:15:63",
1452
+ "src": "1323:15:63",
1453
1453
  "stateVariable": false,
1454
1454
  "storageLocation": "default",
1455
1455
  "typeDescriptions": {
@@ -1460,7 +1460,7 @@
1460
1460
  "id": 19447,
1461
1461
  "name": "uint",
1462
1462
  "nodeType": "ElementaryTypeName",
1463
- "src": "1324:4:63",
1463
+ "src": "1323:4:63",
1464
1464
  "typeDescriptions": {
1465
1465
  "typeIdentifier": "t_uint256",
1466
1466
  "typeString": "uint256"
@@ -1469,7 +1469,7 @@
1469
1469
  "visibility": "internal"
1470
1470
  }
1471
1471
  ],
1472
- "src": "1309:31:63"
1472
+ "src": "1308:31:63"
1473
1473
  },
1474
1474
  "returnParameters": {
1475
1475
  "id": 19453,
@@ -1480,10 +1480,10 @@
1480
1480
  "id": 19452,
1481
1481
  "mutability": "mutable",
1482
1482
  "name": "data",
1483
- "nameLocation": "1381:4:63",
1483
+ "nameLocation": "1380:4:63",
1484
1484
  "nodeType": "VariableDeclaration",
1485
1485
  "scope": 19485,
1486
- "src": "1364:21:63",
1486
+ "src": "1363:21:63",
1487
1487
  "stateVariable": false,
1488
1488
  "storageLocation": "memory",
1489
1489
  "typeDescriptions": {
@@ -1495,7 +1495,7 @@
1495
1495
  "id": 19450,
1496
1496
  "name": "bytes32",
1497
1497
  "nodeType": "ElementaryTypeName",
1498
- "src": "1364:7:63",
1498
+ "src": "1363:7:63",
1499
1499
  "typeDescriptions": {
1500
1500
  "typeIdentifier": "t_bytes32",
1501
1501
  "typeString": "bytes32"
@@ -1503,7 +1503,7 @@
1503
1503
  },
1504
1504
  "id": 19451,
1505
1505
  "nodeType": "ArrayTypeName",
1506
- "src": "1364:9:63",
1506
+ "src": "1363:9:63",
1507
1507
  "typeDescriptions": {
1508
1508
  "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
1509
1509
  "typeString": "bytes32[]"
@@ -1512,10 +1512,10 @@
1512
1512
  "visibility": "internal"
1513
1513
  }
1514
1514
  ],
1515
- "src": "1363:23:63"
1515
+ "src": "1362:23:63"
1516
1516
  },
1517
1517
  "scope": 19508,
1518
- "src": "1292:300:63",
1518
+ "src": "1291:300:63",
1519
1519
  "stateMutability": "view",
1520
1520
  "virtual": false,
1521
1521
  "visibility": "internal"
@@ -1524,18 +1524,18 @@
1524
1524
  "body": {
1525
1525
  "id": 19506,
1526
1526
  "nodeType": "Block",
1527
- "src": "1741:114:63",
1527
+ "src": "1740:114:63",
1528
1528
  "statements": [
1529
1529
  {
1530
1530
  "body": {
1531
1531
  "id": 19504,
1532
1532
  "nodeType": "Block",
1533
- "src": "1789:60:63",
1533
+ "src": "1788:60:63",
1534
1534
  "statements": [
1535
1535
  {
1536
1536
  "AST": {
1537
1537
  "nodeType": "YulBlock",
1538
- "src": "1812:27:63",
1538
+ "src": "1811:27:63",
1539
1539
  "statements": [
1540
1540
  {
1541
1541
  "expression": {
@@ -1545,26 +1545,26 @@
1545
1545
  {
1546
1546
  "name": "slot",
1547
1547
  "nodeType": "YulIdentifier",
1548
- "src": "1825:4:63"
1548
+ "src": "1824:4:63"
1549
1549
  },
1550
1550
  {
1551
1551
  "name": "j",
1552
1552
  "nodeType": "YulIdentifier",
1553
- "src": "1831:1:63"
1553
+ "src": "1830:1:63"
1554
1554
  }
1555
1555
  ],
1556
1556
  "functionName": {
1557
1557
  "name": "add",
1558
1558
  "nodeType": "YulIdentifier",
1559
- "src": "1821:3:63"
1559
+ "src": "1820:3:63"
1560
1560
  },
1561
1561
  "nodeType": "YulFunctionCall",
1562
- "src": "1821:12:63"
1562
+ "src": "1820:12:63"
1563
1563
  },
1564
1564
  {
1565
1565
  "kind": "number",
1566
1566
  "nodeType": "YulLiteral",
1567
- "src": "1835:1:63",
1567
+ "src": "1834:1:63",
1568
1568
  "type": "",
1569
1569
  "value": "0"
1570
1570
  }
@@ -1572,13 +1572,13 @@
1572
1572
  "functionName": {
1573
1573
  "name": "sstore",
1574
1574
  "nodeType": "YulIdentifier",
1575
- "src": "1814:6:63"
1575
+ "src": "1813:6:63"
1576
1576
  },
1577
1577
  "nodeType": "YulFunctionCall",
1578
- "src": "1814:23:63"
1578
+ "src": "1813:23:63"
1579
1579
  },
1580
1580
  "nodeType": "YulExpressionStatement",
1581
- "src": "1814:23:63"
1581
+ "src": "1813:23:63"
1582
1582
  }
1583
1583
  ]
1584
1584
  },
@@ -1588,20 +1588,20 @@
1588
1588
  "declaration": 19494,
1589
1589
  "isOffset": false,
1590
1590
  "isSlot": false,
1591
- "src": "1831:1:63",
1591
+ "src": "1830:1:63",
1592
1592
  "valueSize": 1
1593
1593
  },
1594
1594
  {
1595
1595
  "declaration": 19488,
1596
1596
  "isOffset": false,
1597
1597
  "isSlot": false,
1598
- "src": "1825:4:63",
1598
+ "src": "1824:4:63",
1599
1599
  "valueSize": 1
1600
1600
  }
1601
1601
  ],
1602
1602
  "id": 19503,
1603
1603
  "nodeType": "InlineAssembly",
1604
- "src": "1803:36:63"
1604
+ "src": "1802:36:63"
1605
1605
  }
1606
1606
  ]
1607
1607
  },
@@ -1621,7 +1621,7 @@
1621
1621
  "nodeType": "Identifier",
1622
1622
  "overloadedDeclarations": [],
1623
1623
  "referencedDeclaration": 19494,
1624
- "src": "1768:1:63",
1624
+ "src": "1767:1:63",
1625
1625
  "typeDescriptions": {
1626
1626
  "typeIdentifier": "t_uint256",
1627
1627
  "typeString": "uint256"
@@ -1635,13 +1635,13 @@
1635
1635
  "nodeType": "Identifier",
1636
1636
  "overloadedDeclarations": [],
1637
1637
  "referencedDeclaration": 19490,
1638
- "src": "1772:10:63",
1638
+ "src": "1771:10:63",
1639
1639
  "typeDescriptions": {
1640
1640
  "typeIdentifier": "t_uint256",
1641
1641
  "typeString": "uint256"
1642
1642
  }
1643
1643
  },
1644
- "src": "1768:14:63",
1644
+ "src": "1767:14:63",
1645
1645
  "typeDescriptions": {
1646
1646
  "typeIdentifier": "t_bool",
1647
1647
  "typeString": "bool"
@@ -1658,10 +1658,10 @@
1658
1658
  "id": 19494,
1659
1659
  "mutability": "mutable",
1660
1660
  "name": "j",
1661
- "nameLocation": "1761:1:63",
1661
+ "nameLocation": "1760:1:63",
1662
1662
  "nodeType": "VariableDeclaration",
1663
1663
  "scope": 19505,
1664
- "src": "1756:6:63",
1664
+ "src": "1755:6:63",
1665
1665
  "stateVariable": false,
1666
1666
  "storageLocation": "default",
1667
1667
  "typeDescriptions": {
@@ -1672,7 +1672,7 @@
1672
1672
  "id": 19493,
1673
1673
  "name": "uint",
1674
1674
  "nodeType": "ElementaryTypeName",
1675
- "src": "1756:4:63",
1675
+ "src": "1755:4:63",
1676
1676
  "typeDescriptions": {
1677
1677
  "typeIdentifier": "t_uint256",
1678
1678
  "typeString": "uint256"
@@ -1691,7 +1691,7 @@
1691
1691
  "kind": "number",
1692
1692
  "lValueRequested": false,
1693
1693
  "nodeType": "Literal",
1694
- "src": "1765:1:63",
1694
+ "src": "1764:1:63",
1695
1695
  "typeDescriptions": {
1696
1696
  "typeIdentifier": "t_rational_0_by_1",
1697
1697
  "typeString": "int_const 0"
@@ -1699,7 +1699,7 @@
1699
1699
  "value": "0"
1700
1700
  },
1701
1701
  "nodeType": "VariableDeclarationStatement",
1702
- "src": "1756:10:63"
1702
+ "src": "1755:10:63"
1703
1703
  },
1704
1704
  "loopExpression": {
1705
1705
  "expression": {
@@ -1711,14 +1711,14 @@
1711
1711
  "nodeType": "UnaryOperation",
1712
1712
  "operator": "++",
1713
1713
  "prefix": true,
1714
- "src": "1784:3:63",
1714
+ "src": "1783:3:63",
1715
1715
  "subExpression": {
1716
1716
  "id": 19500,
1717
1717
  "name": "j",
1718
1718
  "nodeType": "Identifier",
1719
1719
  "overloadedDeclarations": [],
1720
1720
  "referencedDeclaration": 19494,
1721
- "src": "1786:1:63",
1721
+ "src": "1785:1:63",
1722
1722
  "typeDescriptions": {
1723
1723
  "typeIdentifier": "t_uint256",
1724
1724
  "typeString": "uint256"
@@ -1731,17 +1731,17 @@
1731
1731
  },
1732
1732
  "id": 19502,
1733
1733
  "nodeType": "ExpressionStatement",
1734
- "src": "1784:3:63"
1734
+ "src": "1783:3:63"
1735
1735
  },
1736
1736
  "nodeType": "ForStatement",
1737
- "src": "1751:98:63"
1737
+ "src": "1750:98:63"
1738
1738
  }
1739
1739
  ]
1740
1740
  },
1741
1741
  "documentation": {
1742
1742
  "id": 19486,
1743
1743
  "nodeType": "StructuredDocumentation",
1744
- "src": "1598:79:63",
1744
+ "src": "1597:79:63",
1745
1745
  "text": " @dev Erase data of size `dataLength` from the slot at `slot`"
1746
1746
  },
1747
1747
  "id": 19507,
@@ -1749,7 +1749,7 @@
1749
1749
  "kind": "function",
1750
1750
  "modifiers": [],
1751
1751
  "name": "eraseData",
1752
- "nameLocation": "1691:9:63",
1752
+ "nameLocation": "1690:9:63",
1753
1753
  "nodeType": "FunctionDefinition",
1754
1754
  "parameters": {
1755
1755
  "id": 19491,
@@ -1760,10 +1760,10 @@
1760
1760
  "id": 19488,
1761
1761
  "mutability": "mutable",
1762
1762
  "name": "slot",
1763
- "nameLocation": "1709:4:63",
1763
+ "nameLocation": "1708:4:63",
1764
1764
  "nodeType": "VariableDeclaration",
1765
1765
  "scope": 19507,
1766
- "src": "1701:12:63",
1766
+ "src": "1700:12:63",
1767
1767
  "stateVariable": false,
1768
1768
  "storageLocation": "default",
1769
1769
  "typeDescriptions": {
@@ -1774,7 +1774,7 @@
1774
1774
  "id": 19487,
1775
1775
  "name": "bytes32",
1776
1776
  "nodeType": "ElementaryTypeName",
1777
- "src": "1701:7:63",
1777
+ "src": "1700:7:63",
1778
1778
  "typeDescriptions": {
1779
1779
  "typeIdentifier": "t_bytes32",
1780
1780
  "typeString": "bytes32"
@@ -1787,10 +1787,10 @@
1787
1787
  "id": 19490,
1788
1788
  "mutability": "mutable",
1789
1789
  "name": "dataLength",
1790
- "nameLocation": "1720:10:63",
1790
+ "nameLocation": "1719:10:63",
1791
1791
  "nodeType": "VariableDeclaration",
1792
1792
  "scope": 19507,
1793
- "src": "1715:15:63",
1793
+ "src": "1714:15:63",
1794
1794
  "stateVariable": false,
1795
1795
  "storageLocation": "default",
1796
1796
  "typeDescriptions": {
@@ -1801,7 +1801,7 @@
1801
1801
  "id": 19489,
1802
1802
  "name": "uint",
1803
1803
  "nodeType": "ElementaryTypeName",
1804
- "src": "1715:4:63",
1804
+ "src": "1714:4:63",
1805
1805
  "typeDescriptions": {
1806
1806
  "typeIdentifier": "t_uint256",
1807
1807
  "typeString": "uint256"
@@ -1810,37 +1810,37 @@
1810
1810
  "visibility": "internal"
1811
1811
  }
1812
1812
  ],
1813
- "src": "1700:31:63"
1813
+ "src": "1699:31:63"
1814
1814
  },
1815
1815
  "returnParameters": {
1816
1816
  "id": 19492,
1817
1817
  "nodeType": "ParameterList",
1818
1818
  "parameters": [],
1819
- "src": "1741:0:63"
1819
+ "src": "1740:0:63"
1820
1820
  },
1821
1821
  "scope": 19508,
1822
- "src": "1682:173:63",
1822
+ "src": "1681:173:63",
1823
1823
  "stateMutability": "nonpayable",
1824
1824
  "virtual": false,
1825
1825
  "visibility": "internal"
1826
1826
  }
1827
1827
  ],
1828
1828
  "scope": 19509,
1829
- "src": "612:1246:63",
1829
+ "src": "611:1246:63",
1830
1830
  "usedErrors": []
1831
1831
  }
1832
1832
  ],
1833
- "src": "35:1824:63"
1833
+ "src": "35:1823:63"
1834
1834
  },
1835
1835
  "compiler": {
1836
1836
  "name": "solc",
1837
- "version": "0.8.13+commit.abaa5c0e.Emscripten.clang"
1837
+ "version": "0.8.14+commit.80d49f37.Emscripten.clang"
1838
1838
  },
1839
1839
  "networks": {},
1840
1840
  "schemaVersion": "3.4.7",
1841
- "updatedAt": "2022-06-03T09:45:14.010Z",
1841
+ "updatedAt": "2022-06-16T09:19:12.184Z",
1842
1842
  "devdoc": {
1843
- "author": "Superfluid When using solidity dynamic array, first word is used to store the length of the array. For use cases that the length doesn't change, it is better to use a fixed size data premitive. To use this library: - The pointer to the storage is `slot`, the user could use `keccak256(abi.encode(...))` scheme to create collision-free slot ID for locating the data. - To load data, or erase data and get all gas refund, data length is always required.",
1843
+ "author": "Superfluid When using solidity dynamic array, first word is used to store the length of the array. For use cases that the length doesn't change, it is better to use a fixed size data premitive. To use this library: - The pointer to the storage is `slot`, the user could use `keccak256(abi.encode(...))` scheme to create collision-free slot ID for locating the data. - To load data, or erase data and get all gas refund, data length is always required.",
1844
1844
  "kind": "dev",
1845
1845
  "methods": {},
1846
1846
  "title": "Utilities for fixed size data in storage",