@superfluid-finance/ethereum-contracts 1.4.1-dev.e675dbc.0 → 1.4.2-dev.e06ddfc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) 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 +28 -28
  5. package/build/contracts/AgreementLibrary.json +165 -165
  6. package/build/contracts/BaseRelayRecipient.json +55 -55
  7. package/build/contracts/BatchLiquidator.json +208 -208
  8. package/build/contracts/BatchOperation.json +784 -784
  9. package/build/contracts/CFAv1Forwarder.json +2299 -2473
  10. package/build/contracts/CFAv1Library.json +2279 -2279
  11. package/build/contracts/CallUtils.json +198 -198
  12. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1544 -1544
  13. package/build/contracts/ConstantFlowAgreementV1.json +8579 -8423
  14. package/build/contracts/Context.json +1 -1
  15. package/build/contracts/ContextDefinitions.json +784 -784
  16. package/build/contracts/Create2.json +1 -1
  17. package/build/contracts/CustomSuperTokenBase.json +19 -19
  18. package/build/contracts/ERC165.json +1 -1
  19. package/build/contracts/ERC1820Implementer.json +1 -1
  20. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  21. package/build/contracts/ERC20.json +1 -1
  22. package/build/contracts/ERC20Burnable.json +1 -1
  23. package/build/contracts/ERC20Pausable.json +1 -1
  24. package/build/contracts/ERC20PresetMinterPauser.json +1 -1
  25. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  26. package/build/contracts/ERC777Helper.json +380 -380
  27. package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
  28. package/build/contracts/ERC777RecipientReverting.json +855 -855
  29. package/build/contracts/EnumerableSet.json +1 -1
  30. package/build/contracts/EventsEmitter.json +43 -43
  31. package/build/contracts/ExclusiveInflowTestApp.json +1544 -1544
  32. package/build/contracts/FixedSizeData.json +200 -200
  33. package/build/contracts/FlowExchangeTestApp.json +1545 -1545
  34. package/build/contracts/FlowOperatorDefinitions.json +784 -784
  35. package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
  36. package/build/contracts/IAccessControl.json +1 -1
  37. package/build/contracts/IAccessControlEnumerable.json +1 -1
  38. package/build/contracts/IConstantFlowAgreementV1.json +608 -608
  39. package/build/contracts/IDAv1Library.json +2611 -2611
  40. package/build/contracts/IERC165.json +1 -1
  41. package/build/contracts/IERC1820Implementer.json +1 -1
  42. package/build/contracts/IERC1820Registry.json +1 -1
  43. package/build/contracts/IERC20.json +1 -1
  44. package/build/contracts/IERC20Metadata.json +1 -1
  45. package/build/contracts/IERC20Permit.json +1 -1
  46. package/build/contracts/IERC777.json +1 -1
  47. package/build/contracts/IERC777Recipient.json +1 -1
  48. package/build/contracts/IERC777Sender.json +1 -1
  49. package/build/contracts/IInstantDistributionAgreementV1.json +652 -652
  50. package/build/contracts/IMultiSigWallet.json +24 -24
  51. package/build/contracts/IPureSuperToken.json +47 -47
  52. package/build/contracts/IPureSuperTokenCustom.json +47 -47
  53. package/build/contracts/IRelayRecipient.json +27 -27
  54. package/build/contracts/IResolver.json +38 -38
  55. package/build/contracts/ISETH.json +52 -52
  56. package/build/contracts/ISETHCustom.json +52 -52
  57. package/build/contracts/ISuperAgreement.json +50 -50
  58. package/build/contracts/ISuperApp.json +191 -191
  59. package/build/contracts/ISuperToken.json +544 -544
  60. package/build/contracts/ISuperTokenFactory.json +166 -166
  61. package/build/contracts/ISuperfluid.json +874 -874
  62. package/build/contracts/ISuperfluidGovernance.json +254 -254
  63. package/build/contracts/ISuperfluidToken.json +395 -395
  64. package/build/contracts/ITOGAv1.json +1441 -1441
  65. package/build/contracts/ITOGAv2.json +1441 -1441
  66. package/build/contracts/Initializable.json +1 -1
  67. package/build/contracts/InstantDistributionAgreementV1.json +5893 -5893
  68. package/build/contracts/NonClosableOutflowTestApp.json +1545 -1545
  69. package/build/contracts/Ownable.json +1 -1
  70. package/build/contracts/Pausable.json +1 -1
  71. package/build/contracts/Proxy.json +1 -1
  72. package/build/contracts/PureSuperToken.json +106 -106
  73. package/build/contracts/Resolver.json +98 -98
  74. package/build/contracts/SETHProxy.json +224 -224
  75. package/build/contracts/SafeCast.json +1 -1
  76. package/build/contracts/SafeERC20.json +1 -1
  77. package/build/contracts/SafeMath.json +1 -1
  78. package/build/contracts/SelfDeletingFlowTestApp.json +1544 -1544
  79. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  80. package/build/contracts/StreamRedirector.json +745 -745
  81. package/build/contracts/Strings.json +1 -1
  82. package/build/contracts/SuperAppBase.json +239 -239
  83. package/build/contracts/SuperAppDefinitions.json +784 -784
  84. package/build/contracts/SuperToken.json +2475 -2475
  85. package/build/contracts/SuperTokenFactory.json +774 -774
  86. package/build/contracts/SuperTokenFactoryBase.json +764 -764
  87. package/build/contracts/SuperTokenFactoryHelper.json +767 -767
  88. package/build/contracts/SuperUpgrader.json +437 -437
  89. package/build/contracts/Superfluid.json +5082 -5082
  90. package/build/contracts/SuperfluidErrors.json +784 -784
  91. package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
  92. package/build/contracts/SuperfluidGovernanceBase.json +2459 -2459
  93. package/build/contracts/SuperfluidGovernanceConfigs.json +784 -784
  94. package/build/contracts/SuperfluidGovernanceII.json +155 -155
  95. package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
  96. package/build/contracts/SuperfluidLoader.json +207 -207
  97. package/build/contracts/SuperfluidToken.json +1471 -1471
  98. package/build/contracts/TOGA.json +1457 -1457
  99. package/build/contracts/TestGovernance.json +250 -250
  100. package/build/contracts/TestToken.json +93 -93
  101. package/build/contracts/TokenCustodian.json +214 -214
  102. package/build/contracts/TokenInfo.json +32 -32
  103. package/build/contracts/UUPSProxiable.json +139 -139
  104. package/build/contracts/UUPSProxy.json +81 -81
  105. package/build/contracts/UUPSUtils.json +37 -37
  106. package/build/contracts-sizes.txt +1 -1
  107. package/contracts/agreements/ConstantFlowAgreementV1.sol +8 -3
  108. package/contracts/utils/CFAv1Forwarder.sol +2 -6
  109. package/package.json +10 -6
  110. package/scripts/deploy-deterministically.js +35 -24
  111. package/scripts/deploy-framework.js +65 -38
  112. package/scripts/gov-upgrade-governance.js +87 -0
  113. package/scripts/info-print-contract-addresses.js +1 -1
  114. package/scripts/libs/common.js +2 -1
  115. package/scripts/libs/getConfig.js +1 -1
@@ -3050,15 +3050,15 @@
3050
3050
  2372
3051
3051
  ],
3052
3052
  "TokenCustodian": [
3053
- 40532
3053
+ 40531
3054
3054
  ]
3055
3055
  },
3056
- "id": 40533,
3056
+ "id": 40532,
3057
3057
  "license": "AGPLv3",
3058
3058
  "nodeType": "SourceUnit",
