@superfluid-finance/ethereum-contracts 1.0.1-dev.d7224df.0 → 1.0.1-dev.fbe38e2.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.
- package/build/contracts/AccessControl.json +1 -1
- package/build/contracts/AccessControlEnumerable.json +1 -1
- package/build/contracts/Address.json +1 -1
- package/build/contracts/AgreementBase.json +19 -19
- package/build/contracts/AgreementLibrary.json +1 -1
- package/build/contracts/BaseRelayRecipient.json +99 -99
- package/build/contracts/BatchLiquidator.json +323 -323
- package/build/contracts/BatchOperation.json +1 -1
- package/build/contracts/CFAv1Library.json +1 -1
- package/build/contracts/CallUtils.json +1 -1
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1 -1
- package/build/contracts/ConstantFlowAgreementV1.json +3 -3
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +1 -1
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +1 -1
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +1 -1
- package/build/contracts/ERC20.json +1 -1
- package/build/contracts/ERC20WithTokenInfo.json +1 -1
- package/build/contracts/ERC721.json +1 -1
- package/build/contracts/ERC777Helper.json +1 -1
- package/build/contracts/ERC777RecipientDrainingGas.json +1 -1
- package/build/contracts/ERC777RecipientReverting.json +1 -1
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/ExclusiveInflowTestApp.json +1 -1
- package/build/contracts/FixedSizeData.json +1 -1
- package/build/contracts/FlowExchangeTestApp.json +1 -1
- package/build/contracts/FullUpgradableSuperTokenProxy.json +193 -193
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +1 -1
- package/build/contracts/IDAv1Library.json +1 -1
- package/build/contracts/IERC165.json +1 -1
- package/build/contracts/IERC1820Implementer.json +1 -1
- package/build/contracts/IERC1820Registry.json +1 -1
- package/build/contracts/IERC20.json +1 -1
- package/build/contracts/IERC20Metadata.json +1 -1
- package/build/contracts/IERC721.json +1 -1
- package/build/contracts/IERC721Metadata.json +1 -1
- package/build/contracts/IERC721Receiver.json +1 -1
- package/build/contracts/IERC777.json +1 -1
- package/build/contracts/IERC777Recipient.json +1 -1
- package/build/contracts/IERC777Sender.json +1 -1
- package/build/contracts/IInstantDistributionAgreementV1.json +1 -1
- package/build/contracts/IMaticBridgedNativeSuperToken.json +1 -1
- package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +1 -1
- package/build/contracts/IMultiSigWallet.json +1 -1
- package/build/contracts/INativeSuperToken.json +1 -1
- package/build/contracts/INativeSuperTokenCustom.json +1 -1
- package/build/contracts/IRelayRecipient.json +1 -1
- package/build/contracts/IResolver.json +1 -1
- package/build/contracts/ISETH.json +1 -1
- package/build/contracts/ISETHCustom.json +1 -1
- package/build/contracts/ISuperAgreement.json +1 -1
- package/build/contracts/ISuperApp.json +1 -1
- package/build/contracts/ISuperToken.json +1 -1
- package/build/contracts/ISuperTokenFactory.json +1 -1
- package/build/contracts/ISuperfluid.json +1 -1
- package/build/contracts/ISuperfluidGovernance.json +1 -1
- package/build/contracts/ISuperfluidToken.json +1 -1
- package/build/contracts/ITOGAv1.json +2351 -2351
- package/build/contracts/ITOGAv2.json +2351 -2351
- package/build/contracts/IWETH.json +1091 -1091
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +3 -3
- package/build/contracts/Int96SafeMath.json +1 -1
- package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +377 -377
- package/build/contracts/MultiFlowApp.json +3087 -3087
- package/build/contracts/NativeSuperTokenProxy.json +171 -171
- package/build/contracts/NonClosableOutflowTestApp.json +1 -1
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/Resolver.json +179 -179
- package/build/contracts/SETHProxy.json +1095 -1095
- package/build/contracts/SETHReceiveLogic.json +1094 -1094
- package/build/contracts/SafeCast.json +1 -1
- package/build/contracts/SafeERC20.json +1 -1
- package/build/contracts/SafeMath.json +1 -1
- package/build/contracts/SelfDeletingFlowTestApp.json +1 -1
- package/build/contracts/SlotsBitmapLibrary.json +1 -1
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +1 -1
- package/build/contracts/SuperAppDefinitions.json +1 -1
- package/build/contracts/SuperToken.json +85 -85
- package/build/contracts/SuperTokenFactory.json +105 -105
- package/build/contracts/SuperTokenFactoryBase.json +105 -105
- package/build/contracts/SuperTokenFactoryHelper.json +105 -105
- package/build/contracts/SuperUpgrader.json +837 -837
- package/build/contracts/Superfluid.json +11131 -9312
- package/build/contracts/SuperfluidGovernanceBase.json +17 -17
- package/build/contracts/SuperfluidGovernanceConfigs.json +1 -1
- package/build/contracts/SuperfluidGovernanceII.json +31 -31
- package/build/contracts/SuperfluidGovernanceIIProxy.json +31 -31
- package/build/contracts/SuperfluidLoader.json +294 -294
- package/build/contracts/SuperfluidToken.json +2411 -2411
- package/build/contracts/TOGA.json +2359 -2359
- package/build/contracts/TestGovernance.json +335 -335
- package/build/contracts/TestToken.json +187 -187
- package/build/contracts/TokenCustodian.json +427 -427
- package/build/contracts/TokenInfo.json +1 -1
- package/build/contracts/UInt128SafeMath.json +1 -1
- package/build/contracts/UUPSProxiable.json +265 -265
- package/build/contracts/UUPSProxy.json +163 -163
- package/build/contracts/UUPSUtils.json +73 -73
- package/build/contracts/strings.json +1 -1
- package/build/contracts-sizes.txt +1 -1
- package/contracts/superfluid/Superfluid.sol +15 -0
- package/package.json +2 -2
- package/scripts/libs/getConfig.js +53 -2
|
@@ -10399,7 +10399,7 @@
|
|
|
10399
10399
|
},
|
|
10400
10400
|
"networks": {},
|
|
10401
10401
|
"schemaVersion": "3.4.4",
|
|
10402
|
-
"updatedAt": "2022-03-
|
|
10402
|
+
"updatedAt": "2022-03-16T15:02:42.155Z",
|
|
10403
10403
|
"devdoc": {
|
|
10404
10404
|
"author": "Superfluid",
|
|
10405
10405
|
"kind": "dev",
|
|
@@ -22431,7 +22431,7 @@
|
|
|
22431
22431
|
},
|
|
22432
22432
|
"networks": {},
|
|
22433
22433
|
"schemaVersion": "3.4.4",
|
|
22434
|
-
"updatedAt": "2022-03-
|
|
22434
|
+
"updatedAt": "2022-03-16T15:02:42.098Z",
|
|
22435
22435
|
"devdoc": {
|
|
22436
22436
|
"author": "Superfluid",
|
|
22437
22437
|
"details": "for working with the constant flow agreement within soliditythe first set of functions are each for callAgreement()the second set of functions are each for use in callAgreementWithContext()",
|
|
@@ -31588,7 +31588,7 @@
|
|
|
31588
31588
|
},
|
|
31589
31589
|
"networks": {},
|
|
31590
31590
|
"schemaVersion": "3.4.4",
|
|
31591
|
-
"updatedAt": "2022-03-
|
|
31591
|
+
"updatedAt": "2022-03-16T15:02:42.226Z",
|
|
31592
31592
|
"devdoc": {
|
|
31593
31593
|
"details": "This is CFA SuperApp that closes an updated flow.",
|
|
31594
31594
|
"kind": "dev",
|
|
@@ -25034,7 +25034,7 @@
|
|
|
25034
25034
|
17519,
|
|
25035
25035
|
6924,
|
|
25036
25036
|
18335,
|
|
25037
|
-
|
|
25037
|
+
36935,
|
|
25038
25038
|
2593
|
|
25039
25039
|
],
|
|
25040
25040
|
"name": "ConstantFlowAgreementV1",
|
|
@@ -60293,7 +60293,7 @@
|
|
|
60293
60293
|
17519,
|
|
60294
60294
|
6924,
|
|
60295
60295
|
18335,
|
|
60296
|
-
|
|
60296
|
+
36935,
|
|
60297
60297
|
2593
|
|
60298
60298
|
],
|
|
60299
60299
|
"name": "ConstantFlowAgreementV1",
|
|
@@ -95199,7 +95199,7 @@
|
|
|
95199
95199
|
},
|
|
95200
95200
|
"networks": {},
|
|
95201
95201
|
"schemaVersion": "3.4.4",
|
|
95202
|
-
"updatedAt": "2022-03-
|
|
95202
|
+
"updatedAt": "2022-03-16T15:02:41.988Z",
|
|
95203
95203
|
"devdoc": {
|
|
95204
95204
|
"author": "Superfluid",
|
|
95205
95205
|
"details": "Please read IConstantFlowAgreementV1 for implementation notes.For more technical notes, please visit protocol-monorepo wiki area.",
|
|
@@ -493,7 +493,7 @@
|
|
|
493
493
|
},
|
|
494
494
|
"networks": {},
|
|
495
495
|
"schemaVersion": "3.4.4",
|
|
496
|
-
"updatedAt": "2022-03-
|
|
496
|
+
"updatedAt": "2022-03-16T15:02:41.956Z",
|
|
497
497
|
"devdoc": {
|
|
498
498
|
"details": "Provides information about the current execution context, including the sender of the transaction and its data. While these are generally available via msg.sender and msg.data, they should not be accessed in such a direct manner, since when dealing with meta-transactions the account sending and paying for execution may not be the actual sender (as far as an application is concerned). This contract is only required for intermediate, library-like contracts.",
|
|
499
499
|
"kind": "dev",
|
|
@@ -10399,7 +10399,7 @@
|
|
|
10399
10399
|
},
|
|
10400
10400
|
"networks": {},
|
|
10401
10401
|
"schemaVersion": "3.4.4",
|
|
10402
|
-
"updatedAt": "2022-03-
|
|
10402
|
+
"updatedAt": "2022-03-16T15:02:42.159Z",
|
|
10403
10403
|
"devdoc": {
|
|
10404
10404
|
"author": "Superfluid",
|
|
10405
10405
|
"kind": "dev",
|
|
@@ -3231,7 +3231,7 @@
|
|
|
3231
3231
|
},
|
|
3232
3232
|
"networks": {},
|
|
3233
3233
|
"schemaVersion": "3.4.4",
|
|
3234
|
-
"updatedAt": "2022-03-
|
|
3234
|
+
"updatedAt": "2022-03-16T15:02:41.956Z",
|
|
3235
3235
|
"devdoc": {
|
|
3236
3236
|
"details": "Helper to make usage of the `CREATE2` EVM opcode easier and safer. `CREATE2` can be used to compute in advance the address where a smart contract will be deployed, which allows for interesting new mechanisms known as 'counterfactual interactions'. See the https://eips.ethereum.org/EIPS/eip-1014#motivation[EIP] for more information.",
|
|
3237
3237
|
"kind": "dev",
|
|
@@ -285,7 +285,7 @@
|
|
|
285
285
|
},
|
|
286
286
|
"networks": {},
|
|
287
287
|
"schemaVersion": "3.4.4",
|
|
288
|
-
"updatedAt": "2022-03-
|
|
288
|
+
"updatedAt": "2022-03-16T15:02:42.154Z",
|
|
289
289
|
"devdoc": {
|
|
290
290
|
"author": "Superfluid NOTE: - Because of how solidity lays out its storage variables and how custom super tokens inherit the SuperToken standard implementation, it is required that the custom token proxy pads its implementation with reserved storage used by the Super Token implementation. - You will need to append your own proxy implementation after the base - Refer to SETH.sol for an example how it is used.",
|
|
291
291
|
"kind": "dev",
|
|
@@ -603,7 +603,7 @@
|
|
|
603
603
|
},
|
|
604
604
|
"networks": {},
|
|
605
605
|
"schemaVersion": "3.4.4",
|
|
606
|
-
"updatedAt": "2022-03-
|
|
606
|
+
"updatedAt": "2022-03-16T15:02:41.961Z",
|
|
607
607
|
"devdoc": {
|
|
608
608
|
"details": "Implementation of the {IERC165} interface. Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check for the additional interface id that will be supported. For example: ```solidity function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); } ``` Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.",
|
|
609
609
|
"kind": "dev",
|
|
@@ -1887,7 +1887,7 @@
|
|
|
1887
1887
|
},
|
|
1888
1888
|
"networks": {},
|
|
1889
1889
|
"schemaVersion": "3.4.4",
|
|
1890
|
-
"updatedAt": "2022-03-
|
|
1890
|
+
"updatedAt": "2022-03-16T15:02:41.961Z",
|
|
1891
1891
|
"devdoc": {
|
|
1892
1892
|
"details": "Implementation of the {IERC1820Implementer} interface. Contracts may inherit from this and call {_registerInterfaceForAddress} to declare their willingness to be implementers. {IERC1820Registry-setInterfaceImplementer} should then be called for the registration to be complete.",
|
|
1893
1893
|
"kind": "dev",
|
|
@@ -20792,7 +20792,7 @@
|
|
|
20792
20792
|
},
|
|
20793
20793
|
"networks": {},
|
|
20794
20794
|
"schemaVersion": "3.4.4",
|
|
20795
|
-
"updatedAt": "2022-03-
|
|
20795
|
+
"updatedAt": "2022-03-16T15:02:41.910Z",
|
|
20796
20796
|
"devdoc": {
|
|
20797
20797
|
"details": "Implementation of the {IERC20} interface. This implementation is agnostic to the way tokens are created. This means that a supply mechanism has to be added in a derived contract using {_mint}. For a generic mechanism see {ERC20PresetMinterPauser}. TIP: For a detailed writeup see our guide https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How to implement supply mechanisms]. We have followed general OpenZeppelin Contracts guidelines: functions revert instead returning `false` on failure. This behavior is nonetheless conventional and does not conflict with the expectations of ERC20 applications. Additionally, an {Approval} event is emitted on calls to {transferFrom}. This allows applications to reconstruct the allowance for all accounts just by listening to said events. Other implementations of the EIP may not emit these events, as it isn't required by the specification. Finally, the non-standard {decreaseAllowance} and {increaseAllowance} functions have been added to mitigate the well-known issues around setting allowances. See {IERC20-approve}.",
|
|
20798
20798
|
"kind": "dev",
|
|
@@ -518,7 +518,7 @@
|
|
|
518
518
|
},
|
|
519
519
|
"networks": {},
|
|
520
520
|
"schemaVersion": "3.4.4",
|
|
521
|
-
"updatedAt": "2022-03-
|
|
521
|
+
"updatedAt": "2022-03-16T15:02:42.189Z",
|
|
522
522
|
"devdoc": {
|
|
523
523
|
"author": "Superfluid",
|
|
524
524
|
"details": "Using abstract contract instead of interfaces because old solidity does not support interface inheriting other interfaces solhint-disable-next-line no-empty-blocks",
|
|
@@ -33160,7 +33160,7 @@
|
|
|
33160
33160
|
},
|
|
33161
33161
|
"networks": {},
|
|
33162
33162
|
"schemaVersion": "3.4.4",
|
|
33163
|
-
"updatedAt": "2022-03-
|
|
33163
|
+
"updatedAt": "2022-03-16T15:02:41.925Z",
|
|
33164
33164
|
"devdoc": {
|
|
33165
33165
|
"details": "Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including the Metadata extension, but not including the Enumerable extension, which is available separately as {ERC721Enumerable}.",
|
|
33166
33166
|
"kind": "dev",
|
|
@@ -17678,7 +17678,7 @@
|
|
|
17678
17678
|
},
|
|
17679
17679
|
"networks": {},
|
|
17680
17680
|
"schemaVersion": "3.4.4",
|
|
17681
|
-
"updatedAt": "2022-03-
|
|
17681
|
+
"updatedAt": "2022-03-16T15:02:42.363Z",
|
|
17682
17682
|
"devdoc": {
|
|
17683
17683
|
"kind": "dev",
|
|
17684
17684
|
"methods": {},
|
|
@@ -17787,7 +17787,7 @@
|
|
|
17787
17787
|
},
|
|
17788
17788
|
"networks": {},
|
|
17789
17789
|
"schemaVersion": "3.4.4",
|
|
17790
|
-
"updatedAt": "2022-03-
|
|
17790
|
+
"updatedAt": "2022-03-16T15:02:42.370Z",
|
|
17791
17791
|
"devdoc": {
|
|
17792
17792
|
"kind": "dev",
|
|
17793
17793
|
"methods": {},
|
|
@@ -14101,7 +14101,7 @@
|
|
|
14101
14101
|
},
|
|
14102
14102
|
"networks": {},
|
|
14103
14103
|
"schemaVersion": "3.4.4",
|
|
14104
|
-
"updatedAt": "2022-03-
|
|
14104
|
+
"updatedAt": "2022-03-16T15:02:41.973Z",
|
|
14105
14105
|
"devdoc": {
|
|
14106
14106
|
"details": "Library for managing https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive types. Sets have the following properties: - Elements are added, removed, and checked for existence in constant time (O(1)). - Elements are enumerated in O(n). No guarantees are made on the ordering. ``` contract Example { // Add the library methods using EnumerableSet for EnumerableSet.AddressSet; // Declare a set state variable EnumerableSet.AddressSet private mySet; } ``` As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) and `uint256` (`UintSet`) are supported.",
|
|
14107
14107
|
"kind": "dev",
|
|
@@ -31742,7 +31742,7 @@
|
|
|
31742
31742
|
},
|
|
31743
31743
|
"networks": {},
|
|
31744
31744
|
"schemaVersion": "3.4.4",
|
|
31745
|
-
"updatedAt": "2022-03-
|
|
31745
|
+
"updatedAt": "2022-03-16T15:02:42.239Z",
|
|
31746
31746
|
"devdoc": {
|
|
31747
31747
|
"details": "This is a CFA SuperApp that maintains at most one inflow from a sender at any moment. This can test the deposit allowance logic in the deleteFlow as a recipient.",
|
|
31748
31748
|
"kind": "dev",
|
|
@@ -3659,7 +3659,7 @@
|
|
|
3659
3659
|
},
|
|
3660
3660
|
"networks": {},
|
|
3661
3661
|
"schemaVersion": "3.4.4",
|
|
3662
|
-
"updatedAt": "2022-03-
|
|
3662
|
+
"updatedAt": "2022-03-16T15:02:42.203Z",
|
|
3663
3663
|
"devdoc": {
|
|
3664
3664
|
"author": "Superfluid When using solidity dynamic array, first word is used to store the length of the array. For use cases that the length doesn't change, it is better to use a fixed size data premitive. To use this library: - The pointer to the storage is `slot`, the user could use `keccak256(abi.encode(...))` scheme to create collision-free slot ID for locating the data. - To load data, or erase data and get all gas refund, data length is always required.",
|
|
3665
3665
|
"kind": "dev",
|
|
@@ -32373,7 +32373,7 @@
|
|
|
32373
32373
|
},
|
|
32374
32374
|
"networks": {},
|
|
32375
32375
|
"schemaVersion": "3.4.4",
|
|
32376
|
-
"updatedAt": "2022-03-
|
|
32376
|
+
"updatedAt": "2022-03-16T15:02:42.254Z",
|
|
32377
32377
|
"devdoc": {
|
|
32378
32378
|
"kind": "dev",
|
|
32379
32379
|
"methods": {},
|