@superfluid-finance/ethereum-contracts 1.2.3-dev.f94fdbb.0 → 1.3.1-dev.70e7fff.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 (173) hide show
  1. package/build/contracts/AccessControl.json +3 -3
  2. package/build/contracts/AccessControlEnumerable.json +3 -3
  3. package/build/contracts/Address.json +5 -5
  4. package/build/contracts/AgreementBase.json +13 -13
  5. package/build/contracts/AgreementLibrary.json +7 -7
  6. package/build/contracts/BaseRelayRecipient.json +5 -5
  7. package/build/contracts/BatchLiquidator.json +179 -179
  8. package/build/contracts/BatchOperation.json +5 -5
  9. package/build/contracts/CFAv1Library.json +5 -5
  10. package/build/contracts/CallUtils.json +7 -7
  11. package/build/contracts/ClosingOnUpdateFlowTestApp.json +2107 -1917
  12. package/build/contracts/ConstantFlowAgreementV1.json +8 -8
  13. package/build/contracts/Context.json +3 -3
  14. package/build/contracts/ContextDefinitions.json +5 -5
  15. package/build/contracts/Create2.json +5 -5
  16. package/build/contracts/CustomSuperTokenBase.json +3 -3
  17. package/build/contracts/ERC165.json +3 -3
  18. package/build/contracts/ERC1820Implementer.json +5 -5
  19. package/build/contracts/ERC1820RegistryCompiled.json +7 -7
  20. package/build/contracts/ERC20.json +5 -5
  21. package/build/contracts/ERC20Burnable.json +3 -3
  22. package/build/contracts/ERC20Pausable.json +3 -3
  23. package/build/contracts/ERC20PresetMinterPauser.json +5 -5
  24. package/build/contracts/ERC20WithTokenInfo.json +3 -3
  25. package/build/contracts/ERC777Helper.json +7 -7
  26. package/build/contracts/ERC777RecipientDrainingGas.json +839 -839
  27. package/build/contracts/ERC777RecipientReverting.json +839 -839
  28. package/build/contracts/EnumerableSet.json +5 -5
  29. package/build/contracts/EventsEmitter.json +47 -47
  30. package/build/contracts/ExclusiveInflowTestApp.json +2107 -1917
  31. package/build/contracts/FixedSizeData.json +213 -213
  32. package/build/contracts/FlowExchangeTestApp.json +2107 -1917
  33. package/build/contracts/FlowOperatorDefinitions.json +5 -5
  34. package/build/contracts/FullUpgradableSuperTokenProxy.json +226 -312
  35. package/build/contracts/IAccessControl.json +3 -3
  36. package/build/contracts/IAccessControlEnumerable.json +3 -3
  37. package/build/contracts/IConstantFlowAgreementV1.json +451 -444
  38. package/build/contracts/IDAv1Library.json +5 -5
  39. package/build/contracts/IERC165.json +3 -3
  40. package/build/contracts/IERC1820Implementer.json +3 -3
  41. package/build/contracts/IERC1820Registry.json +3 -3
  42. package/build/contracts/IERC20.json +3 -3
  43. package/build/contracts/IERC20Metadata.json +3 -3
  44. package/build/contracts/IERC777.json +3 -3
  45. package/build/contracts/IERC777Recipient.json +3 -3
  46. package/build/contracts/IERC777Sender.json +3 -3
  47. package/build/contracts/IInstantDistributionAgreementV1.json +570 -559
  48. package/build/contracts/IMaticBridgedNativeSuperToken.json +71 -32
  49. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +3 -3
  50. package/build/contracts/IMultiSigWallet.json +3 -3
  51. package/build/contracts/IPureSuperToken.json +71 -32
  52. package/build/contracts/IPureSuperTokenCustom.json +3 -3
  53. package/build/contracts/IRelayRecipient.json +3 -3
  54. package/build/contracts/IResolver.json +3 -3
  55. package/build/contracts/ISETH.json +71 -32
  56. package/build/contracts/ISETHCustom.json +3 -3
  57. package/build/contracts/ISuperAgreement.json +3 -3
  58. package/build/contracts/ISuperApp.json +179 -173
  59. package/build/contracts/ISuperToken.json +522 -483
  60. package/build/contracts/ISuperTokenFactory.json +3 -3
  61. package/build/contracts/ISuperfluid.json +633 -628
  62. package/build/contracts/ISuperfluidGovernance.json +134 -133
  63. package/build/contracts/ISuperfluidToken.json +403 -394
  64. package/build/contracts/ITOGAv1.json +1211 -1211
  65. package/build/contracts/ITOGAv2.json +1211 -1211
  66. package/build/contracts/Initializable.json +3 -3
  67. package/build/contracts/InstantDistributionAgreementV1.json +10 -10
  68. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +194 -194
  69. package/build/contracts/NonClosableOutflowTestApp.json +2107 -1917
  70. package/build/contracts/Ownable.json +3 -3
  71. package/build/contracts/Pausable.json +3 -3
  72. package/build/contracts/Proxy.json +3 -3
  73. package/build/contracts/PureSuperToken.json +91 -91
  74. package/build/contracts/Resolver.json +96 -96
  75. package/build/contracts/SETHProxy.json +199 -199
  76. package/build/contracts/SafeCast.json +5 -5
  77. package/build/contracts/SafeERC20.json +5 -5
  78. package/build/contracts/SafeMath.json +5 -5
  79. package/build/contracts/SelfDeletingFlowTestApp.json +2107 -1917
  80. package/build/contracts/SlotsBitmapLibrary.json +7 -7
  81. package/build/contracts/Strings.json +5 -5
  82. package/build/contracts/SuperAppBase.json +3 -3
  83. package/build/contracts/SuperAppDefinitions.json +5 -5
  84. package/build/contracts/SuperToken.json +2262 -2262
  85. package/build/contracts/SuperTokenFactory.json +582 -582
  86. package/build/contracts/SuperTokenFactoryBase.json +576 -576
  87. package/build/contracts/SuperTokenFactoryHelper.json +578 -578
  88. package/build/contracts/SuperUpgrader.json +687 -687
  89. package/build/contracts/Superfluid.json +6648 -6678
  90. package/build/contracts/SuperfluidFrameworkDeployer.json +526 -526
  91. package/build/contracts/SuperfluidGovernanceBase.json +13 -13
  92. package/build/contracts/SuperfluidGovernanceConfigs.json +5 -5
  93. package/build/contracts/SuperfluidGovernanceII.json +21 -21
  94. package/build/contracts/SuperfluidGovernanceIIProxy.json +20 -20
  95. package/build/contracts/SuperfluidLoader.json +147 -147
  96. package/build/contracts/SuperfluidToken.json +1269 -1269
  97. package/build/contracts/TOGA.json +1221 -1221
  98. package/build/contracts/TestGovernance.json +315 -315
  99. package/build/contracts/TestToken.json +475 -561
  100. package/build/contracts/TokenCustodian.json +220 -220
  101. package/build/contracts/TokenInfo.json +3 -3
  102. package/build/contracts/UUPSProxiable.json +136 -136
  103. package/build/contracts/UUPSProxy.json +87 -87
  104. package/build/contracts/UUPSUtils.json +43 -43
  105. package/build/contracts-sizes.txt +6 -6
  106. package/contracts/agreements/AgreementBase.sol +1 -1
  107. package/contracts/agreements/AgreementLibrary.sol +1 -1
  108. package/contracts/agreements/ConstantFlowAgreementV1.sol +1 -1
  109. package/contracts/agreements/InstantDistributionAgreementV1.sol +1 -1
  110. package/contracts/gov/SuperfluidGovernanceBase.sol +1 -1
  111. package/contracts/gov/SuperfluidGovernanceII.sol +1 -1
  112. package/contracts/interfaces/agreements/IConstantFlowAgreementV1.sol +7 -10
  113. package/contracts/interfaces/agreements/IInstantDistributionAgreementV1.sol +11 -18
  114. package/contracts/interfaces/superfluid/ISuperApp.sol +7 -9
  115. package/contracts/interfaces/superfluid/ISuperToken.sol +36 -44
  116. package/contracts/interfaces/superfluid/ISuperfluid.sol +17 -21
  117. package/contracts/interfaces/superfluid/ISuperfluidGovernance.sol +1 -1
  118. package/contracts/interfaces/superfluid/ISuperfluidToken.sol +13 -14
  119. package/contracts/libs/BaseRelayRecipient.sol +1 -1
  120. package/contracts/libs/CallUtils.sol +1 -1
  121. package/contracts/libs/ERC1820RegistryCompiled.sol +1 -1
  122. package/contracts/libs/ERC777Helper.sol +1 -1
  123. package/contracts/libs/EventsEmitter.sol +2 -2
  124. package/contracts/libs/FixedSizeData.sol +2 -2
  125. package/contracts/libs/SlotsBitmapLibrary.sol +1 -1
  126. package/contracts/mocks/AgreementMock.sol +1 -1
  127. package/contracts/mocks/CFAAppMocks.sol +6 -6
  128. package/contracts/mocks/CFALibraryMock.sol +2 -2
  129. package/contracts/mocks/CallUtilsMock.sol +1 -1
  130. package/contracts/mocks/CallUtilsTester.sol +1 -1
  131. package/contracts/mocks/CustomSuperTokenMock.sol +1 -1
  132. package/contracts/mocks/ERC777SenderRecipientMock.sol +1 -1
  133. package/contracts/mocks/FakeSuperfluidMock.sol +1 -1
  134. package/contracts/mocks/ForwarderMock.sol +1 -1
  135. package/contracts/mocks/IDASuperAppTester.sol +2 -2
  136. package/contracts/mocks/IDAv1LibraryMock.sol +3 -3
  137. package/contracts/mocks/MockSmartWallet.sol +1 -1
  138. package/contracts/mocks/MultiFlowTesterApp.sol +2 -2
  139. package/contracts/mocks/SuperAppMocks.sol +15 -12
  140. package/contracts/mocks/SuperTokenFactoryMock.sol +1 -1
  141. package/contracts/mocks/SuperTokenMock.sol +1 -1
  142. package/contracts/mocks/SuperfluidDestructorMock.sol +1 -1
  143. package/contracts/mocks/SuperfluidGovernanceIIMock.sol +1 -1
  144. package/contracts/mocks/SuperfluidMock.sol +2 -2
  145. package/contracts/mocks/UUPSProxiableMock.sol +1 -1
  146. package/contracts/superfluid/FullUpgradableSuperTokenProxy.sol +2 -2
  147. package/contracts/superfluid/SuperToken.sol +1 -1
  148. package/contracts/superfluid/SuperTokenFactory.sol +1 -1
  149. package/contracts/superfluid/Superfluid.sol +4 -4
  150. package/contracts/superfluid/SuperfluidToken.sol +1 -1
  151. package/contracts/tokens/MaticBridgedNativeSuperToken.sol +1 -1
  152. package/contracts/tokens/PureSuperToken.sol +1 -1
  153. package/contracts/tokens/SETH.sol +1 -1
  154. package/contracts/upgradability/UUPSProxiable.sol +1 -1
  155. package/contracts/upgradability/UUPSProxy.sol +1 -1
  156. package/contracts/upgradability/UUPSUtils.sol +1 -1
  157. package/contracts/utils/BatchLiquidator.sol +1 -1
  158. package/contracts/utils/Resolver.sol +1 -1
  159. package/contracts/utils/SuperUpgrader.sol +6 -6
  160. package/contracts/utils/SuperfluidLoader.sol +1 -1
  161. package/contracts/utils/TOGA.sol +1 -1
  162. package/contracts/utils/TestGovernance.sol +2 -2
  163. package/contracts/utils/TestToken.sol +2 -2
  164. package/contracts/utils/TokenCustodian.sol +1 -1
  165. package/package.json +5 -3
  166. package/scripts/deploy-framework.js +5 -5
  167. package/scripts/deploy-super-token.js +13 -4
  168. package/scripts/gov-create-new-app-registration-key.js +2 -1
  169. package/scripts/gov-create-new-factory-registration.js +1 -1
  170. package/scripts/gov-set-trusted-forwarder.js +77 -0
  171. package/scripts/info-show-protocol.js +28 -12
  172. package/scripts/libs/getConfig.js +21 -3
  173. package/scripts/resolver-list-super-token.js +1 -0
@@ -35,9 +35,9 @@
35
35
  "type": "function"
36
36
  }
37
37
  ],
