@superfluid-finance/ethereum-contracts 1.3.2-dev.d249828.0 → 1.3.2-dev.de7575d.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 (111) hide show
  1. package/build/contracts/AccessControl.json +1 -1
  2. package/build/contracts/AccessControlEnumerable.json +1 -1
  3. package/build/contracts/Address.json +1 -1
  4. package/build/contracts/AgreementBase.json +1 -1
  5. package/build/contracts/AgreementLibrary.json +1 -1
  6. package/build/contracts/BaseRelayRecipient.json +1 -1
  7. package/build/contracts/BatchLiquidator.json +1 -1
  8. package/build/contracts/BatchOperation.json +1 -1
  9. package/build/contracts/CFAv1Library.json +1 -1
  10. package/build/contracts/CallUtils.json +1 -1
  11. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1 -1
  12. package/build/contracts/ConstantFlowAgreementV1.json +1 -1
  13. package/build/contracts/Context.json +1 -1
  14. package/build/contracts/ContextDefinitions.json +1 -1
  15. package/build/contracts/Create2.json +1 -1
  16. package/build/contracts/CustomSuperTokenBase.json +1 -1
  17. package/build/contracts/ERC165.json +1 -1
  18. package/build/contracts/ERC1820Implementer.json +1 -1
  19. package/build/contracts/ERC1820RegistryCompiled.json +1 -1
  20. package/build/contracts/ERC20.json +1 -1
  21. package/build/contracts/ERC20Burnable.json +1 -1
  22. package/build/contracts/ERC20Pausable.json +1 -1
  23. package/build/contracts/ERC20PresetMinterPauser.json +1 -1
  24. package/build/contracts/ERC20WithTokenInfo.json +1 -1
  25. package/build/contracts/ERC777Helper.json +1 -1
  26. package/build/contracts/ERC777RecipientDrainingGas.json +1 -1
  27. package/build/contracts/ERC777RecipientReverting.json +1 -1
  28. package/build/contracts/EnumerableSet.json +1 -1
  29. package/build/contracts/EventsEmitter.json +1 -1
  30. package/build/contracts/ExclusiveInflowTestApp.json +1 -1
  31. package/build/contracts/FixedSizeData.json +1 -1
  32. package/build/contracts/FlowExchangeTestApp.json +1 -1
  33. package/build/contracts/FlowOperatorDefinitions.json +1 -1
  34. package/build/contracts/FullUpgradableSuperTokenProxy.json +1 -1
  35. package/build/contracts/IAccessControl.json +1 -1
  36. package/build/contracts/IAccessControlEnumerable.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/IMaticBridgedNativeSuperToken.json +1 -1
  50. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +1 -1
  51. package/build/contracts/IMultiSigWallet.json +1 -1
  52. package/build/contracts/IPureSuperToken.json +1 -1
  53. package/build/contracts/IPureSuperTokenCustom.json +1 -1
  54. package/build/contracts/IRelayRecipient.json +1 -1
  55. package/build/contracts/IResolver.json +1 -1
  56. package/build/contracts/ISETH.json +1 -1
  57. package/build/contracts/ISETHCustom.json +1 -1
  58. package/build/contracts/ISuperAgreement.json +1 -1
  59. package/build/contracts/ISuperApp.json +1 -1
  60. package/build/contracts/ISuperToken.json +1 -1
  61. package/build/contracts/ISuperTokenFactory.json +1 -1
  62. package/build/contracts/ISuperfluid.json +1 -1
  63. package/build/contracts/ISuperfluidGovernance.json +1 -1
  64. package/build/contracts/ISuperfluidToken.json +1 -1
  65. package/build/contracts/ITOGAv1.json +1 -1
  66. package/build/contracts/ITOGAv2.json +1 -1
  67. package/build/contracts/Initializable.json +1 -1
  68. package/build/contracts/InstantDistributionAgreementV1.json +1 -1
  69. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +1 -1
  70. package/build/contracts/NonClosableOutflowTestApp.json +1 -1
  71. package/build/contracts/Ownable.json +1 -1
  72. package/build/contracts/Pausable.json +1 -1
  73. package/build/contracts/Proxy.json +1 -1
  74. package/build/contracts/PureSuperToken.json +1 -1
  75. package/build/contracts/Resolver.json +1 -1
  76. package/build/contracts/SETHProxy.json +1 -1
  77. package/build/contracts/SafeCast.json +1 -1
  78. package/build/contracts/SafeERC20.json +1 -1
  79. package/build/contracts/SafeMath.json +1 -1
  80. package/build/contracts/SelfDeletingFlowTestApp.json +1 -1
  81. package/build/contracts/SlotsBitmapLibrary.json +1 -1
  82. package/build/contracts/StreamRedirector.json +1 -1
  83. package/build/contracts/Strings.json +1 -1
  84. package/build/contracts/SuperAppBase.json +1 -1
  85. package/build/contracts/SuperAppDefinitions.json +1 -1
  86. package/build/contracts/SuperToken.json +1 -1
  87. package/build/contracts/SuperTokenFactory.json +1 -1
  88. package/build/contracts/SuperTokenFactoryBase.json +1 -1
  89. package/build/contracts/SuperTokenFactoryHelper.json +1 -1
  90. package/build/contracts/SuperUpgrader.json +1 -1
  91. package/build/contracts/Superfluid.json +1 -1
  92. package/build/contracts/SuperfluidFrameworkDeployer.json +1 -1
  93. package/build/contracts/SuperfluidGovernanceBase.json +1 -1
  94. package/build/contracts/SuperfluidGovernanceConfigs.json +1 -1
  95. package/build/contracts/SuperfluidGovernanceII.json +1 -1
  96. package/build/contracts/SuperfluidGovernanceIIProxy.json +1 -1
  97. package/build/contracts/SuperfluidLoader.json +1 -1
  98. package/build/contracts/SuperfluidToken.json +1 -1
  99. package/build/contracts/TOGA.json +1 -1
  100. package/build/contracts/TestGovernance.json +1 -1
  101. package/build/contracts/TestToken.json +1 -1
  102. package/build/contracts/TokenCustodian.json +1 -1
  103. package/build/contracts/TokenInfo.json +1 -1
  104. package/build/contracts/UUPSProxiable.json +1 -1
  105. package/build/contracts/UUPSProxy.json +1 -1
  106. package/build/contracts/UUPSUtils.json +1 -1
  107. package/build/contracts-sizes.txt +5 -5
  108. package/package.json +2 -2
  109. package/scripts/libs/getConfig.js +14 -0
  110. package/utils/README.md +2 -2
  111. package/utils/mfa-tester.html +2 -20
