@superfluid-finance/ethereum-contracts 1.4.4-dev.b157ec2.0 → 1.4.4-dev.c2b2de3.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 (146) hide show
  1. package/artifacts/contracts/utils/TOGA.sol/ITOGAv3.json +194 -0
  2. package/artifacts/contracts/utils/TOGA.sol/TOGA.json +2 -33
  3. package/build/contracts/AccessControl.json +1 -1
  4. package/build/contracts/AccessControlEnumerable.json +1 -1
  5. package/build/contracts/Address.json +1 -1
  6. package/build/contracts/AgreementBase.json +1 -1
  7. package/build/contracts/AgreementLibrary.json +1 -1
  8. package/build/contracts/BaseRelayRecipient.json +1 -1
  9. package/build/contracts/BatchLiquidator.json +723 -723
  10. package/build/contracts/BatchOperation.json +1 -1
  11. package/build/contracts/CFAv1Forwarder.json +2050 -2050
  12. package/build/contracts/CFAv1Library.json +1 -1
  13. package/build/contracts/CallUtils.json +1 -1
  14. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1566 -1566
  15. package/build/contracts/ConstantFlowAgreementV1.json +4582 -4582
  16. package/build/contracts/Context.json +1 -1
  17. package/build/contracts/ContextDefinitions.json +1 -1
  18. package/build/contracts/CustomSuperTokenBase.json +1 -1
  19. package/build/contracts/ERC165.json +1 -1
  20. package/build/contracts/ERC1820Implementer.json +79 -79
  21. package/build/contracts/ERC1820RegistryCompiled.json +1 -1
  22. package/build/contracts/ERC20.json +1289 -1289
  23. package/build/contracts/ERC20WithTokenInfo.json +1 -1
  24. package/build/contracts/ERC777Helper.json +1 -1
  25. package/build/contracts/ERC777RecipientDrainingGas.json +350 -350
  26. package/build/contracts/ERC777RecipientReverting.json +373 -373
  27. package/build/contracts/EnumerableSet.json +1 -1
  28. package/build/contracts/EventsEmitter.json +1 -1
  29. package/build/contracts/ExclusiveInflowTestApp.json +1594 -1594
  30. package/build/contracts/FixedSizeData.json +1 -1
  31. package/build/contracts/FlowExchangeTestApp.json +1704 -1704
  32. package/build/contracts/FlowOperatorDefinitions.json +1 -1
  33. package/build/contracts/FullUpgradableSuperTokenProxy.json +74 -74
  34. package/build/contracts/IAccessControl.json +1 -1
  35. package/build/contracts/IAccessControlEnumerable.json +1 -1
  36. package/build/contracts/IConstantFlowAgreementHook.json +1 -1
  37. package/build/contracts/IConstantFlowAgreementV1.json +1 -1
  38. package/build/contracts/IDAv1Library.json +1 -1
  39. package/build/contracts/IERC165.json +1 -1
  40. package/build/contracts/IERC1820Implementer.json +1 -1
  41. package/build/contracts/IERC1820Registry.json +1 -1
  42. package/build/contracts/IERC20.json +1 -1
  43. package/build/contracts/IERC20Metadata.json +1 -1
  44. package/build/contracts/IERC20Permit.json +1 -1
  45. package/build/contracts/IERC777.json +1 -1
  46. package/build/contracts/IERC777Recipient.json +1 -1
  47. package/build/contracts/IERC777Sender.json +1 -1
  48. package/build/contracts/IInstantDistributionAgreementV1.json +1 -1
  49. package/build/contracts/IMultiSigWallet.json +1 -1
  50. package/build/contracts/IPureSuperToken.json +1 -1
  51. package/build/contracts/IPureSuperTokenCustom.json +1 -1
  52. package/build/contracts/IRelayRecipient.json +1 -1
  53. package/build/contracts/IResolver.json +1 -1
  54. package/build/contracts/ISETH.json +1 -1
  55. package/build/contracts/ISETHCustom.json +1 -1
  56. package/build/contracts/ISuperAgreement.json +1 -1
  57. package/build/contracts/ISuperApp.json +1 -1
  58. package/build/contracts/ISuperToken.json +1 -1
  59. package/build/contracts/ISuperTokenFactory.json +1 -1
  60. package/build/contracts/ISuperfluid.json +1 -1
  61. package/build/contracts/ISuperfluidGovernance.json +1 -1
  62. package/build/contracts/ISuperfluidToken.json +1 -1
  63. package/build/contracts/ITOGAv1.json +2099 -2898
  64. package/build/contracts/ITOGAv2.json +2098 -2897
  65. package/build/contracts/ITOGAv3.json +10990 -0
  66. package/build/contracts/Initializable.json +1 -1
  67. package/build/contracts/InstantDistributionAgreementV1.json +5077 -5077
  68. package/build/contracts/NonClosableOutflowTestApp.json +1469 -1469
  69. package/build/contracts/Ownable.json +1 -1
  70. package/build/contracts/Proxy.json +1 -1
  71. package/build/contracts/PureSuperToken.json +534 -534
  72. package/build/contracts/Resolver.json +885 -885
  73. package/build/contracts/SETHProxy.json +293 -293
  74. package/build/contracts/SafeCast.json +1 -1
  75. package/build/contracts/SafeERC20.json +1 -1
  76. package/build/contracts/SafeMath.json +1 -1
  77. package/build/contracts/SelfDeletingFlowTestApp.json +1566 -1566
  78. package/build/contracts/SlotsBitmapLibrary.json +971 -971
  79. package/build/contracts/StreamRedirector.json +1956 -1956
  80. package/build/contracts/Strings.json +1 -1
  81. package/build/contracts/SuperAppBase.json +1 -1
  82. package/build/contracts/SuperAppDefinitions.json +1 -1
  83. package/build/contracts/SuperToken.json +4575 -4575
  84. package/build/contracts/SuperTokenFactory.json +1753 -1753
  85. package/build/contracts/SuperTokenFactoryBase.json +1 -1
  86. package/build/contracts/SuperTokenFactoryHelper.json +104 -104
  87. package/build/contracts/SuperUpgrader.json +1718 -1718
  88. package/build/contracts/Superfluid.json +4566 -4566
  89. package/build/contracts/SuperfluidFrameworkDeployer.json +2400 -2400
  90. package/build/contracts/SuperfluidGovernanceBase.json +1 -1
  91. package/build/contracts/SuperfluidGovernanceConfigs.json +1 -1
  92. package/build/contracts/SuperfluidGovernanceII.json +2438 -2438
  93. package/build/contracts/SuperfluidGovernanceIIProxy.json +211 -211
  94. package/build/contracts/SuperfluidLoader.json +500 -500
  95. package/build/contracts/SuperfluidToken.json +1 -1
  96. package/build/contracts/TOGA.json +4255 -6226
  97. package/build/contracts/TestGovernance.json +2494 -2494
  98. package/build/contracts/TestResolver.json +964 -964
  99. package/build/contracts/TestToken.json +1478 -1478
  100. package/build/contracts/TokenInfo.json +1 -1
  101. package/build/contracts/UUPSProxiable.json +1 -1
  102. package/build/contracts/UUPSProxy.json +116 -116
  103. package/build/contracts/UUPSUtils.json +1 -1
  104. package/build/typechain/contracts/utils/TOGA.sol/ITOGAv3.d.ts +158 -0
  105. package/build/typechain/contracts/utils/TOGA.sol/ITOGAv3.d.ts.map +1 -0
  106. package/build/typechain/contracts/utils/{TokenCustodian.js → TOGA.sol/ITOGAv3.js} +1 -1
  107. package/build/typechain/contracts/utils/TOGA.sol/ITOGAv3.js.map +1 -0
  108. package/build/typechain/contracts/utils/TOGA.sol/TOGA.d.ts +1 -25
  109. package/build/typechain/contracts/utils/TOGA.sol/TOGA.d.ts.map +1 -1
  110. package/build/typechain/contracts/utils/TOGA.sol/index.d.ts +1 -0
  111. package/build/typechain/contracts/utils/TOGA.sol/index.d.ts.map +1 -1
  112. package/build/typechain/contracts/utils/index.d.ts +0 -1
  113. package/build/typechain/contracts/utils/index.d.ts.map +1 -1
  114. package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.d.ts +36 -0
  115. package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.d.ts.map +1 -0
  116. package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.js +203 -0
  117. package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.js.map +1 -0
  118. package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.d.ts +3 -3
  119. package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.d.ts.map +1 -1
  120. package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.js +5 -36
  121. package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.js.map +1 -1
  122. package/build/typechain/factories/contracts/utils/TOGA.sol/index.d.ts +1 -0
  123. package/build/typechain/factories/contracts/utils/TOGA.sol/index.d.ts.map +1 -1
  124. package/build/typechain/factories/contracts/utils/TOGA.sol/index.js +3 -1
  125. package/build/typechain/factories/contracts/utils/TOGA.sol/index.js.map +1 -1
  126. package/build/typechain/factories/contracts/utils/index.d.ts +0 -1
  127. package/build/typechain/factories/contracts/utils/index.d.ts.map +1 -1
  128. package/build/typechain/factories/contracts/utils/index.js +1 -3
  129. package/build/typechain/factories/contracts/utils/index.js.map +1 -1
  130. package/build/typechain/index.d.ts +2 -2
  131. package/build/typechain/index.d.ts.map +1 -1
  132. package/build/typechain/index.js +3 -3
  133. package/build/typechain/index.js.map +1 -1
  134. package/contracts/utils/TOGA.sol +16 -28
  135. package/package.json +2 -2
  136. package/scripts/deploy-aux-contracts.js +1 -5
  137. package/artifacts/contracts/utils/TokenCustodian.sol/TokenCustodian.json +0 -146
  138. package/build/contracts/TokenCustodian.json +0 -5052
  139. package/build/typechain/contracts/utils/TokenCustodian.d.ts +0 -114
  140. package/build/typechain/contracts/utils/TokenCustodian.d.ts.map +0 -1
  141. package/build/typechain/contracts/utils/TokenCustodian.js.map +0 -1
  142. package/build/typechain/factories/contracts/utils/TokenCustodian__factory.d.ts +0 -56
  143. package/build/typechain/factories/contracts/utils/TokenCustodian__factory.d.ts.map +0 -1
  144. package/build/typechain/factories/contracts/utils/TokenCustodian__factory.js +0 -178
  145. package/build/typechain/factories/contracts/utils/TokenCustodian__factory.js.map +0 -1
  146. package/contracts/utils/TokenCustodian.sol +0 -55
@@ -1913,7 +1913,7 @@
1913
1913
  },
1914
1914
  "networks": {},
1915
1915
  "schemaVersion": "3.4.9",
1916
- "updatedAt": "2022-10-31T18:27:13.787Z",
1916
+ "updatedAt": "2022-11-16T13:27:50.166Z",
1917
1917
  "devdoc": {
1918
1918
  "custom:oz-upgrades-unsafe-allow": "constructor constructor() { _disableInitializers(); } ``` ====",
1919
1919
  "details": "This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. The initialization functions use a version number. Once a version number is used, it is consumed and cannot be reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in case an upgrade adds a module that needs to be initialized. For example: [.hljs-theme-light.nopadding] ``` contract MyToken is ERC20Upgradeable { function initialize() initializer public { __ERC20_init(\"MyToken\", \"MTK\"); } } contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { function initializeV2() reinitializer(2) public { __ERC20Permit_init(\"MyToken\"); } } ``` TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. [CAUTION] ==== Avoid leaving a contract uninitialized. An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: [.hljs-theme-light.nopadding] ```",