@superfluid-finance/ethereum-contracts 1.4.4-dev.b157ec2.0 → 1.4.4-dev.cd4538f.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/artifacts/contracts/utils/TOGA.sol/ITOGAv3.json +194 -0
- package/artifacts/contracts/utils/TOGA.sol/TOGA.json +2 -33
- 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 +723 -723
- package/build/contracts/BatchOperation.json +1 -1
- package/build/contracts/CFAv1Forwarder.json +2050 -2050
- package/build/contracts/CFAv1Library.json +1 -1
- package/build/contracts/CallUtils.json +1 -1
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1566 -1566
- package/build/contracts/ConstantFlowAgreementV1.json +4582 -4582
- 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 +79 -79
- package/build/contracts/ERC1820RegistryCompiled.json +1 -1
- package/build/contracts/ERC20.json +1289 -1289
- package/build/contracts/ERC20WithTokenInfo.json +1 -1
- package/build/contracts/ERC777Helper.json +1 -1
- package/build/contracts/ERC777RecipientDrainingGas.json +350 -350
- package/build/contracts/ERC777RecipientReverting.json +373 -373
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +1 -1
- package/build/contracts/ExclusiveInflowTestApp.json +1594 -1594
- package/build/contracts/FixedSizeData.json +1 -1
- package/build/contracts/FlowExchangeTestApp.json +1704 -1704
- package/build/contracts/FlowOperatorDefinitions.json +1 -1
- package/build/contracts/FullUpgradableSuperTokenProxy.json +74 -74
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementHook.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +1 -1
- package/build/contracts/IDAv1Library.json +1 -1
- package/build/contracts/IERC165.json +1 -1
- package/build/contracts/IERC1820Implementer.json +1 -1
- package/build/contracts/IERC1820Registry.json +1 -1
- package/build/contracts/IERC20.json +1 -1
- package/build/contracts/IERC20Metadata.json +1 -1
- package/build/contracts/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 +1 -1
- package/build/contracts/IMultiSigWallet.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 +2099 -2898
- package/build/contracts/ITOGAv2.json +2098 -2897
- package/build/contracts/ITOGAv3.json +10990 -0
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5077 -5077
- package/build/contracts/NonClosableOutflowTestApp.json +1469 -1469
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/PureSuperToken.json +534 -534
- package/build/contracts/Resolver.json +885 -885
- package/build/contracts/SETHProxy.json +293 -293
- 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 +1566 -1566
- package/build/contracts/SlotsBitmapLibrary.json +971 -971
- package/build/contracts/StreamRedirector.json +1956 -1956
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +1 -1
- package/build/contracts/SuperAppDefinitions.json +1 -1
- package/build/contracts/SuperToken.json +4575 -4575
- package/build/contracts/SuperTokenFactory.json +1753 -1753
- package/build/contracts/SuperTokenFactoryBase.json +1 -1
- package/build/contracts/SuperTokenFactoryHelper.json +104 -104
- package/build/contracts/SuperUpgrader.json +1718 -1718
- package/build/contracts/Superfluid.json +4566 -4566
- package/build/contracts/SuperfluidFrameworkDeployer.json +2400 -2400
- package/build/contracts/SuperfluidGovernanceBase.json +1 -1
- package/build/contracts/SuperfluidGovernanceConfigs.json +1 -1
- package/build/contracts/SuperfluidGovernanceII.json +2438 -2438
- package/build/contracts/SuperfluidGovernanceIIProxy.json +211 -211
- package/build/contracts/SuperfluidLoader.json +500 -500
- package/build/contracts/SuperfluidToken.json +1 -1
- package/build/contracts/TOGA.json +4255 -6226
- package/build/contracts/TestGovernance.json +2494 -2494
- package/build/contracts/TestResolver.json +964 -964
- package/build/contracts/TestToken.json +1478 -1478
- package/build/contracts/TokenInfo.json +1 -1
- package/build/contracts/UUPSProxiable.json +1 -1
- package/build/contracts/UUPSProxy.json +116 -116
- package/build/contracts/UUPSUtils.json +1 -1
- package/build/typechain/contracts/utils/TOGA.sol/ITOGAv3.d.ts +158 -0
- package/build/typechain/contracts/utils/TOGA.sol/ITOGAv3.d.ts.map +1 -0
- package/build/typechain/contracts/utils/{TokenCustodian.js → TOGA.sol/ITOGAv3.js} +1 -1
- package/build/typechain/contracts/utils/TOGA.sol/ITOGAv3.js.map +1 -0
- package/build/typechain/contracts/utils/TOGA.sol/TOGA.d.ts +1 -25
- package/build/typechain/contracts/utils/TOGA.sol/TOGA.d.ts.map +1 -1
- package/build/typechain/contracts/utils/TOGA.sol/index.d.ts +1 -0
- package/build/typechain/contracts/utils/TOGA.sol/index.d.ts.map +1 -1
- package/build/typechain/contracts/utils/index.d.ts +0 -1
- package/build/typechain/contracts/utils/index.d.ts.map +1 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.d.ts +36 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.d.ts.map +1 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.js +203 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.js.map +1 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.d.ts +3 -3
- package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.d.ts.map +1 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.js +5 -36
- package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.js.map +1 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/index.d.ts +1 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/index.d.ts.map +1 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/index.js +3 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/index.js.map +1 -1
- package/build/typechain/factories/contracts/utils/index.d.ts +0 -1
- package/build/typechain/factories/contracts/utils/index.d.ts.map +1 -1
- package/build/typechain/factories/contracts/utils/index.js +1 -3
- package/build/typechain/factories/contracts/utils/index.js.map +1 -1
- package/build/typechain/index.d.ts +2 -2
- package/build/typechain/index.d.ts.map +1 -1
- package/build/typechain/index.js +3 -3
- package/build/typechain/index.js.map +1 -1
- package/contracts/utils/TOGA.sol +16 -28
- package/package.json +2 -2
- package/scripts/deploy-aux-contracts.js +1 -5
- package/artifacts/contracts/utils/TokenCustodian.sol/TokenCustodian.json +0 -146
- package/build/contracts/TokenCustodian.json +0 -5052
- package/build/typechain/contracts/utils/TokenCustodian.d.ts +0 -114
- package/build/typechain/contracts/utils/TokenCustodian.d.ts.map +0 -1
- package/build/typechain/contracts/utils/TokenCustodian.js.map +0 -1
- package/build/typechain/factories/contracts/utils/TokenCustodian__factory.d.ts +0 -56
- package/build/typechain/factories/contracts/utils/TokenCustodian__factory.d.ts.map +0 -1
- package/build/typechain/factories/contracts/utils/TokenCustodian__factory.js +0 -178
- package/build/typechain/factories/contracts/utils/TokenCustodian__factory.js.map +0 -1
- package/contracts/utils/TokenCustodian.sol +0 -55
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
},
|
|
258
258
|
"networks": {},
|
|
259
259
|
"schemaVersion": "3.4.9",
|
|
260
|
-
"updatedAt": "2022-
|
|
260
|
+
"updatedAt": "2022-11-14T15:01:23.717Z",
|
|
261
261
|
"devdoc": {
|
|
262
262
|
"details": "Provides information about the current execution context, including the sender of the transaction and its data. While these are generally available via msg.sender and msg.data, they should not be accessed in such a direct manner, since when dealing with meta-transactions the account sending and paying for execution may not be the actual sender (as far as an application is concerned). This contract is only required for intermediate, library-like contracts.",
|
|
263
263
|
"kind": "dev",
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
},
|
|
149
149
|
"networks": {},
|
|
150
150
|
"schemaVersion": "3.4.9",
|
|
151
|
-
"updatedAt": "2022-
|
|
151
|
+
"updatedAt": "2022-11-14T15:01:23.840Z",
|
|
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.9",
|
|
328
|
-
"updatedAt": "2022-
|
|
328
|
+
"updatedAt": "2022-11-14T15:01:23.719Z",
|
|
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",
|
|
@@ -35,22 +35,22 @@
|
|
|
35
35
|
{
|
|
36
36
|
"ast": {
|
|
37
37
|
"nodeType": "YulBlock",
|
|
38
|
-
"src": "0:552:
|
|
38
|
+
"src": "0:552:103",
|
|
39
39
|
"statements": [
|
|
40
40
|
{
|
|
41
41
|
"nodeType": "YulBlock",
|
|
42
|
-
"src": "6:3:
|
|
42
|
+
"src": "6:3:103",
|
|
43
43
|
"statements": []
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"body": {
|
|
47
47
|
"nodeType": "YulBlock",
|
|
48
|
-
"src": "101:267:
|
|
48
|
+
"src": "101:267:103",
|
|
49
49
|
"statements": [
|
|
50
50
|
{
|
|
51
51
|
"body": {
|
|
52
52
|
"nodeType": "YulBlock",
|
|
53
|
-
"src": "147:16:
|
|
53
|
+
"src": "147:16:103",
|
|
54
54
|
"statements": [
|
|
55
55
|
{
|
|
56
56
|
"expression": {
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
{
|
|
59
59
|
"kind": "number",
|
|
60
60
|
"nodeType": "YulLiteral",
|
|
61
|
-
"src": "156:1:
|
|
61
|
+
"src": "156:1:103",
|
|
62
62
|
"type": "",
|
|
63
63
|
"value": "0"
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"kind": "number",
|
|
67
67
|
"nodeType": "YulLiteral",
|
|
68
|
-
"src": "159:1:
|
|
68
|
+
"src": "159:1:103",
|
|
69
69
|
"type": "",
|
|
70
70
|
"value": "0"
|
|
71
71
|
}
|
|
@@ -73,13 +73,13 @@
|
|
|
73
73
|
"functionName": {
|
|
74
74
|
"name": "revert",
|
|
75
75
|
"nodeType": "YulIdentifier",
|
|
76
|
-
"src": "149:6:
|
|
76
|
+
"src": "149:6:103"
|
|
77
77
|
},
|
|
78
78
|
"nodeType": "YulFunctionCall",
|
|
79
|
-
"src": "149:12:
|
|
79
|
+
"src": "149:12:103"
|
|
80
80
|
},
|
|
81
81
|
"nodeType": "YulExpressionStatement",
|
|
82
|
-
"src": "149:12:
|
|
82
|
+
"src": "149:12:103"
|
|
83
83
|
}
|
|
84
84
|
]
|
|
85
85
|
},
|
|
@@ -90,26 +90,26 @@
|
|
|
90
90
|
{
|
|
91
91
|
"name": "dataEnd",
|
|
92
92
|
"nodeType": "YulIdentifier",
|
|
93
|
-
"src": "122:7:
|
|
93
|
+
"src": "122:7:103"
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
"name": "headStart",
|
|
97
97
|
"nodeType": "YulIdentifier",
|
|
98
|
-
"src": "131:9:
|
|
98
|
+
"src": "131:9:103"
|
|
99
99
|
}
|
|
100
100
|
],
|
|
101
101
|
"functionName": {
|
|
102
102
|
"name": "sub",
|
|
103
103
|
"nodeType": "YulIdentifier",
|
|
104
|
-
"src": "118:3:
|
|
104
|
+
"src": "118:3:103"
|
|
105
105
|
},
|
|
106
106
|
"nodeType": "YulFunctionCall",
|
|
107
|
-
"src": "118:23:
|
|
107
|
+
"src": "118:23:103"
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
110
|
"kind": "number",
|
|
111
111
|
"nodeType": "YulLiteral",
|
|
112
|
-
"src": "143:2:
|
|
112
|
+
"src": "143:2:103",
|
|
113
113
|
"type": "",
|
|
114
114
|
"value": "64"
|
|
115
115
|
}
|
|
@@ -117,44 +117,44 @@
|
|
|
117
117
|
"functionName": {
|
|
118
118
|
"name": "slt",
|
|
119
119
|
"nodeType": "YulIdentifier",
|
|
120
|
-
"src": "114:3:
|
|
120
|
+
"src": "114:3:103"
|
|
121
121
|
},
|
|
122
122
|
"nodeType": "YulFunctionCall",
|
|
123
|
-
"src": "114:32:
|
|
123
|
+
"src": "114:32:103"
|
|
124
124
|
},
|
|
125
125
|
"nodeType": "YulIf",
|
|
126
|
-
"src": "111:52:
|
|
126
|
+
"src": "111:52:103"
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
129
|
"nodeType": "YulAssignment",
|
|
130
|
-
"src": "172:33:
|
|
130
|
+
"src": "172:33:103",
|
|
131
131
|
"value": {
|
|
132
132
|
"arguments": [
|
|
133
133
|
{
|
|
134
134
|
"name": "headStart",
|
|
135
135
|
"nodeType": "YulIdentifier",
|
|
136
|
-
"src": "195:9:
|
|
136
|
+
"src": "195:9:103"
|
|
137
137
|
}
|
|
138
138
|
],
|
|
139
139
|
"functionName": {
|
|
140
140
|
"name": "calldataload",
|
|
141
141
|
"nodeType": "YulIdentifier",
|
|
142
|
-
"src": "182:12:
|
|
142
|
+
"src": "182:12:103"
|
|
143
143
|
},
|
|
144
144
|
"nodeType": "YulFunctionCall",
|
|
145
|
-
"src": "182:23:
|
|
145
|
+
"src": "182:23:103"
|
|
146
146
|
},
|
|
147
147
|
"variableNames": [
|
|
148
148
|
{
|
|
149
149
|
"name": "value0",
|
|
150
150
|
"nodeType": "YulIdentifier",
|
|
151
|
-
"src": "172:6:
|
|
151
|
+
"src": "172:6:103"
|
|
152
152
|
}
|
|
153
153
|
]
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
"nodeType": "YulVariableDeclaration",
|
|
157
|
-
"src": "214:45:
|
|
157
|
+
"src": "214:45:103",
|
|
158
158
|
"value": {
|
|
159
159
|
"arguments": [
|
|
160
160
|
{
|
|
@@ -162,12 +162,12 @@
|
|
|
162
162
|
{
|
|
163
163
|
"name": "headStart",
|
|
164
164
|
"nodeType": "YulIdentifier",
|
|
165
|
-
"src": "244:9:
|
|
165
|
+
"src": "244:9:103"
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
168
|
"kind": "number",
|
|
169
169
|
"nodeType": "YulLiteral",
|
|
170
|
-
"src": "255:2:
|
|
170
|
+
"src": "255:2:103",
|
|
171
171
|
"type": "",
|
|
172
172
|
"value": "32"
|
|
173
173
|
}
|
|
@@ -175,25 +175,25 @@
|
|
|
175
175
|
"functionName": {
|
|
176
176
|
"name": "add",
|
|
177
177
|
"nodeType": "YulIdentifier",
|
|
178
|
-
"src": "240:3:
|
|
178
|
+
"src": "240:3:103"
|
|
179
179
|
},
|
|
180
180
|
"nodeType": "YulFunctionCall",
|
|
181
|
-
"src": "240:18:
|
|
181
|
+
"src": "240:18:103"
|
|
182
182
|
}
|
|
183
183
|
],
|
|
184
184
|
"functionName": {
|
|
185
185
|
"name": "calldataload",
|
|
186
186
|
"nodeType": "YulIdentifier",
|
|
187
|
-
"src": "227:12:
|
|
187
|
+
"src": "227:12:103"
|
|
188
188
|
},
|
|
189
189
|
"nodeType": "YulFunctionCall",
|
|
190
|
-
"src": "227:32:
|
|
190
|
+
"src": "227:32:103"
|
|
191
191
|
},
|
|
192
192
|
"variables": [
|
|
193
193
|
{
|
|
194
194
|
"name": "value",
|
|
195
195
|
"nodeType": "YulTypedName",
|
|
196
|
-
"src": "218:5:
|
|
196
|
+
"src": "218:5:103",
|
|
197
197
|
"type": ""
|
|
198
198
|
}
|
|
199
199
|
]
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
{
|
|
202
202
|
"body": {
|
|
203
203
|
"nodeType": "YulBlock",
|
|
204
|
-
"src": "322:16:
|
|
204
|
+
"src": "322:16:103",
|
|
205
205
|
"statements": [
|
|
206
206
|
{
|
|
207
207
|
"expression": {
|
|
@@ -209,14 +209,14 @@
|
|
|
209
209
|
{
|
|
210
210
|
"kind": "number",
|
|
211
211
|
"nodeType": "YulLiteral",
|
|
212
|
-
"src": "331:1:
|
|
212
|
+
"src": "331:1:103",
|
|
213
213
|
"type": "",
|
|
214
214
|
"value": "0"
|
|
215
215
|
},
|
|
216
216
|
{
|
|
217
217
|
"kind": "number",
|
|
218
218
|
"nodeType": "YulLiteral",
|
|
219
|
-
"src": "334:1:
|
|
219
|
+
"src": "334:1:103",
|
|
220
220
|
"type": "",
|
|
221
221
|
"value": "0"
|
|
222
222
|
}
|
|
@@ -224,13 +224,13 @@
|
|
|
224
224
|
"functionName": {
|
|
225
225
|
"name": "revert",
|
|
226
226
|
"nodeType": "YulIdentifier",
|
|
227
|
-
"src": "324:6:
|
|
227
|
+
"src": "324:6:103"
|
|
228
228
|
},
|
|
229
229
|
"nodeType": "YulFunctionCall",
|
|
230
|
-
"src": "324:12:
|
|
230
|
+
"src": "324:12:103"
|
|
231
231
|
},
|
|
232
232
|
"nodeType": "YulExpressionStatement",
|
|
233
|
-
"src": "324:12:
|
|
233
|
+
"src": "324:12:103"
|
|
234
234
|
}
|
|
235
235
|
]
|
|
236
236
|
},
|
|
@@ -241,14 +241,14 @@
|
|
|
241
241
|
{
|
|
242
242
|
"name": "value",
|
|
243
243
|
"nodeType": "YulIdentifier",
|
|
244
|
-
"src": "281:5:
|
|
244
|
+
"src": "281:5:103"
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
247
|
"arguments": [
|
|
248
248
|
{
|
|
249
249
|
"name": "value",
|
|
250
250
|
"nodeType": "YulIdentifier",
|
|
251
|
-
"src": "292:5:
|
|
251
|
+
"src": "292:5:103"
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
254
|
"arguments": [
|
|
@@ -257,14 +257,14 @@
|
|
|
257
257
|
{
|
|
258
258
|
"kind": "number",
|
|
259
259
|
"nodeType": "YulLiteral",
|
|
260
|
-
"src": "307:3:
|
|
260
|
+
"src": "307:3:103",
|
|
261
261
|
"type": "",
|
|
262
262
|
"value": "160"
|
|
263
263
|
},
|
|
264
264
|
{
|
|
265
265
|
"kind": "number",
|
|
266
266
|
"nodeType": "YulLiteral",
|
|
267
|
-
"src": "312:1:
|
|
267
|
+
"src": "312:1:103",
|
|
268
268
|
"type": "",
|
|
269
269
|
"value": "1"
|
|
270
270
|
}
|
|
@@ -272,15 +272,15 @@
|
|
|
272
272
|
"functionName": {
|
|
273
273
|
"name": "shl",
|
|
274
274
|
"nodeType": "YulIdentifier",
|
|
275
|
-
"src": "303:3:
|
|
275
|
+
"src": "303:3:103"
|
|
276
276
|
},
|
|
277
277
|
"nodeType": "YulFunctionCall",
|
|
278
|
-
"src": "303:11:
|
|
278
|
+
"src": "303:11:103"
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
281
|
"kind": "number",
|
|
282
282
|
"nodeType": "YulLiteral",
|
|
283
|
-
"src": "316:1:
|
|
283
|
+
"src": "316:1:103",
|
|
284
284
|
"type": "",
|
|
285
285
|
"value": "1"
|
|
286
286
|
}
|
|
@@ -288,54 +288,54 @@
|
|
|
288
288
|
"functionName": {
|
|
289
289
|
"name": "sub",
|
|
290
290
|
"nodeType": "YulIdentifier",
|
|
291
|
-
"src": "299:3:
|
|
291
|
+
"src": "299:3:103"
|
|
292
292
|
},
|
|
293
293
|
"nodeType": "YulFunctionCall",
|
|
294
|
-
"src": "299:19:
|
|
294
|
+
"src": "299:19:103"
|
|
295
295
|
}
|
|
296
296
|
],
|
|
297
297
|
"functionName": {
|
|
298
298
|
"name": "and",
|
|
299
299
|
"nodeType": "YulIdentifier",
|
|
300
|
-
"src": "288:3:
|
|
300
|
+
"src": "288:3:103"
|
|
301
301
|
},
|
|
302
302
|
"nodeType": "YulFunctionCall",
|
|
303
|
-
"src": "288:31:
|
|
303
|
+
"src": "288:31:103"
|
|
304
304
|
}
|
|
305
305
|
],
|
|
306
306
|
"functionName": {
|
|
307
307
|
"name": "eq",
|
|
308
308
|
"nodeType": "YulIdentifier",
|
|
309
|
-
"src": "278:2:
|
|
309
|
+
"src": "278:2:103"
|
|
310
310
|
},
|
|
311
311
|
"nodeType": "YulFunctionCall",
|
|
312
|
-
"src": "278:42:
|
|
312
|
+
"src": "278:42:103"
|
|
313
313
|
}
|
|
314
314
|
],
|
|
315
315
|
"functionName": {
|
|
316
316
|
"name": "iszero",
|
|
317
317
|
"nodeType": "YulIdentifier",
|
|
318
|
-
"src": "271:6:
|
|
318
|
+
"src": "271:6:103"
|
|
319
319
|
},
|
|
320
320
|
"nodeType": "YulFunctionCall",
|
|
321
|
-
"src": "271:50:
|
|
321
|
+
"src": "271:50:103"
|
|
322
322
|
},
|
|
323
323
|
"nodeType": "YulIf",
|
|
324
|
-
"src": "268:70:
|
|
324
|
+
"src": "268:70:103"
|
|
325
325
|
},
|
|
326
326
|
{
|
|
327
327
|
"nodeType": "YulAssignment",
|
|
328
|
-
"src": "347:15:
|
|
328
|
+
"src": "347:15:103",
|
|
329
329
|
"value": {
|
|
330
330
|
"name": "value",
|
|
331
331
|
"nodeType": "YulIdentifier",
|
|
332
|
-
"src": "357:5:
|
|
332
|
+
"src": "357:5:103"
|
|
333
333
|
},
|
|
334
334
|
"variableNames": [
|
|
335
335
|
{
|
|
336
336
|
"name": "value1",
|
|
337
337
|
"nodeType": "YulIdentifier",
|
|
338
|
-
"src": "347:6:
|
|
338
|
+
"src": "347:6:103"
|
|
339
339
|
}
|
|
340
340
|
]
|
|
341
341
|
}
|
|
@@ -347,13 +347,13 @@
|
|
|
347
347
|
{
|
|
348
348
|
"name": "headStart",
|
|
349
349
|
"nodeType": "YulTypedName",
|
|
350
|
-
"src": "59:9:
|
|
350
|
+
"src": "59:9:103",
|
|
351
351
|
"type": ""
|
|
352
352
|
},
|
|
353
353
|
{
|
|
354
354
|
"name": "dataEnd",
|
|
355
355
|
"nodeType": "YulTypedName",
|
|
356
|
-
"src": "70:7:
|
|
356
|
+
"src": "70:7:103",
|
|
357
357
|
"type": ""
|
|
358
358
|
}
|
|
359
359
|
],
|
|
@@ -361,37 +361,37 @@
|
|
|
361
361
|
{
|
|
362
362
|
"name": "value0",
|
|
363
363
|
"nodeType": "YulTypedName",
|
|
364
|
-
"src": "82:6:
|
|
364
|
+
"src": "82:6:103",
|
|
365
365
|
"type": ""
|
|
366
366
|
},
|
|
367
367
|
{
|
|
368
368
|
"name": "value1",
|
|
369
369
|
"nodeType": "YulTypedName",
|
|
370
|
-
"src": "90:6:
|
|
370
|
+
"src": "90:6:103",
|
|
371
371
|
"type": ""
|
|
372
372
|
}
|
|
373
373
|
],
|
|
374
|
-
"src": "14:354:
|
|
374
|
+
"src": "14:354:103"
|
|
375
375
|
},
|
|
376
376
|
{
|
|
377
377
|
"body": {
|
|
378
378
|
"nodeType": "YulBlock",
|
|
379
|
-
"src": "474:76:
|
|
379
|
+
"src": "474:76:103",
|
|
380
380
|
"statements": [
|
|
381
381
|
{
|
|
382
382
|
"nodeType": "YulAssignment",
|
|
383
|
-
"src": "484:26:
|
|
383
|
+
"src": "484:26:103",
|
|
384
384
|
"value": {
|
|
385
385
|
"arguments": [
|
|
386
386
|
{
|
|
387
387
|
"name": "headStart",
|
|
388
388
|
"nodeType": "YulIdentifier",
|
|
389
|
-
"src": "496:9:
|
|
389
|
+
"src": "496:9:103"
|
|
390
390
|
},
|
|
391
391
|
{
|
|
392
392
|
"kind": "number",
|
|
393
393
|
"nodeType": "YulLiteral",
|
|
394
|
-
"src": "507:2:
|
|
394
|
+
"src": "507:2:103",
|
|
395
395
|
"type": "",
|
|
396
396
|
"value": "32"
|
|
397
397
|
}
|
|
@@ -399,16 +399,16 @@
|
|
|
399
399
|
"functionName": {
|
|
400
400
|
"name": "add",
|
|
401
401
|
"nodeType": "YulIdentifier",
|
|
402
|
-
"src": "492:3:
|
|
402
|
+
"src": "492:3:103"
|
|
403
403
|
},
|
|
404
404
|
"nodeType": "YulFunctionCall",
|
|
405
|
-
"src": "492:18:
|
|
405
|
+
"src": "492:18:103"
|
|
406
406
|
},
|
|
407
407
|
"variableNames": [
|
|
408
408
|
{
|
|
409
409
|
"name": "tail",
|
|
410
410
|
"nodeType": "YulIdentifier",
|
|
411
|
-
"src": "484:4:
|
|
411
|
+
"src": "484:4:103"
|
|
412
412
|
}
|
|
413
413
|
]
|
|
414
414
|
},
|
|
@@ -418,24 +418,24 @@
|
|
|
418
418
|
{
|
|
419
419
|
"name": "headStart",
|
|
420
420
|
"nodeType": "YulIdentifier",
|
|
421
|
-
"src": "526:9:
|
|
421
|
+
"src": "526:9:103"
|
|
422
422
|
},
|
|
423
423
|
{
|
|
424
424
|
"name": "value0",
|
|
425
425
|
"nodeType": "YulIdentifier",
|
|
426
|
-
"src": "537:6:
|
|
426
|
+
"src": "537:6:103"
|
|
427
427
|
}
|
|
428
428
|
],
|
|
429
429
|
"functionName": {
|
|
430
430
|
"name": "mstore",
|
|
431
431
|
"nodeType": "YulIdentifier",
|
|
432
|
-
"src": "519:6:
|
|
432
|
+
"src": "519:6:103"
|
|
433
433
|
},
|
|
434
434
|
"nodeType": "YulFunctionCall",
|
|
435
|
-
"src": "519:25:
|
|
435
|
+
"src": "519:25:103"
|
|
436
436
|
},
|
|
437
437
|
"nodeType": "YulExpressionStatement",
|
|
438
|
-
"src": "519:25:
|
|
438
|
+
"src": "519:25:103"
|
|
439
439
|
}
|
|
440
440
|
]
|
|
441
441
|
},
|
|
@@ -445,13 +445,13 @@
|
|
|
445
445
|
{
|
|
446
446
|
"name": "headStart",
|
|
447
447
|
"nodeType": "YulTypedName",
|
|
448
|
-
"src": "443:9:
|
|
448
|
+
"src": "443:9:103",
|
|
449
449
|
"type": ""
|
|
450
450
|
},
|
|
451
451
|
{
|
|
452
452
|
"name": "value0",
|
|
453
453
|
"nodeType": "YulTypedName",
|
|
454
|
-
"src": "454:6:
|
|
454
|
+
"src": "454:6:103",
|
|
455
455
|
"type": ""
|
|
456
456
|
}
|
|
457
457
|
],
|
|
@@ -459,22 +459,22 @@
|
|
|
459
459
|
{
|
|
460
460
|
"name": "tail",
|
|
461
461
|
"nodeType": "YulTypedName",
|
|
462
|
-
"src": "465:4:
|
|
462
|
+
"src": "465:4:103",
|
|
463
463
|
"type": ""
|
|
464
464
|
}
|
|
465
465
|
],
|
|
466
|
-
"src": "373:177:
|
|
466
|
+
"src": "373:177:103"
|
|
467
467
|
}
|
|
468
468
|
]
|
|
469
469
|
},
|
|
470
470
|
"contents": "{\n { }\n function abi_decode_tuple_t_bytes32t_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := calldataload(headStart)\n let value := calldataload(add(headStart, 32))\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n value1 := value\n }\n function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n}",
|
|
471
|
-
"id":
|
|
471
|
+
"id": 103,
|
|
472
472
|
"language": "Yul",
|
|
473
473
|
"name": "#utility.yul"
|
|
474
474
|
}
|
|
475
475
|
],
|
|
476
476
|
"sourceMap": "482:993:19:-:0;;;;;;;;;;;;;;;;;;;",
|
|
477
|
-
"deployedSourceMap": "482:993:19:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;795:280;;;;;;:::i;:::-;;:::i;:::-;;;519:25:
|
|
477
|
+
"deployedSourceMap": "482:993:19:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;795:280;;;;;;:::i;:::-;;:::i;:::-;;;519:25:103;;;507:2;492:18;795:280:19;;;;;;;;954:7;984:35;;;;;;;;;;;-1:-1:-1;;;;;984:44:19;;;;;;;;;;;;:84;;1063:4;984:84;;;588:33;984:84;977:91;795:280;-1:-1:-1;;;795:280:19:o;14:354:103:-;82:6;90;143:2;131:9;122:7;118:23;114:32;111:52;;;159:1;156;149:12;111:52;182:23;;;-1:-1:-1;255:2:103;240:18;;227:32;-1:-1:-1;;;;;288:31:103;;278:42;;268:70;;334:1;331;324:12;268:70;357:5;347:15;;;14:354;;;;;:::o",
|
|
478
478
|
"source": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC1820Implementer.sol)\n\npragma solidity ^0.8.0;\n\nimport \"./IERC1820Implementer.sol\";\n\n/**\n * @dev Implementation of the {IERC1820Implementer} interface.\n *\n * Contracts may inherit from this and call {_registerInterfaceForAddress} to\n * declare their willingness to be implementers.\n * {IERC1820Registry-setInterfaceImplementer} should then be called for the\n * registration to be complete.\n */\ncontract ERC1820Implementer is IERC1820Implementer {\n bytes32 private constant _ERC1820_ACCEPT_MAGIC = keccak256(\"ERC1820_ACCEPT_MAGIC\");\n\n mapping(bytes32 => mapping(address => bool)) private _supportedInterfaces;\n\n /**\n * @dev See {IERC1820Implementer-canImplementInterfaceForAddress}.\n */\n function canImplementInterfaceForAddress(bytes32 interfaceHash, address account)\n public\n view\n virtual\n override\n returns (bytes32)\n {\n return _supportedInterfaces[interfaceHash][account] ? _ERC1820_ACCEPT_MAGIC : bytes32(0x00);\n }\n\n /**\n * @dev Declares the contract as willing to be an implementer of\n * `interfaceHash` for `account`.\n *\n * See {IERC1820Registry-setInterfaceImplementer} and\n * {IERC1820Registry-interfaceHash}.\n */\n function _registerInterfaceForAddress(bytes32 interfaceHash, address account) internal virtual {\n _supportedInterfaces[interfaceHash][account] = true;\n }\n}\n",
|
|
479
479
|
"sourcePath": "@openzeppelin/contracts/utils/introspection/ERC1820Implementer.sol",
|
|
480
480
|
"ast": {
|
|
@@ -1190,7 +1190,7 @@
|
|
|
1190
1190
|
},
|
|
1191
1191
|
"networks": {},
|
|
1192
1192
|
"schemaVersion": "3.4.9",
|
|
1193
|
-
"updatedAt": "2022-
|
|
1193
|
+
"updatedAt": "2022-11-14T15:01:23.719Z",
|
|
1194
1194
|
"devdoc": {
|
|
1195
1195
|
"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.",
|
|
1196
1196
|
"kind": "dev",
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
},
|
|
244
244
|
"networks": {},
|
|
245
245
|
"schemaVersion": "3.4.9",
|
|
246
|
-
"updatedAt": "2022-
|
|
246
|
+
"updatedAt": "2022-11-14T15:01:23.867Z",
|
|
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",
|