@superfluid-finance/ethereum-contracts 1.7.2-dev.3cd1f8a.0 → 1.7.2-dev.3e0e33e.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 (209) hide show
  1. package/README.md +2 -2
  2. package/artifacts/contracts/apps/SuperAppBaseFlow.sol/SuperAppBaseFlow.json +13 -13
  3. package/artifacts/contracts/apps/SuperfluidLoaderLibrary.sol/SuperfluidLoaderLibrary.json +2 -2
  4. package/artifacts/contracts/mocks/IDASuperAppTester.sol/IDASuperAppTester.json +2 -2
  5. package/artifacts/contracts/mocks/MockSmartWallet.sol/MockSmartWallet.json +2 -2
  6. package/artifacts/contracts/mocks/SuperAppBaseFlowTester.sol/SuperAppBaseFlowTester.json +15 -15
  7. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppFactoryMock.json +2 -2
  8. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMock.json +2 -2
  9. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMock2ndLevel.json +2 -2
  10. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockAux.json +2 -2
  11. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockNotSelfRegistering.json +2 -2
  12. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningEmptyCtx.json +2 -2
  13. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningInvalidCtx.json +2 -2
  14. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockUsingDeprecatedRegisterApp.json +2 -2
  15. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockWithRegistrationKey.json +2 -2
  16. package/artifacts/contracts/mocks/SuperfluidMock.sol/SuperfluidMock.json +2 -2
  17. package/artifacts/contracts/mocks/SuperfluidMock.sol/SuperfluidUpgradabilityTester.json +2 -2
  18. package/artifacts/contracts/superfluid/Superfluid.sol/Superfluid.json +2 -2
  19. package/artifacts/contracts/utils/SuperfluidFrameworkDeployer.sol/SuperfluidFrameworkDeployer.json +2 -2
  20. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/CFAv1ForwarderDeployerLibrary.json +2 -2
  21. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/IDAv1ForwarderDeployerLibrary.json +2 -2
  22. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/ProxyDeployerLibrary.json +2 -2
  23. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperTokenDeployerLibrary.json +2 -2
  24. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidCFAv1DeployerLibrary.json +2 -2
  25. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidFrameworkDeploymentSteps.json +2 -2
  26. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidGovDeployerLibrary.json +2 -2
  27. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidHostDeployerLibrary.json +2 -2
  28. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidIDAv1DeployerLibrary.json +2 -2
  29. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidLoaderDeployerLibrary.json +2 -2
  30. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidNFTLogicDeployerLibrary.json +2 -2
  31. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidPeripheryDeployerLibrary.json +2 -2
  32. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/TokenDeployerLibrary.json +2 -2
  33. package/build/contracts/AccessControl.json +1 -1
  34. package/build/contracts/AccessControlEnumerable.json +1 -1
  35. package/build/contracts/Address.json +1 -1
  36. package/build/contracts/AgreementBase.json +18 -18
  37. package/build/contracts/AgreementLibrary.json +165 -165
  38. package/build/contracts/BaseRelayRecipient.json +57 -57
  39. package/build/contracts/BatchLiquidator.json +382 -382
  40. package/build/contracts/BatchOperation.json +614 -614
  41. package/build/contracts/CFAv1Forwarder.json +1250 -1250
  42. package/build/contracts/CFAv1ForwarderDeployerLibrary.json +2387 -2387
  43. package/build/contracts/CFAv1Library.json +389 -389
  44. package/build/contracts/CallUtils.json +198 -198
  45. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1525 -1525
  46. package/build/contracts/ConstantFlowAgreementV1.json +1087 -1087
  47. package/build/contracts/ConstantInflowNFT.json +402 -402
  48. package/build/contracts/ConstantOutflowNFT.json +661 -661
  49. package/build/contracts/Context.json +1 -1
  50. package/build/contracts/ContextDefinitions.json +614 -614
  51. package/build/contracts/CustomSuperTokenBase.json +19 -19
  52. package/build/contracts/ERC165.json +1 -1
  53. package/build/contracts/ERC1820Implementer.json +1 -1
  54. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  55. package/build/contracts/ERC20.json +1 -1
  56. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  57. package/build/contracts/ERC777Helper.json +384 -384
  58. package/build/contracts/ERC777RecipientDrainingGas.json +863 -863
  59. package/build/contracts/ERC777RecipientReverting.json +863 -863
  60. package/build/contracts/EnumerableSet.json +1 -1
  61. package/build/contracts/EventsEmitter.json +43 -43
  62. package/build/contracts/ExclusiveInflowTestApp.json +1525 -1525
  63. package/build/contracts/FixedSizeData.json +200 -200
  64. package/build/contracts/FlowExchangeTestApp.json +1526 -1526
  65. package/build/contracts/FlowNFTBase.json +1280 -1280
  66. package/build/contracts/FlowOperatorDefinitions.json +614 -614
  67. package/build/contracts/ForwarderBase.json +190 -190
  68. package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
  69. package/build/contracts/IAccessControl.json +1 -1
  70. package/build/contracts/IAccessControlEnumerable.json +1 -1
  71. package/build/contracts/IConstantFlowAgreementV1.json +677 -677
  72. package/build/contracts/IConstantInflowNFT.json +54 -54
  73. package/build/contracts/IConstantOutflowNFT.json +107 -107
  74. package/build/contracts/IDAv1Forwarder.json +912 -912
  75. package/build/contracts/IDAv1ForwarderDeployerLibrary.json +2387 -2387
  76. package/build/contracts/IDAv1Library.json +430 -430
  77. package/build/contracts/IERC165.json +1 -1
  78. package/build/contracts/IERC1820Implementer.json +1 -1
  79. package/build/contracts/IERC1820Registry.json +1 -1
  80. package/build/contracts/IERC20.json +1 -1
  81. package/build/contracts/IERC20Metadata.json +1 -1
  82. package/build/contracts/IERC20Permit.json +1 -1
  83. package/build/contracts/IERC721.json +1 -1
  84. package/build/contracts/IERC721Metadata.json +1 -1
  85. package/build/contracts/IERC777.json +1 -1
  86. package/build/contracts/IERC777Recipient.json +1 -1
  87. package/build/contracts/IERC777Sender.json +1 -1
  88. package/build/contracts/IFlowNFTBase.json +115 -115
  89. package/build/contracts/IInstantDistributionAgreementV1.json +667 -667
  90. package/build/contracts/IMultiSigWallet.json +31 -31
  91. package/build/contracts/IPoolAdminNFT.json +7 -7
  92. package/build/contracts/IPoolMemberNFT.json +7 -7
  93. package/build/contracts/IPureSuperToken.json +62 -62
  94. package/build/contracts/IPureSuperTokenCustom.json +62 -62
  95. package/build/contracts/IRelayRecipient.json +27 -27
  96. package/build/contracts/IResolver.json +38 -38
  97. package/build/contracts/ISETH.json +67 -67
  98. package/build/contracts/ISETHCustom.json +67 -67
  99. package/build/contracts/ISuperAgreement.json +50 -50
  100. package/build/contracts/ISuperApp.json +191 -191
  101. package/build/contracts/ISuperToken.json +695 -695
  102. package/build/contracts/ISuperTokenFactory.json +225 -225
  103. package/build/contracts/ISuperfluid.json +904 -904
  104. package/build/contracts/ISuperfluidGovernance.json +251 -251
  105. package/build/contracts/ISuperfluidToken.json +407 -407
  106. package/build/contracts/ITOGAv1.json +1346 -1346
  107. package/build/contracts/ITOGAv2.json +1346 -1346
  108. package/build/contracts/ITOGAv3.json +1346 -1346
  109. package/build/contracts/Initializable.json +1 -1
  110. package/build/contracts/InstantDistributionAgreementV1.json +594 -594
  111. package/build/contracts/Math.json +1 -1
  112. package/build/contracts/NonClosableOutflowTestApp.json +1526 -1526
  113. package/build/contracts/Ownable.json +1 -1
  114. package/build/contracts/Proxy.json +1 -1
  115. package/build/contracts/ProxyDeployerLibrary.json +2385 -2385
  116. package/build/contracts/PureSuperToken.json +106 -106
  117. package/build/contracts/Resolver.json +98 -98
  118. package/build/contracts/SETHProxy.json +224 -224
  119. package/build/contracts/SafeCast.json +1 -1
  120. package/build/contracts/SafeERC20.json +1 -1
  121. package/build/contracts/SafeGasLibrary.json +51 -51
  122. package/build/contracts/SafeMath.json +1 -1
  123. package/build/contracts/SelfDeletingFlowTestApp.json +1525 -1525
  124. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  125. package/build/contracts/StreamRedirector.json +704 -704
  126. package/build/contracts/Strings.json +1 -1
  127. package/build/contracts/SuperAppBase.json +42 -42
  128. package/build/contracts/SuperAppBaseFlow.json +1580 -1537
  129. package/build/contracts/SuperAppDefinitions.json +614 -614
  130. package/build/contracts/SuperToken.json +2714 -2714
  131. package/build/contracts/SuperTokenDeployerLibrary.json +2386 -2386
  132. package/build/contracts/SuperTokenFactory.json +1347 -1347
  133. package/build/contracts/SuperTokenFactoryBase.json +1329 -1329
  134. package/build/contracts/SuperTokenV1Library.json +5632 -5632
  135. package/build/contracts/SuperUpgrader.json +439 -439
  136. package/build/contracts/Superfluid.json +7999 -7996
  137. package/build/contracts/SuperfluidCFAv1DeployerLibrary.json +2386 -2386
  138. package/build/contracts/SuperfluidFrameworkDeployer.json +1263 -1263
  139. package/build/contracts/SuperfluidFrameworkDeploymentSteps.json +2385 -2385
  140. package/build/contracts/SuperfluidGovDeployerLibrary.json +2386 -2386
  141. package/build/contracts/SuperfluidGovernanceBase.json +2449 -2449
  142. package/build/contracts/SuperfluidGovernanceConfigs.json +614 -614
  143. package/build/contracts/SuperfluidGovernanceII.json +155 -155
  144. package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
  145. package/build/contracts/SuperfluidHostDeployerLibrary.json +2385 -2385
  146. package/build/contracts/SuperfluidIDAv1DeployerLibrary.json +2386 -2386
  147. package/build/contracts/SuperfluidLoader.json +207 -207
  148. package/build/contracts/SuperfluidLoaderDeployerLibrary.json +2387 -2387
  149. package/build/contracts/SuperfluidLoaderLibrary.json +481 -480
  150. package/build/contracts/SuperfluidNFTLogicDeployerLibrary.json +2390 -2390
  151. package/build/contracts/SuperfluidPeripheryDeployerLibrary.json +2388 -2388
  152. package/build/contracts/SuperfluidToken.json +1423 -1423
  153. package/build/contracts/TOGA.json +1360 -1360
  154. package/build/contracts/TestGovernance.json +250 -250
  155. package/build/contracts/TestResolver.json +47 -47
  156. package/build/contracts/TestToken.json +102 -102
  157. package/build/contracts/TokenDeployerLibrary.json +2387 -2387
  158. package/build/contracts/TokenInfo.json +32 -32
  159. package/build/contracts/UUPSProxiable.json +139 -139
  160. package/build/contracts/UUPSProxy.json +81 -81
  161. package/build/contracts/UUPSUtils.json +37 -37
  162. package/build/contracts-sizes.txt +15 -15
  163. package/build/typechain/contracts/apps/SuperAppBaseFlow.d.ts +9 -9
  164. package/build/typechain/contracts/apps/SuperAppBaseFlow.d.ts.map +1 -1
  165. package/build/typechain/contracts/mocks/SuperAppBaseFlowTester.d.ts +9 -9
  166. package/build/typechain/contracts/mocks/SuperAppBaseFlowTester.d.ts.map +1 -1
  167. package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.d.ts +10 -10
  168. package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.js +13 -13
  169. package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.js.map +1 -1
  170. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.d.ts +1 -1
  171. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.js +1 -1
  172. package/build/typechain/factories/contracts/mocks/IDASuperAppTester__factory.d.ts +1 -1
  173. package/build/typechain/factories/contracts/mocks/IDASuperAppTester__factory.js +1 -1
  174. package/build/typechain/factories/contracts/mocks/MockSmartWallet__factory.d.ts +1 -1
  175. package/build/typechain/factories/contracts/mocks/MockSmartWallet__factory.js +1 -1
  176. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.d.ts +11 -11
  177. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.d.ts.map +1 -1
  178. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.js +14 -14
  179. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.js.map +1 -1
  180. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppFactoryMock__factory.d.ts +1 -1
  181. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppFactoryMock__factory.js +1 -1
  182. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock2ndLevel__factory.d.ts +1 -1
  183. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock2ndLevel__factory.js +1 -1
  184. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockAux__factory.d.ts +1 -1
  185. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockAux__factory.js +1 -1
  186. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningEmptyCtx__factory.d.ts +1 -1
  187. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningEmptyCtx__factory.js +1 -1
  188. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningInvalidCtx__factory.d.ts +1 -1
  189. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningInvalidCtx__factory.js +1 -1
  190. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockUsingDeprecatedRegisterApp__factory.d.ts +1 -1
  191. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockUsingDeprecatedRegisterApp__factory.js +1 -1
  192. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockWithRegistrationKey__factory.d.ts +1 -1
  193. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockWithRegistrationKey__factory.js +1 -1
  194. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock__factory.d.ts +1 -1
  195. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock__factory.js +1 -1
  196. package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidMock__factory.d.ts +1 -1
  197. package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidMock__factory.js +1 -1
  198. package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidUpgradabilityTester__factory.d.ts +1 -1
  199. package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidUpgradabilityTester__factory.js +1 -1
  200. package/build/typechain/factories/contracts/superfluid/Superfluid__factory.d.ts +1 -1
  201. package/build/typechain/factories/contracts/superfluid/Superfluid__factory.js +1 -1
  202. package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeployer__factory.d.ts +1 -1
  203. package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeployer__factory.js +1 -1
  204. package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeploymentSteps__factory.d.ts +1 -1
  205. package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeploymentSteps__factory.js +1 -1
  206. package/contracts/apps/SuperAppBaseFlow.sol +11 -10
  207. package/contracts/apps/SuperfluidLoaderLibrary.sol +1 -1
  208. package/contracts/superfluid/Superfluid.sol +1 -0
  209. package/package.json +4 -3
