@superfluid-finance/ethereum-contracts 1.7.2-dev.c99f6f9.0 → 1.7.2-dev.dae8ea5.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.
- package/README.md +2 -2
- package/artifacts/contracts/apps/SuperAppBaseFlow.sol/SuperAppBaseFlow.json +13 -13
- package/artifacts/contracts/apps/SuperfluidLoaderLibrary.sol/SuperfluidLoaderLibrary.json +2 -2
- package/artifacts/contracts/mocks/IDASuperAppTester.sol/IDASuperAppTester.json +2 -2
- package/artifacts/contracts/mocks/MockSmartWallet.sol/MockSmartWallet.json +2 -2
- package/artifacts/contracts/mocks/SuperAppBaseFlowTester.sol/SuperAppBaseFlowTester.json +15 -15
- package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppFactoryMock.json +2 -2
- package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMock.json +2 -2
- package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMock2ndLevel.json +2 -2
- package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockAux.json +2 -2
- package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockNotSelfRegistering.json +2 -2
- package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningEmptyCtx.json +2 -2
- package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningInvalidCtx.json +2 -2
- package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockUsingDeprecatedRegisterApp.json +2 -2
- package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockWithRegistrationKey.json +2 -2
- package/artifacts/contracts/mocks/SuperfluidMock.sol/SuperfluidMock.json +2 -2
- package/artifacts/contracts/mocks/SuperfluidMock.sol/SuperfluidUpgradabilityTester.json +2 -2
- package/artifacts/contracts/superfluid/Superfluid.sol/Superfluid.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeployer.sol/SuperfluidFrameworkDeployer.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/CFAv1ForwarderDeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/IDAv1ForwarderDeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/ProxyDeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperTokenDeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidCFAv1DeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidFrameworkDeploymentSteps.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidGovDeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidHostDeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidIDAv1DeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidLoaderDeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidNFTLogicDeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidPeripheryDeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/TokenDeployerLibrary.json +2 -2
- package/build/contracts/AccessControl.json +1 -1
- package/build/contracts/AccessControlEnumerable.json +1 -1
- package/build/contracts/Address.json +1 -1
- package/build/contracts/AgreementBase.json +18 -18
- package/build/contracts/AgreementLibrary.json +165 -165
- package/build/contracts/BaseRelayRecipient.json +57 -57
- package/build/contracts/BatchLiquidator.json +382 -382
- package/build/contracts/BatchOperation.json +614 -614
- package/build/contracts/CFAv1Forwarder.json +1250 -1250
- package/build/contracts/CFAv1ForwarderDeployerLibrary.json +2387 -2387
- package/build/contracts/CFAv1Library.json +389 -389
- package/build/contracts/CallUtils.json +198 -198
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1525 -1525
- package/build/contracts/ConstantFlowAgreementV1.json +1087 -1087
- package/build/contracts/ConstantInflowNFT.json +402 -402
- package/build/contracts/ConstantOutflowNFT.json +661 -661
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +614 -614
- package/build/contracts/CustomSuperTokenBase.json +19 -19
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +1 -1
- package/build/contracts/ERC1820RegistryCompiled.json +22 -22
- package/build/contracts/ERC20.json +1 -1
- package/build/contracts/ERC20WithTokenInfo.json +23 -23
- package/build/contracts/ERC777Helper.json +384 -384
- package/build/contracts/ERC777RecipientDrainingGas.json +863 -863
- package/build/contracts/ERC777RecipientReverting.json +863 -863
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +43 -43
- package/build/contracts/ExclusiveInflowTestApp.json +1525 -1525
- package/build/contracts/FixedSizeData.json +200 -200
- package/build/contracts/FlowExchangeTestApp.json +1526 -1526
- package/build/contracts/FlowNFTBase.json +1280 -1280
- package/build/contracts/FlowOperatorDefinitions.json +614 -614
- package/build/contracts/ForwarderBase.json +190 -190
- package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +677 -677
- package/build/contracts/IConstantInflowNFT.json +54 -54
- package/build/contracts/IConstantOutflowNFT.json +107 -107
- package/build/contracts/IDAv1Forwarder.json +912 -912
- package/build/contracts/IDAv1ForwarderDeployerLibrary.json +2387 -2387
- package/build/contracts/IDAv1Library.json +430 -430
- package/build/contracts/IERC165.json +1 -1
- package/build/contracts/IERC1820Implementer.json +1 -1
- package/build/contracts/IERC1820Registry.json +1 -1
- package/build/contracts/IERC20.json +1 -1
- package/build/contracts/IERC20Metadata.json +1 -1
- package/build/contracts/IERC20Permit.json +1 -1
- package/build/contracts/IERC721.json +1 -1
- package/build/contracts/IERC721Metadata.json +1 -1
- package/build/contracts/IERC777.json +1 -1
- package/build/contracts/IERC777Recipient.json +1 -1
- package/build/contracts/IERC777Sender.json +1 -1
- package/build/contracts/IFlowNFTBase.json +115 -115
- package/build/contracts/IInstantDistributionAgreementV1.json +667 -667
- package/build/contracts/IMultiSigWallet.json +31 -31
- package/build/contracts/IPoolAdminNFT.json +7 -7
- package/build/contracts/IPoolMemberNFT.json +7 -7
- package/build/contracts/IPureSuperToken.json +62 -62
- package/build/contracts/IPureSuperTokenCustom.json +62 -62
- package/build/contracts/IRelayRecipient.json +27 -27
- package/build/contracts/IResolver.json +38 -38
- package/build/contracts/ISETH.json +67 -67
- package/build/contracts/ISETHCustom.json +67 -67
- package/build/contracts/ISuperAgreement.json +50 -50
- package/build/contracts/ISuperApp.json +191 -191
- package/build/contracts/ISuperToken.json +695 -695
- package/build/contracts/ISuperTokenFactory.json +225 -225
- package/build/contracts/ISuperfluid.json +904 -904
- package/build/contracts/ISuperfluidGovernance.json +251 -251
- package/build/contracts/ISuperfluidToken.json +407 -407
- package/build/contracts/ITOGAv1.json +1346 -1346
- package/build/contracts/ITOGAv2.json +1346 -1346
- package/build/contracts/ITOGAv3.json +1346 -1346
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +594 -594
- package/build/contracts/Math.json +1 -1
- package/build/contracts/NonClosableOutflowTestApp.json +1526 -1526
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/ProxyDeployerLibrary.json +2385 -2385
- package/build/contracts/PureSuperToken.json +106 -106
- package/build/contracts/Resolver.json +98 -98
- package/build/contracts/SETHProxy.json +224 -224
- package/build/contracts/SafeCast.json +1 -1
- package/build/contracts/SafeERC20.json +1 -1
- package/build/contracts/SafeGasLibrary.json +51 -51
- package/build/contracts/SafeMath.json +1 -1
- package/build/contracts/SelfDeletingFlowTestApp.json +1525 -1525
- package/build/contracts/SlotsBitmapLibrary.json +457 -457
- package/build/contracts/StreamRedirector.json +704 -704
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +42 -42
- package/build/contracts/SuperAppBaseFlow.json +1580 -1537
- package/build/contracts/SuperAppDefinitions.json +614 -614
- package/build/contracts/SuperToken.json +2714 -2714
- package/build/contracts/SuperTokenDeployerLibrary.json +2386 -2386
- package/build/contracts/SuperTokenFactory.json +1347 -1347
- package/build/contracts/SuperTokenFactoryBase.json +1329 -1329
- package/build/contracts/SuperTokenV1Library.json +5632 -5632
- package/build/contracts/SuperUpgrader.json +439 -439
- package/build/contracts/Superfluid.json +7999 -7996
- package/build/contracts/SuperfluidCFAv1DeployerLibrary.json +2386 -2386
- package/build/contracts/SuperfluidFrameworkDeployer.json +1263 -1263
- package/build/contracts/SuperfluidFrameworkDeploymentSteps.json +2385 -2385
- package/build/contracts/SuperfluidGovDeployerLibrary.json +2386 -2386
- package/build/contracts/SuperfluidGovernanceBase.json +2449 -2449
- package/build/contracts/SuperfluidGovernanceConfigs.json +614 -614
- package/build/contracts/SuperfluidGovernanceII.json +155 -155
- package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
- package/build/contracts/SuperfluidHostDeployerLibrary.json +2385 -2385
- package/build/contracts/SuperfluidIDAv1DeployerLibrary.json +2386 -2386
- package/build/contracts/SuperfluidLoader.json +207 -207
- package/build/contracts/SuperfluidLoaderDeployerLibrary.json +2387 -2387
- package/build/contracts/SuperfluidLoaderLibrary.json +481 -480
- package/build/contracts/SuperfluidNFTLogicDeployerLibrary.json +2390 -2390
- package/build/contracts/SuperfluidPeripheryDeployerLibrary.json +2388 -2388
- package/build/contracts/SuperfluidToken.json +1423 -1423
- package/build/contracts/TOGA.json +1360 -1360
- package/build/contracts/TestGovernance.json +250 -250
- package/build/contracts/TestResolver.json +47 -47
- package/build/contracts/TestToken.json +102 -102
- package/build/contracts/TokenDeployerLibrary.json +2387 -2387
- package/build/contracts/TokenInfo.json +32 -32
- package/build/contracts/UUPSProxiable.json +139 -139
- package/build/contracts/UUPSProxy.json +81 -81
- package/build/contracts/UUPSUtils.json +37 -37
- package/build/contracts-sizes.txt +15 -15
- package/build/typechain/contracts/apps/SuperAppBaseFlow.d.ts +9 -9
- package/build/typechain/contracts/apps/SuperAppBaseFlow.d.ts.map +1 -1
- package/build/typechain/contracts/mocks/SuperAppBaseFlowTester.d.ts +9 -9
- package/build/typechain/contracts/mocks/SuperAppBaseFlowTester.d.ts.map +1 -1
- package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.d.ts +10 -10
- package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.js +13 -13
- package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.js.map +1 -1
- package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/IDASuperAppTester__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/IDASuperAppTester__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/MockSmartWallet__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/MockSmartWallet__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.d.ts +11 -11
- package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.d.ts.map +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.js +14 -14
- package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.js.map +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppFactoryMock__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppFactoryMock__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock2ndLevel__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock2ndLevel__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockAux__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockAux__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningEmptyCtx__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningEmptyCtx__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningInvalidCtx__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningInvalidCtx__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockUsingDeprecatedRegisterApp__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockUsingDeprecatedRegisterApp__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockWithRegistrationKey__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockWithRegistrationKey__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidMock__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidMock__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidUpgradabilityTester__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidUpgradabilityTester__factory.js +1 -1
- package/build/typechain/factories/contracts/superfluid/Superfluid__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/superfluid/Superfluid__factory.js +1 -1
- package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeployer__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeployer__factory.js +1 -1
- package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeploymentSteps__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeploymentSteps__factory.js +1 -1
- package/contracts/apps/SuperAppBaseFlow.sol +11 -10
- package/contracts/apps/SuperfluidLoaderLibrary.sol +1 -1
- package/contracts/superfluid/Superfluid.sol +1 -0
- package/package.json +4 -3
|
@@ -266,24 +266,24 @@
|
|
|
266
266
|
"absolutePath": "project:/contracts/interfaces/superfluid/ISuperTokenFactory.sol",
|
|
267
267
|
"exportedSymbols": {
|
|
268
268
|
"ERC20WithTokenInfo": [
|
|
269
|
-
|
|
269
|
+
25478
|
|
270
270
|
],
|
|
271
271
|
"IERC20": [
|
|
272
272
|
1540
|
|
273
273
|
],
|
|
274
274
|
"ISuperToken": [
|
|
275
|
-
|
|
275
|
+
24397
|
|
276
276
|
],
|
|
277
277
|
"ISuperTokenFactory": [
|
|
278
|
-
|
|
278
|
+
24527
|
|
279
279
|
]
|
|
280
280
|
},
|
|
281
|
-
"id":
|
|
281
|
+
"id": 24528,
|
|
282
282
|
"license": "MIT",
|
|
283
283
|
"nodeType": "SourceUnit",
|
|
284
284
|
"nodes": [
|
|
285
285
|
{
|
|
286
|
-
"id":
|
|
286
|
+
"id": 24399,
|
|
287
287
|
"literals": [
|
|
288
288
|
"solidity",
|
|
289
289
|
">=",
|
|
@@ -296,20 +296,20 @@
|
|
|
296
296
|
{
|
|
297
297
|
"absolutePath": "project:/contracts/interfaces/superfluid/ISuperToken.sol",
|
|
298
298
|
"file": "./ISuperToken.sol",
|
|
299
|
-
"id":
|
|
299
|
+
"id": 24401,
|
|
300
300
|
"nameLocation": "-1:-1:-1",
|
|
301
301
|
"nodeType": "ImportDirective",
|
|
302
|
-
"scope":
|
|
303
|
-
"sourceUnit":
|
|
302
|
+
"scope": 24528,
|
|
303
|
+
"sourceUnit": 24398,
|
|
304
304
|
"src": "59:48:54",
|
|
305
305
|
"symbolAliases": [
|
|
306
306
|
{
|
|
307
307
|
"foreign": {
|
|
308
|
-
"id":
|
|
308
|
+
"id": 24400,
|
|
309
309
|
"name": "ISuperToken",
|
|
310
310
|
"nodeType": "Identifier",
|
|
311
311
|
"overloadedDeclarations": [],
|
|
312
|
-
"referencedDeclaration":
|
|
312
|
+
"referencedDeclaration": 24397,
|
|
313
313
|
"src": "68:11:54",
|
|
314
314
|
"typeDescriptions": {}
|
|
315
315
|
},
|
|
@@ -321,16 +321,16 @@
|
|
|
321
321
|
{
|
|
322
322
|
"absolutePath": "project:/contracts/interfaces/tokens/ERC20WithTokenInfo.sol",
|
|
323
323
|
"file": "../tokens/ERC20WithTokenInfo.sol",
|
|
324
|
-
"id":
|
|
324
|
+
"id": 24404,
|
|
325
325
|
"nameLocation": "-1:-1:-1",
|
|
326
326
|
"nodeType": "ImportDirective",
|
|
327
|
-
"scope":
|
|
328
|
-
"sourceUnit":
|
|
327
|
+
"scope": 24528,
|
|
328
|
+
"sourceUnit": 25479,
|
|
329
329
|
"src": "109:86:54",
|
|
330
330
|
"symbolAliases": [
|
|
331
331
|
{
|
|
332
332
|
"foreign": {
|
|
333
|
-
"id":
|
|
333
|
+
"id": 24402,
|
|
334
334
|
"name": "IERC20",
|
|
335
335
|
"nodeType": "Identifier",
|
|
336
336
|
"overloadedDeclarations": [],
|
|
@@ -342,11 +342,11 @@
|
|
|
342
342
|
},
|
|
343
343
|
{
|
|
344
344
|
"foreign": {
|
|
345
|
-
"id":
|
|
345
|
+
"id": 24403,
|
|
346
346
|
"name": "ERC20WithTokenInfo",
|
|
347
347
|
"nodeType": "Identifier",
|
|
348
348
|
"overloadedDeclarations": [],
|
|
349
|
-
"referencedDeclaration":
|
|
349
|
+
"referencedDeclaration": 25478,
|
|
350
350
|
"src": "134:18:54",
|
|
351
351
|
"typeDescriptions": {}
|
|
352
352
|
},
|
|
@@ -362,15 +362,15 @@
|
|
|
362
362
|
"contractDependencies": [],
|
|
363
363
|
"contractKind": "interface",
|
|
364
364
|
"documentation": {
|
|
365
|
-
"id":
|
|
365
|
+
"id": 24405,
|
|
366
366
|
"nodeType": "StructuredDocumentation",
|
|
367
367
|
"src": "197:69:54",
|
|
368
368
|
"text": " @title Super token factory interface\n @author Superfluid"
|
|
369
369
|
},
|
|
370
370
|
"fullyImplemented": false,
|
|
371
|
-
"id":
|
|
371
|
+
"id": 24527,
|
|
372
372
|
"linearizedBaseContracts": [
|
|
373
|
-
|
|
373
|
+
24527
|
|
374
374
|
],
|
|
375
375
|
"name": "ISuperTokenFactory",
|
|
376
376
|
"nameLocation": "277:18:54",
|
|
@@ -378,12 +378,12 @@
|
|
|
378
378
|
"nodes": [
|
|
379
379
|
{
|
|
380
380
|
"errorSelector": "91d67972",
|
|
381
|
-
"id":
|
|
381
|
+
"id": 24407,
|
|
382
382
|
"name": "SUPER_TOKEN_FACTORY_ALREADY_EXISTS",
|
|
383
383
|
"nameLocation": "483:34:54",
|
|
384
384
|
"nodeType": "ErrorDefinition",
|
|
385
385
|
"parameters": {
|
|
386
|
-
"id":
|
|
386
|
+
"id": 24406,
|
|
387
387
|
"nodeType": "ParameterList",
|
|
388
388
|
"parameters": [],
|
|
389
389
|
"src": "517:2:54"
|
|
@@ -392,12 +392,12 @@
|
|
|
392
392
|
},
|
|
393
393
|
{
|
|
394
394
|
"errorSelector": "872cac48",
|
|
395
|
-
"id":
|
|
395
|
+
"id": 24409,
|
|
396
396
|
"name": "SUPER_TOKEN_FACTORY_DOES_NOT_EXIST",
|
|
397
397
|
"nameLocation": "561:34:54",
|
|
398
398
|
"nodeType": "ErrorDefinition",
|
|
399
399
|
"parameters": {
|
|
400
|
-
"id":
|
|
400
|
+
"id": 24408,
|
|
401
401
|
"nodeType": "ParameterList",
|
|
402
402
|
"parameters": [],
|
|
403
403
|
"src": "595:2:54"
|
|
@@ -406,12 +406,12 @@
|
|
|
406
406
|
},
|
|
407
407
|
{
|
|
408
408
|
"errorSelector": "1b39b9b4",
|
|
409
|
-
"id":
|
|
409
|
+
"id": 24411,
|
|
410
410
|
"name": "SUPER_TOKEN_FACTORY_UNINITIALIZED",
|
|
411
411
|
"nameLocation": "639:33:54",
|
|
412
412
|
"nodeType": "ErrorDefinition",
|
|
413
413
|
"parameters": {
|
|
414
|
-
"id":
|
|
414
|
+
"id": 24410,
|
|
415
415
|
"nodeType": "ParameterList",
|
|
416
416
|
"parameters": [],
|
|
417
417
|
"src": "672:2:54"
|
|
@@ -420,12 +420,12 @@
|
|
|
420
420
|
},
|
|
421
421
|
{
|
|
422
422
|
"errorSelector": "478b8e83",
|
|
423
|
-
"id":
|
|
423
|
+
"id": 24413,
|
|
424
424
|
"name": "SUPER_TOKEN_FACTORY_ONLY_HOST",
|
|
425
425
|
"nameLocation": "717:29:54",
|
|
426
426
|
"nodeType": "ErrorDefinition",
|
|
427
427
|
"parameters": {
|
|
428
|
-
"id":
|
|
428
|
+
"id": 24412,
|
|
429
429
|
"nodeType": "ParameterList",
|
|
430
430
|
"parameters": [],
|
|
431
431
|
"src": "746:2:54"
|
|
@@ -434,12 +434,12 @@
|
|
|
434
434
|
},
|
|
435
435
|
{
|
|
436
436
|
"errorSelector": "c4901a43",
|
|
437
|
-
"id":
|
|
437
|
+
"id": 24415,
|
|
438
438
|
"name": "SUPER_TOKEN_FACTORY_NON_UPGRADEABLE_IS_DEPRECATED",
|
|
439
439
|
"nameLocation": "795:49:54",
|
|
440
440
|
"nodeType": "ErrorDefinition",
|
|
441
441
|
"parameters": {
|
|
442
|
-
"id":
|
|
442
|
+
"id": 24414,
|
|
443
443
|
"nodeType": "ParameterList",
|
|
444
444
|
"parameters": [],
|
|
445
445
|
"src": "844:2:54"
|
|
@@ -448,12 +448,12 @@
|
|
|
448
448
|
},
|
|
449
449
|
{
|
|
450
450
|
"errorSelector": "305c9e82",
|
|
451
|
-
"id":
|
|
451
|
+
"id": 24417,
|
|
452
452
|
"name": "SUPER_TOKEN_FACTORY_ZERO_ADDRESS",
|
|
453
453
|
"nameLocation": "873:32:54",
|
|
454
454
|
"nodeType": "ErrorDefinition",
|
|
455
455
|
"parameters": {
|
|
456
|
-
"id":
|
|
456
|
+
"id": 24416,
|
|
457
457
|
"nodeType": "ParameterList",
|
|
458
458
|
"parameters": [],
|
|
459
459
|
"src": "905:2:54"
|
|
@@ -462,13 +462,13 @@
|
|
|
462
462
|
},
|
|
463
463
|
{
|
|
464
464
|
"documentation": {
|
|
465
|
-
"id":
|
|
465
|
+
"id": 24418,
|
|
466
466
|
"nodeType": "StructuredDocumentation",
|
|
467
467
|
"src": "1133:60:54",
|
|
468
468
|
"text": " @dev Get superfluid host contract address"
|
|
469
469
|
},
|
|
470
470
|
"functionSelector": "20bc4425",
|
|
471
|
-
"id":
|
|
471
|
+
"id": 24423,
|
|
472
472
|
"implemented": false,
|
|
473
473
|
"kind": "function",
|
|
474
474
|
"modifiers": [],
|
|
@@ -476,23 +476,23 @@
|
|
|
476
476
|
"nameLocation": "1207:7:54",
|
|
477
477
|
"nodeType": "FunctionDefinition",
|
|
478
478
|
"parameters": {
|
|
479
|
-
"id":
|
|
479
|
+
"id": 24419,
|
|
480
480
|
"nodeType": "ParameterList",
|
|
481
481
|
"parameters": [],
|
|
482
482
|
"src": "1214:2:54"
|
|
483
483
|
},
|
|
484
484
|
"returnParameters": {
|
|
485
|
-
"id":
|
|
485
|
+
"id": 24422,
|
|
486
486
|
"nodeType": "ParameterList",
|
|
487
487
|
"parameters": [
|
|
488
488
|
{
|
|
489
489
|
"constant": false,
|
|
490
|
-
"id":
|
|
490
|
+
"id": 24421,
|
|
491
491
|
"mutability": "mutable",
|
|
492
492
|
"name": "host",
|
|
493
493
|
"nameLocation": "1247:4:54",
|
|
494
494
|
"nodeType": "VariableDeclaration",
|
|
495
|
-
"scope":
|
|
495
|
+
"scope": 24423,
|
|
496
496
|
"src": "1239:12:54",
|
|
497
497
|
"stateVariable": false,
|
|
498
498
|
"storageLocation": "default",
|
|
@@ -501,7 +501,7 @@
|
|
|
501
501
|
"typeString": "address"
|
|
502
502
|
},
|
|
503
503
|
"typeName": {
|
|
504
|
-
"id":
|
|
504
|
+
"id": 24420,
|
|
505
505
|
"name": "address",
|
|
506
506
|
"nodeType": "ElementaryTypeName",
|
|
507
507
|
"src": "1239:7:54",
|
|
@@ -516,7 +516,7 @@
|
|
|
516
516
|
],
|
|
517
517
|
"src": "1238:14:54"
|
|
518
518
|
},
|
|
519
|
-
"scope":
|
|
519
|
+
"scope": 24527,
|
|
520
520
|
"src": "1198:55:54",
|
|
521
521
|
"stateMutability": "view",
|
|
522
522
|
"virtual": false,
|
|
@@ -524,13 +524,13 @@
|
|
|
524
524
|
},
|
|
525
525
|
{
|
|
526
526
|
"documentation": {
|
|
527
|
-
"id":
|
|
527
|
+
"id": 24424,
|
|
528
528
|
"nodeType": "StructuredDocumentation",
|
|
529
529
|
"src": "1259:32:54",
|
|
530
530
|
"text": "@dev Initialize the contract"
|
|
531
531
|
},
|
|
532
532
|
"functionSelector": "8129fc1c",
|
|
533
|
-
"id":
|
|
533
|
+
"id": 24427,
|
|
534
534
|
"implemented": false,
|
|
535
535
|
"kind": "function",
|
|
536
536
|
"modifiers": [],
|
|
@@ -538,18 +538,18 @@
|
|
|
538
538
|
"nameLocation": "1305:10:54",
|
|
539
539
|
"nodeType": "FunctionDefinition",
|
|
540
540
|
"parameters": {
|
|
541
|
-
"id":
|
|
541
|
+
"id": 24425,
|
|
542
542
|
"nodeType": "ParameterList",
|
|
543
543
|
"parameters": [],
|
|
544
544
|
"src": "1315:2:54"
|
|
545
545
|
},
|
|
546
546
|
"returnParameters": {
|
|
547
|
-
"id":
|
|
547
|
+
"id": 24426,
|
|
548
548
|
"nodeType": "ParameterList",
|
|
549
549
|
"parameters": [],
|
|
550
550
|
"src": "1326:0:54"
|
|
551
551
|
},
|
|
552
|
-
"scope":
|
|
552
|
+
"scope": 24527,
|
|
553
553
|
"src": "1296:31:54",
|
|
554
554
|
"stateMutability": "nonpayable",
|
|
555
555
|
"virtual": false,
|
|
@@ -557,13 +557,13 @@
|
|
|
557
557
|
},
|
|
558
558
|
{
|
|
559
559
|
"documentation": {
|
|
560
|
-
"id":
|
|
560
|
+
"id": 24428,
|
|
561
561
|
"nodeType": "StructuredDocumentation",
|
|
562
562
|
"src": "1333:63:54",
|
|
563
563
|
"text": " @notice Get the canonical super token logic."
|
|
564
564
|
},
|
|
565
565
|
"functionSelector": "9470a5b2",
|
|
566
|
-
"id":
|
|
566
|
+
"id": 24434,
|
|
567
567
|
"implemented": false,
|
|
568
568
|
"kind": "function",
|
|
569
569
|
"modifiers": [],
|
|
@@ -571,47 +571,47 @@
|
|
|
571
571
|
"nameLocation": "1410:18:54",
|
|
572
572
|
"nodeType": "FunctionDefinition",
|
|
573
573
|
"parameters": {
|
|
574
|
-
"id":
|
|
574
|
+
"id": 24429,
|
|
575
575
|
"nodeType": "ParameterList",
|
|
576
576
|
"parameters": [],
|
|
577
577
|
"src": "1428:2:54"
|
|
578
578
|
},
|
|
579
579
|
"returnParameters": {
|
|
580
|
-
"id":
|
|
580
|
+
"id": 24433,
|
|
581
581
|
"nodeType": "ParameterList",
|
|
582
582
|
"parameters": [
|
|
583
583
|
{
|
|
584
584
|
"constant": false,
|
|
585
|
-
"id":
|
|
585
|
+
"id": 24432,
|
|
586
586
|
"mutability": "mutable",
|
|
587
587
|
"name": "superToken",
|
|
588
588
|
"nameLocation": "1466:10:54",
|
|
589
589
|
"nodeType": "VariableDeclaration",
|
|
590
|
-
"scope":
|
|
590
|
+
"scope": 24434,
|
|
591
591
|
"src": "1454:22:54",
|
|
592
592
|
"stateVariable": false,
|
|
593
593
|
"storageLocation": "default",
|
|
594
594
|
"typeDescriptions": {
|
|
595
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
595
|
+
"typeIdentifier": "t_contract$_ISuperToken_$24397",
|
|
596
596
|
"typeString": "contract ISuperToken"
|
|
597
597
|
},
|
|
598
598
|
"typeName": {
|
|
599
|
-
"id":
|
|
599
|
+
"id": 24431,
|
|
600
600
|
"nodeType": "UserDefinedTypeName",
|
|
601
601
|
"pathNode": {
|
|
602
|
-
"id":
|
|
602
|
+
"id": 24430,
|
|
603
603
|
"name": "ISuperToken",
|
|
604
604
|
"nameLocations": [
|
|
605
605
|
"1454:11:54"
|
|
606
606
|
],
|
|
607
607
|
"nodeType": "IdentifierPath",
|
|
608
|
-
"referencedDeclaration":
|
|
608
|
+
"referencedDeclaration": 24397,
|
|
609
609
|
"src": "1454:11:54"
|
|
610
610
|
},
|
|
611
|
-
"referencedDeclaration":
|
|
611
|
+
"referencedDeclaration": 24397,
|
|
612
612
|
"src": "1454:11:54",
|
|
613
613
|
"typeDescriptions": {
|
|
614
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
614
|
+
"typeIdentifier": "t_contract$_ISuperToken_$24397",
|
|
615
615
|
"typeString": "contract ISuperToken"
|
|
616
616
|
}
|
|
617
617
|
},
|
|
@@ -620,7 +620,7 @@
|
|
|
620
620
|
],
|
|
621
621
|
"src": "1453:24:54"
|
|
622
622
|
},
|
|
623
|
-
"scope":
|
|
623
|
+
"scope": 24527,
|
|
624
624
|
"src": "1401:77:54",
|
|
625
625
|
"stateMutability": "view",
|
|
626
626
|
"virtual": false,
|
|
@@ -628,24 +628,24 @@
|
|
|
628
628
|
},
|
|
629
629
|
{
|
|
630
630
|
"canonicalName": "ISuperTokenFactory.Upgradability",
|
|
631
|
-
"id":
|
|
631
|
+
"id": 24438,
|
|
632
632
|
"members": [
|
|
633
633
|
{
|
|
634
|
-
"id":
|
|
634
|
+
"id": 24435,
|
|
635
635
|
"name": "NON_UPGRADABLE",
|
|
636
636
|
"nameLocation": "1642:14:54",
|
|
637
637
|
"nodeType": "EnumValue",
|
|
638
638
|
"src": "1642:14:54"
|
|
639
639
|
},
|
|
640
640
|
{
|
|
641
|
-
"id":
|
|
641
|
+
"id": 24436,
|
|
642
642
|
"name": "SEMI_UPGRADABLE",
|
|
643
643
|
"nameLocation": "1736:15:54",
|
|
644
644
|
"nodeType": "EnumValue",
|
|
645
645
|
"src": "1736:15:54"
|
|
646
646
|
},
|
|
647
647
|
{
|
|
648
|
-
"id":
|
|
648
|
+
"id": 24437,
|
|
649
649
|
"name": "FULL_UPGRADABLE",
|
|
650
650
|
"nameLocation": "1815:15:54",
|
|
651
651
|
"nodeType": "EnumValue",
|
|
@@ -659,13 +659,13 @@
|
|
|
659
659
|
},
|
|
660
660
|
{
|
|
661
661
|
"documentation": {
|
|
662
|
-
"id":
|
|
662
|
+
"id": 24439,
|
|
663
663
|
"nodeType": "StructuredDocumentation",
|
|
664
664
|
"src": "1842:398:54",
|
|
665
665
|
"text": " @notice Create new super token wrapper for the underlying ERC20 token\n @param underlyingToken Underlying ERC20 token\n @param underlyingDecimals Underlying token decimals\n @param upgradability Upgradability mode\n @param name Super token name\n @param symbol Super token symbol\n @return superToken The deployed and initialized wrapper super token"
|
|
666
666
|
},
|
|
667
667
|
"functionSelector": "a6d0c534",
|
|
668
|
-
"id":
|
|
668
|
+
"id": 24457,
|
|
669
669
|
"implemented": false,
|
|
670
670
|
"kind": "function",
|
|
671
671
|
"modifiers": [],
|
|
@@ -673,17 +673,17 @@
|
|
|
673
673
|
"nameLocation": "2254:18:54",
|
|
674
674
|
"nodeType": "FunctionDefinition",
|
|
675
675
|
"parameters": {
|
|
676
|
-
"id":
|
|
676
|
+
"id": 24452,
|
|
677
677
|
"nodeType": "ParameterList",
|
|
678
678
|
"parameters": [
|
|
679
679
|
{
|
|
680
680
|
"constant": false,
|
|
681
|
-
"id":
|
|
681
|
+
"id": 24442,
|
|
682
682
|
"mutability": "mutable",
|
|
683
683
|
"name": "underlyingToken",
|
|
684
684
|
"nameLocation": "2289:15:54",
|
|
685
685
|
"nodeType": "VariableDeclaration",
|
|
686
|
-
"scope":
|
|
686
|
+
"scope": 24457,
|
|
687
687
|
"src": "2282:22:54",
|
|
688
688
|
"stateVariable": false,
|
|
689
689
|
"storageLocation": "default",
|
|
@@ -692,10 +692,10 @@
|
|
|
692
692
|
"typeString": "contract IERC20"
|
|
693
693
|
},
|
|
694
694
|
"typeName": {
|
|
695
|
-
"id":
|
|
695
|
+
"id": 24441,
|
|
696
696
|
"nodeType": "UserDefinedTypeName",
|
|
697
697
|
"pathNode": {
|
|
698
|
-
"id":
|
|
698
|
+
"id": 24440,
|
|
699
699
|
"name": "IERC20",
|
|
700
700
|
"nameLocations": [
|
|
701
701
|
"2282:6:54"
|
|
@@ -715,12 +715,12 @@
|
|
|
715
715
|
},
|
|
716
716
|
{
|
|
717
717
|
"constant": false,
|
|
718
|
-
"id":
|
|
718
|
+
"id": 24444,
|
|
719
719
|
"mutability": "mutable",
|
|
720
720
|
"name": "underlyingDecimals",
|
|
721
721
|
"nameLocation": "2320:18:54",
|
|
722
722
|
"nodeType": "VariableDeclaration",
|
|
723
|
-
"scope":
|
|
723
|
+
"scope": 24457,
|
|
724
724
|
"src": "2314:24:54",
|
|
725
725
|
"stateVariable": false,
|
|
726
726
|
"storageLocation": "default",
|
|
@@ -729,7 +729,7 @@
|
|
|
729
729
|
"typeString": "uint8"
|
|
730
730
|
},
|
|
731
731
|
"typeName": {
|
|
732
|
-
"id":
|
|
732
|
+
"id": 24443,
|
|
733
733
|
"name": "uint8",
|
|
734
734
|
"nodeType": "ElementaryTypeName",
|
|
735
735
|
"src": "2314:5:54",
|
|
@@ -742,36 +742,36 @@
|
|
|
742
742
|
},
|
|
743
743
|
{
|
|
744
744
|
"constant": false,
|
|
745
|
-
"id":
|
|
745
|
+
"id": 24447,
|
|
746
746
|
"mutability": "mutable",
|
|
747
747
|
"name": "upgradability",
|
|
748
748
|
"nameLocation": "2362:13:54",
|
|
749
749
|
"nodeType": "VariableDeclaration",
|
|
750
|
-
"scope":
|
|
750
|
+
"scope": 24457,
|
|
751
751
|
"src": "2348:27:54",
|
|
752
752
|
"stateVariable": false,
|
|
753
753
|
"storageLocation": "default",
|
|
754
754
|
"typeDescriptions": {
|
|
755
|
-
"typeIdentifier": "t_enum$_Upgradability_$
|
|
755
|
+
"typeIdentifier": "t_enum$_Upgradability_$24438",
|
|
756
756
|
"typeString": "enum ISuperTokenFactory.Upgradability"
|
|
757
757
|
},
|
|
758
758
|
"typeName": {
|
|
759
|
-
"id":
|
|
759
|
+
"id": 24446,
|
|
760
760
|
"nodeType": "UserDefinedTypeName",
|
|
761
761
|
"pathNode": {
|
|
762
|
-
"id":
|
|
762
|
+
"id": 24445,
|
|
763
763
|
"name": "Upgradability",
|
|
764
764
|
"nameLocations": [
|
|
765
765
|
"2348:13:54"
|
|
766
766
|
],
|
|
767
767
|
"nodeType": "IdentifierPath",
|
|
768
|
-
"referencedDeclaration":
|
|
768
|
+
"referencedDeclaration": 24438,
|
|
769
769
|
"src": "2348:13:54"
|
|
770
770
|
},
|
|
771
|
-
"referencedDeclaration":
|
|
771
|
+
"referencedDeclaration": 24438,
|
|
772
772
|
"src": "2348:13:54",
|
|
773
773
|
"typeDescriptions": {
|
|
774
|
-
"typeIdentifier": "t_enum$_Upgradability_$
|
|
774
|
+
"typeIdentifier": "t_enum$_Upgradability_$24438",
|
|
775
775
|
"typeString": "enum ISuperTokenFactory.Upgradability"
|
|
776
776
|
}
|
|
777
777
|
},
|
|
@@ -779,12 +779,12 @@
|
|
|
779
779
|
},
|
|
780
780
|
{
|
|
781
781
|
"constant": false,
|
|
782
|
-
"id":
|
|
782
|
+
"id": 24449,
|
|
783
783
|
"mutability": "mutable",
|
|
784
784
|
"name": "name",
|
|
785
785
|
"nameLocation": "2401:4:54",
|
|
786
786
|
"nodeType": "VariableDeclaration",
|
|
787
|
-
"scope":
|
|
787
|
+
"scope": 24457,
|
|
788
788
|
"src": "2385:20:54",
|
|
789
789
|
"stateVariable": false,
|
|
790
790
|
"storageLocation": "calldata",
|
|
@@ -793,7 +793,7 @@
|
|
|
793
793
|
"typeString": "string"
|
|
794
794
|
},
|
|
795
795
|
"typeName": {
|
|
796
|
-
"id":
|
|
796
|
+
"id": 24448,
|
|
797
797
|
"name": "string",
|
|
798
798
|
"nodeType": "ElementaryTypeName",
|
|
799
799
|
"src": "2385:6:54",
|
|
@@ -806,12 +806,12 @@
|
|
|
806
806
|
},
|
|
807
807
|
{
|
|
808
808
|
"constant": false,
|
|
809
|
-
"id":
|
|
809
|
+
"id": 24451,
|
|
810
810
|
"mutability": "mutable",
|
|
811
811
|
"name": "symbol",
|
|
812
812
|
"nameLocation": "2431:6:54",
|
|
813
813
|
"nodeType": "VariableDeclaration",
|
|
814
|
-
"scope":
|
|
814
|
+
"scope": 24457,
|
|
815
815
|
"src": "2415:22:54",
|
|
816
816
|
"stateVariable": false,
|
|
817
817
|
"storageLocation": "calldata",
|
|
@@ -820,7 +820,7 @@
|
|
|
820
820
|
"typeString": "string"
|
|
821
821
|
},
|
|
822
822
|
"typeName": {
|
|
823
|
-
"id":
|
|
823
|
+
"id": 24450,
|
|
824
824
|
"name": "string",
|
|
825
825
|
"nodeType": "ElementaryTypeName",
|
|
826
826
|
"src": "2415:6:54",
|
|
@@ -835,41 +835,41 @@
|
|
|
835
835
|
"src": "2272:171:54"
|
|
836
836
|
},
|
|
837
837
|
"returnParameters": {
|
|
838
|
-
"id":
|
|
838
|
+
"id": 24456,
|
|
839
839
|
"nodeType": "ParameterList",
|
|
840
840
|
"parameters": [
|
|
841
841
|
{
|
|
842
842
|
"constant": false,
|
|
843
|
-
"id":
|
|
843
|
+
"id": 24455,
|
|
844
844
|
"mutability": "mutable",
|
|
845
845
|
"name": "superToken",
|
|
846
846
|
"nameLocation": "2490:10:54",
|
|
847
847
|
"nodeType": "VariableDeclaration",
|
|
848
|
-
"scope":
|
|
848
|
+
"scope": 24457,
|
|
849
849
|
"src": "2478:22:54",
|
|
850
850
|
"stateVariable": false,
|
|
851
851
|
"storageLocation": "default",
|
|
852
852
|
"typeDescriptions": {
|
|
853
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
853
|
+
"typeIdentifier": "t_contract$_ISuperToken_$24397",
|
|
854
854
|
"typeString": "contract ISuperToken"
|
|
855
855
|
},
|
|
856
856
|
"typeName": {
|
|
857
|
-
"id":
|
|
857
|
+
"id": 24454,
|
|
858
858
|
"nodeType": "UserDefinedTypeName",
|
|
859
859
|
"pathNode": {
|
|
860
|
-
"id":
|
|
860
|
+
"id": 24453,
|
|
861
861
|
"name": "ISuperToken",
|
|
862
862
|
"nameLocations": [
|
|
863
863
|
"2478:11:54"
|
|
864
864
|
],
|
|
865
865
|
"nodeType": "IdentifierPath",
|
|
866
|
-
"referencedDeclaration":
|
|
866
|
+
"referencedDeclaration": 24397,
|
|
867
867
|
"src": "2478:11:54"
|
|
868
868
|
},
|
|
869
|
-
"referencedDeclaration":
|
|
869
|
+
"referencedDeclaration": 24397,
|
|
870
870
|
"src": "2478:11:54",
|
|
871
871
|
"typeDescriptions": {
|
|
872
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
872
|
+
"typeIdentifier": "t_contract$_ISuperToken_$24397",
|
|
873
873
|
"typeString": "contract ISuperToken"
|
|
874
874
|
}
|
|
875
875
|
},
|
|
@@ -878,7 +878,7 @@
|
|
|
878
878
|
],
|
|
879
879
|
"src": "2477:24:54"
|
|
880
880
|
},
|
|
881
|
-
"scope":
|
|
881
|
+
"scope": 24527,
|
|
882
882
|
"src": "2245:257:54",
|
|
883
883
|
"stateMutability": "nonpayable",
|
|
884
884
|
"virtual": false,
|
|
@@ -886,13 +886,13 @@
|
|
|
886
886
|
},
|
|
887
887
|
{
|
|
888
888
|
"documentation": {
|
|
889
|
-
"id":
|
|
889
|
+
"id": 24458,
|
|
890
890
|
"nodeType": "StructuredDocumentation",
|
|
891
891
|
"src": "2508:433:54",
|
|
892
892
|
"text": " @notice Create new super token wrapper for the underlying ERC20 token with extra token info\n @param underlyingToken Underlying ERC20 token\n @param upgradability Upgradability mode\n @param name Super token name\n @param symbol Super token symbol\n @return superToken The deployed and initialized wrapper super token\n NOTE:\n - It assumes token provide the .decimals() function"
|
|
893
893
|
},
|
|
894
894
|
"functionSelector": "431f1481",
|
|
895
|
-
"id":
|
|
895
|
+
"id": 24474,
|
|
896
896
|
"implemented": false,
|
|
897
897
|
"kind": "function",
|
|
898
898
|
"modifiers": [],
|
|
@@ -900,41 +900,41 @@
|
|
|
900
900
|
"nameLocation": "2955:18:54",
|
|
901
901
|
"nodeType": "FunctionDefinition",
|
|
902
902
|
"parameters": {
|
|
903
|
-
"id":
|
|
903
|
+
"id": 24469,
|
|
904
904
|
"nodeType": "ParameterList",
|
|
905
905
|
"parameters": [
|
|
906
906
|
{
|
|
907
907
|
"constant": false,
|
|
908
|
-
"id":
|
|
908
|
+
"id": 24461,
|
|
909
909
|
"mutability": "mutable",
|
|
910
910
|
"name": "underlyingToken",
|
|
911
911
|
"nameLocation": "3002:15:54",
|
|
912
912
|
"nodeType": "VariableDeclaration",
|
|
913
|
-
"scope":
|
|
913
|
+
"scope": 24474,
|
|
914
914
|
"src": "2983:34:54",
|
|
915
915
|
"stateVariable": false,
|
|
916
916
|
"storageLocation": "default",
|
|
917
917
|
"typeDescriptions": {
|
|
918
|
-
"typeIdentifier": "t_contract$_ERC20WithTokenInfo_$
|
|
918
|
+
"typeIdentifier": "t_contract$_ERC20WithTokenInfo_$25478",
|
|
919
919
|
"typeString": "contract ERC20WithTokenInfo"
|
|
920
920
|
},
|
|
921
921
|
"typeName": {
|
|
922
|
-
"id":
|
|
922
|
+
"id": 24460,
|
|
923
923
|
"nodeType": "UserDefinedTypeName",
|
|
924
924
|
"pathNode": {
|
|
925
|
-
"id":
|
|
925
|
+
"id": 24459,
|
|
926
926
|
"name": "ERC20WithTokenInfo",
|
|
927
927
|
"nameLocations": [
|
|
928
928
|
"2983:18:54"
|
|
929
929
|
],
|
|
930
930
|
"nodeType": "IdentifierPath",
|
|
931
|
-
"referencedDeclaration":
|
|
931
|
+
"referencedDeclaration": 25478,
|
|
932
932
|
"src": "2983:18:54"
|
|
933
933
|
},
|
|
934
|
-
"referencedDeclaration":
|
|
934
|
+
"referencedDeclaration": 25478,
|
|
935
935
|
"src": "2983:18:54",
|
|
936
936
|
"typeDescriptions": {
|
|
937
|
-
"typeIdentifier": "t_contract$_ERC20WithTokenInfo_$
|
|
937
|
+
"typeIdentifier": "t_contract$_ERC20WithTokenInfo_$25478",
|
|
938
938
|
"typeString": "contract ERC20WithTokenInfo"
|
|
939
939
|
}
|
|
940
940
|
},
|
|
@@ -942,36 +942,36 @@
|
|
|
942
942
|
},
|
|
943
943
|
{
|
|
944
944
|
"constant": false,
|
|
945
|
-
"id":
|
|
945
|
+
"id": 24464,
|
|
946
946
|
"mutability": "mutable",
|
|
947
947
|
"name": "upgradability",
|
|
948
948
|
"nameLocation": "3041:13:54",
|
|
949
949
|
"nodeType": "VariableDeclaration",
|
|
950
|
-
"scope":
|
|
950
|
+
"scope": 24474,
|
|
951
951
|
"src": "3027:27:54",
|
|
952
952
|
"stateVariable": false,
|
|
953
953
|
"storageLocation": "default",
|
|
954
954
|
"typeDescriptions": {
|
|
955
|
-
"typeIdentifier": "t_enum$_Upgradability_$
|
|
955
|
+
"typeIdentifier": "t_enum$_Upgradability_$24438",
|
|
956
956
|
"typeString": "enum ISuperTokenFactory.Upgradability"
|
|
957
957
|
},
|
|
958
958
|
"typeName": {
|
|
959
|
-
"id":
|
|
959
|
+
"id": 24463,
|
|
960
960
|
"nodeType": "UserDefinedTypeName",
|
|
961
961
|
"pathNode": {
|
|
962
|
-
"id":
|
|
962
|
+
"id": 24462,
|
|
963
963
|
"name": "Upgradability",
|
|
964
964
|
"nameLocations": [
|
|
965
965
|
"3027:13:54"
|
|
966
966
|
],
|
|
967
967
|
"nodeType": "IdentifierPath",
|
|
968
|
-
"referencedDeclaration":
|
|
968
|
+
"referencedDeclaration": 24438,
|
|
969
969
|
"src": "3027:13:54"
|
|
970
970
|
},
|
|
971
|
-
"referencedDeclaration":
|
|
971
|
+
"referencedDeclaration": 24438,
|
|
972
972
|
"src": "3027:13:54",
|
|
973
973
|
"typeDescriptions": {
|
|
974
|
-
"typeIdentifier": "t_enum$_Upgradability_$
|
|
974
|
+
"typeIdentifier": "t_enum$_Upgradability_$24438",
|
|
975
975
|
"typeString": "enum ISuperTokenFactory.Upgradability"
|
|
976
976
|
}
|
|
977
977
|
},
|
|
@@ -979,12 +979,12 @@
|
|
|
979
979
|
},
|
|
980
980
|
{
|
|
981
981
|
"constant": false,
|
|
982
|
-
"id":
|
|
982
|
+
"id": 24466,
|
|
983
983
|
"mutability": "mutable",
|
|
984
984
|
"name": "name",
|
|
985
985
|
"nameLocation": "3080:4:54",
|
|
986
986
|
"nodeType": "VariableDeclaration",
|
|
987
|
-
"scope":
|
|
987
|
+
"scope": 24474,
|
|
988
988
|
"src": "3064:20:54",
|
|
989
989
|
"stateVariable": false,
|
|
990
990
|
"storageLocation": "calldata",
|
|
@@ -993,7 +993,7 @@
|
|
|
993
993
|
"typeString": "string"
|
|
994
994
|
},
|
|
995
995
|
"typeName": {
|
|
996
|
-
"id":
|
|
996
|
+
"id": 24465,
|
|
997
997
|
"name": "string",
|
|
998
998
|
"nodeType": "ElementaryTypeName",
|
|
999
999
|
"src": "3064:6:54",
|
|
@@ -1006,12 +1006,12 @@
|
|
|
1006
1006
|
},
|
|
1007
1007
|
{
|
|
1008
1008
|
"constant": false,
|
|
1009
|
-
"id":
|
|
1009
|
+
"id": 24468,
|
|
1010
1010
|
"mutability": "mutable",
|
|
1011
1011
|
"name": "symbol",
|
|
1012
1012
|
"nameLocation": "3110:6:54",
|
|
1013
1013
|
"nodeType": "VariableDeclaration",
|
|
1014
|
-
"scope":
|
|
1014
|
+
"scope": 24474,
|
|
1015
1015
|
"src": "3094:22:54",
|
|
1016
1016
|
"stateVariable": false,
|
|
1017
1017
|
"storageLocation": "calldata",
|
|
@@ -1020,7 +1020,7 @@
|
|
|
1020
1020
|
"typeString": "string"
|
|
1021
1021
|
},
|
|
1022
1022
|
"typeName": {
|
|
1023
|
-
"id":
|
|
1023
|
+
"id": 24467,
|
|
1024
1024
|
"name": "string",
|
|
1025
1025
|
"nodeType": "ElementaryTypeName",
|
|
1026
1026
|
"src": "3094:6:54",
|
|
@@ -1035,41 +1035,41 @@
|
|
|
1035
1035
|
"src": "2973:149:54"
|
|
1036
1036
|
},
|
|
1037
1037
|
"returnParameters": {
|
|
1038
|
-
"id":
|
|
1038
|
+
"id": 24473,
|
|
1039
1039
|
"nodeType": "ParameterList",
|
|
1040
1040
|
"parameters": [
|
|
1041
1041
|
{
|
|
1042
1042
|
"constant": false,
|
|
1043
|
-
"id":
|
|
1043
|
+
"id": 24472,
|
|
1044
1044
|
"mutability": "mutable",
|
|
1045
1045
|
"name": "superToken",
|
|
1046
1046
|
"nameLocation": "3169:10:54",
|
|
1047
1047
|
"nodeType": "VariableDeclaration",
|
|
1048
|
-
"scope":
|
|
1048
|
+
"scope": 24474,
|
|
1049
1049
|
"src": "3157:22:54",
|
|
1050
1050
|
"stateVariable": false,
|
|
1051
1051
|
"storageLocation": "default",
|
|
1052
1052
|
"typeDescriptions": {
|
|
1053
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1053
|
+
"typeIdentifier": "t_contract$_ISuperToken_$24397",
|
|
1054
1054
|
"typeString": "contract ISuperToken"
|
|
1055
1055
|
},
|
|
1056
1056
|
"typeName": {
|
|
1057
|
-
"id":
|
|
1057
|
+
"id": 24471,
|
|
1058
1058
|
"nodeType": "UserDefinedTypeName",
|
|
1059
1059
|
"pathNode": {
|
|
1060
|
-
"id":
|
|
1060
|
+
"id": 24470,
|
|
1061
1061
|
"name": "ISuperToken",
|
|
1062
1062
|
"nameLocations": [
|
|
1063
1063
|
"3157:11:54"
|
|
1064
1064
|
],
|
|
1065
1065
|
"nodeType": "IdentifierPath",
|
|
1066
|
-
"referencedDeclaration":
|
|
1066
|
+
"referencedDeclaration": 24397,
|
|
1067
1067
|
"src": "3157:11:54"
|
|
1068
1068
|
},
|
|
1069
|
-
"referencedDeclaration":
|
|
1069
|
+
"referencedDeclaration": 24397,
|
|
1070
1070
|
"src": "3157:11:54",
|
|
1071
1071
|
"typeDescriptions": {
|
|
1072
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1072
|
+
"typeIdentifier": "t_contract$_ISuperToken_$24397",
|
|
1073
1073
|
"typeString": "contract ISuperToken"
|
|
1074
1074
|
}
|
|
1075
1075
|
},
|
|
@@ -1078,7 +1078,7 @@
|
|
|
1078
1078
|
],
|
|
1079
1079
|
"src": "3156:24:54"
|
|
1080
1080
|
},
|
|
1081
|
-
"scope":
|
|
1081
|
+
"scope": 24527,
|
|
1082
1082
|
"src": "2946:235:54",
|
|
1083
1083
|
"stateMutability": "nonpayable",
|
|
1084
1084
|
"virtual": false,
|
|
@@ -1086,13 +1086,13 @@
|
|
|
1086
1086
|
},
|
|
1087
1087
|
{
|
|
1088
1088
|
"documentation": {
|
|
1089
|
-
"id":
|
|
1089
|
+
"id": 24475,
|
|
1090
1090
|
"nodeType": "StructuredDocumentation",
|
|
1091
1091
|
"src": "3187:318:54",
|
|
1092
1092
|
"text": " @notice Creates a wrapper super token AND sets it in the canonical list OR reverts if it already exists\n @dev salt for create2 is the keccak256 hash of abi.encode(address(_underlyingToken))\n @param _underlyingToken Underlying ERC20 token\n @return ISuperToken the created supertoken"
|
|
1093
1093
|
},
|
|
1094
1094
|
"functionSelector": "151188dc",
|
|
1095
|
-
"id":
|
|
1095
|
+
"id": 24484,
|
|
1096
1096
|
"implemented": false,
|
|
1097
1097
|
"kind": "function",
|
|
1098
1098
|
"modifiers": [],
|
|
@@ -1100,41 +1100,41 @@
|
|
|
1100
1100
|
"nameLocation": "3519:27:54",
|
|
1101
1101
|
"nodeType": "FunctionDefinition",
|
|
1102
1102
|
"parameters": {
|
|
1103
|
-
"id":
|
|
1103
|
+
"id": 24479,
|
|
1104
1104
|
"nodeType": "ParameterList",
|
|
1105
1105
|
"parameters": [
|
|
1106
1106
|
{
|
|
1107
1107
|
"constant": false,
|
|
1108
|
-
"id":
|
|
1108
|
+
"id": 24478,
|
|
1109
1109
|
"mutability": "mutable",
|
|
1110
1110
|
"name": "_underlyingToken",
|
|
1111
1111
|
"nameLocation": "3566:16:54",
|
|
1112
1112
|
"nodeType": "VariableDeclaration",
|
|
1113
|
-
"scope":
|
|
1113
|
+
"scope": 24484,
|
|
1114
1114
|
"src": "3547:35:54",
|
|
1115
1115
|
"stateVariable": false,
|
|
1116
1116
|
"storageLocation": "default",
|
|
1117
1117
|
"typeDescriptions": {
|
|
1118
|
-
"typeIdentifier": "t_contract$_ERC20WithTokenInfo_$
|
|
1118
|
+
"typeIdentifier": "t_contract$_ERC20WithTokenInfo_$25478",
|
|
1119
1119
|
"typeString": "contract ERC20WithTokenInfo"
|
|
1120
1120
|
},
|
|
1121
1121
|
"typeName": {
|
|
1122
|
-
"id":
|
|
1122
|
+
"id": 24477,
|
|
1123
1123
|
"nodeType": "UserDefinedTypeName",
|
|
1124
1124
|
"pathNode": {
|
|
1125
|
-
"id":
|
|
1125
|
+
"id": 24476,
|
|
1126
1126
|
"name": "ERC20WithTokenInfo",
|
|
1127
1127
|
"nameLocations": [
|
|
1128
1128
|
"3547:18:54"
|
|
1129
1129
|
],
|
|
1130
1130
|
"nodeType": "IdentifierPath",
|
|
1131
|
-
"referencedDeclaration":
|
|
1131
|
+
"referencedDeclaration": 25478,
|
|
1132
1132
|
"src": "3547:18:54"
|
|
1133
1133
|
},
|
|
1134
|
-
"referencedDeclaration":
|
|
1134
|
+
"referencedDeclaration": 25478,
|
|
1135
1135
|
"src": "3547:18:54",
|
|
1136
1136
|
"typeDescriptions": {
|
|
1137
|
-
"typeIdentifier": "t_contract$_ERC20WithTokenInfo_$
|
|
1137
|
+
"typeIdentifier": "t_contract$_ERC20WithTokenInfo_$25478",
|
|
1138
1138
|
"typeString": "contract ERC20WithTokenInfo"
|
|
1139
1139
|
}
|
|
1140
1140
|
},
|
|
@@ -1144,41 +1144,41 @@
|
|
|
1144
1144
|
"src": "3546:37:54"
|
|
1145
1145
|
},
|
|
1146
1146
|
"returnParameters": {
|
|
1147
|
-
"id":
|
|
1147
|
+
"id": 24483,
|
|
1148
1148
|
"nodeType": "ParameterList",
|
|
1149
1149
|
"parameters": [
|
|
1150
1150
|
{
|
|
1151
1151
|
"constant": false,
|
|
1152
|
-
"id":
|
|
1152
|
+
"id": 24482,
|
|
1153
1153
|
"mutability": "mutable",
|
|
1154
1154
|
"name": "",
|
|
1155
1155
|
"nameLocation": "-1:-1:-1",
|
|
1156
1156
|
"nodeType": "VariableDeclaration",
|
|
1157
|
-
"scope":
|
|
1157
|
+
"scope": 24484,
|
|
1158
1158
|
"src": "3618:11:54",
|
|
1159
1159
|
"stateVariable": false,
|
|
1160
1160
|
"storageLocation": "default",
|
|
1161
1161
|
"typeDescriptions": {
|
|
1162
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1162
|
+
"typeIdentifier": "t_contract$_ISuperToken_$24397",
|
|
1163
1163
|
"typeString": "contract ISuperToken"
|
|
1164
1164
|
},
|
|
1165
1165
|
"typeName": {
|
|
1166
|
-
"id":
|
|
1166
|
+
"id": 24481,
|
|
1167
1167
|
"nodeType": "UserDefinedTypeName",
|
|
1168
1168
|
"pathNode": {
|
|
1169
|
-
"id":
|
|
1169
|
+
"id": 24480,
|
|
1170
1170
|
"name": "ISuperToken",
|
|
1171
1171
|
"nameLocations": [
|
|
1172
1172
|
"3618:11:54"
|
|
1173
1173
|
],
|
|
1174
1174
|
"nodeType": "IdentifierPath",
|
|
1175
|
-
"referencedDeclaration":
|
|
1175
|
+
"referencedDeclaration": 24397,
|
|
1176
1176
|
"src": "3618:11:54"
|
|
1177
1177
|
},
|
|
1178
|
-
"referencedDeclaration":
|
|
1178
|
+
"referencedDeclaration": 24397,
|
|
1179
1179
|
"src": "3618:11:54",
|
|
1180
1180
|
"typeDescriptions": {
|
|
1181
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1181
|
+
"typeIdentifier": "t_contract$_ISuperToken_$24397",
|
|
1182
1182
|
"typeString": "contract ISuperToken"
|
|
1183
1183
|
}
|
|
1184
1184
|
},
|
|
@@ -1187,7 +1187,7 @@
|
|
|
1187
1187
|
],
|
|
1188
1188
|
"src": "3617:13:54"
|
|
1189
1189
|
},
|
|
1190
|
-
"scope":
|
|
1190
|
+
"scope": 24527,
|
|
1191
1191
|
"src": "3510:121:54",
|
|
1192
1192
|
"stateMutability": "nonpayable",
|
|
1193
1193
|
"virtual": false,
|
|
@@ -1195,13 +1195,13 @@
|
|
|
1195
1195
|
},
|
|
1196
1196
|
{
|
|
1197
1197
|
"documentation": {
|
|
1198
|
-
"id":
|
|
1198
|
+
"id": 24485,
|
|
1199
1199
|
"nodeType": "StructuredDocumentation",
|
|
1200
1200
|
"src": "3637:502:54",
|
|
1201
1201
|
"text": " @notice Computes/Retrieves wrapper super token address given the underlying token address\n @dev We return from our canonical list if it already exists, otherwise we compute it\n @dev note that this function only computes addresses for SEMI_UPGRADABLE SuperTokens\n @param _underlyingToken Underlying ERC20 token address\n @return superTokenAddress Super token address\n @return isDeployed whether the super token is deployed AND set in the canonical mapping"
|
|
1202
1202
|
},
|
|
1203
1203
|
"functionSelector": "bab74c89",
|
|
1204
|
-
"id":
|
|
1204
|
+
"id": 24494,
|
|
1205
1205
|
"implemented": false,
|
|
1206
1206
|
"kind": "function",
|
|
1207
1207
|
"modifiers": [],
|
|
@@ -1209,17 +1209,17 @@
|
|
|
1209
1209
|
"nameLocation": "4153:35:54",
|
|
1210
1210
|
"nodeType": "FunctionDefinition",
|
|
1211
1211
|
"parameters": {
|
|
1212
|
-
"id":
|
|
1212
|
+
"id": 24488,
|
|
1213
1213
|
"nodeType": "ParameterList",
|
|
1214
1214
|
"parameters": [
|
|
1215
1215
|
{
|
|
1216
1216
|
"constant": false,
|
|
1217
|
-
"id":
|
|
1217
|
+
"id": 24487,
|
|
1218
1218
|
"mutability": "mutable",
|
|
1219
1219
|
"name": "_underlyingToken",
|
|
1220
1220
|
"nameLocation": "4197:16:54",
|
|
1221
1221
|
"nodeType": "VariableDeclaration",
|
|
1222
|
-
"scope":
|
|
1222
|
+
"scope": 24494,
|
|
1223
1223
|
"src": "4189:24:54",
|
|
1224
1224
|
"stateVariable": false,
|
|
1225
1225
|
"storageLocation": "default",
|
|
@@ -1228,7 +1228,7 @@
|
|
|
1228
1228
|
"typeString": "address"
|
|
1229
1229
|
},
|
|
1230
1230
|
"typeName": {
|
|
1231
|
-
"id":
|
|
1231
|
+
"id": 24486,
|
|
1232
1232
|
"name": "address",
|
|
1233
1233
|
"nodeType": "ElementaryTypeName",
|
|
1234
1234
|
"src": "4189:7:54",
|
|
@@ -1244,17 +1244,17 @@
|
|
|
1244
1244
|
"src": "4188:26:54"
|
|
1245
1245
|
},
|
|
1246
1246
|
"returnParameters": {
|
|
1247
|
-
"id":
|
|
1247
|
+
"id": 24493,
|
|
1248
1248
|
"nodeType": "ParameterList",
|
|
1249
1249
|
"parameters": [
|
|
1250
1250
|
{
|
|
1251
1251
|
"constant": false,
|
|
1252
|
-
"id":
|
|
1252
|
+
"id": 24490,
|
|
1253
1253
|
"mutability": "mutable",
|
|
1254
1254
|
"name": "superTokenAddress",
|
|
1255
1255
|
"nameLocation": "4270:17:54",
|
|
1256
1256
|
"nodeType": "VariableDeclaration",
|
|
1257
|
-
"scope":
|
|
1257
|
+
"scope": 24494,
|
|
1258
1258
|
"src": "4262:25:54",
|
|
1259
1259
|
"stateVariable": false,
|
|
1260
1260
|
"storageLocation": "default",
|
|
@@ -1263,7 +1263,7 @@
|
|
|
1263
1263
|
"typeString": "address"
|
|
1264
1264
|
},
|
|
1265
1265
|
"typeName": {
|
|
1266
|
-
"id":
|
|
1266
|
+
"id": 24489,
|
|
1267
1267
|
"name": "address",
|
|
1268
1268
|
"nodeType": "ElementaryTypeName",
|
|
1269
1269
|
"src": "4262:7:54",
|
|
@@ -1277,12 +1277,12 @@
|
|
|
1277
1277
|
},
|
|
1278
1278
|
{
|
|
1279
1279
|
"constant": false,
|
|
1280
|
-
"id":
|
|
1280
|
+
"id": 24492,
|
|
1281
1281
|
"mutability": "mutable",
|
|
1282
1282
|
"name": "isDeployed",
|
|
1283
1283
|
"nameLocation": "4294:10:54",
|
|
1284
1284
|
"nodeType": "VariableDeclaration",
|
|
1285
|
-
"scope":
|
|
1285
|
+
"scope": 24494,
|
|
1286
1286
|
"src": "4289:15:54",
|
|
1287
1287
|
"stateVariable": false,
|
|
1288
1288
|
"storageLocation": "default",
|
|
@@ -1291,7 +1291,7 @@
|
|
|
1291
1291
|
"typeString": "bool"
|
|
1292
1292
|
},
|
|
1293
1293
|
"typeName": {
|
|
1294
|
-
"id":
|
|
1294
|
+
"id": 24491,
|
|
1295
1295
|
"name": "bool",
|
|
1296
1296
|
"nodeType": "ElementaryTypeName",
|
|
1297
1297
|
"src": "4289:4:54",
|
|
@@ -1305,7 +1305,7 @@
|
|
|
1305
1305
|
],
|
|
1306
1306
|
"src": "4261:44:54"
|
|
1307
1307
|
},
|
|
1308
|
-
"scope":
|
|
1308
|
+
"scope": 24527,
|
|
1309
1309
|
"src": "4144:162:54",
|
|
1310
1310
|
"stateMutability": "view",
|
|
1311
1311
|
"virtual": false,
|
|
@@ -1313,13 +1313,13 @@
|
|
|
1313
1313
|
},
|
|
1314
1314
|
{
|
|
1315
1315
|
"documentation": {
|
|
1316
|
-
"id":
|
|
1316
|
+
"id": 24495,
|
|
1317
1317
|
"nodeType": "StructuredDocumentation",
|
|
1318
1318
|
"src": "4312:314:54",
|
|
1319
1319
|
"text": " @notice Gets the canonical ERC20 wrapper super token address given the underlying token address\n @dev We return the address if it exists and the zero address otherwise\n @param _underlyingTokenAddress Underlying ERC20 token address\n @return superTokenAddress Super token address"
|
|
1320
1320
|
},
|
|
1321
1321
|
"functionSelector": "eff0a89d",
|
|
1322
|
-
"id":
|
|
1322
|
+
"id": 24502,
|
|
1323
1323
|
"implemented": false,
|
|
1324
1324
|
"kind": "function",
|
|
1325
1325
|
"modifiers": [],
|
|
@@ -1327,17 +1327,17 @@
|
|
|
1327
1327
|
"nameLocation": "4640:24:54",
|
|
1328
1328
|
"nodeType": "FunctionDefinition",
|
|
1329
1329
|
"parameters": {
|
|
1330
|
-
"id":
|
|
1330
|
+
"id": 24498,
|
|
1331
1331
|
"nodeType": "ParameterList",
|
|
1332
1332
|
"parameters": [
|
|
1333
1333
|
{
|
|
1334
1334
|
"constant": false,
|
|
1335
|
-
"id":
|
|
1335
|
+
"id": 24497,
|
|
1336
1336
|
"mutability": "mutable",
|
|
1337
1337
|
"name": "_underlyingTokenAddress",
|
|
1338
1338
|
"nameLocation": "4673:23:54",
|
|
1339
1339
|
"nodeType": "VariableDeclaration",
|
|
1340
|
-
"scope":
|
|
1340
|
+
"scope": 24502,
|
|
1341
1341
|
"src": "4665:31:54",
|
|
1342
1342
|
"stateVariable": false,
|
|
1343
1343
|
"storageLocation": "default",
|
|
@@ -1346,7 +1346,7 @@
|
|
|
1346
1346
|
"typeString": "address"
|
|
1347
1347
|
},
|
|
1348
1348
|
"typeName": {
|
|
1349
|
-
"id":
|
|
1349
|
+
"id": 24496,
|
|
1350
1350
|
"name": "address",
|
|
1351
1351
|
"nodeType": "ElementaryTypeName",
|
|
1352
1352
|
"src": "4665:7:54",
|
|
@@ -1362,17 +1362,17 @@
|
|
|
1362
1362
|
"src": "4664:33:54"
|
|
1363
1363
|
},
|
|
1364
1364
|
"returnParameters": {
|
|
1365
|
-
"id":
|
|
1365
|
+
"id": 24501,
|
|
1366
1366
|
"nodeType": "ParameterList",
|
|
1367
1367
|
"parameters": [
|
|
1368
1368
|
{
|
|
1369
1369
|
"constant": false,
|
|
1370
|
-
"id":
|
|
1370
|
+
"id": 24500,
|
|
1371
1371
|
"mutability": "mutable",
|
|
1372
1372
|
"name": "superTokenAddress",
|
|
1373
1373
|
"nameLocation": "4753:17:54",
|
|
1374
1374
|
"nodeType": "VariableDeclaration",
|
|
1375
|
-
"scope":
|
|
1375
|
+
"scope": 24502,
|
|
1376
1376
|
"src": "4745:25:54",
|
|
1377
1377
|
"stateVariable": false,
|
|
1378
1378
|
"storageLocation": "default",
|
|
@@ -1381,7 +1381,7 @@
|
|
|
1381
1381
|
"typeString": "address"
|
|
1382
1382
|
},
|
|
1383
1383
|
"typeName": {
|
|
1384
|
-
"id":
|
|
1384
|
+
"id": 24499,
|
|
1385
1385
|
"name": "address",
|
|
1386
1386
|
"nodeType": "ElementaryTypeName",
|
|
1387
1387
|
"src": "4745:7:54",
|
|
@@ -1396,7 +1396,7 @@
|
|
|
1396
1396
|
],
|
|
1397
1397
|
"src": "4744:27:54"
|
|
1398
1398
|
},
|
|
1399
|
-
"scope":
|
|
1399
|
+
"scope": 24527,
|
|
1400
1400
|
"src": "4631:141:54",
|
|
1401
1401
|
"stateMutability": "view",
|
|
1402
1402
|
"virtual": false,
|
|
@@ -1404,13 +1404,13 @@
|
|
|
1404
1404
|
},
|
|
1405
1405
|
{
|
|
1406
1406
|
"documentation": {
|
|
1407
|
-
"id":
|
|
1407
|
+
"id": 24503,
|
|
1408
1408
|
"nodeType": "StructuredDocumentation",
|
|
1409
1409
|
"src": "4778:131:54",
|
|
1410
1410
|
"text": " @dev Creates a new custom super token\n @param customSuperTokenProxy address of the custom supertoken proxy"
|
|
1411
1411
|
},
|
|
1412
1412
|
"functionSelector": "d412d344",
|
|
1413
|
-
"id":
|
|
1413
|
+
"id": 24508,
|
|
1414
1414
|
"implemented": false,
|
|
1415
1415
|
"kind": "function",
|
|
1416
1416
|
"modifiers": [],
|
|
@@ -1418,17 +1418,17 @@
|
|
|
1418
1418
|
"nameLocation": "4923:26:54",
|
|
1419
1419
|
"nodeType": "FunctionDefinition",
|
|
1420
1420
|
"parameters": {
|
|
1421
|
-
"id":
|
|
1421
|
+
"id": 24506,
|
|
1422
1422
|
"nodeType": "ParameterList",
|
|
1423
1423
|
"parameters": [
|
|
1424
1424
|
{
|
|
1425
1425
|
"constant": false,
|
|
1426
|
-
"id":
|
|
1426
|
+
"id": 24505,
|
|
1427
1427
|
"mutability": "mutable",
|
|
1428
1428
|
"name": "customSuperTokenProxy",
|
|
1429
1429
|
"nameLocation": "4967:21:54",
|
|
1430
1430
|
"nodeType": "VariableDeclaration",
|
|
1431
|
-
"scope":
|
|
1431
|
+
"scope": 24508,
|
|
1432
1432
|
"src": "4959:29:54",
|
|
1433
1433
|
"stateVariable": false,
|
|
1434
1434
|
"storageLocation": "default",
|
|
@@ -1437,7 +1437,7 @@
|
|
|
1437
1437
|
"typeString": "address"
|
|
1438
1438
|
},
|
|
1439
1439
|
"typeName": {
|
|
1440
|
-
"id":
|
|
1440
|
+
"id": 24504,
|
|
1441
1441
|
"name": "address",
|
|
1442
1442
|
"nodeType": "ElementaryTypeName",
|
|
1443
1443
|
"src": "4959:7:54",
|
|
@@ -1453,12 +1453,12 @@
|
|
|
1453
1453
|
"src": "4949:45:54"
|
|
1454
1454
|
},
|
|
1455
1455
|
"returnParameters": {
|
|
1456
|
-
"id":
|
|
1456
|
+
"id": 24507,
|
|
1457
1457
|
"nodeType": "ParameterList",
|
|
1458
1458
|
"parameters": [],
|
|
1459
1459
|
"src": "5011:0:54"
|
|
1460
1460
|
},
|
|
1461
|
-
"scope":
|
|
1461
|
+
"scope": 24527,
|
|
1462
1462
|
"src": "4914:98:54",
|
|
1463
1463
|
"stateMutability": "nonpayable",
|
|
1464
1464
|
"virtual": false,
|
|
@@ -1467,53 +1467,53 @@
|
|
|
1467
1467
|
{
|
|
1468
1468
|
"anonymous": false,
|
|
1469
1469
|
"documentation": {
|
|
1470
|
-
"id":
|
|
1470
|
+
"id": 24509,
|
|
1471
1471
|
"nodeType": "StructuredDocumentation",
|
|
1472
1472
|
"src": "5018:103:54",
|
|
1473
1473
|
"text": " @dev Super token logic created event\n @param tokenLogic Token logic address"
|
|
1474
1474
|
},
|
|
1475
1475
|
"eventSelector": "c13fb19d60857980e565bf5dae406b8802d3c1cec50c6156b30b12b874029783",
|
|
1476
|
-
"id":
|
|
1476
|
+
"id": 24514,
|
|
1477
1477
|
"name": "SuperTokenLogicCreated",
|
|
1478
1478
|
"nameLocation": "5132:22:54",
|
|
1479
1479
|
"nodeType": "EventDefinition",
|
|
1480
1480
|
"parameters": {
|
|
1481
|
-
"id":
|
|
1481
|
+
"id": 24513,
|
|
1482
1482
|
"nodeType": "ParameterList",
|
|
1483
1483
|
"parameters": [
|
|
1484
1484
|
{
|
|
1485
1485
|
"constant": false,
|
|
1486
|
-
"id":
|
|
1486
|
+
"id": 24512,
|
|
1487
1487
|
"indexed": true,
|
|
1488
1488
|
"mutability": "mutable",
|
|
1489
1489
|
"name": "tokenLogic",
|
|
1490
1490
|
"nameLocation": "5175:10:54",
|
|
1491
1491
|
"nodeType": "VariableDeclaration",
|
|
1492
|
-
"scope":
|
|
1492
|
+
"scope": 24514,
|
|
1493
1493
|
"src": "5155:30:54",
|
|
1494
1494
|
"stateVariable": false,
|
|
1495
1495
|
"storageLocation": "default",
|
|
1496
1496
|
"typeDescriptions": {
|
|
1497
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1497
|
+
"typeIdentifier": "t_contract$_ISuperToken_$24397",
|
|
1498
1498
|
"typeString": "contract ISuperToken"
|
|
1499
1499
|
},
|
|
1500
1500
|
"typeName": {
|
|
1501
|
-
"id":
|
|
1501
|
+
"id": 24511,
|
|
1502
1502
|
"nodeType": "UserDefinedTypeName",
|
|
1503
1503
|
"pathNode": {
|
|
1504
|
-
"id":
|
|
1504
|
+
"id": 24510,
|
|
1505
1505
|
"name": "ISuperToken",
|
|
1506
1506
|
"nameLocations": [
|
|
1507
1507
|
"5155:11:54"
|
|
1508
1508
|
],
|
|
1509
1509
|
"nodeType": "IdentifierPath",
|
|
1510
|
-
"referencedDeclaration":
|
|
1510
|
+
"referencedDeclaration": 24397,
|
|
1511
1511
|
"src": "5155:11:54"
|
|
1512
1512
|
},
|
|
1513
|
-
"referencedDeclaration":
|
|
1513
|
+
"referencedDeclaration": 24397,
|
|
1514
1514
|
"src": "5155:11:54",
|
|
1515
1515
|
"typeDescriptions": {
|
|
1516
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1516
|
+
"typeIdentifier": "t_contract$_ISuperToken_$24397",
|
|
1517
1517
|
"typeString": "contract ISuperToken"
|
|
1518
1518
|
}
|
|
1519
1519
|
},
|
|
@@ -1527,53 +1527,53 @@
|
|
|
1527
1527
|
{
|
|
1528
1528
|
"anonymous": false,
|
|
1529
1529
|
"documentation": {
|
|
1530
|
-
"id":
|
|
1530
|
+
"id": 24515,
|
|
1531
1531
|
"nodeType": "StructuredDocumentation",
|
|
1532
1532
|
"src": "5193:106:54",
|
|
1533
1533
|
"text": " @dev Super token created event\n @param token Newly created super token address"
|
|
1534
1534
|
},
|
|
1535
1535
|
"eventSelector": "b52c6d9d122e8c07769b96d7bb14e66db58ee03fdebaaa2f92547e9c7ef0e65f",
|
|
1536
|
-
"id":
|
|
1536
|
+
"id": 24520,
|
|
1537
1537
|
"name": "SuperTokenCreated",
|
|
1538
1538
|
"nameLocation": "5310:17:54",
|
|
1539
1539
|
"nodeType": "EventDefinition",
|
|
1540
1540
|
"parameters": {
|
|
1541
|
-
"id":
|
|
1541
|
+
"id": 24519,
|
|
1542
1542
|
"nodeType": "ParameterList",
|
|
1543
1543
|
"parameters": [
|
|
1544
1544
|
{
|
|
1545
1545
|
"constant": false,
|
|
1546
|
-
"id":
|
|
1546
|
+
"id": 24518,
|
|
1547
1547
|
"indexed": true,
|
|
1548
1548
|
"mutability": "mutable",
|
|
1549
1549
|
"name": "token",
|
|
1550
1550
|
"nameLocation": "5348:5:54",
|
|
1551
1551
|
"nodeType": "VariableDeclaration",
|
|
1552
|
-
"scope":
|
|
1552
|
+
"scope": 24520,
|
|
1553
1553
|
"src": "5328:25:54",
|
|
1554
1554
|
"stateVariable": false,
|
|
1555
1555
|
"storageLocation": "default",
|
|
1556
1556
|
"typeDescriptions": {
|
|
1557
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1557
|
+
"typeIdentifier": "t_contract$_ISuperToken_$24397",
|
|
1558
1558
|
"typeString": "contract ISuperToken"
|
|
1559
1559
|
},
|
|
1560
1560
|
"typeName": {
|
|
1561
|
-
"id":
|
|
1561
|
+
"id": 24517,
|
|
1562
1562
|
"nodeType": "UserDefinedTypeName",
|
|
1563
1563
|
"pathNode": {
|
|
1564
|
-
"id":
|
|
1564
|
+
"id": 24516,
|
|
1565
1565
|
"name": "ISuperToken",
|
|
1566
1566
|
"nameLocations": [
|
|
1567
1567
|
"5328:11:54"
|
|
1568
1568
|
],
|
|
1569
1569
|
"nodeType": "IdentifierPath",
|
|
1570
|
-
"referencedDeclaration":
|
|
1570
|
+
"referencedDeclaration": 24397,
|
|
1571
1571
|
"src": "5328:11:54"
|
|
1572
1572
|
},
|
|
1573
|
-
"referencedDeclaration":
|
|
1573
|
+
"referencedDeclaration": 24397,
|
|
1574
1574
|
"src": "5328:11:54",
|
|
1575
1575
|
"typeDescriptions": {
|
|
1576
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1576
|
+
"typeIdentifier": "t_contract$_ISuperToken_$24397",
|
|
1577
1577
|
"typeString": "contract ISuperToken"
|
|
1578
1578
|
}
|
|
1579
1579
|
},
|
|
@@ -1587,53 +1587,53 @@
|
|
|
1587
1587
|
{
|
|
1588
1588
|
"anonymous": false,
|
|
1589
1589
|
"documentation": {
|
|
1590
|
-
"id":
|
|
1590
|
+
"id": 24521,
|
|
1591
1591
|
"nodeType": "StructuredDocumentation",
|
|
1592
1592
|
"src": "5361:120:54",
|
|
1593
1593
|
"text": " @dev Custom super token created event\n @param token Newly created custom super token address"
|
|
1594
1594
|
},
|
|
1595
1595
|
"eventSelector": "437790724a6e97b75d23117f28cdd4b1beeafc34f7a0911ef256e9334f4369a5",
|
|
1596
|
-
"id":
|
|
1596
|
+
"id": 24526,
|
|
1597
1597
|
"name": "CustomSuperTokenCreated",
|
|
1598
1598
|
"nameLocation": "5492:23:54",
|
|
1599
1599
|
"nodeType": "EventDefinition",
|
|
1600
1600
|
"parameters": {
|
|
1601
|
-
"id":
|
|
1601
|
+
"id": 24525,
|
|
1602
1602
|
"nodeType": "ParameterList",
|
|
1603
1603
|
"parameters": [
|
|
1604
1604
|
{
|
|
1605
1605
|
"constant": false,
|
|
1606
|
-
"id":
|
|
1606
|
+
"id": 24524,
|
|
1607
1607
|
"indexed": true,
|
|
1608
1608
|
"mutability": "mutable",
|
|
1609
1609
|
"name": "token",
|
|
1610
1610
|
"nameLocation": "5536:5:54",
|
|
1611
1611
|
"nodeType": "VariableDeclaration",
|
|
1612
|
-
"scope":
|
|
1612
|
+
"scope": 24526,
|
|
1613
1613
|
"src": "5516:25:54",
|
|
1614
1614
|
"stateVariable": false,
|
|
1615
1615
|
"storageLocation": "default",
|
|
1616
1616
|
"typeDescriptions": {
|
|
1617
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1617
|
+
"typeIdentifier": "t_contract$_ISuperToken_$24397",
|
|
1618
1618
|
"typeString": "contract ISuperToken"
|
|
1619
1619
|
},
|
|
1620
1620
|
"typeName": {
|
|
1621
|
-
"id":
|
|
1621
|
+
"id": 24523,
|
|
1622
1622
|
"nodeType": "UserDefinedTypeName",
|
|
1623
1623
|
"pathNode": {
|
|
1624
|
-
"id":
|
|
1624
|
+
"id": 24522,
|
|
1625
1625
|
"name": "ISuperToken",
|
|
1626
1626
|
"nameLocations": [
|
|
1627
1627
|
"5516:11:54"
|
|
1628
1628
|
],
|
|
1629
1629
|
"nodeType": "IdentifierPath",
|
|
1630
|
-
"referencedDeclaration":
|
|
1630
|
+
"referencedDeclaration": 24397,
|
|
1631
1631
|
"src": "5516:11:54"
|
|
1632
1632
|
},
|
|
1633
|
-
"referencedDeclaration":
|
|
1633
|
+
"referencedDeclaration": 24397,
|
|
1634
1634
|
"src": "5516:11:54",
|
|
1635
1635
|
"typeDescriptions": {
|
|
1636
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1636
|
+
"typeIdentifier": "t_contract$_ISuperToken_$24397",
|
|
1637
1637
|
"typeString": "contract ISuperToken"
|
|
1638
1638
|
}
|
|
1639
1639
|
},
|
|
@@ -1645,15 +1645,15 @@
|
|
|
1645
1645
|
"src": "5486:57:54"
|
|
1646
1646
|
}
|
|
1647
1647
|
],
|
|
1648
|
-
"scope":
|
|
1648
|
+
"scope": 24528,
|
|
1649
1649
|
"src": "267:5279:54",
|
|
1650
1650
|
"usedErrors": [
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1651
|
+
24407,
|
|
1652
|
+
24409,
|
|
1653
|
+
24411,
|
|
1654
|
+
24413,
|
|
1655
|
+
24415,
|
|
1656
|
+
24417
|
|
1657
1657
|
]
|
|
1658
1658
|
}
|
|
1659
1659
|
],
|
|
@@ -1665,7 +1665,7 @@
|
|
|
1665
1665
|
},
|
|
1666
1666
|
"networks": {},
|
|
1667
1667
|
"schemaVersion": "3.4.13",
|
|
1668
|
-
"updatedAt": "2023-
|
|
1668
|
+
"updatedAt": "2023-08-06T18:11:20.928Z",
|
|
1669
1669
|
"devdoc": {
|
|
1670
1670
|
"author": "Superfluid",
|
|
1671
1671
|
"events": {
|