38
- "metadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"cfa\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"senders\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"receivers\",\"type\":\"address[]\"}],\"name\":\"deleteFlows\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Superfluid\",\"kind\":\"dev\",\"methods\":{\"deleteFlows(address,address,address,address[],address[])\":{\"details\":\"Delete flows in batch\",\"params\":{\"cfa\":\"- The cfa contract address.\",\"host\":\"- The host contract address.\",\"receivers\":\"- Corresponding list of receivers.\",\"senders\":\"- List of senders.\",\"superToken\":\"- The super token the flows belong to.\"}}},\"title\":\"Batch liquidator contract\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/utils/BatchLiquidator.sol\":\"BatchLiquidator\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xdadd41acb749920eccf40aeaa8d291adf9751399a7343561bad13e7a8d99be0b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12af4ac016f9fdf3be5d15824f4292272aa11f6b2e0192a0f7320f5ad49bbbf0\",\"dweb:/ipfs/QmRXMpdqCgA3TYuYxBodqs5p9jGbnMW6xa2gvjppvq4TWk\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xbbc8ac883ac3c0078ce5ad3e288fbb3ffcc8a30c3a98c0fda0114d64fc44fca2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87a7a5d2f6f63f84598af02b8c50ca2df2631cb8ba2453e8d95fcb17e4be9824\",\"dweb:/ipfs/QmR76hqtAcRqoFj33tmNjcWTLrgNsAaakYwnKZ8zoJtKei\"]},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd\",\"dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8\"]},\"@openzeppelin/contracts/token/ERC777/IERC777.sol\":{\"keccak256\":\"0xe4e0b7e3f0265ffaa565d26acd2d45f2633f19127ed625e5a05a9f201a87a667\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1762b5bc15a009b5f092ccf547b81e0827c8705884f18e0623e497658514a7ed\",\"dweb:/ipfs/QmTtmVQYuynan3j2uVjdjjRJS1mr7LPRgxSZNnfqC7oxkz\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"project:/contracts/interfaces/agreements/IConstantFlowAgreementV1.sol\":{\"keccak256\":\"0xb96bb6cb0fe88ddf5b890b6826f7f7585cf6e94223c76d8e2fb269779afe4445\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://b864597ae952222f0f43c66943492966013021c4171d5ef4f7357c047dfd737c\",\"dweb:/ipfs/Qmcr7xicfmPDD343B34ETP3XrdU9Vi1z3zxJSgqLipfQmY\"]},\"project:/contracts/interfaces/superfluid/Definitions.sol\":{\"keccak256\":\"0x199095781e4221b6015d859558da09977f79199f38d342ab4899c2cecdf8cec1\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://9fd3a5a8b16d8517e2af10e20390a9af5adbfa4e783e3a7dd89eb4588db98385\",\"dweb:/ipfs/QmPDtGR43DeMMVsHjUh7FYzMGsFKPpGriRkaahFpN5T5d3\"]},\"project:/contracts/interfaces/superfluid/ISuperAgreement.sol\":{\"keccak256\":\"0xc3a6a907245116bcecc70fe4b207454012e8ce4fa190228fb8bbe39e0b1bc5cf\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://83c116bdae48685d20e5a27c942111e685ec1ef6334e7ff6f6d9af66edbd8025\",\"dweb:/ipfs/QmTnVuNTaRFiDmkAmDk7NFYdfQTW1kqgBZiY2exC6k8jDx\"]},\"project:/contracts/interfaces/superfluid/ISuperApp.sol\":{\"keccak256\":\"0x57f4203168992c940eb6b8c7cc75f854cb36a1f9323b3f39ddc5e4fbe819c043\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://888941dfa3e5004f678f215b98a85d1bf54e412317928a78e0a1cff090773d4c\",\"dweb:/ipfs/QmVe838upcAyqpy1d3oQNHJrbRyWCKHL51zWrMKruvLxFG\"]},\"project:/contracts/interfaces/superfluid/ISuperToken.sol\":{\"keccak256\":\"0x3cb0b7216007b942f7611d7b3d983c0df9408fdd4fd6b799c33fc9033e0abf8b\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://17901a1fd3635f441671e14ece8ecc6806af20c5eb80cca3b7c6e53a51fef7b6\",\"dweb:/ipfs/QmUXXMfU6nmsyEnufyGEwyZ5M7pzpXNTr6vw32e3JjjoZp\"]},\"project:/contracts/interfaces/superfluid/ISuperTokenFactory.sol\":{\"keccak256\":\"0x68a466c978557e47bd7385b1d7d78f1c8fb07462a870efc5a791008e33a4f535\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://d109879bdb7f022560a792af2ff481df729bf1b4b8e1831b8022f4d12892d41d\",\"dweb:/ipfs/QmRSWqHq8CP5XWgyV4mJpPxMg33s312s2K5ndHRHVqqZ8n\"]},\"project:/contracts/interfaces/superfluid/ISuperfluid.sol\":{\"keccak256\":\"0x2d9b845469a35b66f1166406149ac85e933dbe9156f57e4a4078948e6a6e71a4\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://48e5cb11d4b90e42af521e23b33d57e12187c989d8d56be332b1649308168d45\",\"dweb:/ipfs/QmdaTW4HfpFfHjkHiJ3CmZUmCfLJyFCPTnCygwhiNhx3Tu\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidGovernance.sol\":{\"keccak256\":\"0x2166f766b7f61f9bb1376b0948efa0d0c0046b93dc301e51ce495203b145189b\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://929630e6a15f523b142b2897783b2f7a54532ac5ae578bd17a0b7f25a6ca2bd8\",\"dweb:/ipfs/QmTu9ffH9qbQncJGEc24bmnoCGjifQ7BG47AYR8AzMLfXR\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidToken.sol\":{\"keccak256\":\"0x518b869178aafffde40c654a1e24b3b1a2b5e42e5e8f17562556f404db8b9434\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://458ce84666b418fa3a7569c0e109db4d920fb6d1cb67ebc4c497c9c71107d93b\",\"dweb:/ipfs/QmV9nqhRF7MDGkV6UW3WWcqeXov2vmqHuRcvbqaaV8yP6u\"]},\"project:/contracts/interfaces/tokens/ERC20WithTokenInfo.sol\":{\"keccak256\":\"0x66708dae3fcd06e6fc0a46f2959fc2d1e6b9361f28598337339d26af8eb8c0f9\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://77b80718cec21b81ef190c19fb9fbe73913a95c71f7e6715f671bbe8a224dafc\",\"dweb:/ipfs/QmUdsc6DF2Bgih5VZm7sfaECjhGmwE7tAx8pMkzGQgVKQw\"]},\"project:/contracts/interfaces/tokens/TokenInfo.sol\":{\"keccak256\":\"0x70e573644a0ff271c0ccef526809e9d9ab4950ec58755ca84e833cde3b8f3df0\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://aea3709687cc37ba625f4cc882fbdb149a7bf5be5afe2b030203c8719641a77b\",\"dweb:/ipfs/QmVpvfR6ZheE5wNUK9CobaVBgVvEnEPkvjWF9cfwyZr7eQ\"]},\"project:/contracts/utils/BatchLiquidator.sol\":{\"keccak256\":\"0x1f4c5248186bdb8d6c918bbe1410b2592fefc0d944deb7fc3386e9dfb2a9adfb\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://b0bb1984fdbddd40738399c6c873a5bb65bdd21d696e1c66cea25e0b86378689\",\"dweb:/ipfs/Qmc4ro7THTiVxE2S1rBMxn4MHFgDo8XyYZQcAfeDh64jUv\"]}},\"version\":1}",
39
- "bytecode": "0x608060405234801561001057600080fd5b506105cb806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063feb6bb6914610030575b600080fd5b61004361003e36600461036d565b610045565b005b8281146100915760405162461bcd60e51b815260206004820152601660248201527561727261797320646966666572656e742073697a657360501b604482015260640160405180910390fd5b60005b8381101561020e576000886001600160a01b0316896001600160a01b03166339255d5b8a8b6001600160a01b031663b4b333c68c8c8c8a8181106100da576100da61040f565b90506020020160208101906100ef9190610425565b8b8b8b8181106101015761010161040f565b90506020020160208101906101169190610425565b60408051600081526020810190915261013593929190604481016104a3565b60408051601f19818403018152918152602080830180516001600160e01b031660e09590951b94909417909352805160008152928301905261017d93925090604481016104e1565b60408051601f198184030181529181526020820180516001600160e01b031660e09490941b9390931790925290516101b59250610517565b6000604051808303816000865af19150503d80600081146101f2576040519150601f19603f3d011682016040523d82523d6000602084013e6101f7565b606091505b5061020792508391506105339050565b9050610094565b506040516370a0823160e01b81523060048201526000906001600160a01b038716906370a0823190602401602060405180830381865afa158015610256573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027a919061055a565b905080156102fb576040516323b872dd60e01b8152306004820152336024820152604481018290526001600160a01b038716906323b872dd906064016020604051808303816000875af11580156102d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102f99190610573565b505b5050505050505050565b80356001600160a01b038116811461031c57600080fd5b919050565b60008083601f84011261033357600080fd5b50813567ffffffffffffffff81111561034b57600080fd5b6020830191508360208260051b850101111561036657600080fd5b9250929050565b600080600080600080600060a0888a03121561038857600080fd5b61039188610305565b965061039f60208901610305565b95506103ad60408901610305565b9450606088013567ffffffffffffffff808211156103ca57600080fd5b6103d68b838c01610321565b909650945060808a01359150808211156103ef57600080fd5b506103fc8a828b01610321565b989b979a50959850939692959293505050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561043757600080fd5b61044082610305565b9392505050565b60005b8381101561046257818101518382015260200161044a565b83811115610471576000848401525b50505050565b6000815180845261048f816020860160208601610447565b601f01601f19169290920160200192915050565b6001600160a01b0385811682528481166020830152831660408201526080606082018190526000906104d790830184610477565b9695505050505050565b6001600160a01b038416815260606020820181905260009061050590830185610477565b82810360408401526104d78185610477565b60008251610529818460208701610447565b9190910192915050565b60006001820161055357634e487b7160e01b600052601160045260246000fd5b5060010190565b60006020828403121561056c57600080fd5b5051919050565b60006020828403121561058557600080fd5b8151801515811461044057600080fdfea26469706673582212208f315b98c761a72a9965adba80b88a2c0dbfa0f0de5deefd40a4deee1a434e6864736f6c634300080d0033",
40
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063feb6bb6914610030575b600080fd5b61004361003e36600461036d565b610045565b005b8281146100915760405162461bcd60e51b815260206004820152601660248201527561727261797320646966666572656e742073697a657360501b604482015260640160405180910390fd5b60005b8381101561020e576000886001600160a01b0316896001600160a01b03166339255d5b8a8b6001600160a01b031663b4b333c68c8c8c8a8181106100da576100da61040f565b90506020020160208101906100ef9190610425565b8b8b8b8181106101015761010161040f565b90506020020160208101906101169190610425565b60408051600081526020810190915261013593929190604481016104a3565b60408051601f19818403018152918152602080830180516001600160e01b031660e09590951b94909417909352805160008152928301905261017d93925090604481016104e1565b60408051601f198184030181529181526020820180516001600160e01b031660e09490941b9390931790925290516101b59250610517565b6000604051808303816000865af19150503d80600081146101f2576040519150601f19603f3d011682016040523d82523d6000602084013e6101f7565b606091505b5061020792508391506105339050565b9050610094565b506040516370a0823160e01b81523060048201526000906001600160a01b038716906370a0823190602401602060405180830381865afa158015610256573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027a919061055a565b905080156102fb576040516323b872dd60e01b8152306004820152336024820152604481018290526001600160a01b038716906323b872dd906064016020604051808303816000875af11580156102d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102f99190610573565b505b5050505050505050565b80356001600160a01b038116811461031c57600080fd5b919050565b60008083601f84011261033357600080fd5b50813567ffffffffffffffff81111561034b57600080fd5b6020830191508360208260051b850101111561036657600080fd5b9250929050565b600080600080600080600060a0888a03121561038857600080fd5b61039188610305565b965061039f60208901610305565b95506103ad60408901610305565b9450606088013567ffffffffffffffff808211156103ca57600080fd5b6103d68b838c01610321565b909650945060808a01359150808211156103ef57600080fd5b506103fc8a828b01610321565b989b979a50959850939692959293505050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561043757600080fd5b61044082610305565b9392505050565b60005b8381101561046257818101518382015260200161044a565b83811115610471576000848401525b50505050565b6000815180845261048f816020860160208601610447565b601f01601f19169290920160200192915050565b6001600160a01b0385811682528481166020830152831660408201526080606082018190526000906104d790830184610477565b9695505050505050565b6001600160a01b038416815260606020820181905260009061050590830185610477565b82810360408401526104d78185610477565b60008251610529818460208701610447565b9190910192915050565b60006001820161055357634e487b7160e01b600052601160045260246000fd5b5060010190565b60006020828403121561056c57600080fd5b5051919050565b60006020828403121561058557600080fd5b8151801515811461044057600080fdfea26469706673582212208f315b98c761a72a9965adba80b88a2c0dbfa0f0de5deefd40a4deee1a434e6864736f6c634300080d0033",
38
+ "metadata": "{\"compiler\":{\"version\":\"0.8.14+commit.80d49f37\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"cfa\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"senders\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"receivers\",\"type\":\"address[]\"}],\"name\":\"deleteFlows\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Superfluid\",\"kind\":\"dev\",\"methods\":{\"deleteFlows(address,address,address,address[],address[])\":{\"details\":\"Delete flows in batch\",\"params\":{\"cfa\":\"- The cfa contract address.\",\"host\":\"- The host contract address.\",\"receivers\":\"- Corresponding list of receivers.\",\"senders\":\"- List of senders.\",\"superToken\":\"- The super token the flows belong to.\"}}},\"title\":\"Batch liquidator contract\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/utils/BatchLiquidator.sol\":\"BatchLiquidator\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xdadd41acb749920eccf40aeaa8d291adf9751399a7343561bad13e7a8d99be0b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12af4ac016f9fdf3be5d15824f4292272aa11f6b2e0192a0f7320f5ad49bbbf0\",\"dweb:/ipfs/QmRXMpdqCgA3TYuYxBodqs5p9jGbnMW6xa2gvjppvq4TWk\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xbbc8ac883ac3c0078ce5ad3e288fbb3ffcc8a30c3a98c0fda0114d64fc44fca2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87a7a5d2f6f63f84598af02b8c50ca2df2631cb8ba2453e8d95fcb17e4be9824\",\"dweb:/ipfs/QmR76hqtAcRqoFj33tmNjcWTLrgNsAaakYwnKZ8zoJtKei\"]},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd\",\"dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8\"]},\"@openzeppelin/contracts/token/ERC777/IERC777.sol\":{\"keccak256\":\"0xe4e0b7e3f0265ffaa565d26acd2d45f2633f19127ed625e5a05a9f201a87a667\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1762b5bc15a009b5f092ccf547b81e0827c8705884f18e0623e497658514a7ed\",\"dweb:/ipfs/QmTtmVQYuynan3j2uVjdjjRJS1mr7LPRgxSZNnfqC7oxkz\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"project:/contracts/interfaces/agreements/IConstantFlowAgreementV1.sol\":{\"keccak256\":\"0x5da735cab1cf7114564ec7d81ed35037a56b6f216a60569aef6e65f3aaca5dd8\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://27a2ad0243469f7364d5e5a483493b16e2b57b9b36c24c6de0ea0e2c13465c71\",\"dweb:/ipfs/QmSfHTC7ewk8LA27TrDqojqFjdkkafCoZmWE1V6HEuFqox\"]},\"project:/contracts/interfaces/superfluid/Definitions.sol\":{\"keccak256\":\"0x199095781e4221b6015d859558da09977f79199f38d342ab4899c2cecdf8cec1\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://9fd3a5a8b16d8517e2af10e20390a9af5adbfa4e783e3a7dd89eb4588db98385\",\"dweb:/ipfs/QmPDtGR43DeMMVsHjUh7FYzMGsFKPpGriRkaahFpN5T5d3\"]},\"project:/contracts/interfaces/superfluid/ISuperAgreement.sol\":{\"keccak256\":\"0xc3a6a907245116bcecc70fe4b207454012e8ce4fa190228fb8bbe39e0b1bc5cf\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://83c116bdae48685d20e5a27c942111e685ec1ef6334e7ff6f6d9af66edbd8025\",\"dweb:/ipfs/QmTnVuNTaRFiDmkAmDk7NFYdfQTW1kqgBZiY2exC6k8jDx\"]},\"project:/contracts/interfaces/superfluid/ISuperApp.sol\":{\"keccak256\":\"0x42b604992cf67321cc12e8bed16543df0db4eaf125b8c1c82c330ebbeb20c014\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://7c18b00caf7b8be7e11f75284fb96263ce48a3984d56f2a91ec44cae4413d2fc\",\"dweb:/ipfs/QmWVzdW9KnkwAVe9g5zRuMoqCf7N89AoBfzzRr8puw5d8a\"]},\"project:/contracts/interfaces/superfluid/ISuperToken.sol\":{\"keccak256\":\"0xcff22ed43df0f34a645e6cbe0d7c5fd08f204d769e9095bc59d7c2fe6d11b7d6\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://944b8c5a37839b40ec8ee1ccfecbaf007808a61ea16c7b1351a7184606772032\",\"dweb:/ipfs/QmbUKZqZtVfqZMKYnQUygE4svatKuN9kT2ibrnxMuWXR7n\"]},\"project:/contracts/interfaces/superfluid/ISuperTokenFactory.sol\":{\"keccak256\":\"0x68a466c978557e47bd7385b1d7d78f1c8fb07462a870efc5a791008e33a4f535\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://d109879bdb7f022560a792af2ff481df729bf1b4b8e1831b8022f4d12892d41d\",\"dweb:/ipfs/QmRSWqHq8CP5XWgyV4mJpPxMg33s312s2K5ndHRHVqqZ8n\"]},\"project:/contracts/interfaces/superfluid/ISuperfluid.sol\":{\"keccak256\":\"0xf16efd1ba72322e77e0d936b723c0e71eb14c23e11cf69efae8c7caa407012cf\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://ff4bb321b72dc3332984346e5b66ad131c6132101658fe6707d7a9d043f981ab\",\"dweb:/ipfs/QmXmVD2mZ3LRb7wQZ2VcrpYhtjm21zUe5hPDDDJA1WXbFz\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidGovernance.sol\":{\"keccak256\":\"0xea33d20751ffea4f4446bc04f6c10194fb4da0803a988586d41d49cf4859731c\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://7716b1f5eec0a7ac8780d82de4f0274ecd7059be4eec46c82b0b7adce110f10b\",\"dweb:/ipfs/QmWRQafvdCBsyfDYnevXSav1AAz8uZRRBwh2be5Z3vSfVN\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidToken.sol\":{\"keccak256\":\"0x3eec5a3bf337cd319c1918fd1b16f350cf5f6850ac71f6859066fbf86e734ff4\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://cda19a2f5ca18e79c1e2300c8efac84c718df76c4fb313f59f84264a4c6b398a\",\"dweb:/ipfs/QmfQiwgDH5Q64w5ufBnDzVaeWv6WCZ6fLTrYu1FSYfBGhq\"]},\"project:/contracts/interfaces/tokens/ERC20WithTokenInfo.sol\":{\"keccak256\":\"0x66708dae3fcd06e6fc0a46f2959fc2d1e6b9361f28598337339d26af8eb8c0f9\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://77b80718cec21b81ef190c19fb9fbe73913a95c71f7e6715f671bbe8a224dafc\",\"dweb:/ipfs/QmUdsc6DF2Bgih5VZm7sfaECjhGmwE7tAx8pMkzGQgVKQw\"]},\"project:/contracts/interfaces/tokens/TokenInfo.sol\":{\"keccak256\":\"0x70e573644a0ff271c0ccef526809e9d9ab4950ec58755ca84e833cde3b8f3df0\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://aea3709687cc37ba625f4cc882fbdb149a7bf5be5afe2b030203c8719641a77b\",\"dweb:/ipfs/QmVpvfR6ZheE5wNUK9CobaVBgVvEnEPkvjWF9cfwyZr7eQ\"]},\"project:/contracts/utils/BatchLiquidator.sol\":{\"keccak256\":\"0x6755092c956c145f778a8faf672a10706d9de8a9bf2fb7f3e9d8b09373989af6\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://0d03897dcb11659ebea04526e38af047c5ef5ac72babfa3c339f1de06b4b2cca\",\"dweb:/ipfs/QmdfLLQAidfK4RXtbqkuQy72NdAJe3wM47y42kdS8VtRBh\"]}},\"version\":1}",
39
+ "bytecode": "0x608060405234801561001057600080fd5b506105cb806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063feb6bb6914610030575b600080fd5b61004361003e36600461036d565b610045565b005b8281146100915760405162461bcd60e51b815260206004820152601660248201527561727261797320646966666572656e742073697a657360501b604482015260640160405180910390fd5b60005b8381101561020e576000886001600160a01b0316896001600160a01b03166339255d5b8a8b6001600160a01b031663b4b333c68c8c8c8a8181106100da576100da61040f565b90506020020160208101906100ef9190610425565b8b8b8b8181106101015761010161040f565b90506020020160208101906101169190610425565b60408051600081526020810190915261013593929190604481016104a3565b60408051601f19818403018152918152602080830180516001600160e01b031660e09590951b94909417909352805160008152928301905261017d93925090604481016104e1565b60408051601f198184030181529181526020820180516001600160e01b031660e09490941b9390931790925290516101b59250610517565b6000604051808303816000865af19150503d80600081146101f2576040519150601f19603f3d011682016040523d82523d6000602084013e6101f7565b606091505b5061020792508391506105339050565b9050610094565b506040516370a0823160e01b81523060048201526000906001600160a01b038716906370a0823190602401602060405180830381865afa158015610256573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027a919061055a565b905080156102fb576040516323b872dd60e01b8152306004820152336024820152604481018290526001600160a01b038716906323b872dd906064016020604051808303816000875af11580156102d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102f99190610573565b505b5050505050505050565b80356001600160a01b038116811461031c57600080fd5b919050565b60008083601f84011261033357600080fd5b50813567ffffffffffffffff81111561034b57600080fd5b6020830191508360208260051b850101111561036657600080fd5b9250929050565b600080600080600080600060a0888a03121561038857600080fd5b61039188610305565b965061039f60208901610305565b95506103ad60408901610305565b9450606088013567ffffffffffffffff808211156103ca57600080fd5b6103d68b838c01610321565b909650945060808a01359150808211156103ef57600080fd5b506103fc8a828b01610321565b989b979a50959850939692959293505050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561043757600080fd5b61044082610305565b9392505050565b60005b8381101561046257818101518382015260200161044a565b83811115610471576000848401525b50505050565b6000815180845261048f816020860160208601610447565b601f01601f19169290920160200192915050565b6001600160a01b0385811682528481166020830152831660408201526080606082018190526000906104d790830184610477565b9695505050505050565b6001600160a01b038416815260606020820181905260009061050590830185610477565b82810360408401526104d78185610477565b60008251610529818460208701610447565b9190910192915050565b60006001820161055357634e487b7160e01b600052601160045260246000fd5b5060010190565b60006020828403121561056c57600080fd5b5051919050565b60006020828403121561058557600080fd5b8151801515811461044057600080fdfea2646970667358221220dc4016f8fca58a58270bc5e06f86a2d86ccee91306b5cb1cb57abaf9ef32ad4264736f6c634300080e0033",
40
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063feb6bb6914610030575b600080fd5b61004361003e36600461036d565b610045565b005b8281146100915760405162461bcd60e51b815260206004820152601660248201527561727261797320646966666572656e742073697a657360501b604482015260640160405180910390fd5b60005b8381101561020e576000886001600160a01b0316896001600160a01b03166339255d5b8a8b6001600160a01b031663b4b333c68c8c8c8a8181106100da576100da61040f565b90506020020160208101906100ef9190610425565b8b8b8b8181106101015761010161040f565b90506020020160208101906101169190610425565b60408051600081526020810190915261013593929190604481016104a3565b60408051601f19818403018152918152602080830180516001600160e01b031660e09590951b94909417909352805160008152928301905261017d93925090604481016104e1565b60408051601f198184030181529181526020820180516001600160e01b031660e09490941b9390931790925290516101b59250610517565b6000604051808303816000865af19150503d80600081146101f2576040519150601f19603f3d011682016040523d82523d6000602084013e6101f7565b606091505b5061020792508391506105339050565b9050610094565b506040516370a0823160e01b81523060048201526000906001600160a01b038716906370a0823190602401602060405180830381865afa158015610256573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027a919061055a565b905080156102fb576040516323b872dd60e01b8152306004820152336024820152604481018290526001600160a01b038716906323b872dd906064016020604051808303816000875af11580156102d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102f99190610573565b505b5050505050505050565b80356001600160a01b038116811461031c57600080fd5b919050565b60008083601f84011261033357600080fd5b50813567ffffffffffffffff81111561034b57600080fd5b6020830191508360208260051b850101111561036657600080fd5b9250929050565b600080600080600080600060a0888a03121561038857600080fd5b61039188610305565b965061039f60208901610305565b95506103ad60408901610305565b9450606088013567ffffffffffffffff808211156103ca57600080fd5b6103d68b838c01610321565b909650945060808a01359150808211156103ef57600080fd5b506103fc8a828b01610321565b989b979a50959850939692959293505050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561043757600080fd5b61044082610305565b9392505050565b60005b8381101561046257818101518382015260200161044a565b83811115610471576000848401525b50505050565b6000815180845261048f816020860160208601610447565b601f01601f19169290920160200192915050565b6001600160a01b0385811682528481166020830152831660408201526080606082018190526000906104d790830184610477565b9695505050505050565b6001600160a01b038416815260606020820181905260009061050590830185610477565b82810360408401526104d78185610477565b60008251610529818460208701610447565b9190910192915050565b60006001820161055357634e487b7160e01b600052601160045260246000fd5b5060010190565b60006020828403121561056c57600080fd5b5051919050565b60006020828403121561058557600080fd5b8151801515811461044057600080fdfea2646970667358221220dc4016f8fca58a58270bc5e06f86a2d86ccee91306b5cb1cb57abaf9ef32ad4264736f6c634300080e0033",
41
41
  "immutableReferences": {},