@@ -97,18 +97,18 @@
97
97
  875
98
98
  ],
99
99
  "UUPSProxiable": [
100
- 46999
100
+ 47004
101
101
  ],
102
102
  "UUPSUtils": [
103
- 47080
103
+ 47085
104
104
  ]
105
105
  },
106
- "id": 47000,
106
+ "id": 47005,
107
107
  "license": "AGPLv3",
108
108
  "nodeType": "SourceUnit",
109
109
  "nodes": [
110
110
  {
111
- "id": 46904,
111
+ "id": 46909,
112
112
  "literals": [
113
113
  "solidity",
114
114
  "0.8",
@@ -120,20 +120,20 @@
120
120
  {
121
121
  "absolutePath": "project:/contracts/upgradability/UUPSUtils.sol",
122
122
  "file": "./UUPSUtils.sol",
123
- "id": 46906,
123
+ "id": 46911,
124
124
  "nameLocation": "-1:-1:-1",
125
125
  "nodeType": "ImportDirective",
126
- "scope": 47000,
127
- "sourceUnit": 47081,
126
+ "scope": 47005,
127
+ "sourceUnit": 47086,
128
128
  "src": "60:44:108",
129
129
  "symbolAliases": [
130
130
  {
131
131
  "foreign": {
132
- "id": 46905,
132
+ "id": 46910,
133
133
  "name": "UUPSUtils",
134
134
  "nodeType": "Identifier",
135
135
  "overloadedDeclarations": [],
136
- "referencedDeclaration": 47080,
136
+ "referencedDeclaration": 47085,
137
137
  "src": "69:9:108",
138
138
  "typeDescriptions": {}
139
139
  },
@@ -145,16 +145,16 @@
145
145
  {
146
146
  "absolutePath": "@openzeppelin/contracts/proxy/utils/Initializable.sol",
147
147
  "file": "@openzeppelin/contracts/proxy/utils/Initializable.sol",
148
- "id": 46908,
148
+ "id": 46913,
149
149
  "nameLocation": "-1:-1:-1",
150
150
  "nodeType": "ImportDirective",
151
- "scope": 47000,
151
+ "scope": 47005,
152
152
  "sourceUnit": 876,
153
153
  "src": "105:86:108",
154
154
  "symbolAliases": [
155
155
  {
156
156
  "foreign": {
157
- "id": 46907,
157
+ "id": 46912,
158
158
  "name": "Initializable",
159
159
  "nodeType": "Identifier",
160
160
  "overloadedDeclarations": [],
@@ -172,7 +172,7 @@
172
172
  "baseContracts": [
173
173
  {
174
174
  "baseName": {
175
- "id": 46910,
175
+ "id": 46915,
176
176
  "name": "Initializable",
177
177
  "nameLocations": [
178
178
  "310:13:108"
@@ -181,7 +181,7 @@
181
181
  "referencedDeclaration": 875,
182
182
  "src": "310:13:108"
183
183
  },
184
- "id": 46911,
184
+ "id": 46916,
185
185
  "nodeType": "InheritanceSpecifier",
186
186
  "src": "310:13:108"
187
187
  }
@@ -190,15 +190,15 @@
190
190
  "contractDependencies": [],
191
191
  "contractKind": "contract",
192
192
  "documentation": {
193
- "id": 46909,
193
+ "id": 46914,
194
194
  "nodeType": "StructuredDocumentation",
195
195
  "src": "193:81:108",
196
196
  "text": " @title UUPS (Universal Upgradeable Proxy Standard) Proxiable contract."
197
197
  },
198
198
  "fullyImplemented": false,
199
- "id": 46999,
199
+ "id": 47004,
200
200
  "linearizedBaseContracts": [
201
- 46999,
201
+ 47004,
202
202
  875
203
203
  ],
204
204
  "name": "UUPSProxiable",
@@ -207,7 +207,7 @@
207
207
  "nodes": [
208
208
  {
209
209
  "body": {
210
- "id": 46921,
210
+ "id": 46926,
211
211
  "nodeType": "Block",
212
212
  "src": "472:50:108",
213
213
  "statements": [
@@ -217,18 +217,18 @@
217
217
  "expression": {
218
218
  "argumentTypes": [],
219
219
  "expression": {
220
- "id": 46917,
220
+ "id": 46922,
221
221
  "name": "UUPSUtils",
222
222
  "nodeType": "Identifier",
223
223
  "overloadedDeclarations": [],
224
- "referencedDeclaration": 47080,
224
+ "referencedDeclaration": 47085,
225
225
  "src": "489:9:108",
226
226
  "typeDescriptions": {
227
- "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$47080_$",
227
+ "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$47085_$",
228
228
  "typeString": "type(library UUPSUtils)"
229
229
  }
230
230
  },
231
- "id": 46918,
231
+ "id": 46923,
232
232
  "isConstant": false,
233
233
  "isLValue": false,
234
234
  "isPure": false,
@@ -236,14 +236,14 @@
236
236
  "memberLocation": "499:14:108",
237
237
  "memberName": "implementation",
238
238
  "nodeType": "MemberAccess",
239
- "referencedDeclaration": 47071,
239
+ "referencedDeclaration": 47076,
240
240
  "src": "489:24:108",
241
241
  "typeDescriptions": {
242
242
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
243
243
  "typeString": "function () view returns (address)"
244
244
  }
245
245
  },
246
- "id": 46919,
246
+ "id": 46924,
247
247
  "isConstant": false,
248
248
  "isLValue": false,
249
249
  "isPure": false,
@@ -259,21 +259,21 @@
259
259
  "typeString": "address"
260
260
  }
261
261
  },
262
- "functionReturnParameters": 46916,
263
- "id": 46920,
262
+ "functionReturnParameters": 46921,
263
+ "id": 46925,
264
264
  "nodeType": "Return",
265
265
  "src": "482:33:108"
266
266
  }
267
267
  ]
268
268
  },
269
269
  "documentation": {
270
- "id": 46912,
270
+ "id": 46917,
271
271
  "nodeType": "StructuredDocumentation",
272
272
  "src": "331:64:108",
273
273
  "text": " @dev Get current implementation code address."
274
274
  },
275
275
  "functionSelector": "50d75d25",
276
- "id": 46922,
276
+ "id": 46927,
277
277
  "implemented": true,
278
278
  "kind": "function",
279
279
  "modifiers": [],
@@ -281,23 +281,23 @@
281
281
  "nameLocation": "409:14:108",
282
282
  "nodeType": "FunctionDefinition",
283
283
  "parameters": {
284
- "id": 46913,
284
+ "id": 46918,
285
285
  "nodeType": "ParameterList",
286
286
  "parameters": [],
287
287
  "src": "423:2:108"
288
288
  },
289
289
  "returnParameters": {
290
- "id": 46916,
290
+ "id": 46921,
291
291
  "nodeType": "ParameterList",
292
292
  "parameters": [
293
293
  {
294
294
  "constant": false,
295
- "id": 46915,
295
+ "id": 46920,
296
296
  "mutability": "mutable",
297
297
  "name": "codeAddress",
298
298
  "nameLocation": "455:11:108",
299
299
  "nodeType": "VariableDeclaration",
300
- "scope": 46922,
300
+ "scope": 46927,
301
301
  "src": "447:19:108",
302
302
  "stateVariable": false,
303
303
  "storageLocation": "default",
@@ -306,7 +306,7 @@
306
306
  "typeString": "address"
307
307
  },
308
308
  "typeName": {
309
- "id": 46914,
309
+ "id": 46919,
310
310
  "name": "address",
311
311
  "nodeType": "ElementaryTypeName",
312
312
  "src": "447:7:108",
@@ -321,7 +321,7 @@
321
321
  ],
322
322
  "src": "446:21:108"
323
323
  },
324
- "scope": 46999,
324
+ "scope": 47004,
325
325
  "src": "400:122:108",
326
326
  "stateMutability": "view",
327
327
  "virtual": false,
@@ -329,7 +329,7 @@
329
329
  },
330
330
  {
331
331
  "functionSelector": "46951954",
332
- "id": 46927,
332
+ "id": 46932,
333
333
  "implemented": false,
334
334
  "kind": "function",
335
335
  "modifiers": [],
@@ -337,17 +337,17 @@
337
337
  "nameLocation": "537:10:108",
338
338
  "nodeType": "FunctionDefinition",
339
339
  "parameters": {
340
- "id": 46925,
340
+ "id": 46930,
341
341
  "nodeType": "ParameterList",
342
342
  "parameters": [
343
343
  {
344
344
  "constant": false,
345
- "id": 46924,
345
+ "id": 46929,
346
346
  "mutability": "mutable",
347
347
  "name": "newAddress",
348
348
  "nameLocation": "556:10:108",
349
349
  "nodeType": "VariableDeclaration",
350
- "scope": 46927,
350
+ "scope": 46932,
351
351
  "src": "548:18:108",
352
352
  "stateVariable": false,
353
353
  "storageLocation": "default",
@@ -356,7 +356,7 @@
356
356
  "typeString": "address"
357
357
  },
358
358
  "typeName": {
359
- "id": 46923,
359
+ "id": 46928,
360
360
  "name": "address",
361
361
  "nodeType": "ElementaryTypeName",
362
362
  "src": "548:7:108",
@@ -372,12 +372,12 @@
372
372
  "src": "547:20:108"
373
373
  },
374
374
  "returnParameters": {
375
- "id": 46926,
375
+ "id": 46931,
376
376
  "nodeType": "ParameterList",
377
377
  "parameters": [],
378
378
  "src": "584:0:108"
379
379
  },
380
- "scope": 46999,
380
+ "scope": 47004,
381
381
  "src": "528:57:108",
382
382
  "stateMutability": "nonpayable",
383
383
  "virtual": true,
@@ -385,21 +385,21 @@
385
385
  },
386
386
  {
387
387
  "body": {
388
- "id": 46932,
388
+ "id": 46937,
389
389
  "nodeType": "Block",
390
390
  "src": "772:3:108",
391
391
  "statements": []
392
392
  },
393
393
  "functionSelector": "9903ad38",
394
- "id": 46933,
394
+ "id": 46938,
395
395
  "implemented": true,
396
396
  "kind": "function",
397
397
  "modifiers": [
398
398
  {
399
- "id": 46930,
399
+ "id": 46935,
400
400
  "kind": "modifierInvocation",
401
401
  "modifierName": {
402
- "id": 46929,
402
+ "id": 46934,
403
403
  "name": "initializer",
404
404
  "nameLocations": [
405
405
  "760:11:108"
@@ -416,18 +416,18 @@
416
416
  "nameLocation": "740:8:108",
417
417
  "nodeType": "FunctionDefinition",
418
418
  "parameters": {
419
- "id": 46928,
419
+ "id": 46933,
420
420
  "nodeType": "ParameterList",
421
421
  "parameters": [],
422
422
  "src": "748:2:108"
423
423
  },
424
424
  "returnParameters": {
425
- "id": 46931,
425
+ "id": 46936,
426
426
  "nodeType": "ParameterList",
427
427
  "parameters": [],
428
428
  "src": "772:0:108"
429
429
  },
430
- "scope": 46999,
430
+ "scope": 47004,
431
431
  "src": "731:44:108",
432
432
  "stateMutability": "nonpayable",
433
433
  "virtual": false,
@@ -435,13 +435,13 @@
435
435
  },
436
436
  {
437
437
  "documentation": {
438
- "id": 46934,
438
+ "id": 46939,
439
439
  "nodeType": "StructuredDocumentation",
440
440
  "src": "781:286:108",
441
441
  "text": " @dev Proxiable UUID marker function, this would help to avoid wrong logic\n contract to be used for upgrading.\n NOTE: The semantics of the UUID deviates from the actual UUPS standard,\n where it is equivalent of _IMPLEMENTATION_SLOT."
442
442
  },
443
443
  "functionSelector": "52d1902d",
444
- "id": 46939,
444
+ "id": 46944,
445
445
  "implemented": false,
446
446
  "kind": "function",
447
447
  "modifiers": [],
@@ -449,23 +449,23 @@
449
449
  "nameLocation": "1081:13:108",
450
450
  "nodeType": "FunctionDefinition",
451
451
  "parameters": {
452
- "id": 46935,
452
+ "id": 46940,
453
453
  "nodeType": "ParameterList",
454
454
  "parameters": [],
455
455
  "src": "1094:2:108"
456
456
  },
457
457
  "returnParameters": {
458
- "id": 46938,
458
+ "id": 46943,
459
459
  "nodeType": "ParameterList",
460
460
  "parameters": [
461
461
  {
462
462
  "constant": false,
463
- "id": 46937,
463
+ "id": 46942,
464
464
  "mutability": "mutable",
465
465
  "name": "",
466
466
  "nameLocation": "-1:-1:-1",
467
467
  "nodeType": "VariableDeclaration",
468
- "scope": 46939,
468
+ "scope": 46944,
469
469
  "src": "1126:7:108",
470
470
  "stateVariable": false,
471
471
  "storageLocation": "default",
@@ -474,7 +474,7 @@
474
474
  "typeString": "bytes32"
475
475
  },
476
476
  "typeName": {
477
- "id": 46936,
477
+ "id": 46941,
478
478
  "name": "bytes32",
479
479
  "nodeType": "ElementaryTypeName",
480
480
  "src": "1126:7:108",
@@ -488,7 +488,7 @@
488
488
  ],
489
489
  "src": "1125:9:108"
490
490
  },
491
- "scope": 46999,
491
+ "scope": 47004,
492
492
  "src": "1072:63:108",
493
493
  "stateMutability": "view",
494
494
  "virtual": true,
@@ -496,7 +496,7 @@
496
496
  },
497
497
  {
498
498
  "body": {
499
- "id": 46991,
499
+ "id": 46996,
500
500
  "nodeType": "Block",
501
501
  "src": "1350:515:108",
502
502
  "statements": [
@@ -508,7 +508,7 @@
508
508
  "typeIdentifier": "t_address",
509
509
  "typeString": "address"
510
510
  },
511
- "id": 46953,
511
+ "id": 46958,
512
512
  "isConstant": false,
513
513
  "isLValue": false,
514
514
  "isPure": false,
@@ -518,18 +518,18 @@
518
518
  "expression": {
519
519
  "argumentTypes": [],
520
520
  "expression": {
521
- "id": 46946,
521
+ "id": 46951,
522
522
  "name": "UUPSUtils",
523
523
  "nodeType": "Identifier",
524
524
  "overloadedDeclarations": [],
525
- "referencedDeclaration": 47080,
525
+ "referencedDeclaration": 47085,
526
526
  "src": "1419:9:108",
527
527
  "typeDescriptions": {
528
- "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$47080_$",
528
+ "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$47085_$",
529
529
  "typeString": "type(library UUPSUtils)"
530
530
  }
531
531
  },
532
- "id": 46947,
532
+ "id": 46952,
533
533
  "isConstant": false,
534
534
  "isLValue": false,
535
535
  "isPure": false,
@@ -537,14 +537,14 @@
537
537
  "memberLocation": "1429:14:108",
538
538
  "memberName": "implementation",
539
539
  "nodeType": "MemberAccess",
540
- "referencedDeclaration": 47071,
540
+ "referencedDeclaration": 47076,
541
541
  "src": "1419:24:108",
542
542
  "typeDescriptions": {
543
543
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
544
544
  "typeString": "function () view returns (address)"
545
545
  }
546
546
  },
547
- "id": 46948,
547
+ "id": 46953,
548
548
  "isConstant": false,
549
549
  "isLValue": false,
550
550
  "isPure": false,
@@ -566,7 +566,7 @@
566
566
  "arguments": [
567
567
  {
568
568
  "hexValue": "30",
569
- "id": 46951,
569
+ "id": 46956,
570
570
  "isConstant": false,
571
571
  "isLValue": false,
572
572
  "isPure": true,
@@ -588,7 +588,7 @@
588
588
  "typeString": "int_const 0"
589
589
  }
590
590
  ],
591
- "id": 46950,
591
+ "id": 46955,
592
592
  "isConstant": false,
593
593
  "isLValue": false,
594
594
  "isPure": true,
@@ -600,14 +600,14 @@
600
600
  "typeString": "type(address)"
601
601
  },
602
602
  "typeName": {
603
- "id": 46949,
603
+ "id": 46954,
604
604
  "name": "address",
605
605
  "nodeType": "ElementaryTypeName",
606
606
  "src": "1449:7:108",
607
607
  "typeDescriptions": {}
608
608
  }
609
609
  },
610
- "id": 46952,
610
+ "id": 46957,
611
611
  "isConstant": false,
612
612
  "isLValue": false,
613
613
  "isPure": true,
@@ -631,7 +631,7 @@
631
631
  },
632
632
  {
633
633
  "hexValue": "5555505350726f786961626c653a206e6f742075706772616461626c65",
634
- "id": 46954,
634
+ "id": 46959,
635
635
  "isConstant": false,
636
636
  "isLValue": false,
637
637
  "isPure": true,
@@ -657,7 +657,7 @@
657
657
  "typeString": "literal_string \"UUPSProxiable: not upgradable\""
658
658
  }
659
659
  ],
660
- "id": 46945,
660
+ "id": 46950,
661
661
  "name": "require",
662
662
  "nodeType": "Identifier",
663
663
  "overloadedDeclarations": [
@@ -671,7 +671,7 @@
671
671
  "typeString": "function (bool,string memory) pure"
672
672
  }
673
673
  },
674
- "id": 46955,
674
+ "id": 46960,
675
675
  "isConstant": false,
676
676
  "isLValue": false,
677
677
  "isPure": false,
@@ -687,7 +687,7 @@
687
687
  "typeString": "tuple()"
688
688
  }
689
689
  },
690
- "id": 46956,
690
+ "id": 46961,
691
691
  "nodeType": "ExpressionStatement",
692
692
  "src": "1411:82:108"
693
693
  },
@@ -699,7 +699,7 @@
699
699
  "typeIdentifier": "t_bytes32",
700
700
  "typeString": "bytes32"
701
701
  },
702
- "id": 46965,
702
+ "id": 46970,
703
703
  "isConstant": false,
704
704
  "isLValue": false,
705
705
  "isPure": false,
@@ -708,18 +708,18 @@
708
708
  "arguments": [],
709
709
  "expression": {
710
710
  "argumentTypes": [],
711
- "id": 46958,
711
+ "id": 46963,
712
712
  "name": "proxiableUUID",
713
713
  "nodeType": "Identifier",
714
714
  "overloadedDeclarations": [],
715
- "referencedDeclaration": 46939,
715
+ "referencedDeclaration": 46944,
716
716
  "src": "1524:13:108",
717
717
  "typeDescriptions": {
718
718
  "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes32_$",
719
719
  "typeString": "function () view returns (bytes32)"
720
720
  }
721
721
  },
722
- "id": 46959,
722
+ "id": 46964,
723
723
  "isConstant": false,
724
724
  "isLValue": false,
725
725
  "isPure": false,
@@ -744,11 +744,11 @@
744
744
  "expression": {
745
745
  "arguments": [
746
746
  {
747
- "id": 46961,
747
+ "id": 46966,
748
748
  "name": "newAddress",
749
749
  "nodeType": "Identifier",
750
750
  "overloadedDeclarations": [],
751
- "referencedDeclaration": 46942,
751
+ "referencedDeclaration": 46947,
752
752
  "src": "1557:10:108",
753
753
  "typeDescriptions": {
754
754
  "typeIdentifier": "t_address",
@@ -763,18 +763,18 @@
763
763
  "typeString": "address"
764
764
  }
765
765
  ],
766
- "id": 46960,
766
+ "id": 46965,
767
767
  "name": "UUPSProxiable",
768
768
  "nodeType": "Identifier",
769
769
  "overloadedDeclarations": [],
770
- "referencedDeclaration": 46999,
770
+ "referencedDeclaration": 47004,
771
771
  "src": "1543:13:108",
772
772
  "typeDescriptions": {
773
- "typeIdentifier": "t_type$_t_contract$_UUPSProxiable_$46999_$",
773
+ "typeIdentifier": "t_type$_t_contract$_UUPSProxiable_$47004_$",
774
774
  "typeString": "type(contract UUPSProxiable)"
775
775
  }
776
776
  },
777
- "id": 46962,
777
+ "id": 46967,
778
778
  "isConstant": false,
779
779
  "isLValue": false,
780
780
  "isPure": false,
@@ -786,11 +786,11 @@
786
786
  "src": "1543:25:108",
787
787
  "tryCall": false,
788
788
  "typeDescriptions": {
789
- "typeIdentifier": "t_contract$_UUPSProxiable_$46999",
789
+ "typeIdentifier": "t_contract$_UUPSProxiable_$47004",
790
790
  "typeString": "contract UUPSProxiable"
791
791
  }
792
792
  },
793
- "id": 46963,
793
+ "id": 46968,
794
794
  "isConstant": false,
795
795
  "isLValue": false,
796
796
  "isPure": false,
@@ -798,14 +798,14 @@
798
798
  "memberLocation": "1569:13:108",
799
799
  "memberName": "proxiableUUID",
800
800
  "nodeType": "MemberAccess",
801
- "referencedDeclaration": 46939,
801
+ "referencedDeclaration": 46944,
802
802
  "src": "1543:39:108",
803
803
  "typeDescriptions": {
804
804
  "typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$",
805
805
  "typeString": "function () view external returns (bytes32)"
806
806
  }
807
807
  },
808
- "id": 46964,
808
+ "id": 46969,
809
809
  "isConstant": false,
810
810
  "isLValue": false,
811
811
  "isPure": false,
@@ -829,7 +829,7 @@
829
829
  },
830
830
  {
831
831
  "hexValue": "5555505350726f786961626c653a206e6f7420636f6d70617469626c65206c6f676963",
832
- "id": 46966,
832
+ "id": 46971,
833
833
  "isConstant": false,
834
834
  "isLValue": false,
835
835
  "isPure": true,
@@ -855,7 +855,7 @@
855
855
  "typeString": "literal_string \"UUPSProxiable: not compatible logic\""
856
856
  }
857
857
  ],
858
- "id": 46957,
858
+ "id": 46962,
859
859
  "name": "require",
860
860
  "nodeType": "Identifier",
861
861
  "overloadedDeclarations": [
@@ -869,7 +869,7 @@
869
869
  "typeString": "function (bool,string memory) pure"
870
870
  }
871
871
  },
872
- "id": 46967,
872
+ "id": 46972,
873
873
  "isConstant": false,
874
874
  "isLValue": false,
875
875
  "isPure": false,
@@ -885,7 +885,7 @@
885
885
  "typeString": "tuple()"
886
886
  }
887
887
  },
888
- "id": 46968,
888
+ "id": 46973,
889
889
  "nodeType": "ExpressionStatement",
890
890
  "src": "1503:142:108"
891
891
  },
@@ -897,7 +897,7 @@
897
897
  "typeIdentifier": "t_address",
898
898
  "typeString": "address"
899
899
  },
900
- "id": 46975,
900
+ "id": 46980,
901
901
  "isConstant": false,
902
902
  "isLValue": false,
903
903
  "isPure": false,
@@ -905,14 +905,14 @@
905
905
  "leftExpression": {
906
906
  "arguments": [
907
907
  {
908
- "id": 46972,
908
+ "id": 46977,
909
909
  "name": "this",
910
910
  "nodeType": "Identifier",
911
911
  "overloadedDeclarations": [],
912
912
  "referencedDeclaration": 4294967268,
913
913
  "src": "1684:4:108",
914
914
  "typeDescriptions": {
915
- "typeIdentifier": "t_contract$_UUPSProxiable_$46999",
915
+ "typeIdentifier": "t_contract$_UUPSProxiable_$47004",
916
916
  "typeString": "contract UUPSProxiable"
917
917
  }
918
918
  }
@@ -920,11 +920,11 @@
920
920
  "expression": {
921
921
  "argumentTypes": [
922
922
  {
923
- "typeIdentifier": "t_contract$_UUPSProxiable_$46999",
923
+ "typeIdentifier": "t_contract$_UUPSProxiable_$47004",
924
924
  "typeString": "contract UUPSProxiable"
925
925
  }
926
926
  ],
927
- "id": 46971,
927
+ "id": 46976,
928
928
  "isConstant": false,
929
929
  "isLValue": false,
930
930
  "isPure": true,
@@ -936,14 +936,14 @@
936
936
  "typeString": "type(address)"
937
937
  },
938
938
  "typeName": {
939
- "id": 46970,
939
+ "id": 46975,
940
940
  "name": "address",
941
941
  "nodeType": "ElementaryTypeName",
942
942
  "src": "1676:7:108",
943
943
  "typeDescriptions": {}
944
944
  }
945
945
  },
946
- "id": 46973,
946
+ "id": 46978,
947
947
  "isConstant": false,
948
948
  "isLValue": false,
949
949
  "isPure": false,
@@ -962,11 +962,11 @@
962
962
  "nodeType": "BinaryOperation",
963
963
  "operator": "!=",
964
964
  "rightExpression": {
965
- "id": 46974,
965
+ "id": 46979,
966
966
  "name": "newAddress",
967
967
  "nodeType": "Identifier",
968
968
  "overloadedDeclarations": [],
969
- "referencedDeclaration": 46942,
969
+ "referencedDeclaration": 46947,
970
970
  "src": "1693:10:108",
971
971
  "typeDescriptions": {
972
972
  "typeIdentifier": "t_address",
@@ -981,7 +981,7 @@
981
981
  },
982
982
  {
983
983
  "hexValue": "5555505350726f786961626c653a2070726f7879206c6f6f70",
984
- "id": 46976,
984
+ "id": 46981,
985
985
  "isConstant": false,
986
986
  "isLValue": false,
987
987
  "isPure": true,
@@ -1007,7 +1007,7 @@
1007
1007
  "typeString": "literal_string \"UUPSProxiable: proxy loop\""
1008
1008
  }
1009
1009
  ],
1010
- "id": 46969,
1010
+ "id": 46974,
1011
1011
  "name": "require",
1012
1012
  "nodeType": "Identifier",
1013
1013
  "overloadedDeclarations": [
@@ -1021,7 +1021,7 @@
1021
1021
  "typeString": "function (bool,string memory) pure"
1022
1022
  }
1023
1023
  },
1024
- "id": 46977,
1024
+ "id": 46982,
1025
1025
  "isConstant": false,
1026
1026
  "isLValue": false,
1027
1027
  "isPure": false,
@@ -1037,7 +1037,7 @@
1037
1037
  "typeString": "tuple()"
1038
1038
  }
1039
1039
  },
1040
- "id": 46978,
1040
+ "id": 46983,
1041
1041
  "nodeType": "ExpressionStatement",
1042
1042
  "src": "1655:99:108"
1043
1043
  },