@@ -1657,7 +1657,7 @@
1657
1657
  },
1658
1658
  "networks": {},
1659
1659
  "schemaVersion": "3.4.8",
1660
- "updatedAt": "2022-08-15T13:14:01.731Z",
1660
+ "updatedAt": "2022-08-25T14:16:53.027Z",
1661
1661
  "devdoc": {
1662
1662
  "author": "Superfluid",
1663
1663
  "details": "Be aware of the app being jailed, when the word permitted is used.",
@@ -5729,7 +5729,7 @@
5729
5729
  },
5730
5730
  "networks": {},
5731
5731
  "schemaVersion": "3.4.8",
5732
- "updatedAt": "2022-08-15T13:14:01.732Z",
5732
+ "updatedAt": "2022-08-25T14:16:53.028Z",
5733
5733
  "devdoc": {
5734
5734
  "author": "Superfluid",
5735
5735
  "events": {
@@ -1128,7 +1128,7 @@
1128
1128
  },
1129
1129
  "networks": {},
1130
1130
  "schemaVersion": "3.4.8",
1131
- "updatedAt": "2022-08-15T13:14:01.735Z",
1131
+ "updatedAt": "2022-08-25T14:16:53.031Z",
1132
1132
  "devdoc": {
1133
1133
  "author": "Superfluid",
1134
1134
  "events": {
@@ -6330,7 +6330,7 @@
6330
6330
  },
6331
6331
  "networks": {},
6332
6332
  "schemaVersion": "3.4.8",
6333
- "updatedAt": "2022-08-15T13:14:01.735Z",
6333
+ "updatedAt": "2022-08-25T14:16:53.032Z",
6334
6334
  "devdoc": {
6335
6335
  "author": "Superfluid",
6336
6336
  "events": {
@@ -1621,7 +1621,7 @@
1621
1621
  },
1622
1622
  "networks": {},
1623
1623
  "schemaVersion": "3.4.8",
1624
- "updatedAt": "2022-08-15T13:14:01.738Z",
1624
+ "updatedAt": "2022-08-25T14:16:53.035Z",
1625
1625
  "devdoc": {
1626
1626
  "author": "Superfluid",
1627
1627
  "kind": "dev",
@@ -3918,7 +3918,7 @@
3918
3918
  },
3919
3919
  "networks": {},
3920
3920
  "schemaVersion": "3.4.8",
3921
- "updatedAt": "2022-08-15T13:14:01.739Z",
3921
+ "updatedAt": "2022-08-25T14:16:53.036Z",
3922
3922
  "devdoc": {
3923
3923
  "author": "Superfluid",
3924
3924
  "events": {
@@ -11483,7 +11483,7 @@
11483
11483
  },
11484
11484
  "networks": {},
11485
11485
  "schemaVersion": "3.4.8",
11486
- "updatedAt": "2022-08-15T13:14:02.182Z",
11486
+ "updatedAt": "2022-08-25T14:16:53.545Z",
11487
11487
  "devdoc": {
11488
11488
  "author": "Superfluid",
11489
11489
  "details": "TOGA is a simple implementation of a continuous auction. It's used to designate PICs (Patrician In Charge) - a role defined per Super Token. Anybody can become the PIC for a Super Token by staking the highest bond (denominated in the token). Staking is done by simply using ERC777.send(), transferring the bond amount to be staked to this contract. Via userData parameter (abi-encoded int96), an exitRate can be defined. If omitted, a default will be chosen. The exitRate is the flowrate at which the bond is streamed back to the PIC. Any rewards accrued by this contract (in general the whole token balance) become part of the bond. When a PIC is outbid, the current bond is transferred to it with ERC777.send(). changes in v2: In case that send() fails (e.g. due to a reverting hook), the bond is transferred to a custodian contract. Funds accumulated there can be withdrawn from there at any time. The current PIC can increase its bond by sending more funds using ERC777.send().",
@@ -11515,7 +11515,7 @@
11515
11515
  },
11516
11516
  "networks": {},
11517
11517
  "schemaVersion": "3.4.8",
11518
- "updatedAt": "2022-08-15T13:14:02.187Z",
11518
+ "updatedAt": "2022-08-25T14:16:53.551Z",
11519
11519
  "devdoc": {
11520
11520
  "events": {
11521
11521
  "BondIncreased(address,uint256)": {
@@ -1897,7 +1897,7 @@
1897
1897
  },
1898
1898
  "networks": {},
1899
1899
  "schemaVersion": "3.4.8",
1900
- "updatedAt": "2022-08-15T13:14:01.560Z",
1900
+ "updatedAt": "2022-08-25T14:16:52.840Z",
1901
1901
  "devdoc": {
1902
1902
  "custom:oz-upgrades-unsafe-allow": "constructor constructor() { _disableInitializers(); } ``` ====",
1903
1903
  "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] ```",
@@ -74946,7 +74946,7 @@
74946
74946
  },
74947
74947
  "networks": {},
74948
74948
  "schemaVersion": "3.4.8",
74949
- "updatedAt": "2022-08-15T13:14:01.647Z",
74949
+ "updatedAt": "2022-08-25T14:16:52.934Z",
74950
74950
  "devdoc": {
74951
74951
  "author": "Superfluid",
74952
74952
  "details": "Please read IInstantDistributionAgreementV1 for implementation notes.For more technical notes, please visit protocol-monorepo wiki area.",
@@ -5534,7 +5534,7 @@
5534
5534
  },
5535
5535
  "networks": {},
5536
5536
  "schemaVersion": "3.4.8",
5537
- "updatedAt": "2022-08-15T13:14:02.150Z",
5537
+ "updatedAt": "2022-08-25T14:16:53.510Z",
5538
5538
  "devdoc": {
5539
5539
  "author": "Superfluid",
5540
5540
  "details": "Native SuperToken with interfaces for the Matic POS bridge to mint and burn.See https://docs.polygon.technology/docs/develop/ethereum-matic/pos/mapping-assets/",
@@ -19967,7 +19967,7 @@
19967
19967
  },
19968
19968
  "networks": {},
19969
19969
  "schemaVersion": "3.4.8",
19970
- "updatedAt": "2022-08-15T13:14:01.798Z",
19970
+ "updatedAt": "2022-08-25T14:16:53.105Z",
19971
19971
  "devdoc": {
19972
19972
  "details": "This is CFA SuperApp that refuses to close its outflow by its receiver. This test the logic that the app re-opens the same stream in the termination callback. In reality, the app would have to fund the app with enough tokens to not to be jailed due to low balance.",
19973
19973
  "kind": "dev",
@@ -1373,7 +1373,7 @@
1373
1373
  },
1374
1374
  "networks": {},
1375
1375
  "schemaVersion": "3.4.8",
1376
- "updatedAt": "2022-08-15T13:14:01.558Z",
1376
+ "updatedAt": "2022-08-25T14:16:52.838Z",
1377
1377
  "devdoc": {
1378
1378
  "details": "Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. By default, the owner account will be the one that deploys the contract. This can later be changed with {transferOwnership}. This module is used through inheritance. It will make available the modifier `onlyOwner`, which can be applied to your functions to restrict their use to the owner.",
1379
1379
  "kind": "dev",
@@ -1197,7 +1197,7 @@
1197
1197
  },
1198
1198
  "networks": {},
1199
1199
  "schemaVersion": "3.4.8",
1200
- "updatedAt": "2022-08-15T13:14:01.561Z",
1200
+ "updatedAt": "2022-08-25T14:16:52.841Z",
1201
1201
  "devdoc": {
1202
1202
  "details": "Contract module which allows children to implement an emergency stop mechanism that can be triggered by an authorized account. This module is used through inheritance. It will make available the modifiers `whenNotPaused` and `whenPaused`, which can be applied to the functions of your contract. Note that they will not be pausable by simply including this module, only once the modifiers are put in place.",
1203
1203
  "events": {
@@ -808,7 +808,7 @@
808
808
  },
809
809
  "networks": {},
810
810
  "schemaVersion": "3.4.8",
811
- "updatedAt": "2022-08-15T13:14:01.559Z",
811
+ "updatedAt": "2022-08-25T14:16:52.839Z",
812
812
  "devdoc": {
813
813
  "details": "This abstract contract provides a fallback function that delegates all calls to another contract using the EVM instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to be specified by overriding the virtual {_implementation} function. Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a different contract through the {_delegate} function. The success and return data of the delegated call will be returned back to the caller of the proxy.",
814
814
  "kind": "dev",
@@ -3928,7 +3928,7 @@
3928
3928
  },
3929
3929
  "networks": {},
3930
3930
  "schemaVersion": "3.4.8",
3931
- "updatedAt": "2022-08-15T13:14:02.153Z",
3931
+ "updatedAt": "2022-08-25T14:16:53.513Z",
3932
3932
  "devdoc": {
3933
3933
  "author": "Superfluid",
3934
3934
  "details": "This is a simple implementation where the supply is pre-minted.",
@@ -6214,7 +6214,7 @@
6214
6214
  },
6215
6215
  "networks": {},
6216
6216
  "schemaVersion": "3.4.8",
6217
- "updatedAt": "2022-08-15T13:14:02.161Z",
6217
+ "updatedAt": "2022-08-25T14:16:53.522Z",
6218
6218
  "devdoc": {
6219
6219
  "author": "Superfluid",
6220
6220
  "details": "A simple implementation of IResolver using OZ AccessControl NOTE: Relevant events for indexing: - OZ Access Control events `RoleGranted`/`RoleRevoked`: admin add/remove - IResolver event `Set`: resolver name updates",
@@ -3854,7 +3854,7 @@
3854
3854
  },
3855
3855
  "networks": {},
3856
3856
  "schemaVersion": "3.4.8",
3857
- "updatedAt": "2022-08-15T13:14:02.155Z",
3857
+ "updatedAt": "2022-08-25T14:16:53.515Z",
3858
3858
  "devdoc": {
3859
3859
  "author": "Superfluid It is also called a Native-Asset Super Token.",
3860
3860
  "details": "Super ETH (SETH) custom super token implementation",
@@ -24260,7 +24260,7 @@
24260
24260
  },
24261
24261
  "networks": {},
24262
24262
  "schemaVersion": "3.4.8",
24263
- "updatedAt": "2022-08-15T13:14:01.588Z",
24263
+ "updatedAt": "2022-08-25T14:16:52.871Z",
24264
24264
  "devdoc": {
24265
24265
  "details": "Wrappers over Solidity's uintXX/intXX casting operators with added overflow checks. Downcasting from uint256/int256 in Solidity does not revert on overflow. This can easily result in undesired exploitation or bugs, since developers usually assume that overflows raise errors. `SafeCast` restores this intuition by reverting the transaction when such an operation overflows. Using this library instead of the unchecked operations eliminates an entire class of bugs, so it's recommended to use it always. Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing all math on `uint256` and `int256` and then downcasting.",
24266
24266
  "kind": "dev",
@@ -3827,7 +3827,7 @@
3827
3827
  },
3828
3828
  "networks": {},
3829
3829
  "schemaVersion": "3.4.8",
3830
- "updatedAt": "2022-08-15T13:14:01.576Z",
3830
+ "updatedAt": "2022-08-25T14:16:52.858Z",
3831
3831
  "devdoc": {
3832
3832
  "details": "Wrappers around ERC20 operations that throw on failure (when the token contract returns false). Tokens that return no value (and instead revert or throw on failure) are also supported, non-reverting calls are assumed to be successful. To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, which allows you to call the safe operations as `token.safeTransfer(...)`, etc.",
3833
3833
  "kind": "dev",
@@ -3770,7 +3770,7 @@
3770
3770
  },
3771
3771
  "networks": {},
3772
3772
  "schemaVersion": "3.4.8",
3773
- "updatedAt": "2022-08-15T13:14:01.599Z",
3773
+ "updatedAt": "2022-08-25T14:16:52.883Z",
3774
3774
  "devdoc": {
3775
3775
  "details": "Wrappers over Solidity's arithmetic operations. NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler now has built in overflow checking.",
3776
3776
  "kind": "dev",
@@ -20466,7 +20466,7 @@
20466
20466
  },
20467
20467
  "networks": {},
20468
20468
  "schemaVersion": "3.4.8",
20469
- "updatedAt": "2022-08-15T13:14:01.806Z",
20469
+ "updatedAt": "2022-08-25T14:16:53.114Z",
20470
20470
  "devdoc": {
20471
20471
  "details": "This is CFA SuperApp that refuses to accept any opening flow without reverting them.",
20472
20472
  "kind": "dev",
@@ -9785,7 +9785,7 @@
9785
9785
  },
9786
9786
  "networks": {},
9787
9787
  "schemaVersion": "3.4.8",
9788
- "updatedAt": "2022-08-15T13:14:01.753Z",
9788
+ "updatedAt": "2022-08-25T14:16:53.052Z",
9789
9789
  "devdoc": {
9790
9790
  "author": "Superfluid",
9791
9791
  "details": "A library implements slots bitmap on Superfluid Token storage NOTE: - A slots bitmap allows you to iterate through a list of data efficiently. - A data slot can be enabled or disabled with the help of bitmap. - MAX_NUM_SLOTS is 256 in this implementation (using one uint256) - Superfluid token storage usage: - getAgreementStateSlot(bitmapStateSlotId) stores the bitmap of enabled data slots - getAgreementStateSlot(dataStateSlotIDStart + stotId) stores the data of the slot",
@@ -16796,7 +16796,7 @@
16796
16796
  },
16797
16797
  "networks": {},
16798
16798
  "schemaVersion": "3.4.8",
16799
- "updatedAt": "2022-08-15T13:14:01.909Z",
16799
+ "updatedAt": "2022-08-25T14:16:53.230Z",
16800
16800
  "devdoc": {
16801
16801
  "kind": "dev",
16802
16802
  "methods": {
@@ -2867,7 +2867,7 @@
2867
2867
  },
2868
2868
  "networks": {},
2869
2869
  "schemaVersion": "3.4.8",
2870
- "updatedAt": "2022-08-15T13:14:01.584Z",
2870
+ "updatedAt": "2022-08-25T14:16:52.866Z",
2871
2871
  "devdoc": {
2872
2872
  "details": "String operations.",
2873
2873
  "kind": "dev",
@@ -2130,7 +2130,7 @@
2130
2130
  },
2131
2131
  "networks": {},
2132
2132
  "schemaVersion": "3.4.8",
2133
- "updatedAt": "2022-08-15T13:14:01.697Z",
2133
+ "updatedAt": "2022-08-25T14:16:52.988Z",
2134
2134
  "devdoc": {
2135
2135
  "kind": "dev",
2136
2136
  "methods": {},
@@ -6477,7 +6477,7 @@
6477
6477
  },
6478
6478
  "networks": {},
6479
6479
  "schemaVersion": "3.4.8",
6480
- "updatedAt": "2022-08-15T13:14:01.726Z",
6480
+ "updatedAt": "2022-08-25T14:16:53.021Z",
6481
6481
  "devdoc": {
6482
6482
  "author": "Superfluid",
6483
6483
  "kind": "dev",
@@ -50942,7 +50942,7 @@
50942
50942
  },
50943
50943
  "networks": {},
50944
50944
  "schemaVersion": "3.4.8",
50945
- "updatedAt": "2022-08-15T13:14:02.087Z",
50945
+ "updatedAt": "2022-08-25T14:16:53.438Z",
50946
50946
  "devdoc": {
50947
50947
  "author": "Superfluid",
50948
50948
  "kind": "dev",
@@ -11270,7 +11270,7 @@
11270
11270
  },
11271
11271
  "networks": {},
11272
11272
  "schemaVersion": "3.4.8",
11273
- "updatedAt": "2022-08-15T13:14:02.106Z",
11273
+ "updatedAt": "2022-08-25T14:16:53.460Z",
11274
11274
  "devdoc": {
11275
11275
  "kind": "dev",
11276
11276
  "methods": {
@@ -4993,7 +4993,7 @@
4993
4993
  },
4994
4994
  "networks": {},
4995
4995
  "schemaVersion": "3.4.8",
4996
- "updatedAt": "2022-08-15T13:14:02.112Z",
4996
+ "updatedAt": "2022-08-25T14:16:53.466Z",
4997
4997
  "devdoc": {
4998
4998
  "kind": "dev",
4999
4999
  "methods": {
@@ -5347,7 +5347,7 @@
5347
5347
  },
5348
5348
  "networks": {},
5349
5349
  "schemaVersion": "3.4.8",
5350
- "updatedAt": "2022-08-15T13:14:02.114Z",
5350
+ "updatedAt": "2022-08-25T14:16:53.469Z",
5351
5351
  "devdoc": {
5352
5352
  "kind": "dev",
5353
5353
  "methods": {},
@@ -14346,7 +14346,7 @@
14346
14346
  },
14347
14347
  "networks": {},
14348
14348
  "schemaVersion": "3.4.8",
14349
- "updatedAt": "2022-08-15T13:14:02.164Z",
14349
+ "updatedAt": "2022-08-25T14:16:53.526Z",
14350
14350
  "devdoc": {
14351
14351
  "author": "Superfluid NOTE: - User would need to first SuperToken.approve the `SuperUpgrader` for the job. - Using access control to allow multiple backend agent to upgrade tokens for the users - Risk taken by the user is that the underlying tokens are converted to the Super Tokens by the upgrader agents.",
14352
14352
  "kind": "dev",
@@ -70967,7 +70967,7 @@
70967
70967
  },
70968
70968
  "networks": {},
70969
70969
  "schemaVersion": "3.4.8",
70970
- "updatedAt": "2022-08-15T13:14:02.117Z",
70970
+ "updatedAt": "2022-08-25T14:16:53.472Z",
70971
70971
  "devdoc": {
70972
70972
  "author": "Superfluid",
70973
70973
  "details": "The Superfluid host implementation. NOTE: - Please read ISuperfluid for implementation notes. - For some deeper technical notes, please visit protocol-monorepo wiki area.",
@@ -12671,7 +12671,7 @@
12671
12671
  },
12672
12672
  "networks": {},
12673
12673
  "schemaVersion": "3.4.8",
12674
- "updatedAt": "2022-08-15T13:14:02.170Z",
12674
+ "updatedAt": "2022-08-25T14:16:53.533Z",
12675
12675
  "devdoc": {
12676
12676
  "kind": "dev",
12677
12677
  "methods": {},
@@ -15570,7 +15570,7 @@
15570
15570
  },
15571
15571
  "networks": {},
15572
15572
  "schemaVersion": "3.4.8",
15573
- "updatedAt": "2022-08-15T13:14:01.698Z",
15573
+ "updatedAt": "2022-08-25T14:16:52.990Z",
15574
15574
  "devdoc": {
15575
15575
  "author": "Superfluid",
15576
15576
  "kind": "dev",
@@ -6477,7 +6477,7 @@
6477
6477
  },
6478
6478
  "networks": {},
6479
6479
  "schemaVersion": "3.4.8",
6480
- "updatedAt": "2022-08-15T13:14:01.728Z",
6480
+ "updatedAt": "2022-08-25T14:16:53.024Z",
6481
6481
  "devdoc": {
6482
6482
  "author": "Superfluid",
6483
6483
  "kind": "dev",
@@ -13527,7 +13527,7 @@
13527
13527
  },
13528
13528
  "networks": {},
13529
13529
  "schemaVersion": "3.4.8",
13530
- "updatedAt": "2022-08-15T13:14:01.705Z",
13530
+ "updatedAt": "2022-08-25T14:16:52.997Z",
13531
13531
  "devdoc": {
13532
13532
  "kind": "dev",
13533
13533
  "methods": {
@@ -2163,7 +2163,7 @@
2163
2163
  },
2164
2164
  "networks": {},
2165
2165
  "schemaVersion": "3.4.8",
2166
- "updatedAt": "2022-08-15T13:14:01.710Z",
2166
+ "updatedAt": "2022-08-25T14:16:53.004Z",
2167
2167
  "devdoc": {
2168
2168
  "author": "Superfluid IMPORTANT! Make sure the inheritance order remains in sync with the logic contract (Ownable first)!",
2169
2169
  "kind": "dev",
@@ -4098,7 +4098,7 @@
4098
4098
  },
4099
4099
  "networks": {},
4100
4100
  "schemaVersion": "3.4.8",
4101
- "updatedAt": "2022-08-15T13:14:02.179Z",
4101
+ "updatedAt": "2022-08-25T14:16:53.543Z",
4102
4102
  "devdoc": {
4103
4103
  "author": "Superfluid",
4104
4104
  "details": "A on-chain utility contract for loading framework objects in one view function. NOTE: Q: Why don't we just use https://www.npmjs.com/package/ethereum-multicall? A: Well, no strong reason other than also allowing on-chain one view function loading.",
@@ -12386,7 +12386,7 @@
12386
12386
  },
12387
12387
  "networks": {},
12388
12388
  "schemaVersion": "3.4.8",
12389
- "updatedAt": "2022-08-15T13:14:02.145Z",
12389
+ "updatedAt": "2022-08-25T14:16:53.504Z",
12390
12390
  "devdoc": {
12391
12391
  "author": "Superfluid",
12392
12392
  "kind": "dev",
@@ -22831,7 +22831,7 @@
22831
22831
  },
22832
22832
  "networks": {},
22833
22833
  "schemaVersion": "3.4.8",
22834
- "updatedAt": "2022-08-15T13:14:02.192Z",
22834
+ "updatedAt": "2022-08-25T14:16:53.557Z",
22835
22835
  "devdoc": {
22836
22836
  "kind": "dev",
22837
22837
  "methods": {
@@ -14458,7 +14458,7 @@
14458
14458
  },
14459
14459
  "networks": {},
14460
14460
  "schemaVersion": "3.4.8",
14461
- "updatedAt": "2022-08-15T13:14:02.201Z",
14461
+ "updatedAt": "2022-08-25T14:16:53.567Z",
14462
14462
  "devdoc": {
14463
14463
  "author": "Superfluid",
14464
14464
  "details": "A initializable version of the governance for testing purpose",
@@ -7271,7 +7271,7 @@
7271
7271
  },
7272
7272
  "networks": {},
7273
7273
  "schemaVersion": "3.4.8",
7274
- "updatedAt": "2022-08-15T13:14:02.207Z",
7274
+ "updatedAt": "2022-08-25T14:16:53.574Z",
7275
7275
  "devdoc": {
7276
7276
  "author": "Superfluid",
7277
7277
  "details": "Test ERC20 token that allows any one mint new tokens.",
@@ -5011,7 +5011,7 @@
5011
5011
  },
5012
5012
  "networks": {},
5013
5013
  "schemaVersion": "3.4.8",
5014
- "updatedAt": "2022-08-15T13:14:02.210Z",
5014
+ "updatedAt": "2022-08-25T14:16:53.577Z",
5015
5015
  "devdoc": {
5016
5016
  "author": "Superfluid",
5017
5017
  "details": "Contract which takes custody of funds which couldn't be sent to the designated recipient",
@@ -291,7 +291,7 @@
291
291
  },
292
292
  "networks": {},
293
293
  "schemaVersion": "3.4.8",
294
- "updatedAt": "2022-08-15T13:14:01.746Z",
294
+ "updatedAt": "2022-08-25T14:16:53.045Z",
295
295
  "devdoc": {
296
296
  "author": "Superfluid",
297
297
  "details": "ERC20 standard interface does not specify these functions, but often the token implementations have them.",
@@ -1326,7 +1326,7 @@
1326
1326
  },
1327
1327
  "networks": {},
1328
1328
  "schemaVersion": "3.4.8",
1329
- "updatedAt": "2022-08-15T13:14:02.157Z",
1329
+ "updatedAt": "2022-08-25T14:16:53.517Z",
1330
1330
  "devdoc": {
1331
1331
  "kind": "dev",
1332
1332
  "methods": {
@@ -1421,7 +1421,7 @@
1421
1421
  },
1422
1422
  "networks": {},
1423
1423
  "schemaVersion": "3.4.8",
1424
- "updatedAt": "2022-08-15T13:14:02.157Z",
1424
+ "updatedAt": "2022-08-25T14:16:53.518Z",
1425
1425
  "devdoc": {
1426
1426
  "kind": "dev",
1427
1427
  "methods": {
@@ -360,7 +360,7 @@
360
360
  },
361
361
  "networks": {},
362
362
  "schemaVersion": "3.4.8",
363
- "updatedAt": "2022-08-15T13:14:02.158Z",
363
+ "updatedAt": "2022-08-25T14:16:53.519Z",
364
364
  "devdoc": {
365
365
  "kind": "dev",
366
366
  "methods": {},
@@ -1,11 +1,11 @@
1
- Superfluid.sol : 22285 (2291)
1
+ SuperTokenFactory.sol : 5370 (19206)
2
2
  FullUpgradableSuperTokenProxy.sol : 606 (23970)
3
- SuperfluidToken.sol : 2 (24574)
3
+ Superfluid.sol : 22285 (2291)
4
4
  SuperToken.sol : 19203 (5373)
5
- SuperTokenFactory.sol : 5370 (19206)
5
+ SuperfluidToken.sol : 2 (24574)
6
+ InstantDistributionAgreementV1.sol : 21835 (2741)
6
7
  AgreementLibrary.sol : 143 (24433)
7
8
  ConstantFlowAgreementV1.sol : 21805 (2771)
8
9
  AgreementBase.sol : 2 (24574)
9
- InstantDistributionAgreementV1.sol : 21835 (2741)
10
- SuperfluidGovernanceBase.sol : 2 (24574)
11
10
  SuperfluidGovernanceII.sol : 7347 (17229)
11
+ SuperfluidGovernanceBase.sol : 2 (24574)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superfluid-finance/ethereum-contracts",
3
- "version": "1.3.2-dev.d249828.0",
3
+ "version": "1.3.2-dev.de7575d.0",
4
4
  "description": " Ethereum contracts implementation for the Superfluid Protocol",
5
5
  "homepage": "https://github.com/superfluid-finance/protocol-monorepo/tree/dev/packages/ethereum-contracts#readme",
6
6
  "repository": {
@@ -57,7 +57,7 @@
57
57
  "dependencies": {
58
58
  "@decentral.ee/web3-helpers": "0.5.3",
59
59
  "@openzeppelin/contracts": "4.7.0",
60
- "@superfluid-finance/js-sdk": "^0.6.3-dev.d249828.0",
60
+ "@superfluid-finance/js-sdk": "^0.6.4-dev.de7575d.0",
61
61
  "@truffle/contract": "4.5.15",
62
62
  "ethereumjs-tx": "2.1.2",
63
63
  "ethereumjs-util": "7.1.5",
@@ -140,6 +140,13 @@ module.exports = function getConfig(chainId) {
140
140
  getLogsRange: 50000,
141
141
  },
142
142
  },
143
+ 420: {
144
+ // optimism testnet (goerli)
145
+ data: {
146
+ initialBlockNumber: 340000,
147
+ getLogsRange: 50000,
148
+ },
149
+ },
143
150
 
144
151
  //
145
152
  // Arbitrum: https://developer.offchainlabs.com
@@ -165,6 +172,13 @@ module.exports = function getConfig(chainId) {
165
172
  getLogsRange: 50000,
166
173
  },
167
174
  },
175
+ 421613: {
176
+ // arbitrum testnet (goerli)
177
+ data: {
178
+ initialBlockNumber: 93000,
179
+ getLogsRange: 50000,
180
+ },
181
+ },
168
182
 
169
183
  //
170
184
  // ARTIS
package/utils/README.md CHANGED
@@ -34,7 +34,7 @@ There are a few steps to complete to get everything up and running:
34
34
  1. Open a terminal window and start a hardhat node instance: `npx hardhat node` in `packages/ethereum-contracts`
35
35
  2. Open another terminal window and deploy contracts and token: `yarn deploy-contracts-local` in `packages/subgraph`
36
36
  3. Deploy MFA contract: `npx hardhat run scripts/deploy-mfa.ts` in `packages/ethereum-contracts`
37
- 4. Build SDK-Core: `yarn build` in `packages/sdk-core` and copy `packages/sdk-core/dist/index.umd.js` into `packages/ethereum-contracts/utils`.
37
+ 4. Build SDK-Core: `yarn build` in `packages/sdk-core` and copy `packages/sdk-core/dist/index.umd.js` into `packages/ethereum-contracts/utils/dist`.
38
38
 
39
39
  > NOTE: There are hardcoded addresses for the resolver and MFA in mfa-tester.html, make sure that these addresses are in sync with what is deployed otherwise it won't work.
40
40
 
@@ -42,4 +42,4 @@ If you have python installed, you can start a webserver with the document root s
42
42
  ```python
43
43
  python -m SimpleHTTPServer 1337
44
44
  ```
45
- Then navigate to http://localhost:1337/mfa-tester.html
45
+ Then navigate to http://localhost:1337/mfa-tester.html