42
42
  "generatedSources": [],
43
43
  "deployedGeneratedSources": [
@@ -4169,13 +4169,13 @@
4169
4169
  ],
4170
4170
  "sourceMap": "398:1960:96:-:0;;;;;;;;;;;;;;;;;;;",
4171
4171
  "deployedSourceMap": "398:1960:96:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;739:1617;;;;;;:::i;:::-;;:::i;:::-;;;930:34;;;922:69;;;;-1:-1:-1;;;922:69:96;;1768:2:105;922:69:96;;;1750:21:105;1807:2;1787:18;;;1780:30;-1:-1:-1;;;1826:18:105;;;1819:52;1888:18;;922:69:96;;;;;;;;1007:6;1002:959;1019:18;;;1002:959;;;1058:12;1306:4;-1:-1:-1;;;;;1298:18:96;1382:4;-1:-1:-1;;;;;1370:31:96;;1465:3;1564;-1:-1:-1;;;;;1539:40:96;;1655:10;1700:7;;1708:1;1700:10;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;1744:9;;1754:1;1744:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;1790;;;1800:1;1790:12;;;;;;;;1495:363;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1495:363:96;;;;;;;;;;;;;;;-1:-1:-1;;;;;1495:363:96;;;;;;;;;;;;;1884:12;;-1:-1:-1;1884:12:96;;;;;;;1334:602;;;-1:-1:-1;1495:363:96;1334:602;;;;:::i;:::-;;;;-1:-1:-1;;1334:602:96;;;;;;;;;;;;;;-1:-1:-1;;;;;1334:602:96;;;;;;;;;;;;;1298:652;;;;-1:-1:-1;1298:652:96;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1039:3:96;;-1:-1:-1;1039:3:96;;-1:-1:-1;1039:3:96;;-1:-1:-1;1039:3:96:i;:::-;;;1002:959;;;-1:-1:-1;2169:42:96;;-1:-1:-1;;;2169:42:96;;2205:4;2169:42;;;4586:51:105;2151:15:96;;-1:-1:-1;;;;;2169:27:96;;;;;4559:18:105;;2169:42:96;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2151:60;-1:-1:-1;2228:11:96;;2225:115;;2259:66;;-1:-1:-1;;;2259:66:96;;2298:4;2259:66;;;5077:34:105;2305:10:96;5127:18:105;;;5120:43;5179:18;;;5172:34;;;-1:-1:-1;;;;;2259:30:96;;;;;5012:18:105;;2259:66:96;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2225:115;2137:213;739:1617;;;;;;;:::o;14:173:105:-;82:20;;-1:-1:-1;;;;;131:31:105;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:367::-;255:8;265:6;319:3;312:4;304:6;300:17;296:27;286:55;;337:1;334;327:12;286:55;-1:-1:-1;360:20:105;;403:18;392:30;;389:50;;;435:1;432;425:12;389:50;472:4;464:6;460:17;448:29;;532:3;525:4;515:6;512:1;508:14;500:6;496:27;492:38;489:47;486:67;;;549:1;546;539:12;486:67;192:367;;;;;:::o;564:997::-;713:6;721;729;737;745;753;761;814:3;802:9;793:7;789:23;785:33;782:53;;;831:1;828;821:12;782:53;854:29;873:9;854:29;:::i;:::-;844:39;;902:38;936:2;925:9;921:18;902:38;:::i;:::-;892:48;;959:38;993:2;982:9;978:18;959:38;:::i;:::-;949:48;;1048:2;1037:9;1033:18;1020:32;1071:18;1112:2;1104:6;1101:14;1098:34;;;1128:1;1125;1118:12;1098:34;1167:70;1229:7;1220:6;1209:9;1205:22;1167:70;:::i;:::-;1256:8;;-1:-1:-1;1141:96:105;-1:-1:-1;1344:3:105;1329:19;;1316:33;;-1:-1:-1;1361:16:105;;;1358:36;;;1390:1;1387;1380:12;1358:36;;1429:72;1493:7;1482:8;1471:9;1467:24;1429:72;:::i;:::-;564:997;;;;-1:-1:-1;564:997:105;;-1:-1:-1;564:997:105;;;;1403:98;;-1:-1:-1;;;564:997:105:o;1917:127::-;1978:10;1973:3;1969:20;1966:1;1959:31;2009:4;2006:1;1999:15;2033:4;2030:1;2023:15;2049:186;2108:6;2161:2;2149:9;2140:7;2136:23;2132:32;2129:52;;;2177:1;2174;2167:12;2129:52;2200:29;2219:9;2200:29;:::i;:::-;2190:39;2049:186;-1:-1:-1;;;2049:186:105:o;2372:258::-;2444:1;2454:113;2468:6;2465:1;2462:13;2454:113;;;2544:11;;;2538:18;2525:11;;;2518:39;2490:2;2483:10;2454:113;;;2585:6;2582:1;2579:13;2576:48;;;2620:1;2611:6;2606:3;2602:16;2595:27;2576:48;;2372:258;;;:::o;2635:257::-;2676:3;2714:5;2708:12;2741:6;2736:3;2729:19;2757:63;2813:6;2806:4;2801:3;2797:14;2790:4;2783:5;2779:16;2757:63;:::i;:::-;2874:2;2853:15;-1:-1:-1;;2849:29:105;2840:39;;;;2881:4;2836:50;;2635:257;-1:-1:-1;;2635:257:105:o;2897:518::-;-1:-1:-1;;;;;3187:15:105;;;3169:34;;3239:15;;;3234:2;3219:18;;3212:43;3291:15;;3286:2;3271:18;;3264:43;3343:3;3338:2;3323:18;;3316:31;;;3112:4;;3364:45;;3389:19;;3381:6;3364:45;:::i;:::-;3356:53;2897:518;-1:-1:-1;;;;;;2897:518:105:o;3420:499::-;-1:-1:-1;;;;;3666:32:105;;3648:51;;3735:2;3730;3715:18;;3708:30;;;-1:-1:-1;;3761:44:105;;3786:18;;3778:6;3761:44;:::i;:::-;3853:9;3845:6;3841:22;3836:2;3825:9;3821:18;3814:50;3881:32;3906:6;3898;3881:32;:::i;3924:274::-;4053:3;4091:6;4085:13;4107:53;4153:6;4148:3;4141:4;4133:6;4129:17;4107:53;:::i;:::-;4176:16;;;;;3924:274;-1:-1:-1;;3924:274:105:o;4203:232::-;4242:3;4263:17;;;4260:140;;4322:10;4317:3;4313:20;4310:1;4303:31;4357:4;4354:1;4347:15;4385:4;4382:1;4375:15;4260:140;-1:-1:-1;4427:1:105;4416:13;;4203:232::o;4648:184::-;4718:6;4771:2;4759:9;4750:7;4746:23;4742:32;4739:52;;;4787:1;4784;4777:12;4739:52;-1:-1:-1;4810:16:105;;4648:184;-1:-1:-1;4648:184:105:o;5217:277::-;5284:6;5337:2;5325:9;5316:7;5312:23;5308:32;5305:52;;;5353:1;5350;5343:12;5305:52;5385:9;5379:16;5438:5;5431:13;5424:21;5417:5;5414:32;5404:60;;5460:1;5457;5450:12",
