@superfluid-finance/ethereum-contracts 1.7.2-dev.09f3be3.0 → 1.7.2-dev.1ef77a5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/README.md +2 -2
  2. package/artifacts/contracts/apps/SuperAppBaseFlow.sol/SuperAppBaseFlow.json +13 -13
  3. package/artifacts/contracts/apps/SuperfluidLoaderLibrary.sol/SuperfluidLoaderLibrary.json +2 -2
  4. package/artifacts/contracts/mocks/SuperAppBaseFlowTester.sol/SuperAppBaseFlowTester.json +15 -15
  5. package/build/contracts/AccessControl.json +1 -1
  6. package/build/contracts/AccessControlEnumerable.json +1 -1
  7. package/build/contracts/Address.json +1 -1
  8. package/build/contracts/AgreementBase.json +18 -18
  9. package/build/contracts/AgreementLibrary.json +165 -165
  10. package/build/contracts/BaseRelayRecipient.json +57 -57
  11. package/build/contracts/BatchLiquidator.json +382 -382
  12. package/build/contracts/BatchOperation.json +614 -614
  13. package/build/contracts/CFAv1Forwarder.json +1250 -1250
  14. package/build/contracts/CFAv1ForwarderDeployerLibrary.json +2384 -2384
  15. package/build/contracts/CFAv1Library.json +389 -389
  16. package/build/contracts/CallUtils.json +198 -198
  17. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1525 -1525
  18. package/build/contracts/ConstantFlowAgreementV1.json +1087 -1087
  19. package/build/contracts/ConstantInflowNFT.json +402 -402
  20. package/build/contracts/ConstantOutflowNFT.json +661 -661
  21. package/build/contracts/Context.json +1 -1
  22. package/build/contracts/ContextDefinitions.json +614 -614
  23. package/build/contracts/CustomSuperTokenBase.json +19 -19
  24. package/build/contracts/ERC165.json +1 -1
  25. package/build/contracts/ERC1820Implementer.json +1 -1
  26. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  27. package/build/contracts/ERC20.json +1 -1
  28. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  29. package/build/contracts/ERC777Helper.json +384 -384
  30. package/build/contracts/ERC777RecipientDrainingGas.json +863 -863
  31. package/build/contracts/ERC777RecipientReverting.json +863 -863
  32. package/build/contracts/EnumerableSet.json +1 -1
  33. package/build/contracts/EventsEmitter.json +43 -43
  34. package/build/contracts/ExclusiveInflowTestApp.json +1525 -1525
  35. package/build/contracts/FixedSizeData.json +200 -200
  36. package/build/contracts/FlowExchangeTestApp.json +1526 -1526
  37. package/build/contracts/FlowNFTBase.json +1280 -1280
  38. package/build/contracts/FlowOperatorDefinitions.json +614 -614
  39. package/build/contracts/ForwarderBase.json +190 -190
  40. package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
  41. package/build/contracts/IAccessControl.json +1 -1
  42. package/build/contracts/IAccessControlEnumerable.json +1 -1
  43. package/build/contracts/IConstantFlowAgreementV1.json +677 -677
  44. package/build/contracts/IConstantInflowNFT.json +54 -54
  45. package/build/contracts/IConstantOutflowNFT.json +107 -107
  46. package/build/contracts/IDAv1Forwarder.json +912 -912
  47. package/build/contracts/IDAv1ForwarderDeployerLibrary.json +2384 -2384
  48. package/build/contracts/IDAv1Library.json +430 -430
  49. package/build/contracts/IERC165.json +1 -1
  50. package/build/contracts/IERC1820Implementer.json +1 -1
  51. package/build/contracts/IERC1820Registry.json +1 -1
  52. package/build/contracts/IERC20.json +1 -1
  53. package/build/contracts/IERC20Metadata.json +1 -1
  54. package/build/contracts/IERC20Permit.json +1 -1
  55. package/build/contracts/IERC721.json +1 -1
  56. package/build/contracts/IERC721Metadata.json +1 -1
  57. package/build/contracts/IERC777.json +1 -1
  58. package/build/contracts/IERC777Recipient.json +1 -1
  59. package/build/contracts/IERC777Sender.json +1 -1
  60. package/build/contracts/IFlowNFTBase.json +115 -115
  61. package/build/contracts/IInstantDistributionAgreementV1.json +667 -667
  62. package/build/contracts/IMultiSigWallet.json +31 -31
  63. package/build/contracts/IPoolAdminNFT.json +7 -7
  64. package/build/contracts/IPoolMemberNFT.json +7 -7
  65. package/build/contracts/IPureSuperToken.json +62 -62
  66. package/build/contracts/IPureSuperTokenCustom.json +62 -62
  67. package/build/contracts/IRelayRecipient.json +27 -27
  68. package/build/contracts/IResolver.json +38 -38
  69. package/build/contracts/ISETH.json +67 -67
  70. package/build/contracts/ISETHCustom.json +67 -67
  71. package/build/contracts/ISuperAgreement.json +50 -50
  72. package/build/contracts/ISuperApp.json +191 -191
  73. package/build/contracts/ISuperToken.json +695 -695
  74. package/build/contracts/ISuperTokenFactory.json +225 -225
  75. package/build/contracts/ISuperfluid.json +904 -904
  76. package/build/contracts/ISuperfluidGovernance.json +251 -251
  77. package/build/contracts/ISuperfluidToken.json +407 -407
  78. package/build/contracts/ITOGAv1.json +1346 -1346
  79. package/build/contracts/ITOGAv2.json +1346 -1346
  80. package/build/contracts/ITOGAv3.json +1346 -1346
  81. package/build/contracts/Initializable.json +1 -1
  82. package/build/contracts/InstantDistributionAgreementV1.json +594 -594
  83. package/build/contracts/Math.json +1 -1
  84. package/build/contracts/NonClosableOutflowTestApp.json +1526 -1526
  85. package/build/contracts/Ownable.json +1 -1
  86. package/build/contracts/Proxy.json +1 -1
  87. package/build/contracts/ProxyDeployerLibrary.json +2382 -2382
  88. package/build/contracts/PureSuperToken.json +106 -106
  89. package/build/contracts/Resolver.json +98 -98
  90. package/build/contracts/SETHProxy.json +224 -224
  91. package/build/contracts/SafeCast.json +1 -1
  92. package/build/contracts/SafeERC20.json +1 -1
  93. package/build/contracts/SafeGasLibrary.json +51 -51
  94. package/build/contracts/SafeMath.json +1 -1
  95. package/build/contracts/SelfDeletingFlowTestApp.json +1525 -1525
  96. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  97. package/build/contracts/StreamRedirector.json +704 -704
  98. package/build/contracts/Strings.json +1 -1
  99. package/build/contracts/SuperAppBase.json +42 -42
  100. package/build/contracts/SuperAppBaseFlow.json +800 -800
  101. package/build/contracts/SuperAppDefinitions.json +614 -614
  102. package/build/contracts/SuperToken.json +2714 -2714
  103. package/build/contracts/SuperTokenDeployerLibrary.json +2383 -2383
  104. package/build/contracts/SuperTokenFactory.json +1347 -1347
  105. package/build/contracts/SuperTokenFactoryBase.json +1329 -1329
  106. package/build/contracts/SuperTokenV1Library.json +1483 -1483
  107. package/build/contracts/SuperUpgrader.json +439 -439
  108. package/build/contracts/Superfluid.json +5196 -5196
  109. package/build/contracts/SuperfluidCFAv1DeployerLibrary.json +2383 -2383
  110. package/build/contracts/SuperfluidFrameworkDeployer.json +1260 -1260
  111. package/build/contracts/SuperfluidFrameworkDeploymentSteps.json +2382 -2382
  112. package/build/contracts/SuperfluidGovDeployerLibrary.json +2383 -2383
  113. package/build/contracts/SuperfluidGovernanceBase.json +2449 -2449
  114. package/build/contracts/SuperfluidGovernanceConfigs.json +614 -614
  115. package/build/contracts/SuperfluidGovernanceII.json +155 -155
  116. package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
  117. package/build/contracts/SuperfluidHostDeployerLibrary.json +2382 -2382
  118. package/build/contracts/SuperfluidIDAv1DeployerLibrary.json +2383 -2383
  119. package/build/contracts/SuperfluidLoader.json +207 -207
  120. package/build/contracts/SuperfluidLoaderDeployerLibrary.json +2384 -2384
  121. package/build/contracts/SuperfluidLoaderLibrary.json +552 -417
  122. package/build/contracts/SuperfluidNFTLogicDeployerLibrary.json +2387 -2387
  123. package/build/contracts/SuperfluidPeripheryDeployerLibrary.json +2385 -2385
  124. package/build/contracts/SuperfluidToken.json +1423 -1423
  125. package/build/contracts/TOGA.json +1360 -1360
  126. package/build/contracts/TestGovernance.json +250 -250
  127. package/build/contracts/TestResolver.json +47 -47
  128. package/build/contracts/TestToken.json +102 -102
  129. package/build/contracts/TokenDeployerLibrary.json +2384 -2384
  130. package/build/contracts/TokenInfo.json +32 -32
  131. package/build/contracts/UUPSProxiable.json +139 -139
  132. package/build/contracts/UUPSProxy.json +81 -81
  133. package/build/contracts/UUPSUtils.json +37 -37
  134. package/build/contracts-sizes.txt +15 -15
  135. package/build/typechain/contracts/apps/SuperAppBaseFlow.d.ts +9 -9
  136. package/build/typechain/contracts/apps/SuperAppBaseFlow.d.ts.map +1 -1
  137. package/build/typechain/contracts/mocks/SuperAppBaseFlowTester.d.ts +9 -9
  138. package/build/typechain/contracts/mocks/SuperAppBaseFlowTester.d.ts.map +1 -1
  139. package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.d.ts +10 -10
  140. package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.js +13 -13
  141. package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.js.map +1 -1
  142. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.d.ts +1 -1
  143. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.d.ts.map +1 -1
  144. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.js +1 -1
  145. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.js.map +1 -1
  146. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.d.ts +11 -11
  147. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.d.ts.map +1 -1
  148. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.js +14 -14
  149. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.js.map +1 -1
  150. package/contracts/apps/SuperAppBaseFlow.sol +8 -8
  151. package/contracts/apps/SuperfluidLoaderLibrary.sol +5 -2
  152. package/package.json +5 -5
  153. package/ops-scripts/.eslintrc.js +0 -15
  154. package/ops-scripts/artifacts/ERC1820Registry.json +0 -5
  155. package/ops-scripts/deploy-aux-contracts.js +0 -99
  156. package/ops-scripts/deploy-deterministically.js +0 -169
  157. package/ops-scripts/deploy-erc1820.js +0 -83
  158. package/ops-scripts/deploy-framework.js +0 -895
  159. package/ops-scripts/deploy-mfa.ts +0 -27
  160. package/ops-scripts/deploy-super-token.js +0 -206
  161. package/ops-scripts/deploy-test-environment.js +0 -98
  162. package/ops-scripts/deploy-test-token.js +0 -86
  163. package/ops-scripts/deploy-unlisted-pure-super-token.js +0 -69
  164. package/ops-scripts/deploy-unlisted-super-token.js +0 -68
  165. package/ops-scripts/gov-create-new-app-registration-key.js +0 -75
  166. package/ops-scripts/gov-create-new-factory-registration.js +0 -49
  167. package/ops-scripts/gov-set-3Ps-config.js +0 -67
  168. package/ops-scripts/gov-set-reward-address.js +0 -60
  169. package/ops-scripts/gov-set-token-min-deposit.js +0 -53
  170. package/ops-scripts/gov-set-trusted-forwarder.js +0 -80
  171. package/ops-scripts/gov-transfer-framework-ownership.js +0 -90
  172. package/ops-scripts/gov-upgrade-governance.js +0 -87
  173. package/ops-scripts/gov-upgrade-super-token-logic.js +0 -193
  174. package/ops-scripts/info-inspect-account.js +0 -118
  175. package/ops-scripts/info-list-apps.js +0 -55
  176. package/ops-scripts/info-print-contract-addresses.js +0 -136
  177. package/ops-scripts/info-scan-deployments.js +0 -63
  178. package/ops-scripts/info-show-protocol.js +0 -400
  179. package/ops-scripts/libs/common.js +0 -436
  180. package/ops-scripts/libs/getConfig.js +0 -289
  181. package/ops-scripts/libs/truffleScriptRunnerFactory.js +0 -97
  182. package/ops-scripts/resolver-list-super-token.js +0 -73
  183. package/ops-scripts/resolver-register-token.js +0 -72
  184. package/ops-scripts/resolver-reset-deployment.js +0 -54
  185. package/ops-scripts/resolver-set-key-value.js +0 -69
  186. package/ops-scripts/resolver-unlist-super-token.js +0 -61
  187. package/ops-scripts/tmp-trigger-token-transfer.js +0 -33
  188. package/ops-scripts/validate-nft-addresses.ts +0 -49