3059
3059
  "nodes": [
3060
3060
  {
3061
- "id": 40378,
3061
+ "id": 40377,
3062
3062
  "literals": [
3063
3063
  "solidity",
3064
3064
  "0.8",
@@ -3070,16 +3070,16 @@
3070
3070
  {
3071
3071
  "absolutePath": "@openzeppelin/contracts/token/ERC777/IERC777.sol",
3072
3072
  "file": "@openzeppelin/contracts/token/ERC777/IERC777.sol",
3073
- "id": 40380,
3073
+ "id": 40379,
3074
3074
  "nameLocation": "-1:-1:-1",
3075
3075
  "nodeType": "ImportDirective",
3076
- "scope": 40533,
3076
+ "scope": 40532,
3077
3077
  "sourceUnit": 2353,
3078
3078
  "src": "60:75:105",
3079
3079
  "symbolAliases": [
3080
3080
  {
3081
3081
  "foreign": {
3082
- "id": 40379,
3082
+ "id": 40378,
3083
3083
  "name": "IERC777",
3084
3084
  "nodeType": "Identifier",
3085
3085
  "overloadedDeclarations": [],
@@ -3095,16 +3095,16 @@
3095
3095
  {
3096
3096
  "absolutePath": "@openzeppelin/contracts/utils/introspection/IERC1820Registry.sol",
3097
3097
  "file": "@openzeppelin/contracts/utils/introspection/IERC1820Registry.sol",
3098
- "id": 40382,
3098
+ "id": 40381,
3099
3099
  "nameLocation": "-1:-1:-1",
3100
3100
  "nodeType": "ImportDirective",
3101
- "scope": 40533,
3101
+ "scope": 40532,
3102
3102
  "sourceUnit": 3246,
3103
3103
  "src": "136:100:105",
3104
3104
  "symbolAliases": [
3105
3105
  {
3106
3106
  "foreign": {
3107
- "id": 40381,
3107
+ "id": 40380,
3108
3108
  "name": "IERC1820Registry",
3109
3109
  "nodeType": "Identifier",
3110
3110
  "overloadedDeclarations": [],
@@ -3120,16 +3120,16 @@
3120
3120
  {
3121
3121
  "absolutePath": "@openzeppelin/contracts/token/ERC777/IERC777Recipient.sol",
3122
3122
  "file": "@openzeppelin/contracts/token/ERC777/IERC777Recipient.sol",
3123
- "id": 40384,
3123
+ "id": 40383,
3124
3124
  "nameLocation": "-1:-1:-1",
3125
3125
  "nodeType": "ImportDirective",
3126
- "scope": 40533,
3126
+ "scope": 40532,
3127
3127
  "sourceUnit": 2373,
3128
3128
  "src": "237:93:105",
3129
3129
  "symbolAliases": [
3130
3130
  {
3131
3131
  "foreign": {
3132
- "id": 40383,
3132
+ "id": 40382,
3133
3133
  "name": "IERC777Recipient",
3134
3134
  "nodeType": "Identifier",
3135
3135
  "overloadedDeclarations": [],
@@ -3147,7 +3147,7 @@
3147
3147
  "baseContracts": [
3148
3148
  {
3149
3149
  "baseName": {
3150
- "id": 40386,
3150
+ "id": 40385,
3151
3151
  "name": "IERC777Recipient",
3152
3152
  "nameLocations": [
3153
3153
  "521:16:105"
@@ -3156,7 +3156,7 @@
3156
3156
  "referencedDeclaration": 2372,
3157
3157
  "src": "521:16:105"
3158
3158
  },
3159
- "id": 40387,
3159
+ "id": 40386,
3160
3160
  "nodeType": "InheritanceSpecifier",
3161
3161
  "src": "521:16:105"
3162
3162
  }
@@ -3165,15 +3165,15 @@
3165
3165
  "contractDependencies": [],
3166
3166
  "contractKind": "contract",
3167
3167
  "documentation": {
3168
- "id": 40385,
3168
+ "id": 40384,
3169
3169
  "nodeType": "StructuredDocumentation",
3170
3170
  "src": "332:161:105",
3171
3171
  "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"
3172
3172
  },
3173
3173
  "fullyImplemented": true,
3174
- "id": 40532,
3174
+ "id": 40531,
3175
3175
  "linearizedBaseContracts": [
3176
- 40532,
3176
+ 40531,
3177
3177
  2372
3178
3178
  ],
3179
3179
  "name": "TokenCustodian",
@@ -3182,12 +3182,12 @@
3182
3182
  "nodes": [
3183
3183
  {
3184
3184
  "constant": true,
3185
- "id": 40393,
3185
+ "id": 40392,
3186
3186
  "mutability": "constant",
3187
3187
  "name": "_ERC1820_REGISTRY",
3188
3188
  "nameLocation": "579:17:105",
3189
3189
  "nodeType": "VariableDeclaration",
3190
- "scope": 40532,
3190
+ "scope": 40531,
3191
3191
  "src": "544:119:105",
3192
3192
  "stateVariable": true,
3193
3193
  "storageLocation": "default",
@@ -3196,10 +3196,10 @@
3196
3196
  "typeString": "contract IERC1820Registry"
3197
3197
  },
3198
3198
  "typeName": {
3199
- "id": 40389,
3199
+ "id": 40388,
3200
3200
  "nodeType": "UserDefinedTypeName",
3201
3201
  "pathNode": {
3202
- "id": 40388,
3202
+ "id": 40387,
3203
3203
  "name": "IERC1820Registry",
3204
3204
  "nameLocations": [
3205
3205
  "544:16:105"
@@ -3219,7 +3219,7 @@
3219
3219
  "arguments": [
3220
3220
  {
3221
3221
  "hexValue": "307831383230613442373631384264453731446365386364633733614142364339353930356661443234",
3222
- "id": 40391,
3222
+ "id": 40390,
3223
3223
  "isConstant": false,
3224
3224
  "isLValue": false,
3225
3225
  "isPure": true,
@@ -3241,7 +3241,7 @@
3241
3241
  "typeString": "address"
3242
3242
  }
3243
3243
  ],
3244
- "id": 40390,
3244
+ "id": 40389,
3245
3245
  "name": "IERC1820Registry",
3246
3246
  "nodeType": "Identifier",
3247
3247
  "overloadedDeclarations": [],
@@ -3252,7 +3252,7 @@
3252
3252
  "typeString": "type(contract IERC1820Registry)"
3253
3253
  }
3254
3254
  },
3255
- "id": 40392,
3255
+ "id": 40391,
3256
3256
  "isConstant": false,
3257
3257
  "isLValue": false,
3258
3258
  "isPure": true,
@@ -3273,12 +3273,12 @@
3273
3273
  {
3274
3274
  "constant": false,
3275
3275
  "functionSelector": "c23f001f",
3276
- "id": 40400,
3276
+ "id": 40399,
3277
3277
  "mutability": "mutable",
3278
3278
  "name": "balances",
3279
3279
  "nameLocation": "724:8:105",
3280
3280
  "nodeType": "VariableDeclaration",
3281
- "scope": 40532,
3281
+ "scope": 40531,
3282
3282
  "src": "669:63:105",
3283
3283
  "stateVariable": true,
3284
3284
  "storageLocation": "default",
@@ -3287,12 +3287,12 @@
3287
3287
  "typeString": "mapping(contract IERC777 => mapping(address => uint256))"
3288
3288
  },
3289
3289
  "typeName": {
3290
- "id": 40399,
3290
+ "id": 40398,
3291
3291
  "keyType": {
3292
- "id": 40395,
3292
+ "id": 40394,
3293
3293
  "nodeType": "UserDefinedTypeName",
3294
3294
  "pathNode": {
3295
- "id": 40394,
3295
+ "id": 40393,
3296
3296
  "name": "IERC777",
3297
3297
  "nameLocations": [
3298
3298
  "677:7:105"
@@ -3315,9 +3315,9 @@
3315
3315
  "typeString": "mapping(contract IERC777 => mapping(address => uint256))"
3316
3316
  },
3317
3317
  "valueType": {
3318
- "id": 40398,
3318
+ "id": 40397,
3319
3319
  "keyType": {
3320
- "id": 40396,
3320
+ "id": 40395,
3321
3321
  "name": "address",
3322
3322
  "nodeType": "ElementaryTypeName",
3323
3323
  "src": "696:7:105",
@@ -3333,7 +3333,7 @@
3333
3333
  "typeString": "mapping(address => uint256)"
3334
3334
  },
3335
3335
  "valueType": {
3336
- "id": 40397,
3336
+ "id": 40396,
3337
3337
  "name": "uint256",
3338
3338
  "nodeType": "ElementaryTypeName",
3339
3339
  "src": "707:7:105",
@@ -3348,7 +3348,7 @@
3348
3348
  },
3349
3349
  {
3350
3350
  "body": {
3351
- "id": 40419,
3351
+ "id": 40418,
3352
3352
  "nodeType": "Block",
3353
3353
  "src": "753:124:105",
3354
3354
  "statements": [
@@ -3358,14 +3358,14 @@
3358
3358
  {
3359
3359
  "arguments": [
3360
3360
  {
3361
- "id": 40408,
3361
+ "id": 40407,
3362
3362
  "name": "this",
3363
3363
  "nodeType": "Identifier",
3364
3364
  "overloadedDeclarations": [],
3365
3365
  "referencedDeclaration": 4294967268,
3366
3366
  "src": "813:4:105",
3367
3367
  "typeDescriptions": {
3368
- "typeIdentifier": "t_contract$_TokenCustodian_$40532",
3368
+ "typeIdentifier": "t_contract$_TokenCustodian_$40531",
3369
3369
  "typeString": "contract TokenCustodian"
3370
3370
  }
3371
3371
  }
@@ -3373,11 +3373,11 @@
3373
3373
  "expression": {
3374
3374
  "argumentTypes": [
3375
3375
  {
3376
- "typeIdentifier": "t_contract$_TokenCustodian_$40532",
3376
+ "typeIdentifier": "t_contract$_TokenCustodian_$40531",
3377
3377
  "typeString": "contract TokenCustodian"
3378
3378
  }
3379
3379
  ],
3380
- "id": 40407,
3380
+ "id": 40406,
3381
3381
  "isConstant": false,
3382
3382
  "isLValue": false,
3383
3383
  "isPure": true,
@@ -3389,14 +3389,14 @@
3389
3389
  "typeString": "type(address)"
3390
3390
  },
3391
3391
  "typeName": {
3392
- "id": 40406,
3392
+ "id": 40405,
3393
3393
  "name": "address",
3394
3394
  "nodeType": "ElementaryTypeName",
3395
3395
  "src": "805:7:105",
3396
3396
  "typeDescriptions": {}
3397
3397
  }
3398
3398
  },
3399
- "id": 40409,
3399
+ "id": 40408,
3400
3400
  "isConstant": false,
3401
3401
  "isLValue": false,
3402
3402
  "isPure": false,
@@ -3416,7 +3416,7 @@
3416
3416
  "arguments": [
3417
3417
  {
3418
3418
  "hexValue": "455243373737546f6b656e73526563697069656e74",
3419
- "id": 40411,
3419
+ "id": 40410,
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": 40410,
3441
+ "id": 40409,
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": 40412,
3452
+ "id": 40411,
3453
3453
  "isConstant": false,
3454
3454
  "isLValue": false,
3455
3455
  "isPure": true,
@@ -3468,14 +3468,14 @@
3468
3468
  {
3469
3469
  "arguments": [
3470
3470
  {
3471
- "id": 40415,
3471
+ "id": 40414,
3472
3472
  "name": "this",
3473
3473
  "nodeType": "Identifier",
3474
3474
  "overloadedDeclarations": [],
3475
3475
  "referencedDeclaration": 4294967268,
3476
3476
  "src": "864:4:105",
3477
3477
  "typeDescriptions": {
3478
- "typeIdentifier": "t_contract$_TokenCustodian_$40532",
3478
+ "typeIdentifier": "t_contract$_TokenCustodian_$40531",
3479
3479
  "typeString": "contract TokenCustodian"
3480
3480
  }
3481
3481
  }
@@ -3483,11 +3483,11 @@
3483
3483
  "expression": {
3484
3484
  "argumentTypes": [
3485
3485
  {
3486
- "typeIdentifier": "t_contract$_TokenCustodian_$40532",
3486
+ "typeIdentifier": "t_contract$_TokenCustodian_$40531",
3487
3487
  "typeString": "contract TokenCustodian"
3488
3488
  }
3489
3489
  ],
3490
- "id": 40414,
3490
+ "id": 40413,
3491
3491
  "isConstant": false,
3492
3492
  "isLValue": false,
3493
3493
  "isPure": true,
@@ -3499,14 +3499,14 @@
3499
3499
  "typeString": "type(address)"
3500
3500
  },
3501
3501
  "typeName": {
3502
- "id": 40413,
3502
+ "id": 40412,
3503
3503
  "name": "address",
3504
3504
  "nodeType": "ElementaryTypeName",
3505
3505
  "src": "856:7:105",
3506
3506
  "typeDescriptions": {}
3507
3507
  }
3508
3508
  },
3509
- "id": 40416,
3509
+ "id": 40415,
3510
3510
  "isConstant": false,
3511
3511
  "isLValue": false,
3512
3512
  "isPure": false,
@@ -3539,18 +3539,18 @@
3539
3539
  }
3540
3540
  ],
3541
3541
  "expression": {
3542
- "id": 40403,
3542
+ "id": 40402,
3543
3543
  "name": "_ERC1820_REGISTRY",
3544
3544
  "nodeType": "Identifier",
3545
3545
  "overloadedDeclarations": [],
3546
- "referencedDeclaration": 40393,
3546
+ "referencedDeclaration": 40392,
3547
3547
  "src": "763:17:105",
3548
3548
  "typeDescriptions": {
3549
3549
  "typeIdentifier": "t_contract$_IERC1820Registry_$3245",
3550
3550
  "typeString": "contract IERC1820Registry"
3551
3551
  }
3552
3552
  },
3553
- "id": 40405,
3553
+ "id": 40404,
3554
3554
  "isConstant": false,
3555
3555
  "isLValue": false,
3556
3556
  "isPure": false,
@@ -3565,7 +3565,7 @@
3565
3565
  "typeString": "function (address,bytes32,address) external"
3566
3566
  }
3567
3567
  },
3568
- "id": 40417,
3568
+ "id": 40416,
3569
3569
  "isConstant": false,
3570
3570
  "isLValue": false,
3571
3571
  "isPure": false,
@@ -3581,13 +3581,13 @@
3581
3581
  "typeString": "tuple()"
3582
3582
  }
3583
3583
  },
3584
- "id": 40418,
3584
+ "id": 40417,
3585
3585
  "nodeType": "ExpressionStatement",
3586
3586
  "src": "763:107:105"
3587
3587
  }
3588
3588
  ]
3589
3589
  },
3590
- "id": 40420,
3590
+ "id": 40419,
3591
3591
  "implemented": true,
3592
3592
  "kind": "constructor",
3593
3593
  "modifiers": [],
@@ -3595,18 +3595,18 @@
3595
3595
  "nameLocation": "-1:-1:-1",
3596
3596
  "nodeType": "FunctionDefinition",
3597
3597
  "parameters": {
3598
- "id": 40401,
3598
+ "id": 40400,
3599
3599
  "nodeType": "ParameterList",
3600
3600
  "parameters": [],
3601
3601
  "src": "750:2:105"
3602
3602
  },
3603
3603
  "returnParameters": {
3604
- "id": 40402,
3604
+ "id": 40401,
3605
3605
  "nodeType": "ParameterList",
3606
3606
  "parameters": [],
3607
3607
  "src": "753:0:105"
3608
3608
  },
3609
- "scope": 40532,
3609
+ "scope": 40531,
3610
3610
  "src": "739:138:105",
3611
3611
  "stateMutability": "nonpayable",
3612
3612
  "virtual": false,
@@ -3615,23 +3615,23 @@
3615
3615
  {
3616
3616
  "anonymous": false,
3617
3617
  "eventSelector": "9318b8aa904a44e8e096d937e3ff0488521fd9ce8db68cb8b120e2a08cbc02a1",
3618
- "id": 40429,
3618
+ "id": 40428,
3619
3619
  "name": "CustodianDeposit",
3620
3620
  "nameLocation": "889:16:105",
3621
3621
  "nodeType": "EventDefinition",
3622
3622
  "parameters": {
3623
- "id": 40428,
3623
+ "id": 40427,
3624
3624
  "nodeType": "ParameterList",
3625
3625
  "parameters": [
3626
3626
  {
3627
3627
  "constant": false,
3628
- "id": 40423,
3628
+ "id": 40422,
3629
3629
  "indexed": true,
3630
3630
  "mutability": "mutable",
3631
3631
  "name": "token",
3632
3632
  "nameLocation": "922:5:105",
3633
3633
  "nodeType": "VariableDeclaration",
3634
- "scope": 40429,
3634
+ "scope": 40428,
3635
3635
  "src": "906:21:105",
3636
3636
  "stateVariable": false,
3637
3637
  "storageLocation": "default",
@@ -3640,10 +3640,10 @@
3640
3640
  "typeString": "contract IERC777"
3641
3641
  },
3642
3642
  "typeName": {
3643
- "id": 40422,
3643
+ "id": 40421,
3644
3644
  "nodeType": "UserDefinedTypeName",
3645
3645
  "pathNode": {
3646
- "id": 40421,
3646
+ "id": 40420,
3647
3647
  "name": "IERC777",
3648
3648
  "nameLocations": [
3649
3649
  "906:7:105"
@@ -3663,13 +3663,13 @@
3663
3663
  },
3664
3664
  {
3665
3665
  "constant": false,
3666
- "id": 40425,
3666
+ "id": 40424,
3667
3667
  "indexed": false,
3668
3668
  "mutability": "mutable",
3669
3669
  "name": "recipient",
3670
3670
  "nameLocation": "937:9:105",
3671
3671
  "nodeType": "VariableDeclaration",
3672
- "scope": 40429,
3672
+ "scope": 40428,
3673
3673
  "src": "929:17:105",
3674
3674
  "stateVariable": false,
3675
3675
  "storageLocation": "default",
@@ -3678,7 +3678,7 @@
3678
3678
  "typeString": "address"
3679
3679
  },
3680
3680
  "typeName": {
3681
- "id": 40424,
3681
+ "id": 40423,
3682
3682
  "name": "address",
3683
3683
  "nodeType": "ElementaryTypeName",
3684
3684
  "src": "929:7:105",
@@ -3692,13 +3692,13 @@
3692
3692
  },
3693
3693
  {
3694
3694
  "constant": false,
3695
- "id": 40427,
3695
+ "id": 40426,
3696
3696
  "indexed": false,
3697
3697
  "mutability": "mutable",
3698
3698
  "name": "amount",
3699
3699
  "nameLocation": "956:6:105",
3700
3700
  "nodeType": "VariableDeclaration",
3701
- "scope": 40429,
3701
+ "scope": 40428,
3702
3702
  "src": "948:14:105",
3703
3703
  "stateVariable": false,
3704
3704
  "storageLocation": "default",
@@ -3707,7 +3707,7 @@
3707
3707
  "typeString": "uint256"
3708
3708
  },
3709
3709
  "typeName": {
3710
- "id": 40426,
3710
+ "id": 40425,
3711
3711
  "name": "uint256",
3712
3712
  "nodeType": "ElementaryTypeName",
3713
3713
  "src": "948:7:105",
@@ -3726,23 +3726,23 @@
3726
3726
  {
3727
3727
  "anonymous": false,
3728
3728
  "eventSelector": "6ee58811e1c06f9971bf4c156175fabb19413d8a51841c2231beee4f3c04e73f",
3729
- "id": 40438,
3729
+ "id": 40437,
3730
3730
  "name": "CustodianWithdrawal",
3731
3731
  "nameLocation": "975:19:105",
3732
3732
  "nodeType": "EventDefinition",
3733
3733
  "parameters": {
3734
- "id": 40437,
3734
+ "id": 40436,
3735
3735
  "nodeType": "ParameterList",
3736
3736
  "parameters": [
3737
3737
  {
3738
3738
  "constant": false,
3739
- "id": 40432,
3739
+ "id": 40431,
3740
3740
  "indexed": true,
3741
3741
  "mutability": "mutable",
3742
3742
  "name": "token",
3743
3743
  "nameLocation": "1011:5:105",
3744
3744
  "nodeType": "VariableDeclaration",
3745
- "scope": 40438,
3745
+ "scope": 40437,
3746
3746
  "src": "995:21:105",
3747
3747
  "stateVariable": false,
3748
3748
  "storageLocation": "default",
@@ -3751,10 +3751,10 @@
3751
3751
  "typeString": "contract IERC777"
3752
3752
  },
3753
3753
  "typeName": {
3754
- "id": 40431,
3754
+ "id": 40430,
3755
3755
  "nodeType": "UserDefinedTypeName",
3756
3756
  "pathNode": {
3757
- "id": 40430,
3757
+ "id": 40429,
3758
3758
  "name": "IERC777",
3759
3759
  "nameLocations": [
3760
3760
  "995:7:105"
@@ -3774,13 +3774,13 @@
3774
3774
  },
3775
3775
  {
3776
3776
  "constant": false,
3777
- "id": 40434,
3777
+ "id": 40433,
3778
3778
  "indexed": false,
3779
3779
  "mutability": "mutable",
3780
3780
  "name": "recipient",
3781
3781
  "nameLocation": "1026:9:105",
3782
3782
  "nodeType": "VariableDeclaration",
3783
- "scope": 40438,
3783
+ "scope": 40437,
3784
3784
  "src": "1018:17:105",
3785
3785
  "stateVariable": false,
3786
3786
  "storageLocation": "default",
@@ -3789,7 +3789,7 @@
3789
3789
  "typeString": "address"
3790
3790
  },
3791
3791
  "typeName": {
3792
- "id": 40433,
3792
+ "id": 40432,
3793
3793
  "name": "address",
3794
3794
  "nodeType": "ElementaryTypeName",
3795
3795
  "src": "1018:7:105",
@@ -3803,13 +3803,13 @@
3803
3803
  },
3804
3804
  {
3805
3805
  "constant": false,
3806
- "id": 40436,
3806
+ "id": 40435,
3807
3807
  "indexed": false,
3808
3808
  "mutability": "mutable",
3809
3809
  "name": "amount",
3810
3810
  "nameLocation": "1045:6:105",
3811
3811
  "nodeType": "VariableDeclaration",
3812
- "scope": 40438,
3812
+ "scope": 40437,
3813
3813
  "src": "1037:14:105",
3814
3814
  "stateVariable": false,
3815
3815
  "storageLocation": "default",
@@ -3818,7 +3818,7 @@
3818
3818
  "typeString": "uint256"
3819
3819
  },
3820
3820
  "typeName": {
3821
- "id": 40435,
3821
+ "id": 40434,
3822
3822
  "name": "uint256",
3823
3823
  "nodeType": "ElementaryTypeName",
3824
3824
  "src": "1037:7:105",
@@ -3836,23 +3836,23 @@
3836
3836
  },
3837
3837
  {
3838
3838
  "body": {
3839
- "id": 40481,
3839
+ "id": 40480,
3840
3840
  "nodeType": "Block",
3841
3841
  "src": "1187:313:105",
3842
3842
  "statements": [
3843
3843
  {
3844
3844
  "assignments": [
3845
- 40447
3845
+ 40446
3846
3846
  ],
3847
3847
  "declarations": [
3848
3848
  {
3849
3849
  "constant": false,
3850
- "id": 40447,
3850
+ "id": 40446,
3851
3851
  "mutability": "mutable",
3852
3852
  "name": "amount",
3853
3853
  "nameLocation": "1205:6:105",
3854
3854
  "nodeType": "VariableDeclaration",
3855
- "scope": 40481,
3855
+ "scope": 40480,
3856
3856
  "src": "1197:14:105",
3857
3857
  "stateVariable": false,
3858
3858
  "storageLocation": "default",
@@ -3861,7 +3861,7 @@
3861
3861
  "typeString": "uint256"
3862
3862
  },
3863
3863
  "typeName": {
3864
- "id": 40446,
3864
+ "id": 40445,
3865
3865
  "name": "uint256",
3866
3866
  "nodeType": "ElementaryTypeName",
3867
3867
  "src": "1197:7:105",
@@ -3873,28 +3873,28 @@
3873
3873
  "visibility": "internal"
3874
3874
  }
3875
3875
  ],
3876
- "id": 40453,
3876
+ "id": 40452,
3877
3877
  "initialValue": {
3878
3878
  "baseExpression": {
3879
3879
  "baseExpression": {
3880
- "id": 40448,
3880
+ "id": 40447,
3881
3881
  "name": "balances",
3882
3882
  "nodeType": "Identifier",
3883
3883
  "overloadedDeclarations": [],
3884
- "referencedDeclaration": 40400,
3884
+ "referencedDeclaration": 40399,
3885
3885
  "src": "1214:8:105",
3886
3886
  "typeDescriptions": {
3887
3887
  "typeIdentifier": "t_mapping$_t_contract$_IERC777_$2352_$_t_mapping$_t_address_$_t_uint256_$_$",
3888
3888
  "typeString": "mapping(contract IERC777 => mapping(address => uint256))"
3889
3889
  }
3890
3890
  },
3891
- "id": 40450,
3891
+ "id": 40449,
3892
3892
  "indexExpression": {
3893
- "id": 40449,
3893
+ "id": 40448,
3894
3894
  "name": "token",
3895
3895
  "nodeType": "Identifier",
3896
3896
  "overloadedDeclarations": [],
3897
- "referencedDeclaration": 40441,
3897
+ "referencedDeclaration": 40440,
3898
3898
  "src": "1223:5:105",
3899
3899
  "typeDescriptions": {
3900
3900
  "typeIdentifier": "t_contract$_IERC777_$2352",
@@ -3912,13 +3912,13 @@
3912
3912
  "typeString": "mapping(address => uint256)"
3913
3913
  }
3914
3914
  },
3915
- "id": 40452,
3915
+ "id": 40451,
3916
3916
  "indexExpression": {
3917
- "id": 40451,
3917
+ "id": 40450,
3918
3918
  "name": "recipient",
3919
3919
  "nodeType": "Identifier",
3920
3920
  "overloadedDeclarations": [],
3921
- "referencedDeclaration": 40443,
3921
+ "referencedDeclaration": 40442,
3922
3922
  "src": "1230:9:105",
3923
3923
  "typeDescriptions": {
3924
3924
  "typeIdentifier": "t_address",
@@ -3945,17 +3945,17 @@
3945
3945
  "typeIdentifier": "t_uint256",
3946
3946
  "typeString": "uint256"
3947
3947
  },
3948
- "id": 40456,
3948
+ "id": 40455,
3949
3949
  "isConstant": false,
3950
3950
  "isLValue": false,
3951
3951
  "isPure": false,
3952
3952
  "lValueRequested": false,
3953
3953
  "leftExpression": {
3954
- "id": 40454,
3954
+ "id": 40453,
3955
3955
  "name": "amount",
3956
3956
  "nodeType": "Identifier",
3957
3957
  "overloadedDeclarations": [],
3958
- "referencedDeclaration": 40447,
3958
+ "referencedDeclaration": 40446,
3959
3959
  "src": "1254:6:105",
3960
3960
  "typeDescriptions": {
3961
3961
  "typeIdentifier": "t_uint256",
@@ -3966,7 +3966,7 @@
3966
3966
  "operator": ">",
3967
3967
  "rightExpression": {
3968
3968
  "hexValue": "30",
3969
- "id": 40455,
3969
+ "id": 40454,
3970
3970
  "isConstant": false,
3971
3971
  "isLValue": false,
3972
3972
  "isPure": true,
@@ -3986,17 +3986,17 @@
3986
3986
  "typeString": "bool"
3987
3987
  }
3988
3988
  },
3989
- "id": 40480,
3989
+ "id": 40479,
3990
3990
  "nodeType": "IfStatement",
3991
3991
  "src": "1250:244:105",
3992
3992
  "trueBody": {
3993
- "id": 40479,
3993
+ "id": 40478,
3994
3994
  "nodeType": "Block",
3995
3995
  "src": "1266:228:105",
3996
3996
  "statements": [
3997
3997
  {
3998
3998
  "expression": {
3999
- "id": 40463,
3999
+ "id": 40462,
4000
4000
  "isConstant": false,
4001
4001
  "isLValue": false,
4002
4002
  "isPure": false,
@@ -4004,24 +4004,24 @@
4004
4004
  "leftHandSide": {
4005
4005
  "baseExpression": {
4006
4006
  "baseExpression": {
4007
- "id": 40457,
4007
+ "id": 40456,
4008
4008
  "name": "balances",
4009
4009
  "nodeType": "Identifier",
4010
4010
  "overloadedDeclarations": [],
4011
- "referencedDeclaration": 40400,
4011
+ "referencedDeclaration": 40399,
4012
4012
  "src": "1280:8:105",
4013
4013
  "typeDescriptions": {
4014
4014
  "typeIdentifier": "t_mapping$_t_contract$_IERC777_$2352_$_t_mapping$_t_address_$_t_uint256_$_$",
4015
4015
  "typeString": "mapping(contract IERC777 => mapping(address => uint256))"
4016
4016
  }
4017
4017
  },
4018
- "id": 40460,
4018
+ "id": 40459,
4019
4019
  "indexExpression": {
4020
- "id": 40458,
4020
+ "id": 40457,
4021
4021
  "name": "token",
4022
4022
  "nodeType": "Identifier",
4023
4023
  "overloadedDeclarations": [],
4024
- "referencedDeclaration": 40441,
4024
+ "referencedDeclaration": 40440,
4025
4025
  "src": "1289:5:105",
4026
4026
  "typeDescriptions": {
4027
4027
  "typeIdentifier": "t_contract$_IERC777_$2352",
@@ -4039,13 +4039,13 @@
4039
4039
  "typeString": "mapping(address => uint256)"
4040
4040
  }
4041
4041
  },
4042
- "id": 40461,
4042
+ "id": 40460,
4043
4043
  "indexExpression": {
4044
- "id": 40459,
4044
+ "id": 40458,
4045
4045
  "name": "recipient",
4046
4046
  "nodeType": "Identifier",
4047
4047
  "overloadedDeclarations": [],
4048
- "referencedDeclaration": 40443,
4048
+ "referencedDeclaration": 40442,
4049
4049
  "src": "1296:9:105",
4050
4050
  "typeDescriptions": {
4051
4051
  "typeIdentifier": "t_address",
@@ -4067,7 +4067,7 @@
4067
4067
  "operator": "=",
4068
4068
  "rightHandSide": {
4069
4069
  "hexValue": "30",
4070
- "id": 40462,
4070
+ "id": 40461,
4071
4071
  "isConstant": false,
4072
4072
  "isLValue": false,
4073
4073
  "isPure": true,
@@ -4087,7 +4087,7 @@
4087
4087
  "typeString": "uint256"
4088
4088
  }
4089
4089
  },
4090
- "id": 40464,
4090
+ "id": 40463,
4091
4091
  "nodeType": "ExpressionStatement",
4092
4092
  "src": "1280:30:105"
4093
4093
  },
@@ -4095,11 +4095,11 @@
4095
4095
  "expression": {
4096
4096
  "arguments": [
4097
4097
  {
4098
- "id": 40468,
4098
+ "id": 40467,
4099
4099
  "name": "recipient",
4100
4100
  "nodeType": "Identifier",
4101
4101
  "overloadedDeclarations": [],
4102
- "referencedDeclaration": 40443,
4102
+ "referencedDeclaration": 40442,
4103
4103
  "src": "1394:9:105",
4104
4104
  "typeDescriptions": {
4105
4105
  "typeIdentifier": "t_address",
@@ -4107,11 +4107,11 @@
4107
4107
  }
4108
4108
  },
4109
4109
  {
4110
- "id": 40469,
4110
+ "id": 40468,
4111
4111
  "name": "amount",
4112
4112
  "nodeType": "Identifier",
4113
4113
  "overloadedDeclarations": [],
4114
- "referencedDeclaration": 40447,
4114
+ "referencedDeclaration": 40446,
4115
4115
  "src": "1405:6:105",
4116
4116
  "typeDescriptions": {
4117
4117
  "typeIdentifier": "t_uint256",
@@ -4120,7 +4120,7 @@
4120
4120
  },
4121
4121
  {
4122
4122
  "hexValue": "307830",
4123
- "id": 40470,
4123
+ "id": 40469,
4124
4124
  "isConstant": false,
4125
4125
  "isLValue": false,
4126
4126
  "isPure": true,
@@ -4151,18 +4151,18 @@
4151
4151
  }
4152
4152
  ],
4153
4153
  "expression": {
4154
- "id": 40465,
4154
+ "id": 40464,
4155
4155
  "name": "token",
4156
4156
  "nodeType": "Identifier",
4157
4157
  "overloadedDeclarations": [],
4158
- "referencedDeclaration": 40441,
4158
+ "referencedDeclaration": 40440,
4159
4159
  "src": "1383:5:105",
4160
4160
  "typeDescriptions": {
4161
4161
  "typeIdentifier": "t_contract$_IERC777_$2352",
4162
4162
  "typeString": "contract IERC777"
4163
4163
  }
4164
4164
  },
4165
- "id": 40467,
4165
+ "id": 40466,
4166
4166
  "isConstant": false,
4167
4167
  "isLValue": false,
4168
4168
  "isPure": false,
@@ -4177,7 +4177,7 @@
4177
4177
  "typeString": "function (address,uint256,bytes memory) external"
4178
4178
  }
4179
4179
  },
4180
- "id": 40471,
4180
+ "id": 40470,
4181
4181
  "isConstant": false,
4182
4182
  "isLValue": false,
4183
4183
  "isPure": false,
@@ -4193,7 +4193,7 @@
4193
4193
  "typeString": "tuple()"
4194
4194
  }
4195
4195
  },
4196
- "id": 40472,
4196
+ "id": 40471,
4197
4197
  "nodeType": "ExpressionStatement",
4198
4198
  "src": "1383:36:105"
4199
4199
  },
@@ -4201,11 +4201,11 @@
4201
4201
  "eventCall": {
4202
4202
  "arguments": [
4203
4203
  {
4204
- "id": 40474,
4204
+ "id": 40473,
4205
4205
  "name": "token",
4206
4206
  "nodeType": "Identifier",
4207
4207
  "overloadedDeclarations": [],
4208
- "referencedDeclaration": 40441,
4208
+ "referencedDeclaration": 40440,
4209
4209
  "src": "1458:5:105",
4210
4210
  "typeDescriptions": {
4211
4211
  "typeIdentifier": "t_contract$_IERC777_$2352",
@@ -4213,11 +4213,11 @@
4213
4213
  }
4214
4214
  },
4215
4215
  {
4216
- "id": 40475,
4216
+ "id": 40474,
4217
4217
  "name": "recipient",
4218
4218
  "nodeType": "Identifier",
4219
4219
  "overloadedDeclarations": [],
4220
- "referencedDeclaration": 40443,
4220
+ "referencedDeclaration": 40442,
4221
4221
  "src": "1465:9:105",
4222
4222
  "typeDescriptions": {
4223
4223
  "typeIdentifier": "t_address",
@@ -4225,11 +4225,11 @@
4225
4225
  }
4226
4226
  },
4227
4227
  {
4228
- "id": 40476,
4228
+ "id": 40475,
4229
4229
  "name": "amount",
4230
4230
  "nodeType": "Identifier",
4231
4231
  "overloadedDeclarations": [],
4232
- "referencedDeclaration": 40447,
4232
+ "referencedDeclaration": 40446,
4233
4233
  "src": "1476:6:105",
4234
4234
  "typeDescriptions": {
4235
4235
  "typeIdentifier": "t_uint256",
@@ -4252,18 +4252,18 @@
4252
4252
  "typeString": "uint256"
4253
4253
  }
4254
4254
  ],
4255
- "id": 40473,
4255
+ "id": 40472,
4256
4256
  "name": "CustodianWithdrawal",
4257
4257
  "nodeType": "Identifier",
4258
4258
  "overloadedDeclarations": [],
4259
- "referencedDeclaration": 40438,
4259
+ "referencedDeclaration": 40437,
4260
4260
  "src": "1438:19:105",
4261
4261
  "typeDescriptions": {
4262
4262
  "typeIdentifier": "t_function_event_nonpayable$_t_contract$_IERC777_$2352_$_t_address_$_t_uint256_$returns$__$",
4263
4263
  "typeString": "function (contract IERC777,address,uint256)"
4264
4264
  }
4265
4265
  },
4266
- "id": 40477,
4266
+ "id": 40476,
4267
4267
  "isConstant": false,
4268
4268
  "isLValue": false,
4269
4269
  "isPure": false,
@@ -4279,7 +4279,7 @@
4279
4279
  "typeString": "tuple()"
4280
4280
  }
4281
4281
  },
4282
- "id": 40478,
4282
+ "id": 40477,
4283
4283
  "nodeType": "EmitStatement",
4284
4284
  "src": "1433:50:105"
4285
4285
  }
@@ -4289,7 +4289,7 @@
4289
4289
  ]
4290
4290
  },
4291
4291
  "functionSelector": "9cfddc36",
4292
- "id": 40482,
4292
+ "id": 40481,
4293
4293
  "implemented": true,
4294
4294
  "kind": "function",
4295
4295
  "modifiers": [],
@@ -4297,17 +4297,17 @@
4297
4297
  "nameLocation": "1140:5:105",
4298
4298
  "nodeType": "FunctionDefinition",
4299
4299
  "parameters": {
4300
- "id": 40444,
4300
+ "id": 40443,
4301
4301
  "nodeType": "ParameterList",
4302
4302
  "parameters": [
4303
4303
  {
4304
4304
  "constant": false,
4305
- "id": 40441,
4305
+ "id": 40440,
4306
4306
  "mutability": "mutable",
4307
4307
  "name": "token",
4308
4308
  "nameLocation": "1154:5:105",
4309
4309
  "nodeType": "VariableDeclaration",
4310
- "scope": 40482,
4310
+ "scope": 40481,
4311
4311
  "src": "1146:13:105",
4312
4312
  "stateVariable": false,
4313
4313
  "storageLocation": "default",
@@ -4316,10 +4316,10 @@
4316
4316
  "typeString": "contract IERC777"
4317
4317
  },
4318
4318
  "typeName": {
4319
- "id": 40440,
4319
+ "id": 40439,
4320
4320
  "nodeType": "UserDefinedTypeName",
4321
4321
  "pathNode": {
4322
- "id": 40439,
4322
+ "id": 40438,
4323
4323
  "name": "IERC777",
4324
4324
  "nameLocations": [
4325
4325
  "1146:7:105"
@@ -4339,12 +4339,12 @@
4339
4339
  },
4340
4340
  {
4341
4341
  "constant": false,
4342
- "id": 40443,
4342
+ "id": 40442,
4343
4343
  "mutability": "mutable",
4344
4344
  "name": "recipient",
4345
4345
  "nameLocation": "1169:9:105",
4346
4346
  "nodeType": "VariableDeclaration",
4347
- "scope": 40482,
4347
+ "scope": 40481,
4348
4348
  "src": "1161:17:105",
4349
4349
  "stateVariable": false,
4350
4350
  "storageLocation": "default",
@@ -4353,7 +4353,7 @@
4353
4353
  "typeString": "address"
4354
4354
  },
4355
4355
  "typeName": {
4356
- "id": 40442,
4356
+ "id": 40441,
4357
4357
  "name": "address",
4358
4358
  "nodeType": "ElementaryTypeName",
4359
4359
  "src": "1161:7:105",
@@ -4369,12 +4369,12 @@
4369
4369
  "src": "1145:34:105"
4370
4370
  },
4371
4371
  "returnParameters": {
4372
- "id": 40445,
4372
+ "id": 40444,
4373
4373
  "nodeType": "ParameterList",
4374
4374
  "parameters": [],
4375
4375
  "src": "1187:0:105"
4376
4376
  },
4377
- "scope": 40532,
4377
+ "scope": 40531,
4378
4378
  "src": "1131:369:105",
4379
4379
  "stateMutability": "nonpayable",
4380
4380
  "virtual": false,
@@ -4385,23 +4385,23 @@
4385
4385
  2371
4386
4386
  ],
4387
4387
  "body": {
4388
- "id": 40530,
4388
+ "id": 40529,
4389
4389
  "nodeType": "Block",
4390
4390
  "src": "1981:418:105",
4391
4391
  "statements": [
4392
4392
  {
4393
4393
  "assignments": [
4394
- 40500
4394
+ 40499
4395
4395
  ],
4396
4396
  "declarations": [
4397
4397
  {
4398
4398
  "constant": false,
4399
- "id": 40500,
4399
+ "id": 40499,
4400
4400
  "mutability": "mutable",
4401
4401
  "name": "token",
4402
4402
  "nameLocation": "1999:5:105",
4403
4403
  "nodeType": "VariableDeclaration",
4404
- "scope": 40530,
4404
+ "scope": 40529,
4405
4405
  "src": "1991:13:105",
4406
4406
  "stateVariable": false,
4407
4407
  "storageLocation": "default",
@@ -4410,10 +4410,10 @@
4410
4410
  "typeString": "contract IERC777"
4411
4411
  },
4412
4412
  "typeName": {
4413
- "id": 40499,
4413
+ "id": 40498,
4414
4414
  "nodeType": "UserDefinedTypeName",
4415
4415
  "pathNode": {
4416
- "id": 40498,
4416
+ "id": 40497,
4417
4417
  "name": "IERC777",
4418
4418
  "nameLocations": [
4419
4419
  "1991:7:105"
@@ -4432,12 +4432,12 @@
4432
4432
  "visibility": "internal"
4433
4433
  }
4434
4434
  ],
4435
- "id": 40505,
4435
+ "id": 40504,
4436
4436
  "initialValue": {
4437
4437
  "arguments": [
4438
4438
  {
4439
4439
  "expression": {
4440
- "id": 40502,
4440
+ "id": 40501,
4441
4441
  "name": "msg",
4442
4442
  "nodeType": "Identifier",
4443
4443
  "overloadedDeclarations": [],
@@ -4448,7 +4448,7 @@
4448
4448
  "typeString": "msg"
4449
4449
  }
4450
4450
  },
4451
- "id": 40503,
4451
+ "id": 40502,
4452
4452
  "isConstant": false,
4453
4453
  "isLValue": false,
4454
4454
  "isPure": false,
@@ -4470,7 +4470,7 @@
4470
4470
  "typeString": "address"
4471
4471
  }
4472
4472
  ],
4473
- "id": 40501,
4473
+ "id": 40500,
4474
4474
  "name": "IERC777",
4475
4475
  "nodeType": "Identifier",
4476
4476
  "overloadedDeclarations": [],
@@ -4481,7 +4481,7 @@
4481
4481
  "typeString": "type(contract IERC777)"
4482
4482
  }
4483
4483
  },
4484
- "id": 40504,
4484
+ "id": 40503,
4485
4485
  "isConstant": false,
4486
4486
  "isLValue": false,
4487
4487
  "isPure": false,
@@ -4502,17 +4502,17 @@
4502
4502
  },
4503
4503
  {
4504
4504
  "assignments": [
4505
- 40507
4505
+ 40506
4506
4506
  ],
4507
4507
  "declarations": [
4508
4508
  {
4509
4509
  "constant": false,
4510
- "id": 40507,
4510
+ "id": 40506,
4511
4511
  "mutability": "mutable",
4512
4512
  "name": "recipient",
4513
4513
  "nameLocation": "2130:9:105",
4514
4514
  "nodeType": "VariableDeclaration",
4515
- "scope": 40530,
4515
+ "scope": 40529,
4516
4516
  "src": "2122:17:105",
4517
4517
  "stateVariable": false,
4518
4518
  "storageLocation": "default",
@@ -4521,7 +4521,7 @@
4521
4521
  "typeString": "address"
4522
4522
  },
4523
4523
  "typeName": {
4524
- "id": 40506,
4524
+ "id": 40505,
4525
4525
  "name": "address",
4526
4526
  "nodeType": "ElementaryTypeName",
4527
4527
  "src": "2122:7:105",
@@ -4534,15 +4534,15 @@
4534
4534
  "visibility": "internal"
4535
4535
  }
4536
4536
  ],
4537
- "id": 40515,
4537
+ "id": 40514,
4538
4538
  "initialValue": {
4539
4539
  "arguments": [
4540
4540
  {
4541
- "id": 40510,
4541
+ "id": 40509,
4542
4542
  "name": "userData",
4543
4543
  "nodeType": "Identifier",
4544
4544
  "overloadedDeclarations": [],
4545
- "referencedDeclaration": 40492,
4545
+ "referencedDeclaration": 40491,
4546
4546
  "src": "2153:8:105",
4547
4547
  "typeDescriptions": {
4548
4548
  "typeIdentifier": "t_bytes_calldata_ptr",
@@ -4552,7 +4552,7 @@
4552
4552
  {
4553
4553
  "components": [
4554
4554
  {
4555
- "id": 40512,
4555
+ "id": 40511,
4556
4556
  "isConstant": false,
4557
4557
  "isLValue": false,
4558
4558
  "isPure": true,
@@ -4564,7 +4564,7 @@
4564
4564
  "typeString": "type(address)"
4565
4565
  },
4566
4566
  "typeName": {
4567
- "id": 40511,
4567
+ "id": 40510,
4568
4568
  "name": "address",
4569
4569
  "nodeType": "ElementaryTypeName",
4570
4570
  "src": "2164:7:105",
@@ -4572,7 +4572,7 @@
4572
4572
  }
4573
4573
  }
4574
4574
  ],
4575
- "id": 40513,
4575
+ "id": 40512,
4576
4576
  "isConstant": false,
4577
4577
  "isInlineArray": false,
4578
4578
  "isLValue": false,
@@ -4598,7 +4598,7 @@
4598
4598
  }
4599
4599
  ],
4600
4600
  "expression": {
4601
- "id": 40508,
4601
+ "id": 40507,
4602
4602
  "name": "abi",
4603
4603
  "nodeType": "Identifier",
4604
4604
  "overloadedDeclarations": [],
@@ -4609,7 +4609,7 @@
4609
4609
  "typeString": "abi"
4610
4610
  }
4611
4611
  },
4612
- "id": 40509,
4612
+ "id": 40508,
4613
4613
  "isConstant": false,
4614
4614
  "isLValue": false,
4615
4615
  "isPure": true,
@@ -4623,7 +4623,7 @@
4623
4623
  "typeString": "function () pure"
4624
4624
  }
4625
4625
  },
4626
- "id": 40514,
4626
+ "id": 40513,
4627
4627
  "isConstant": false,
4628
4628
  "isLValue": false,
4629
4629
  "isPure": false,
@@ -4644,7 +4644,7 @@
4644
4644
  },
4645
4645
  {
4646
4646
  "expression": {
4647
- "id": 40522,
4647
+ "id": 40521,
4648
4648
  "isConstant": false,
4649
4649
  "isLValue": false,
4650
4650
  "isPure": false,
@@ -4652,24 +4652,24 @@
4652
4652
  "leftHandSide": {
4653
4653
  "baseExpression": {
4654
4654
  "baseExpression": {
4655
- "id": 40516,
4655
+ "id": 40515,
4656
4656
  "name": "balances",
4657
4657
  "nodeType": "Identifier",
4658
4658
  "overloadedDeclarations": [],
4659
- "referencedDeclaration": 40400,
4659
+ "referencedDeclaration": 40399,
4660
4660
  "src": "2183:8:105",
4661
4661
  "typeDescriptions": {
4662
4662
  "typeIdentifier": "t_mapping$_t_contract$_IERC777_$2352_$_t_mapping$_t_address_$_t_uint256_$_$",
4663
4663
  "typeString": "mapping(contract IERC777 => mapping(address => uint256))"
4664
4664
  }
4665
4665
  },
4666
- "id": 40519,
4666
+ "id": 40518,
4667
4667
  "indexExpression": {
4668
- "id": 40517,
4668
+ "id": 40516,
4669
4669
  "name": "token",
4670
4670
  "nodeType": "Identifier",
4671
4671
  "overloadedDeclarations": [],
4672
- "referencedDeclaration": 40500,
4672
+ "referencedDeclaration": 40499,
4673
4673
  "src": "2192:5:105",
4674
4674
  "typeDescriptions": {
4675
4675
  "typeIdentifier": "t_contract$_IERC777_$2352",
@@ -4687,13 +4687,13 @@
4687
4687
  "typeString": "mapping(address => uint256)"
4688
4688
  }
4689
4689
  },
4690
- "id": 40520,
4690
+ "id": 40519,
4691
4691
  "indexExpression": {
4692
- "id": 40518,
4692
+ "id": 40517,
4693
4693
  "name": "recipient",
4694
4694
  "nodeType": "Identifier",
4695
4695
  "overloadedDeclarations": [],
4696
- "referencedDeclaration": 40507,
4696
+ "referencedDeclaration": 40506,
4697
4697
  "src": "2199:9:105",
4698
4698
  "typeDescriptions": {
4699
4699
  "typeIdentifier": "t_address",
@@ -4714,11 +4714,11 @@
4714
4714
  "nodeType": "Assignment",
4715
4715
  "operator": "+=",
4716
4716
  "rightHandSide": {
4717
- "id": 40521,
4717
+ "id": 40520,
4718
4718
  "name": "amount",
4719
4719
  "nodeType": "Identifier",
4720
4720
  "overloadedDeclarations": [],
4721
- "referencedDeclaration": 40490,
4721
+ "referencedDeclaration": 40489,
4722
4722
  "src": "2213:6:105",
4723
4723
  "typeDescriptions": {
4724
4724
  "typeIdentifier": "t_uint256",
@@ -4731,7 +4731,7 @@
4731
4731
  "typeString": "uint256"
4732
4732
  }
4733
4733
  },
4734
- "id": 40523,
4734
+ "id": 40522,
4735
4735
  "nodeType": "ExpressionStatement",
4736
4736
  "src": "2183:36:105"
4737
4737
  },
@@ -4739,11 +4739,11 @@
4739
4739
  "eventCall": {
4740
4740
  "arguments": [
4741
4741
  {
4742
- "id": 40525,
4742
+ "id": 40524,
4743
4743
  "name": "token",
4744
4744
  "nodeType": "Identifier",
4745
4745
  "overloadedDeclarations": [],
4746
- "referencedDeclaration": 40500,
4746
+ "referencedDeclaration": 40499,
4747
4747
  "src": "2251:5:105",
4748
4748
  "typeDescriptions": {
4749
4749
  "typeIdentifier": "t_contract$_IERC777_$2352",
@@ -4751,11 +4751,11 @@
4751
4751
  }
4752
4752
  },
4753
4753
  {
4754
- "id": 40526,
4754
+ "id": 40525,
4755
4755
  "name": "recipient",
4756
4756
  "nodeType": "Identifier",
4757
4757
  "overloadedDeclarations": [],
4758
- "referencedDeclaration": 40507,
4758
+ "referencedDeclaration": 40506,
4759
4759
  "src": "2258:9:105",
4760
4760
  "typeDescriptions": {
4761
4761
  "typeIdentifier": "t_address",
@@ -4763,11 +4763,11 @@
4763
4763
  }
4764
4764
  },
4765
4765
  {
4766
- "id": 40527,
4766
+ "id": 40526,
4767
4767
  "name": "amount",
4768
4768
  "nodeType": "Identifier",
4769
4769
  "overloadedDeclarations": [],
4770
- "referencedDeclaration": 40490,
4770
+ "referencedDeclaration": 40489,
4771
4771
  "src": "2269:6:105",
4772
4772
  "typeDescriptions": {
4773
4773
  "typeIdentifier": "t_uint256",
@@ -4790,18 +4790,18 @@
4790
4790
  "typeString": "uint256"
4791
4791
  }
4792
4792
  ],
4793
- "id": 40524,
4793
+ "id": 40523,
4794
4794
  "name": "CustodianDeposit",
4795
4795
  "nodeType": "Identifier",
4796
4796
  "overloadedDeclarations": [],
4797
- "referencedDeclaration": 40429,
4797
+ "referencedDeclaration": 40428,
4798
4798
  "src": "2234:16:105",
4799
4799
  "typeDescriptions": {
4800
4800
  "typeIdentifier": "t_function_event_nonpayable$_t_contract$_IERC777_$2352_$_t_address_$_t_uint256_$returns$__$",
4801
4801
  "typeString": "function (contract IERC777,address,uint256)"
4802
4802
  }
4803
4803
  },
4804
- "id": 40528,
4804
+ "id": 40527,
4805
4805
  "isConstant": false,
4806
4806
  "isLValue": false,
4807
4807
  "isPure": false,
@@ -4817,14 +4817,14 @@
4817
4817
  "typeString": "tuple()"
4818
4818
  }
4819
4819
  },
4820
- "id": 40529,
4820
+ "id": 40528,
4821
4821
  "nodeType": "EmitStatement",
4822
4822
  "src": "2229:47:105"
4823
4823
  }
4824
4824
  ]
4825
4825
  },
4826
4826
  "functionSelector": "0023de29",
4827
- "id": 40531,
4827
+ "id": 40530,
4828
4828
  "implemented": true,
4829
4829
  "kind": "function",
4830
4830
  "modifiers": [],
@@ -4832,23 +4832,23 @@
4832
4832
  "nameLocation": "1764:14:105",
4833
4833
  "nodeType": "FunctionDefinition",
4834
4834
  "overrides": {
4835
- "id": 40496,
4835
+ "id": 40495,
4836
4836
  "nodeType": "OverrideSpecifier",
4837
4837
  "overrides": [],
4838
4838
  "src": "1963:8:105"
4839
4839
  },
4840
4840
  "parameters": {
4841
- "id": 40495,
4841
+ "id": 40494,
4842
4842
  "nodeType": "ParameterList",
4843
4843
  "parameters": [
4844
4844
  {
4845
4845
  "constant": false,
4846
- "id": 40484,
4846
+ "id": 40483,
4847
4847
  "mutability": "mutable",
4848
4848
  "name": "",
4849
4849
  "nameLocation": "-1:-1:-1",
4850
4850
  "nodeType": "VariableDeclaration",
4851
- "scope": 40531,
4851
+ "scope": 40530,
4852
4852
  "src": "1788:7:105",
4853
4853
  "stateVariable": false,
4854
4854
  "storageLocation": "default",
@@ -4857,7 +4857,7 @@
4857
4857
  "typeString": "address"
4858
4858
  },
4859
4859
  "typeName": {
4860
- "id": 40483,
4860
+ "id": 40482,
4861
4861
  "name": "address",
4862
4862
  "nodeType": "ElementaryTypeName",
4863
4863
  "src": "1788:7:105",
@@ -4871,12 +4871,12 @@
4871
4871
  },
4872
4872
  {
4873
4873
  "constant": false,
4874
- "id": 40486,
4874
+ "id": 40485,
4875
4875
  "mutability": "mutable",
4876
4876
  "name": "",
4877
4877
  "nameLocation": "-1:-1:-1",
4878
4878
  "nodeType": "VariableDeclaration",
4879
- "scope": 40531,
4879
+ "scope": 40530,
4880
4880
  "src": "1818:7:105",
4881
4881
  "stateVariable": false,
4882
4882
  "storageLocation": "default",
@@ -4885,7 +4885,7 @@
4885
4885
  "typeString": "address"
4886
4886
  },
4887
4887
  "typeName": {
4888
- "id": 40485,
4888
+ "id": 40484,
4889
4889
  "name": "address",
4890
4890
  "nodeType": "ElementaryTypeName",
4891
4891
  "src": "1818:7:105",
@@ -4899,12 +4899,12 @@
4899
4899
  },
4900
4900
  {
4901
4901
  "constant": false,
4902
- "id": 40488,
4902
+ "id": 40487,
4903
4903
  "mutability": "mutable",
4904
4904
  "name": "",
4905
4905
  "nameLocation": "-1:-1:-1",
4906
4906
  "nodeType": "VariableDeclaration",
4907
- "scope": 40531,
4907
+ "scope": 40530,
4908
4908
  "src": "1844:7:105",
4909
4909
  "stateVariable": false,
4910
4910
  "storageLocation": "default",
@@ -4913,7 +4913,7 @@
4913
4913
  "typeString": "address"
4914
4914
  },
4915
4915
  "typeName": {
4916
- "id": 40487,
4916
+ "id": 40486,
4917
4917
  "name": "address",
4918
4918
  "nodeType": "ElementaryTypeName",
4919
4919
  "src": "1844:7:105",
@@ -4927,12 +4927,12 @@
4927
4927
  },
4928
4928
  {
4929
4929
  "constant": false,
4930
- "id": 40490,
4930
+ "id": 40489,
4931
4931
  "mutability": "mutable",
4932
4932
  "name": "amount",
4933
4933
  "nameLocation": "1876:6:105",
4934
4934
  "nodeType": "VariableDeclaration",
4935
- "scope": 40531,
4935
+ "scope": 40530,
4936
4936
  "src": "1868:14:105",
4937
4937
  "stateVariable": false,
4938
4938
  "storageLocation": "default",
@@ -4941,7 +4941,7 @@
4941
4941
  "typeString": "uint256"
4942
4942
  },
4943
4943
  "typeName": {
4944
- "id": 40489,
4944
+ "id": 40488,
4945
4945
  "name": "uint256",
4946
4946
  "nodeType": "ElementaryTypeName",
4947
4947
  "src": "1868:7:105",
@@ -4954,12 +4954,12 @@
4954
4954
  },
4955
4955
  {
4956
4956
  "constant": false,
4957
- "id": 40492,
4957
+ "id": 40491,
4958
4958
  "mutability": "mutable",
4959
4959
  "name": "userData",
4960
4960
  "nameLocation": "1907:8:105",
4961
4961
  "nodeType": "VariableDeclaration",
4962
- "scope": 40531,
4962
+ "scope": 40530,
4963
4963
  "src": "1892:23:105",
4964
4964
  "stateVariable": false,
4965
4965
  "storageLocation": "calldata",
@@ -4968,7 +4968,7 @@
4968
4968
  "typeString": "bytes"
4969
4969
  },
4970
4970
  "typeName": {
4971
- "id": 40491,
4971
+ "id": 40490,
4972
4972
  "name": "bytes",
4973
4973
  "nodeType": "ElementaryTypeName",
4974
4974
  "src": "1892:5:105",
@@ -4981,12 +4981,12 @@
4981
4981
  },
4982
4982
  {
4983
4983
  "constant": false,
4984
- "id": 40494,
4984
+ "id": 40493,
4985
4985
  "mutability": "mutable",
4986
4986
  "name": "",
4987
4987
  "nameLocation": "-1:-1:-1",
4988
4988
  "nodeType": "VariableDeclaration",
4989
- "scope": 40531,
4989
+ "scope": 40530,
4990
4990
  "src": "1925:14:105",
4991
4991
  "stateVariable": false,
4992
4992
  "storageLocation": "calldata",
@@ -4995,7 +4995,7 @@
4995
4995
  "typeString": "bytes"
4996
4996
  },
4997
4997
  "typeName": {
4998
- "id": 40493,
4998
+ "id": 40492,
4999
4999
  "name": "bytes",
5000
5000
  "nodeType": "ElementaryTypeName",
5001
5001
  "src": "1925:5:105",
@@ -5010,19 +5010,19 @@
5010
5010
  "src": "1778:184:105"
5011
5011
  },
5012
5012
  "returnParameters": {
5013
- "id": 40497,
5013
+ "id": 40496,
5014
5014
  "nodeType": "ParameterList",
5015
5015
  "parameters": [],
5016
5016
  "src": "1981:0:105"
5017
5017
  },
5018
- "scope": 40532,
5018
+ "scope": 40531,
5019
5019
  "src": "1755:644:105",
5020
5020
  "stateMutability": "nonpayable",
5021
5021
  "virtual": false,
5022
5022
  "visibility": "external"
5023
5023
  }
5024
5024
  ],
5025
- "scope": 40533,
5025
+ "scope": 40532,
5026
5026
  "src": "494:1907:105",
5027
5027
  "usedErrors": []
5028
5028
  }
@@ -5035,7 +5035,7 @@
5035
5035
  },
5036
5036
  "networks": {},
5037
5037
  "schemaVersion": "3.4.9",
5038
- "updatedAt": "2022-09-05T13:33:19.262Z",
5038
+ "updatedAt": "2022-09-21T11:06:18.653Z",
5039
5039
  "devdoc": {
5040
5040
  "author": "Superfluid",
5041
5041
  "details": "Contract which takes custody of funds which couldn't be sent to the designated recipient",