4172
- "source": "// SPDX-License-Identifier: AGPLv3\npragma solidity 0.8.13;\n\nimport { ISuperfluid, ISuperAgreement, ISuperToken } from \"../interfaces/superfluid/ISuperfluid.sol\";\nimport { IConstantFlowAgreementV1 } from \"../interfaces/agreements/IConstantFlowAgreementV1.sol\";\nimport { ERC20 } from \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\n\n/**\n * @title Batch liquidator contract\n * @author Superfluid\n */\ncontract BatchLiquidator {\n\n /**\n * @dev Delete flows in batch\n * @param host - The host contract address.\n * @param cfa - The cfa contract address.\n * @param superToken - The super token the flows belong to.\n * @param senders - List of senders.\n * @param receivers - Corresponding list of receivers.\n */\n function deleteFlows(\n address host,\n address cfa,\n address superToken,\n address[] calldata senders, address[] calldata receivers\n ) external {\n require(senders.length == receivers.length, \"arrays different sizes\");\n\n for (uint i = 0; i < senders.length; ++i) {\n bool success;\n // We tolerate any errors occured during liquidations.\n // It could be due to flow had been liquidated by others.\n // solhint-disable-next-line avoid-low-level-calls\n (success, ) = address(host).call(\n abi.encodeCall(\n ISuperfluid(host).callAgreement,\n (\n ISuperAgreement(cfa),\n abi.encodeCall(\n IConstantFlowAgreementV1(cfa).deleteFlow,\n (\n ISuperToken(superToken),\n senders[i],\n receivers[i],\n new bytes(0)\n )\n ),\n new bytes(0)\n )\n )\n );\n }\n\n // If the liquidation(s) resulted in any super token\n // rewards, send them all to the sender instead of having them\n // locked in the contract\n {\n uint256 balance = ERC20(superToken).balanceOf(address(this));\n if(balance > 0) {\n ERC20(superToken).transferFrom(address(this), msg.sender, balance);\n }\n }\n }\n}\n\n",
4172
+ "source": "// SPDX-License-Identifier: AGPLv3\npragma solidity 0.8.14;\n\nimport { ISuperfluid, ISuperAgreement, ISuperToken } from \"../interfaces/superfluid/ISuperfluid.sol\";\nimport { IConstantFlowAgreementV1 } from \"../interfaces/agreements/IConstantFlowAgreementV1.sol\";\nimport { ERC20 } from \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\n\n/**\n * @title Batch liquidator contract\n * @author Superfluid\n */\ncontract BatchLiquidator {\n\n /**\n * @dev Delete flows in batch\n * @param host - The host contract address.\n * @param cfa - The cfa contract address.\n * @param superToken - The super token the flows belong to.\n * @param senders - List of senders.\n * @param receivers - Corresponding list of receivers.\n */\n function deleteFlows(\n address host,\n address cfa,\n address superToken,\n address[] calldata senders, address[] calldata receivers\n ) external {\n require(senders.length == receivers.length, \"arrays different sizes\");\n\n for (uint i = 0; i < senders.length; ++i) {\n bool success;\n // We tolerate any errors occured during liquidations.\n // It could be due to flow had been liquidated by others.\n // solhint-disable-next-line avoid-low-level-calls\n (success, ) = address(host).call(\n abi.encodeCall(\n ISuperfluid(host).callAgreement,\n (\n ISuperAgreement(cfa),\n abi.encodeCall(\n IConstantFlowAgreementV1(cfa).deleteFlow,\n (\n ISuperToken(superToken),\n senders[i],\n receivers[i],\n new bytes(0)\n )\n ),\n new bytes(0)\n )\n )\n );\n }\n\n // If the liquidation(s) resulted in any super token\n // rewards, send them all to the sender instead of having them\n // locked in the contract\n {\n uint256 balance = ERC20(superToken).balanceOf(address(this));\n if(balance > 0) {\n ERC20(superToken).transferFrom(address(this), msg.sender, balance);\n }\n }\n }\n}\n\n",
4173
4173
  "sourcePath": "/home/runner/work/protocol-monorepo/protocol-monorepo/packages/ethereum-contracts/contracts/utils/BatchLiquidator.sol",