@@ -1045,11 +1045,11 @@
1045
1045
  "expression": {
1046
1046
  "arguments": [
1047
1047
  {
1048
- "id": 46982,
1048
+ "id": 46987,
1049
1049
  "name": "newAddress",
1050
1050
  "nodeType": "Identifier",
1051
1051
  "overloadedDeclarations": [],
1052
- "referencedDeclaration": 46942,
1052
+ "referencedDeclaration": 46947,
1053
1053
  "src": "1792:10:108",
1054
1054
  "typeDescriptions": {
1055
1055
  "typeIdentifier": "t_address",
@@ -1065,18 +1065,18 @@
1065
1065
  }
1066
1066
  ],
1067
1067
  "expression": {
1068
- "id": 46979,
1068
+ "id": 46984,
1069
1069
  "name": "UUPSUtils",
1070
1070
  "nodeType": "Identifier",
1071
1071
  "overloadedDeclarations": [],
1072
- "referencedDeclaration": 47080,
1072
+ "referencedDeclaration": 47085,
1073
1073
  "src": "1764:9:108",
1074
1074
  "typeDescriptions": {
1075
- "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$47080_$",
1075
+ "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$47085_$",
1076
1076
  "typeString": "type(library UUPSUtils)"
1077
1077
  }
1078
1078
  },
1079
- "id": 46981,
1079
+ "id": 46986,
1080
1080
  "isConstant": false,
1081
1081
  "isLValue": false,
1082
1082
  "isPure": false,
@@ -1084,14 +1084,14 @@
1084
1084
  "memberLocation": "1774:17:108",
1085
1085
  "memberName": "setImplementation",
1086
1086
  "nodeType": "MemberAccess",
1087
- "referencedDeclaration": 47079,
1087
+ "referencedDeclaration": 47084,
1088
1088
  "src": "1764:27:108",
1089
1089
  "typeDescriptions": {
1090
1090
  "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
1091
1091
  "typeString": "function (address)"
1092
1092
  }
1093
1093
  },
1094
- "id": 46983,
1094
+ "id": 46988,
1095
1095
  "isConstant": false,
1096
1096
  "isLValue": false,
1097
1097
  "isPure": false,
@@ -1107,7 +1107,7 @@
1107
1107
  "typeString": "tuple()"
1108
1108
  }
