@superfluid-finance/ethereum-contracts 1.7.2-dev.2cebc84.0 → 1.7.2-dev.3a9b0e5.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/README.md +2 -2
- package/artifacts/contracts/apps/SuperAppBaseFlow.sol/SuperAppBaseFlow.json +13 -13
- package/artifacts/contracts/apps/SuperfluidLoaderLibrary.sol/SuperfluidLoaderLibrary.json +2 -2
- package/artifacts/contracts/mocks/SuperAppBaseFlowTester.sol/SuperAppBaseFlowTester.json +15 -15
- 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 +1 -1
- package/build/contracts/AgreementLibrary.json +1 -1
- package/build/contracts/BaseRelayRecipient.json +1 -1
- package/build/contracts/BatchLiquidator.json +1 -1
- package/build/contracts/BatchOperation.json +1 -1
- package/build/contracts/CFAv1Forwarder.json +1 -1
- package/build/contracts/CFAv1ForwarderDeployerLibrary.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 +1 -1
- package/build/contracts/ConstantInflowNFT.json +1 -1
- package/build/contracts/ConstantOutflowNFT.json +1 -1
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.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/ERC1820RegistryCompiled.json +1 -1
- package/build/contracts/ERC20.json +1 -1
- package/build/contracts/ERC20WithTokenInfo.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/EventsEmitter.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/FlowNFTBase.json +1 -1
- package/build/contracts/FlowOperatorDefinitions.json +1 -1
- package/build/contracts/ForwarderBase.json +1 -1
- package/build/contracts/FullUpgradableSuperTokenProxy.json +1 -1
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +1 -1
- package/build/contracts/IConstantInflowNFT.json +1 -1
- package/build/contracts/IConstantOutflowNFT.json +1 -1
- package/build/contracts/IDAv1Forwarder.json +1 -1
- package/build/contracts/IDAv1ForwarderDeployerLibrary.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/IERC20Permit.json +1 -1
- package/build/contracts/IERC721.json +1 -1
- package/build/contracts/IERC721Metadata.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/IFlowNFTBase.json +1 -1
- package/build/contracts/IInstantDistributionAgreementV1.json +1 -1
- package/build/contracts/IMultiSigWallet.json +1 -1
- package/build/contracts/IPoolAdminNFT.json +1 -1
- package/build/contracts/IPoolMemberNFT.json +1 -1
- package/build/contracts/IPureSuperToken.json +1 -1
- package/build/contracts/IPureSuperTokenCustom.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 +1 -1
- package/build/contracts/ITOGAv2.json +1 -1
- package/build/contracts/ITOGAv3.json +1 -1
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +1 -1
- package/build/contracts/Math.json +1 -1
- package/build/contracts/NonClosableOutflowTestApp.json +1 -1
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/ProxyDeployerLibrary.json +1 -1
- package/build/contracts/PureSuperToken.json +1 -1
- package/build/contracts/Resolver.json +1 -1
- package/build/contracts/SETHProxy.json +1 -1
- package/build/contracts/SafeCast.json +1 -1
- package/build/contracts/SafeERC20.json +1 -1
- package/build/contracts/SafeGasLibrary.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/StreamRedirector.json +1 -1
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +1 -1
- package/build/contracts/SuperAppBaseFlow.json +663 -663
- package/build/contracts/SuperAppDefinitions.json +1 -1
- package/build/contracts/SuperToken.json +1 -1
- package/build/contracts/SuperTokenDeployerLibrary.json +1 -1
- package/build/contracts/SuperTokenFactory.json +1 -1
- package/build/contracts/SuperTokenFactoryBase.json +1 -1
- package/build/contracts/SuperTokenV1Library.json +1 -1
- package/build/contracts/SuperUpgrader.json +1 -1
- package/build/contracts/Superfluid.json +1 -1
- package/build/contracts/SuperfluidCFAv1DeployerLibrary.json +1 -1
- package/build/contracts/SuperfluidFrameworkDeployer.json +1 -1
- package/build/contracts/SuperfluidFrameworkDeploymentSteps.json +1 -1
- package/build/contracts/SuperfluidGovDeployerLibrary.json +1 -1
- package/build/contracts/SuperfluidGovernanceBase.json +1 -1
- package/build/contracts/SuperfluidGovernanceConfigs.json +1 -1
- package/build/contracts/SuperfluidGovernanceII.json +1 -1
- package/build/contracts/SuperfluidGovernanceIIProxy.json +1 -1
- package/build/contracts/SuperfluidHostDeployerLibrary.json +1 -1
- package/build/contracts/SuperfluidIDAv1DeployerLibrary.json +1 -1
- package/build/contracts/SuperfluidLoader.json +1 -1
- package/build/contracts/SuperfluidLoaderDeployerLibrary.json +1 -1
- package/build/contracts/SuperfluidLoaderLibrary.json +235 -234
- package/build/contracts/SuperfluidNFTLogicDeployerLibrary.json +1 -1
- package/build/contracts/SuperfluidPeripheryDeployerLibrary.json +1 -1
- package/build/contracts/SuperfluidToken.json +1 -1
- package/build/contracts/TOGA.json +1 -1
- package/build/contracts/TestGovernance.json +1 -1
- package/build/contracts/TestResolver.json +1 -1
- package/build/contracts/TestToken.json +1 -1
- package/build/contracts/TokenDeployerLibrary.json +1 -1
- package/build/contracts/TokenInfo.json +1 -1
- package/build/contracts/UUPSProxiable.json +1 -1
- package/build/contracts/UUPSProxy.json +1 -1
- package/build/contracts/UUPSUtils.json +1 -1
- package/build/typechain/contracts/apps/SuperAppBaseFlow.d.ts +9 -9
- package/build/typechain/contracts/apps/SuperAppBaseFlow.d.ts.map +1 -1
- package/build/typechain/contracts/mocks/SuperAppBaseFlowTester.d.ts +9 -9
- package/build/typechain/contracts/mocks/SuperAppBaseFlowTester.d.ts.map +1 -1
- package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.d.ts +10 -10
- package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.js +13 -13
- package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.js.map +1 -1
- package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.d.ts +11 -11
- package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.d.ts.map +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.js +14 -14
- package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.js.map +1 -1
- package/contracts/apps/SuperAppBaseFlow.sol +8 -8
- package/contracts/apps/SuperfluidLoaderLibrary.sol +1 -1
- package/package.json +4 -3
|
@@ -1036,7 +1036,7 @@
|
|
|
1036
1036
|
},
|
|
1037
1037
|
"networks": {},
|
|
1038
1038
|
"schemaVersion": "3.4.13",
|
|
1039
|
-
"updatedAt": "2023-07-
|
|
1039
|
+
"updatedAt": "2023-07-25T13:37:27.617Z",
|
|
1040
1040
|
"devdoc": {
|
|
1041
1041
|
"details": "External interface of AccessControl declared to support ERC165 detection.",
|
|
1042
1042
|
"events": {
|
|
@@ -522,7 +522,7 @@
|
|
|
522
522
|
},
|
|
523
523
|
"networks": {},
|
|
524
524
|
"schemaVersion": "3.4.13",
|
|
525
|
-
"updatedAt": "2023-07-
|
|
525
|
+
"updatedAt": "2023-07-25T13:37:27.618Z",
|
|
526
526
|
"devdoc": {
|
|
527
527
|
"details": "External interface of AccessControlEnumerable declared to support ERC165 detection.",
|
|
528
528
|
"events": {
|
|
@@ -27559,7 +27559,7 @@
|
|
|
27559
27559
|
},
|
|
27560
27560
|
"networks": {},
|
|
27561
27561
|
"schemaVersion": "3.4.13",
|
|
27562
|
-
"updatedAt": "2023-07-
|
|
27562
|
+
"updatedAt": "2023-07-25T13:37:28.514Z",
|
|
27563
27563
|
"devdoc": {
|
|
27564
27564
|
"author": "Superfluid The IDAv1Forwarder contract provides an easy to use interface to InstantDistributionAgreementV1 specific functionality of Super Tokens. Instances of this contract can operate on the protocol only if configured as \"trusted forwarder\" by protocol governance.",
|
|
27565
27565
|
"kind": "dev",
|
|
@@ -16561,7 +16561,7 @@
|
|
|
16561
16561
|
},
|
|
16562
16562
|
"networks": {},
|
|
16563
16563
|
"schemaVersion": "3.4.13",
|
|
16564
|
-
"updatedAt": "2023-07-
|
|
16564
|
+
"updatedAt": "2023-07-25T13:37:28.561Z",
|
|
16565
16565
|
"devdoc": {
|
|
16566
16566
|
"kind": "dev",
|
|
16567
16567
|
"methods": {
|
|
@@ -18022,7 +18022,7 @@
|
|
|
18022
18022
|
},
|
|
18023
18023
|
"networks": {},
|
|
18024
18024
|
"schemaVersion": "3.4.13",
|
|
18025
|
-
"updatedAt": "2023-07-
|
|
18025
|
+
"updatedAt": "2023-07-25T13:37:27.762Z",
|
|
18026
18026
|
"devdoc": {
|
|
18027
18027
|
"author": "Superfluid",
|
|
18028
18028
|
"details": "Set a variable of type `InitData` in the contract, then call this library's functions directly `initData.functionName()`.",
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
},
|
|
178
178
|
"networks": {},
|
|
179
179
|
"schemaVersion": "3.4.13",
|
|
180
|
-
"updatedAt": "2023-07-
|
|
180
|
+
"updatedAt": "2023-07-25T13:37:27.652Z",
|
|
181
181
|
"devdoc": {
|
|
182
182
|
"details": "Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.",
|
|
183
183
|
"kind": "dev",
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
},
|
|
211
211
|
"networks": {},
|
|
212
212
|
"schemaVersion": "3.4.13",
|
|
213
|
-
"updatedAt": "2023-07-
|
|
213
|
+
"updatedAt": "2023-07-25T13:37:27.652Z",
|
|
214
214
|
"devdoc": {
|
|
215
215
|
"details": "Interface for an ERC1820 implementer, as defined in the https://eips.ethereum.org/EIPS/eip-1820#interface-implementation-erc1820implementerinterface[EIP]. Used by contracts that will be registered as implementers in the {IERC1820Registry}.",
|
|
216
216
|
"kind": "dev",
|
|
@@ -1286,7 +1286,7 @@
|
|
|
1286
1286
|
},
|
|
1287
1287
|
"networks": {},
|
|
1288
1288
|
"schemaVersion": "3.4.13",
|
|
1289
|
-
"updatedAt": "2023-07-
|
|
1289
|
+
"updatedAt": "2023-07-25T13:37:27.652Z",
|
|
1290
1290
|
"devdoc": {
|
|
1291
1291
|
"details": "Interface of the global ERC1820 Registry, as defined in the https://eips.ethereum.org/EIPS/eip-1820[EIP]. Accounts may register implementers for interfaces in this registry, as well as query support. Implementers may be shared by multiple accounts, and can also implement more than a single interface for each account. Contracts can implement interfaces for themselves, but externally-owned accounts (EOA) must delegate this to a contract. {IERC165} interfaces can also be queried via the registry. For an in-depth explanation and source code analysis, see the EIP text.",
|
|
1292
1292
|
"kind": "dev",
|
|
@@ -1116,7 +1116,7 @@
|
|
|
1116
1116
|
},
|
|
1117
1117
|
"networks": {},
|
|
1118
1118
|
"schemaVersion": "3.4.13",
|
|
1119
|
-
"updatedAt": "2023-07-
|
|
1119
|
+
"updatedAt": "2023-07-25T13:37:27.636Z",
|
|
1120
1120
|
"devdoc": {
|
|
1121
1121
|
"details": "Interface of the ERC20 standard as defined in the EIP.",
|
|
1122
1122
|
"events": {
|
|
@@ -506,7 +506,7 @@
|
|
|
506
506
|
},
|
|
507
507
|
"networks": {},
|
|
508
508
|
"schemaVersion": "3.4.13",
|
|
509
|
-
"updatedAt": "2023-07-
|
|
509
|
+
"updatedAt": "2023-07-25T13:37:27.637Z",
|
|
510
510
|
"devdoc": {
|
|
511
511
|
"details": "Interface for the optional metadata functions from the ERC20 standard. _Available since v4.1._",
|
|
512
512
|
"events": {
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
},
|
|
521
521
|
"networks": {},
|
|
522
522
|
"schemaVersion": "3.4.13",
|
|
523
|
-
"updatedAt": "2023-07-
|
|
523
|
+
"updatedAt": "2023-07-25T13:37:27.638Z",
|
|
524
524
|
"devdoc": {
|
|
525
525
|
"details": "Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't need to send a transaction, and thus is not required to hold Ether at all.",
|
|
526
526
|
"kind": "dev",
|
|
@@ -1654,7 +1654,7 @@
|
|
|
1654
1654
|
},
|
|
1655
1655
|
"networks": {},
|
|
1656
1656
|
"schemaVersion": "3.4.13",
|
|
1657
|
-
"updatedAt": "2023-07-
|
|
1657
|
+
"updatedAt": "2023-07-25T13:37:27.643Z",
|
|
1658
1658
|
"devdoc": {
|
|
1659
1659
|
"details": "Required interface of an ERC721 compliant contract.",
|
|
1660
1660
|
"events": {
|
|
@@ -2300,7 +2300,7 @@
|
|
|
2300
2300
|
},
|
|
2301
2301
|
"networks": {},
|
|
2302
2302
|
"schemaVersion": "3.4.13",
|
|
2303
|
-
"updatedAt": "2023-07-
|
|
2303
|
+
"updatedAt": "2023-07-25T13:37:27.644Z",
|
|
2304
2304
|
"devdoc": {
|
|
2305
2305
|
"details": "Interface of the ERC777Token standard as defined in the EIP. This contract uses the https://eips.ethereum.org/EIPS/eip-1820[ERC1820 registry standard] to let token holders and recipients react to token movements by using setting implementers for the associated interfaces in said registry. See {IERC1820Registry} and {ERC1820Implementer}.",
|
|
2306
2306
|
"events": {
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
},
|
|
307
307
|
"networks": {},
|
|
308
308
|
"schemaVersion": "3.4.13",
|
|
309
|
-
"updatedAt": "2023-07-
|
|
309
|
+
"updatedAt": "2023-07-25T13:37:27.646Z",
|
|
310
310
|
"devdoc": {
|
|
311
311
|
"details": "Interface of the ERC777TokensRecipient standard as defined in the EIP. Accounts can be notified of {IERC777} tokens being sent to them by having a contract implement this interface (contract holders can be their own implementer) and registering it on the https://eips.ethereum.org/EIPS/eip-1820[ERC1820 global registry]. See {IERC1820Registry} and {ERC1820Implementer}.",
|
|
312
312
|
"kind": "dev",
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
},
|
|
307
307
|
"networks": {},
|
|
308
308
|
"schemaVersion": "3.4.13",
|
|
309
|
-
"updatedAt": "2023-07-
|
|
309
|
+
"updatedAt": "2023-07-25T13:37:27.646Z",
|
|
310
310
|
"devdoc": {
|
|
311
311
|
"details": "Interface of the ERC777TokensSender standard as defined in the EIP. {IERC777} Token holders can be notified of operations performed on their tokens by having a contract implement this interface (contract holders can be their own implementer) and registering it on the https://eips.ethereum.org/EIPS/eip-1820[ERC1820 global registry]. See {IERC1820Registry} and {ERC1820Implementer}.",
|
|
312
312
|
"kind": "dev",
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
},
|
|
253
253
|
"networks": {},
|
|
254
254
|
"schemaVersion": "3.4.13",
|
|
255
|
-
"updatedAt": "2023-07-
|
|
255
|
+
"updatedAt": "2023-07-25T13:37:27.860Z",
|
|
256
256
|
"devdoc": {
|
|
257
257
|
"author": "Superfluid",
|
|
258
258
|
"details": "A contract must implement this interface in order to support relayed transactionsIt is better to inherit the BaseRelayRecipient as its implementation",
|
|
@@ -1675,7 +1675,7 @@
|
|
|
1675
1675
|
},
|
|
1676
1676
|
"networks": {},
|
|
1677
1677
|
"schemaVersion": "3.4.13",
|
|
1678
|
-
"updatedAt": "2023-07-
|
|
1678
|
+
"updatedAt": "2023-07-25T13:37:27.839Z",
|
|
1679
1679
|
"devdoc": {
|
|
1680
1680
|
"author": "Superfluid",
|
|
1681
1681
|
"details": "Be aware of the app being jailed, when the word permitted is used.",
|
|
@@ -10908,7 +10908,7 @@
|
|
|
10908
10908
|
},
|
|
10909
10909
|
"networks": {},
|
|
10910
10910
|
"schemaVersion": "3.4.13",
|
|
10911
|
-
"updatedAt": "2023-07-
|
|
10911
|
+
"updatedAt": "2023-07-25T13:37:28.666Z",
|
|
10912
10912
|
"devdoc": {
|
|
10913
10913
|
"author": "Superfluid",
|
|
10914
10914
|
"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(). changes in v3: Use ERC20.transfer() instead of ERC777.send() when outbid. This allows us to eliminate the custodian contract and related complexity.",
|
|
@@ -10940,7 +10940,7 @@
|
|
|
10940
10940
|
},
|
|
10941
10941
|
"networks": {},
|
|
10942
10942
|
"schemaVersion": "3.4.13",
|
|
10943
|
-
"updatedAt": "2023-07-
|
|
10943
|
+
"updatedAt": "2023-07-25T13:37:28.673Z",
|
|
10944
10944
|
"devdoc": {
|
|
10945
10945
|
"events": {
|
|
10946
10946
|
"BondIncreased(address,uint256)": {
|
|
@@ -10927,7 +10927,7 @@
|
|
|
10927
10927
|
},
|
|
10928
10928
|
"networks": {},
|
|
10929
10929
|
"schemaVersion": "3.4.13",
|
|
10930
|
-
"updatedAt": "2023-07-
|
|
10930
|
+
"updatedAt": "2023-07-25T13:37:28.678Z",
|
|
10931
10931
|
"devdoc": {
|
|
10932
10932
|
"events": {
|
|
10933
10933
|
"BondIncreased(address,uint256)": {
|
|
@@ -2083,7 +2083,7 @@
|
|
|
2083
2083
|
},
|
|
2084
2084
|
"networks": {},
|
|
2085
2085
|
"schemaVersion": "3.4.13",
|
|
2086
|
-
"updatedAt": "2023-07-
|
|
2086
|
+
"updatedAt": "2023-07-25T13:37:27.620Z",
|
|
2087
2087
|
"devdoc": {
|
|
2088
2088
|
"custom:oz-upgrades-unsafe-allow": "constructor constructor() { _disableInitializers(); } ``` ====",
|
|
2089
2089
|
"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] ```",
|
|
@@ -73344,7 +73344,7 @@
|
|
|
73344
73344
|
},
|
|
73345
73345
|
"networks": {},
|
|
73346
73346
|
"schemaVersion": "3.4.13",
|
|
73347
|
-
"updatedAt": "2023-07-
|
|
73347
|
+
"updatedAt": "2023-07-25T13:37:27.718Z",
|
|
73348
73348
|
"devdoc": {
|
|
73349
73349
|
"author": "Superfluid",
|
|
73350
73350
|
"details": "Please read IInstantDistributionAgreementV1 for implementation notes.For more technical notes, please visit protocol-monorepo wiki area. Storage Layout Notes Agreement State NOTE The Agreement State slot is computed with the following function: keccak256(abi.encode(\"AgreementState\", msg.sender, account, slotId)) Publisher Deposit State Slot slotId = _PUBLISHER_DEPOSIT_STATE_SLOT_ID or 1 << 32 or 4294967296 msg.sender = address of IDAv1 account = context.msgSender Publisher Deposit State stores deposit state for a publisher, this is the pending value. Subscriber Subscription Data Slot Id Start slotId = _SUBSCRIBER_SUB_DATA_STATE_SLOT_ID_START or 1 << 128 or 340282366920938463463374607431768211456 msg.sender = address of IDAv1 account = context.msgSender Subscriber Subscription Data Slot Id Start indicates the starting slot for where we begin to store the indexes a subscriber is a part of. Slots Bitmap Data Slot slotId = _SUBSCRIBER_SUBS_BITMAP_STATE_SLOT_ID or 0 msg.sender = address of IDAv1 account = context.msgSender Slots Bitmap Data Slot stores the bitmap of the slots that are \"enabled\" for a subscriber. This is used as an optimization to only get the data (index id's) for the slots that are \"enabled\". Agreement Data NOTE The Agreement Data slot is calculated with the following function: keccak256(abi.encode(\"AgreementData\", agreementClass, agreementId)) agreementClass = address of IDAv1 agreementId = PublisherId | SubscriptionId PublisherId = keccak256(abi.encode(\"publisher\", publisher, indexId)) publisher = \"owner\" of the index indexId = arbitrary value for allowing multiple indexes by the same token-publisher pair PublisherId stores IndexData for an Index. SubscriptionId = keccak256(abi.encode(\"subscriber\", subscriber, iId)) iId = PublisherId, the index this particular subscriber is subscribed to SubscriptionId stores SubscriptionData for a subscriber to an Index.",
|
|
@@ -11673,7 +11673,7 @@
|
|
|
11673
11673
|
},
|
|
11674
11674
|
"networks": {},
|
|
11675
11675
|
"schemaVersion": "3.4.13",
|
|
11676
|
-
"updatedAt": "2023-07-
|
|
11676
|
+
"updatedAt": "2023-07-25T13:37:27.653Z",
|
|
11677
11677
|
"devdoc": {
|
|
11678
11678
|
"details": "Standard math utilities missing in the Solidity language.",
|
|
11679
11679
|
"kind": "dev",
|
|
@@ -20193,7 +20193,7 @@
|
|
|
20193
20193
|
},
|
|
20194
20194
|
"networks": {},
|
|
20195
20195
|
"schemaVersion": "3.4.13",
|
|
20196
|
-
"updatedAt": "2023-07-
|
|
20196
|
+
"updatedAt": "2023-07-25T13:37:27.916Z",
|
|
20197
20197
|
"devdoc": {
|
|
20198
20198
|
"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.",
|
|
20199
20199
|
"kind": "dev",
|
|
@@ -1394,7 +1394,7 @@
|
|
|
1394
1394
|
},
|
|
1395
1395
|
"networks": {},
|
|
1396
1396
|
"schemaVersion": "3.4.13",
|
|
1397
|
-
"updatedAt": "2023-07-
|
|
1397
|
+
"updatedAt": "2023-07-25T13:37:27.618Z",
|
|
1398
1398
|
"devdoc": {
|
|
1399
1399
|
"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.",
|
|
1400
1400
|
"kind": "dev",
|
|
@@ -813,7 +813,7 @@
|
|
|
813
813
|
},
|
|
814
814
|
"networks": {},
|
|
815
815
|
"schemaVersion": "3.4.13",
|
|
816
|
-
"updatedAt": "2023-07-
|
|
816
|
+
"updatedAt": "2023-07-25T13:37:27.619Z",
|
|
817
817
|
"devdoc": {
|
|
818
818
|
"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.",
|
|
819
819
|
"kind": "dev",
|
|
@@ -16135,7 +16135,7 @@
|
|
|
16135
16135
|
},
|
|
16136
16136
|
"networks": {},
|
|
16137
16137
|
"schemaVersion": "3.4.13",
|
|
16138
|
-
"updatedAt": "2023-07-
|
|
16138
|
+
"updatedAt": "2023-07-25T13:37:28.569Z",
|
|
16139
16139
|
"devdoc": {
|
|
16140
16140
|
"kind": "dev",
|
|
16141
16141
|
"methods": {},
|
|
@@ -3917,7 +3917,7 @@
|
|
|
3917
3917
|
},
|
|
3918
3918
|
"networks": {},
|
|
3919
3919
|
"schemaVersion": "3.4.13",
|
|
3920
|
-
"updatedAt": "2023-07-
|
|
3920
|
+
"updatedAt": "2023-07-25T13:37:28.493Z",
|
|
3921
3921
|
"devdoc": {
|
|
3922
3922
|
"author": "Superfluid",
|
|
3923
3923
|
"details": "This is a simple implementation where the supply is pre-minted.",
|
|
@@ -6176,7 +6176,7 @@
|
|
|
6176
6176
|
},
|
|
6177
6177
|
"networks": {},
|
|
6178
6178
|
"schemaVersion": "3.4.13",
|
|
6179
|
-
"updatedAt": "2023-07-
|
|
6179
|
+
"updatedAt": "2023-07-25T13:37:28.526Z",
|
|
6180
6180
|
"devdoc": {
|
|
6181
6181
|
"author": "Superfluid",
|
|
6182
6182
|
"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",
|
|
@@ -3872,7 +3872,7 @@
|
|
|
3872
3872
|
},
|
|
3873
3873
|
"networks": {},
|
|
3874
3874
|
"schemaVersion": "3.4.13",
|
|
3875
|
-
"updatedAt": "2023-07-
|
|
3875
|
+
"updatedAt": "2023-07-25T13:37:28.495Z",
|
|
3876
3876
|
"devdoc": {
|
|
3877
3877
|
"author": "Superfluid It is also called a Native-Asset Super Token.",
|
|
3878
3878
|
"details": "Super ETH (SETH) custom super token implementation",
|
|
@@ -19772,7 +19772,7 @@
|
|
|
19772
19772
|
},
|
|
19773
19773
|
"networks": {},
|
|
19774
19774
|
"schemaVersion": "3.4.13",
|
|
19775
|
-
"updatedAt": "2023-07-
|
|
19775
|
+
"updatedAt": "2023-07-25T13:37:27.659Z",
|
|
19776
19776
|
"devdoc": {
|
|
19777
19777
|
"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.",
|
|
19778
19778
|
"kind": "dev",
|
|
@@ -3901,7 +3901,7 @@
|
|
|
3901
3901
|
},
|
|
3902
3902
|
"networks": {},
|
|
3903
3903
|
"schemaVersion": "3.4.13",
|
|
3904
|
-
"updatedAt": "2023-07-
|
|
3904
|
+
"updatedAt": "2023-07-25T13:37:27.638Z",
|
|
3905
3905
|
"devdoc": {
|
|
3906
3906
|
"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.",
|
|
3907
3907
|
"kind": "dev",
|
|
@@ -3773,7 +3773,7 @@
|
|
|
3773
3773
|
},
|
|
3774
3774
|
"networks": {},
|
|
3775
3775
|
"schemaVersion": "3.4.13",
|
|
3776
|
-
"updatedAt": "2023-07-
|
|
3776
|
+
"updatedAt": "2023-07-25T13:37:27.671Z",
|
|
3777
3777
|
"devdoc": {
|
|
3778
3778
|
"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.",
|
|
3779
3779
|
"kind": "dev",
|
|
@@ -20692,7 +20692,7 @@
|
|
|
20692
20692
|
},
|
|
20693
20693
|
"networks": {},
|
|
20694
20694
|
"schemaVersion": "3.4.13",
|
|
20695
|
-
"updatedAt": "2023-07-
|
|
20695
|
+
"updatedAt": "2023-07-25T13:37:27.925Z",
|
|
20696
20696
|
"devdoc": {
|
|
20697
20697
|
"details": "This is CFA SuperApp that refuses to accept any opening flow without reverting them.",
|
|
20698
20698
|
"kind": "dev",
|
|
@@ -9817,7 +9817,7 @@
|
|
|
9817
9817
|
},
|
|
9818
9818
|
"networks": {},
|
|
9819
9819
|
"schemaVersion": "3.4.13",
|
|
9820
|
-
"updatedAt": "2023-07-
|
|
9820
|
+
"updatedAt": "2023-07-25T13:37:27.866Z",
|
|
9821
9821
|
"devdoc": {
|
|
9822
9822
|
"author": "Superfluid",
|
|
9823
9823
|
"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",
|
|
@@ -16872,7 +16872,7 @@
|
|
|
16872
16872
|
},
|
|
16873
16873
|
"networks": {},
|
|
16874
16874
|
"schemaVersion": "3.4.13",
|
|
16875
|
-
"updatedAt": "2023-07-
|
|
16875
|
+
"updatedAt": "2023-07-25T13:37:28.112Z",
|
|
16876
16876
|
"devdoc": {
|
|
16877
16877
|
"kind": "dev",
|
|
16878
16878
|
"methods": {
|