4174
4174
  "ast": {
4175
4175
  "absolutePath": "project:/contracts/utils/BatchLiquidator.sol",
4176
4176
  "exportedSymbols": {
4177
4177
  "BatchLiquidator": [
4178
- 35050
4178
+ 35069
4179
4179
  ],
4180
4180
  "ERC20": [
4181
4181
  1442
@@ -4193,16 +4193,16 @@
4193
4193
  18324
4194
4194
  ]
4195
4195
  },
4196
- "id": 35051,
4196
+ "id": 35070,
4197
4197
  "license": "AGPLv3",
4198
4198
  "nodeType": "SourceUnit",
4199
4199
  "nodes": [
4200
4200
  {
4201
- "id": 34921,
4201
+ "id": 34940,
4202
4202
  "literals": [
4203
4203
  "solidity",
4204
4204
  "0.8",
4205
- ".13"
4205
+ ".14"
4206
4206
  ],
4207
4207
  "nodeType": "PragmaDirective",
4208
4208
  "src": "35:23:96"
@@ -4210,16 +4210,16 @@
4210
4210
  {
4211
4211
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperfluid.sol",
4212
4212
  "file": "../interfaces/superfluid/ISuperfluid.sol",
4213
- "id": 34925,
4213
+ "id": 34944,
4214
4214
  "nameLocation": "-1:-1:-1",
4215
4215
  "nodeType": "ImportDirective",
4216
- "scope": 35051,
4216
+ "scope": 35070,
4217
4217
  "sourceUnit": 18325,
4218
4218
  "src": "60:101:96",
4219
4219
  "symbolAliases": [
4220
4220
  {
4221
4221
  "foreign": {
4222
- "id": 34922,
4222
+ "id": 34941,
4223
4223
  "name": "ISuperfluid",
4224
4224
  "nodeType": "Identifier",
4225
4225
  "overloadedDeclarations": [],
@@ -4231,7 +4231,7 @@
4231
4231
  },
4232
4232
  {
4233
4233
  "foreign": {
4234
- "id": 34923,
4234
+ "id": 34942,
4235
4235
  "name": "ISuperAgreement",
4236
4236
  "nodeType": "Identifier",
4237
4237
  "overloadedDeclarations": [],
@@ -4243,7 +4243,7 @@
4243
4243
  },
4244
4244
  {
4245
4245
  "foreign": {
4246
- "id": 34924,
4246
+ "id": 34943,
4247
4247
  "name": "ISuperToken",
4248
4248
  "nodeType": "Identifier",
4249
4249
  "overloadedDeclarations": [],
@@ -4259,16 +4259,16 @@
4259
4259
  {
4260
4260
  "absolutePath": "project:/contracts/interfaces/agreements/IConstantFlowAgreementV1.sol",
4261
4261
  "file": "../interfaces/agreements/IConstantFlowAgreementV1.sol",
4262
- "id": 34927,
4262
+ "id": 34946,
4263
4263
  "nameLocation": "-1:-1:-1",
4264
4264
  "nodeType": "ImportDirective",
4265
- "scope": 35051,
4265
+ "scope": 35070,
4266
4266
  "sourceUnit": 16384,
4267
4267
  "src": "162:97:96",
4268
4268
  "symbolAliases": [
4269
4269
  {
4270
4270
  "foreign": {
4271
- "id": 34926,
4271
+ "id": 34945,
4272
4272
  "name": "IConstantFlowAgreementV1",
4273
4273
  "nodeType": "Identifier",
4274
4274
  "overloadedDeclarations": [],
@@ -4284,16 +4284,16 @@
4284
4284
  {
4285
4285
  "absolutePath": "@openzeppelin/contracts/token/ERC20/ERC20.sol",
4286
4286
  "file": "@openzeppelin/contracts/token/ERC20/ERC20.sol",
4287
- "id": 34929,
4287
+ "id": 34948,
4288
4288
  "nameLocation": "-1:-1:-1",
4289
4289
  "nodeType": "ImportDirective",
4290
- "scope": 35051,
4290
+ "scope": 35070,
4291
4291
  "sourceUnit": 1443,
4292
4292
  "src": "260:70:96",
4293
4293
  "symbolAliases": [
4294
4294
  {
4295
4295
  "foreign": {
4296
- "id": 34928,
4296
+ "id": 34947,
4297
4297
  "name": "ERC20",
4298
4298
  "nodeType": "Identifier",
4299
4299
  "overloadedDeclarations": [],
@@ -4313,15 +4313,15 @@
4313
4313
  "contractDependencies": [],
4314
4314
  "contractKind": "contract",
4315
4315
  "documentation": {
4316
- "id": 34930,
4316
+ "id": 34949,
4317
4317
  "nodeType": "StructuredDocumentation",
4318
4318
  "src": "332:65:96",
4319
4319
  "text": " @title Batch liquidator contract\n @author Superfluid"
4320
4320
  },
4321
4321
  "fullyImplemented": true,
4322
- "id": 35050,
4322
+ "id": 35069,
4323
4323
  "linearizedBaseContracts": [
4324
- 35050
4324
+ 35069
4325
4325
  ],
4326
4326
  "name": "BatchLiquidator",
4327
4327
  "nameLocation": "407:15:96",
@@ -4329,7 +4329,7 @@
4329
4329
  "nodes": [
4330
4330
  {
4331
4331
  "body": {
4332
- "id": 35048,
4332
+ "id": 35067,
4333
4333
  "nodeType": "Block",
4334
4334
  "src": "912:1444:96",
4335
4335
  "statements": [
@@ -4341,25 +4341,25 @@
4341
4341
  "typeIdentifier": "t_uint256",
4342
4342
  "typeString": "uint256"
4343
4343
  },
4344
- "id": 34951,
4344
+ "id": 34970,
4345
4345
  "isConstant": false,
4346
4346
  "isLValue": false,
4347
4347
  "isPure": false,
4348
4348
  "lValueRequested": false,
4349
4349
  "leftExpression": {
4350
4350
  "expression": {
4351
- "id": 34947,
4351
+ "id": 34966,
4352
4352
  "name": "senders",
4353
4353
  "nodeType": "Identifier",
4354
4354
  "overloadedDeclarations": [],
4355
- "referencedDeclaration": 34940,
4355
+ "referencedDeclaration": 34959,
4356
4356
  "src": "930:7:96",
4357
4357
  "typeDescriptions": {
4358
4358
  "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr",
4359
4359
  "typeString": "address[] calldata"
4360
4360
  }
4361
4361
  },
4362
- "id": 34948,
4362
+ "id": 34967,
4363
4363
  "isConstant": false,
4364
4364
  "isLValue": false,
4365
4365
  "isPure": false,
@@ -4376,18 +4376,18 @@
4376
4376
  "operator": "==",
4377
4377
  "rightExpression": {
4378
4378
  "expression": {
4379
- "id": 34949,
4379
+ "id": 34968,
4380
4380
  "name": "receivers",
4381
4381
  "nodeType": "Identifier",
4382
4382
  "overloadedDeclarations": [],
4383
- "referencedDeclaration": 34943,
4383
+ "referencedDeclaration": 34962,
4384
4384
  "src": "948:9:96",
4385
4385
  "typeDescriptions": {
4386
4386
  "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr",
4387
4387
  "typeString": "address[] calldata"
4388
4388
  }
4389
4389
  },
4390
- "id": 34950,
4390
+ "id": 34969,
4391
4391
  "isConstant": false,
4392
4392
  "isLValue": false,
4393
4393
  "isPure": false,
@@ -4408,7 +4408,7 @@
4408
4408
  },
4409
4409
  {
4410
4410
  "hexValue": "61727261797320646966666572656e742073697a6573",
4411
- "id": 34952,
4411
+ "id": 34971,
4412
4412
  "isConstant": false,
4413
4413
  "isLValue": false,
4414
4414
  "isPure": true,
@@ -4434,7 +4434,7 @@
4434
4434
  "typeString": "literal_string \"arrays different sizes\""
4435
4435
  }
4436
4436
  ],
4437
- "id": 34946,
4437
+ "id": 34965,
4438
4438
  "name": "require",
4439
4439
  "nodeType": "Identifier",
4440
4440
  "overloadedDeclarations": [
@@ -4448,7 +4448,7 @@
4448
4448
  "typeString": "function (bool,string memory) pure"
4449
4449
  }
4450
4450
  },
4451
- "id": 34953,
4451
+ "id": 34972,
4452
4452
  "isConstant": false,
4453
4453
  "isLValue": false,
4454
4454
  "isPure": false,
@@ -4463,29 +4463,29 @@
4463
4463
  "typeString": "tuple()"
4464
4464
  }
4465
4465
  },
4466
- "id": 34954,
4466
+ "id": 34973,
4467
4467
  "nodeType": "ExpressionStatement",
4468
4468
  "src": "922:69:96"
4469
4469
  },
4470
4470
  {
4471
4471
  "body": {
4472
- "id": 35015,
4472
+ "id": 35034,
4473
4473
  "nodeType": "Block",
4474
4474
  "src": "1044:917:96",
4475
4475
  "statements": [
4476
4476
  {
4477
4477
  "assignments": [
4478
- 34967
4478
+ 34986
4479
4479
  ],
4480
4480
  "declarations": [
4481
4481
  {
4482
4482
  "constant": false,
4483
- "id": 34967,
4483
+ "id": 34986,
4484
4484
  "mutability": "mutable",
4485
4485
  "name": "success",
4486
4486
  "nameLocation": "1063:7:96",
4487
4487
  "nodeType": "VariableDeclaration",
4488
- "scope": 35015,
4488
+ "scope": 35034,
4489
4489
  "src": "1058:12:96",
4490
4490
  "stateVariable": false,
4491
4491
  "storageLocation": "default",
@@ -4494,7 +4494,7 @@
4494
4494
  "typeString": "bool"
4495
4495
  },
4496
4496
  "typeName": {
4497
- "id": 34966,
4497
+ "id": 34985,
4498
4498
  "name": "bool",
4499
4499
  "nodeType": "ElementaryTypeName",
4500
4500
  "src": "1058:4:96",
@@ -4506,13 +4506,13 @@
4506
4506
  "visibility": "internal"
4507
4507
  }
4508
4508
  ],
4509
- "id": 34968,
4509
+ "id": 34987,
4510
4510
  "nodeType": "VariableDeclarationStatement",
4511
4511
  "src": "1058:12:96"
4512
4512
  },
4513
4513
  {
4514
4514
  "expression": {
4515
- "id": 35013,
4515
+ "id": 35032,
4516
4516
  "isConstant": false,
4517
4517
  "isLValue": false,
4518
4518
  "isPure": false,
@@ -4520,11 +4520,11 @@
4520
4520
  "leftHandSide": {
4521
4521
  "components": [
4522
4522
  {
4523
- "id": 34969,
4523
+ "id": 34988,
4524
4524
  "name": "success",
4525
4525
  "nodeType": "Identifier",
4526
4526
  "overloadedDeclarations": [],
4527
- "referencedDeclaration": 34967,
4527
+ "referencedDeclaration": 34986,
4528
4528
  "src": "1285:7:96",
4529
4529
  "typeDescriptions": {
4530
4530
  "typeIdentifier": "t_bool",
@@ -4533,7 +4533,7 @@
4533
4533
  },
4534
4534
  null
4535
4535
  ],
4536
- "id": 34970,
4536
+ "id": 34989,
4537
4537
  "isConstant": false,
4538
4538
  "isInlineArray": false,
4539
4539
  "isLValue": true,
@@ -4556,11 +4556,11 @@
4556
4556
  "expression": {
4557
4557
  "arguments": [
4558
4558
  {
4559
- "id": 34979,
4559
+ "id": 34998,
4560
4560
  "name": "host",
4561
4561
  "nodeType": "Identifier",
4562
4562
  "overloadedDeclarations": [],
4563
- "referencedDeclaration": 34933,
4563
+ "referencedDeclaration": 34952,
4564
4564
  "src": "1382:4:96",
4565
4565
  "typeDescriptions": {
4566
4566
  "typeIdentifier": "t_address",
@@ -4575,7 +4575,7 @@
4575
4575
  "typeString": "address"
4576
4576
  }
4577
4577
  ],
4578
- "id": 34978,
4578
+ "id": 34997,
4579
4579
  "name": "ISuperfluid",
4580
4580
  "nodeType": "Identifier",
4581
4581
  "overloadedDeclarations": [],
@@ -4586,7 +4586,7 @@
4586
4586
  "typeString": "type(contract ISuperfluid)"
4587
4587
  }
4588
4588
  },
4589
- "id": 34980,
4589
+ "id": 34999,
4590
4590
  "isConstant": false,
4591
4591
  "isLValue": false,
4592
4592
  "isPure": false,
@@ -4601,7 +4601,7 @@
4601
4601
  "typeString": "contract ISuperfluid"
4602
4602
  }
4603
4603
  },
4604
- "id": 34981,
4604
+ "id": 35000,
4605
4605
  "isConstant": false,
4606
4606
  "isLValue": false,
4607
4607
  "isPure": false,
@@ -4620,11 +4620,11 @@
4620
4620
  {
4621
4621
  "arguments": [
4622
4622
  {
4623
- "id": 34983,
4623
+ "id": 35002,
4624
4624
  "name": "cfa",
4625
4625
  "nodeType": "Identifier",
4626
4626
  "overloadedDeclarations": [],
4627
- "referencedDeclaration": 34935,
4627
+ "referencedDeclaration": 34954,
4628
4628
  "src": "1465:3:96",
4629
4629
  "typeDescriptions": {
4630
4630
  "typeIdentifier": "t_address",
@@ -4639,7 +4639,7 @@
4639
4639
  "typeString": "address"
4640
4640
  }
4641
4641
  ],
4642
- "id": 34982,
4642
+ "id": 35001,
4643
4643
  "name": "ISuperAgreement",
4644
4644
  "nodeType": "Identifier",
4645
4645
  "overloadedDeclarations": [],
@@ -4650,7 +4650,7 @@
4650
4650
  "typeString": "type(contract ISuperAgreement)"
4651
4651
  }
4652
4652
  },
4653
- "id": 34984,
4653
+ "id": 35003,
4654
4654
  "isConstant": false,
4655
4655
  "isLValue": false,
4656
4656
  "isPure": false,
@@ -4671,11 +4671,11 @@
4671
4671
  "expression": {
4672
4672
  "arguments": [
4673
4673
  {
4674
- "id": 34988,
4674
+ "id": 35007,
4675
4675
  "name": "cfa",
4676
4676
  "nodeType": "Identifier",
4677
4677
  "overloadedDeclarations": [],
4678
- "referencedDeclaration": 34935,
4678
+ "referencedDeclaration": 34954,
4679
4679
  "src": "1564:3:96",
4680
4680
  "typeDescriptions": {
4681
4681
  "typeIdentifier": "t_address",
@@ -4690,7 +4690,7 @@
4690
4690
  "typeString": "address"
4691
4691
  }
4692
4692
  ],
4693
- "id": 34987,
4693
+ "id": 35006,
4694
4694
  "name": "IConstantFlowAgreementV1",
4695
4695
  "nodeType": "Identifier",
4696
4696
  "overloadedDeclarations": [],
@@ -4701,7 +4701,7 @@
4701
4701
  "typeString": "type(contract IConstantFlowAgreementV1)"
4702
4702
  }
4703
4703
  },
4704
- "id": 34989,
4704
+ "id": 35008,
4705
4705
  "isConstant": false,
4706
4706
  "isLValue": false,
4707
4707
  "isPure": false,
@@ -4716,7 +4716,7 @@
4716
4716
  "typeString": "contract IConstantFlowAgreementV1"
4717
4717
  }
4718
4718
  },
4719
- "id": 34990,
4719
+ "id": 35009,
4720
4720
  "isConstant": false,
4721
4721
  "isLValue": false,
4722
4722
  "isPure": false,
@@ -4735,11 +4735,11 @@
4735
4735
  {
4736
4736
  "arguments": [
4737
4737
  {
4738
- "id": 34992,
4738
+ "id": 35011,
4739
4739
  "name": "superToken",
4740
4740
  "nodeType": "Identifier",
4741
4741
  "overloadedDeclarations": [],
4742
- "referencedDeclaration": 34937,
4742
+ "referencedDeclaration": 34956,
4743
4743
  "src": "1655:10:96",
4744
4744
  "typeDescriptions": {
4745
4745
  "typeIdentifier": "t_address",
@@ -4754,7 +4754,7 @@
4754
4754
  "typeString": "address"
4755
4755
  }
4756
4756
  ],
4757
- "id": 34991,
4757
+ "id": 35010,
4758
4758
  "name": "ISuperToken",
4759
4759
  "nodeType": "Identifier",
4760
4760
  "overloadedDeclarations": [],
@@ -4765,7 +4765,7 @@
4765
4765
  "typeString": "type(contract ISuperToken)"
4766
4766
  }
4767
4767
  },
4768
- "id": 34993,
4768
+ "id": 35012,
4769
4769
  "isConstant": false,
4770
4770
  "isLValue": false,
4771
4771
  "isPure": false,
@@ -4782,24 +4782,24 @@
4782
4782
  },
4783
4783
  {
4784
4784
  "baseExpression": {
4785
- "id": 34994,
4785
+ "id": 35013,
4786
4786
  "name": "senders",
4787
4787
  "nodeType": "Identifier",
4788
4788
  "overloadedDeclarations": [],
4789
- "referencedDeclaration": 34940,
4789
+ "referencedDeclaration": 34959,
4790
4790
  "src": "1700:7:96",
4791
4791
  "typeDescriptions": {
4792
4792
  "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr",
4793
4793
  "typeString": "address[] calldata"
4794
4794
  }
4795
4795
  },
4796
- "id": 34996,
4796
+ "id": 35015,
4797
4797
  "indexExpression": {
4798
- "id": 34995,
4798
+ "id": 35014,
4799
4799
  "name": "i",
4800
4800
  "nodeType": "Identifier",
4801
4801
  "overloadedDeclarations": [],
4802
- "referencedDeclaration": 34956,
4802
+ "referencedDeclaration": 34975,
4803
4803
  "src": "1708:1:96",
4804
4804
  "typeDescriptions": {
4805
4805
  "typeIdentifier": "t_uint256",
@@ -4819,24 +4819,24 @@
4819
4819
  },
4820
4820
  {
4821
4821
  "baseExpression": {
4822
- "id": 34997,
4822
+ "id": 35016,
4823
4823
  "name": "receivers",
4824
4824
  "nodeType": "Identifier",
4825
4825
  "overloadedDeclarations": [],
4826
- "referencedDeclaration": 34943,
4826
+ "referencedDeclaration": 34962,
4827
4827
  "src": "1744:9:96",
4828
4828
  "typeDescriptions": {
4829
4829
  "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr",
4830
4830
  "typeString": "address[] calldata"
4831
4831
  }
4832
4832
  },
4833
- "id": 34999,
4833
+ "id": 35018,
4834
4834
  "indexExpression": {
4835
- "id": 34998,
4835
+ "id": 35017,
4836
4836
  "name": "i",
4837
4837
  "nodeType": "Identifier",
4838
4838
  "overloadedDeclarations": [],
4839
- "referencedDeclaration": 34956,
4839
+ "referencedDeclaration": 34975,
4840
4840
  "src": "1754:1:96",
4841
4841
  "typeDescriptions": {
4842
4842
  "typeIdentifier": "t_uint256",
@@ -4858,7 +4858,7 @@
4858
4858
  "arguments": [
4859
4859
  {
4860
4860
  "hexValue": "30",
4861
- "id": 35002,
4861
+ "id": 35021,
4862
4862
  "isConstant": false,
4863
4863
  "isLValue": false,
4864
4864
  "isPure": true,
@@ -4880,7 +4880,7 @@
4880
4880
  "typeString": "int_const 0"
4881
4881
  }
4882
4882
  ],
4883
- "id": 35001,
4883
+ "id": 35020,
4884
4884
  "isConstant": false,
4885
4885
  "isLValue": false,
4886
4886
  "isPure": true,
@@ -4892,7 +4892,7 @@
4892
4892
  "typeString": "function (uint256) pure returns (bytes memory)"
4893
4893
  },
4894
4894
  "typeName": {
4895
- "id": 35000,
4895
+ "id": 35019,
4896
4896
  "name": "bytes",
4897
4897
  "nodeType": "ElementaryTypeName",
4898
4898
  "src": "1794:5:96",
@@ -4902,7 +4902,7 @@
4902
4902
  }
4903
4903
  }
4904
4904
  },
4905
- "id": 35003,
4905
+ "id": 35022,
4906
4906
  "isConstant": false,
4907
4907
  "isLValue": false,
4908
4908
  "isPure": true,
@@ -4918,7 +4918,7 @@
4918
4918
  }
4919
4919
  }
4920
4920
  ],
4921
- "id": 35004,
4921
+ "id": 35023,
4922
4922
  "isConstant": false,
4923
4923
  "isInlineArray": false,
4924
4924
  "isLValue": false,
@@ -4944,7 +4944,7 @@
4944
4944
  }
4945
4945
  ],
4946
4946
  "expression": {
4947
- "id": 34985,
4947
+ "id": 35004,
4948
4948
  "name": "abi",
4949
4949
  "nodeType": "Identifier",
4950
4950
  "overloadedDeclarations": [],
@@ -4955,7 +4955,7 @@
4955
4955
  "typeString": "abi"
4956
4956
  }
4957
4957
  },
4958
- "id": 34986,
4958
+ "id": 35005,
4959
4959
  "isConstant": false,
4960
4960
  "isLValue": false,
4961
4961
  "isPure": true,
@@ -4968,7 +4968,7 @@
4968
4968
  "typeString": "function () pure returns (bytes memory)"
4969
4969
  }
4970
4970
  },
4971
- "id": 35005,
4971
+ "id": 35024,
4972
4972
  "isConstant": false,
4973
4973
  "isLValue": false,
4974
4974
  "isPure": false,
@@ -4987,7 +4987,7 @@
4987
4987
  "arguments": [
4988
4988
  {
4989
4989
  "hexValue": "30",
4990
- "id": 35008,
4990
+ "id": 35027,
4991
4991
  "isConstant": false,
4992
4992
  "isLValue": false,
4993
4993
  "isPure": true,
@@ -5009,7 +5009,7 @@
5009
5009
  "typeString": "int_const 0"
5010
5010
  }
5011
5011
  ],
5012
- "id": 35007,
5012
+ "id": 35026,
5013
5013
  "isConstant": false,
5014
5014
  "isLValue": false,
5015
5015
  "isPure": true,
@@ -5021,7 +5021,7 @@
5021
5021
  "typeString": "function (uint256) pure returns (bytes memory)"
5022
5022
  },
5023
5023
  "typeName": {
5024
- "id": 35006,
5024
+ "id": 35025,
5025
5025
  "name": "bytes",
5026
5026
  "nodeType": "ElementaryTypeName",
5027
5027
  "src": "1888:5:96",
@@ -5031,7 +5031,7 @@
5031
5031
  }
5032
5032
  }
5033
5033
  },
5034
- "id": 35009,
5034
+ "id": 35028,
5035
5035
  "isConstant": false,
5036
5036
  "isLValue": false,
5037
5037
  "isPure": true,
@@ -5047,7 +5047,7 @@
5047
5047
  }
5048
5048
  }
5049
5049
  ],
5050
- "id": 35010,
5050
+ "id": 35029,
5051
5051
  "isConstant": false,
5052
5052
  "isInlineArray": false,
5053
5053
  "isLValue": false,
@@ -5073,7 +5073,7 @@
5073
5073
  }
5074
5074
  ],
5075
5075
  "expression": {
5076
- "id": 34976,
5076
+ "id": 34995,
5077
5077
  "name": "abi",
5078
5078
  "nodeType": "Identifier",
5079
5079
  "overloadedDeclarations": [],
@@ -5084,7 +5084,7 @@
5084
5084
  "typeString": "abi"
5085
5085
  }
5086
5086
  },
5087
- "id": 34977,
5087
+ "id": 34996,
5088
5088
  "isConstant": false,
5089
5089
  "isLValue": false,
5090
5090
  "isPure": true,
@@ -5097,7 +5097,7 @@
5097
5097
  "typeString": "function () pure returns (bytes memory)"
5098
5098
  }
5099
5099
  },
5100
- "id": 35011,
5100
+ "id": 35030,
5101
5101
  "isConstant": false,
5102
5102
  "isLValue": false,
5103
5103
  "isPure": false,
@@ -5123,11 +5123,11 @@
5123
5123
  "expression": {
5124
5124
  "arguments": [
5125
5125
  {
5126
- "id": 34973,
5126
+ "id": 34992,
5127
5127
  "name": "host",
5128
5128
  "nodeType": "Identifier",
5129
5129
  "overloadedDeclarations": [],
5130
- "referencedDeclaration": 34933,
5130
+ "referencedDeclaration": 34952,
5131
5131
  "src": "1306:4:96",
5132
5132
  "typeDescriptions": {
5133
5133
  "typeIdentifier": "t_address",
@@ -5142,7 +5142,7 @@
5142
5142
  "typeString": "address"
5143
5143
  }
5144
5144
  ],
5145
- "id": 34972,
5145
+ "id": 34991,
5146
5146
  "isConstant": false,
5147
5147
  "isLValue": false,
5148
5148
  "isPure": true,
@@ -5154,14 +5154,14 @@
5154
5154
  "typeString": "type(address)"
5155
5155
  },
5156
5156
  "typeName": {
5157
- "id": 34971,
5157
+ "id": 34990,
5158
5158
  "name": "address",
5159
5159
  "nodeType": "ElementaryTypeName",
5160
5160
  "src": "1298:7:96",
5161
5161
  "typeDescriptions": {}
5162
5162
  }
5163
5163
  },
5164
- "id": 34974,
5164
+ "id": 34993,
5165
5165
  "isConstant": false,
5166
5166
  "isLValue": false,
5167
5167
  "isPure": false,
@@ -5176,7 +5176,7 @@
5176
5176
  "typeString": "address"
5177
5177
  }