1109
1109
  },
1110
- "id": 46984,
1110
+ "id": 46989,
1111
1111
  "nodeType": "ExpressionStatement",
1112
1112
  "src": "1764:39:108"
1113
1113
  },
@@ -1118,18 +1118,18 @@
1118
1118
  "arguments": [],
1119
1119
  "expression": {
1120
1120
  "argumentTypes": [],
1121
- "id": 46986,
1121
+ "id": 46991,
1122
1122
  "name": "proxiableUUID",
1123
1123
  "nodeType": "Identifier",
1124
1124
  "overloadedDeclarations": [],
1125
- "referencedDeclaration": 46939,
1125
+ "referencedDeclaration": 46944,
1126
1126
  "src": "1830:13:108",
1127
1127
  "typeDescriptions": {
1128
1128
  "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes32_$",
1129
1129
  "typeString": "function () view returns (bytes32)"
1130
1130
  }
1131
1131
  },
1132
- "id": 46987,
1132
+ "id": 46992,
1133
1133
  "isConstant": false,
1134
1134
  "isLValue": false,
1135
1135
  "isPure": false,
@@ -1146,11 +1146,11 @@
1146
1146
  }
1147
1147
  },
1148
1148
  {
1149
- "id": 46988,
1149
+ "id": 46993,
1150
1150
  "name": "newAddress",
1151
1151
  "nodeType": "Identifier",
1152
1152
  "overloadedDeclarations": [],
1153
- "referencedDeclaration": 46942,
1153
+ "referencedDeclaration": 46947,
1154
1154
  "src": "1847:10:108",
1155
1155
  "typeDescriptions": {
1156
1156
  "typeIdentifier": "t_address",
@@ -1169,18 +1169,18 @@
1169
1169
  "typeString": "address"
1170
1170
  }
1171
1171
  ],