@@ -15,18 +15,18 @@
15
15
  "absolutePath": "project:/contracts/interfaces/superfluid/CustomSuperTokenBase.sol",
16
16
  "exportedSymbols": {
17
17
  "CustomSuperTokenBase": [
18
- 23134
18
+ 23145
19
19
  ],
20
20
  "ISuperToken": [
21
- 24383
21
+ 24394
22
22
  ]
23
23
  },
24
- "id": 23135,
24
+ "id": 23146,
25
25
  "license": "MIT",
26
26
  "nodeType": "SourceUnit",
27
27
  "nodes": [
28
28
  {
29
- "id": 23126,
29
+ "id": 23137,
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": 23128,
42
+ "id": 23139,
43
43
  "nameLocation": "-1:-1:-1",
44
44
  "nodeType": "ImportDirective",
45
- "scope": 23135,
46
- "sourceUnit": 24384,
45
+ "scope": 23146,
46
+ "sourceUnit": 24395,
47
47
  "src": "59:78:44",
48
48
  "symbolAliases": [
49
49
  {
50
50
  "foreign": {
51
- "id": 23127,
51
+ "id": 23138,
52
52
  "name": "ISuperToken",
53
53
  "nodeType": "Identifier",
54
54
  "overloadedDeclarations": [],
55
- "referencedDeclaration": 24383,
55
+ "referencedDeclaration": 24394,
56
56
  "src": "72:11:44",
57
57
  "typeDescriptions": {}
58
58
  },
@@ -68,15 +68,15 @@
68
68
  "contractDependencies": [],
69
69
  "contractKind": "contract",
70
70
  "documentation": {
71
- "id": 23129,
71
+ "id": 23140,
72
72
  "nodeType": "StructuredDocumentation",
73
73
  "src": "139:491:44",
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": 23134,
77
+ "id": 23145,
78
78
  "linearizedBaseContracts": [
79
- 23134
79
+ 23145
80
80
  ],
81
81
  "name": "CustomSuperTokenBase",
82
82
  "nameLocation": "649:20:44",
@@ -84,12 +84,12 @@
84
84
  "nodes": [
85
85
  {
86
86
  "constant": false,
87
- "id": 23133,
87
+ "id": 23144,
88
88
  "mutability": "mutable",
89
89
  "name": "_storagePaddings",
90
90
  "nameLocation": "780:16:44",
91
91
  "nodeType": "VariableDeclaration",
92
- "scope": 23134,
92
+ "scope": 23145,
93
93
  "src": "759:37:44",
94
94
  "stateVariable": true,
95
95
  "storageLocation": "default",
@@ -99,7 +99,7 @@
99
99
  },
100
100
  "typeName": {
101
101
  "baseType": {
102
- "id": 23130,
102
+ "id": 23141,
103
103
  "name": "uint256",
104
104
  "nodeType": "ElementaryTypeName",
105
105
  "src": "759:7:44",
@@ -108,10 +108,10 @@
108
108
  "typeString": "uint256"
109
109
  }
110
110
  },
111
- "id": 23132,
111
+ "id": 23143,
112
112
  "length": {
113
113
  "hexValue": "3332",
114
- "id": 23131,
114
+ "id": 23142,
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": 23135,
138
+ "scope": 23146,
139
139
  "src": "631:168:44",
140
140
  "usedErrors": []
141
141
  }
@@ -148,7 +148,7 @@
148
148
  },
149
149
  "networks": {},
150
150
  "schemaVersion": "3.4.13",
151
- "updatedAt": "2023-06-28T11:03:18.823Z",
151
+ "updatedAt": "2023-07-26T13:43:45.923Z",
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",
@@ -325,7 +325,7 @@
325
325
  },
326
326
  "networks": {},
327
327
  "schemaVersion": "3.4.13",
328
- "updatedAt": "2023-06-28T11:03:18.669Z",
328
+ "updatedAt": "2023-07-26T13:43:45.723Z",
329
329
  "devdoc": {
330
330
  "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.",
331
331
  "kind": "dev",
@@ -1198,7 +1198,7 @@
1198
1198
  },
1199
1199
  "networks": {},
1200
1200
  "schemaVersion": "3.4.13",
1201
- "updatedAt": "2023-06-28T11:03:18.669Z",
1201
+ "updatedAt": "2023-07-26T13:43:45.723Z",
1202
1202
  "devdoc": {
1203
1203
  "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.",
1204
1204
  "kind": "dev",
@@ -15,15 +15,15 @@
15
15
  "absolutePath": "project:/contracts/libs/ERC1820RegistryCompiled.sol",
16
16
  "exportedSymbols": {
17
17
  "ERC1820RegistryCompiled": [
18
- 25790
18
+ 25801
19
19
  ]
20
20
  },
21
- "id": 25791,
21
+ "id": 25802,
22
22
  "license": "AGPLv3",
23
23
  "nodeType": "SourceUnit",
24
24
  "nodes": [
25
25
  {
26
- "id": 25776,
26
+ "id": 25787,
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": 25777,
42
+ "id": 25788,
43
43
  "nodeType": "StructuredDocumentation",
44
44
  "src": "135:114:67",
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": 25790,
48
+ "id": 25801,
49
49
  "linearizedBaseContracts": [
50
- 25790
50
+ 25801
51
51
  ],
52
52
  "name": "ERC1820RegistryCompiled",
53
53
  "nameLocation": "257:23:67",
@@ -55,12 +55,12 @@
55
55
  "nodes": [
56
56
  {
57
57
  "constant": true,
58
- "id": 25783,
58
+ "id": 25794,
59
59
  "mutability": "constant",
60
60
  "name": "at",
61
61
  "nameLocation": "313:2:67",
62
62
  "nodeType": "VariableDeclaration",
63
- "scope": 25790,
63
+ "scope": 25801,
64
64
  "src": "287:82:67",
65
65
  "stateVariable": true,
66
66
  "storageLocation": "default",
@@ -69,7 +69,7 @@
69
69
  "typeString": "address"
70
70
  },
71
71
  "typeName": {
72
- "id": 25778,
72
+ "id": 25789,
73
73
  "name": "address",
74
74
  "nodeType": "ElementaryTypeName",
75
75
  "src": "287:7:67",
@@ -83,7 +83,7 @@
83
83
  "arguments": [
84
84
  {
85
85
  "hexValue": "307831383230613442373631384264453731446365386364633733614142364339353930356661443234",
86
- "id": 25781,
86
+ "id": 25792,
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": 25780,
108
+ "id": 25791,
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": 25779,
120
+ "id": 25790,
121
121
  "name": "address",
122
122
  "nodeType": "ElementaryTypeName",
123
123
  "src": "318:7:67",
124
124
  "typeDescriptions": {}
125
125
  }
126
126
  },
127
- "id": 25782,
127
+ "id": 25793,
128
128
  "isConstant": false,
129
129
  "isLValue": false,
130
130
  "isPure": true,
@@ -144,12 +144,12 @@
144
144
  },
145
145
  {
146
146
  "constant": true,
147
- "id": 25789,
147
+ "id": 25800,
148
148
  "mutability": "constant",
149
149
  "name": "bin",
150
150
  "nameLocation": "399:3:67",
151
151
  "nodeType": "VariableDeclaration",
152
- "scope": 25790,
152
+ "scope": 25801,
153
153
  "src": "375:5044:67",
154
154
  "stateVariable": true,
155
155
  "storageLocation": "default",
@@ -158,7 +158,7 @@
158
158
  "typeString": "bytes"
159
159
  },
160
160
  "typeName": {
161
- "id": 25784,
161
+ "id": 25795,
162
162
  "name": "bytes",
163
163
  "nodeType": "ElementaryTypeName",
164
164
  "src": "375:5:67",
@@ -171,7 +171,7 @@
171
171
  "arguments": [
172
172
  {
173
173
  "hexValue": "608060405234801561001057600080fd5b50600436106100a5576000357c010000000000000000000000000000000000000000000000000000000090048063a41e7d5111610078578063a41e7d51146101d4578063aabbb8ca1461020a578063b705676514610236578063f712f3e814610280576100a5565b806329965a1d146100aa5780633d584063146100e25780635df8122f1461012457806365ba36c114610152575b600080fd5b6100e0600480360360608110156100c057600080fd5b50600160a060020a038135811691602081013591604090910135166102b6565b005b610108600480360360208110156100f857600080fd5b5035600160a060020a0316610570565b60408051600160a060020a039092168252519081900360200190f35b6100e06004803603604081101561013a57600080fd5b50600160a060020a03813581169160200135166105bc565b6101c26004803603602081101561016857600080fd5b81019060208101813564010000000081111561018357600080fd5b82018360208201111561019557600080fd5b803590602001918460018302840111640100000000831117156101b757600080fd5b5090925090506106b3565b60408051918252519081900360200190f35b6100e0600480360360408110156101ea57600080fd5b508035600160a060020a03169060200135600160e060020a0319166106ee565b6101086004803603604081101561022057600080fd5b50600160a060020a038135169060200135610778565b61026c6004803603604081101561024c57600080fd5b508035600160a060020a03169060200135600160e060020a0319166107ef565b604080519115158252519081900360200190f35b61026c6004803603604081101561029657600080fd5b508035600160a060020a03169060200135600160e060020a0319166108aa565b6000600160a060020a038416156102cd57836102cf565b335b9050336102db82610570565b600160a060020a031614610339576040805160e560020a62461bcd02815260206004820152600f60248201527f4e6f7420746865206d616e616765720000000000000000000000000000000000604482015290519081900360640190fd5b6103428361092a565b15610397576040805160e560020a62461bcd02815260206004820152601a60248201527f4d757374206e6f7420626520616e204552433136352068617368000000000000604482015290519081900360640190fd5b600160a060020a038216158015906103b85750600160a060020a0382163314155b156104ff5760405160200180807f455243313832305f4143434550545f4d4147494300000000000000000000000081525060140190506040516020818303038152906040528051906020012082600160a060020a031663249cb3fa85846040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083815260200182600160a060020a0316600160a060020a031681526020019250505060206040518083038186803b15801561047e57600080fd5b505afa158015610492573d6000803e3d6000fd5b505050506040513d60208110156104a857600080fd5b5051146104ff576040805160e560020a62461bcd02815260206004820181905260248201527f446f6573206e6f7420696d706c656d656e742074686520696e74657266616365604482015290519081900360640190fd5b600160a060020a03818116600081815260208181526040808320888452909152808220805473ffffffffffffffffffffffffffffffffffffffff19169487169485179055518692917f93baa6efbd2244243bfee6ce4cfdd1d04fc4c0e9a786abd3a41313bd352db15391a450505050565b600160a060020a03818116600090815260016020526040812054909116151561059a5750806105b7565b50600160a060020a03808216600090815260016020526040902054165b919050565b336105c683610570565b600160a060020a031614610624576040805160e560020a62461bcd02815260206004820152600f60248201527f4e6f7420746865206d616e616765720000000000000000000000000000000000604482015290519081900360640190fd5b81600160a060020a031681600160a060020a0316146106435780610646565b60005b600160a060020a03838116600081815260016020526040808220805473ffffffffffffffffffffffffffffffffffffffff19169585169590951790945592519184169290917f605c2dbf762e5f7d60a546d42e7205dcb1b011ebc62a61736a57c9089d3a43509190a35050565b600082826040516020018083838082843780830192505050925050506040516020818303038152906040528051906020012090505b92915050565b6106f882826107ef565b610703576000610705565b815b600160a060020a03928316600081815260208181526040808320600160e060020a031996909616808452958252808320805473ffffffffffffffffffffffffffffffffffffffff19169590971694909417909555908152600284528181209281529190925220805460ff19166001179055565b600080600160a060020a038416156107905783610792565b335b905061079d8361092a565b156107c357826107ad82826108aa565b6107b85760006107ba565b815b925050506106e8565b600160a060020a0390811660009081526020818152604080832086845290915290205416905092915050565b6000808061081d857f01ffc9a70000000000000000000000000000000000000000000000000000000061094c565b909250905081158061082d575080155b1561083d576000925050506106e8565b61084f85600160e060020a031961094c565b909250905081158061086057508015155b15610870576000925050506106e8565b61087a858561094c565b909250905060018214801561088f5750806001145b1561089f576001925050506106e8565b506000949350505050565b600160a060020a0382166000908152600260209081526040808320600160e060020a03198516845290915281205460ff1615156108f2576108eb83836107ef565b90506106e8565b50600160a060020a03808316600081815260208181526040808320600160e060020a0319871684529091529020549091161492915050565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff161590565b6040517f01ffc9a7000000000000000000000000000000000000000000000000000000008082526004820183905260009182919060208160248189617530fa90519096909550935050505056fea165627a7a72305820377f4a2d4301ede9949f163f319021a6e9c687c292a5e2b2c4734c126b524e6c0029",
174
- "id": 25787,
174
+ "id": 25798,
175
175
  "isConstant": false,
176
176
  "isLValue": false,
177
177
  "isPure": true,
@@ -192,7 +192,7 @@
192
192
  "typeString": "literal_string hex\"608060405234801561001057600080fd5b50600436106100a5576000357c010000000000000000000000000000000000000000000000000000000090048063a41e7d5111610078578063a41e7d51146101d4578063aabbb8ca1461020a578063b705676514610236578063f712f3e814610280576100a5565b806329965a1d146100aa5780633d584063146100e25780635df8122f1461012457806365ba36c114610152575b600080fd5b6100e0600480360360608110156100c057600080fd5b50600160a060020a038135811691602081013591604090910135166102b6565b005b610108600480360360208110156100f857600080fd5b5035600160a060020a0316610570565b60408051600160a060020a039092168252519081900360200190f35b6100e06004803603604081101561013a57600080fd5b50600160a060020a03813581169160200135166105bc565b6101c26004803603602081101561016857600080fd5b81019060208101813564010000000081111561018357600080fd5b82018360208201111561019557600080fd5b803590602001918460018302840111640100000000831117156101b757600080fd5b5090925090506106b3565b60408051918252519081900360200190f35b6100e0600480360360408110156101ea57600080fd5b508035600160a060020a03169060200135600160e060020a0319166106ee565b6101086004803603604081101561022057600080fd5b50600160a060020a038135169060200135610778565b61026c6004803603604081101561024c57600080fd5b508035600160a060020a03169060200135600160e060020a0319166107ef565b604080519115158252519081900360200190f35b61026c6004803603604081101561029657600080fd5b508035600160a060020a03169060200135600160e060020a0319166108aa565b6000600160a060020a038416156102cd57836102cf565b335b9050336102db82610570565b600160a060020a031614610339576040805160e560020a62461bcd02815260206004820152600f60248201527f4e6f7420746865206d616e616765720000000000000000000000000000000000604482015290519081900360640190fd5b6103428361092a565b15610397576040805160e560020a62461bcd02815260206004820152601a60248201527f4d757374206e6f7420626520616e204552433136352068617368000000000000604482015290519081900360640190fd5b600160a060020a038216158015906103b85750600160a060020a0382163314155b156104ff5760405160200180807f455243313832305f4143434550545f4d4147494300000000000000000000000081525060140190506040516020818303038152906040528051906020012082600160a060020a031663249cb3fa85846040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083815260200182600160a060020a0316600160a060020a031681526020019250505060206040518083038186803b15801561047e57600080fd5b505afa158015610492573d6000803e3d6000fd5b505050506040513d60208110156104a857600080fd5b5051146104ff576040805160e560020a62461bcd02815260206004820181905260248201527f446f6573206e6f7420696d706c656d656e742074686520696e74657266616365604482015290519081900360640190fd5b600160a060020a03818116600081815260208181526040808320888452909152808220805473ffffffffffffffffffffffffffffffffffffffff19169487169485179055518692917f93baa6efbd2244243bfee6ce4cfdd1d04fc4c0e9a786abd3a41313bd352db15391a450505050565b600160a060020a03818116600090815260016020526040812054909116151561059a5750806105b7565b50600160a060020a03808216600090815260016020526040902054165b919050565b336105c683610570565b600160a060020a031614610624576040805160e560020a62461bcd02815260206004820152600f60248201527f4e6f7420746865206d616e616765720000000000000000000000000000000000604482015290519081900360640190fd5b81600160a060020a031681600160a060020a0316146106435780610646565b60005b600160a060020a03838116600081815260016020526040808220805473ffffffffffffffffffffffffffffffffffffffff19169585169590951790945592519184169290917f605c2dbf762e5f7d60a546d42e7205dcb1b011ebc62a61736a57c9089d3a43509190a35050565b600082826040516020018083838082843780830192505050925050506040516020818303038152906040528051906020012090505b92915050565b6106f882826107ef565b610703576000610705565b815b600160a060020a03928316600081815260208181526040808320600160e060020a031996909616808452958252808320805473ffffffffffffffffffffffffffffffffffffffff19169590971694909417909555908152600284528181209281529190925220805460ff19166001179055565b600080600160a060020a038416156107905783610792565b335b905061079d8361092a565b156107c357826107ad82826108aa565b6107b85760006107ba565b815b925050506106e8565b600160a060020a0390811660009081526020818152604080832086845290915290205416905092915050565b6000808061081d857f01ffc9a70000000000000000000000000000000000000000000000000000000061094c565b909250905081158061082d575080155b1561083d576000925050506106e8565b61084f85600160e060020a031961094c565b909250905081158061086057508015155b15610870576000925050506106e8565b61087a858561094c565b909250905060018214801561088f5750806001145b1561089f576001925050506106e8565b506000949350505050565b600160a060020a0382166000908152600260209081526040808320600160e060020a03198516845290915281205460ff1615156108f2576108eb83836107ef565b90506106e8565b50600160a060020a03808316600081815260208181526040808320600160e060020a0319871684529091529020549091161492915050565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff161590565b6040517f01ffc9a7000000000000000000000000000000000000000000000000000000008082526004820183905260009182919060208160248189617530fa90519096909550935050505056fea165627a7a72305820377f4a2d4301ede9949f163f319021a6e9c687c292a5e2b2c4734c126b524e6c0029\""
193
193
  }
194
194
  ],
195
- "id": 25786,
195
+ "id": 25797,
196
196
  "isConstant": false,
197
197
  "isLValue": false,
198
198
  "isPure": true,
@@ -204,14 +204,14 @@
204
204
  "typeString": "type(bytes storage pointer)"
205
205
  },
206
206
  "typeName": {
207
- "id": 25785,
207
+ "id": 25796,
208
208
  "name": "bytes",
209
209
  "nodeType": "ElementaryTypeName",
210
210
  "src": "405:5:67",
211
211
  "typeDescriptions": {}
212
212
  }
213
213
  },
214
- "id": 25788,
214
+ "id": 25799,
215
215
  "isConstant": false,
216
216
  "isLValue": false,
217
217
  "isPure": true,
@@ -230,7 +230,7 @@
230
230
  "visibility": "internal"
231
231
  }
232
232
  ],
233
- "scope": 25791,
233
+ "scope": 25802,
234
234
  "src": "249:5173:67",
235
235
  "usedErrors": []
236
236
  }
@@ -243,7 +243,7 @@
243
243
  },
244
244
  "networks": {},
245
245
  "schemaVersion": "3.4.13",
246
- "updatedAt": "2023-06-28T11:03:18.860Z",
246
+ "updatedAt": "2023-07-26T13:43:45.972Z",
247
247
  "devdoc": {
248
248
  "details": "This is meant to be used by test framework to get the raw bytecode without compiling the origin contract",
249
249
  "kind": "dev",
@@ -15059,7 +15059,7 @@
15059
15059
  },
15060
15060
  "networks": {},
15061
15061
  "schemaVersion": "3.4.13",
15062
- "updatedAt": "2023-06-28T11:03:18.638Z",
15062
+ "updatedAt": "2023-07-26T13:43:45.676Z",
15063
15063
  "devdoc": {
15064
15064
  "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.openzeppelin.com/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}.",
15065
15065
  "events": {
@@ -238,21 +238,21 @@
238
238
  "absolutePath": "project:/contracts/interfaces/tokens/ERC20WithTokenInfo.sol",
239
239
  "exportedSymbols": {
240
240
  "ERC20WithTokenInfo": [
241
- 25464
241
+ 25475
242
242
  ],
243
243
  "IERC20": [
244
244
  1540
245
245
  ],
246
246
  "TokenInfo": [
247
- 25532
247
+ 25543
248
248
  ]
249
249
  },
250
- "id": 25465,
250
+ "id": 25476,
251
251
  "license": "MIT",
252
252
  "nodeType": "SourceUnit",
253
253
  "nodes": [
254
254
  {
255
- "id": 25454,
255
+ "id": 25465,
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": 25456,
268
+ "id": 25467,
269
269
  "nameLocation": "-1:-1:-1",
270
270
  "nodeType": "ImportDirective",
271
- "scope": 25465,
271
+ "scope": 25476,
272
272
  "sourceUnit": 1541,
273
273
  "src": "59:72:58",
274
274
  "symbolAliases": [
275
275
  {
276
276
  "foreign": {
277
- "id": 25455,
277
+ "id": 25466,
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": 25458,
293
+ "id": 25469,
294
294
  "nameLocation": "-1:-1:-1",
295
295
  "nodeType": "ImportDirective",
296
- "scope": 25465,
297
- "sourceUnit": 25533,
296
+ "scope": 25476,
297
+ "sourceUnit": 25544,
298
298
  "src": "132:44:58",
299
299
  "symbolAliases": [
300
300
  {
301
301
  "foreign": {
302
- "id": 25457,
302
+ "id": 25468,
303
303
  "name": "TokenInfo",
304
304
  "nodeType": "Identifier",
305
305
  "overloadedDeclarations": [],
306
- "referencedDeclaration": 25532,
306
+ "referencedDeclaration": 25543,
307
307
  "src": "141:9:58",
308
308
  "typeDescriptions": {}
309
309
  },
@@ -317,7 +317,7 @@
317
317
  "baseContracts": [
318
318
  {
319
319
  "baseName": {
320
- "id": 25460,
320
+ "id": 25471,
321
321
  "name": "IERC20",
322
322
  "nameLocations": [
323
323
  "527:6:58"
@@ -326,22 +326,22 @@
326
326
  "referencedDeclaration": 1540,
327
327
  "src": "527:6:58"
328
328
  },
329
- "id": 25461,
329
+ "id": 25472,
330
330
  "nodeType": "InheritanceSpecifier",
331
331
  "src": "527:6:58"
332
332
  },
333
333
  {
334
334
  "baseName": {
335
- "id": 25462,
335
+ "id": 25473,
336
336
  "name": "TokenInfo",
337
337
  "nameLocations": [
338
338
  "535:9:58"
339
339
  ],
340
340
  "nodeType": "IdentifierPath",
341
- "referencedDeclaration": 25532,
341
+ "referencedDeclaration": 25543,
342
342
  "src": "535:9:58"
343
343
  },
344
- "id": 25463,
344
+ "id": 25474,
345
345
  "nodeType": "InheritanceSpecifier",
346
346
  "src": "535:9:58"
347
347
  }
@@ -350,23 +350,23 @@
350
350
  "contractDependencies": [],
351
351
  "contractKind": "contract",
352
352
  "documentation": {
353
- "id": 25459,
353
+ "id": 25470,
354
354
  "nodeType": "StructuredDocumentation",
355
355
  "src": "178:263:58",
356
356
  "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"
357
357
  },
358
358
  "fullyImplemented": false,
359
- "id": 25464,
359
+ "id": 25475,
360
360
  "linearizedBaseContracts": [
361
- 25464,
362
- 25532,
361
+ 25475,
362
+ 25543,
363
363
  1540
364
364
  ],
365
365
  "name": "ERC20WithTokenInfo",
366
366
  "nameLocation": "505:18:58",
367
367
  "nodeType": "ContractDefinition",
368
368
  "nodes": [],
369
- "scope": 25465,
369
+ "scope": 25476,
370
370
  "src": "487:60:58",
371
371
  "usedErrors": []
372
372
  }
@@ -379,7 +379,7 @@
379
379
  },
380
380
  "networks": {},
381
381
  "schemaVersion": "3.4.13",
382
- "updatedAt": "2023-06-28T11:03:18.853Z",
382
+ "updatedAt": "2023-07-26T13:43:45.962Z",
383
383
  "devdoc": {
384
384
  "author": "Superfluid",
385
385
  "details": "Using abstract contract instead of interfaces because old solidity does not support interface inheriting other interfaces solhint-disable-next-line no-empty-blocks",