@superfluid-finance/ethereum-contracts 1.3.2-dev.bf84335.0 → 1.3.2-dev.e55bf9f.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/build/contracts/AccessControl.json +1 -1
  2. package/build/contracts/AccessControlEnumerable.json +1 -1
  3. package/build/contracts/Address.json +1 -1
  4. package/build/contracts/AgreementBase.json +18 -18
  5. package/build/contracts/AgreementLibrary.json +1272 -1183
  6. package/build/contracts/BaseRelayRecipient.json +55 -55
  7. package/build/contracts/BatchLiquidator.json +211 -211
  8. package/build/contracts/BatchOperation.json +599 -599
  9. package/build/contracts/CFAv1Library.json +2282 -2282
  10. package/build/contracts/CallUtils.json +198 -198
  11. package/build/contracts/ClosingOnUpdateFlowTestApp.json +2472 -2472
  12. package/build/contracts/ConstantFlowAgreementV1.json +12931 -13308
  13. package/build/contracts/Context.json +1 -1
  14. package/build/contracts/ContextDefinitions.json +599 -599
  15. package/build/contracts/Create2.json +1 -1
  16. package/build/contracts/CustomSuperTokenBase.json +20 -20
  17. package/build/contracts/ERC165.json +1 -1
  18. package/build/contracts/ERC1820Implementer.json +1 -1
  19. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  20. package/build/contracts/ERC20.json +1 -1
  21. package/build/contracts/ERC20Burnable.json +1 -1
  22. package/build/contracts/ERC20Pausable.json +1 -1
  23. package/build/contracts/ERC20PresetMinterPauser.json +1 -1
  24. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  25. package/build/contracts/ERC777Helper.json +380 -380
  26. package/build/contracts/ERC777RecipientDrainingGas.json +858 -858
  27. package/build/contracts/ERC777RecipientReverting.json +858 -858
  28. package/build/contracts/EnumerableSet.json +1 -1
  29. package/build/contracts/EventsEmitter.json +43 -43
  30. package/build/contracts/ExclusiveInflowTestApp.json +2473 -2473
  31. package/build/contracts/FixedSizeData.json +200 -200
  32. package/build/contracts/FlowExchangeTestApp.json +2473 -2473
  33. package/build/contracts/FlowOperatorDefinitions.json +599 -599
  34. package/build/contracts/FullUpgradableSuperTokenProxy.json +115 -115
  35. package/build/contracts/IAccessControl.json +1 -1
  36. package/build/contracts/IAccessControlEnumerable.json +1 -1
  37. package/build/contracts/IConstantFlowAgreementV1.json +567 -567
  38. package/build/contracts/IDAv1Library.json +2614 -2614
  39. package/build/contracts/IERC165.json +1 -1
  40. package/build/contracts/IERC1820Implementer.json +1 -1
  41. package/build/contracts/IERC1820Registry.json +1 -1
  42. package/build/contracts/IERC20.json +1 -1
  43. package/build/contracts/IERC20Metadata.json +1 -1
  44. package/build/contracts/IERC20Permit.json +1 -1
  45. package/build/contracts/IERC777.json +1 -1
  46. package/build/contracts/IERC777Recipient.json +1 -1
  47. package/build/contracts/IERC777Sender.json +1 -1
  48. package/build/contracts/IInstantDistributionAgreementV1.json +640 -640
  49. package/build/contracts/IMaticBridgedNativeSuperToken.json +63 -63
  50. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +63 -63
  51. package/build/contracts/IMultiSigWallet.json +24 -24
  52. package/build/contracts/IPureSuperToken.json +43 -43
  53. package/build/contracts/IPureSuperTokenCustom.json +43 -43
  54. package/build/contracts/IRelayRecipient.json +27 -27
  55. package/build/contracts/IResolver.json +38 -38
  56. package/build/contracts/ISETH.json +48 -48
  57. package/build/contracts/ISETHCustom.json +48 -48
  58. package/build/contracts/ISuperAgreement.json +50 -50
  59. package/build/contracts/ISuperApp.json +192 -192
  60. package/build/contracts/ISuperToken.json +524 -524
  61. package/build/contracts/ISuperTokenFactory.json +161 -161
  62. package/build/contracts/ISuperfluid.json +1145 -1178
  63. package/build/contracts/ISuperfluidGovernance.json +243 -243
  64. package/build/contracts/ISuperfluidToken.json +389 -389
  65. package/build/contracts/ITOGAv1.json +1442 -1442
  66. package/build/contracts/ITOGAv2.json +1442 -1442
  67. package/build/contracts/Initializable.json +1 -1
  68. package/build/contracts/InstantDistributionAgreementV1.json +5820 -5820
  69. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +231 -231
  70. package/build/contracts/NonClosableOutflowTestApp.json +2473 -2473
  71. package/build/contracts/Ownable.json +1 -1
  72. package/build/contracts/Pausable.json +1 -1
  73. package/build/contracts/Proxy.json +1 -1
  74. package/build/contracts/PureSuperToken.json +109 -109
  75. package/build/contracts/Resolver.json +98 -98
  76. package/build/contracts/SETHProxy.json +227 -227
  77. package/build/contracts/SafeCast.json +1 -1
  78. package/build/contracts/SafeERC20.json +1 -1
  79. package/build/contracts/SafeMath.json +1 -1
  80. package/build/contracts/SelfDeletingFlowTestApp.json +2472 -2472
  81. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  82. package/build/contracts/StreamRedirector.json +748 -748
  83. package/build/contracts/Strings.json +1 -1
  84. package/build/contracts/SuperAppBase.json +240 -240
  85. package/build/contracts/SuperAppDefinitions.json +599 -599
  86. package/build/contracts/SuperToken.json +4732 -4732
  87. package/build/contracts/SuperTokenFactory.json +750 -750
  88. package/build/contracts/SuperTokenFactoryBase.json +738 -738
  89. package/build/contracts/SuperTokenFactoryHelper.json +743 -743
  90. package/build/contracts/SuperUpgrader.json +440 -440
  91. package/build/contracts/Superfluid.json +15366 -16050
  92. package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
  93. package/build/contracts/SuperfluidGovernanceBase.json +2233 -2233
  94. package/build/contracts/SuperfluidGovernanceConfigs.json +599 -599
  95. package/build/contracts/SuperfluidGovernanceII.json +149 -149
  96. package/build/contracts/SuperfluidGovernanceIIProxy.json +131 -131
  97. package/build/contracts/SuperfluidLoader.json +210 -210
  98. package/build/contracts/SuperfluidToken.json +2420 -2420
  99. package/build/contracts/TOGA.json +1461 -1461
  100. package/build/contracts/TestGovernance.json +248 -248
  101. package/build/contracts/TestToken.json +93 -93
  102. package/build/contracts/TokenCustodian.json +214 -214
  103. package/build/contracts/TokenInfo.json +32 -32
  104. package/build/contracts/UUPSProxiable.json +139 -139
  105. package/build/contracts/UUPSProxy.json +81 -81
  106. package/build/contracts/UUPSUtils.json +37 -37
  107. package/build/contracts-sizes.txt +6 -6
  108. package/contracts/agreements/AgreementLibrary.sol +39 -15
  109. package/contracts/agreements/ConstantFlowAgreementV1.sol +65 -53
  110. package/contracts/interfaces/superfluid/ISuperfluid.sol +29 -23
  111. package/contracts/mocks/AgreementMock.sol +2 -2
  112. package/contracts/mocks/CFAAppMocks.sol +1 -1
  113. package/contracts/mocks/MultiFlowTesterApp.sol +13 -12
  114. package/contracts/mocks/SuperTokenMock.sol +2 -2
  115. package/contracts/mocks/SuperfluidMock.sol +9 -9
  116. package/contracts/superfluid/Superfluid.sol +34 -38
  117. package/contracts/superfluid/SuperfluidToken.sol +14 -14
  118. package/package.json +2 -2
  119. package/scripts/deploy-mfa.ts +27 -0
  120. package/scripts/libs/getConfig.js +14 -0
  121. package/utils/README.md +18 -0
  122. package/utils/mfa-tester.html +687 -0
@@ -3061,15 +3061,15 @@
3061
3061
  2372
3062
3062
  ],
3063
3063
  "TokenCustodian": [
3064
- 39299
3064
+ 39291
3065
3065
  ]
3066
3066
  },
3067
- "id": 39300,
3067
+ "id": 39292,
3068
3068
  "license": "AGPLv3",
3069
3069
  "nodeType": "SourceUnit",