1172
- "id": 46985,
1172
+ "id": 46990,
1173
1173
  "name": "CodeUpdated",
1174
1174
  "nodeType": "Identifier",
1175
1175
  "overloadedDeclarations": [],
1176
- "referencedDeclaration": 46998,
1176
+ "referencedDeclaration": 47003,
1177
1177
  "src": "1818:11:108",
1178
1178
  "typeDescriptions": {
1179
1179
  "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$returns$__$",
1180
1180
  "typeString": "function (bytes32,address)"
1181
1181
  }
1182
1182
  },
1183
- "id": 46989,
1183
+ "id": 46994,
1184
1184
  "isConstant": false,
1185
1185
  "isLValue": false,
1186
1186
  "isPure": false,
@@ -1196,19 +1196,19 @@
1196
1196
  "typeString": "tuple()"
1197
1197
  }
1198
1198
  },
1199
- "id": 46990,
1199
+ "id": 46995,
1200
1200
  "nodeType": "EmitStatement",
1201
1201
  "src": "1813:45:108"
1202
1202
  }
1203
1203
  ]
1204
1204
  },
1205
1205
  "documentation": {
1206
- "id": 46940,
1206
+ "id": 46945,
1207
1207
  "nodeType": "StructuredDocumentation",
1208
1208
  "src": "1141:143:108",
1209
1209
  "text": " @dev Update code address function.\n It is internal, so the derived contract could setup its own permission logic."
1210
1210
  },
