@superfluid-finance/ethereum-contracts 1.3.2-dev.bf84335.0 → 1.3.2-dev.e55bf9f.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 +18 -18
- package/build/contracts/AgreementLibrary.json +1272 -1183
- package/build/contracts/BaseRelayRecipient.json +55 -55
- package/build/contracts/BatchLiquidator.json +211 -211
- package/build/contracts/BatchOperation.json +599 -599
- package/build/contracts/CFAv1Library.json +2282 -2282
- package/build/contracts/CallUtils.json +198 -198
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +2472 -2472
- package/build/contracts/ConstantFlowAgreementV1.json +12931 -13308
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +599 -599
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +20 -20
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +1 -1
- package/build/contracts/ERC1820RegistryCompiled.json +22 -22
- package/build/contracts/ERC20.json +1 -1
- package/build/contracts/ERC20Burnable.json +1 -1
- package/build/contracts/ERC20Pausable.json +1 -1
- package/build/contracts/ERC20PresetMinterPauser.json +1 -1
- package/build/contracts/ERC20WithTokenInfo.json +23 -23
- package/build/contracts/ERC777Helper.json +380 -380
- package/build/contracts/ERC777RecipientDrainingGas.json +858 -858
- package/build/contracts/ERC777RecipientReverting.json +858 -858
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +43 -43
- package/build/contracts/ExclusiveInflowTestApp.json +2473 -2473
- package/build/contracts/FixedSizeData.json +200 -200
- package/build/contracts/FlowExchangeTestApp.json +2473 -2473
- package/build/contracts/FlowOperatorDefinitions.json +599 -599
- package/build/contracts/FullUpgradableSuperTokenProxy.json +115 -115
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +567 -567
- package/build/contracts/IDAv1Library.json +2614 -2614
- 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/IERC777.json +1 -1
- package/build/contracts/IERC777Recipient.json +1 -1
- package/build/contracts/IERC777Sender.json +1 -1
- package/build/contracts/IInstantDistributionAgreementV1.json +640 -640
- package/build/contracts/IMaticBridgedNativeSuperToken.json +63 -63
- package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +63 -63
- package/build/contracts/IMultiSigWallet.json +24 -24
- package/build/contracts/IPureSuperToken.json +43 -43
- package/build/contracts/IPureSuperTokenCustom.json +43 -43
- package/build/contracts/IRelayRecipient.json +27 -27
- package/build/contracts/IResolver.json +38 -38
- package/build/contracts/ISETH.json +48 -48
- package/build/contracts/ISETHCustom.json +48 -48
- package/build/contracts/ISuperAgreement.json +50 -50
- package/build/contracts/ISuperApp.json +192 -192
- package/build/contracts/ISuperToken.json +524 -524
- package/build/contracts/ISuperTokenFactory.json +161 -161
- package/build/contracts/ISuperfluid.json +1145 -1178
- package/build/contracts/ISuperfluidGovernance.json +243 -243
- package/build/contracts/ISuperfluidToken.json +389 -389
- package/build/contracts/ITOGAv1.json +1442 -1442
- package/build/contracts/ITOGAv2.json +1442 -1442
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5820 -5820
- package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +231 -231
- package/build/contracts/NonClosableOutflowTestApp.json +2473 -2473
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Pausable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/PureSuperToken.json +109 -109
- package/build/contracts/Resolver.json +98 -98
- package/build/contracts/SETHProxy.json +227 -227
- 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 +2472 -2472
- package/build/contracts/SlotsBitmapLibrary.json +457 -457
- package/build/contracts/StreamRedirector.json +748 -748
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +240 -240
- package/build/contracts/SuperAppDefinitions.json +599 -599
- package/build/contracts/SuperToken.json +4732 -4732
- package/build/contracts/SuperTokenFactory.json +750 -750
- package/build/contracts/SuperTokenFactoryBase.json +738 -738
- package/build/contracts/SuperTokenFactoryHelper.json +743 -743
- package/build/contracts/SuperUpgrader.json +440 -440
- package/build/contracts/Superfluid.json +15366 -16050
- package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
- package/build/contracts/SuperfluidGovernanceBase.json +2233 -2233
- package/build/contracts/SuperfluidGovernanceConfigs.json +599 -599
- package/build/contracts/SuperfluidGovernanceII.json +149 -149
- package/build/contracts/SuperfluidGovernanceIIProxy.json +131 -131
- package/build/contracts/SuperfluidLoader.json +210 -210
- package/build/contracts/SuperfluidToken.json +2420 -2420
- package/build/contracts/TOGA.json +1461 -1461
- package/build/contracts/TestGovernance.json +248 -248
- package/build/contracts/TestToken.json +93 -93
- package/build/contracts/TokenCustodian.json +214 -214
- package/build/contracts/TokenInfo.json +32 -32
- package/build/contracts/UUPSProxiable.json +139 -139
- package/build/contracts/UUPSProxy.json +81 -81
- package/build/contracts/UUPSUtils.json +37 -37
- package/build/contracts-sizes.txt +6 -6
- package/contracts/agreements/AgreementLibrary.sol +39 -15
- package/contracts/agreements/ConstantFlowAgreementV1.sol +65 -53
- package/contracts/interfaces/superfluid/ISuperfluid.sol +29 -23
- package/contracts/mocks/AgreementMock.sol +2 -2
- package/contracts/mocks/CFAAppMocks.sol +1 -1
- package/contracts/mocks/MultiFlowTesterApp.sol +13 -12
- package/contracts/mocks/SuperTokenMock.sol +2 -2
- package/contracts/mocks/SuperfluidMock.sol +9 -9
- package/contracts/superfluid/Superfluid.sol +34 -38
- package/contracts/superfluid/SuperfluidToken.sol +14 -14
- package/package.json +2 -2
- package/scripts/deploy-mfa.ts +27 -0
- package/scripts/libs/getConfig.js +14 -0
- package/utils/README.md +18 -0
- package/utils/mfa-tester.html +687 -0
|
@@ -1625,7 +1625,7 @@
|
|
|
1625
1625
|
},
|
|
1626
1626
|
"networks": {},
|
|
1627
1627
|
"schemaVersion": "3.4.8",
|
|
1628
|
-
"updatedAt": "2022-08-
|
|
1628
|
+
"updatedAt": "2022-08-24T13:23:34.288Z",
|
|
1629
1629
|
"devdoc": {
|
|
1630
1630
|
"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.",
|
|
1631
1631
|
"kind": "dev",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"contractName": "CustomSuperTokenBase",
|
|
3
3
|
"abi": [],
|
|
4
|
-
"metadata": "{\"compiler\":{\"version\":\"0.8.14+commit.80d49f37\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"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.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Custom super token base contract\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/superfluid/CustomSuperTokenBase.sol\":\"CustomSuperTokenBase\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34\",\"dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr\"]},\"@openzeppelin/contracts/token/ERC777/IERC777.sol\":{\"keccak256\":\"0x093eaf9a4b05adf2bd3730b753f9e1725ed34b80ea4b5f08477ff2f46a188586\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://46e9a9b37e8cb6332ed21a8d3f8a6723d897e4a97db63095424522a80b3cfc15\",\"dweb:/ipfs/QmdHcBPPGKQBnmeaAN3Y6YKUPqwR73RrHTiX5uTr6eVx1M\"]},\"project:/contracts/interfaces/superfluid/CustomSuperTokenBase.sol\":{\"keccak256\":\"0x0e82d13439dcbcd79034168d1d85a37ab8ac65322b80e9cf938822383e8c092b\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://3a8bd45f533aa4e86ffb552a30a2ebc881657d350c076858c624c14419a123eb\",\"dweb:/ipfs/QmQBxtRAC9U4kZQtPwbsUTjMWa3UpKXUFedDYC44uK5HXZ\"]},\"project:/contracts/interfaces/superfluid/Definitions.sol\":{\"keccak256\":\"0x667e6d0d18967ade01cde8b1dc887b07ff3eed63ac7796710c24160145ae09df\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://c654d8e2f0f28b07ef5a404251e79e8900a1fabb18e2f8a5c7a11dbaad2cb332\",\"dweb:/ipfs/QmRRC8BhTxcHn7PEsLqnX1CRQnidi1yuAJ91CfwgTSdCrY\"]},\"project:/contracts/interfaces/superfluid/ISuperAgreement.sol\":{\"keccak256\":\"0xc3a6a907245116bcecc70fe4b207454012e8ce4fa190228fb8bbe39e0b1bc5cf\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://83c116bdae48685d20e5a27c942111e685ec1ef6334e7ff6f6d9af66edbd8025\",\"dweb:/ipfs/QmTnVuNTaRFiDmkAmDk7NFYdfQTW1kqgBZiY2exC6k8jDx\"]},\"project:/contracts/interfaces/superfluid/ISuperApp.sol\":{\"keccak256\":\"0x42b604992cf67321cc12e8bed16543df0db4eaf125b8c1c82c330ebbeb20c014\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://7c18b00caf7b8be7e11f75284fb96263ce48a3984d56f2a91ec44cae4413d2fc\",\"dweb:/ipfs/QmWVzdW9KnkwAVe9g5zRuMoqCf7N89AoBfzzRr8puw5d8a\"]},\"project:/contracts/interfaces/superfluid/ISuperToken.sol\":{\"keccak256\":\"0xcff22ed43df0f34a645e6cbe0d7c5fd08f204d769e9095bc59d7c2fe6d11b7d6\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://944b8c5a37839b40ec8ee1ccfecbaf007808a61ea16c7b1351a7184606772032\",\"dweb:/ipfs/QmbUKZqZtVfqZMKYnQUygE4svatKuN9kT2ibrnxMuWXR7n\"]},\"project:/contracts/interfaces/superfluid/ISuperTokenFactory.sol\":{\"keccak256\":\"0x68a466c978557e47bd7385b1d7d78f1c8fb07462a870efc5a791008e33a4f535\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://d109879bdb7f022560a792af2ff481df729bf1b4b8e1831b8022f4d12892d41d\",\"dweb:/ipfs/QmRSWqHq8CP5XWgyV4mJpPxMg33s312s2K5ndHRHVqqZ8n\"]},\"project:/contracts/interfaces/superfluid/ISuperfluid.sol\":{\"keccak256\":\"
|
|
4
|
+
"metadata": "{\"compiler\":{\"version\":\"0.8.14+commit.80d49f37\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"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.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Custom super token base contract\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/superfluid/CustomSuperTokenBase.sol\":\"CustomSuperTokenBase\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34\",\"dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr\"]},\"@openzeppelin/contracts/token/ERC777/IERC777.sol\":{\"keccak256\":\"0x093eaf9a4b05adf2bd3730b753f9e1725ed34b80ea4b5f08477ff2f46a188586\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://46e9a9b37e8cb6332ed21a8d3f8a6723d897e4a97db63095424522a80b3cfc15\",\"dweb:/ipfs/QmdHcBPPGKQBnmeaAN3Y6YKUPqwR73RrHTiX5uTr6eVx1M\"]},\"project:/contracts/interfaces/superfluid/CustomSuperTokenBase.sol\":{\"keccak256\":\"0x0e82d13439dcbcd79034168d1d85a37ab8ac65322b80e9cf938822383e8c092b\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://3a8bd45f533aa4e86ffb552a30a2ebc881657d350c076858c624c14419a123eb\",\"dweb:/ipfs/QmQBxtRAC9U4kZQtPwbsUTjMWa3UpKXUFedDYC44uK5HXZ\"]},\"project:/contracts/interfaces/superfluid/Definitions.sol\":{\"keccak256\":\"0x667e6d0d18967ade01cde8b1dc887b07ff3eed63ac7796710c24160145ae09df\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://c654d8e2f0f28b07ef5a404251e79e8900a1fabb18e2f8a5c7a11dbaad2cb332\",\"dweb:/ipfs/QmRRC8BhTxcHn7PEsLqnX1CRQnidi1yuAJ91CfwgTSdCrY\"]},\"project:/contracts/interfaces/superfluid/ISuperAgreement.sol\":{\"keccak256\":\"0xc3a6a907245116bcecc70fe4b207454012e8ce4fa190228fb8bbe39e0b1bc5cf\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://83c116bdae48685d20e5a27c942111e685ec1ef6334e7ff6f6d9af66edbd8025\",\"dweb:/ipfs/QmTnVuNTaRFiDmkAmDk7NFYdfQTW1kqgBZiY2exC6k8jDx\"]},\"project:/contracts/interfaces/superfluid/ISuperApp.sol\":{\"keccak256\":\"0x42b604992cf67321cc12e8bed16543df0db4eaf125b8c1c82c330ebbeb20c014\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://7c18b00caf7b8be7e11f75284fb96263ce48a3984d56f2a91ec44cae4413d2fc\",\"dweb:/ipfs/QmWVzdW9KnkwAVe9g5zRuMoqCf7N89AoBfzzRr8puw5d8a\"]},\"project:/contracts/interfaces/superfluid/ISuperToken.sol\":{\"keccak256\":\"0xcff22ed43df0f34a645e6cbe0d7c5fd08f204d769e9095bc59d7c2fe6d11b7d6\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://944b8c5a37839b40ec8ee1ccfecbaf007808a61ea16c7b1351a7184606772032\",\"dweb:/ipfs/QmbUKZqZtVfqZMKYnQUygE4svatKuN9kT2ibrnxMuWXR7n\"]},\"project:/contracts/interfaces/superfluid/ISuperTokenFactory.sol\":{\"keccak256\":\"0x68a466c978557e47bd7385b1d7d78f1c8fb07462a870efc5a791008e33a4f535\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://d109879bdb7f022560a792af2ff481df729bf1b4b8e1831b8022f4d12892d41d\",\"dweb:/ipfs/QmRSWqHq8CP5XWgyV4mJpPxMg33s312s2K5ndHRHVqqZ8n\"]},\"project:/contracts/interfaces/superfluid/ISuperfluid.sol\":{\"keccak256\":\"0x59cba11dfc9510e06db5fd57e9229fcfa0860e99e76626ad0291e7e50a3a62de\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://a64102f968e7f2eaa335e8d7ce47b339c958b0d6f8f4b3379547e9b7faa78cf9\",\"dweb:/ipfs/QmbFSeM6diijjogiTvgbpphLmjxG3u1ifygFkLhezFHRQ5\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidGovernance.sol\":{\"keccak256\":\"0xea33d20751ffea4f4446bc04f6c10194fb4da0803a988586d41d49cf4859731c\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://7716b1f5eec0a7ac8780d82de4f0274ecd7059be4eec46c82b0b7adce110f10b\",\"dweb:/ipfs/QmWRQafvdCBsyfDYnevXSav1AAz8uZRRBwh2be5Z3vSfVN\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidToken.sol\":{\"keccak256\":\"0x3eec5a3bf337cd319c1918fd1b16f350cf5f6850ac71f6859066fbf86e734ff4\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://cda19a2f5ca18e79c1e2300c8efac84c718df76c4fb313f59f84264a4c6b398a\",\"dweb:/ipfs/QmfQiwgDH5Q64w5ufBnDzVaeWv6WCZ6fLTrYu1FSYfBGhq\"]},\"project:/contracts/interfaces/tokens/ERC20WithTokenInfo.sol\":{\"keccak256\":\"0x66708dae3fcd06e6fc0a46f2959fc2d1e6b9361f28598337339d26af8eb8c0f9\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://77b80718cec21b81ef190c19fb9fbe73913a95c71f7e6715f671bbe8a224dafc\",\"dweb:/ipfs/QmUdsc6DF2Bgih5VZm7sfaECjhGmwE7tAx8pMkzGQgVKQw\"]},\"project:/contracts/interfaces/tokens/TokenInfo.sol\":{\"keccak256\":\"0x70e573644a0ff271c0ccef526809e9d9ab4950ec58755ca84e833cde3b8f3df0\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://aea3709687cc37ba625f4cc882fbdb149a7bf5be5afe2b030203c8719641a77b\",\"dweb:/ipfs/QmVpvfR6ZheE5wNUK9CobaVBgVvEnEPkvjWF9cfwyZr7eQ\"]}},\"version\":1}",
|
|
5
5
|
"bytecode": "0x",
|
|
6
6
|
"deployedBytecode": "0x",
|
|
7
7
|
"immutableReferences": {},
|
|
@@ -15,18 +15,18 @@
|
|
|
15
15
|
"absolutePath": "project:/contracts/interfaces/superfluid/CustomSuperTokenBase.sol",
|
|
16
16
|
"exportedSymbols": {
|
|
17
17
|
"CustomSuperTokenBase": [
|
|
18
|
-
|
|
18
|
+
18512
|
|
19
19
|
],
|
|
20
20
|
"ISuperToken": [
|
|
21
|
-
|
|
21
|
+
19492
|
|
22
22
|
]
|
|
23
23
|
},
|
|
24
|
-
"id":
|
|
24
|
+
"id": 18513,
|
|
25
25
|
"license": "AGPLv3",
|
|
26
26
|
"nodeType": "SourceUnit",
|
|
27
27
|
"nodes": [
|
|
28
28
|
{
|
|
29
|
-
"id":
|
|
29
|
+
"id": 18504,
|
|
30
30
|
"literals": [
|
|
31
31
|
"solidity",
|
|
32
32
|
">=",
|
|
@@ -39,20 +39,20 @@
|
|
|
39
39
|
{
|
|
40
40
|
"absolutePath": "project:/contracts/interfaces/superfluid/ISuperToken.sol",
|
|
41
41
|
"file": "../../interfaces/superfluid/ISuperToken.sol",
|
|
42
|
-
"id":
|
|
42
|
+
"id": 18506,
|
|
43
43
|
"nameLocation": "-1:-1:-1",
|
|
44
44
|
"nodeType": "ImportDirective",
|
|
45
|
-
"scope":
|
|
46
|
-
"sourceUnit":
|
|
45
|
+
"scope": 18513,
|
|
46
|
+
"sourceUnit": 19493,
|
|
47
47
|
"src": "62:78:42",
|
|
48
48
|
"symbolAliases": [
|
|
49
49
|
{
|
|
50
50
|
"foreign": {
|
|
51
|
-
"id":
|
|
51
|
+
"id": 18505,
|
|
52
52
|
"name": "ISuperToken",
|
|
53
53
|
"nodeType": "Identifier",
|
|
54
54
|
"overloadedDeclarations": [],
|
|
55
|
-
"referencedDeclaration":
|
|
55
|
+
"referencedDeclaration": 19492,
|
|
56
56
|
"src": "75:11:42",
|
|
57
57
|
"typeDescriptions": {}
|
|
58
58
|
},
|
|
@@ -68,15 +68,15 @@
|
|
|
68
68
|
"contractDependencies": [],
|
|
69
69
|
"contractKind": "contract",
|
|
70
70
|
"documentation": {
|
|
71
|
-
"id":
|
|
71
|
+
"id": 18507,
|
|
72
72
|
"nodeType": "StructuredDocumentation",
|
|
73
73
|
"src": "142:491:42",
|
|
74
74
|
"text": " @title Custom super token base contract\n @author Superfluid\n NOTE:\n - Because of how solidity lays out its storage variables and how custom\n super tokens inherit the SuperToken standard implementation, it is\n required that the custom token proxy pads its implementation\n with reserved storage used by the Super Token implementation.\n - You will need to append your own proxy implementation after the base\n - Refer to SETH.sol for an example how it is used."
|
|
75
75
|
},
|
|
76
76
|
"fullyImplemented": true,
|
|
77
|
-
"id":
|
|
77
|
+
"id": 18512,
|
|
78
78
|
"linearizedBaseContracts": [
|
|
79
|
-
|
|
79
|
+
18512
|
|
80
80
|
],
|
|
81
81
|
"name": "CustomSuperTokenBase",
|
|
82
82
|
"nameLocation": "652:20:42",
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
"nodes": [
|
|
85
85
|
{
|
|
86
86
|
"constant": false,
|
|
87
|
-
"id":
|
|
87
|
+
"id": 18511,
|
|
88
88
|
"mutability": "mutable",
|
|
89
89
|
"name": "_storagePaddings",
|
|
90
90
|
"nameLocation": "783:16:42",
|
|
91
91
|
"nodeType": "VariableDeclaration",
|
|
92
|
-
"scope":
|
|
92
|
+
"scope": 18512,
|
|
93
93
|
"src": "762:37:42",
|
|
94
94
|
"stateVariable": true,
|
|
95
95
|
"storageLocation": "default",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
},
|
|
100
100
|
"typeName": {
|
|
101
101
|
"baseType": {
|
|
102
|
-
"id":
|
|
102
|
+
"id": 18508,
|
|
103
103
|
"name": "uint256",
|
|
104
104
|
"nodeType": "ElementaryTypeName",
|
|
105
105
|
"src": "762:7:42",
|
|
@@ -108,10 +108,10 @@
|
|
|
108
108
|
"typeString": "uint256"
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
|
-
"id":
|
|
111
|
+
"id": 18510,
|
|
112
112
|
"length": {
|
|
113
113
|
"hexValue": "3332",
|
|
114
|
-
"id":
|
|
114
|
+
"id": 18509,
|
|
115
115
|
"isConstant": false,
|
|
116
116
|
"isLValue": false,
|
|
117
117
|
"isPure": true,
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"visibility": "internal"
|
|
136
136
|
}
|
|
137
137
|
],
|
|
138
|
-
"scope":
|
|
138
|
+
"scope": 18513,
|
|
139
139
|
"src": "634:168:42",
|
|
140
140
|
"usedErrors": []
|
|
141
141
|
}
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
},
|
|
149
149
|
"networks": {},
|
|
150
150
|
"schemaVersion": "3.4.8",
|
|
151
|
-
"updatedAt": "2022-08-
|
|
151
|
+
"updatedAt": "2022-08-24T13:23:34.416Z",
|
|
152
152
|
"devdoc": {
|
|
153
153
|
"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.",
|
|
154
154
|
"kind": "dev",
|
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
},
|
|
321
321
|
"networks": {},
|
|
322
322
|
"schemaVersion": "3.4.8",
|
|
323
|
-
"updatedAt": "2022-08-
|
|
323
|
+
"updatedAt": "2022-08-24T13:23:34.290Z",
|
|
324
324
|
"devdoc": {
|
|
325
325
|
"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.",
|
|
326
326
|
"kind": "dev",
|
|
@@ -1185,7 +1185,7 @@
|
|
|
1185
1185
|
},
|
|
1186
1186
|
"networks": {},
|
|
1187
1187
|
"schemaVersion": "3.4.8",
|
|
1188
|
-
"updatedAt": "2022-08-
|
|
1188
|
+
"updatedAt": "2022-08-24T13:23:34.290Z",
|
|
1189
1189
|
"devdoc": {
|
|
1190
1190
|
"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.",
|
|
1191
1191
|
"kind": "dev",
|
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
"absolutePath": "project:/contracts/libs/ERC1820RegistryCompiled.sol",
|
|
16
16
|
"exportedSymbols": {
|
|
17
17
|
"ERC1820RegistryCompiled": [
|
|
18
|
-
|
|
18
|
+
20819
|
|
19
19
|
]
|
|
20
20
|
},
|
|
21
|
-
"id":
|
|
21
|
+
"id": 20820,
|
|
22
22
|
"license": "AGPLv3",
|
|
23
23
|
"nodeType": "SourceUnit",
|
|
24
24
|
"nodes": [
|
|
25
25
|
{
|
|
26
|
-
"id":
|
|
26
|
+
"id": 20805,
|
|
27
27
|
"literals": [
|
|
28
28
|
"solidity",
|
|
29
29
|
"0.8",
|
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
"contractDependencies": [],
|
|
40
40
|
"contractKind": "library",
|
|
41
41
|
"documentation": {
|
|
42
|
-
"id":
|
|
42
|
+
"id": 20806,
|
|
43
43
|
"nodeType": "StructuredDocumentation",
|
|
44
44
|
"src": "135:114:61",
|
|
45
45
|
"text": "@dev This is meant to be used by test framework to get the raw bytecode without compiling the origin contract"
|
|
46
46
|
},
|
|
47
47
|
"fullyImplemented": true,
|
|
48
|
-
"id":
|
|
48
|
+
"id": 20819,
|
|
49
49
|
"linearizedBaseContracts": [
|
|
50
|
-
|
|
50
|
+
20819
|
|
51
51
|
],
|
|
52
52
|
"name": "ERC1820RegistryCompiled",
|
|
53
53
|
"nameLocation": "257:23:61",
|
|
@@ -55,12 +55,12 @@
|
|
|
55
55
|
"nodes": [
|
|
56
56
|
{
|
|
57
57
|
"constant": true,
|
|
58
|
-
"id":
|
|
58
|
+
"id": 20812,
|
|
59
59
|
"mutability": "constant",
|
|
60
60
|
"name": "at",
|
|
61
61
|
"nameLocation": "313:2:61",
|
|
62
62
|
"nodeType": "VariableDeclaration",
|
|
63
|
-
"scope":
|
|
63
|
+
"scope": 20819,
|
|
64
64
|
"src": "287:82:61",
|
|
65
65
|
"stateVariable": true,
|
|
66
66
|
"storageLocation": "default",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"typeString": "address"
|
|
70
70
|
},
|
|
71
71
|
"typeName": {
|
|
72
|
-
"id":
|
|
72
|
+
"id": 20807,
|
|
73
73
|
"name": "address",
|
|
74
74
|
"nodeType": "ElementaryTypeName",
|
|
75
75
|
"src": "287:7:61",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"arguments": [
|
|
84
84
|
{
|
|
85
85
|
"hexValue": "307831383230613442373631384264453731446365386364633733614142364339353930356661443234",
|
|
86
|
-
"id":
|
|
86
|
+
"id": 20810,
|
|
87
87
|
"isConstant": false,
|
|
88
88
|
"isLValue": false,
|
|
89
89
|
"isPure": true,
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"typeString": "address"
|
|
106
106
|
}
|
|
107
107
|
],
|
|
108
|
-
"id":
|
|
108
|
+
"id": 20809,
|
|
109
109
|
"isConstant": false,
|
|
110
110
|
"isLValue": false,
|
|
111
111
|
"isPure": true,
|
|
@@ -117,14 +117,14 @@
|
|
|
117
117
|
"typeString": "type(address)"
|
|
118
118
|
},
|
|
119
119
|
"typeName": {
|
|
120
|
-
"id":
|
|
120
|
+
"id": 20808,
|
|
121
121
|
"name": "address",
|
|
122
122
|
"nodeType": "ElementaryTypeName",
|
|
123
123
|
"src": "318:7:61",
|
|
124
124
|
"typeDescriptions": {}
|
|
125
125
|
}
|
|
126
126
|
},
|
|
127
|
-
"id":
|
|
127
|
+
"id": 20811,
|
|
128
128
|
"isConstant": false,
|
|
129
129
|
"isLValue": false,
|
|
130
130
|
"isPure": true,
|
|
@@ -143,12 +143,12 @@
|
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
"constant": true,
|
|
146
|
-
"id":
|
|
146
|
+
"id": 20818,
|
|
147
147
|
"mutability": "constant",
|
|
148
148
|
"name": "bin",
|
|
149
149
|
"nameLocation": "399:3:61",
|
|
150
150
|
"nodeType": "VariableDeclaration",
|
|
151
|
-
"scope":
|
|
151
|
+
"scope": 20819,
|
|
152
152
|
"src": "375:5044:61",
|
|
153
153
|
"stateVariable": true,
|
|
154
154
|
"storageLocation": "default",
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"typeString": "bytes"
|
|
158
158
|
},
|
|
159
159
|
"typeName": {
|
|
160
|
-
"id":
|
|
160
|
+
"id": 20813,
|
|
161
161
|
"name": "bytes",
|
|
162
162
|
"nodeType": "ElementaryTypeName",
|
|
163
163
|
"src": "375:5:61",
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"arguments": [
|
|
171
171
|
{
|
|
172
172
|
"hexValue": "608060405234801561001057600080fd5b50600436106100a5576000357c010000000000000000000000000000000000000000000000000000000090048063a41e7d5111610078578063a41e7d51146101d4578063aabbb8ca1461020a578063b705676514610236578063f712f3e814610280576100a5565b806329965a1d146100aa5780633d584063146100e25780635df8122f1461012457806365ba36c114610152575b600080fd5b6100e0600480360360608110156100c057600080fd5b50600160a060020a038135811691602081013591604090910135166102b6565b005b610108600480360360208110156100f857600080fd5b5035600160a060020a0316610570565b60408051600160a060020a039092168252519081900360200190f35b6100e06004803603604081101561013a57600080fd5b50600160a060020a03813581169160200135166105bc565b6101c26004803603602081101561016857600080fd5b81019060208101813564010000000081111561018357600080fd5b82018360208201111561019557600080fd5b803590602001918460018302840111640100000000831117156101b757600080fd5b5090925090506106b3565b60408051918252519081900360200190f35b6100e0600480360360408110156101ea57600080fd5b508035600160a060020a03169060200135600160e060020a0319166106ee565b6101086004803603604081101561022057600080fd5b50600160a060020a038135169060200135610778565b61026c6004803603604081101561024c57600080fd5b508035600160a060020a03169060200135600160e060020a0319166107ef565b604080519115158252519081900360200190f35b61026c6004803603604081101561029657600080fd5b508035600160a060020a03169060200135600160e060020a0319166108aa565b6000600160a060020a038416156102cd57836102cf565b335b9050336102db82610570565b600160a060020a031614610339576040805160e560020a62461bcd02815260206004820152600f60248201527f4e6f7420746865206d616e616765720000000000000000000000000000000000604482015290519081900360640190fd5b6103428361092a565b15610397576040805160e560020a62461bcd02815260206004820152601a60248201527f4d757374206e6f7420626520616e204552433136352068617368000000000000604482015290519081900360640190fd5b600160a060020a038216158015906103b85750600160a060020a0382163314155b156104ff5760405160200180807f455243313832305f4143434550545f4d4147494300000000000000000000000081525060140190506040516020818303038152906040528051906020012082600160a060020a031663249cb3fa85846040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083815260200182600160a060020a0316600160a060020a031681526020019250505060206040518083038186803b15801561047e57600080fd5b505afa158015610492573d6000803e3d6000fd5b505050506040513d60208110156104a857600080fd5b5051146104ff576040805160e560020a62461bcd02815260206004820181905260248201527f446f6573206e6f7420696d706c656d656e742074686520696e74657266616365604482015290519081900360640190fd5b600160a060020a03818116600081815260208181526040808320888452909152808220805473ffffffffffffffffffffffffffffffffffffffff19169487169485179055518692917f93baa6efbd2244243bfee6ce4cfdd1d04fc4c0e9a786abd3a41313bd352db15391a450505050565b600160a060020a03818116600090815260016020526040812054909116151561059a5750806105b7565b50600160a060020a03808216600090815260016020526040902054165b919050565b336105c683610570565b600160a060020a031614610624576040805160e560020a62461bcd02815260206004820152600f60248201527f4e6f7420746865206d616e616765720000000000000000000000000000000000604482015290519081900360640190fd5b81600160a060020a031681600160a060020a0316146106435780610646565b60005b600160a060020a03838116600081815260016020526040808220805473ffffffffffffffffffffffffffffffffffffffff19169585169590951790945592519184169290917f605c2dbf762e5f7d60a546d42e7205dcb1b011ebc62a61736a57c9089d3a43509190a35050565b600082826040516020018083838082843780830192505050925050506040516020818303038152906040528051906020012090505b92915050565b6106f882826107ef565b610703576000610705565b815b600160a060020a03928316600081815260208181526040808320600160e060020a031996909616808452958252808320805473ffffffffffffffffffffffffffffffffffffffff19169590971694909417909555908152600284528181209281529190925220805460ff19166001179055565b600080600160a060020a038416156107905783610792565b335b905061079d8361092a565b156107c357826107ad82826108aa565b6107b85760006107ba565b815b925050506106e8565b600160a060020a0390811660009081526020818152604080832086845290915290205416905092915050565b6000808061081d857f01ffc9a70000000000000000000000000000000000000000000000000000000061094c565b909250905081158061082d575080155b1561083d576000925050506106e8565b61084f85600160e060020a031961094c565b909250905081158061086057508015155b15610870576000925050506106e8565b61087a858561094c565b909250905060018214801561088f5750806001145b1561089f576001925050506106e8565b506000949350505050565b600160a060020a0382166000908152600260209081526040808320600160e060020a03198516845290915281205460ff1615156108f2576108eb83836107ef565b90506106e8565b50600160a060020a03808316600081815260208181526040808320600160e060020a0319871684529091529020549091161492915050565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff161590565b6040517f01ffc9a7000000000000000000000000000000000000000000000000000000008082526004820183905260009182919060208160248189617530fa90519096909550935050505056fea165627a7a72305820377f4a2d4301ede9949f163f319021a6e9c687c292a5e2b2c4734c126b524e6c0029",
|
|
173
|
-
"id":
|
|
173
|
+
"id": 20816,
|
|
174
174
|
"isConstant": false,
|
|
175
175
|
"isLValue": false,
|
|
176
176
|
"isPure": true,
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
"typeString": "literal_string hex\"608060405234801561001057600080fd5b50600436106100a5576000357c010000000000000000000000000000000000000000000000000000000090048063a41e7d5111610078578063a41e7d51146101d4578063aabbb8ca1461020a578063b705676514610236578063f712f3e814610280576100a5565b806329965a1d146100aa5780633d584063146100e25780635df8122f1461012457806365ba36c114610152575b600080fd5b6100e0600480360360608110156100c057600080fd5b50600160a060020a038135811691602081013591604090910135166102b6565b005b610108600480360360208110156100f857600080fd5b5035600160a060020a0316610570565b60408051600160a060020a039092168252519081900360200190f35b6100e06004803603604081101561013a57600080fd5b50600160a060020a03813581169160200135166105bc565b6101c26004803603602081101561016857600080fd5b81019060208101813564010000000081111561018357600080fd5b82018360208201111561019557600080fd5b803590602001918460018302840111640100000000831117156101b757600080fd5b5090925090506106b3565b60408051918252519081900360200190f35b6100e0600480360360408110156101ea57600080fd5b508035600160a060020a03169060200135600160e060020a0319166106ee565b6101086004803603604081101561022057600080fd5b50600160a060020a038135169060200135610778565b61026c6004803603604081101561024c57600080fd5b508035600160a060020a03169060200135600160e060020a0319166107ef565b604080519115158252519081900360200190f35b61026c6004803603604081101561029657600080fd5b508035600160a060020a03169060200135600160e060020a0319166108aa565b6000600160a060020a038416156102cd57836102cf565b335b9050336102db82610570565b600160a060020a031614610339576040805160e560020a62461bcd02815260206004820152600f60248201527f4e6f7420746865206d616e616765720000000000000000000000000000000000604482015290519081900360640190fd5b6103428361092a565b15610397576040805160e560020a62461bcd02815260206004820152601a60248201527f4d757374206e6f7420626520616e204552433136352068617368000000000000604482015290519081900360640190fd5b600160a060020a038216158015906103b85750600160a060020a0382163314155b156104ff5760405160200180807f455243313832305f4143434550545f4d4147494300000000000000000000000081525060140190506040516020818303038152906040528051906020012082600160a060020a031663249cb3fa85846040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083815260200182600160a060020a0316600160a060020a031681526020019250505060206040518083038186803b15801561047e57600080fd5b505afa158015610492573d6000803e3d6000fd5b505050506040513d60208110156104a857600080fd5b5051146104ff576040805160e560020a62461bcd02815260206004820181905260248201527f446f6573206e6f7420696d706c656d656e742074686520696e74657266616365604482015290519081900360640190fd5b600160a060020a03818116600081815260208181526040808320888452909152808220805473ffffffffffffffffffffffffffffffffffffffff19169487169485179055518692917f93baa6efbd2244243bfee6ce4cfdd1d04fc4c0e9a786abd3a41313bd352db15391a450505050565b600160a060020a03818116600090815260016020526040812054909116151561059a5750806105b7565b50600160a060020a03808216600090815260016020526040902054165b919050565b336105c683610570565b600160a060020a031614610624576040805160e560020a62461bcd02815260206004820152600f60248201527f4e6f7420746865206d616e616765720000000000000000000000000000000000604482015290519081900360640190fd5b81600160a060020a031681600160a060020a0316146106435780610646565b60005b600160a060020a03838116600081815260016020526040808220805473ffffffffffffffffffffffffffffffffffffffff19169585169590951790945592519184169290917f605c2dbf762e5f7d60a546d42e7205dcb1b011ebc62a61736a57c9089d3a43509190a35050565b600082826040516020018083838082843780830192505050925050506040516020818303038152906040528051906020012090505b92915050565b6106f882826107ef565b610703576000610705565b815b600160a060020a03928316600081815260208181526040808320600160e060020a031996909616808452958252808320805473ffffffffffffffffffffffffffffffffffffffff19169590971694909417909555908152600284528181209281529190925220805460ff19166001179055565b600080600160a060020a038416156107905783610792565b335b905061079d8361092a565b156107c357826107ad82826108aa565b6107b85760006107ba565b815b925050506106e8565b600160a060020a0390811660009081526020818152604080832086845290915290205416905092915050565b6000808061081d857f01ffc9a70000000000000000000000000000000000000000000000000000000061094c565b909250905081158061082d575080155b1561083d576000925050506106e8565b61084f85600160e060020a031961094c565b909250905081158061086057508015155b15610870576000925050506106e8565b61087a858561094c565b909250905060018214801561088f5750806001145b1561089f576001925050506106e8565b506000949350505050565b600160a060020a0382166000908152600260209081526040808320600160e060020a03198516845290915281205460ff1615156108f2576108eb83836107ef565b90506106e8565b50600160a060020a03808316600081815260208181526040808320600160e060020a0319871684529091529020549091161492915050565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff161590565b6040517f01ffc9a7000000000000000000000000000000000000000000000000000000008082526004820183905260009182919060208160248189617530fa90519096909550935050505056fea165627a7a72305820377f4a2d4301ede9949f163f319021a6e9c687c292a5e2b2c4734c126b524e6c0029\""
|
|
192
192
|
}
|
|
193
193
|
],
|
|
194
|
-
"id":
|
|
194
|
+
"id": 20815,
|
|
195
195
|
"isConstant": false,
|
|
196
196
|
"isLValue": false,
|
|
197
197
|
"isPure": true,
|
|
@@ -203,14 +203,14 @@
|
|
|
203
203
|
"typeString": "type(bytes storage pointer)"
|
|
204
204
|
},
|
|
205
205
|
"typeName": {
|
|
206
|
-
"id":
|
|
206
|
+
"id": 20814,
|
|
207
207
|
"name": "bytes",
|
|
208
208
|
"nodeType": "ElementaryTypeName",
|
|
209
209
|
"src": "405:5:61",
|
|
210
210
|
"typeDescriptions": {}
|
|
211
211
|
}
|
|
212
212
|
},
|
|
213
|
-
"id":
|
|
213
|
+
"id": 20817,
|
|
214
214
|
"isConstant": false,
|
|
215
215
|
"isLValue": false,
|
|
216
216
|
"isPure": true,
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
"visibility": "internal"
|
|
229
229
|
}
|
|
230
230
|
],
|
|
231
|
-
"scope":
|
|
231
|
+
"scope": 20820,
|
|
232
232
|
"src": "249:5173:61",
|
|
233
233
|
"usedErrors": []
|
|
234
234
|
}
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
},
|
|
242
242
|
"networks": {},
|
|
243
243
|
"schemaVersion": "3.4.8",
|
|
244
|
-
"updatedAt": "2022-08-
|
|
244
|
+
"updatedAt": "2022-08-24T13:23:34.449Z",
|
|
245
245
|
"devdoc": {
|
|
246
246
|
"details": "This is meant to be used by test framework to get the raw bytecode without compiling the origin contract",
|
|
247
247
|
"kind": "dev",
|
|
@@ -13405,7 +13405,7 @@
|
|
|
13405
13405
|
},
|
|
13406
13406
|
"networks": {},
|
|
13407
13407
|
"schemaVersion": "3.4.8",
|
|
13408
|
-
"updatedAt": "2022-08-
|
|
13408
|
+
"updatedAt": "2022-08-24T13:23:34.269Z",
|
|
13409
13409
|
"devdoc": {
|
|
13410
13410
|
"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}.",
|
|
13411
13411
|
"kind": "dev",
|
|
@@ -858,7 +858,7 @@
|
|
|
858
858
|
},
|
|
859
859
|
"networks": {},
|
|
860
860
|
"schemaVersion": "3.4.8",
|
|
861
|
-
"updatedAt": "2022-08-
|
|
861
|
+
"updatedAt": "2022-08-24T13:23:34.275Z",
|
|
862
862
|
"devdoc": {
|
|
863
863
|
"details": "Extension of {ERC20} that allows token holders to destroy both their own tokens and those that they have an allowance for, in a way that can be recognized off-chain (via event analysis).",
|
|
864
864
|
"kind": "dev",
|
|
@@ -788,7 +788,7 @@
|
|
|
788
788
|
},
|
|
789
789
|
"networks": {},
|
|
790
790
|
"schemaVersion": "3.4.8",
|
|
791
|
-
"updatedAt": "2022-08-
|
|
791
|
+
"updatedAt": "2022-08-24T13:23:34.275Z",
|
|
792
792
|
"devdoc": {
|
|
793
793
|
"details": "ERC20 token with pausable token transfers, minting and burning. Useful for scenarios such as preventing trades until the end of an evaluation period, or having an emergency switch for freezing all token transfers in the event of a large bug.",
|
|
794
794
|
"kind": "dev",
|
|
@@ -12786,7 +12786,7 @@
|
|
|
12786
12786
|
},
|
|
12787
12787
|
"networks": {},
|
|
12788
12788
|
"schemaVersion": "3.4.8",
|
|
12789
|
-
"updatedAt": "2022-08-
|
|
12789
|
+
"updatedAt": "2022-08-24T13:23:34.277Z",
|
|
12790
12790
|
"devdoc": {
|
|
12791
12791
|
"details": "{ERC20} token, including: - ability for holders to burn (destroy) their tokens - a minter role that allows for token minting (creation) - a pauser role that allows to stop all token transfers This contract uses {AccessControl} to lock permissioned functions using the different roles - head to its documentation for details. The account that deploys the contract will be granted the minter and pauser roles, as well as the default admin role, which will let it grant both minter and pauser roles to other accounts. _Deprecated in favor of https://wizard.openzeppelin.com/[Contracts Wizard]._",
|
|
12792
12792
|
"kind": "dev",
|
|
@@ -238,21 +238,21 @@
|
|
|
238
238
|
"absolutePath": "project:/contracts/interfaces/tokens/ERC20WithTokenInfo.sol",
|
|
239
239
|
"exportedSymbols": {
|
|
240
240
|
"ERC20WithTokenInfo": [
|
|
241
|
-
|
|
241
|
+
20462
|
|
242
242
|
],
|
|
243
243
|
"IERC20": [
|
|
244
244
|
1630
|
|
245
245
|
],
|
|
246
246
|
"TokenInfo": [
|
|
247
|
-
|
|
247
|
+
20567
|
|
248
248
|
]
|
|
249
249
|
},
|
|
250
|
-
"id":
|
|
250
|
+
"id": 20463,
|
|
251
251
|
"license": "AGPLv3",
|
|
252
252
|
"nodeType": "SourceUnit",
|
|
253
253
|
"nodes": [
|
|
254
254
|
{
|
|
255
|
-
"id":
|
|
255
|
+
"id": 20452,
|
|
256
256
|
"literals": [
|
|
257
257
|
"solidity",
|
|
258
258
|
">=",
|
|
@@ -265,16 +265,16 @@
|
|
|
265
265
|
{
|
|
266
266
|
"absolutePath": "@openzeppelin/contracts/token/ERC20/IERC20.sol",
|
|
267
267
|
"file": "@openzeppelin/contracts/token/ERC20/IERC20.sol",
|
|
268
|
-
"id":
|
|
268
|
+
"id": 20454,
|
|
269
269
|
"nameLocation": "-1:-1:-1",
|
|
270
270
|
"nodeType": "ImportDirective",
|
|
271
|
-
"scope":
|
|
271
|
+
"scope": 20463,
|
|
272
272
|
"sourceUnit": 1631,
|
|
273
273
|
"src": "62:72:51",
|
|
274
274
|
"symbolAliases": [
|
|
275
275
|
{
|
|
276
276
|
"foreign": {
|
|
277
|
-
"id":
|
|
277
|
+
"id": 20453,
|
|
278
278
|
"name": "IERC20",
|
|
279
279
|
"nodeType": "Identifier",
|
|
280
280
|
"overloadedDeclarations": [],
|
|
@@ -290,20 +290,20 @@
|
|
|
290
290
|
{
|
|
291
291
|
"absolutePath": "project:/contracts/interfaces/tokens/TokenInfo.sol",
|
|
292
292
|
"file": "./TokenInfo.sol",
|
|
293
|
-
"id":
|
|
293
|
+
"id": 20456,
|
|
294
294
|
"nameLocation": "-1:-1:-1",
|
|
295
295
|
"nodeType": "ImportDirective",
|
|
296
|
-
"scope":
|
|
297
|
-
"sourceUnit":
|
|
296
|
+
"scope": 20463,
|
|
297
|
+
"sourceUnit": 20568,
|
|
298
298
|
"src": "135:44:51",
|
|
299
299
|
"symbolAliases": [
|
|
300
300
|
{
|
|
301
301
|
"foreign": {
|
|
302
|
-
"id":
|
|
302
|
+
"id": 20455,
|
|
303
303
|
"name": "TokenInfo",
|
|
304
304
|
"nodeType": "Identifier",
|
|
305
305
|
"overloadedDeclarations": [],
|
|
306
|
-
"referencedDeclaration":
|
|
306
|
+
"referencedDeclaration": 20567,
|
|
307
307
|
"src": "144:9:51",
|
|
308
308
|
"typeDescriptions": {}
|
|
309
309
|
},
|
|
@@ -317,25 +317,25 @@
|
|
|
317
317
|
"baseContracts": [
|
|
318
318
|
{
|
|
319
319
|
"baseName": {
|
|
320
|
-
"id":
|
|
320
|
+
"id": 20458,
|
|
321
321
|
"name": "IERC20",
|
|
322
322
|
"nodeType": "IdentifierPath",
|
|
323
323
|
"referencedDeclaration": 1630,
|
|
324
324
|
"src": "530:6:51"
|
|
325
325
|
},
|
|
326
|
-
"id":
|
|
326
|
+
"id": 20459,
|
|
327
327
|
"nodeType": "InheritanceSpecifier",
|
|
328
328
|
"src": "530:6:51"
|
|
329
329
|
},
|
|
330
330
|
{
|
|
331
331
|
"baseName": {
|
|
332
|
-
"id":
|
|
332
|
+
"id": 20460,
|
|
333
333
|
"name": "TokenInfo",
|
|
334
334
|
"nodeType": "IdentifierPath",
|
|
335
|
-
"referencedDeclaration":
|
|
335
|
+
"referencedDeclaration": 20567,
|
|
336
336
|
"src": "538:9:51"
|
|
337
337
|
},
|
|
338
|
-
"id":
|
|
338
|
+
"id": 20461,
|
|
339
339
|
"nodeType": "InheritanceSpecifier",
|
|
340
340
|
"src": "538:9:51"
|
|
341
341
|
}
|
|
@@ -344,23 +344,23 @@
|
|
|
344
344
|
"contractDependencies": [],
|
|
345
345
|
"contractKind": "contract",
|
|
346
346
|
"documentation": {
|
|
347
|
-
"id":
|
|
347
|
+
"id": 20457,
|
|
348
348
|
"nodeType": "StructuredDocumentation",
|
|
349
349
|
"src": "181:263:51",
|
|
350
350
|
"text": " @title ERC20 token with token info interface\n @author Superfluid\n @dev Using abstract contract instead of interfaces because old solidity\n does not support interface inheriting other interfaces\n solhint-disable-next-line no-empty-blocks"
|
|
351
351
|
},
|
|
352
352
|
"fullyImplemented": false,
|
|
353
|
-
"id":
|
|
353
|
+
"id": 20462,
|
|
354
354
|
"linearizedBaseContracts": [
|
|
355
|
-
|
|
356
|
-
|
|
355
|
+
20462,
|
|
356
|
+
20567,
|
|
357
357
|
1630
|
|
358
358
|
],
|
|
359
359
|
"name": "ERC20WithTokenInfo",
|
|
360
360
|
"nameLocation": "508:18:51",
|
|
361
361
|
"nodeType": "ContractDefinition",
|
|
362
362
|
"nodes": [],
|
|
363
|
-
"scope":
|
|
363
|
+
"scope": 20463,
|
|
364
364
|
"src": "490:60:51",
|
|
365
365
|
"usedErrors": []
|
|
366
366
|
}
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
},
|
|
374
374
|
"networks": {},
|
|
375
375
|
"schemaVersion": "3.4.8",
|
|
376
|
-
"updatedAt": "2022-08-
|
|
376
|
+
"updatedAt": "2022-08-24T13:23:34.440Z",
|
|
377
377
|
"devdoc": {
|
|
378
378
|
"author": "Superfluid",
|
|
379
379
|
"details": "Using abstract contract instead of interfaces because old solidity does not support interface inheriting other interfaces solhint-disable-next-line no-empty-blocks",
|