3070
3070
  "nodes": [
3071
3071
  {
3072
- "id": 39145,
3072
+ "id": 39137,
3073
3073
  "literals": [
3074
3074
  "solidity",
3075
3075
  "0.8",
@@ -3081,16 +3081,16 @@
3081
3081
  {
3082
3082
  "absolutePath": "@openzeppelin/contracts/token/ERC777/IERC777.sol",
3083
3083
  "file": "@openzeppelin/contracts/token/ERC777/IERC777.sol",
3084
- "id": 39147,
3084
+ "id": 39139,
3085
3085
  "nameLocation": "-1:-1:-1",
3086
3086
  "nodeType": "ImportDirective",
3087
- "scope": 39300,
3087
+ "scope": 39292,
3088
3088
  "sourceUnit": 2353,
3089
3089
  "src": "60:75:106",
3090
3090
  "symbolAliases": [
3091
3091
  {
3092
3092
  "foreign": {
3093
- "id": 39146,
3093
+ "id": 39138,
3094
3094
  "name": "IERC777",
3095
3095
  "nodeType": "Identifier",
3096
3096
  "overloadedDeclarations": [],
@@ -3106,16 +3106,16 @@
3106
3106
  {
3107
3107
  "absolutePath": "@openzeppelin/contracts/utils/introspection/IERC1820Registry.sol",
3108
3108
  "file": "@openzeppelin/contracts/utils/introspection/IERC1820Registry.sol",
3109
- "id": 39149,
3109
+ "id": 39141,
3110
3110
  "nameLocation": "-1:-1:-1",
3111
3111
  "nodeType": "ImportDirective",
3112
- "scope": 39300,
3112
+ "scope": 39292,
3113
3113
  "sourceUnit": 3246,
3114
3114
  "src": "136:100:106",
3115
3115
  "symbolAliases": [
3116
3116
  {
3117
3117
  "foreign": {
3118
- "id": 39148,
3118
+ "id": 39140,
3119
3119
  "name": "IERC1820Registry",
3120
3120
  "nodeType": "Identifier",
3121
3121
  "overloadedDeclarations": [],
@@ -3131,16 +3131,16 @@
3131
3131
  {
3132
3132
  "absolutePath": "@openzeppelin/contracts/token/ERC777/IERC777Recipient.sol",
3133
3133
  "file": "@openzeppelin/contracts/token/ERC777/IERC777Recipient.sol",
3134
- "id": 39151,
3134
+ "id": 39143,
3135
3135
  "nameLocation": "-1:-1:-1",
3136
3136
  "nodeType": "ImportDirective",
3137
- "scope": 39300,
3137
+ "scope": 39292,
3138
3138
  "sourceUnit": 2373,
3139
3139
  "src": "237:93:106",
3140
3140
  "symbolAliases": [
3141
3141
  {
3142
3142
  "foreign": {
3143
- "id": 39150,
3143
+ "id": 39142,
3144
3144
  "name": "IERC777Recipient",
3145
3145
  "nodeType": "Identifier",
3146
3146
  "overloadedDeclarations": [],
@@ -3158,13 +3158,13 @@
3158
3158
  "baseContracts": [
3159
3159
  {
3160
3160
  "baseName": {
3161
- "id": 39153,
3161
+ "id": 39145,
3162
3162
  "name": "IERC777Recipient",
3163
3163
  "nodeType": "IdentifierPath",
3164
3164
  "referencedDeclaration": 2372,
3165
3165
  "src": "521:16:106"
3166
3166
  },
3167
- "id": 39154,
3167
+ "id": 39146,
3168
3168
  "nodeType": "InheritanceSpecifier",
3169
3169
  "src": "521:16:106"
3170
3170
  }
@@ -3173,15 +3173,15 @@
3173
3173
  "contractDependencies": [],
3174
3174
  "contractKind": "contract",
3175
3175
  "documentation": {
3176
- "id": 39152,
3176
+ "id": 39144,
3177
3177
  "nodeType": "StructuredDocumentation",
3178
3178
  "src": "332:161:106",
3179
3179
  "text": " @title Token custodian contract\n @author Superfluid\n @dev Contract which takes custody of funds which couldn't be sent to the designated recipient"
3180
3180
  },
3181
3181
  "fullyImplemented": true,
3182
- "id": 39299,
3182
+ "id": 39291,
3183
3183
  "linearizedBaseContracts": [
3184
- 39299,
3184
+ 39291,
3185
3185
  2372
3186
3186
  ],
3187
3187
  "name": "TokenCustodian",
@@ -3190,12 +3190,12 @@
3190
3190
  "nodes": [
3191
3191
  {
3192
3192
  "constant": true,
3193
- "id": 39160,
3193
+ "id": 39152,
3194
3194
  "mutability": "constant",
3195
3195
  "name": "_ERC1820_REGISTRY",
3196
3196
  "nameLocation": "579:17:106",
3197
3197
  "nodeType": "VariableDeclaration",
3198
- "scope": 39299,
3198
+ "scope": 39291,
3199
3199
  "src": "544:119:106",
3200
3200
  "stateVariable": true,
3201
3201
  "storageLocation": "default",
@@ -3204,10 +3204,10 @@
3204
3204
  "typeString": "contract IERC1820Registry"
3205
3205
  },
3206
3206
  "typeName": {
3207
- "id": 39156,
3207
+ "id": 39148,
3208
3208
  "nodeType": "UserDefinedTypeName",
3209
3209
  "pathNode": {
3210
- "id": 39155,
3210
+ "id": 39147,
3211
3211
  "name": "IERC1820Registry",
3212
3212
  "nodeType": "IdentifierPath",
3213
3213
  "referencedDeclaration": 3245,
@@ -3224,7 +3224,7 @@
3224
3224
  "arguments": [
3225
3225
  {
3226
3226
  "hexValue": "307831383230613442373631384264453731446365386364633733614142364339353930356661443234",
3227
- "id": 39158,
3227
+ "id": 39150,
3228
3228
  "isConstant": false,
3229
3229
  "isLValue": false,
3230
3230
  "isPure": true,
@@ -3246,7 +3246,7 @@
3246
3246
  "typeString": "address"
3247
3247
  }
3248
3248
  ],
3249
- "id": 39157,
3249
+ "id": 39149,
3250
3250
  "name": "IERC1820Registry",
3251
3251
  "nodeType": "Identifier",
3252
3252
  "overloadedDeclarations": [],
@@ -3257,7 +3257,7 @@
3257
3257
  "typeString": "type(contract IERC1820Registry)"
3258
3258
  }
3259
3259
  },
3260
- "id": 39159,
3260
+ "id": 39151,
3261
3261
  "isConstant": false,
3262
3262
  "isLValue": false,
3263
3263
  "isPure": true,
@@ -3277,12 +3277,12 @@
3277
3277
  {
3278
3278
  "constant": false,
3279
3279
  "functionSelector": "c23f001f",
3280
- "id": 39167,
3280
+ "id": 39159,
3281
3281
  "mutability": "mutable",
3282
3282
  "name": "balances",
3283
3283
  "nameLocation": "724:8:106",
3284
3284
  "nodeType": "VariableDeclaration",
3285
- "scope": 39299,
3285
+ "scope": 39291,
3286
3286
  "src": "669:63:106",
3287
3287
  "stateVariable": true,
3288
3288
  "storageLocation": "default",
@@ -3291,12 +3291,12 @@
3291
3291
  "typeString": "mapping(contract IERC777 => mapping(address => uint256))"
3292
3292
  },
3293
3293
  "typeName": {
3294
- "id": 39166,
3294
+ "id": 39158,
3295
3295
  "keyType": {
3296
- "id": 39162,
3296
+ "id": 39154,
3297
3297
  "nodeType": "UserDefinedTypeName",
3298
3298
  "pathNode": {
3299
- "id": 39161,
3299
+ "id": 39153,
3300
3300
  "name": "IERC777",
3301
3301
  "nodeType": "IdentifierPath",
3302
3302
  "referencedDeclaration": 2352,
@@ -3316,9 +3316,9 @@
3316
3316
  "typeString": "mapping(contract IERC777 => mapping(address => uint256))"
3317
3317
  },
3318
3318
  "valueType": {
3319
- "id": 39165,
3319
+ "id": 39157,
3320
3320
  "keyType": {
3321
- "id": 39163,
3321
+ "id": 39155,
3322
3322
  "name": "address",
3323
3323
  "nodeType": "ElementaryTypeName",
3324
3324
  "src": "696:7:106",
@@ -3334,7 +3334,7 @@
3334
3334
  "typeString": "mapping(address => uint256)"
3335
3335
  },
3336
3336
  "valueType": {
3337
- "id": 39164,
3337
+ "id": 39156,
3338
3338
  "name": "uint256",
3339
3339
  "nodeType": "ElementaryTypeName",
3340
3340
  "src": "707:7:106",
@@ -3349,7 +3349,7 @@
3349
3349
  },
3350
3350
  {
3351
3351
  "body": {
3352
- "id": 39186,
3352
+ "id": 39178,
3353
3353
  "nodeType": "Block",
3354
3354
  "src": "753:124:106",
3355
3355
  "statements": [
@@ -3359,14 +3359,14 @@
3359
3359
  {
3360
3360
  "arguments": [
3361
3361
  {
3362
- "id": 39175,
3362
+ "id": 39167,
3363
3363
  "name": "this",
3364
3364
  "nodeType": "Identifier",
3365
3365
  "overloadedDeclarations": [],
3366
3366
  "referencedDeclaration": 4294967268,
3367
3367
  "src": "813:4:106",
3368
3368
  "typeDescriptions": {
3369
- "typeIdentifier": "t_contract$_TokenCustodian_$39299",
3369
+ "typeIdentifier": "t_contract$_TokenCustodian_$39291",
3370
3370
  "typeString": "contract TokenCustodian"
3371
3371
  }
3372
3372
  }
@@ -3374,11 +3374,11 @@
3374
3374
  "expression": {
3375
3375
  "argumentTypes": [
3376
3376
  {
3377
- "typeIdentifier": "t_contract$_TokenCustodian_$39299",
3377
+ "typeIdentifier": "t_contract$_TokenCustodian_$39291",
3378
3378
  "typeString": "contract TokenCustodian"
3379
3379
  }
3380
3380
  ],
3381
- "id": 39174,
3381
+ "id": 39166,
3382
3382
  "isConstant": false,
3383
3383
  "isLValue": false,
3384
3384
  "isPure": true,
@@ -3390,14 +3390,14 @@
3390
3390
  "typeString": "type(address)"
3391
3391
  },
3392
3392
  "typeName": {
3393
- "id": 39173,
3393
+ "id": 39165,
3394
3394
  "name": "address",
3395
3395
  "nodeType": "ElementaryTypeName",
3396
3396
  "src": "805:7:106",
3397
3397
  "typeDescriptions": {}
3398
3398
  }
3399
3399
  },
3400
- "id": 39176,
3400
+ "id": 39168,
3401
3401
  "isConstant": false,
3402
3402
  "isLValue": false,
3403
3403
  "isPure": false,
@@ -3416,7 +3416,7 @@
3416
3416
  "arguments": [
3417
3417
  {
3418
3418
  "hexValue": "455243373737546f6b656e73526563697069656e74",
3419
- "id": 39178,
3419
+ "id": 39170,
3420
3420
  "isConstant": false,
3421
3421
  "isLValue": false,
3422
3422
  "isPure": true,
@@ -3438,7 +3438,7 @@
3438
3438
  "typeString": "literal_string \"ERC777TokensRecipient\""
3439
3439
  }
3440
3440
  ],
3441
- "id": 39177,
3441
+ "id": 39169,
3442
3442
  "name": "keccak256",
3443
3443
  "nodeType": "Identifier",
3444
3444
  "overloadedDeclarations": [],
@@ -3449,7 +3449,7 @@
3449
3449
  "typeString": "function (bytes memory) pure returns (bytes32)"
3450
3450
  }
3451
3451
  },
3452
- "id": 39179,
3452
+ "id": 39171,
3453
3453
  "isConstant": false,
3454
3454
  "isLValue": false,
3455
3455
  "isPure": true,
@@ -3467,14 +3467,14 @@
3467
3467
  {
3468
3468
  "arguments": [
3469
3469
  {
3470
- "id": 39182,
3470
+ "id": 39174,
3471
3471
  "name": "this",
3472
3472
  "nodeType": "Identifier",
3473
3473
  "overloadedDeclarations": [],
3474
3474
  "referencedDeclaration": 4294967268,
3475
3475
  "src": "864:4:106",
3476
3476
  "typeDescriptions": {
3477
- "typeIdentifier": "t_contract$_TokenCustodian_$39299",
3477
+ "typeIdentifier": "t_contract$_TokenCustodian_$39291",
3478
3478
  "typeString": "contract TokenCustodian"
3479
3479
  }
3480
3480
  }
@@ -3482,11 +3482,11 @@
3482
3482
  "expression": {
3483
3483
  "argumentTypes": [
3484
3484
  {
3485
- "typeIdentifier": "t_contract$_TokenCustodian_$39299",
3485
+ "typeIdentifier": "t_contract$_TokenCustodian_$39291",
3486
3486
  "typeString": "contract TokenCustodian"
3487
3487
  }
3488
3488
  ],
3489
- "id": 39181,
3489
+ "id": 39173,
3490
3490
  "isConstant": false,
3491
3491
  "isLValue": false,
3492
3492
  "isPure": true,
@@ -3498,14 +3498,14 @@
3498
3498
  "typeString": "type(address)"
3499
3499
  },
3500
3500
  "typeName": {
3501
- "id": 39180,
3501
+ "id": 39172,
3502
3502
  "name": "address",
3503
3503
  "nodeType": "ElementaryTypeName",
3504
3504
  "src": "856:7:106",
3505
3505
  "typeDescriptions": {}
3506
3506
  }
3507
3507
  },
3508
- "id": 39183,
3508
+ "id": 39175,
3509
3509
  "isConstant": false,
3510
3510
  "isLValue": false,
3511
3511
  "isPure": false,
@@ -3537,18 +3537,18 @@
3537
3537
  }
3538
3538
  ],
3539
3539
  "expression": {
3540
- "id": 39170,
3540
+ "id": 39162,
3541
3541
  "name": "_ERC1820_REGISTRY",
3542
3542
  "nodeType": "Identifier",
3543
3543
  "overloadedDeclarations": [],
3544
- "referencedDeclaration": 39160,
3544
+ "referencedDeclaration": 39152,
3545
3545
  "src": "763:17:106",
3546
3546
  "typeDescriptions": {
3547
3547
  "typeIdentifier": "t_contract$_IERC1820Registry_$3245",
3548
3548
  "typeString": "contract IERC1820Registry"
3549
3549
  }
3550
3550
  },
3551
- "id": 39172,
3551
+ "id": 39164,
3552
3552
  "isConstant": false,
3553
3553
  "isLValue": false,
3554
3554
  "isPure": false,
@@ -3562,7 +3562,7 @@
3562
3562
  "typeString": "function (address,bytes32,address) external"
3563
3563
  }
3564
3564
  },
3565
- "id": 39184,
3565
+ "id": 39176,
3566
3566
  "isConstant": false,
3567
3567
  "isLValue": false,
3568
3568
  "isPure": false,
@@ -3577,13 +3577,13 @@
3577
3577
  "typeString": "tuple()"
3578
3578
  }
3579
3579
  },
3580
- "id": 39185,
3580
+ "id": 39177,
3581
3581
  "nodeType": "ExpressionStatement",
3582
3582
  "src": "763:107:106"
3583
3583
  }
3584
3584
  ]
3585
3585
  },
3586
- "id": 39187,
3586
+ "id": 39179,
3587
3587
  "implemented": true,
3588
3588
  "kind": "constructor",
3589
3589
  "modifiers": [],
@@ -3591,18 +3591,18 @@
3591
3591
  "nameLocation": "-1:-1:-1",
3592
3592
  "nodeType": "FunctionDefinition",
3593
3593
  "parameters": {
3594
- "id": 39168,
3594
+ "id": 39160,
3595
3595
  "nodeType": "ParameterList",
3596
3596
  "parameters": [],
3597
3597
  "src": "750:2:106"
3598
3598
  },
3599
3599
  "returnParameters": {
3600
- "id": 39169,
3600
+ "id": 39161,
3601
3601
  "nodeType": "ParameterList",
3602
3602
  "parameters": [],
3603
3603
  "src": "753:0:106"
3604
3604
  },
3605
- "scope": 39299,
3605
+ "scope": 39291,
3606
3606
  "src": "739:138:106",
3607
3607
  "stateMutability": "nonpayable",
3608
3608
  "virtual": false,
@@ -3611,23 +3611,23 @@
3611
3611
  {
3612
3612
  "anonymous": false,
3613
3613
  "eventSelector": "9318b8aa904a44e8e096d937e3ff0488521fd9ce8db68cb8b120e2a08cbc02a1",
3614
- "id": 39196,
3614
+ "id": 39188,
3615
3615
  "name": "CustodianDeposit",
3616
3616
  "nameLocation": "889:16:106",
3617
3617
  "nodeType": "EventDefinition",
3618
3618
  "parameters": {
3619
- "id": 39195,
3619
+ "id": 39187,
3620
3620
  "nodeType": "ParameterList",
3621
3621
  "parameters": [
3622
3622
  {
3623
3623
  "constant": false,
3624
- "id": 39190,
3624
+ "id": 39182,
3625
3625
  "indexed": true,
3626
3626
  "mutability": "mutable",
3627
3627
  "name": "token",
3628
3628
  "nameLocation": "922:5:106",
3629
3629
  "nodeType": "VariableDeclaration",
3630
- "scope": 39196,
3630
+ "scope": 39188,
3631
3631
  "src": "906:21:106",
3632
3632
  "stateVariable": false,
3633
3633
  "storageLocation": "default",
@@ -3636,10 +3636,10 @@
3636
3636
  "typeString": "contract IERC777"
3637
3637
  },
3638
3638
  "typeName": {
3639
- "id": 39189,
3639
+ "id": 39181,
3640
3640
  "nodeType": "UserDefinedTypeName",
3641
3641
  "pathNode": {
3642
- "id": 39188,
3642
+ "id": 39180,
3643
3643
  "name": "IERC777",
3644
3644
  "nodeType": "IdentifierPath",
3645
3645
  "referencedDeclaration": 2352,
@@ -3656,13 +3656,13 @@
3656
3656
  },
3657
3657
  {
3658
3658
  "constant": false,
3659
- "id": 39192,
3659
+ "id": 39184,
3660
3660
  "indexed": false,
3661
3661
  "mutability": "mutable",
3662
3662
  "name": "recipient",
3663
3663
  "nameLocation": "937:9:106",
3664
3664
  "nodeType": "VariableDeclaration",
3665
- "scope": 39196,
3665
+ "scope": 39188,
3666
3666
  "src": "929:17:106",
3667
3667
  "stateVariable": false,
3668
3668
  "storageLocation": "default",
@@ -3671,7 +3671,7 @@
3671
3671
  "typeString": "address"
3672
3672
  },
3673
3673
  "typeName": {
3674
- "id": 39191,
3674
+ "id": 39183,
3675
3675
  "name": "address",
3676
3676
  "nodeType": "ElementaryTypeName",
3677
3677
  "src": "929:7:106",
@@ -3685,13 +3685,13 @@
3685
3685
  },
3686
3686
  {
3687
3687
  "constant": false,
3688
- "id": 39194,
3688
+ "id": 39186,
3689
3689
  "indexed": false,
3690
3690
  "mutability": "mutable",
3691
3691
  "name": "amount",
3692
3692
  "nameLocation": "956:6:106",
3693
3693
  "nodeType": "VariableDeclaration",
3694
- "scope": 39196,
3694
+ "scope": 39188,
3695
3695
  "src": "948:14:106",
3696
3696
  "stateVariable": false,
3697
3697
  "storageLocation": "default",
@@ -3700,7 +3700,7 @@
3700
3700
  "typeString": "uint256"
3701
3701
  },
3702
3702
  "typeName": {
3703
- "id": 39193,
3703
+ "id": 39185,
3704
3704
  "name": "uint256",
3705
3705
  "nodeType": "ElementaryTypeName",
3706
3706
  "src": "948:7:106",
@@ -3719,23 +3719,23 @@
3719
3719
  {
3720
3720
  "anonymous": false,
3721
3721
  "eventSelector": "6ee58811e1c06f9971bf4c156175fabb19413d8a51841c2231beee4f3c04e73f",
3722
- "id": 39205,
3722
+ "id": 39197,
3723
3723
  "name": "CustodianWithdrawal",
3724
3724
  "nameLocation": "975:19:106",
3725
3725
  "nodeType": "EventDefinition",
3726
3726
  "parameters": {
3727
- "id": 39204,
3727
+ "id": 39196,
3728
3728
  "nodeType": "ParameterList",
3729
3729
  "parameters": [
3730
3730
  {
3731
3731
  "constant": false,
3732
- "id": 39199,
3732
+ "id": 39191,
3733
3733
  "indexed": true,
3734
3734
  "mutability": "mutable",
3735
3735
  "name": "token",
3736
3736
  "nameLocation": "1011:5:106",
3737
3737
  "nodeType": "VariableDeclaration",
3738
- "scope": 39205,
3738
+ "scope": 39197,
3739
3739
  "src": "995:21:106",
3740
3740
  "stateVariable": false,
3741
3741
  "storageLocation": "default",
@@ -3744,10 +3744,10 @@
3744
3744
  "typeString": "contract IERC777"
3745
3745
  },
3746
3746
  "typeName": {
3747
- "id": 39198,
3747
+ "id": 39190,
3748
3748
  "nodeType": "UserDefinedTypeName",
3749
3749
  "pathNode": {
3750
- "id": 39197,
3750
+ "id": 39189,
3751
3751
  "name": "IERC777",
3752
3752
  "nodeType": "IdentifierPath",
3753
3753
  "referencedDeclaration": 2352,
@@ -3764,13 +3764,13 @@
3764
3764
  },
3765
3765
  {
3766
3766
  "constant": false,
3767
- "id": 39201,
3767
+ "id": 39193,
3768
3768
  "indexed": false,
3769
3769
  "mutability": "mutable",
3770
3770
  "name": "recipient",
3771
3771
  "nameLocation": "1026:9:106",
3772
3772
  "nodeType": "VariableDeclaration",
3773
- "scope": 39205,
3773
+ "scope": 39197,
3774
3774
  "src": "1018:17:106",
3775
3775
  "stateVariable": false,
3776
3776
  "storageLocation": "default",
@@ -3779,7 +3779,7 @@
3779
3779
  "typeString": "address"
3780
3780
  },
3781
3781
  "typeName": {
3782
- "id": 39200,
3782
+ "id": 39192,
3783
3783
  "name": "address",
3784
3784
  "nodeType": "ElementaryTypeName",
3785
3785
  "src": "1018:7:106",
@@ -3793,13 +3793,13 @@
3793
3793
  },
3794
3794
  {
3795
3795
  "constant": false,
3796
- "id": 39203,
3796
+ "id": 39195,
3797
3797
  "indexed": false,
3798
3798
  "mutability": "mutable",
3799
3799
  "name": "amount",
3800
3800
  "nameLocation": "1045:6:106",
3801
3801
  "nodeType": "VariableDeclaration",
3802
- "scope": 39205,
3802
+ "scope": 39197,
3803
3803
  "src": "1037:14:106",
3804
3804
  "stateVariable": false,
3805
3805
  "storageLocation": "default",
@@ -3808,7 +3808,7 @@
3808
3808
  "typeString": "uint256"
3809
3809
  },
3810
3810
  "typeName": {
3811
- "id": 39202,
3811
+ "id": 39194,
3812
3812
  "name": "uint256",
3813
3813
  "nodeType": "ElementaryTypeName",
3814
3814
  "src": "1037:7:106",
@@ -3826,23 +3826,23 @@
3826
3826
  },
3827
3827
  {
3828
3828
  "body": {
3829
- "id": 39248,
3829
+ "id": 39240,
3830
3830
  "nodeType": "Block",
3831
3831
  "src": "1187:313:106",
3832
3832
  "statements": [
3833
3833
  {
3834
3834
  "assignments": [
3835
- 39214
3835
+ 39206
3836
3836
  ],
3837
3837
  "declarations": [
3838
3838
  {
3839
3839
  "constant": false,
3840
- "id": 39214,
3840
+ "id": 39206,
3841
3841
  "mutability": "mutable",
3842
3842
  "name": "amount",
3843
3843
  "nameLocation": "1205:6:106",
3844
3844
  "nodeType": "VariableDeclaration",
3845
- "scope": 39248,
3845
+ "scope": 39240,
3846
3846
  "src": "1197:14:106",
3847
3847
  "stateVariable": false,
3848
3848
  "storageLocation": "default",
@@ -3851,7 +3851,7 @@
3851
3851
  "typeString": "uint256"
3852
3852
  },
3853
3853
  "typeName": {
3854
- "id": 39213,
3854
+ "id": 39205,
3855
3855
  "name": "uint256",
3856
3856
  "nodeType": "ElementaryTypeName",
3857
3857
  "src": "1197:7:106",
@@ -3863,28 +3863,28 @@
3863
3863
  "visibility": "internal"
3864
3864
  }
3865
3865
  ],
3866
- "id": 39220,
3866
+ "id": 39212,
3867
3867
  "initialValue": {
3868
3868
  "baseExpression": {
3869
3869
  "baseExpression": {
3870
- "id": 39215,
3870
+ "id": 39207,
3871
3871
  "name": "balances",
3872
3872
  "nodeType": "Identifier",
3873
3873
  "overloadedDeclarations": [],
3874
- "referencedDeclaration": 39167,
3874
+ "referencedDeclaration": 39159,
3875
3875
  "src": "1214:8:106",
3876
3876
  "typeDescriptions": {
3877
3877
  "typeIdentifier": "t_mapping$_t_contract$_IERC777_$2352_$_t_mapping$_t_address_$_t_uint256_$_$",
3878
3878
  "typeString": "mapping(contract IERC777 => mapping(address => uint256))"
3879
3879
  }
3880
3880
  },
3881
- "id": 39217,
3881
+ "id": 39209,
3882
3882
  "indexExpression": {
3883
- "id": 39216,
3883
+ "id": 39208,
3884
3884
  "name": "token",
3885
3885
  "nodeType": "Identifier",
3886
3886
  "overloadedDeclarations": [],
3887
- "referencedDeclaration": 39208,
3887
+ "referencedDeclaration": 39200,
3888
3888
  "src": "1223:5:106",
3889
3889
  "typeDescriptions": {
3890
3890
  "typeIdentifier": "t_contract$_IERC777_$2352",
@@ -3902,13 +3902,13 @@
3902
3902
  "typeString": "mapping(address => uint256)"
3903
3903
  }
3904
3904
  },
3905
- "id": 39219,
3905
+ "id": 39211,
3906
3906
  "indexExpression": {
3907
- "id": 39218,
3907
+ "id": 39210,
3908
3908
  "name": "recipient",
3909
3909
  "nodeType": "Identifier",
3910
3910
  "overloadedDeclarations": [],
3911
- "referencedDeclaration": 39210,
3911
+ "referencedDeclaration": 39202,
3912
3912
  "src": "1230:9:106",
3913
3913
  "typeDescriptions": {
3914
3914
  "typeIdentifier": "t_address",
@@ -3935,17 +3935,17 @@
3935
3935
  "typeIdentifier": "t_uint256",
3936
3936
  "typeString": "uint256"
3937
3937
  },
3938
- "id": 39223,
3938
+ "id": 39215,
3939
3939
  "isConstant": false,
3940
3940
  "isLValue": false,
3941
3941
  "isPure": false,
3942
3942
  "lValueRequested": false,
3943
3943
  "leftExpression": {
3944
- "id": 39221,
3944
+ "id": 39213,
3945
3945
  "name": "amount",
3946
3946
  "nodeType": "Identifier",
3947
3947
  "overloadedDeclarations": [],
3948
- "referencedDeclaration": 39214,
3948
+ "referencedDeclaration": 39206,
3949
3949
  "src": "1254:6:106",
3950
3950
  "typeDescriptions": {
3951
3951
  "typeIdentifier": "t_uint256",
@@ -3956,7 +3956,7 @@
3956
3956
  "operator": ">",
3957
3957
  "rightExpression": {
3958
3958
  "hexValue": "30",
3959
- "id": 39222,
3959
+ "id": 39214,
3960
3960
  "isConstant": false,
3961
3961
  "isLValue": false,
3962
3962
  "isPure": true,
@@ -3976,17 +3976,17 @@
3976
3976
  "typeString": "bool"
3977
3977
  }
3978
3978
  },
3979
- "id": 39247,
3979
+ "id": 39239,
3980
3980
  "nodeType": "IfStatement",
3981
3981
  "src": "1250:244:106",
3982
3982
  "trueBody": {
3983
- "id": 39246,
3983
+ "id": 39238,
3984
3984
  "nodeType": "Block",
3985
3985
  "src": "1266:228:106",
3986
3986
  "statements": [
3987
3987
  {
3988
3988
  "expression": {
3989
- "id": 39230,
3989
+ "id": 39222,
3990
3990
  "isConstant": false,
3991
3991
  "isLValue": false,
3992
3992
  "isPure": false,
@@ -3994,24 +3994,24 @@
3994
3994
  "leftHandSide": {
3995
3995
  "baseExpression": {
3996
3996
  "baseExpression": {
3997
- "id": 39224,
3997
+ "id": 39216,
3998
3998
  "name": "balances",
3999
3999
  "nodeType": "Identifier",
4000
4000
  "overloadedDeclarations": [],
4001
- "referencedDeclaration": 39167,
4001
+ "referencedDeclaration": 39159,
4002
4002
  "src": "1280:8:106",
4003
4003
  "typeDescriptions": {
4004
4004
  "typeIdentifier": "t_mapping$_t_contract$_IERC777_$2352_$_t_mapping$_t_address_$_t_uint256_$_$",
4005
4005
  "typeString": "mapping(contract IERC777 => mapping(address => uint256))"
4006
4006
  }
4007
4007
  },
4008
- "id": 39227,
4008
+ "id": 39219,
4009
4009
  "indexExpression": {
4010
- "id": 39225,
4010
+ "id": 39217,
4011
4011
  "name": "token",
4012
4012
  "nodeType": "Identifier",
4013
4013
  "overloadedDeclarations": [],
4014
- "referencedDeclaration": 39208,
4014
+ "referencedDeclaration": 39200,
4015
4015
  "src": "1289:5:106",
4016
4016
  "typeDescriptions": {
4017
4017
  "typeIdentifier": "t_contract$_IERC777_$2352",
@@ -4029,13 +4029,13 @@
4029
4029
  "typeString": "mapping(address => uint256)"
4030
4030
  }
4031
4031
  },
4032
- "id": 39228,
4032
+ "id": 39220,
4033
4033
  "indexExpression": {
4034
- "id": 39226,
4034
+ "id": 39218,
4035
4035
  "name": "recipient",
4036
4036
  "nodeType": "Identifier",
4037
4037
  "overloadedDeclarations": [],
4038
- "referencedDeclaration": 39210,
4038
+ "referencedDeclaration": 39202,
4039
4039
  "src": "1296:9:106",
4040
4040
  "typeDescriptions": {
4041
4041
  "typeIdentifier": "t_address",
@@ -4057,7 +4057,7 @@
4057
4057
  "operator": "=",
4058
4058
  "rightHandSide": {
4059
4059
  "hexValue": "30",
4060
- "id": 39229,
4060
+ "id": 39221,
4061
4061
  "isConstant": false,
4062
4062
  "isLValue": false,
4063
4063
  "isPure": true,
@@ -4077,7 +4077,7 @@
4077
4077
  "typeString": "uint256"
4078
4078
  }
4079
4079
  },
4080
- "id": 39231,
4080
+ "id": 39223,
4081
4081
  "nodeType": "ExpressionStatement",
4082
4082
  "src": "1280:30:106"
4083
4083
  },
@@ -4085,11 +4085,11 @@
4085
4085
  "expression": {
4086
4086
  "arguments": [
4087
4087
  {
4088
- "id": 39235,
4088
+ "id": 39227,
4089
4089
  "name": "recipient",
4090
4090
  "nodeType": "Identifier",
4091
4091
  "overloadedDeclarations": [],
4092
- "referencedDeclaration": 39210,
4092
+ "referencedDeclaration": 39202,
4093
4093
  "src": "1394:9:106",
4094
4094
  "typeDescriptions": {
4095
4095
  "typeIdentifier": "t_address",
@@ -4097,11 +4097,11 @@
4097
4097
  }
4098
4098
  },
4099
4099
  {
4100
- "id": 39236,
4100
+ "id": 39228,
4101
4101
  "name": "amount",
4102
4102
  "nodeType": "Identifier",
4103
4103
  "overloadedDeclarations": [],
4104
- "referencedDeclaration": 39214,
4104
+ "referencedDeclaration": 39206,
4105
4105
  "src": "1405:6:106",
4106
4106
  "typeDescriptions": {
4107
4107
  "typeIdentifier": "t_uint256",
@@ -4110,7 +4110,7 @@
4110
4110
  },
4111
4111
  {
4112
4112
  "hexValue": "307830",
4113
- "id": 39237,
4113
+ "id": 39229,
4114
4114
  "isConstant": false,
4115
4115
  "isLValue": false,
4116
4116
  "isPure": true,
@@ -4141,18 +4141,18 @@
4141
4141
  }
4142
4142
  ],
4143
4143
  "expression": {
4144
- "id": 39232,
4144
+ "id": 39224,
4145
4145
  "name": "token",
4146
4146
  "nodeType": "Identifier",
4147
4147
  "overloadedDeclarations": [],
4148
- "referencedDeclaration": 39208,
4148
+ "referencedDeclaration": 39200,
4149
4149
  "src": "1383:5:106",
4150
4150
  "typeDescriptions": {
4151
4151
  "typeIdentifier": "t_contract$_IERC777_$2352",
4152
4152
  "typeString": "contract IERC777"
4153
4153
  }
4154
4154
  },
4155
- "id": 39234,
4155
+ "id": 39226,
4156
4156
  "isConstant": false,
4157
4157
  "isLValue": false,
4158
4158
  "isPure": false,
@@ -4166,7 +4166,7 @@
4166
4166
  "typeString": "function (address,uint256,bytes memory) external"
4167
4167
  }
4168
4168
  },
4169
- "id": 39238,
4169
+ "id": 39230,
4170
4170
  "isConstant": false,
4171
4171
  "isLValue": false,
4172
4172
  "isPure": false,
@@ -4181,7 +4181,7 @@
4181
4181
  "typeString": "tuple()"
4182
4182
  }
4183
4183
  },
4184
- "id": 39239,
4184
+ "id": 39231,
4185
4185
  "nodeType": "ExpressionStatement",
4186
4186
  "src": "1383:36:106"
4187
4187
  },
@@ -4189,11 +4189,11 @@
4189
4189
  "eventCall": {
4190
4190
  "arguments": [
4191
4191
  {
4192
- "id": 39241,
4192
+ "id": 39233,
4193
4193
  "name": "token",
4194
4194
  "nodeType": "Identifier",
4195
4195
  "overloadedDeclarations": [],
4196
- "referencedDeclaration": 39208,
4196
+ "referencedDeclaration": 39200,
4197
4197
  "src": "1458:5:106",
4198
4198
  "typeDescriptions": {
4199
4199
  "typeIdentifier": "t_contract$_IERC777_$2352",
@@ -4201,11 +4201,11 @@
4201
4201
  }
4202
4202
  },
4203
4203
  {
4204
- "id": 39242,
4204
+ "id": 39234,
4205
4205
  "name": "recipient",
4206
4206
  "nodeType": "Identifier",
4207
4207
  "overloadedDeclarations": [],
4208
- "referencedDeclaration": 39210,
4208
+ "referencedDeclaration": 39202,
4209
4209
  "src": "1465:9:106",
4210
4210
  "typeDescriptions": {
4211
4211
  "typeIdentifier": "t_address",
@@ -4213,11 +4213,11 @@
4213
4213
  }
4214
4214
  },
4215
4215
  {
4216
- "id": 39243,
4216
+ "id": 39235,
4217
4217
  "name": "amount",
4218
4218
  "nodeType": "Identifier",
4219
4219
  "overloadedDeclarations": [],
4220
- "referencedDeclaration": 39214,
4220
+ "referencedDeclaration": 39206,
4221
4221
  "src": "1476:6:106",
4222
4222
  "typeDescriptions": {
4223
4223
  "typeIdentifier": "t_uint256",
@@ -4240,18 +4240,18 @@
4240
4240
  "typeString": "uint256"
4241
4241
  }
4242
4242
  ],
4243
- "id": 39240,
4243
+ "id": 39232,
4244
4244
  "name": "CustodianWithdrawal",
4245
4245
  "nodeType": "Identifier",
4246
4246
  "overloadedDeclarations": [],
4247
- "referencedDeclaration": 39205,
4247
+ "referencedDeclaration": 39197,
4248
4248
  "src": "1438:19:106",
4249
4249
  "typeDescriptions": {
4250
4250
  "typeIdentifier": "t_function_event_nonpayable$_t_contract$_IERC777_$2352_$_t_address_$_t_uint256_$returns$__$",
4251
4251
  "typeString": "function (contract IERC777,address,uint256)"
4252
4252
  }
4253
4253
  },
4254
- "id": 39244,
4254
+ "id": 39236,
4255
4255
  "isConstant": false,
4256
4256
  "isLValue": false,
4257
4257
  "isPure": false,
@@ -4266,7 +4266,7 @@
4266
4266
  "typeString": "tuple()"
4267
4267
  }
4268
4268
  },
4269
- "id": 39245,
4269
+ "id": 39237,
4270
4270
  "nodeType": "EmitStatement",
4271
4271
  "src": "1433:50:106"
4272
4272
  }
@@ -4276,7 +4276,7 @@
4276
4276
  ]
4277
4277
  },
4278
4278
  "functionSelector": "9cfddc36",
4279
- "id": 39249,
4279
+ "id": 39241,
4280
4280
  "implemented": true,
4281
4281
  "kind": "function",
4282
4282
  "modifiers": [],
@@ -4284,17 +4284,17 @@
4284
4284
  "nameLocation": "1140:5:106",
4285
4285
  "nodeType": "FunctionDefinition",
4286
4286
  "parameters": {
4287
- "id": 39211,
4287
+ "id": 39203,
4288
4288
  "nodeType": "ParameterList",
4289
4289
  "parameters": [
4290
4290
  {
4291
4291
  "constant": false,
4292
- "id": 39208,
4292
+ "id": 39200,
4293
4293
  "mutability": "mutable",
4294
4294
  "name": "token",
4295
4295
  "nameLocation": "1154:5:106",
4296
4296
  "nodeType": "VariableDeclaration",
4297
- "scope": 39249,
4297
+ "scope": 39241,
4298
4298
  "src": "1146:13:106",
4299
4299
  "stateVariable": false,
4300
4300
  "storageLocation": "default",
@@ -4303,10 +4303,10 @@
4303
4303
  "typeString": "contract IERC777"
4304
4304
  },
4305
4305
  "typeName": {
4306
- "id": 39207,
4306
+ "id": 39199,
4307
4307
  "nodeType": "UserDefinedTypeName",
4308
4308
  "pathNode": {
4309
- "id": 39206,
4309
+ "id": 39198,
4310
4310
  "name": "IERC777",
4311
4311
  "nodeType": "IdentifierPath",
4312
4312
  "referencedDeclaration": 2352,
@@ -4323,12 +4323,12 @@
4323
4323
  },
4324
4324
  {
4325
4325
  "constant": false,
4326
- "id": 39210,
4326
+ "id": 39202,
4327
4327
  "mutability": "mutable",
4328
4328
  "name": "recipient",
4329
4329
  "nameLocation": "1169:9:106",
4330
4330
  "nodeType": "VariableDeclaration",
4331
- "scope": 39249,
4331
+ "scope": 39241,
4332
4332
  "src": "1161:17:106",
4333
4333
  "stateVariable": false,
4334
4334
  "storageLocation": "default",
@@ -4337,7 +4337,7 @@
4337
4337
  "typeString": "address"
4338
4338
  },
4339
4339
  "typeName": {
4340
- "id": 39209,
4340
+ "id": 39201,
4341
4341
  "name": "address",
4342
4342
  "nodeType": "ElementaryTypeName",
4343
4343
  "src": "1161:7:106",
@@ -4353,12 +4353,12 @@
4353
4353
  "src": "1145:34:106"
4354
4354
  },
4355
4355
  "returnParameters": {
4356
- "id": 39212,
4356
+ "id": 39204,
4357
4357
  "nodeType": "ParameterList",
4358
4358
  "parameters": [],
4359
4359
  "src": "1187:0:106"
4360
4360
  },
4361
- "scope": 39299,
4361
+ "scope": 39291,
4362
4362
  "src": "1131:369:106",
4363
4363
  "stateMutability": "nonpayable",
4364
4364
  "virtual": false,
@@ -4369,23 +4369,23 @@
4369
4369
  2371
4370
4370
  ],
4371
4371
  "body": {
4372
- "id": 39297,
4372
+ "id": 39289,
4373
4373
  "nodeType": "Block",
4374
4374
  "src": "1981:418:106",
4375
4375
  "statements": [
4376
4376
  {
4377
4377
  "assignments": [
4378
- 39267
4378
+ 39259
4379
4379
  ],
4380
4380
  "declarations": [
4381
4381
  {
4382
4382
  "constant": false,
4383
- "id": 39267,
4383
+ "id": 39259,
4384
4384
  "mutability": "mutable",
4385
4385
  "name": "token",
4386
4386
  "nameLocation": "1999:5:106",
4387
4387
  "nodeType": "VariableDeclaration",
4388
- "scope": 39297,
4388
+ "scope": 39289,
4389
4389
  "src": "1991:13:106",
4390
4390
  "stateVariable": false,
4391
4391
  "storageLocation": "default",
@@ -4394,10 +4394,10 @@
4394
4394
  "typeString": "contract IERC777"
4395
4395
  },
4396
4396
  "typeName": {
4397
- "id": 39266,
4397
+ "id": 39258,
4398
4398
  "nodeType": "UserDefinedTypeName",
4399
4399
  "pathNode": {
4400
- "id": 39265,
4400
+ "id": 39257,
4401
4401
  "name": "IERC777",
4402
4402
  "nodeType": "IdentifierPath",
4403
4403
  "referencedDeclaration": 2352,
@@ -4413,12 +4413,12 @@
4413
4413
  "visibility": "internal"
4414
4414
  }
4415
4415
  ],
4416
- "id": 39272,
4416
+ "id": 39264,
4417
4417
  "initialValue": {
4418
4418
  "arguments": [
4419
4419
  {
4420
4420
  "expression": {
4421
- "id": 39269,
4421
+ "id": 39261,
4422
4422
  "name": "msg",
4423
4423
  "nodeType": "Identifier",
4424
4424
  "overloadedDeclarations": [],
@@ -4429,7 +4429,7 @@
4429
4429
  "typeString": "msg"
4430
4430
  }
4431
4431
  },
4432
- "id": 39270,
4432
+ "id": 39262,
4433
4433
  "isConstant": false,
4434
4434
  "isLValue": false,
4435
4435
  "isPure": false,
@@ -4450,7 +4450,7 @@
4450
4450
  "typeString": "address"
4451
4451
  }
4452
4452
  ],
4453
- "id": 39268,
4453
+ "id": 39260,
4454
4454
  "name": "IERC777",
4455
4455
  "nodeType": "Identifier",
4456
4456
  "overloadedDeclarations": [],
@@ -4461,7 +4461,7 @@
4461
4461
  "typeString": "type(contract IERC777)"
4462
4462
  }
4463
4463
  },
4464
- "id": 39271,
4464
+ "id": 39263,
4465
4465
  "isConstant": false,
4466
4466
  "isLValue": false,
4467
4467
  "isPure": false,
@@ -4481,17 +4481,17 @@
4481
4481
  },
4482
4482
  {
4483
4483
  "assignments": [
4484
- 39274
4484
+ 39266
4485
4485
  ],
4486
4486
  "declarations": [
4487
4487
  {
4488
4488
  "constant": false,
4489
- "id": 39274,
4489
+ "id": 39266,
4490
4490
  "mutability": "mutable",
4491
4491
  "name": "recipient",
4492
4492
  "nameLocation": "2130:9:106",
4493
4493
  "nodeType": "VariableDeclaration",
4494
- "scope": 39297,
4494
+ "scope": 39289,
4495
4495
  "src": "2122:17:106",
4496
4496
  "stateVariable": false,
4497
4497
  "storageLocation": "default",
@@ -4500,7 +4500,7 @@
4500
4500
  "typeString": "address"
4501
4501
  },
4502
4502
  "typeName": {
4503
- "id": 39273,
4503
+ "id": 39265,
4504
4504
  "name": "address",
4505
4505
  "nodeType": "ElementaryTypeName",
4506
4506
  "src": "2122:7:106",
@@ -4513,15 +4513,15 @@
4513
4513
  "visibility": "internal"
4514
4514
  }
4515
4515
  ],
4516
- "id": 39282,
4516
+ "id": 39274,
4517
4517
  "initialValue": {
4518
4518
  "arguments": [
4519
4519
  {
4520
- "id": 39277,
4520
+ "id": 39269,
4521
4521
  "name": "userData",
4522
4522
  "nodeType": "Identifier",
4523
4523
  "overloadedDeclarations": [],
4524
- "referencedDeclaration": 39259,
4524
+ "referencedDeclaration": 39251,
4525
4525
  "src": "2153:8:106",
4526
4526
  "typeDescriptions": {
4527
4527
  "typeIdentifier": "t_bytes_calldata_ptr",
@@ -4531,7 +4531,7 @@
4531
4531
  {
4532
4532
  "components": [
4533
4533
  {
4534
- "id": 39279,
4534
+ "id": 39271,
4535
4535
  "isConstant": false,
4536
4536
  "isLValue": false,
4537
4537
  "isPure": true,
@@ -4543,7 +4543,7 @@
4543
4543
  "typeString": "type(address)"
4544
4544
  },
4545
4545
  "typeName": {
4546
- "id": 39278,
4546
+ "id": 39270,
4547
4547
  "name": "address",
4548
4548
  "nodeType": "ElementaryTypeName",
4549
4549
  "src": "2164:7:106",
@@ -4551,7 +4551,7 @@
4551
4551
  }
4552
4552
  }
4553
4553
  ],
4554
- "id": 39280,
4554
+ "id": 39272,
4555
4555
  "isConstant": false,
4556
4556
  "isInlineArray": false,
4557
4557
  "isLValue": false,
@@ -4577,7 +4577,7 @@
4577
4577
  }
4578
4578
  ],
4579
4579
  "expression": {
4580
- "id": 39275,
4580
+ "id": 39267,
4581
4581
  "name": "abi",
4582
4582
  "nodeType": "Identifier",
4583
4583
  "overloadedDeclarations": [],
@@ -4588,7 +4588,7 @@
4588
4588
  "typeString": "abi"
4589
4589
  }
4590
4590
  },
4591
- "id": 39276,
4591
+ "id": 39268,
4592
4592
  "isConstant": false,
4593
4593
  "isLValue": false,
4594
4594
  "isPure": true,
@@ -4601,7 +4601,7 @@
4601
4601
  "typeString": "function () pure"
4602
4602
  }
4603
4603
  },
4604
- "id": 39281,
4604
+ "id": 39273,
4605
4605
  "isConstant": false,
4606
4606
  "isLValue": false,
4607
4607
  "isPure": false,
@@ -4621,7 +4621,7 @@
4621
4621
  },
4622
4622
  {
4623
4623
  "expression": {
4624
- "id": 39289,
4624
+ "id": 39281,
4625
4625
  "isConstant": false,
4626
4626
  "isLValue": false,
4627
4627
  "isPure": false,
@@ -4629,24 +4629,24 @@
4629
4629
  "leftHandSide": {
4630
4630
  "baseExpression": {
4631
4631
  "baseExpression": {
4632
- "id": 39283,
4632
+ "id": 39275,
4633
4633
  "name": "balances",
4634
4634
  "nodeType": "Identifier",
4635
4635
  "overloadedDeclarations": [],
4636
- "referencedDeclaration": 39167,
4636
+ "referencedDeclaration": 39159,
4637
4637
  "src": "2183:8:106",
4638
4638
  "typeDescriptions": {
4639
4639
  "typeIdentifier": "t_mapping$_t_contract$_IERC777_$2352_$_t_mapping$_t_address_$_t_uint256_$_$",
4640
4640
  "typeString": "mapping(contract IERC777 => mapping(address => uint256))"
4641
4641
  }
4642
4642
  },
4643
- "id": 39286,
4643
+ "id": 39278,
4644
4644
  "indexExpression": {
4645
- "id": 39284,
4645
+ "id": 39276,
4646
4646
  "name": "token",
4647
4647
  "nodeType": "Identifier",
4648
4648
  "overloadedDeclarations": [],
4649
- "referencedDeclaration": 39267,
4649
+ "referencedDeclaration": 39259,
4650
4650
  "src": "2192:5:106",
4651
4651
  "typeDescriptions": {
4652
4652
  "typeIdentifier": "t_contract$_IERC777_$2352",
@@ -4664,13 +4664,13 @@
4664
4664
  "typeString": "mapping(address => uint256)"
4665
4665
  }
4666
4666
  },
4667
- "id": 39287,
4667
+ "id": 39279,
4668
4668
  "indexExpression": {
4669
- "id": 39285,
4669
+ "id": 39277,
4670
4670
  "name": "recipient",
4671
4671
  "nodeType": "Identifier",
4672
4672
  "overloadedDeclarations": [],
4673
- "referencedDeclaration": 39274,
4673
+ "referencedDeclaration": 39266,
4674
4674
  "src": "2199:9:106",
4675
4675
  "typeDescriptions": {
4676
4676
  "typeIdentifier": "t_address",
@@ -4691,11 +4691,11 @@
4691
4691
  "nodeType": "Assignment",
4692
4692
  "operator": "+=",
4693
4693
  "rightHandSide": {
4694
- "id": 39288,
4694
+ "id": 39280,
4695
4695
  "name": "amount",
4696
4696
  "nodeType": "Identifier",
4697
4697
  "overloadedDeclarations": [],
4698
- "referencedDeclaration": 39257,
4698
+ "referencedDeclaration": 39249,
4699
4699
  "src": "2213:6:106",
4700
4700
  "typeDescriptions": {
4701
4701
  "typeIdentifier": "t_uint256",
@@ -4708,7 +4708,7 @@
4708
4708
  "typeString": "uint256"
4709
4709
  }
4710
4710
  },
4711
- "id": 39290,
4711
+ "id": 39282,
4712
4712
  "nodeType": "ExpressionStatement",
4713
4713
  "src": "2183:36:106"
4714
4714
  },
@@ -4716,11 +4716,11 @@
4716
4716
  "eventCall": {
4717
4717
  "arguments": [
4718
4718
  {
4719
- "id": 39292,
4719
+ "id": 39284,
4720
4720
  "name": "token",
4721
4721
  "nodeType": "Identifier",
4722
4722
  "overloadedDeclarations": [],
4723
- "referencedDeclaration": 39267,
4723
+ "referencedDeclaration": 39259,
4724
4724
  "src": "2251:5:106",
4725
4725
  "typeDescriptions": {
4726
4726
  "typeIdentifier": "t_contract$_IERC777_$2352",
@@ -4728,11 +4728,11 @@
4728
4728
  }
4729
4729
  },
4730
4730
  {
4731
- "id": 39293,
4731
+ "id": 39285,
4732
4732
  "name": "recipient",
4733
4733
  "nodeType": "Identifier",
4734
4734
  "overloadedDeclarations": [],
4735
- "referencedDeclaration": 39274,
4735
+ "referencedDeclaration": 39266,
4736
4736
  "src": "2258:9:106",
4737
4737
  "typeDescriptions": {
4738
4738
  "typeIdentifier": "t_address",
@@ -4740,11 +4740,11 @@
4740
4740
  }
4741
4741
  },
4742
4742
  {
4743
- "id": 39294,
4743
+ "id": 39286,
4744
4744
  "name": "amount",
4745
4745
  "nodeType": "Identifier",
4746
4746
  "overloadedDeclarations": [],
4747
- "referencedDeclaration": 39257,
4747
+ "referencedDeclaration": 39249,
4748
4748
  "src": "2269:6:106",
4749
4749
  "typeDescriptions": {
4750
4750
  "typeIdentifier": "t_uint256",
@@ -4767,18 +4767,18 @@
4767
4767
  "typeString": "uint256"
4768
4768
  }
4769
4769
  ],
4770
- "id": 39291,
4770
+ "id": 39283,
4771
4771
  "name": "CustodianDeposit",
4772
4772
  "nodeType": "Identifier",
4773
4773
  "overloadedDeclarations": [],
4774
- "referencedDeclaration": 39196,
4774
+ "referencedDeclaration": 39188,
4775
4775
  "src": "2234:16:106",
4776
4776
  "typeDescriptions": {
4777
4777
  "typeIdentifier": "t_function_event_nonpayable$_t_contract$_IERC777_$2352_$_t_address_$_t_uint256_$returns$__$",
4778
4778
  "typeString": "function (contract IERC777,address,uint256)"
4779
4779
  }
4780
4780
  },
4781
- "id": 39295,
4781
+ "id": 39287,
4782
4782
  "isConstant": false,
4783
4783
  "isLValue": false,
4784
4784
  "isPure": false,
@@ -4793,14 +4793,14 @@
4793
4793
  "typeString": "tuple()"
4794
4794
  }
4795
4795
  },
4796
- "id": 39296,
4796
+ "id": 39288,
4797
4797
  "nodeType": "EmitStatement",
4798
4798
  "src": "2229:47:106"
4799
4799
  }
4800
4800
  ]
4801
4801
  },
4802
4802
  "functionSelector": "0023de29",
4803
- "id": 39298,
4803
+ "id": 39290,
4804
4804
  "implemented": true,
4805
4805
  "kind": "function",
4806
4806
  "modifiers": [],
@@ -4808,23 +4808,23 @@
4808
4808
  "nameLocation": "1764:14:106",
4809
4809
  "nodeType": "FunctionDefinition",
4810
4810
  "overrides": {
4811
- "id": 39263,
4811
+ "id": 39255,
4812
4812
  "nodeType": "OverrideSpecifier",
4813
4813
  "overrides": [],
4814
4814
  "src": "1963:8:106"
4815
4815
  },
4816
4816
  "parameters": {
4817
- "id": 39262,
4817
+ "id": 39254,
4818
4818
  "nodeType": "ParameterList",
4819
4819
  "parameters": [
4820
4820
  {
4821
4821
  "constant": false,
4822
- "id": 39251,
4822
+ "id": 39243,
4823
4823
  "mutability": "mutable",
4824
4824
  "name": "",
4825
4825
  "nameLocation": "-1:-1:-1",
4826
4826
  "nodeType": "VariableDeclaration",
4827
- "scope": 39298,
4827
+ "scope": 39290,
4828
4828
  "src": "1788:7:106",
4829
4829
  "stateVariable": false,
4830
4830
  "storageLocation": "default",
@@ -4833,7 +4833,7 @@
4833
4833
  "typeString": "address"
4834
4834
  },
4835
4835
  "typeName": {
4836
- "id": 39250,
4836
+ "id": 39242,
4837
4837
  "name": "address",
4838
4838
  "nodeType": "ElementaryTypeName",
4839
4839
  "src": "1788:7:106",
@@ -4847,12 +4847,12 @@
4847
4847
  },
4848
4848
  {
4849
4849
  "constant": false,
4850
- "id": 39253,
4850
+ "id": 39245,
4851
4851
  "mutability": "mutable",
4852
4852
  "name": "",
4853
4853
  "nameLocation": "-1:-1:-1",
4854
4854
  "nodeType": "VariableDeclaration",
4855
- "scope": 39298,
4855
+ "scope": 39290,
4856
4856
  "src": "1818:7:106",
4857
4857
  "stateVariable": false,
4858
4858
  "storageLocation": "default",
@@ -4861,7 +4861,7 @@
4861
4861
  "typeString": "address"
4862
4862
  },
4863
4863
  "typeName": {
4864
- "id": 39252,
4864
+ "id": 39244,
4865
4865
  "name": "address",
4866
4866
  "nodeType": "ElementaryTypeName",
4867
4867
  "src": "1818:7:106",
@@ -4875,12 +4875,12 @@
4875
4875
  },
4876
4876
  {
4877
4877
  "constant": false,
4878
- "id": 39255,
4878
+ "id": 39247,
4879
4879
  "mutability": "mutable",
4880
4880
  "name": "",
4881
4881
  "nameLocation": "-1:-1:-1",
4882
4882
  "nodeType": "VariableDeclaration",
4883
- "scope": 39298,
4883
+ "scope": 39290,
4884
4884
  "src": "1844:7:106",
4885
4885
  "stateVariable": false,
4886
4886
  "storageLocation": "default",
@@ -4889,7 +4889,7 @@
4889
4889
  "typeString": "address"
4890
4890
  },
4891
4891
  "typeName": {
4892
- "id": 39254,
4892
+ "id": 39246,
4893
4893
  "name": "address",
4894
4894
  "nodeType": "ElementaryTypeName",
4895
4895
  "src": "1844:7:106",
@@ -4903,12 +4903,12 @@
4903
4903
  },
4904
4904
  {
4905
4905
  "constant": false,
4906
- "id": 39257,
4906
+ "id": 39249,
4907
4907
  "mutability": "mutable",
4908
4908
  "name": "amount",
4909
4909
  "nameLocation": "1876:6:106",
4910
4910
  "nodeType": "VariableDeclaration",
4911
- "scope": 39298,
4911
+ "scope": 39290,
4912
4912
  "src": "1868:14:106",
4913
4913
  "stateVariable": false,
4914
4914
  "storageLocation": "default",
@@ -4917,7 +4917,7 @@
4917
4917
  "typeString": "uint256"
4918
4918
  },
4919
4919
  "typeName": {
4920
- "id": 39256,
4920
+ "id": 39248,
4921
4921
  "name": "uint256",
4922
4922
  "nodeType": "ElementaryTypeName",
4923
4923
  "src": "1868:7:106",
@@ -4930,12 +4930,12 @@
4930
4930
  },
4931
4931
  {
4932
4932
  "constant": false,
4933
- "id": 39259,
4933
+ "id": 39251,
4934
4934
  "mutability": "mutable",
4935
4935
  "name": "userData",
4936
4936
  "nameLocation": "1907:8:106",
4937
4937
  "nodeType": "VariableDeclaration",
4938
- "scope": 39298,
4938
+ "scope": 39290,
4939
4939
  "src": "1892:23:106",
4940
4940
  "stateVariable": false,
4941
4941
  "storageLocation": "calldata",
@@ -4944,7 +4944,7 @@
4944
4944
  "typeString": "bytes"
4945
4945
  },
4946
4946
  "typeName": {
4947
- "id": 39258,
4947
+ "id": 39250,
4948
4948
  "name": "bytes",
4949
4949
  "nodeType": "ElementaryTypeName",
4950
4950
  "src": "1892:5:106",
@@ -4957,12 +4957,12 @@
4957
4957
  },
4958
4958
  {
4959
4959
  "constant": false,
4960
- "id": 39261,
4960
+ "id": 39253,
4961
4961
  "mutability": "mutable",
4962
4962
  "name": "",
4963
4963
  "nameLocation": "-1:-1:-1",
4964
4964
  "nodeType": "VariableDeclaration",
4965
- "scope": 39298,
4965
+ "scope": 39290,
4966
4966
  "src": "1925:14:106",
4967
4967
  "stateVariable": false,
4968
4968
  "storageLocation": "calldata",
@@ -4971,7 +4971,7 @@
4971
4971
  "typeString": "bytes"
4972
4972
  },
4973
4973
  "typeName": {
4974
- "id": 39260,
4974
+ "id": 39252,
4975
4975
  "name": "bytes",
4976
4976
  "nodeType": "ElementaryTypeName",
4977
4977
  "src": "1925:5:106",
@@ -4986,19 +4986,19 @@
4986
4986
  "src": "1778:184:106"
4987
4987
  },
4988
4988
  "returnParameters": {
4989
- "id": 39264,
4989
+ "id": 39256,
4990
4990
  "nodeType": "ParameterList",
4991
4991
  "parameters": [],
4992
4992
  "src": "1981:0:106"
4993
4993
  },
4994
- "scope": 39299,
4994
+ "scope": 39291,
4995
4995
  "src": "1755:644:106",
4996
4996
  "stateMutability": "nonpayable",
4997
4997
  "virtual": false,
4998
4998
  "visibility": "external"
4999
4999
  }
5000
5000
  ],
5001
- "scope": 39300,
5001
+ "scope": 39292,
5002
5002
  "src": "494:1907:106",
5003
5003
  "usedErrors": []
5004
5004
  }
@@ -5011,7 +5011,7 @@
5011
5011
  },
5012
5012
  "networks": {},
5013
5013
  "schemaVersion": "3.4.8",
5014
- "updatedAt": "2022-08-11T12:58:52.155Z",
5014
+ "updatedAt": "2022-08-24T13:23:34.867Z",
5015
5015
  "devdoc": {
5016
5016
  "author": "Superfluid",
5017
5017
  "details": "Contract which takes custody of funds which couldn't be sent to the designated recipient",