@superfluid-finance/ethereum-contracts 1.4.1-dev.e675dbc.0 → 1.4.2-dev.e06ddfc.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/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 +28 -28
- package/build/contracts/AgreementLibrary.json +165 -165
- package/build/contracts/BaseRelayRecipient.json +55 -55
- package/build/contracts/BatchLiquidator.json +208 -208
- package/build/contracts/BatchOperation.json +784 -784
- package/build/contracts/CFAv1Forwarder.json +2299 -2473
- package/build/contracts/CFAv1Library.json +2279 -2279
- package/build/contracts/CallUtils.json +198 -198
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1544 -1544
- package/build/contracts/ConstantFlowAgreementV1.json +8579 -8423
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +784 -784
- package/build/contracts/Create2.json +1 -1
- 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/ERC20Burnable.json +1 -1
- package/build/contracts/ERC20Pausable.json +1 -1
- package/build/contracts/ERC20PresetMinterPauser.json +1 -1
- package/build/contracts/ERC20WithTokenInfo.json +23 -23
- package/build/contracts/ERC777Helper.json +380 -380
- package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
- package/build/contracts/ERC777RecipientReverting.json +855 -855
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +43 -43
- package/build/contracts/ExclusiveInflowTestApp.json +1544 -1544
- package/build/contracts/FixedSizeData.json +200 -200
- package/build/contracts/FlowExchangeTestApp.json +1545 -1545
- package/build/contracts/FlowOperatorDefinitions.json +784 -784
- 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 +608 -608
- package/build/contracts/IDAv1Library.json +2611 -2611
- 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/IERC777.json +1 -1
- package/build/contracts/IERC777Recipient.json +1 -1
- package/build/contracts/IERC777Sender.json +1 -1
- package/build/contracts/IInstantDistributionAgreementV1.json +652 -652
- package/build/contracts/IMultiSigWallet.json +24 -24
- package/build/contracts/IPureSuperToken.json +47 -47
- package/build/contracts/IPureSuperTokenCustom.json +47 -47
- package/build/contracts/IRelayRecipient.json +27 -27
- package/build/contracts/IResolver.json +38 -38
- package/build/contracts/ISETH.json +52 -52
- package/build/contracts/ISETHCustom.json +52 -52
- package/build/contracts/ISuperAgreement.json +50 -50
- package/build/contracts/ISuperApp.json +191 -191
- package/build/contracts/ISuperToken.json +544 -544
- package/build/contracts/ISuperTokenFactory.json +166 -166
- package/build/contracts/ISuperfluid.json +874 -874
- package/build/contracts/ISuperfluidGovernance.json +254 -254
- package/build/contracts/ISuperfluidToken.json +395 -395
- package/build/contracts/ITOGAv1.json +1441 -1441
- package/build/contracts/ITOGAv2.json +1441 -1441
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5893 -5893
- package/build/contracts/NonClosableOutflowTestApp.json +1545 -1545
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Pausable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- 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/SafeMath.json +1 -1
- package/build/contracts/SelfDeletingFlowTestApp.json +1544 -1544
- package/build/contracts/SlotsBitmapLibrary.json +457 -457
- package/build/contracts/StreamRedirector.json +745 -745
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +239 -239
- package/build/contracts/SuperAppDefinitions.json +784 -784
- package/build/contracts/SuperToken.json +2475 -2475
- package/build/contracts/SuperTokenFactory.json +774 -774
- package/build/contracts/SuperTokenFactoryBase.json +764 -764
- package/build/contracts/SuperTokenFactoryHelper.json +767 -767
- package/build/contracts/SuperUpgrader.json +437 -437
- package/build/contracts/Superfluid.json +5082 -5082
- package/build/contracts/SuperfluidErrors.json +784 -784
- package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
- package/build/contracts/SuperfluidGovernanceBase.json +2459 -2459
- package/build/contracts/SuperfluidGovernanceConfigs.json +784 -784
- package/build/contracts/SuperfluidGovernanceII.json +155 -155
- package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
- package/build/contracts/SuperfluidLoader.json +207 -207
- package/build/contracts/SuperfluidToken.json +1471 -1471
- package/build/contracts/TOGA.json +1457 -1457
- package/build/contracts/TestGovernance.json +250 -250
- package/build/contracts/TestToken.json +93 -93
- package/build/contracts/TokenCustodian.json +214 -214
- 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 +1 -1
- package/contracts/agreements/ConstantFlowAgreementV1.sol +8 -3
- package/contracts/utils/CFAv1Forwarder.sol +2 -6
- package/package.json +10 -6
- package/scripts/deploy-deterministically.js +35 -24
- package/scripts/deploy-framework.js +65 -38
- package/scripts/gov-upgrade-governance.js +87 -0
- package/scripts/info-print-contract-addresses.js +1 -1
- package/scripts/libs/common.js +2 -1
- package/scripts/libs/getConfig.js +1 -1
|
@@ -5346,18 +5346,18 @@
|
|
|
5346
5346
|
444
|
|
5347
5347
|
],
|
|
5348
5348
|
"IResolver": [
|
|
5349
|
-
|
|
5349
|
+
21086
|
|
5350
5350
|
],
|
|
5351
5351
|
"Resolver": [
|
|
5352
|
-
|
|
5352
|
+
38537
|
|
5353
5353
|
]
|
|
5354
5354
|
},
|
|
5355
|
-
"id":
|
|
5355
|
+
"id": 38538,
|
|
5356
5356
|
"license": "AGPLv3",
|
|
5357
5357
|
"nodeType": "SourceUnit",
|
|
5358
5358
|
"nodes": [
|
|
5359
5359
|
{
|
|
5360
|
-
"id":
|
|
5360
|
+
"id": 38471,
|
|
5361
5361
|
"literals": [
|
|
5362
5362
|
"solidity",
|
|
5363
5363
|
"0.8",
|
|
@@ -5369,16 +5369,16 @@
|
|
|
5369
5369
|
{
|
|
5370
5370
|
"absolutePath": "@openzeppelin/contracts/access/AccessControlEnumerable.sol",
|
|
5371
5371
|
"file": "@openzeppelin/contracts/access/AccessControlEnumerable.sol",
|
|
5372
|
-
"id":
|
|
5372
|
+
"id": 38473,
|
|
5373
5373
|
"nameLocation": "-1:-1:-1",
|
|
5374
5374
|
"nodeType": "ImportDirective",
|
|
5375
|
-
"scope":
|
|
5375
|
+
"scope": 38538,
|
|
5376
5376
|
"sourceUnit": 445,
|
|
5377
5377
|
"src": "60:101:98",
|
|
5378
5378
|
"symbolAliases": [
|
|
5379
5379
|
{
|
|
5380
5380
|
"foreign": {
|
|
5381
|
-
"id":
|
|
5381
|
+
"id": 38472,
|
|
5382
5382
|
"name": "AccessControlEnumerable",
|
|
5383
5383
|
"nodeType": "Identifier",
|
|
5384
5384
|
"overloadedDeclarations": [],
|
|
@@ -5394,20 +5394,20 @@
|
|
|
5394
5394
|
{
|
|
5395
5395
|
"absolutePath": "project:/contracts/interfaces/utils/IResolver.sol",
|
|
5396
5396
|
"file": "../interfaces/utils/IResolver.sol",
|
|
5397
|
-
"id":
|
|
5397
|
+
"id": 38475,
|
|
5398
5398
|
"nameLocation": "-1:-1:-1",
|
|
5399
5399
|
"nodeType": "ImportDirective",
|
|
5400
|
-
"scope":
|
|
5401
|
-
"sourceUnit":
|
|
5400
|
+
"scope": 38538,
|
|
5401
|
+
"sourceUnit": 21087,
|
|
5402
5402
|
"src": "162:62:98",
|
|
5403
5403
|
"symbolAliases": [
|
|
5404
5404
|
{
|
|
5405
5405
|
"foreign": {
|
|
5406
|
-
"id":
|
|
5406
|
+
"id": 38474,
|
|
5407
5407
|
"name": "IResolver",
|
|
5408
5408
|
"nodeType": "Identifier",
|
|
5409
5409
|
"overloadedDeclarations": [],
|
|
5410
|
-
"referencedDeclaration":
|
|
5410
|
+
"referencedDeclaration": 21086,
|
|
5411
5411
|
"src": "171:9:98",
|
|
5412
5412
|
"typeDescriptions": {}
|
|
5413
5413
|
},
|
|
@@ -5421,22 +5421,22 @@
|
|
|
5421
5421
|
"baseContracts": [
|
|
5422
5422
|
{
|
|
5423
5423
|
"baseName": {
|
|
5424
|
-
"id":
|
|
5424
|
+
"id": 38477,
|
|
5425
5425
|
"name": "IResolver",
|
|
5426
5426
|
"nameLocations": [
|
|
5427
5427
|
"545:9:98"
|
|
5428
5428
|
],
|
|
5429
5429
|
"nodeType": "IdentifierPath",
|
|
5430
|
-
"referencedDeclaration":
|
|
5430
|
+
"referencedDeclaration": 21086,
|
|
5431
5431
|
"src": "545:9:98"
|
|
5432
5432
|
},
|
|
5433
|
-
"id":
|
|
5433
|
+
"id": 38478,
|
|
5434
5434
|
"nodeType": "InheritanceSpecifier",
|
|
5435
5435
|
"src": "545:9:98"
|
|
5436
5436
|
},
|
|
5437
5437
|
{
|
|
5438
5438
|
"baseName": {
|
|
5439
|
-
"id":
|
|
5439
|
+
"id": 38479,
|
|
5440
5440
|
"name": "AccessControlEnumerable",
|
|
5441
5441
|
"nameLocations": [
|
|
5442
5442
|
"556:23:98"
|
|
@@ -5445,7 +5445,7 @@
|
|
|
5445
5445
|
"referencedDeclaration": 444,
|
|
5446
5446
|
"src": "556:23:98"
|
|
5447
5447
|
},
|
|
5448
|
-
"id":
|
|
5448
|
+
"id": 38480,
|
|
5449
5449
|
"nodeType": "InheritanceSpecifier",
|
|
5450
5450
|
"src": "556:23:98"
|
|
5451
5451
|
}
|
|
@@ -5454,15 +5454,15 @@
|
|
|
5454
5454
|
"contractDependencies": [],
|
|
5455
5455
|
"contractKind": "contract",
|
|
5456
5456
|
"documentation": {
|
|
5457
|
-
"id":
|
|
5457
|
+
"id": 38476,
|
|
5458
5458
|
"nodeType": "StructuredDocumentation",
|
|
5459
5459
|
"src": "227:296:98",
|
|
5460
5460
|
"text": " @title Resolver contract\n @author Superfluid\n @dev A simple implementation of IResolver using OZ AccessControl\n NOTE:\n Relevant events for indexing:\n - OZ Access Control events `RoleGranted`/`RoleRevoked`: admin add/remove\n - IResolver event `Set`: resolver name updates"
|
|
5461
5461
|
},
|
|
5462
5462
|
"fullyImplemented": true,
|
|
5463
|
-
"id":
|
|
5463
|
+
"id": 38537,
|
|
5464
5464
|
"linearizedBaseContracts": [
|
|
5465
|
-
|
|
5465
|
+
38537,
|
|
5466
5466
|
444,
|
|
5467
5467
|
319,
|
|
5468
5468
|
3070,
|
|
@@ -5470,7 +5470,7 @@
|
|
|
5470
5470
|
542,
|
|
5471
5471
|
517,
|
|
5472
5472
|
2709,
|
|
5473
|
-
|
|
5473
|
+
21086
|
|
5474
5474
|
],
|
|
5475
5475
|
"name": "Resolver",
|
|
5476
5476
|
"nameLocation": "533:8:98",
|
|
@@ -5478,12 +5478,12 @@
|
|
|
5478
5478
|
"nodes": [
|
|
5479
5479
|
{
|
|
5480
5480
|
"constant": false,
|
|
5481
|
-
"id":
|
|
5481
|
+
"id": 38484,
|
|
5482
5482
|
"mutability": "mutable",
|
|
5483
5483
|
"name": "_registry",
|
|
5484
5484
|
"nameLocation": "622:9:98",
|
|
5485
5485
|
"nodeType": "VariableDeclaration",
|
|
5486
|
-
"scope":
|
|
5486
|
+
"scope": 38537,
|
|
5487
5487
|
"src": "587:44:98",
|
|
5488
5488
|
"stateVariable": true,
|
|
5489
5489
|
"storageLocation": "default",
|
|
@@ -5492,9 +5492,9 @@
|
|
|
5492
5492
|
"typeString": "mapping(string => address)"
|
|
5493
5493
|
},
|
|
5494
5494
|
"typeName": {
|
|
5495
|
-
"id":
|
|
5495
|
+
"id": 38483,
|
|
5496
5496
|
"keyType": {
|
|
5497
|
-
"id":
|
|
5497
|
+
"id": 38481,
|
|
5498
5498
|
"name": "string",
|
|
5499
5499
|
"nodeType": "ElementaryTypeName",
|
|
5500
5500
|
"src": "595:6:98",
|
|
@@ -5510,7 +5510,7 @@
|
|
|
5510
5510
|
"typeString": "mapping(string => address)"
|
|
5511
5511
|
},
|
|
5512
5512
|
"valueType": {
|
|
5513
|
-
"id":
|
|
5513
|
+
"id": 38482,
|
|
5514
5514
|
"name": "address",
|
|
5515
5515
|
"nodeType": "ElementaryTypeName",
|
|
5516
5516
|
"src": "605:7:98",
|
|
@@ -5525,7 +5525,7 @@
|
|
|
5525
5525
|
},
|
|
5526
5526
|
{
|
|
5527
5527
|
"body": {
|
|
5528
|
-
"id":
|
|
5528
|
+
"id": 38493,
|
|
5529
5529
|
"nodeType": "Block",
|
|
5530
5530
|
"src": "652:59:98",
|
|
5531
5531
|
"statements": [
|
|
@@ -5533,7 +5533,7 @@
|
|
|
5533
5533
|
"expression": {
|
|
5534
5534
|
"arguments": [
|
|
5535
5535
|
{
|
|
5536
|
-
"id":
|
|
5536
|
+
"id": 38488,
|
|
5537
5537
|
"name": "DEFAULT_ADMIN_ROLE",
|
|
5538
5538
|
"nodeType": "Identifier",
|
|
5539
5539
|
"overloadedDeclarations": [],
|
|
@@ -5546,7 +5546,7 @@
|
|
|
5546
5546
|
},
|
|
5547
5547
|
{
|
|
5548
5548
|
"expression": {
|
|
5549
|
-
"id":
|
|
5549
|
+
"id": 38489,
|
|
5550
5550
|
"name": "msg",
|
|
5551
5551
|
"nodeType": "Identifier",
|
|
5552
5552
|
"overloadedDeclarations": [],
|
|
@@ -5557,7 +5557,7 @@
|
|
|
5557
5557
|
"typeString": "msg"
|
|
5558
5558
|
}
|
|
5559
5559
|
},
|
|
5560
|
-
"id":
|
|
5560
|
+
"id": 38490,
|
|
5561
5561
|
"isConstant": false,
|
|
5562
5562
|
"isLValue": false,
|
|
5563
5563
|
"isPure": false,
|
|
@@ -5583,7 +5583,7 @@
|
|
|
5583
5583
|
"typeString": "address"
|
|
5584
5584
|
}
|
|
5585
5585
|
],
|
|
5586
|
-
"id":
|
|
5586
|
+
"id": 38487,
|
|
5587
5587
|
"name": "_setupRole",
|
|
5588
5588
|
"nodeType": "Identifier",
|
|
5589
5589
|
"overloadedDeclarations": [],
|
|
@@ -5594,7 +5594,7 @@
|
|
|
5594
5594
|
"typeString": "function (bytes32,address)"
|
|
5595
5595
|
}
|
|
5596
5596
|
},
|
|
5597
|
-
"id":
|
|
5597
|
+
"id": 38491,
|
|
5598
5598
|
"isConstant": false,
|
|
5599
5599
|
"isLValue": false,
|
|
5600
5600
|
"isPure": false,
|
|
@@ -5610,13 +5610,13 @@
|
|
|
5610
5610
|
"typeString": "tuple()"
|
|
5611
5611
|
}
|
|
5612
5612
|
},
|
|
5613
|
-
"id":
|
|
5613
|
+
"id": 38492,
|
|
5614
5614
|
"nodeType": "ExpressionStatement",
|
|
5615
5615
|
"src": "662:42:98"
|
|
5616
5616
|
}
|
|
5617
5617
|
]
|
|
5618
5618
|
},
|
|
5619
|
-
"id":
|
|
5619
|
+
"id": 38494,
|
|
5620
5620
|
"implemented": true,
|
|
5621
5621
|
"kind": "constructor",
|
|
5622
5622
|
"modifiers": [],
|
|
@@ -5624,18 +5624,18 @@
|
|
|
5624
5624
|
"nameLocation": "-1:-1:-1",
|
|
5625
5625
|
"nodeType": "FunctionDefinition",
|
|
5626
5626
|
"parameters": {
|
|
5627
|
-
"id":
|
|
5627
|
+
"id": 38485,
|
|
5628
5628
|
"nodeType": "ParameterList",
|
|
5629
5629
|
"parameters": [],
|
|
5630
5630
|
"src": "649:2:98"
|
|
5631
5631
|
},
|
|
5632
5632
|
"returnParameters": {
|
|
5633
|
-
"id":
|
|
5633
|
+
"id": 38486,
|
|
5634
5634
|
"nodeType": "ParameterList",
|
|
5635
5635
|
"parameters": [],
|
|
5636
5636
|
"src": "652:0:98"
|
|
5637
5637
|
},
|
|
5638
|
-
"scope":
|
|
5638
|
+
"scope": 38537,
|
|
5639
5639
|
"src": "638:73:98",
|
|
5640
5640
|
"stateMutability": "nonpayable",
|
|
5641
5641
|
"virtual": false,
|
|
@@ -5643,10 +5643,10 @@
|
|
|
5643
5643
|
},
|
|
5644
5644
|
{
|
|
5645
5645
|
"baseFunctions": [
|
|
5646
|
-
|
|
5646
|
+
21077
|
|
5647
5647
|
],
|
|
5648
5648
|
"body": {
|
|
5649
|
-
"id":
|
|
5649
|
+
"id": 38522,
|
|
5650
5650
|
"nodeType": "Block",
|
|
5651
5651
|
"src": "786:159:98",
|
|
5652
5652
|
"statements": [
|
|
@@ -5656,7 +5656,7 @@
|
|
|
5656
5656
|
{
|
|
5657
5657
|
"arguments": [
|
|
5658
5658
|
{
|
|
5659
|
-
"id":
|
|
5659
|
+
"id": 38504,
|
|
5660
5660
|
"name": "DEFAULT_ADMIN_ROLE",
|
|
5661
5661
|
"nodeType": "Identifier",
|
|
5662
5662
|
"overloadedDeclarations": [],
|
|
@@ -5671,7 +5671,7 @@
|
|
|
5671
5671
|
"arguments": [],
|
|
5672
5672
|
"expression": {
|
|
5673
5673
|
"argumentTypes": [],
|
|
5674
|
-
"id":
|
|
5674
|
+
"id": 38505,
|
|
5675
5675
|
"name": "_msgSender",
|
|
5676
5676
|
"nodeType": "Identifier",
|
|
5677
5677
|
"overloadedDeclarations": [],
|
|
@@ -5682,7 +5682,7 @@
|
|
|
5682
5682
|
"typeString": "function () view returns (address)"
|
|
5683
5683
|
}
|
|
5684
5684
|
},
|
|
5685
|
-
"id":
|
|
5685
|
+
"id": 38506,
|
|
5686
5686
|
"isConstant": false,
|
|
5687
5687
|
"isLValue": false,
|
|
5688
5688
|
"isPure": false,
|
|
@@ -5710,7 +5710,7 @@
|
|
|
5710
5710
|
"typeString": "address"
|
|
5711
5711
|
}
|
|
5712
5712
|
],
|
|
5713
|
-
"id":
|
|
5713
|
+
"id": 38503,
|
|
5714
5714
|
"name": "hasRole",
|
|
5715
5715
|
"nodeType": "Identifier",
|
|
5716
5716
|
"overloadedDeclarations": [],
|
|
@@ -5721,7 +5721,7 @@
|
|
|
5721
5721
|
"typeString": "function (bytes32,address) view returns (bool)"
|
|
5722
5722
|
}
|
|
5723
5723
|
},
|
|
5724
|
-
"id":
|
|
5724
|
+
"id": 38507,
|
|
5725
5725
|
"isConstant": false,
|
|
5726
5726
|
"isLValue": false,
|
|
5727
5727
|
"isPure": false,
|
|
@@ -5739,7 +5739,7 @@
|
|
|
5739
5739
|
},
|
|
5740
5740
|
{
|
|
5741
5741
|
"hexValue": "43616c6c6572206973206e6f7420616e2061646d696e",
|
|
5742
|
-
"id":
|
|
5742
|
+
"id": 38508,
|
|
5743
5743
|
"isConstant": false,
|
|
5744
5744
|
"isLValue": false,
|
|
5745
5745
|
"isPure": true,
|
|
@@ -5765,7 +5765,7 @@
|
|
|
5765
5765
|
"typeString": "literal_string \"Caller is not an admin\""
|
|
5766
5766
|
}
|
|
5767
5767
|
],
|
|
5768
|
-
"id":
|
|
5768
|
+
"id": 38502,
|
|
5769
5769
|
"name": "require",
|
|
5770
5770
|
"nodeType": "Identifier",
|
|
5771
5771
|
"overloadedDeclarations": [
|
|
@@ -5779,7 +5779,7 @@
|
|
|
5779
5779
|
"typeString": "function (bool,string memory) pure"
|
|
5780
5780
|
}
|
|
5781
5781
|
},
|
|
5782
|
-
"id":
|
|
5782
|
+
"id": 38509,
|
|
5783
5783
|
"isConstant": false,
|
|
5784
5784
|
"isLValue": false,
|
|
5785
5785
|
"isPure": false,
|
|
@@ -5795,37 +5795,37 @@
|
|
|
5795
5795
|
"typeString": "tuple()"
|
|
5796
5796
|
}
|
|
5797
5797
|
},
|
|
5798
|
-
"id":
|
|
5798
|
+
"id": 38510,
|
|
5799
5799
|
"nodeType": "ExpressionStatement",
|
|
5800
5800
|
"src": "796:76:98"
|
|
5801
5801
|
},
|
|
5802
5802
|
{
|
|
5803
5803
|
"expression": {
|
|
5804
|
-
"id":
|
|
5804
|
+
"id": 38515,
|
|
5805
5805
|
"isConstant": false,
|
|
5806
5806
|
"isLValue": false,
|
|
5807
5807
|
"isPure": false,
|
|
5808
5808
|
"lValueRequested": false,
|
|
5809
5809
|
"leftHandSide": {
|
|
5810
5810
|
"baseExpression": {
|
|
5811
|
-
"id":
|
|
5811
|
+
"id": 38511,
|
|
5812
5812
|
"name": "_registry",
|
|
5813
5813
|
"nodeType": "Identifier",
|
|
5814
5814
|
"overloadedDeclarations": [],
|
|
5815
|
-
"referencedDeclaration":
|
|
5815
|
+
"referencedDeclaration": 38484,
|
|
5816
5816
|
"src": "882:9:98",
|
|
5817
5817
|
"typeDescriptions": {
|
|
5818
5818
|
"typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_address_$",
|
|
5819
5819
|
"typeString": "mapping(string memory => address)"
|
|
5820
5820
|
}
|
|
5821
5821
|
},
|
|
5822
|
-
"id":
|
|
5822
|
+
"id": 38513,
|
|
5823
5823
|
"indexExpression": {
|
|
5824
|
-
"id":
|
|
5824
|
+
"id": 38512,
|
|
5825
5825
|
"name": "name",
|
|
5826
5826
|
"nodeType": "Identifier",
|
|
5827
5827
|
"overloadedDeclarations": [],
|
|
5828
|
-
"referencedDeclaration":
|
|
5828
|
+
"referencedDeclaration": 38496,
|
|
5829
5829
|
"src": "892:4:98",
|
|
5830
5830
|
"typeDescriptions": {
|
|
5831
5831
|
"typeIdentifier": "t_string_calldata_ptr",
|
|
@@ -5846,11 +5846,11 @@
|
|
|
5846
5846
|
"nodeType": "Assignment",
|
|
5847
5847
|
"operator": "=",
|
|
5848
5848
|
"rightHandSide": {
|
|
5849
|
-
"id":
|
|
5849
|
+
"id": 38514,
|
|
5850
5850
|
"name": "target",
|
|
5851
5851
|
"nodeType": "Identifier",
|
|
5852
5852
|
"overloadedDeclarations": [],
|
|
5853
|
-
"referencedDeclaration":
|
|
5853
|
+
"referencedDeclaration": 38498,
|
|
5854
5854
|
"src": "900:6:98",
|
|
5855
5855
|
"typeDescriptions": {
|
|
5856
5856
|
"typeIdentifier": "t_address",
|
|
@@ -5863,7 +5863,7 @@
|
|
|
5863
5863
|
"typeString": "address"
|
|
5864
5864
|
}
|
|
5865
5865
|
},
|
|
5866
|
-
"id":
|
|
5866
|
+
"id": 38516,
|
|
5867
5867
|
"nodeType": "ExpressionStatement",
|
|
5868
5868
|
"src": "882:24:98"
|
|
5869
5869
|
},
|
|
@@ -5871,11 +5871,11 @@
|
|
|
5871
5871
|
"eventCall": {
|
|
5872
5872
|
"arguments": [
|
|
5873
5873
|
{
|
|
5874
|
-
"id":
|
|
5874
|
+
"id": 38518,
|
|
5875
5875
|
"name": "name",
|
|
5876
5876
|
"nodeType": "Identifier",
|
|
5877
5877
|
"overloadedDeclarations": [],
|
|
5878
|
-
"referencedDeclaration":
|
|
5878
|
+
"referencedDeclaration": 38496,
|
|
5879
5879
|
"src": "925:4:98",
|
|
5880
5880
|
"typeDescriptions": {
|
|
5881
5881
|
"typeIdentifier": "t_string_calldata_ptr",
|
|
@@ -5883,11 +5883,11 @@
|
|
|
5883
5883
|
}
|
|
5884
5884
|
},
|
|
5885
5885
|
{
|
|
5886
|
-
"id":
|
|
5886
|
+
"id": 38519,
|
|
5887
5887
|
"name": "target",
|
|
5888
5888
|
"nodeType": "Identifier",
|
|
5889
5889
|
"overloadedDeclarations": [],
|
|
5890
|
-
"referencedDeclaration":
|
|
5890
|
+
"referencedDeclaration": 38498,
|
|
5891
5891
|
"src": "931:6:98",
|
|
5892
5892
|
"typeDescriptions": {
|
|
5893
5893
|
"typeIdentifier": "t_address",
|
|
@@ -5906,18 +5906,18 @@
|
|
|
5906
5906
|
"typeString": "address"
|
|
5907
5907
|
}
|
|
5908
5908
|
],
|
|
5909
|
-
"id":
|
|
5909
|
+
"id": 38517,
|
|
5910
5910
|
"name": "Set",
|
|
5911
5911
|
"nodeType": "Identifier",
|
|
5912
5912
|
"overloadedDeclarations": [],
|
|
5913
|
-
"referencedDeclaration":
|
|
5913
|
+
"referencedDeclaration": 21069,
|
|
5914
5914
|
"src": "921:3:98",
|
|
5915
5915
|
"typeDescriptions": {
|
|
5916
5916
|
"typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_address_$returns$__$",
|
|
5917
5917
|
"typeString": "function (string memory,address)"
|
|
5918
5918
|
}
|
|
5919
5919
|
},
|
|
5920
|
-
"id":
|
|
5920
|
+
"id": 38520,
|
|
5921
5921
|
"isConstant": false,
|
|
5922
5922
|
"isLValue": false,
|
|
5923
5923
|
"isPure": false,
|
|
@@ -5933,14 +5933,14 @@
|
|
|
5933
5933
|
"typeString": "tuple()"
|
|
5934
5934
|
}
|
|
5935
5935
|
},
|
|
5936
|
-
"id":
|
|
5936
|
+
"id": 38521,
|
|
5937
5937
|
"nodeType": "EmitStatement",
|
|
5938
5938
|
"src": "916:22:98"
|
|
5939
5939
|
}
|
|
5940
5940
|
]
|
|
5941
5941
|
},
|
|
5942
5942
|
"functionSelector": "a815ff15",
|
|
5943
|
-
"id":
|
|
5943
|
+
"id": 38523,
|
|
5944
5944
|
"implemented": true,
|
|
5945
5945
|
"kind": "function",
|
|
5946
5946
|
"modifiers": [],
|
|
@@ -5948,23 +5948,23 @@
|
|
|
5948
5948
|
"nameLocation": "726:3:98",
|
|
5949
5949
|
"nodeType": "FunctionDefinition",
|
|
5950
5950
|
"overrides": {
|
|
5951
|
-
"id":
|
|
5951
|
+
"id": 38500,
|
|
5952
5952
|
"nodeType": "OverrideSpecifier",
|
|
5953
5953
|
"overrides": [],
|
|
5954
5954
|
"src": "777:8:98"
|
|
5955
5955
|
},
|
|
5956
5956
|
"parameters": {
|
|
5957
|
-
"id":
|
|
5957
|
+
"id": 38499,
|
|
5958
5958
|
"nodeType": "ParameterList",
|
|
5959
5959
|
"parameters": [
|
|
5960
5960
|
{
|
|
5961
5961
|
"constant": false,
|
|
5962
|
-
"id":
|
|
5962
|
+
"id": 38496,
|
|
5963
5963
|
"mutability": "mutable",
|
|
5964
5964
|
"name": "name",
|
|
5965
5965
|
"nameLocation": "746:4:98",
|
|
5966
5966
|
"nodeType": "VariableDeclaration",
|
|
5967
|
-
"scope":
|
|
5967
|
+
"scope": 38523,
|
|
5968
5968
|
"src": "730:20:98",
|
|
5969
5969
|
"stateVariable": false,
|
|
5970
5970
|
"storageLocation": "calldata",
|
|
@@ -5973,7 +5973,7 @@
|
|
|
5973
5973
|
"typeString": "string"
|
|
5974
5974
|
},
|
|
5975
5975
|
"typeName": {
|
|
5976
|
-
"id":
|
|
5976
|
+
"id": 38495,
|
|
5977
5977
|
"name": "string",
|
|
5978
5978
|
"nodeType": "ElementaryTypeName",
|
|
5979
5979
|
"src": "730:6:98",
|
|
@@ -5986,12 +5986,12 @@
|
|
|
5986
5986
|
},
|
|
5987
5987
|
{
|
|
5988
5988
|
"constant": false,
|
|
5989
|
-
"id":
|
|
5989
|
+
"id": 38498,
|
|
5990
5990
|
"mutability": "mutable",
|
|
5991
5991
|
"name": "target",
|
|
5992
5992
|
"nameLocation": "760:6:98",
|
|
5993
5993
|
"nodeType": "VariableDeclaration",
|
|
5994
|
-
"scope":
|
|
5994
|
+
"scope": 38523,
|
|
5995
5995
|
"src": "752:14:98",
|
|
5996
5996
|
"stateVariable": false,
|
|
5997
5997
|
"storageLocation": "default",
|
|
@@ -6000,7 +6000,7 @@
|
|
|
6000
6000
|
"typeString": "address"
|
|
6001
6001
|
},
|
|
6002
6002
|
"typeName": {
|
|
6003
|
-
"id":
|
|
6003
|
+
"id": 38497,
|
|
6004
6004
|
"name": "address",
|
|
6005
6005
|
"nodeType": "ElementaryTypeName",
|
|
6006
6006
|
"src": "752:7:98",
|
|
@@ -6016,12 +6016,12 @@
|
|
|
6016
6016
|
"src": "729:38:98"
|
|
6017
6017
|
},
|
|
6018
6018
|
"returnParameters": {
|
|
6019
|
-
"id":
|
|
6019
|
+
"id": 38501,
|
|
6020
6020
|
"nodeType": "ParameterList",
|
|
6021
6021
|
"parameters": [],
|
|
6022
6022
|
"src": "786:0:98"
|
|
6023
6023
|
},
|
|
6024
|
-
"scope":
|
|
6024
|
+
"scope": 38537,
|
|
6025
6025
|
"src": "717:228:98",
|
|
6026
6026
|
"stateMutability": "nonpayable",
|
|
6027
6027
|
"virtual": false,
|
|
@@ -6029,34 +6029,34 @@
|
|
|
6029
6029
|
},
|
|
6030
6030
|
{
|
|
6031
6031
|
"baseFunctions": [
|
|
6032
|
-
|
|
6032
|
+
21085
|
|
6033
6033
|
],
|
|
6034
6034
|
"body": {
|
|
6035
|
-
"id":
|
|
6035
|
+
"id": 38535,
|
|
6036
6036
|
"nodeType": "Block",
|
|
6037
6037
|
"src": "1027:39:98",
|
|
6038
6038
|
"statements": [
|
|
6039
6039
|
{
|
|
6040
6040
|
"expression": {
|
|
6041
6041
|
"baseExpression": {
|
|
6042
|
-
"id":
|
|
6042
|
+
"id": 38531,
|
|
6043
6043
|
"name": "_registry",
|
|
6044
6044
|
"nodeType": "Identifier",
|
|
6045
6045
|
"overloadedDeclarations": [],
|
|
6046
|
-
"referencedDeclaration":
|
|
6046
|
+
"referencedDeclaration": 38484,
|
|
6047
6047
|
"src": "1044:9:98",
|
|
6048
6048
|
"typeDescriptions": {
|
|
6049
6049
|
"typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_address_$",
|
|
6050
6050
|
"typeString": "mapping(string memory => address)"
|
|
6051
6051
|
}
|
|
6052
6052
|
},
|
|
6053
|
-
"id":
|
|
6053
|
+
"id": 38533,
|
|
6054
6054
|
"indexExpression": {
|
|
6055
|
-
"id":
|
|
6055
|
+
"id": 38532,
|
|
6056
6056
|
"name": "name",
|
|
6057
6057
|
"nodeType": "Identifier",
|
|
6058
6058
|
"overloadedDeclarations": [],
|
|
6059
|
-
"referencedDeclaration":
|
|
6059
|
+
"referencedDeclaration": 38525,
|
|
6060
6060
|
"src": "1054:4:98",
|
|
6061
6061
|
"typeDescriptions": {
|
|
6062
6062
|
"typeIdentifier": "t_string_calldata_ptr",
|
|
@@ -6074,15 +6074,15 @@
|
|
|
6074
6074
|
"typeString": "address"
|
|
6075
6075
|
}
|
|
6076
6076
|
},
|
|
6077
|
-
"functionReturnParameters":
|
|
6078
|
-
"id":
|
|
6077
|
+
"functionReturnParameters": 38530,
|
|
6078
|
+
"id": 38534,
|
|
6079
6079
|
"nodeType": "Return",
|
|
6080
6080
|
"src": "1037:22:98"
|
|
6081
6081
|
}
|
|
6082
6082
|
]
|
|
6083
6083
|
},
|
|
6084
6084
|
"functionSelector": "693ec85e",
|
|
6085
|
-
"id":
|
|
6085
|
+
"id": 38536,
|
|
6086
6086
|
"implemented": true,
|
|
6087
6087
|
"kind": "function",
|
|
6088
6088
|
"modifiers": [],
|
|
@@ -6090,23 +6090,23 @@
|
|
|
6090
6090
|
"nameLocation": "960:3:98",
|
|
6091
6091
|
"nodeType": "FunctionDefinition",
|
|
6092
6092
|
"overrides": {
|
|
6093
|
-
"id":
|
|
6093
|
+
"id": 38527,
|
|
6094
6094
|
"nodeType": "OverrideSpecifier",
|
|
6095
6095
|
"overrides": [],
|
|
6096
6096
|
"src": "1000:8:98"
|
|
6097
6097
|
},
|
|
6098
6098
|
"parameters": {
|
|
6099
|
-
"id":
|
|
6099
|
+
"id": 38526,
|
|
6100
6100
|
"nodeType": "ParameterList",
|
|
6101
6101
|
"parameters": [
|
|
6102
6102
|
{
|
|
6103
6103
|
"constant": false,
|
|
6104
|
-
"id":
|
|
6104
|
+
"id": 38525,
|
|
6105
6105
|
"mutability": "mutable",
|
|
6106
6106
|
"name": "name",
|
|
6107
6107
|
"nameLocation": "980:4:98",
|
|
6108
6108
|
"nodeType": "VariableDeclaration",
|
|
6109
|
-
"scope":
|
|
6109
|
+
"scope": 38536,
|
|
6110
6110
|
"src": "964:20:98",
|
|
6111
6111
|
"stateVariable": false,
|
|
6112
6112
|
"storageLocation": "calldata",
|
|
@@ -6115,7 +6115,7 @@
|
|
|
6115
6115
|
"typeString": "string"
|
|
6116
6116
|
},
|
|
6117
6117
|
"typeName": {
|
|
6118
|
-
"id":
|
|
6118
|
+
"id": 38524,
|
|
6119
6119
|
"name": "string",
|
|
6120
6120
|
"nodeType": "ElementaryTypeName",
|
|
6121
6121
|
"src": "964:6:98",
|
|
@@ -6130,17 +6130,17 @@
|
|
|
6130
6130
|
"src": "963:22:98"
|
|
6131
6131
|
},
|
|
6132
6132
|
"returnParameters": {
|
|
6133
|
-
"id":
|
|
6133
|
+
"id": 38530,
|
|
6134
6134
|
"nodeType": "ParameterList",
|
|
6135
6135
|
"parameters": [
|
|
6136
6136
|
{
|
|
6137
6137
|
"constant": false,
|
|
6138
|
-
"id":
|
|
6138
|
+
"id": 38529,
|
|
6139
6139
|
"mutability": "mutable",
|
|
6140
6140
|
"name": "",
|
|
6141
6141
|
"nameLocation": "-1:-1:-1",
|
|
6142
6142
|
"nodeType": "VariableDeclaration",
|
|
6143
|
-
"scope":
|
|
6143
|
+
"scope": 38536,
|
|
6144
6144
|
"src": "1018:7:98",
|
|
6145
6145
|
"stateVariable": false,
|
|
6146
6146
|
"storageLocation": "default",
|
|
@@ -6149,7 +6149,7 @@
|
|
|
6149
6149
|
"typeString": "address"
|
|
6150
6150
|
},
|
|
6151
6151
|
"typeName": {
|
|
6152
|
-
"id":
|
|
6152
|
+
"id": 38528,
|
|
6153
6153
|
"name": "address",
|
|
6154
6154
|
"nodeType": "ElementaryTypeName",
|
|
6155
6155
|
"src": "1018:7:98",
|
|
@@ -6164,14 +6164,14 @@
|
|
|
6164
6164
|
],
|
|
6165
6165
|
"src": "1017:9:98"
|
|
6166
6166
|
},
|
|
6167
|
-
"scope":
|
|
6167
|
+
"scope": 38537,
|
|
6168
6168
|
"src": "951:115:98",
|
|
6169
6169
|
"stateMutability": "view",
|
|
6170
6170
|
"virtual": false,
|
|
6171
6171
|
"visibility": "external"
|
|
6172
6172
|
}
|
|
6173
6173
|
],
|
|
6174
|
-
"scope":
|
|
6174
|
+
"scope": 38538,
|
|
6175
6175
|
"src": "524:545:98",
|
|
6176
6176
|
"usedErrors": []
|
|
6177
6177
|
}
|
|
@@ -6184,7 +6184,7 @@
|
|
|
6184
6184
|
},
|
|
6185
6185
|
"networks": {},
|
|
6186
6186
|
"schemaVersion": "3.4.9",
|
|
6187
|
-
"updatedAt": "2022-09-
|
|
6187
|
+
"updatedAt": "2022-09-21T11:06:18.602Z",
|
|
6188
6188
|
"devdoc": {
|
|
6189
6189
|
"author": "Superfluid",
|
|
6190
6190
|
"details": "A simple implementation of IResolver using OZ AccessControl NOTE: Relevant events for indexing: - OZ Access Control events `RoleGranted`/`RoleRevoked`: admin add/remove - IResolver event `Set`: resolver name updates",
|