5178
5178
  },
5179
- "id": 34975,
5179
+ "id": 34994,
5180
5180
  "isConstant": false,
5181
5181
  "isLValue": false,
5182
5182
  "isPure": false,
@@ -5189,7 +5189,7 @@
5189
5189
  "typeString": "function (bytes memory) payable returns (bool,bytes memory)"
5190
5190
  }
5191
5191
  },
5192
- "id": 35012,
5192
+ "id": 35031,
5193
5193
  "isConstant": false,
5194
5194
  "isLValue": false,
5195
5195
  "isPure": false,
@@ -5210,7 +5210,7 @@
5210
5210
  "typeString": "tuple()"
5211
5211
  }
5212
5212
  },
5213
- "id": 35014,
5213
+ "id": 35033,
5214
5214
  "nodeType": "ExpressionStatement",
5215
5215
  "src": "1284:666:96"
5216
5216
  }
@@ -5221,17 +5221,17 @@
5221
5221
  "typeIdentifier": "t_uint256",
5222
5222
  "typeString": "uint256"
5223
5223
  },
5224
- "id": 34962,
5224
+ "id": 34981,
5225
5225
  "isConstant": false,
5226
5226
  "isLValue": false,
5227
5227
  "isPure": false,
5228
5228
  "lValueRequested": false,