1211
- "id": 46992,
1211
+ "id": 46997,
1212
1212
  "implemented": true,
1213
1213
  "kind": "function",
1214
1214
  "modifiers": [],
@@ -1216,17 +1216,17 @@
1216
1216
  "nameLocation": "1298:18:108",
1217
1217
  "nodeType": "FunctionDefinition",
1218
1218
  "parameters": {
1219
- "id": 46943,
1219
+ "id": 46948,
1220
1220
  "nodeType": "ParameterList",
1221
1221
  "parameters": [
1222
1222
  {
1223
1223
  "constant": false,
1224
- "id": 46942,
1224
+ "id": 46947,
1225
1225
  "mutability": "mutable",
1226
1226
  "name": "newAddress",
1227
1227
  "nameLocation": "1325:10:108",
1228
1228
  "nodeType": "VariableDeclaration",
1229
- "scope": 46992,
1229
+ "scope": 46997,
1230
1230
  "src": "1317:18:108",
1231
1231
  "stateVariable": false,
1232
1232
  "storageLocation": "default",
@@ -1235,7 +1235,7 @@
1235
1235
  "typeString": "address"
1236
1236
  },
1237
1237
  "typeName": {
1238
- "id": 46941,
1238
+ "id": 46946,
1239
1239
  "name": "address",
1240
1240
  "nodeType": "ElementaryTypeName",
1241
1241
  "src": "1317:7:108",
@@ -1251,12 +1251,12 @@
1251
1251
  "src": "1316:20:108"
1252
1252
  },
1253
1253
  "returnParameters": {
1254
- "id": 46944,
1254
+ "id": 46949,
1255
1255
  "nodeType": "ParameterList",
1256
1256
  "parameters": [],
1257
1257
  "src": "1350:0:108"
1258
1258
  },
1259
- "scope": 46999,
1259
+ "scope": 47004,
1260
1260
  "src": "1289:576:108",
1261
1261
  "stateMutability": "nonpayable",
1262
1262
  "virtual": false,
@@ -1265,23 +1265,23 @@
1265
1265
  {
1266
1266
  "anonymous": false,
1267
1267
  "eventSelector": "e011bc04c286c344a8fcbb8de77f953da762c3e25d8cdea984147fc4168a5dcc",
1268
- "id": 46998,
1268
+ "id": 47003,
1269
1269
  "name": "CodeUpdated",
1270
1270
  "nameLocation": "1877:11:108",
1271
1271
  "nodeType": "EventDefinition",
1272
1272
  "parameters": {
1273
- "id": 46997,
1273
+ "id": 47002,
1274
1274
  "nodeType": "ParameterList",
1275
1275
  "parameters": [
1276
1276
  {
1277
1277
  "constant": false,
1278
- "id": 46994,
1278
+ "id": 46999,
1279
1279
  "indexed": false,
1280
1280
  "mutability": "mutable",
1281
1281
  "name": "uuid",
1282
1282
  "nameLocation": "1897:4:108",
1283
1283
  "nodeType": "VariableDeclaration",
1284
- "scope": 46998,
1284
+ "scope": 47003,
1285
1285
  "src": "1889:12:108",
1286
1286
  "stateVariable": false,
1287
1287
  "storageLocation": "default",
@@ -1290,7 +1290,7 @@
1290
1290
  "typeString": "bytes32"
1291
1291
  },
1292
1292
  "typeName": {
1293
- "id": 46993,
1293
+ "id": 46998,
1294
1294
  "name": "bytes32",
1295
1295
  "nodeType": "ElementaryTypeName",
1296
1296
  "src": "1889:7:108",
@@ -1303,13 +1303,13 @@
1303
1303
  },
1304
1304
  {
1305
1305
  "constant": false,
1306
- "id": 46996,
1306
+ "id": 47001,
1307
1307
  "indexed": false,
1308
1308
  "mutability": "mutable",
1309
1309
  "name": "codeAddress",
1310
1310
  "nameLocation": "1911:11:108",
1311
1311
  "nodeType": "VariableDeclaration",
1312
- "scope": 46998,
1312
+ "scope": 47003,
1313
1313
  "src": "1903:19:108",
1314
1314
  "stateVariable": false,
1315
1315
  "storageLocation": "default",
@@ -1318,7 +1318,7 @@
1318
1318
  "typeString": "address"
1319
1319
  },
1320
1320
  "typeName": {
1321
- "id": 46995,
1321
+ "id": 47000,
1322
1322
  "name": "address",
1323
1323
  "nodeType": "ElementaryTypeName",
1324
1324
  "src": "1903:7:108",
@@ -1336,7 +1336,7 @@
1336
1336
  "src": "1871:53:108"
1337
1337
  }
1338
1338
  ],
1339
- "scope": 47000,
1339
+ "scope": 47005,
1340
1340
  "src": "275:1652:108",
1341
1341
  "usedErrors": []
1342
1342
  }
@@ -1349,7 +1349,7 @@
1349
1349
  },
1350
1350
  "networks": {},
1351
1351
  "schemaVersion": "3.4.13",
1352
- "updatedAt": "2023-07-12T14:59:22.032Z",
1352
+ "updatedAt": "2023-08-03T14:52:18.709Z",
1353
1353
  "devdoc": {
1354
1354
  "events": {
1355
1355
  "Initialized(uint8)": {