@superfluid-finance/ethereum-contracts 1.2.1 → 1.2.2-dev.153bcd3.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 +18 -18
- package/build/contracts/AgreementLibrary.json +450 -243
- package/build/contracts/BaseRelayRecipient.json +112 -112
- package/build/contracts/BatchLiquidator.json +178 -178
- package/build/contracts/BatchOperation.json +1138 -1138
- package/build/contracts/CFAv1Library.json +2531 -2531
- package/build/contracts/CallUtils.json +478 -478
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1521 -1521
- package/build/contracts/ConstantFlowAgreementV1.json +19315 -18335
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +1138 -1138
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +31 -31
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +1 -1
- 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 +36 -36
- package/build/contracts/ERC721.json +1 -1
- package/build/contracts/ERC777Helper.json +660 -660
- package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
- package/build/contracts/ERC777RecipientReverting.json +855 -855
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/ExclusiveInflowTestApp.json +1521 -1521
- package/build/contracts/FixedSizeData.json +405 -405
- package/build/contracts/FlowExchangeTestApp.json +1522 -1522
- package/build/contracts/FlowOperatorDefinitions.json +1138 -1138
- package/build/contracts/FullUpgradableSuperTokenProxy.json +113 -113
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +1036 -1036
- package/build/contracts/IDAv1Library.json +4183 -4183
- 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/IERC721.json +1 -1
- package/build/contracts/IERC721Metadata.json +1 -1
- package/build/contracts/IERC721Receiver.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 +1182 -1182
- package/build/contracts/IMaticBridgedNativeSuperToken.json +110 -110
- package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +110 -110
- package/build/contracts/IMultiSigWallet.json +45 -45
- package/build/contracts/IPureSuperToken.json +69 -69
- package/build/contracts/IPureSuperTokenCustom.json +69 -69
- package/build/contracts/IRelayRecipient.json +49 -49
- package/build/contracts/IResolver.json +73 -73
- package/build/contracts/ISETH.json +79 -79
- package/build/contracts/ISETHCustom.json +79 -79
- package/build/contracts/ISuperAgreement.json +88 -88
- package/build/contracts/ISuperApp.json +351 -351
- package/build/contracts/ISuperToken.json +1008 -1008
- package/build/contracts/ISuperTokenFactory.json +280 -280
- package/build/contracts/ISuperfluid.json +1466 -1466
- package/build/contracts/ISuperfluidGovernance.json +404 -404
- package/build/contracts/ISuperfluidToken.json +774 -774
- package/build/contracts/ITOGAv1.json +1431 -1431
- package/build/contracts/ITOGAv2.json +1431 -1431
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +9343 -9343
- package/build/contracts/Int96SafeMath.json +504 -504
- package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +228 -228
- package/build/contracts/NonClosableOutflowTestApp.json +1522 -1522
- 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 +1521 -1521
- package/build/contracts/SlotsBitmapLibrary.json +794 -794
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +394 -394
- package/build/contracts/SuperAppDefinitions.json +1138 -1138
- package/build/contracts/SuperToken.json +2351 -2351
- package/build/contracts/SuperTokenFactory.json +731 -731
- package/build/contracts/SuperTokenFactoryBase.json +721 -721
- package/build/contracts/SuperTokenFactoryHelper.json +724 -724
- package/build/contracts/SuperUpgrader.json +437 -437
- package/build/contracts/Superfluid.json +9812 -10169
- package/build/contracts/SuperfluidFrameworkDeployer.json +535 -535
- package/build/contracts/SuperfluidGovernanceBase.json +3471 -3789
- package/build/contracts/SuperfluidGovernanceConfigs.json +1138 -1138
- package/build/contracts/SuperfluidGovernanceII.json +2097 -2347
- package/build/contracts/SuperfluidGovernanceIIProxy.json +214 -214
- package/build/contracts/SuperfluidLoader.json +207 -207
- package/build/contracts/SuperfluidToken.json +1345 -1345
- package/build/contracts/TOGA.json +1448 -1448
- package/build/contracts/TestGovernance.json +2195 -2445
- package/build/contracts/TestToken.json +94 -94
- package/build/contracts/TokenCustodian.json +214 -214
- package/build/contracts/TokenInfo.json +58 -58
- package/build/contracts/UInt128SafeMath.json +97 -97
- package/build/contracts/UUPSProxiable.json +132 -132
- package/build/contracts/UUPSProxy.json +81 -81
- package/build/contracts/UUPSUtils.json +37 -37
- package/build/contracts-sizes.txt +3 -4
- package/contracts/agreements/AgreementLibrary.sol +1 -0
- package/contracts/agreements/ConstantFlowAgreementV1.sol +71 -35
- package/contracts/agreements/InstantDistributionAgreementV1.sol +3 -2
- package/contracts/gov/SuperfluidGovernanceBase.sol +9 -26
- package/contracts/{agreements → libs}/SlotsBitmapLibrary.sol +1 -3
- package/contracts/mocks/SuperfluidMock.sol +2 -2
- package/contracts/superfluid/Superfluid.sol +5 -10
- package/package.json +3 -2
- package/scripts/gov-create-new-app-registration-key.js +26 -3
|
@@ -265,18 +265,18 @@
|
|
|
265
265
|
"absolutePath": "project:/contracts/interfaces/superfluid/ISuperApp.sol",
|
|
266
266
|
"exportedSymbols": {
|
|
267
267
|
"ISuperApp": [
|
|
268
|
-
|
|
268
|
+
18063
|
|
269
269
|
],
|
|
270
270
|
"ISuperToken": [
|
|
271
|
-
|
|
271
|
+
18439
|
|
272
272
|
]
|
|
273
273
|
},
|
|
274
|
-
"id":
|
|
274
|
+
"id": 18064,
|
|
275
275
|
"license": "AGPLv3",
|
|
276
276
|
"nodeType": "SourceUnit",
|
|
277
277
|
"nodes": [
|
|
278
278
|
{
|
|
279
|
-
"id":
|
|
279
|
+
"id": 17951,
|
|
280
280
|
"literals": [
|
|
281
281
|
"solidity",
|
|
282
282
|
">=",
|
|
@@ -284,26 +284,26 @@
|
|
|
284
284
|
".0"
|
|
285
285
|
],
|
|
286
286
|
"nodeType": "PragmaDirective",
|
|
287
|
-
"src": "35:25:
|
|
287
|
+
"src": "35:25:48"
|
|
288
288
|
},
|
|
289
289
|
{
|
|
290
290
|
"absolutePath": "project:/contracts/interfaces/superfluid/ISuperToken.sol",
|
|
291
291
|
"file": "./ISuperToken.sol",
|
|
292
|
-
"id":
|
|
292
|
+
"id": 17953,
|
|
293
293
|
"nameLocation": "-1:-1:-1",
|
|
294
294
|
"nodeType": "ImportDirective",
|
|
295
|
-
"scope":
|
|
296
|
-
"sourceUnit":
|
|
297
|
-
"src": "62:48:
|
|
295
|
+
"scope": 18064,
|
|
296
|
+
"sourceUnit": 18440,
|
|
297
|
+
"src": "62:48:48",
|
|
298
298
|
"symbolAliases": [
|
|
299
299
|
{
|
|
300
300
|
"foreign": {
|
|
301
|
-
"id":
|
|
301
|
+
"id": 17952,
|
|
302
302
|
"name": "ISuperToken",
|
|
303
303
|
"nodeType": "Identifier",
|
|
304
304
|
"overloadedDeclarations": [],
|
|
305
|
-
"referencedDeclaration":
|
|
306
|
-
"src": "71:11:
|
|
305
|
+
"referencedDeclaration": 18439,
|
|
306
|
+
"src": "71:11:48",
|
|
307
307
|
"typeDescriptions": {}
|
|
308
308
|
},
|
|
309
309
|
"nameLocation": "-1:-1:-1"
|
|
@@ -318,68 +318,68 @@
|
|
|
318
318
|
"contractDependencies": [],
|
|
319
319
|
"contractKind": "interface",
|
|
320
320
|
"documentation": {
|
|
321
|
-
"id":
|
|
321
|
+
"id": 17954,
|
|
322
322
|
"nodeType": "StructuredDocumentation",
|
|
323
|
-
"src": "112:136:
|
|
323
|
+
"src": "112:136:48",
|
|
324
324
|
"text": " @title SuperApp interface\n @author Superfluid\n @dev Be aware of the app being jailed, when the word permitted is used."
|
|
325
325
|
},
|
|
326
326
|
"fullyImplemented": false,
|
|
327
|
-
"id":
|
|
327
|
+
"id": 18063,
|
|
328
328
|
"linearizedBaseContracts": [
|
|
329
|
-
|
|
329
|
+
18063
|
|
330
330
|
],
|
|
331
331
|
"name": "ISuperApp",
|
|
332
|
-
"nameLocation": "259:9:
|
|
332
|
+
"nameLocation": "259:9:48",
|
|
333
333
|
"nodeType": "ContractDefinition",
|
|
334
334
|
"nodes": [
|
|
335
335
|
{
|
|
336
336
|
"documentation": {
|
|
337
|
-
"id":
|
|
337
|
+
"id": 17955,
|
|
338
338
|
"nodeType": "StructuredDocumentation",
|
|
339
|
-
"src": "276:622:
|
|
339
|
+
"src": "276:622:48",
|
|
340
340
|
"text": " @dev Callback before a new agreement is created.\n @param superToken The super token used for the agreement.\n @param agreementClass The agreement class address.\n @param agreementId The agreementId\n @param agreementData The agreement data (non-compressed)\n @param ctx The context data.\n @return cbdata A free format in memory data the app can use to pass\n arbitary information to the after-hook callback.\n NOTE:\n - It will be invoked with `staticcall`, no state changes are permitted.\n - Only revert with a \"reason\" is permitted."
|
|
341
341
|
},
|
|
342
342
|
"functionSelector": "30d9c915",
|
|
343
|
-
"id":
|
|
343
|
+
"id": 17971,
|
|
344
344
|
"implemented": false,
|
|
345
345
|
"kind": "function",
|
|
346
346
|
"modifiers": [],
|
|
347
347
|
"name": "beforeAgreementCreated",
|
|
348
|
-
"nameLocation": "912:22:
|
|
348
|
+
"nameLocation": "912:22:48",
|
|
349
349
|
"nodeType": "FunctionDefinition",
|
|
350
350
|
"parameters": {
|
|
351
|
-
"id":
|
|
351
|
+
"id": 17967,
|
|
352
352
|
"nodeType": "ParameterList",
|
|
353
353
|
"parameters": [
|
|
354
354
|
{
|
|
355
355
|
"constant": false,
|
|
356
|
-
"id":
|
|
356
|
+
"id": 17958,
|
|
357
357
|
"mutability": "mutable",
|
|
358
358
|
"name": "superToken",
|
|
359
|
-
"nameLocation": "956:10:
|
|
359
|
+
"nameLocation": "956:10:48",
|
|
360
360
|
"nodeType": "VariableDeclaration",
|
|
361
|
-
"scope":
|
|
362
|
-
"src": "944:22:
|
|
361
|
+
"scope": 17971,
|
|
362
|
+
"src": "944:22:48",
|
|
363
363
|
"stateVariable": false,
|
|
364
364
|
"storageLocation": "default",
|
|
365
365
|
"typeDescriptions": {
|
|
366
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
366
|
+
"typeIdentifier": "t_contract$_ISuperToken_$18439",
|
|
367
367
|
"typeString": "contract ISuperToken"
|
|
368
368
|
},
|
|
369
369
|
"typeName": {
|
|
370
|
-
"id":
|
|
370
|
+
"id": 17957,
|
|
371
371
|
"nodeType": "UserDefinedTypeName",
|
|
372
372
|
"pathNode": {
|
|
373
|
-
"id":
|
|
373
|
+
"id": 17956,
|
|
374
374
|
"name": "ISuperToken",
|
|
375
375
|
"nodeType": "IdentifierPath",
|
|
376
|
-
"referencedDeclaration":
|
|
377
|
-
"src": "944:11:
|
|
376
|
+
"referencedDeclaration": 18439,
|
|
377
|
+
"src": "944:11:48"
|
|
378
378
|
},
|
|
379
|
-
"referencedDeclaration":
|
|
380
|
-
"src": "944:11:
|
|
379
|
+
"referencedDeclaration": 18439,
|
|
380
|
+
"src": "944:11:48",
|
|
381
381
|
"typeDescriptions": {
|
|
382
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
382
|
+
"typeIdentifier": "t_contract$_ISuperToken_$18439",
|
|
383
383
|
"typeString": "contract ISuperToken"
|
|
384
384
|
}
|
|
385
385
|
},
|
|
@@ -387,13 +387,13 @@
|
|
|
387
387
|
},
|
|
388
388
|
{
|
|
389
389
|
"constant": false,
|
|
390
|
-
"id":
|
|
390
|
+
"id": 17960,
|
|
391
391
|
"mutability": "mutable",
|
|
392
392
|
"name": "agreementClass",
|
|
393
|
-
"nameLocation": "984:14:
|
|
393
|
+
"nameLocation": "984:14:48",
|
|
394
394
|
"nodeType": "VariableDeclaration",
|
|
395
|
-
"scope":
|
|
396
|
-
"src": "976:22:
|
|
395
|
+
"scope": 17971,
|
|
396
|
+
"src": "976:22:48",
|
|
397
397
|
"stateVariable": false,
|
|
398
398
|
"storageLocation": "default",
|
|
399
399
|
"typeDescriptions": {
|
|
@@ -401,10 +401,10 @@
|
|
|
401
401
|
"typeString": "address"
|
|
402
402
|
},
|
|
403
403
|
"typeName": {
|
|
404
|
-
"id":
|
|
404
|
+
"id": 17959,
|
|
405
405
|
"name": "address",
|
|
406
406
|
"nodeType": "ElementaryTypeName",
|
|
407
|
-
"src": "976:7:
|
|
407
|
+
"src": "976:7:48",
|
|
408
408
|
"stateMutability": "nonpayable",
|
|
409
409
|
"typeDescriptions": {
|
|
410
410
|
"typeIdentifier": "t_address",
|
|
@@ -415,13 +415,13 @@
|
|
|
415
415
|
},
|
|
416
416
|
{
|
|
417
417
|
"constant": false,
|
|
418
|
-
"id":
|
|
418
|
+
"id": 17962,
|
|
419
419
|
"mutability": "mutable",
|
|
420
420
|
"name": "agreementId",
|
|
421
|
-
"nameLocation": "1016:11:
|
|
421
|
+
"nameLocation": "1016:11:48",
|
|
422
422
|
"nodeType": "VariableDeclaration",
|
|
423
|
-
"scope":
|
|
424
|
-
"src": "1008:19:
|
|
423
|
+
"scope": 17971,
|
|
424
|
+
"src": "1008:19:48",
|
|
425
425
|
"stateVariable": false,
|
|
426
426
|
"storageLocation": "default",
|
|
427
427
|
"typeDescriptions": {
|
|
@@ -429,10 +429,10 @@
|
|
|
429
429
|
"typeString": "bytes32"
|
|
430
430
|
},
|
|
431
431
|
"typeName": {
|
|
432
|
-
"id":
|
|
432
|
+
"id": 17961,
|
|
433
433
|
"name": "bytes32",
|
|
434
434
|
"nodeType": "ElementaryTypeName",
|
|
435
|
-
"src": "1008:7:
|
|
435
|
+
"src": "1008:7:48",
|
|
436
436
|
"typeDescriptions": {
|
|
437
437
|
"typeIdentifier": "t_bytes32",
|
|
438
438
|
"typeString": "bytes32"
|
|
@@ -442,13 +442,13 @@
|
|
|
442
442
|
},
|
|
443
443
|
{
|
|
444
444
|
"constant": false,
|
|
445
|
-
"id":
|
|
445
|
+
"id": 17964,
|
|
446
446
|
"mutability": "mutable",
|
|
447
447
|
"name": "agreementData",
|
|
448
|
-
"nameLocation": "1052:13:
|
|
448
|
+
"nameLocation": "1052:13:48",
|
|
449
449
|
"nodeType": "VariableDeclaration",
|
|
450
|
-
"scope":
|
|
451
|
-
"src": "1037:28:
|
|
450
|
+
"scope": 17971,
|
|
451
|
+
"src": "1037:28:48",
|
|
452
452
|
"stateVariable": false,
|
|
453
453
|
"storageLocation": "calldata",
|
|
454
454
|
"typeDescriptions": {
|
|
@@ -456,10 +456,10 @@
|
|
|
456
456
|
"typeString": "bytes"
|
|
457
457
|
},
|
|
458
458
|
"typeName": {
|
|
459
|
-
"id":
|
|
459
|
+
"id": 17963,
|
|
460
460
|
"name": "bytes",
|
|
461
461
|
"nodeType": "ElementaryTypeName",
|
|
462
|
-
"src": "1037:5:
|
|
462
|
+
"src": "1037:5:48",
|
|
463
463
|
"typeDescriptions": {
|
|
464
464
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
465
465
|
"typeString": "bytes"
|
|
@@ -469,13 +469,13 @@
|
|
|
469
469
|
},
|
|
470
470
|
{
|
|
471
471
|
"constant": false,
|
|
472
|
-
"id":
|
|
472
|
+
"id": 17966,
|
|
473
473
|
"mutability": "mutable",
|
|
474
474
|
"name": "ctx",
|
|
475
|
-
"nameLocation": "1090:3:
|
|
475
|
+
"nameLocation": "1090:3:48",
|
|
476
476
|
"nodeType": "VariableDeclaration",
|
|
477
|
-
"scope":
|
|
478
|
-
"src": "1075:18:
|
|
477
|
+
"scope": 17971,
|
|
478
|
+
"src": "1075:18:48",
|
|
479
479
|
"stateVariable": false,
|
|
480
480
|
"storageLocation": "calldata",
|
|
481
481
|
"typeDescriptions": {
|
|
@@ -483,10 +483,10 @@
|
|
|
483
483
|
"typeString": "bytes"
|
|
484
484
|
},
|
|
485
485
|
"typeName": {
|
|
486
|
-
"id":
|
|
486
|
+
"id": 17965,
|
|
487
487
|
"name": "bytes",
|
|
488
488
|
"nodeType": "ElementaryTypeName",
|
|
489
|
-
"src": "1075:5:
|
|
489
|
+
"src": "1075:5:48",
|
|
490
490
|
"typeDescriptions": {
|
|
491
491
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
492
492
|
"typeString": "bytes"
|
|
@@ -495,21 +495,21 @@
|
|
|
495
495
|
"visibility": "internal"
|
|
496
496
|
}
|
|
497
497
|
],
|
|
498
|
-
"src": "934:165:
|
|
498
|
+
"src": "934:165:48"
|
|
499
499
|
},
|
|
500
500
|
"returnParameters": {
|
|
501
|
-
"id":
|
|
501
|
+
"id": 17970,
|
|
502
502
|
"nodeType": "ParameterList",
|
|
503
503
|
"parameters": [
|
|
504
504
|
{
|
|
505
505
|
"constant": false,
|
|
506
|
-
"id":
|
|
506
|
+
"id": 17969,
|
|
507
507
|
"mutability": "mutable",
|
|
508
508
|
"name": "cbdata",
|
|
509
|
-
"nameLocation": "1160:6:
|
|
509
|
+
"nameLocation": "1160:6:48",
|
|
510
510
|
"nodeType": "VariableDeclaration",
|
|
511
|
-
"scope":
|
|
512
|
-
"src": "1147:19:
|
|
511
|
+
"scope": 17971,
|
|
512
|
+
"src": "1147:19:48",
|
|
513
513
|
"stateVariable": false,
|
|
514
514
|
"storageLocation": "memory",
|
|
515
515
|
"typeDescriptions": {
|
|
@@ -517,10 +517,10 @@
|
|
|
517
517
|
"typeString": "bytes"
|
|
518
518
|
},
|
|
519
519
|
"typeName": {
|
|
520
|
-
"id":
|
|
520
|
+
"id": 17968,
|
|
521
521
|
"name": "bytes",
|
|
522
522
|
"nodeType": "ElementaryTypeName",
|
|
523
|
-
"src": "1147:5:
|
|
523
|
+
"src": "1147:5:48",
|
|
524
524
|
"typeDescriptions": {
|
|
525
525
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
526
526
|
"typeString": "bytes"
|
|
@@ -529,62 +529,62 @@
|
|
|
529
529
|
"visibility": "internal"
|
|
530
530
|
}
|
|
531
531
|
],
|
|
532
|
-
"src": "1146:21:
|
|
532
|
+
"src": "1146:21:48"
|
|
533
533
|
},
|
|
534
|
-
"scope":
|
|
535
|
-
"src": "903:265:
|
|
534
|
+
"scope": 18063,
|
|
535
|
+
"src": "903:265:48",
|
|
536
536
|
"stateMutability": "view",
|
|
537
537
|
"virtual": false,
|
|
538
538
|
"visibility": "external"
|
|
539
539
|
},
|
|
540
540
|
{
|
|
541
541
|
"documentation": {
|
|
542
|
-
"id":
|
|
542
|
+
"id": 17972,
|
|
543
543
|
"nodeType": "StructuredDocumentation",
|
|
544
|
-
"src": "1174:571:
|
|
544
|
+
"src": "1174:571:48",
|
|
545
545
|
"text": " @dev Callback after a new agreement is created.\n @param superToken The super token used for the agreement.\n @param agreementClass The agreement class address.\n @param agreementId The agreementId\n @param agreementData The agreement data (non-compressed)\n @param cbdata The data returned from the before-hook callback.\n @param ctx The context data.\n @return newCtx The current context of the transaction.\n NOTE:\n - State changes is permitted.\n - Only revert with a \"reason\" is permitted."
|
|
546
546
|
},
|
|
547
547
|
"functionSelector": "d86ed3e5",
|
|
548
|
-
"id":
|
|
548
|
+
"id": 17990,
|
|
549
549
|
"implemented": false,
|
|
550
550
|
"kind": "function",
|
|
551
551
|
"modifiers": [],
|
|
552
552
|
"name": "afterAgreementCreated",
|
|
553
|
-
"nameLocation": "1759:21:
|
|
553
|
+
"nameLocation": "1759:21:48",
|
|
554
554
|
"nodeType": "FunctionDefinition",
|
|
555
555
|
"parameters": {
|
|
556
|
-
"id":
|
|
556
|
+
"id": 17986,
|
|
557
557
|
"nodeType": "ParameterList",
|
|
558
558
|
"parameters": [
|
|
559
559
|
{
|
|
560
560
|
"constant": false,
|
|
561
|
-
"id":
|
|
561
|
+
"id": 17975,
|
|
562
562
|
"mutability": "mutable",
|
|
563
563
|
"name": "superToken",
|
|
564
|
-
"nameLocation": "1802:10:
|
|
564
|
+
"nameLocation": "1802:10:48",
|
|
565
565
|
"nodeType": "VariableDeclaration",
|
|
566
|
-
"scope":
|
|
567
|
-
"src": "1790:22:
|
|
566
|
+
"scope": 17990,
|
|
567
|
+
"src": "1790:22:48",
|
|
568
568
|
"stateVariable": false,
|
|
569
569
|
"storageLocation": "default",
|
|
570
570
|
"typeDescriptions": {
|
|
571
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
571
|
+
"typeIdentifier": "t_contract$_ISuperToken_$18439",
|
|
572
572
|
"typeString": "contract ISuperToken"
|
|
573
573
|
},
|
|
574
574
|
"typeName": {
|
|
575
|
-
"id":
|
|
575
|
+
"id": 17974,
|
|
576
576
|
"nodeType": "UserDefinedTypeName",
|
|
577
577
|
"pathNode": {
|
|
578
|
-
"id":
|
|
578
|
+
"id": 17973,
|
|
579
579
|
"name": "ISuperToken",
|
|
580
580
|
"nodeType": "IdentifierPath",
|
|
581
|
-
"referencedDeclaration":
|
|
582
|
-
"src": "1790:11:
|
|
581
|
+
"referencedDeclaration": 18439,
|
|
582
|
+
"src": "1790:11:48"
|
|
583
583
|
},
|
|
584
|
-
"referencedDeclaration":
|
|
585
|
-
"src": "1790:11:
|
|
584
|
+
"referencedDeclaration": 18439,
|
|
585
|
+
"src": "1790:11:48",
|
|
586
586
|
"typeDescriptions": {
|
|
587
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
587
|
+
"typeIdentifier": "t_contract$_ISuperToken_$18439",
|
|
588
588
|
"typeString": "contract ISuperToken"
|
|
589
589
|
}
|
|
590
590
|
},
|
|
@@ -592,13 +592,13 @@
|
|
|
592
592
|
},
|
|
593
593
|
{
|
|
594
594
|
"constant": false,
|
|
595
|
-
"id":
|
|
595
|
+
"id": 17977,
|
|
596
596
|
"mutability": "mutable",
|
|
597
597
|
"name": "agreementClass",
|
|
598
|
-
"nameLocation": "1830:14:
|
|
598
|
+
"nameLocation": "1830:14:48",
|
|
599
599
|
"nodeType": "VariableDeclaration",
|
|
600
|
-
"scope":
|
|
601
|
-
"src": "1822:22:
|
|
600
|
+
"scope": 17990,
|
|
601
|
+
"src": "1822:22:48",
|
|
602
602
|
"stateVariable": false,
|
|
603
603
|
"storageLocation": "default",
|
|
604
604
|
"typeDescriptions": {
|
|
@@ -606,10 +606,10 @@
|
|
|
606
606
|
"typeString": "address"
|
|
607
607
|
},
|
|
608
608
|
"typeName": {
|
|
609
|
-
"id":
|
|
609
|
+
"id": 17976,
|
|
610
610
|
"name": "address",
|
|
611
611
|
"nodeType": "ElementaryTypeName",
|
|
612
|
-
"src": "1822:7:
|
|
612
|
+
"src": "1822:7:48",
|
|
613
613
|
"stateMutability": "nonpayable",
|
|
614
614
|
"typeDescriptions": {
|
|
615
615
|
"typeIdentifier": "t_address",
|
|
@@ -620,13 +620,13 @@
|
|
|
620
620
|
},
|
|
621
621
|
{
|
|
622
622
|
"constant": false,
|
|
623
|
-
"id":
|
|
623
|
+
"id": 17979,
|
|
624
624
|
"mutability": "mutable",
|
|
625
625
|
"name": "agreementId",
|
|
626
|
-
"nameLocation": "1862:11:
|
|
626
|
+
"nameLocation": "1862:11:48",
|
|
627
627
|
"nodeType": "VariableDeclaration",
|
|
628
|
-
"scope":
|
|
629
|
-
"src": "1854:19:
|
|
628
|
+
"scope": 17990,
|
|
629
|
+
"src": "1854:19:48",
|
|
630
630
|
"stateVariable": false,
|
|
631
631
|
"storageLocation": "default",
|
|
632
632
|
"typeDescriptions": {
|
|
@@ -634,10 +634,10 @@
|
|
|
634
634
|
"typeString": "bytes32"
|
|
635
635
|
},
|
|
636
636
|
"typeName": {
|
|
637
|
-
"id":
|
|
637
|
+
"id": 17978,
|
|
638
638
|
"name": "bytes32",
|
|
639
639
|
"nodeType": "ElementaryTypeName",
|
|
640
|
-
"src": "1854:7:
|
|
640
|
+
"src": "1854:7:48",
|
|
641
641
|
"typeDescriptions": {
|
|
642
642
|
"typeIdentifier": "t_bytes32",
|
|
643
643
|
"typeString": "bytes32"
|
|
@@ -647,13 +647,13 @@
|
|
|
647
647
|
},
|
|
648
648
|
{
|
|
649
649
|
"constant": false,
|
|
650
|
-
"id":
|
|
650
|
+
"id": 17981,
|
|
651
651
|
"mutability": "mutable",
|
|
652
652
|
"name": "agreementData",
|
|
653
|
-
"nameLocation": "1898:13:
|
|
653
|
+
"nameLocation": "1898:13:48",
|
|
654
654
|
"nodeType": "VariableDeclaration",
|
|
655
|
-
"scope":
|
|
656
|
-
"src": "1883:28:
|
|
655
|
+
"scope": 17990,
|
|
656
|
+
"src": "1883:28:48",
|
|
657
657
|
"stateVariable": false,
|
|
658
658
|
"storageLocation": "calldata",
|
|
659
659
|
"typeDescriptions": {
|
|
@@ -661,10 +661,10 @@
|
|
|
661
661
|
"typeString": "bytes"
|
|
662
662
|
},
|
|
663
663
|
"typeName": {
|
|
664
|
-
"id":
|
|
664
|
+
"id": 17980,
|
|
665
665
|
"name": "bytes",
|
|
666
666
|
"nodeType": "ElementaryTypeName",
|
|
667
|
-
"src": "1883:5:
|
|
667
|
+
"src": "1883:5:48",
|
|
668
668
|
"typeDescriptions": {
|
|
669
669
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
670
670
|
"typeString": "bytes"
|
|
@@ -674,13 +674,13 @@
|
|
|
674
674
|
},
|
|
675
675
|
{
|
|
676
676
|
"constant": false,
|
|
677
|
-
"id":
|
|
677
|
+
"id": 17983,
|
|
678
678
|
"mutability": "mutable",
|
|
679
679
|
"name": "cbdata",
|
|
680
|
-
"nameLocation": "1936:6:
|
|
680
|
+
"nameLocation": "1936:6:48",
|
|
681
681
|
"nodeType": "VariableDeclaration",
|
|
682
|
-
"scope":
|
|
683
|
-
"src": "1921:21:
|
|
682
|
+
"scope": 17990,
|
|
683
|
+
"src": "1921:21:48",
|
|
684
684
|
"stateVariable": false,
|
|
685
685
|
"storageLocation": "calldata",
|
|
686
686
|
"typeDescriptions": {
|
|
@@ -688,10 +688,10 @@
|
|
|
688
688
|
"typeString": "bytes"
|
|
689
689
|
},
|
|
690
690
|
"typeName": {
|
|
691
|
-
"id":
|
|
691
|
+
"id": 17982,
|
|
692
692
|
"name": "bytes",
|
|
693
693
|
"nodeType": "ElementaryTypeName",
|
|
694
|
-
"src": "1921:5:
|
|
694
|
+
"src": "1921:5:48",
|
|
695
695
|
"typeDescriptions": {
|
|
696
696
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
697
697
|
"typeString": "bytes"
|
|
@@ -701,13 +701,13 @@
|
|
|
701
701
|
},
|
|
702
702
|
{
|
|
703
703
|
"constant": false,
|
|
704
|
-
"id":
|
|
704
|
+
"id": 17985,
|
|
705
705
|
"mutability": "mutable",
|
|
706
706
|
"name": "ctx",
|
|
707
|
-
"nameLocation": "1967:3:
|
|
707
|
+
"nameLocation": "1967:3:48",
|
|
708
708
|
"nodeType": "VariableDeclaration",
|
|
709
|
-
"scope":
|
|
710
|
-
"src": "1952:18:
|
|
709
|
+
"scope": 17990,
|
|
710
|
+
"src": "1952:18:48",
|
|
711
711
|
"stateVariable": false,
|
|
712
712
|
"storageLocation": "calldata",
|
|
713
713
|
"typeDescriptions": {
|
|
@@ -715,10 +715,10 @@
|
|
|
715
715
|
"typeString": "bytes"
|
|
716
716
|
},
|
|
717
717
|
"typeName": {
|
|
718
|
-
"id":
|
|
718
|
+
"id": 17984,
|
|
719
719
|
"name": "bytes",
|
|
720
720
|
"nodeType": "ElementaryTypeName",
|
|
721
|
-
"src": "1952:5:
|
|
721
|
+
"src": "1952:5:48",
|
|
722
722
|
"typeDescriptions": {
|
|
723
723
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
724
724
|
"typeString": "bytes"
|
|
@@ -727,21 +727,21 @@
|
|
|
727
727
|
"visibility": "internal"
|
|
728
728
|
}
|
|
729
729
|
],
|
|
730
|
-
"src": "1780:196:
|
|
730
|
+
"src": "1780:196:48"
|
|
731
731
|
},
|
|
732
732
|
"returnParameters": {
|
|
733
|
-
"id":
|
|
733
|
+
"id": 17989,
|
|
734
734
|
"nodeType": "ParameterList",
|
|
735
735
|
"parameters": [
|
|
736
736
|
{
|
|
737
737
|
"constant": false,
|
|
738
|
-
"id":
|
|
738
|
+
"id": 17988,
|
|
739
739
|
"mutability": "mutable",
|
|
740
740
|
"name": "newCtx",
|
|
741
|
-
"nameLocation": "2024:6:
|
|
741
|
+
"nameLocation": "2024:6:48",
|
|
742
742
|
"nodeType": "VariableDeclaration",
|
|
743
|
-
"scope":
|
|
744
|
-
"src": "2011:19:
|
|
743
|
+
"scope": 17990,
|
|
744
|
+
"src": "2011:19:48",
|
|
745
745
|
"stateVariable": false,
|
|
746
746
|
"storageLocation": "memory",
|
|
747
747
|
"typeDescriptions": {
|
|
@@ -749,10 +749,10 @@
|
|
|
749
749
|
"typeString": "bytes"
|
|
750
750
|
},
|
|
751
751
|
"typeName": {
|
|
752
|
-
"id":
|
|
752
|
+
"id": 17987,
|
|
753
753
|
"name": "bytes",
|
|
754
754
|
"nodeType": "ElementaryTypeName",
|
|
755
|
-
"src": "2011:5:
|
|
755
|
+
"src": "2011:5:48",
|
|
756
756
|
"typeDescriptions": {
|
|
757
757
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
758
758
|
"typeString": "bytes"
|
|
@@ -761,62 +761,62 @@
|
|
|
761
761
|
"visibility": "internal"
|
|
762
762
|
}
|
|
763
763
|
],
|
|
764
|
-
"src": "2010:21:
|
|
764
|
+
"src": "2010:21:48"
|
|
765
765
|
},
|
|
766
|
-
"scope":
|
|
767
|
-
"src": "1750:282:
|
|
766
|
+
"scope": 18063,
|
|
767
|
+
"src": "1750:282:48",
|
|
768
768
|
"stateMutability": "nonpayable",
|
|
769
769
|
"virtual": false,
|
|
770
770
|
"visibility": "external"
|
|
771
771
|
},
|
|
772
772
|
{
|
|
773
773
|
"documentation": {
|
|
774
|
-
"id":
|
|
774
|
+
"id": 17991,
|
|
775
775
|
"nodeType": "StructuredDocumentation",
|
|
776
|
-
"src": "2038:622:
|
|
776
|
+
"src": "2038:622:48",
|
|
777
777
|
"text": " @dev Callback before a new agreement is updated.\n @param superToken The super token used for the agreement.\n @param agreementClass The agreement class address.\n @param agreementId The agreementId\n @param agreementData The agreement data (non-compressed)\n @param ctx The context data.\n @return cbdata A free format in memory data the app can use to pass\n arbitary information to the after-hook callback.\n NOTE:\n - It will be invoked with `staticcall`, no state changes are permitted.\n - Only revert with a \"reason\" is permitted."
|
|
778
778
|
},
|
|
779
779
|
"functionSelector": "884d1f40",
|
|
780
|
-
"id":
|
|
780
|
+
"id": 18007,
|
|
781
781
|
"implemented": false,
|
|
782
782
|
"kind": "function",
|
|
783
783
|
"modifiers": [],
|
|
784
784
|
"name": "beforeAgreementUpdated",
|
|
785
|
-
"nameLocation": "2674:22:
|
|
785
|
+
"nameLocation": "2674:22:48",
|
|
786
786
|
"nodeType": "FunctionDefinition",
|
|
787
787
|
"parameters": {
|
|
788
|
-
"id":
|
|
788
|
+
"id": 18003,
|
|
789
789
|
"nodeType": "ParameterList",
|
|
790
790
|
"parameters": [
|
|
791
791
|
{
|
|
792
792
|
"constant": false,
|
|
793
|
-
"id":
|
|
793
|
+
"id": 17994,
|
|
794
794
|
"mutability": "mutable",
|
|
795
795
|
"name": "superToken",
|
|
796
|
-
"nameLocation": "2718:10:
|
|
796
|
+
"nameLocation": "2718:10:48",
|
|
797
797
|
"nodeType": "VariableDeclaration",
|
|
798
|
-
"scope":
|
|
799
|
-
"src": "2706:22:
|
|
798
|
+
"scope": 18007,
|
|
799
|
+
"src": "2706:22:48",
|
|
800
800
|
"stateVariable": false,
|
|
801
801
|
"storageLocation": "default",
|
|
802
802
|
"typeDescriptions": {
|
|
803
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
803
|
+
"typeIdentifier": "t_contract$_ISuperToken_$18439",
|
|
804
804
|
"typeString": "contract ISuperToken"
|
|
805
805
|
},
|
|
806
806
|
"typeName": {
|
|
807
|
-
"id":
|
|
807
|
+
"id": 17993,
|
|
808
808
|
"nodeType": "UserDefinedTypeName",
|
|
809
809
|
"pathNode": {
|
|
810
|
-
"id":
|
|
810
|
+
"id": 17992,
|
|
811
811
|
"name": "ISuperToken",
|
|
812
812
|
"nodeType": "IdentifierPath",
|
|
813
|
-
"referencedDeclaration":
|
|
814
|
-
"src": "2706:11:
|
|
813
|
+
"referencedDeclaration": 18439,
|
|
814
|
+
"src": "2706:11:48"
|
|
815
815
|
},
|
|
816
|
-
"referencedDeclaration":
|
|
817
|
-
"src": "2706:11:
|
|
816
|
+
"referencedDeclaration": 18439,
|
|
817
|
+
"src": "2706:11:48",
|
|
818
818
|
"typeDescriptions": {
|
|
819
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
819
|
+
"typeIdentifier": "t_contract$_ISuperToken_$18439",
|
|
820
820
|
"typeString": "contract ISuperToken"
|
|
821
821
|
}
|
|
822
822
|
},
|
|
@@ -824,13 +824,13 @@
|
|
|
824
824
|
},
|
|
825
825
|
{
|
|
826
826
|
"constant": false,
|
|
827
|
-
"id":
|
|
827
|
+
"id": 17996,
|
|
828
828
|
"mutability": "mutable",
|
|
829
829
|
"name": "agreementClass",
|
|
830
|
-
"nameLocation": "2746:14:
|
|
830
|
+
"nameLocation": "2746:14:48",
|
|
831
831
|
"nodeType": "VariableDeclaration",
|
|
832
|
-
"scope":
|
|
833
|
-
"src": "2738:22:
|
|
832
|
+
"scope": 18007,
|
|
833
|
+
"src": "2738:22:48",
|
|
834
834
|
"stateVariable": false,
|
|
835
835
|
"storageLocation": "default",
|
|
836
836
|
"typeDescriptions": {
|
|
@@ -838,10 +838,10 @@
|
|
|
838
838
|
"typeString": "address"
|
|
839
839
|
},
|
|
840
840
|
"typeName": {
|
|
841
|
-
"id":
|
|
841
|
+
"id": 17995,
|
|
842
842
|
"name": "address",
|
|
843
843
|
"nodeType": "ElementaryTypeName",
|
|
844
|
-
"src": "2738:7:
|
|
844
|
+
"src": "2738:7:48",
|
|
845
845
|
"stateMutability": "nonpayable",
|
|
846
846
|
"typeDescriptions": {
|
|
847
847
|
"typeIdentifier": "t_address",
|
|
@@ -852,13 +852,13 @@
|
|
|
852
852
|
},
|
|
853
853
|
{
|
|
854
854
|
"constant": false,
|
|
855
|
-
"id":
|
|
855
|
+
"id": 17998,
|
|
856
856
|
"mutability": "mutable",
|
|
857
857
|
"name": "agreementId",
|
|
858
|
-
"nameLocation": "2778:11:
|
|
858
|
+
"nameLocation": "2778:11:48",
|
|
859
859
|
"nodeType": "VariableDeclaration",
|
|
860
|
-
"scope":
|
|
861
|
-
"src": "2770:19:
|
|
860
|
+
"scope": 18007,
|
|
861
|
+
"src": "2770:19:48",
|
|
862
862
|
"stateVariable": false,
|
|
863
863
|
"storageLocation": "default",
|
|
864
864
|
"typeDescriptions": {
|
|
@@ -866,10 +866,10 @@
|
|
|
866
866
|
"typeString": "bytes32"
|
|
867
867
|
},
|
|
868
868
|
"typeName": {
|
|
869
|
-
"id":
|
|
869
|
+
"id": 17997,
|
|
870
870
|
"name": "bytes32",
|
|
871
871
|
"nodeType": "ElementaryTypeName",
|
|
872
|
-
"src": "2770:7:
|
|
872
|
+
"src": "2770:7:48",
|
|
873
873
|
"typeDescriptions": {
|
|
874
874
|
"typeIdentifier": "t_bytes32",
|
|
875
875
|
"typeString": "bytes32"
|
|
@@ -879,13 +879,13 @@
|
|
|
879
879
|
},
|
|
880
880
|
{
|
|
881
881
|
"constant": false,
|
|
882
|
-
"id":
|
|
882
|
+
"id": 18000,
|
|
883
883
|
"mutability": "mutable",
|
|
884
884
|
"name": "agreementData",
|
|
885
|
-
"nameLocation": "2814:13:
|
|
885
|
+
"nameLocation": "2814:13:48",
|
|
886
886
|
"nodeType": "VariableDeclaration",
|
|
887
|
-
"scope":
|
|
888
|
-
"src": "2799:28:
|
|
887
|
+
"scope": 18007,
|
|
888
|
+
"src": "2799:28:48",
|
|
889
889
|
"stateVariable": false,
|
|
890
890
|
"storageLocation": "calldata",
|
|
891
891
|
"typeDescriptions": {
|
|
@@ -893,10 +893,10 @@
|
|
|
893
893
|
"typeString": "bytes"
|
|
894
894
|
},
|
|
895
895
|
"typeName": {
|
|
896
|
-
"id":
|
|
896
|
+
"id": 17999,
|
|
897
897
|
"name": "bytes",
|
|
898
898
|
"nodeType": "ElementaryTypeName",
|
|
899
|
-
"src": "2799:5:
|
|
899
|
+
"src": "2799:5:48",
|
|
900
900
|
"typeDescriptions": {
|
|
901
901
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
902
902
|
"typeString": "bytes"
|
|
@@ -906,13 +906,13 @@
|
|
|
906
906
|
},
|
|
907
907
|
{
|
|
908
908
|
"constant": false,
|
|
909
|
-
"id":
|
|
909
|
+
"id": 18002,
|
|
910
910
|
"mutability": "mutable",
|
|
911
911
|
"name": "ctx",
|
|
912
|
-
"nameLocation": "2852:3:
|
|
912
|
+
"nameLocation": "2852:3:48",
|
|
913
913
|
"nodeType": "VariableDeclaration",
|
|
914
|
-
"scope":
|
|
915
|
-
"src": "2837:18:
|
|
914
|
+
"scope": 18007,
|
|
915
|
+
"src": "2837:18:48",
|
|
916
916
|
"stateVariable": false,
|
|
917
917
|
"storageLocation": "calldata",
|
|
918
918
|
"typeDescriptions": {
|
|
@@ -920,10 +920,10 @@
|
|
|
920
920
|
"typeString": "bytes"
|
|
921
921
|
},
|
|
922
922
|
"typeName": {
|
|
923
|
-
"id":
|
|
923
|
+
"id": 18001,
|
|
924
924
|
"name": "bytes",
|
|
925
925
|
"nodeType": "ElementaryTypeName",
|
|
926
|
-
"src": "2837:5:
|
|
926
|
+
"src": "2837:5:48",
|
|
927
927
|
"typeDescriptions": {
|
|
928
928
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
929
929
|
"typeString": "bytes"
|
|
@@ -932,21 +932,21 @@
|
|
|
932
932
|
"visibility": "internal"
|
|
933
933
|
}
|
|
934
934
|
],
|
|
935
|
-
"src": "2696:165:
|
|
935
|
+
"src": "2696:165:48"
|
|
936
936
|
},
|
|
937
937
|
"returnParameters": {
|
|
938
|
-
"id":
|
|
938
|
+
"id": 18006,
|
|
939
939
|
"nodeType": "ParameterList",
|
|
940
940
|
"parameters": [
|
|
941
941
|
{
|
|
942
942
|
"constant": false,
|
|
943
|
-
"id":
|
|
943
|
+
"id": 18005,
|
|
944
944
|
"mutability": "mutable",
|
|
945
945
|
"name": "cbdata",
|
|
946
|
-
"nameLocation": "2922:6:
|
|
946
|
+
"nameLocation": "2922:6:48",
|
|
947
947
|
"nodeType": "VariableDeclaration",
|
|
948
|
-
"scope":
|
|
949
|
-
"src": "2909:19:
|
|
948
|
+
"scope": 18007,
|
|
949
|
+
"src": "2909:19:48",
|
|
950
950
|
"stateVariable": false,
|
|
951
951
|
"storageLocation": "memory",
|
|
952
952
|
"typeDescriptions": {
|
|
@@ -954,10 +954,10 @@
|
|
|
954
954
|
"typeString": "bytes"
|
|
955
955
|
},
|
|
956
956
|
"typeName": {
|
|
957
|
-
"id":
|
|
957
|
+
"id": 18004,
|
|
958
958
|
"name": "bytes",
|
|
959
959
|
"nodeType": "ElementaryTypeName",
|
|
960
|
-
"src": "2909:5:
|
|
960
|
+
"src": "2909:5:48",
|
|
961
961
|
"typeDescriptions": {
|
|
962
962
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
963
963
|
"typeString": "bytes"
|
|
@@ -966,62 +966,62 @@
|
|
|
966
966
|
"visibility": "internal"
|
|
967
967
|
}
|
|
968
968
|
],
|
|
969
|
-
"src": "2908:21:
|
|
969
|
+
"src": "2908:21:48"
|
|
970
970
|
},
|
|
971
|
-
"scope":
|
|
972
|
-
"src": "2665:265:
|
|
971
|
+
"scope": 18063,
|
|
972
|
+
"src": "2665:265:48",
|
|
973
973
|
"stateMutability": "view",
|
|
974
974
|
"virtual": false,
|
|
975
975
|
"visibility": "external"
|
|
976
976
|
},
|
|
977
977
|
{
|
|
978
978
|
"documentation": {
|
|
979
|
-
"id":
|
|
979
|
+
"id": 18008,
|
|
980
980
|
"nodeType": "StructuredDocumentation",
|
|
981
|
-
"src": "2937:558:
|
|
981
|
+
"src": "2937:558:48",
|
|
982
982
|
"text": " @dev Callback after a new agreement is updated.\n @param superToken The super token used for the agreement.\n @param agreementClass The agreement class address.\n @param agreementId The agreementId\n @param agreementData The agreement data (non-compressed)\n @param cbdata The data returned from the before-hook callback.\n @param ctx The context data.\n @return newCtx The current context of the transaction.\n NOTE:\n - State changes is permitted.\n - Only revert with a \"reason\" is permitted."
|
|
983
983
|
},
|
|
984
984
|
"functionSelector": "230dbd29",
|
|
985
|
-
"id":
|
|
985
|
+
"id": 18026,
|
|
986
986
|
"implemented": false,
|
|
987
987
|
"kind": "function",
|
|
988
988
|
"modifiers": [],
|
|
989
989
|
"name": "afterAgreementUpdated",
|
|
990
|
-
"nameLocation": "3509:21:
|
|
990
|
+
"nameLocation": "3509:21:48",
|
|
991
991
|
"nodeType": "FunctionDefinition",
|
|
992
992
|
"parameters": {
|
|
993
|
-
"id":
|
|
993
|
+
"id": 18022,
|
|
994
994
|
"nodeType": "ParameterList",
|
|
995
995
|
"parameters": [
|
|
996
996
|
{
|
|
997
997
|
"constant": false,
|
|
998
|
-
"id":
|
|
998
|
+
"id": 18011,
|
|
999
999
|
"mutability": "mutable",
|
|
1000
1000
|
"name": "superToken",
|
|
1001
|
-
"nameLocation": "3552:10:
|
|
1001
|
+
"nameLocation": "3552:10:48",
|
|
1002
1002
|
"nodeType": "VariableDeclaration",
|
|
1003
|
-
"scope":
|
|
1004
|
-
"src": "3540:22:
|
|
1003
|
+
"scope": 18026,
|
|
1004
|
+
"src": "3540:22:48",
|
|
1005
1005
|
"stateVariable": false,
|
|
1006
1006
|
"storageLocation": "default",
|
|
1007
1007
|
"typeDescriptions": {
|
|
1008
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1008
|
+
"typeIdentifier": "t_contract$_ISuperToken_$18439",
|
|
1009
1009
|
"typeString": "contract ISuperToken"
|
|
1010
1010
|
},
|
|
1011
1011
|
"typeName": {
|
|
1012
|
-
"id":
|
|
1012
|
+
"id": 18010,
|
|
1013
1013
|
"nodeType": "UserDefinedTypeName",
|
|
1014
1014
|
"pathNode": {
|
|
1015
|
-
"id":
|
|
1015
|
+
"id": 18009,
|
|
1016
1016
|
"name": "ISuperToken",
|
|
1017
1017
|
"nodeType": "IdentifierPath",
|
|
1018
|
-
"referencedDeclaration":
|
|
1019
|
-
"src": "3540:11:
|
|
1018
|
+
"referencedDeclaration": 18439,
|
|
1019
|
+
"src": "3540:11:48"
|
|
1020
1020
|
},
|
|
1021
|
-
"referencedDeclaration":
|
|
1022
|
-
"src": "3540:11:
|
|
1021
|
+
"referencedDeclaration": 18439,
|
|
1022
|
+
"src": "3540:11:48",
|
|
1023
1023
|
"typeDescriptions": {
|
|
1024
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1024
|
+
"typeIdentifier": "t_contract$_ISuperToken_$18439",
|
|
1025
1025
|
"typeString": "contract ISuperToken"
|
|
1026
1026
|
}
|
|
1027
1027
|
},
|
|
@@ -1029,13 +1029,13 @@
|
|
|
1029
1029
|
},
|
|
1030
1030
|
{
|
|
1031
1031
|
"constant": false,
|
|
1032
|
-
"id":
|
|
1032
|
+
"id": 18013,
|
|
1033
1033
|
"mutability": "mutable",
|
|
1034
1034
|
"name": "agreementClass",
|
|
1035
|
-
"nameLocation": "3580:14:
|
|
1035
|
+
"nameLocation": "3580:14:48",
|
|
1036
1036
|
"nodeType": "VariableDeclaration",
|
|
1037
|
-
"scope":
|
|
1038
|
-
"src": "3572:22:
|
|
1037
|
+
"scope": 18026,
|
|
1038
|
+
"src": "3572:22:48",
|
|
1039
1039
|
"stateVariable": false,
|
|
1040
1040
|
"storageLocation": "default",
|
|
1041
1041
|
"typeDescriptions": {
|
|
@@ -1043,10 +1043,10 @@
|
|
|
1043
1043
|
"typeString": "address"
|
|
1044
1044
|
},
|
|
1045
1045
|
"typeName": {
|
|
1046
|
-
"id":
|
|
1046
|
+
"id": 18012,
|
|
1047
1047
|
"name": "address",
|
|
1048
1048
|
"nodeType": "ElementaryTypeName",
|
|
1049
|
-
"src": "3572:7:
|
|
1049
|
+
"src": "3572:7:48",
|
|
1050
1050
|
"stateMutability": "nonpayable",
|
|
1051
1051
|
"typeDescriptions": {
|
|
1052
1052
|
"typeIdentifier": "t_address",
|
|
@@ -1057,13 +1057,13 @@
|
|
|
1057
1057
|
},
|
|
1058
1058
|
{
|
|
1059
1059
|
"constant": false,
|
|
1060
|
-
"id":
|
|
1060
|
+
"id": 18015,
|
|
1061
1061
|
"mutability": "mutable",
|
|
1062
1062
|
"name": "agreementId",
|
|
1063
|
-
"nameLocation": "3612:11:
|
|
1063
|
+
"nameLocation": "3612:11:48",
|
|
1064
1064
|
"nodeType": "VariableDeclaration",
|
|
1065
|
-
"scope":
|
|
1066
|
-
"src": "3604:19:
|
|
1065
|
+
"scope": 18026,
|
|
1066
|
+
"src": "3604:19:48",
|
|
1067
1067
|
"stateVariable": false,
|
|
1068
1068
|
"storageLocation": "default",
|
|
1069
1069
|
"typeDescriptions": {
|
|
@@ -1071,10 +1071,10 @@
|
|
|
1071
1071
|
"typeString": "bytes32"
|
|
1072
1072
|
},
|
|
1073
1073
|
"typeName": {
|
|
1074
|
-
"id":
|
|
1074
|
+
"id": 18014,
|
|
1075
1075
|
"name": "bytes32",
|
|
1076
1076
|
"nodeType": "ElementaryTypeName",
|
|
1077
|
-
"src": "3604:7:
|
|
1077
|
+
"src": "3604:7:48",
|
|
1078
1078
|
"typeDescriptions": {
|
|
1079
1079
|
"typeIdentifier": "t_bytes32",
|
|
1080
1080
|
"typeString": "bytes32"
|
|
@@ -1084,13 +1084,13 @@
|
|
|
1084
1084
|
},
|
|
1085
1085
|
{
|
|
1086
1086
|
"constant": false,
|
|
1087
|
-
"id":
|
|
1087
|
+
"id": 18017,
|
|
1088
1088
|
"mutability": "mutable",
|
|
1089
1089
|
"name": "agreementData",
|
|
1090
|
-
"nameLocation": "3648:13:
|
|
1090
|
+
"nameLocation": "3648:13:48",
|
|
1091
1091
|
"nodeType": "VariableDeclaration",
|
|
1092
|
-
"scope":
|
|
1093
|
-
"src": "3633:28:
|
|
1092
|
+
"scope": 18026,
|
|
1093
|
+
"src": "3633:28:48",
|
|
1094
1094
|
"stateVariable": false,
|
|
1095
1095
|
"storageLocation": "calldata",
|
|
1096
1096
|
"typeDescriptions": {
|
|
@@ -1098,10 +1098,10 @@
|
|
|
1098
1098
|
"typeString": "bytes"
|
|
1099
1099
|
},
|
|
1100
1100
|
"typeName": {
|
|
1101
|
-
"id":
|
|
1101
|
+
"id": 18016,
|
|
1102
1102
|
"name": "bytes",
|
|
1103
1103
|
"nodeType": "ElementaryTypeName",
|
|
1104
|
-
"src": "3633:5:
|
|
1104
|
+
"src": "3633:5:48",
|
|
1105
1105
|
"typeDescriptions": {
|
|
1106
1106
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1107
1107
|
"typeString": "bytes"
|
|
@@ -1111,13 +1111,13 @@
|
|
|
1111
1111
|
},
|
|
1112
1112
|
{
|
|
1113
1113
|
"constant": false,
|
|
1114
|
-
"id":
|
|
1114
|
+
"id": 18019,
|
|
1115
1115
|
"mutability": "mutable",
|
|
1116
1116
|
"name": "cbdata",
|
|
1117
|
-
"nameLocation": "3686:6:
|
|
1117
|
+
"nameLocation": "3686:6:48",
|
|
1118
1118
|
"nodeType": "VariableDeclaration",
|
|
1119
|
-
"scope":
|
|
1120
|
-
"src": "3671:21:
|
|
1119
|
+
"scope": 18026,
|
|
1120
|
+
"src": "3671:21:48",
|
|
1121
1121
|
"stateVariable": false,
|
|
1122
1122
|
"storageLocation": "calldata",
|
|
1123
1123
|
"typeDescriptions": {
|
|
@@ -1125,10 +1125,10 @@
|
|
|
1125
1125
|
"typeString": "bytes"
|
|
1126
1126
|
},
|
|
1127
1127
|
"typeName": {
|
|
1128
|
-
"id":
|
|
1128
|
+
"id": 18018,
|
|
1129
1129
|
"name": "bytes",
|
|
1130
1130
|
"nodeType": "ElementaryTypeName",
|
|
1131
|
-
"src": "3671:5:
|
|
1131
|
+
"src": "3671:5:48",
|
|
1132
1132
|
"typeDescriptions": {
|
|
1133
1133
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1134
1134
|
"typeString": "bytes"
|
|
@@ -1138,13 +1138,13 @@
|
|
|
1138
1138
|
},
|
|
1139
1139
|
{
|
|
1140
1140
|
"constant": false,
|
|
1141
|
-
"id":
|
|
1141
|
+
"id": 18021,
|
|
1142
1142
|
"mutability": "mutable",
|
|
1143
1143
|
"name": "ctx",
|
|
1144
|
-
"nameLocation": "3717:3:
|
|
1144
|
+
"nameLocation": "3717:3:48",
|
|
1145
1145
|
"nodeType": "VariableDeclaration",
|
|
1146
|
-
"scope":
|
|
1147
|
-
"src": "3702:18:
|
|
1146
|
+
"scope": 18026,
|
|
1147
|
+
"src": "3702:18:48",
|
|
1148
1148
|
"stateVariable": false,
|
|
1149
1149
|
"storageLocation": "calldata",
|
|
1150
1150
|
"typeDescriptions": {
|
|
@@ -1152,10 +1152,10 @@
|
|
|
1152
1152
|
"typeString": "bytes"
|
|
1153
1153
|
},
|
|
1154
1154
|
"typeName": {
|
|
1155
|
-
"id":
|
|
1155
|
+
"id": 18020,
|
|
1156
1156
|
"name": "bytes",
|
|
1157
1157
|
"nodeType": "ElementaryTypeName",
|
|
1158
|
-
"src": "3702:5:
|
|
1158
|
+
"src": "3702:5:48",
|
|
1159
1159
|
"typeDescriptions": {
|
|
1160
1160
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1161
1161
|
"typeString": "bytes"
|
|
@@ -1164,21 +1164,21 @@
|
|
|
1164
1164
|
"visibility": "internal"
|
|
1165
1165
|
}
|
|
1166
1166
|
],
|
|
1167
|
-
"src": "3530:196:
|
|
1167
|
+
"src": "3530:196:48"
|
|
1168
1168
|
},
|
|
1169
1169
|
"returnParameters": {
|
|
1170
|
-
"id":
|
|
1170
|
+
"id": 18025,
|
|
1171
1171
|
"nodeType": "ParameterList",
|
|
1172
1172
|
"parameters": [
|
|
1173
1173
|
{
|
|
1174
1174
|
"constant": false,
|
|
1175
|
-
"id":
|
|
1175
|
+
"id": 18024,
|
|
1176
1176
|
"mutability": "mutable",
|
|
1177
1177
|
"name": "newCtx",
|
|
1178
|
-
"nameLocation": "3774:6:
|
|
1178
|
+
"nameLocation": "3774:6:48",
|
|
1179
1179
|
"nodeType": "VariableDeclaration",
|
|
1180
|
-
"scope":
|
|
1181
|
-
"src": "3761:19:
|
|
1180
|
+
"scope": 18026,
|
|
1181
|
+
"src": "3761:19:48",
|
|
1182
1182
|
"stateVariable": false,
|
|
1183
1183
|
"storageLocation": "memory",
|
|
1184
1184
|
"typeDescriptions": {
|
|
@@ -1186,10 +1186,10 @@
|
|
|
1186
1186
|
"typeString": "bytes"
|
|
1187
1187
|
},
|
|
1188
1188
|
"typeName": {
|
|
1189
|
-
"id":
|
|
1189
|
+
"id": 18023,
|
|
1190
1190
|
"name": "bytes",
|
|
1191
1191
|
"nodeType": "ElementaryTypeName",
|
|
1192
|
-
"src": "3761:5:
|
|
1192
|
+
"src": "3761:5:48",
|
|
1193
1193
|
"typeDescriptions": {
|
|
1194
1194
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1195
1195
|
"typeString": "bytes"
|
|
@@ -1198,62 +1198,62 @@
|
|
|
1198
1198
|
"visibility": "internal"
|
|
1199
1199
|
}
|
|
1200
1200
|
],
|
|
1201
|
-
"src": "3760:21:
|
|
1201
|
+
"src": "3760:21:48"
|
|
1202
1202
|
},
|
|
1203
|
-
"scope":
|
|
1204
|
-
"src": "3500:282:
|
|
1203
|
+
"scope": 18063,
|
|
1204
|
+
"src": "3500:282:48",
|
|
1205
1205
|
"stateMutability": "nonpayable",
|
|
1206
1206
|
"virtual": false,
|
|
1207
1207
|
"visibility": "external"
|
|
1208
1208
|
},
|
|
1209
1209
|
{
|
|
1210
1210
|
"documentation": {
|
|
1211
|
-
"id":
|
|
1211
|
+
"id": 18027,
|
|
1212
1212
|
"nodeType": "StructuredDocumentation",
|
|
1213
|
-
"src": "3788:595:
|
|
1213
|
+
"src": "3788:595:48",
|
|
1214
1214
|
"text": " @dev Callback before a new agreement is terminated.\n @param superToken The super token used for the agreement.\n @param agreementClass The agreement class address.\n @param agreementId The agreementId\n @param agreementData The agreement data (non-compressed)\n @param ctx The context data.\n @return cbdata A free format in memory data the app can use to pass\n arbitary information to the after-hook callback.\n NOTE:\n - It will be invoked with `staticcall`, no state changes are permitted.\n - Revert is not permitted."
|
|
1215
1215
|
},
|
|
1216
1216
|
"functionSelector": "5f9e7d77",
|
|
1217
|
-
"id":
|
|
1217
|
+
"id": 18043,
|
|
1218
1218
|
"implemented": false,
|
|
1219
1219
|
"kind": "function",
|
|
1220
1220
|
"modifiers": [],
|
|
1221
1221
|
"name": "beforeAgreementTerminated",
|
|
1222
|
-
"nameLocation": "4397:25:
|
|
1222
|
+
"nameLocation": "4397:25:48",
|
|
1223
1223
|
"nodeType": "FunctionDefinition",
|
|
1224
1224
|
"parameters": {
|
|
1225
|
-
"id":
|
|
1225
|
+
"id": 18039,
|
|
1226
1226
|
"nodeType": "ParameterList",
|
|
1227
1227
|
"parameters": [
|
|
1228
1228
|
{
|
|
1229
1229
|
"constant": false,
|
|
1230
|
-
"id":
|
|
1230
|
+
"id": 18030,
|
|
1231
1231
|
"mutability": "mutable",
|
|
1232
1232
|
"name": "superToken",
|
|
1233
|
-
"nameLocation": "4444:10:
|
|
1233
|
+
"nameLocation": "4444:10:48",
|
|
1234
1234
|
"nodeType": "VariableDeclaration",
|
|
1235
|
-
"scope":
|
|
1236
|
-
"src": "4432:22:
|
|
1235
|
+
"scope": 18043,
|
|
1236
|
+
"src": "4432:22:48",
|
|
1237
1237
|
"stateVariable": false,
|
|
1238
1238
|
"storageLocation": "default",
|
|
1239
1239
|
"typeDescriptions": {
|
|
1240
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1240
|
+
"typeIdentifier": "t_contract$_ISuperToken_$18439",
|
|
1241
1241
|
"typeString": "contract ISuperToken"
|
|
1242
1242
|
},
|
|
1243
1243
|
"typeName": {
|
|
1244
|
-
"id":
|
|
1244
|
+
"id": 18029,
|
|
1245
1245
|
"nodeType": "UserDefinedTypeName",
|
|
1246
1246
|
"pathNode": {
|
|
1247
|
-
"id":
|
|
1247
|
+
"id": 18028,
|
|
1248
1248
|
"name": "ISuperToken",
|
|
1249
1249
|
"nodeType": "IdentifierPath",
|
|
1250
|
-
"referencedDeclaration":
|
|
1251
|
-
"src": "4432:11:
|
|
1250
|
+
"referencedDeclaration": 18439,
|
|
1251
|
+
"src": "4432:11:48"
|
|
1252
1252
|
},
|
|
1253
|
-
"referencedDeclaration":
|
|
1254
|
-
"src": "4432:11:
|
|
1253
|
+
"referencedDeclaration": 18439,
|
|
1254
|
+
"src": "4432:11:48",
|
|
1255
1255
|
"typeDescriptions": {
|
|
1256
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1256
|
+
"typeIdentifier": "t_contract$_ISuperToken_$18439",
|
|
1257
1257
|
"typeString": "contract ISuperToken"
|
|
1258
1258
|
}
|
|
1259
1259
|
},
|
|
@@ -1261,13 +1261,13 @@
|
|
|
1261
1261
|
},
|
|
1262
1262
|
{
|
|
1263
1263
|
"constant": false,
|
|
1264
|
-
"id":
|
|
1264
|
+
"id": 18032,
|
|
1265
1265
|
"mutability": "mutable",
|
|
1266
1266
|
"name": "agreementClass",
|
|
1267
|
-
"nameLocation": "4472:14:
|
|
1267
|
+
"nameLocation": "4472:14:48",
|
|
1268
1268
|
"nodeType": "VariableDeclaration",
|
|
1269
|
-
"scope":
|
|
1270
|
-
"src": "4464:22:
|
|
1269
|
+
"scope": 18043,
|
|
1270
|
+
"src": "4464:22:48",
|
|
1271
1271
|
"stateVariable": false,
|
|
1272
1272
|
"storageLocation": "default",
|
|
1273
1273
|
"typeDescriptions": {
|
|
@@ -1275,10 +1275,10 @@
|
|
|
1275
1275
|
"typeString": "address"
|
|
1276
1276
|
},
|
|
1277
1277
|
"typeName": {
|
|
1278
|
-
"id":
|
|
1278
|
+
"id": 18031,
|
|
1279
1279
|
"name": "address",
|
|
1280
1280
|
"nodeType": "ElementaryTypeName",
|
|
1281
|
-
"src": "4464:7:
|
|
1281
|
+
"src": "4464:7:48",
|
|
1282
1282
|
"stateMutability": "nonpayable",
|
|
1283
1283
|
"typeDescriptions": {
|
|
1284
1284
|
"typeIdentifier": "t_address",
|
|
@@ -1289,13 +1289,13 @@
|
|
|
1289
1289
|
},
|
|
1290
1290
|
{
|
|
1291
1291
|
"constant": false,
|
|
1292
|
-
"id":
|
|
1292
|
+
"id": 18034,
|
|
1293
1293
|
"mutability": "mutable",
|
|
1294
1294
|
"name": "agreementId",
|
|
1295
|
-
"nameLocation": "4504:11:
|
|
1295
|
+
"nameLocation": "4504:11:48",
|
|
1296
1296
|
"nodeType": "VariableDeclaration",
|
|
1297
|
-
"scope":
|
|
1298
|
-
"src": "4496:19:
|
|
1297
|
+
"scope": 18043,
|
|
1298
|
+
"src": "4496:19:48",
|
|
1299
1299
|
"stateVariable": false,
|
|
1300
1300
|
"storageLocation": "default",
|
|
1301
1301
|
"typeDescriptions": {
|
|
@@ -1303,10 +1303,10 @@
|
|
|
1303
1303
|
"typeString": "bytes32"
|
|
1304
1304
|
},
|
|
1305
1305
|
"typeName": {
|
|
1306
|
-
"id":
|
|
1306
|
+
"id": 18033,
|
|
1307
1307
|
"name": "bytes32",
|
|
1308
1308
|
"nodeType": "ElementaryTypeName",
|
|
1309
|
-
"src": "4496:7:
|
|
1309
|
+
"src": "4496:7:48",
|
|
1310
1310
|
"typeDescriptions": {
|
|
1311
1311
|
"typeIdentifier": "t_bytes32",
|
|
1312
1312
|
"typeString": "bytes32"
|
|
@@ -1316,13 +1316,13 @@
|
|
|
1316
1316
|
},
|
|
1317
1317
|
{
|
|
1318
1318
|
"constant": false,
|
|
1319
|
-
"id":
|
|
1319
|
+
"id": 18036,
|
|
1320
1320
|
"mutability": "mutable",
|
|
1321
1321
|
"name": "agreementData",
|
|
1322
|
-
"nameLocation": "4540:13:
|
|
1322
|
+
"nameLocation": "4540:13:48",
|
|
1323
1323
|
"nodeType": "VariableDeclaration",
|
|
1324
|
-
"scope":
|
|
1325
|
-
"src": "4525:28:
|
|
1324
|
+
"scope": 18043,
|
|
1325
|
+
"src": "4525:28:48",
|
|
1326
1326
|
"stateVariable": false,
|
|
1327
1327
|
"storageLocation": "calldata",
|
|
1328
1328
|
"typeDescriptions": {
|
|
@@ -1330,10 +1330,10 @@
|
|
|
1330
1330
|
"typeString": "bytes"
|
|
1331
1331
|
},
|
|
1332
1332
|
"typeName": {
|
|
1333
|
-
"id":
|
|
1333
|
+
"id": 18035,
|
|
1334
1334
|
"name": "bytes",
|
|
1335
1335
|
"nodeType": "ElementaryTypeName",
|
|
1336
|
-
"src": "4525:5:
|
|
1336
|
+
"src": "4525:5:48",
|
|
1337
1337
|
"typeDescriptions": {
|
|
1338
1338
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1339
1339
|
"typeString": "bytes"
|
|
@@ -1343,13 +1343,13 @@
|
|
|
1343
1343
|
},
|
|
1344
1344
|
{
|
|
1345
1345
|
"constant": false,
|
|
1346
|
-
"id":
|
|
1346
|
+
"id": 18038,
|
|
1347
1347
|
"mutability": "mutable",
|
|
1348
1348
|
"name": "ctx",
|
|
1349
|
-
"nameLocation": "4578:3:
|
|
1349
|
+
"nameLocation": "4578:3:48",
|
|
1350
1350
|
"nodeType": "VariableDeclaration",
|
|
1351
|
-
"scope":
|
|
1352
|
-
"src": "4563:18:
|
|
1351
|
+
"scope": 18043,
|
|
1352
|
+
"src": "4563:18:48",
|
|
1353
1353
|
"stateVariable": false,
|
|
1354
1354
|
"storageLocation": "calldata",
|
|
1355
1355
|
"typeDescriptions": {
|
|
@@ -1357,10 +1357,10 @@
|
|
|
1357
1357
|
"typeString": "bytes"
|
|
1358
1358
|
},
|
|
1359
1359
|
"typeName": {
|
|
1360
|
-
"id":
|
|
1360
|
+
"id": 18037,
|
|
1361
1361
|
"name": "bytes",
|
|
1362
1362
|
"nodeType": "ElementaryTypeName",
|
|
1363
|
-
"src": "4563:5:
|
|
1363
|
+
"src": "4563:5:48",
|
|
1364
1364
|
"typeDescriptions": {
|
|
1365
1365
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1366
1366
|
"typeString": "bytes"
|
|
@@ -1369,21 +1369,21 @@
|
|
|
1369
1369
|
"visibility": "internal"
|
|
1370
1370
|
}
|
|
1371
1371
|
],
|
|
1372
|
-
"src": "4422:165:
|
|
1372
|
+
"src": "4422:165:48"
|
|
1373
1373
|
},
|
|
1374
1374
|
"returnParameters": {
|
|
1375
|
-
"id":
|
|
1375
|
+
"id": 18042,
|
|
1376
1376
|
"nodeType": "ParameterList",
|
|
1377
1377
|
"parameters": [
|
|
1378
1378
|
{
|
|
1379
1379
|
"constant": false,
|
|
1380
|
-
"id":
|
|
1380
|
+
"id": 18041,
|
|
1381
1381
|
"mutability": "mutable",
|
|
1382
1382
|
"name": "cbdata",
|
|
1383
|
-
"nameLocation": "4648:6:
|
|
1383
|
+
"nameLocation": "4648:6:48",
|
|
1384
1384
|
"nodeType": "VariableDeclaration",
|
|
1385
|
-
"scope":
|
|
1386
|
-
"src": "4635:19:
|
|
1385
|
+
"scope": 18043,
|
|
1386
|
+
"src": "4635:19:48",
|
|
1387
1387
|
"stateVariable": false,
|
|
1388
1388
|
"storageLocation": "memory",
|
|
1389
1389
|
"typeDescriptions": {
|
|
@@ -1391,10 +1391,10 @@
|
|
|
1391
1391
|
"typeString": "bytes"
|
|
1392
1392
|
},
|
|
1393
1393
|
"typeName": {
|
|
1394
|
-
"id":
|
|
1394
|
+
"id": 18040,
|
|
1395
1395
|
"name": "bytes",
|
|
1396
1396
|
"nodeType": "ElementaryTypeName",
|
|
1397
|
-
"src": "4635:5:
|
|
1397
|
+
"src": "4635:5:48",
|
|
1398
1398
|
"typeDescriptions": {
|
|
1399
1399
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1400
1400
|
"typeString": "bytes"
|
|
@@ -1403,62 +1403,62 @@
|
|
|
1403
1403
|
"visibility": "internal"
|
|
1404
1404
|
}
|
|
1405
1405
|
],
|
|
1406
|
-
"src": "4634:21:
|
|
1406
|
+
"src": "4634:21:48"
|
|
1407
1407
|
},
|
|
1408
|
-
"scope":
|
|
1409
|
-
"src": "4388:268:
|
|
1408
|
+
"scope": 18063,
|
|
1409
|
+
"src": "4388:268:48",
|
|
1410
1410
|
"stateMutability": "view",
|
|
1411
1411
|
"virtual": false,
|
|
1412
1412
|
"visibility": "external"
|
|
1413
1413
|
},
|
|
1414
1414
|
{
|
|
1415
1415
|
"documentation": {
|
|
1416
|
-
"id":
|
|
1416
|
+
"id": 18044,
|
|
1417
1417
|
"nodeType": "StructuredDocumentation",
|
|
1418
|
-
"src": "4662:544:
|
|
1418
|
+
"src": "4662:544:48",
|
|
1419
1419
|
"text": " @dev Callback after a new agreement is terminated.\n @param superToken The super token used for the agreement.\n @param agreementClass The agreement class address.\n @param agreementId The agreementId\n @param agreementData The agreement data (non-compressed)\n @param cbdata The data returned from the before-hook callback.\n @param ctx The context data.\n @return newCtx The current context of the transaction.\n NOTE:\n - State changes is permitted.\n - Revert is not permitted."
|
|
1420
1420
|
},
|
|
1421
1421
|
"functionSelector": "53c11f99",
|
|
1422
|
-
"id":
|
|
1422
|
+
"id": 18062,
|
|
1423
1423
|
"implemented": false,
|
|
1424
1424
|
"kind": "function",
|
|
1425
1425
|
"modifiers": [],
|
|
1426
1426
|
"name": "afterAgreementTerminated",
|
|
1427
|
-
"nameLocation": "5220:24:
|
|
1427
|
+
"nameLocation": "5220:24:48",
|
|
1428
1428
|
"nodeType": "FunctionDefinition",
|
|
1429
1429
|
"parameters": {
|
|
1430
|
-
"id":
|
|
1430
|
+
"id": 18058,
|
|
1431
1431
|
"nodeType": "ParameterList",
|
|
1432
1432
|
"parameters": [
|
|
1433
1433
|
{
|
|
1434
1434
|
"constant": false,
|
|
1435
|
-
"id":
|
|
1435
|
+
"id": 18047,
|
|
1436
1436
|
"mutability": "mutable",
|
|
1437
1437
|
"name": "superToken",
|
|
1438
|
-
"nameLocation": "5266:10:
|
|
1438
|
+
"nameLocation": "5266:10:48",
|
|
1439
1439
|
"nodeType": "VariableDeclaration",
|
|
1440
|
-
"scope":
|
|
1441
|
-
"src": "5254:22:
|
|
1440
|
+
"scope": 18062,
|
|
1441
|
+
"src": "5254:22:48",
|
|
1442
1442
|
"stateVariable": false,
|
|
1443
1443
|
"storageLocation": "default",
|
|
1444
1444
|
"typeDescriptions": {
|
|
1445
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1445
|
+
"typeIdentifier": "t_contract$_ISuperToken_$18439",
|
|
1446
1446
|
"typeString": "contract ISuperToken"
|
|
1447
1447
|
},
|
|
1448
1448
|
"typeName": {
|
|
1449
|
-
"id":
|
|
1449
|
+
"id": 18046,
|
|
1450
1450
|
"nodeType": "UserDefinedTypeName",
|
|
1451
1451
|
"pathNode": {
|
|
1452
|
-
"id":
|
|
1452
|
+
"id": 18045,
|
|
1453
1453
|
"name": "ISuperToken",
|
|
1454
1454
|
"nodeType": "IdentifierPath",
|
|
1455
|
-
"referencedDeclaration":
|
|
1456
|
-
"src": "5254:11:
|
|
1455
|
+
"referencedDeclaration": 18439,
|
|
1456
|
+
"src": "5254:11:48"
|
|
1457
1457
|
},
|
|
1458
|
-
"referencedDeclaration":
|
|
1459
|
-
"src": "5254:11:
|
|
1458
|
+
"referencedDeclaration": 18439,
|
|
1459
|
+
"src": "5254:11:48",
|
|
1460
1460
|
"typeDescriptions": {
|
|
1461
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1461
|
+
"typeIdentifier": "t_contract$_ISuperToken_$18439",
|
|
1462
1462
|
"typeString": "contract ISuperToken"
|
|
1463
1463
|
}
|
|
1464
1464
|
},
|
|
@@ -1466,13 +1466,13 @@
|
|
|
1466
1466
|
},
|
|
1467
1467
|
{
|
|
1468
1468
|
"constant": false,
|
|
1469
|
-
"id":
|
|
1469
|
+
"id": 18049,
|
|
1470
1470
|
"mutability": "mutable",
|
|
1471
1471
|
"name": "agreementClass",
|
|
1472
|
-
"nameLocation": "5294:14:
|
|
1472
|
+
"nameLocation": "5294:14:48",
|
|
1473
1473
|
"nodeType": "VariableDeclaration",
|
|
1474
|
-
"scope":
|
|
1475
|
-
"src": "5286:22:
|
|
1474
|
+
"scope": 18062,
|
|
1475
|
+
"src": "5286:22:48",
|
|
1476
1476
|
"stateVariable": false,
|
|
1477
1477
|
"storageLocation": "default",
|
|
1478
1478
|
"typeDescriptions": {
|
|
@@ -1480,10 +1480,10 @@
|
|
|
1480
1480
|
"typeString": "address"
|
|
1481
1481
|
},
|
|
1482
1482
|
"typeName": {
|
|
1483
|
-
"id":
|
|
1483
|
+
"id": 18048,
|
|
1484
1484
|
"name": "address",
|
|
1485
1485
|
"nodeType": "ElementaryTypeName",
|
|
1486
|
-
"src": "5286:7:
|
|
1486
|
+
"src": "5286:7:48",
|
|
1487
1487
|
"stateMutability": "nonpayable",
|
|
1488
1488
|
"typeDescriptions": {
|
|
1489
1489
|
"typeIdentifier": "t_address",
|
|
@@ -1494,13 +1494,13 @@
|
|
|
1494
1494
|
},
|
|
1495
1495
|
{
|
|
1496
1496
|
"constant": false,
|
|
1497
|
-
"id":
|
|
1497
|
+
"id": 18051,
|
|
1498
1498
|
"mutability": "mutable",
|
|
1499
1499
|
"name": "agreementId",
|
|
1500
|
-
"nameLocation": "5326:11:
|
|
1500
|
+
"nameLocation": "5326:11:48",
|
|
1501
1501
|
"nodeType": "VariableDeclaration",
|
|
1502
|
-
"scope":
|
|
1503
|
-
"src": "5318:19:
|
|
1502
|
+
"scope": 18062,
|
|
1503
|
+
"src": "5318:19:48",
|
|
1504
1504
|
"stateVariable": false,
|
|
1505
1505
|
"storageLocation": "default",
|
|
1506
1506
|
"typeDescriptions": {
|
|
@@ -1508,10 +1508,10 @@
|
|
|
1508
1508
|
"typeString": "bytes32"
|
|
1509
1509
|
},
|
|
1510
1510
|
"typeName": {
|
|
1511
|
-
"id":
|
|
1511
|
+
"id": 18050,
|
|
1512
1512
|
"name": "bytes32",
|
|
1513
1513
|
"nodeType": "ElementaryTypeName",
|
|
1514
|
-
"src": "5318:7:
|
|
1514
|
+
"src": "5318:7:48",
|
|
1515
1515
|
"typeDescriptions": {
|
|
1516
1516
|
"typeIdentifier": "t_bytes32",
|
|
1517
1517
|
"typeString": "bytes32"
|
|
@@ -1521,13 +1521,13 @@
|
|
|
1521
1521
|
},
|
|
1522
1522
|
{
|
|
1523
1523
|
"constant": false,
|
|
1524
|
-
"id":
|
|
1524
|
+
"id": 18053,
|
|
1525
1525
|
"mutability": "mutable",
|
|
1526
1526
|
"name": "agreementData",
|
|
1527
|
-
"nameLocation": "5362:13:
|
|
1527
|
+
"nameLocation": "5362:13:48",
|
|
1528
1528
|
"nodeType": "VariableDeclaration",
|
|
1529
|
-
"scope":
|
|
1530
|
-
"src": "5347:28:
|
|
1529
|
+
"scope": 18062,
|
|
1530
|
+
"src": "5347:28:48",
|
|
1531
1531
|
"stateVariable": false,
|
|
1532
1532
|
"storageLocation": "calldata",
|
|
1533
1533
|
"typeDescriptions": {
|
|
@@ -1535,10 +1535,10 @@
|
|
|
1535
1535
|
"typeString": "bytes"
|
|
1536
1536
|
},
|
|
1537
1537
|
"typeName": {
|
|
1538
|
-
"id":
|
|
1538
|
+
"id": 18052,
|
|
1539
1539
|
"name": "bytes",
|
|
1540
1540
|
"nodeType": "ElementaryTypeName",
|
|
1541
|
-
"src": "5347:5:
|
|
1541
|
+
"src": "5347:5:48",
|
|
1542
1542
|
"typeDescriptions": {
|
|
1543
1543
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1544
1544
|
"typeString": "bytes"
|
|
@@ -1548,13 +1548,13 @@
|
|
|
1548
1548
|
},
|
|
1549
1549
|
{
|
|
1550
1550
|
"constant": false,
|
|
1551
|
-
"id":
|
|
1551
|
+
"id": 18055,
|
|
1552
1552
|
"mutability": "mutable",
|
|
1553
1553
|
"name": "cbdata",
|
|
1554
|
-
"nameLocation": "5400:6:
|
|
1554
|
+
"nameLocation": "5400:6:48",
|
|
1555
1555
|
"nodeType": "VariableDeclaration",
|
|
1556
|
-
"scope":
|
|
1557
|
-
"src": "5385:21:
|
|
1556
|
+
"scope": 18062,
|
|
1557
|
+
"src": "5385:21:48",
|
|
1558
1558
|
"stateVariable": false,
|
|
1559
1559
|
"storageLocation": "calldata",
|
|
1560
1560
|
"typeDescriptions": {
|
|
@@ -1562,10 +1562,10 @@
|
|
|
1562
1562
|
"typeString": "bytes"
|
|
1563
1563
|
},
|
|
1564
1564
|
"typeName": {
|
|
1565
|
-
"id":
|
|
1565
|
+
"id": 18054,
|
|
1566
1566
|
"name": "bytes",
|
|
1567
1567
|
"nodeType": "ElementaryTypeName",
|
|
1568
|
-
"src": "5385:5:
|
|
1568
|
+
"src": "5385:5:48",
|
|
1569
1569
|
"typeDescriptions": {
|
|
1570
1570
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1571
1571
|
"typeString": "bytes"
|
|
@@ -1575,13 +1575,13 @@
|
|
|
1575
1575
|
},
|
|
1576
1576
|
{
|
|
1577
1577
|
"constant": false,
|
|
1578
|
-
"id":
|
|
1578
|
+
"id": 18057,
|
|
1579
1579
|
"mutability": "mutable",
|
|
1580
1580
|
"name": "ctx",
|
|
1581
|
-
"nameLocation": "5431:3:
|
|
1581
|
+
"nameLocation": "5431:3:48",
|
|
1582
1582
|
"nodeType": "VariableDeclaration",
|
|
1583
|
-
"scope":
|
|
1584
|
-
"src": "5416:18:
|
|
1583
|
+
"scope": 18062,
|
|
1584
|
+
"src": "5416:18:48",
|
|
1585
1585
|
"stateVariable": false,
|
|
1586
1586
|
"storageLocation": "calldata",
|
|
1587
1587
|
"typeDescriptions": {
|
|
@@ -1589,10 +1589,10 @@
|
|
|
1589
1589
|
"typeString": "bytes"
|
|
1590
1590
|
},
|
|
1591
1591
|
"typeName": {
|
|
1592
|
-
"id":
|
|
1592
|
+
"id": 18056,
|
|
1593
1593
|
"name": "bytes",
|
|
1594
1594
|
"nodeType": "ElementaryTypeName",
|
|
1595
|
-
"src": "5416:5:
|
|
1595
|
+
"src": "5416:5:48",
|
|
1596
1596
|
"typeDescriptions": {
|
|
1597
1597
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1598
1598
|
"typeString": "bytes"
|
|
@@ -1601,21 +1601,21 @@
|
|
|
1601
1601
|
"visibility": "internal"
|
|
1602
1602
|
}
|
|
1603
1603
|
],
|
|
1604
|
-
"src": "5244:196:
|
|
1604
|
+
"src": "5244:196:48"
|
|
1605
1605
|
},
|
|
1606
1606
|
"returnParameters": {
|
|
1607
|
-
"id":
|
|
1607
|
+
"id": 18061,
|
|
1608
1608
|
"nodeType": "ParameterList",
|
|
1609
1609
|
"parameters": [
|
|
1610
1610
|
{
|
|
1611
1611
|
"constant": false,
|
|
1612
|
-
"id":
|
|
1612
|
+
"id": 18060,
|
|
1613
1613
|
"mutability": "mutable",
|
|
1614
1614
|
"name": "newCtx",
|
|
1615
|
-
"nameLocation": "5488:6:
|
|
1615
|
+
"nameLocation": "5488:6:48",
|
|
1616
1616
|
"nodeType": "VariableDeclaration",
|
|
1617
|
-
"scope":
|
|
1618
|
-
"src": "5475:19:
|
|
1617
|
+
"scope": 18062,
|
|
1618
|
+
"src": "5475:19:48",
|
|
1619
1619
|
"stateVariable": false,
|
|
1620
1620
|
"storageLocation": "memory",
|
|
1621
1621
|
"typeDescriptions": {
|
|
@@ -1623,10 +1623,10 @@
|
|
|
1623
1623
|
"typeString": "bytes"
|
|
1624
1624
|
},
|
|
1625
1625
|
"typeName": {
|
|
1626
|
-
"id":
|
|
1626
|
+
"id": 18059,
|
|
1627
1627
|
"name": "bytes",
|
|
1628
1628
|
"nodeType": "ElementaryTypeName",
|
|
1629
|
-
"src": "5475:5:
|
|
1629
|
+
"src": "5475:5:48",
|
|
1630
1630
|
"typeDescriptions": {
|
|
1631
1631
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1632
1632
|
"typeString": "bytes"
|
|
@@ -1635,21 +1635,21 @@
|
|
|
1635
1635
|
"visibility": "internal"
|
|
1636
1636
|
}
|
|
1637
1637
|
],
|
|
1638
|
-
"src": "5474:21:
|
|
1638
|
+
"src": "5474:21:48"
|
|
1639
1639
|
},
|
|
1640
|
-
"scope":
|
|
1641
|
-
"src": "5211:285:
|
|
1640
|
+
"scope": 18063,
|
|
1641
|
+
"src": "5211:285:48",
|
|
1642
1642
|
"stateMutability": "nonpayable",
|
|
1643
1643
|
"virtual": false,
|
|
1644
1644
|
"visibility": "external"
|
|
1645
1645
|
}
|
|
1646
1646
|
],
|
|
1647
|
-
"scope":
|
|
1648
|
-
"src": "249:5249:
|
|
1647
|
+
"scope": 18064,
|
|
1648
|
+
"src": "249:5249:48",
|
|
1649
1649
|
"usedErrors": []
|
|
1650
1650
|
}
|
|
1651
1651
|
],
|
|
1652
|
-
"src": "35:5464:
|
|
1652
|
+
"src": "35:5464:48"
|
|
1653
1653
|
},
|
|
1654
1654
|
"compiler": {
|
|
1655
1655
|
"name": "solc",
|
|
@@ -1657,7 +1657,7 @@
|
|
|
1657
1657
|
},
|
|
1658
1658
|
"networks": {},
|
|
1659
1659
|
"schemaVersion": "3.4.7",
|
|
1660
|
-
"updatedAt": "2022-
|
|
1660
|
+
"updatedAt": "2022-05-06T17:19:48.258Z",
|
|
1661
1661
|
"devdoc": {
|
|
1662
1662
|
"author": "Superfluid",
|
|
1663
1663
|
"details": "Be aware of the app being jailed, when the word permitted is used.",
|