5229
5229
  "leftExpression": {
5230
- "id": 34959,
5230
+ "id": 34978,
5231
5231
  "name": "i",
5232
5232
  "nodeType": "Identifier",
5233
5233
  "overloadedDeclarations": [],
5234
- "referencedDeclaration": 34956,
5234
+ "referencedDeclaration": 34975,
5235
5235
  "src": "1019:1:96",
5236
5236
  "typeDescriptions": {
5237
5237
  "typeIdentifier": "t_uint256",
@@ -5242,18 +5242,18 @@
5242
5242
  "operator": "<",
5243
5243
  "rightExpression": {
5244
5244
  "expression": {
5245
- "id": 34960,
5245
+ "id": 34979,
5246
5246
  "name": "senders",
5247
5247
  "nodeType": "Identifier",
5248
5248
  "overloadedDeclarations": [],
5249
- "referencedDeclaration": 34940,
5249
+ "referencedDeclaration": 34959,
5250
5250
  "src": "1023:7:96",
5251
5251
  "typeDescriptions": {
5252
5252
  "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr",
5253
5253
  "typeString": "address[] calldata"
5254
5254
  }
5255
5255
  },
5256
- "id": 34961,
5256
+ "id": 34980,
5257
5257
  "isConstant": false,
5258
5258
  "isLValue": false,
5259
5259
  "isPure": false,
@@ -5272,20 +5272,20 @@
5272
5272
  "typeString": "bool"
5273
5273
  }
5274
5274
  },
5275
- "id": 35016,
5275
+ "id": 35035,
5276
5276
  "initializationExpression": {
5277
5277
  "assignments": [
5278
- 34956
5278
+ 34975
5279
5279
  ],
5280
5280
  "declarations": [
5281
5281
  {
5282
5282
  "constant": false,
5283
- "id": 34956,
5283
+ "id": 34975,
5284
5284
  "mutability": "mutable",
5285
5285
  "name": "i",
5286
5286
  "nameLocation": "1012:1:96",
5287
5287
  "nodeType": "VariableDeclaration",
5288
- "scope": 35016,
5288
+ "scope": 35035,
5289
5289
  "src": "1007:6:96",
5290
5290
  "stateVariable": false,
5291
5291
  "storageLocation": "default",
@@ -5294,7 +5294,7 @@
5294
5294
  "typeString": "uint256"
5295
5295
  },
5296
5296
  "typeName": {
5297
- "id": 34955,
5297
+ "id": 34974,
5298
5298
  "name": "uint",
5299
5299
  "nodeType": "ElementaryTypeName",
5300
5300
  "src": "1007:4:96",
@@ -5306,10 +5306,10 @@
5306
5306
  "visibility": "internal"
5307
5307
  }
5308
5308
  ],
5309
- "id": 34958,
5309
+ "id": 34977,
5310
5310
  "initialValue": {
5311
5311
  "hexValue": "30",
5312
- "id": 34957,
5312
+ "id": 34976,
5313
5313
  "isConstant": false,
5314
5314
  "isLValue": false,
5315
5315
  "isPure": true,
@@ -5328,7 +5328,7 @@
5328
5328
  },
5329
5329
  "loopExpression": {
5330
5330
  "expression": {
5331
- "id": 34964,
5331
+ "id": 34983,
5332
5332
  "isConstant": false,
5333
5333
  "isLValue": false,
5334
5334
  "isPure": false,
@@ -5338,11 +5338,11 @@
5338
5338
  "prefix": true,
5339
5339
  "src": "1039:3:96",
5340
5340
  "subExpression": {
5341
- "id": 34963,
5341
+ "id": 34982,
5342
5342
  "name": "i",
5343
5343
  "nodeType": "Identifier",
5344
5344
  "overloadedDeclarations": [],
5345
- "referencedDeclaration": 34956,
5345
+ "referencedDeclaration": 34975,
5346
5346
  "src": "1041:1:96",
5347
5347
  "typeDescriptions": {
5348
5348
  "typeIdentifier": "t_uint256",
@@ -5354,7 +5354,7 @@
5354
5354
  "typeString": "uint256"
5355
5355
  }
5356
5356
  },
5357
- "id": 34965,
5357
+ "id": 34984,
5358
5358
  "nodeType": "ExpressionStatement",
5359
5359
  "src": "1039:3:96"
5360
5360
  },
@@ -5362,23 +5362,23 @@
5362
5362
  "src": "1002:959:96"
5363
5363
  },
5364
5364
  {
5365
- "id": 35047,
5365
+ "id": 35066,
5366
5366
  "nodeType": "Block",
5367
5367
  "src": "2137:213:96",
5368
5368
  "statements": [
5369
5369
  {
5370
5370
  "assignments": [
5371
- 35018
5371
+ 35037
5372
5372
  ],
5373
5373
  "declarations": [
5374
5374
  {
5375
5375
  "constant": false,
5376
- "id": 35018,
5376
+ "id": 35037,
5377
5377
  "mutability": "mutable",
5378
5378
  "name": "balance",
5379
5379
  "nameLocation": "2159:7:96",
5380
5380
  "nodeType": "VariableDeclaration",
5381
- "scope": 35047,
5381
+ "scope": 35066,
5382
5382
  "src": "2151:15:96",
5383
5383
  "stateVariable": false,
5384
5384
  "storageLocation": "default",
@@ -5387,7 +5387,7 @@
5387
5387
  "typeString": "uint256"
5388
5388
  },
5389
5389
  "typeName": {
5390
- "id": 35017,
5390
+ "id": 35036,
5391
5391
  "name": "uint256",
5392
5392
  "nodeType": "ElementaryTypeName",
5393
5393
  "src": "2151:7:96",
@@ -5399,20 +5399,20 @@
5399
5399
  "visibility": "internal"
5400
5400
  }
5401
5401
  ],
5402
- "id": 35028,
5402
+ "id": 35047,
5403
5403
  "initialValue": {
5404
5404
  "arguments": [
5405
5405
  {
5406
5406
  "arguments": [
5407
5407
  {
5408
- "id": 35025,
5408
+ "id": 35044,
5409
5409
  "name": "this",
5410
5410
  "nodeType": "Identifier",
5411
5411
  "overloadedDeclarations": [],
5412
5412
  "referencedDeclaration": 4294967268,
5413
5413
  "src": "2205:4:96",
5414
5414
  "typeDescriptions": {
5415
- "typeIdentifier": "t_contract$_BatchLiquidator_$35050",
5415
+ "typeIdentifier": "t_contract$_BatchLiquidator_$35069",
5416
5416
  "typeString": "contract BatchLiquidator"
5417
5417
  }
5418
5418
  }
@@ -5420,11 +5420,11 @@
5420
5420
  "expression": {
5421
5421
  "argumentTypes": [
5422
5422
  {
5423
- "typeIdentifier": "t_contract$_BatchLiquidator_$35050",
5423
+ "typeIdentifier": "t_contract$_BatchLiquidator_$35069",
5424
5424
  "typeString": "contract BatchLiquidator"
5425
5425
  }
5426
5426
  ],
5427
- "id": 35024,
5427
+ "id": 35043,
5428
5428
  "isConstant": false,
5429
5429
  "isLValue": false,
5430
5430
  "isPure": true,
@@ -5436,14 +5436,14 @@
5436
5436
  "typeString": "type(address)"
5437
5437
  },
5438
5438
  "typeName": {
5439
- "id": 35023,
5439
+ "id": 35042,
5440
5440
  "name": "address",
5441
5441
  "nodeType": "ElementaryTypeName",
5442
5442
  "src": "2197:7:96",
5443
5443
  "typeDescriptions": {}
5444
5444
  }
5445
5445
  },
5446
- "id": 35026,
5446
+ "id": 35045,
5447
5447
  "isConstant": false,
5448
5448
  "isLValue": false,
5449
5449
  "isPure": false,
@@ -5469,11 +5469,11 @@
5469
5469
  "expression": {
5470
5470
  "arguments": [
5471
5471
  {
5472
- "id": 35020,
5472
+ "id": 35039,
5473
5473
  "name": "superToken",
5474
5474
  "nodeType": "Identifier",
5475
5475
  "overloadedDeclarations": [],
5476
- "referencedDeclaration": 34937,
5476
+ "referencedDeclaration": 34956,
5477
5477
  "src": "2175:10:96",
5478
5478
  "typeDescriptions": {
5479
5479
  "typeIdentifier": "t_address",
@@ -5488,7 +5488,7 @@
5488
5488
  "typeString": "address"
5489
5489
  }
5490
5490
  ],
5491
- "id": 35019,
5491
+ "id": 35038,
5492
5492
  "name": "ERC20",
5493
5493
  "nodeType": "Identifier",
5494
5494
  "overloadedDeclarations": [],
@@ -5499,7 +5499,7 @@
5499
5499
  "typeString": "type(contract ERC20)"
5500
5500
  }
5501
5501
  },
5502
- "id": 35021,
5502
+ "id": 35040,
5503
5503
  "isConstant": false,
5504
5504
  "isLValue": false,
5505
5505
  "isPure": false,
@@ -5514,7 +5514,7 @@
5514
5514
  "typeString": "contract ERC20"
5515
5515
  }
5516
5516
  },
5517
- "id": 35022,
5517
+ "id": 35041,
5518
5518
  "isConstant": false,
5519
5519
  "isLValue": false,
5520
5520
  "isPure": false,
@@ -5528,7 +5528,7 @@
5528
5528
  "typeString": "function (address) view external returns (uint256)"
5529
5529
  }
5530
5530
  },
5531
- "id": 35027,
5531
+ "id": 35046,
5532
5532
  "isConstant": false,
5533
5533
  "isLValue": false,
5534
5534
  "isPure": false,
@@ -5552,17 +5552,17 @@
5552
5552
  "typeIdentifier": "t_uint256",
5553
5553
  "typeString": "uint256"
5554
5554
  },
5555
- "id": 35031,
5555
+ "id": 35050,
5556
5556
  "isConstant": false,
5557
5557
  "isLValue": false,
5558
5558
  "isPure": false,
5559
5559
  "lValueRequested": false,
5560
5560
  "leftExpression": {
5561
- "id": 35029,
5561
+ "id": 35048,
5562
5562
  "name": "balance",
5563
5563
  "nodeType": "Identifier",
5564
5564
  "overloadedDeclarations": [],
5565
- "referencedDeclaration": 35018,
5565
+ "referencedDeclaration": 35037,
5566
5566
  "src": "2228:7:96",
5567
5567
  "typeDescriptions": {
5568
5568
  "typeIdentifier": "t_uint256",
@@ -5573,7 +5573,7 @@
5573
5573
  "operator": ">",
5574
5574
  "rightExpression": {
5575
5575
  "hexValue": "30",
5576
- "id": 35030,
5576
+ "id": 35049,
5577
5577
  "isConstant": false,
5578
5578
  "isLValue": false,
5579
5579
  "isPure": true,
@@ -5593,11 +5593,11 @@
5593
5593
  "typeString": "bool"
5594
5594
  }
5595
5595
  },
5596
- "id": 35046,
5596
+ "id": 35065,
5597
5597
  "nodeType": "IfStatement",
5598
5598
  "src": "2225:115:96",
5599
5599
  "trueBody": {
5600
- "id": 35045,
5600
+ "id": 35064,
5601
5601
  "nodeType": "Block",
5602
5602
  "src": "2241:99:96",
5603
5603
  "statements": [
@@ -5607,14 +5607,14 @@
5607
5607
  {
5608
5608
  "arguments": [
5609
5609
  {
5610
- "id": 35038,
5610
+ "id": 35057,
5611
5611
  "name": "this",
5612
5612
  "nodeType": "Identifier",
5613
5613
  "overloadedDeclarations": [],
5614
5614
  "referencedDeclaration": 4294967268,
5615
5615
  "src": "2298:4:96",
5616
5616
  "typeDescriptions": {
5617
- "typeIdentifier": "t_contract$_BatchLiquidator_$35050",
5617
+ "typeIdentifier": "t_contract$_BatchLiquidator_$35069",
5618
5618
  "typeString": "contract BatchLiquidator"
5619
5619
  }
5620
5620
  }
@@ -5622,11 +5622,11 @@
5622
5622
  "expression": {
5623
5623
  "argumentTypes": [
5624
5624
  {
5625
- "typeIdentifier": "t_contract$_BatchLiquidator_$35050",
5625
+ "typeIdentifier": "t_contract$_BatchLiquidator_$35069",
5626
5626
  "typeString": "contract BatchLiquidator"
5627
5627
  }
5628
5628
  ],
5629
- "id": 35037,
5629
+ "id": 35056,
5630
5630
  "isConstant": false,
5631
5631
  "isLValue": false,
5632
5632
  "isPure": true,
@@ -5638,14 +5638,14 @@
5638
5638
  "typeString": "type(address)"
5639
5639
  },
5640
5640
  "typeName": {
5641
- "id": 35036,
5641
+ "id": 35055,
5642
5642
  "name": "address",
5643
5643
  "nodeType": "ElementaryTypeName",
5644
5644
  "src": "2290:7:96",
5645
5645
  "typeDescriptions": {}
5646
5646
  }
5647
5647
  },
5648
- "id": 35039,
5648
+ "id": 35058,
5649
5649
  "isConstant": false,
5650
5650
  "isLValue": false,
5651
5651
  "isPure": false,
@@ -5662,7 +5662,7 @@
5662
5662
  },
5663
5663
  {
5664
5664
  "expression": {
5665
- "id": 35040,
5665
+ "id": 35059,
5666
5666
  "name": "msg",
5667
5667
  "nodeType": "Identifier",
5668
5668
  "overloadedDeclarations": [],
@@ -5673,7 +5673,7 @@
5673
5673
  "typeString": "msg"
5674
5674
  }
5675
5675
  },
5676
- "id": 35041,
5676
+ "id": 35060,
5677
5677
  "isConstant": false,
5678
5678
  "isLValue": false,
5679
5679
  "isPure": false,
@@ -5687,11 +5687,11 @@
5687
5687
  }
5688
5688
  },
5689
5689
  {
5690
- "id": 35042,
5690
+ "id": 35061,
5691
5691
  "name": "balance",
5692
5692
  "nodeType": "Identifier",
5693
5693
  "overloadedDeclarations": [],
5694
- "referencedDeclaration": 35018,
5694
+ "referencedDeclaration": 35037,
5695
5695
  "src": "2317:7:96",
5696
5696
  "typeDescriptions": {
5697
5697
  "typeIdentifier": "t_uint256",
@@ -5717,11 +5717,11 @@
5717
5717
  "expression": {
5718
5718
  "arguments": [
5719
5719
  {
5720
- "id": 35033,
5720
+ "id": 35052,
5721
5721
  "name": "superToken",
5722
5722
  "nodeType": "Identifier",
5723
5723
  "overloadedDeclarations": [],
5724
- "referencedDeclaration": 34937,
5724
+ "referencedDeclaration": 34956,
5725
5725
  "src": "2265:10:96",
5726
5726
  "typeDescriptions": {
5727
5727
  "typeIdentifier": "t_address",
@@ -5736,7 +5736,7 @@
5736
5736
  "typeString": "address"
5737
5737
  }
5738
5738
  ],
5739
- "id": 35032,
5739
+ "id": 35051,
5740
5740
  "name": "ERC20",
5741
5741
  "nodeType": "Identifier",
5742
5742
  "overloadedDeclarations": [],
@@ -5747,7 +5747,7 @@
5747
5747
  "typeString": "type(contract ERC20)"
5748
5748
  }
5749
5749
  },
5750
- "id": 35034,
5750
+ "id": 35053,
5751
5751
  "isConstant": false,
5752
5752
  "isLValue": false,
5753
5753
  "isPure": false,
@@ -5762,7 +5762,7 @@
5762
5762
  "typeString": "contract ERC20"
5763
5763
  }
5764
5764
  },
5765
- "id": 35035,
5765
+ "id": 35054,
5766
5766
  "isConstant": false,
5767
5767
  "isLValue": false,
5768
5768
  "isPure": false,
@@ -5776,7 +5776,7 @@
5776
5776
  "typeString": "function (address,address,uint256) external returns (bool)"
5777
5777
  }
5778
5778
  },
5779
- "id": 35043,
5779
+ "id": 35062,
5780
5780
  "isConstant": false,
5781
5781
  "isLValue": false,
5782
5782
  "isPure": false,
@@ -5791,7 +5791,7 @@
5791
5791
  "typeString": "bool"
5792
5792
  }
5793
5793
  },
5794
- "id": 35044,
5794
+ "id": 35063,
5795
5795
  "nodeType": "ExpressionStatement",
5796
5796
  "src": "2259:66:96"
5797
5797
  }
@@ -5803,13 +5803,13 @@
5803
5803
  ]
5804
5804
  },
5805
5805
  "documentation": {
5806
- "id": 34931,
5806
+ "id": 34950,
5807
5807
  "nodeType": "StructuredDocumentation",
5808
5808
  "src": "430:304:96",
5809
5809
  "text": " @dev Delete flows in batch\n @param host - The host contract address.\n @param cfa - The cfa contract address.\n @param superToken - The super token the flows belong to.\n @param senders - List of senders.\n @param receivers - Corresponding list of receivers."
5810
5810
  },
5811
5811
  "functionSelector": "feb6bb69",
5812
- "id": 35049,
5812
+ "id": 35068,
5813
5813
  "implemented": true,
5814
5814
  "kind": "function",
5815
5815
  "modifiers": [],
@@ -5817,17 +5817,17 @@
5817
5817
  "nameLocation": "748:11:96",
5818
5818
  "nodeType": "FunctionDefinition",
5819
5819
  "parameters": {
5820
- "id": 34944,
5820
+ "id": 34963,
5821
5821
  "nodeType": "ParameterList",
5822
5822
  "parameters": [
5823
5823
  {
5824
5824
  "constant": false,
5825
- "id": 34933,
5825
+ "id": 34952,
5826
5826
  "mutability": "mutable",
5827
5827
  "name": "host",
5828
5828
  "nameLocation": "777:4:96",
5829
5829
  "nodeType": "VariableDeclaration",
5830
- "scope": 35049,
5830
+ "scope": 35068,
5831
5831
  "src": "769:12:96",
5832
5832
  "stateVariable": false,
5833
5833
  "storageLocation": "default",
@@ -5836,7 +5836,7 @@
5836
5836
  "typeString": "address"
5837
5837
  },
5838
5838
  "typeName": {
5839
- "id": 34932,
5839
+ "id": 34951,
5840
5840
  "name": "address",
5841
5841
  "nodeType": "ElementaryTypeName",
5842
5842
  "src": "769:7:96",
@@ -5850,12 +5850,12 @@
5850
5850
  },
5851
5851
  {
5852
5852
  "constant": false,
5853
- "id": 34935,
5853
+ "id": 34954,
5854
5854
  "mutability": "mutable",
5855
5855
  "name": "cfa",
5856
5856
  "nameLocation": "799:3:96",
5857
5857
  "nodeType": "VariableDeclaration",
5858
- "scope": 35049,
5858
+ "scope": 35068,
5859
5859
  "src": "791:11:96",
5860
5860
  "stateVariable": false,
5861
5861
  "storageLocation": "default",
@@ -5864,7 +5864,7 @@
5864
5864
  "typeString": "address"
5865
5865
  },
5866
5866
  "typeName": {
5867
- "id": 34934,
5867
+ "id": 34953,
5868
5868
  "name": "address",
5869
5869
  "nodeType": "ElementaryTypeName",
5870
5870
  "src": "791:7:96",
@@ -5878,12 +5878,12 @@
5878
5878
  },
5879
5879
  {
5880
5880
  "constant": false,
5881
- "id": 34937,
5881
+ "id": 34956,
5882
5882
  "mutability": "mutable",
5883
5883
  "name": "superToken",
5884
5884
  "nameLocation": "820:10:96",
5885
5885
  "nodeType": "VariableDeclaration",
5886
- "scope": 35049,
5886
+ "scope": 35068,
5887
5887
  "src": "812:18:96",
5888
5888
  "stateVariable": false,
5889
5889
  "storageLocation": "default",
@@ -5892,7 +5892,7 @@
5892
5892
  "typeString": "address"
5893
5893
  },
5894
5894
  "typeName": {
5895
- "id": 34936,
5895
+ "id": 34955,
5896
5896
  "name": "address",
5897
5897
  "nodeType": "ElementaryTypeName",
5898
5898
  "src": "812:7:96",
@@ -5906,12 +5906,12 @@
5906
5906
  },
5907
5907
  {
5908
5908
  "constant": false,
5909
- "id": 34940,
5909
+ "id": 34959,
5910
5910
  "mutability": "mutable",
5911
5911
  "name": "senders",
5912
5912
  "nameLocation": "859:7:96",
5913
5913
  "nodeType": "VariableDeclaration",
5914
- "scope": 35049,
5914
+ "scope": 35068,
5915
5915
  "src": "840:26:96",
5916
5916
  "stateVariable": false,
5917
5917
  "storageLocation": "calldata",
@@ -5921,7 +5921,7 @@
5921
5921
  },
5922
5922
  "typeName": {
5923
5923
  "baseType": {
5924
- "id": 34938,
5924
+ "id": 34957,
5925
5925
  "name": "address",
5926
5926
  "nodeType": "ElementaryTypeName",
5927
5927
  "src": "840:7:96",
@@ -5931,7 +5931,7 @@
5931
5931
  "typeString": "address"
5932
5932
  }
5933
5933
  },
5934
- "id": 34939,
5934
+ "id": 34958,
5935
5935
  "nodeType": "ArrayTypeName",
5936
5936
  "src": "840:9:96",
5937
5937
  "typeDescriptions": {
@@ -5943,12 +5943,12 @@
5943
5943
  },
5944
5944
  {
5945
5945
  "constant": false,
5946
- "id": 34943,
5946
+ "id": 34962,
5947
5947
  "mutability": "mutable",
5948
5948
  "name": "receivers",
5949
5949
  "nameLocation": "887:9:96",
5950
5950
  "nodeType": "VariableDeclaration",
5951
- "scope": 35049,
5951
+ "scope": 35068,
5952
5952
  "src": "868:28:96",
5953
5953
  "stateVariable": false,
5954
5954
  "storageLocation": "calldata",
@@ -5958,7 +5958,7 @@
5958
5958
  },
5959
5959
  "typeName": {
5960
5960
  "baseType": {
5961
- "id": 34941,
5961
+ "id": 34960,
5962
5962
  "name": "address",
5963
5963
  "nodeType": "ElementaryTypeName",
5964
5964
  "src": "868:7:96",
@@ -5968,7 +5968,7 @@
5968
5968
  "typeString": "address"
5969
5969
  }
5970
5970
  },
5971
- "id": 34942,
5971
+ "id": 34961,
5972
5972
  "nodeType": "ArrayTypeName",
5973
5973
  "src": "868:9:96",
5974
5974
  "typeDescriptions": {
@@ -5982,19 +5982,19 @@
5982
5982
  "src": "759:143:96"
5983
5983
  },
5984
5984
  "returnParameters": {
5985
- "id": 34945,
5985
+ "id": 34964,
5986
5986
  "nodeType": "ParameterList",
5987
5987
  "parameters": [],
5988
5988
  "src": "912:0:96"
5989
5989
  },
5990
- "scope": 35050,
5990
+ "scope": 35069,
5991
5991
  "src": "739:1617:96",
5992
5992
  "stateMutability": "nonpayable",
5993
5993
  "virtual": false,
5994
5994
  "visibility": "external"
5995
5995
  }
5996
5996
  ],
5997
- "scope": 35051,
5997
+ "scope": 35070,
5998
5998
  "src": "398:1960:96",
5999
5999
  "usedErrors": []
6000
6000
  }
@@ -6003,11 +6003,11 @@
6003
6003
  },
6004
6004
  "compiler": {
6005
6005
  "name": "solc",
6006
- "version": "0.8.13+commit.abaa5c0e.Emscripten.clang"
6006
+ "version": "0.8.14+commit.80d49f37.Emscripten.clang"
6007
6007
  },
6008
6008
  "networks": {},
6009
6009
  "schemaVersion": "3.4.7",
6010
- "updatedAt": "2022-06-03T09:45:14.339Z",
6010
+ "updatedAt": "2022-06-21T09:02:27.260Z",
6011
6011
  "devdoc": {
6012
6012
  "author": "Superfluid",
6013
6013
  "kind": "dev",