secure-transac-contracts 1.0.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 +4579 -0
- package/build/contracts/Context.json +356 -0
- package/build/contracts/CreditSystem.json +6037 -0
- package/build/contracts/ECDSA.json +4734 -0
- package/build/contracts/EIP712.json +3021 -0
- package/build/contracts/ERC165.json +352 -0
- package/build/contracts/ERC20.json +6816 -0
- package/build/contracts/ERC20Permit.json +2658 -0
- package/build/contracts/ERC721.json +12779 -0
- package/build/contracts/ERC721Utils.json +1058 -0
- package/build/contracts/Groth16Verifier.json +6298 -0
- package/build/contracts/Guardian.json +1116 -0
- package/build/contracts/IERC1155Errors.json +1687 -0
- package/build/contracts/IERC165.json +197 -0
- package/build/contracts/IERC20.json +1162 -0
- package/build/contracts/IERC20Errors.json +1662 -0
- package/build/contracts/IERC20Metadata.json +574 -0
- package/build/contracts/IERC20Permit.json +546 -0
- package/build/contracts/IERC5267.json +392 -0
- package/build/contracts/IERC721.json +1729 -0
- package/build/contracts/IERC721Errors.json +1694 -0
- package/build/contracts/IERC721Metadata.json +728 -0
- package/build/contracts/IERC721Receiver.json +296 -0
- package/build/contracts/IGuardian.json +215 -0
- package/build/contracts/ITrustRegistry.json +6767 -0
- package/build/contracts/IdentityVault.json +11584 -0
- package/build/contracts/Math.json +23115 -0
- package/build/contracts/MessageHashUtils.json +1668 -0
- package/build/contracts/Nonces.json +865 -0
- package/build/contracts/Ownable.json +1859 -0
- package/build/contracts/Panic.json +798 -0
- package/build/contracts/ReportingSystem.json +2787 -0
- package/build/contracts/SafeCast.json +21592 -0
- package/build/contracts/ScoringSystem.json +11245 -0
- package/build/contracts/SecureTransacSBT.json +18823 -0
- package/build/contracts/SecureTransacToken.json +19225 -0
- package/build/contracts/SecureVault.json +12890 -0
- package/build/contracts/ShortStrings.json +2852 -0
- package/build/contracts/SignedMath.json +1915 -0
- package/build/contracts/StorageSlot.json +1773 -0
- package/build/contracts/Strings.json +19001 -0
- package/build/contracts/TransactionLogger.json +5325 -0
- package/build/contracts/TrustDAO.json +23850 -0
- package/build/contracts/TrustRegistry.json +10948 -0
- package/build/contracts/VerificationRegistry.json +12811 -0
- package/build/contracts/ZKIdentityVerifier.json +13979 -0
- package/contracts/AccessControl.sol +34 -0
- package/contracts/CreditSystem.sol +48 -0
- package/contracts/Guardian.sol +33 -0
- package/contracts/IGuardian.sol +7 -0
- package/contracts/IdentityVault.sol +57 -0
- package/contracts/ReportingSystem.sol +14 -0
- package/contracts/ScoringSystem.sol +71 -0
- package/contracts/SecureTransacSBT.sol +72 -0
- package/contracts/SecureTransacToken.sol +20 -0
- package/contracts/SecureVault.sol +24 -0
- package/contracts/TransactionLogger.sol +12 -0
- package/contracts/TrustDAO.sol +158 -0
- package/contracts/TrustRegistry.sol +23 -0
- package/contracts/VerificationRegistry.sol +51 -0
- package/contracts/ZKIdentityVerifier.sol +38 -0
- package/contracts/ZKScoreVerifier.sol +175 -0
- package/package.json +32 -0
|
@@ -0,0 +1,2787 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contractName": "ReportingSystem",
|
|
3
|
+
"abi": [
|
|
4
|
+
{
|
|
5
|
+
"anonymous": false,
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"indexed": true,
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "reporter",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"indexed": true,
|
|
15
|
+
"internalType": "address",
|
|
16
|
+
"name": "target",
|
|
17
|
+
"type": "address"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"indexed": false,
|
|
21
|
+
"internalType": "string",
|
|
22
|
+
"name": "reason",
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"indexed": false,
|
|
27
|
+
"internalType": "uint256",
|
|
28
|
+
"name": "timestamp",
|
|
29
|
+
"type": "uint256"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"name": "ReportSubmitted",
|
|
33
|
+
"type": "event"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"inputs": [
|
|
37
|
+
{
|
|
38
|
+
"internalType": "address",
|
|
39
|
+
"name": "target",
|
|
40
|
+
"type": "address"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"internalType": "string",
|
|
44
|
+
"name": "reason",
|
|
45
|
+
"type": "string"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"name": "submitReport",
|
|
49
|
+
"outputs": [],
|
|
50
|
+
"stateMutability": "nonpayable",
|
|
51
|
+
"type": "function"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"metadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reporter\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"ReportSubmitted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"}],\"name\":\"submitReport\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/ReportingSystem.sol\":\"ReportingSystem\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6\",\"dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"project:/contracts/AccessControl.sol\":{\"keccak256\":\"0x30c4cd3a2919866093cdd3182a6fa72d88d532294b87ef13246081e628ead55c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ff53ff54fd0fce183eb8d221030095d0cf538a68c066d359f6d5210a2246faf\",\"dweb:/ipfs/QmQiAf4q99aUH9irCgDUFqhWJqFW48K1kPd5cpmq3oDH2t\"]},\"project:/contracts/ReportingSystem.sol\":{\"keccak256\":\"0x6f0b502db35b43562949da23ff76a0a2dcc77319e2a595bb05b43b5afd6af98a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://796b857ade2adcdad3761a2a7f09a4b7f25cd3d2d9a1c8ec46ec773b12f5bfe3\",\"dweb:/ipfs/QmRA6MB3dgG72iFPmcgFkTDwjBwhVrSL3c3ygyefsMdu2j\"]}},\"version\":1}",
|
|
55
|
+
"bytecode": "0x608060405234801561000f575f80fd5b506102af8061001d5f395ff3fe608060405234801561000f575f80fd5b5060043610610029575f3560e01c8063dad780d51461002d575b5f80fd5b6100476004803603810190610042919061017a565b610049565b005b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fdaa36592ec4ce36dddb78c33a574a01ec12bd5c181d097b104afd989467eb03f8484426040516100aa93929190610249565b60405180910390a3505050565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6100e8826100bf565b9050919050565b6100f8816100de565b8114610102575f80fd5b50565b5f81359050610113816100ef565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261013a57610139610119565b5b8235905067ffffffffffffffff8111156101575761015661011d565b5b60208301915083600182028301111561017357610172610121565b5b9250929050565b5f805f60408486031215610191576101906100b7565b5b5f61019e86828701610105565b935050602084013567ffffffffffffffff8111156101bf576101be6100bb565b5b6101cb86828701610125565b92509250509250925092565b5f82825260208201905092915050565b828183375f83830152505050565b5f601f19601f8301169050919050565b5f61021083856101d7565b935061021d8385846101e7565b610226836101f5565b840190509392505050565b5f819050919050565b61024381610231565b82525050565b5f6040820190508181035f830152610262818587610205565b9050610271602083018461023a565b94935050505056fea2646970667358221220bc906cc14d18fa228d7dd9b5631016e862b338e40d9c2ec4fbe18e119c6bb29e64736f6c63430008150033",
|
|
56
|
+
"deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610029575f3560e01c8063dad780d51461002d575b5f80fd5b6100476004803603810190610042919061017a565b610049565b005b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fdaa36592ec4ce36dddb78c33a574a01ec12bd5c181d097b104afd989467eb03f8484426040516100aa93929190610249565b60405180910390a3505050565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6100e8826100bf565b9050919050565b6100f8816100de565b8114610102575f80fd5b50565b5f81359050610113816100ef565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261013a57610139610119565b5b8235905067ffffffffffffffff8111156101575761015661011d565b5b60208301915083600182028301111561017357610172610121565b5b9250929050565b5f805f60408486031215610191576101906100b7565b5b5f61019e86828701610105565b935050602084013567ffffffffffffffff8111156101bf576101be6100bb565b5b6101cb86828701610125565b92509250509250925092565b5f82825260208201905092915050565b828183375f83830152505050565b5f601f19601f8301169050919050565b5f61021083856101d7565b935061021d8385846101e7565b610226836101f5565b840190509392505050565b5f819050919050565b61024381610231565b82525050565b5f6040820190508181035f830152610262818587610205565b9050610271602083018461023a565b94935050505056fea2646970667358221220bc906cc14d18fa228d7dd9b5631016e862b338e40d9c2ec4fbe18e119c6bb29e64736f6c63430008150033",
|
|
57
|
+
"immutableReferences": {},
|
|
58
|
+
"generatedSources": [],
|
|
59
|
+
"deployedGeneratedSources": [
|
|
60
|
+
{
|
|
61
|
+
"ast": {
|
|
62
|
+
"nativeSrc": "0:3898:43",
|
|
63
|
+
"nodeType": "YulBlock",
|
|
64
|
+
"src": "0:3898:43",
|
|
65
|
+
"statements": [
|
|
66
|
+
{
|
|
67
|
+
"body": {
|
|
68
|
+
"nativeSrc": "47:35:43",
|
|
69
|
+
"nodeType": "YulBlock",
|
|
70
|
+
"src": "47:35:43",
|
|
71
|
+
"statements": [
|
|
72
|
+
{
|
|
73
|
+
"nativeSrc": "57:19:43",
|
|
74
|
+
"nodeType": "YulAssignment",
|
|
75
|
+
"src": "57:19:43",
|
|
76
|
+
"value": {
|
|
77
|
+
"arguments": [
|
|
78
|
+
{
|
|
79
|
+
"kind": "number",
|
|
80
|
+
"nativeSrc": "73:2:43",
|
|
81
|
+
"nodeType": "YulLiteral",
|
|
82
|
+
"src": "73:2:43",
|
|
83
|
+
"type": "",
|
|
84
|
+
"value": "64"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"functionName": {
|
|
88
|
+
"name": "mload",
|
|
89
|
+
"nativeSrc": "67:5:43",
|
|
90
|
+
"nodeType": "YulIdentifier",
|
|
91
|
+
"src": "67:5:43"
|
|
92
|
+
},
|
|
93
|
+
"nativeSrc": "67:9:43",
|
|
94
|
+
"nodeType": "YulFunctionCall",
|
|
95
|
+
"src": "67:9:43"
|
|
96
|
+
},
|
|
97
|
+
"variableNames": [
|
|
98
|
+
{
|
|
99
|
+
"name": "memPtr",
|
|
100
|
+
"nativeSrc": "57:6:43",
|
|
101
|
+
"nodeType": "YulIdentifier",
|
|
102
|
+
"src": "57:6:43"
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"name": "allocate_unbounded",
|
|
109
|
+
"nativeSrc": "7:75:43",
|
|
110
|
+
"nodeType": "YulFunctionDefinition",
|
|
111
|
+
"returnVariables": [
|
|
112
|
+
{
|
|
113
|
+
"name": "memPtr",
|
|
114
|
+
"nativeSrc": "40:6:43",
|
|
115
|
+
"nodeType": "YulTypedName",
|
|
116
|
+
"src": "40:6:43",
|
|
117
|
+
"type": ""
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"src": "7:75:43"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"body": {
|
|
124
|
+
"nativeSrc": "177:28:43",
|
|
125
|
+
"nodeType": "YulBlock",
|
|
126
|
+
"src": "177:28:43",
|
|
127
|
+
"statements": [
|
|
128
|
+
{
|
|
129
|
+
"expression": {
|
|
130
|
+
"arguments": [
|
|
131
|
+
{
|
|
132
|
+
"kind": "number",
|
|
133
|
+
"nativeSrc": "194:1:43",
|
|
134
|
+
"nodeType": "YulLiteral",
|
|
135
|
+
"src": "194:1:43",
|
|
136
|
+
"type": "",
|
|
137
|
+
"value": "0"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"kind": "number",
|
|
141
|
+
"nativeSrc": "197:1:43",
|
|
142
|
+
"nodeType": "YulLiteral",
|
|
143
|
+
"src": "197:1:43",
|
|
144
|
+
"type": "",
|
|
145
|
+
"value": "0"
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"functionName": {
|
|
149
|
+
"name": "revert",
|
|
150
|
+
"nativeSrc": "187:6:43",
|
|
151
|
+
"nodeType": "YulIdentifier",
|
|
152
|
+
"src": "187:6:43"
|
|
153
|
+
},
|
|
154
|
+
"nativeSrc": "187:12:43",
|
|
155
|
+
"nodeType": "YulFunctionCall",
|
|
156
|
+
"src": "187:12:43"
|
|
157
|
+
},
|
|
158
|
+
"nativeSrc": "187:12:43",
|
|
159
|
+
"nodeType": "YulExpressionStatement",
|
|
160
|
+
"src": "187:12:43"
|
|
161
|
+
}
|
|
162
|
+
]
|
|
163
|
+
},
|
|
164
|
+
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
|
|
165
|
+
"nativeSrc": "88:117:43",
|
|
166
|
+
"nodeType": "YulFunctionDefinition",
|
|
167
|
+
"src": "88:117:43"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"body": {
|
|
171
|
+
"nativeSrc": "300:28:43",
|
|
172
|
+
"nodeType": "YulBlock",
|
|
173
|
+
"src": "300:28:43",
|
|
174
|
+
"statements": [
|
|
175
|
+
{
|
|
176
|
+
"expression": {
|
|
177
|
+
"arguments": [
|
|
178
|
+
{
|
|
179
|
+
"kind": "number",
|
|
180
|
+
"nativeSrc": "317:1:43",
|
|
181
|
+
"nodeType": "YulLiteral",
|
|
182
|
+
"src": "317:1:43",
|
|
183
|
+
"type": "",
|
|
184
|
+
"value": "0"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"kind": "number",
|
|
188
|
+
"nativeSrc": "320:1:43",
|
|
189
|
+
"nodeType": "YulLiteral",
|
|
190
|
+
"src": "320:1:43",
|
|
191
|
+
"type": "",
|
|
192
|
+
"value": "0"
|
|
193
|
+
}
|
|
194
|
+
],
|
|
195
|
+
"functionName": {
|
|
196
|
+
"name": "revert",
|
|
197
|
+
"nativeSrc": "310:6:43",
|
|
198
|
+
"nodeType": "YulIdentifier",
|
|
199
|
+
"src": "310:6:43"
|
|
200
|
+
},
|
|
201
|
+
"nativeSrc": "310:12:43",
|
|
202
|
+
"nodeType": "YulFunctionCall",
|
|
203
|
+
"src": "310:12:43"
|
|
204
|
+
},
|
|
205
|
+
"nativeSrc": "310:12:43",
|
|
206
|
+
"nodeType": "YulExpressionStatement",
|
|
207
|
+
"src": "310:12:43"
|
|
208
|
+
}
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
|
|
212
|
+
"nativeSrc": "211:117:43",
|
|
213
|
+
"nodeType": "YulFunctionDefinition",
|
|
214
|
+
"src": "211:117:43"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"body": {
|
|
218
|
+
"nativeSrc": "379:81:43",
|
|
219
|
+
"nodeType": "YulBlock",
|
|
220
|
+
"src": "379:81:43",
|
|
221
|
+
"statements": [
|
|
222
|
+
{
|
|
223
|
+
"nativeSrc": "389:65:43",
|
|
224
|
+
"nodeType": "YulAssignment",
|
|
225
|
+
"src": "389:65:43",
|
|
226
|
+
"value": {
|
|
227
|
+
"arguments": [
|
|
228
|
+
{
|
|
229
|
+
"name": "value",
|
|
230
|
+
"nativeSrc": "404:5:43",
|
|
231
|
+
"nodeType": "YulIdentifier",
|
|
232
|
+
"src": "404:5:43"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"kind": "number",
|
|
236
|
+
"nativeSrc": "411:42:43",
|
|
237
|
+
"nodeType": "YulLiteral",
|
|
238
|
+
"src": "411:42:43",
|
|
239
|
+
"type": "",
|
|
240
|
+
"value": "0xffffffffffffffffffffffffffffffffffffffff"
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
"functionName": {
|
|
244
|
+
"name": "and",
|
|
245
|
+
"nativeSrc": "400:3:43",
|
|
246
|
+
"nodeType": "YulIdentifier",
|
|
247
|
+
"src": "400:3:43"
|
|
248
|
+
},
|
|
249
|
+
"nativeSrc": "400:54:43",
|
|
250
|
+
"nodeType": "YulFunctionCall",
|
|
251
|
+
"src": "400:54:43"
|
|
252
|
+
},
|
|
253
|
+
"variableNames": [
|
|
254
|
+
{
|
|
255
|
+
"name": "cleaned",
|
|
256
|
+
"nativeSrc": "389:7:43",
|
|
257
|
+
"nodeType": "YulIdentifier",
|
|
258
|
+
"src": "389:7:43"
|
|
259
|
+
}
|
|
260
|
+
]
|
|
261
|
+
}
|
|
262
|
+
]
|
|
263
|
+
},
|
|
264
|
+
"name": "cleanup_t_uint160",
|
|
265
|
+
"nativeSrc": "334:126:43",
|
|
266
|
+
"nodeType": "YulFunctionDefinition",
|
|
267
|
+
"parameters": [
|
|
268
|
+
{
|
|
269
|
+
"name": "value",
|
|
270
|
+
"nativeSrc": "361:5:43",
|
|
271
|
+
"nodeType": "YulTypedName",
|
|
272
|
+
"src": "361:5:43",
|
|
273
|
+
"type": ""
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"returnVariables": [
|
|
277
|
+
{
|
|
278
|
+
"name": "cleaned",
|
|
279
|
+
"nativeSrc": "371:7:43",
|
|
280
|
+
"nodeType": "YulTypedName",
|
|
281
|
+
"src": "371:7:43",
|
|
282
|
+
"type": ""
|
|
283
|
+
}
|
|
284
|
+
],
|
|
285
|
+
"src": "334:126:43"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"body": {
|
|
289
|
+
"nativeSrc": "511:51:43",
|
|
290
|
+
"nodeType": "YulBlock",
|
|
291
|
+
"src": "511:51:43",
|
|
292
|
+
"statements": [
|
|
293
|
+
{
|
|
294
|
+
"nativeSrc": "521:35:43",
|
|
295
|
+
"nodeType": "YulAssignment",
|
|
296
|
+
"src": "521:35:43",
|
|
297
|
+
"value": {
|
|
298
|
+
"arguments": [
|
|
299
|
+
{
|
|
300
|
+
"name": "value",
|
|
301
|
+
"nativeSrc": "550:5:43",
|
|
302
|
+
"nodeType": "YulIdentifier",
|
|
303
|
+
"src": "550:5:43"
|
|
304
|
+
}
|
|
305
|
+
],
|
|
306
|
+
"functionName": {
|
|
307
|
+
"name": "cleanup_t_uint160",
|
|
308
|
+
"nativeSrc": "532:17:43",
|
|
309
|
+
"nodeType": "YulIdentifier",
|
|
310
|
+
"src": "532:17:43"
|
|
311
|
+
},
|
|
312
|
+
"nativeSrc": "532:24:43",
|
|
313
|
+
"nodeType": "YulFunctionCall",
|
|
314
|
+
"src": "532:24:43"
|
|
315
|
+
},
|
|
316
|
+
"variableNames": [
|
|
317
|
+
{
|
|
318
|
+
"name": "cleaned",
|
|
319
|
+
"nativeSrc": "521:7:43",
|
|
320
|
+
"nodeType": "YulIdentifier",
|
|
321
|
+
"src": "521:7:43"
|
|
322
|
+
}
|
|
323
|
+
]
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
},
|
|
327
|
+
"name": "cleanup_t_address",
|
|
328
|
+
"nativeSrc": "466:96:43",
|
|
329
|
+
"nodeType": "YulFunctionDefinition",
|
|
330
|
+
"parameters": [
|
|
331
|
+
{
|
|
332
|
+
"name": "value",
|
|
333
|
+
"nativeSrc": "493:5:43",
|
|
334
|
+
"nodeType": "YulTypedName",
|
|
335
|
+
"src": "493:5:43",
|
|
336
|
+
"type": ""
|
|
337
|
+
}
|
|
338
|
+
],
|
|
339
|
+
"returnVariables": [
|
|
340
|
+
{
|
|
341
|
+
"name": "cleaned",
|
|
342
|
+
"nativeSrc": "503:7:43",
|
|
343
|
+
"nodeType": "YulTypedName",
|
|
344
|
+
"src": "503:7:43",
|
|
345
|
+
"type": ""
|
|
346
|
+
}
|
|
347
|
+
],
|
|
348
|
+
"src": "466:96:43"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"body": {
|
|
352
|
+
"nativeSrc": "611:79:43",
|
|
353
|
+
"nodeType": "YulBlock",
|
|
354
|
+
"src": "611:79:43",
|
|
355
|
+
"statements": [
|
|
356
|
+
{
|
|
357
|
+
"body": {
|
|
358
|
+
"nativeSrc": "668:16:43",
|
|
359
|
+
"nodeType": "YulBlock",
|
|
360
|
+
"src": "668:16:43",
|
|
361
|
+
"statements": [
|
|
362
|
+
{
|
|
363
|
+
"expression": {
|
|
364
|
+
"arguments": [
|
|
365
|
+
{
|
|
366
|
+
"kind": "number",
|
|
367
|
+
"nativeSrc": "677:1:43",
|
|
368
|
+
"nodeType": "YulLiteral",
|
|
369
|
+
"src": "677:1:43",
|
|
370
|
+
"type": "",
|
|
371
|
+
"value": "0"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"kind": "number",
|
|
375
|
+
"nativeSrc": "680:1:43",
|
|
376
|
+
"nodeType": "YulLiteral",
|
|
377
|
+
"src": "680:1:43",
|
|
378
|
+
"type": "",
|
|
379
|
+
"value": "0"
|
|
380
|
+
}
|
|
381
|
+
],
|
|
382
|
+
"functionName": {
|
|
383
|
+
"name": "revert",
|
|
384
|
+
"nativeSrc": "670:6:43",
|
|
385
|
+
"nodeType": "YulIdentifier",
|
|
386
|
+
"src": "670:6:43"
|
|
387
|
+
},
|
|
388
|
+
"nativeSrc": "670:12:43",
|
|
389
|
+
"nodeType": "YulFunctionCall",
|
|
390
|
+
"src": "670:12:43"
|
|
391
|
+
},
|
|
392
|
+
"nativeSrc": "670:12:43",
|
|
393
|
+
"nodeType": "YulExpressionStatement",
|
|
394
|
+
"src": "670:12:43"
|
|
395
|
+
}
|
|
396
|
+
]
|
|
397
|
+
},
|
|
398
|
+
"condition": {
|
|
399
|
+
"arguments": [
|
|
400
|
+
{
|
|
401
|
+
"arguments": [
|
|
402
|
+
{
|
|
403
|
+
"name": "value",
|
|
404
|
+
"nativeSrc": "634:5:43",
|
|
405
|
+
"nodeType": "YulIdentifier",
|
|
406
|
+
"src": "634:5:43"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"arguments": [
|
|
410
|
+
{
|
|
411
|
+
"name": "value",
|
|
412
|
+
"nativeSrc": "659:5:43",
|
|
413
|
+
"nodeType": "YulIdentifier",
|
|
414
|
+
"src": "659:5:43"
|
|
415
|
+
}
|
|
416
|
+
],
|
|
417
|
+
"functionName": {
|
|
418
|
+
"name": "cleanup_t_address",
|
|
419
|
+
"nativeSrc": "641:17:43",
|
|
420
|
+
"nodeType": "YulIdentifier",
|
|
421
|
+
"src": "641:17:43"
|
|
422
|
+
},
|
|
423
|
+
"nativeSrc": "641:24:43",
|
|
424
|
+
"nodeType": "YulFunctionCall",
|
|
425
|
+
"src": "641:24:43"
|
|
426
|
+
}
|
|
427
|
+
],
|
|
428
|
+
"functionName": {
|
|
429
|
+
"name": "eq",
|
|
430
|
+
"nativeSrc": "631:2:43",
|
|
431
|
+
"nodeType": "YulIdentifier",
|
|
432
|
+
"src": "631:2:43"
|
|
433
|
+
},
|
|
434
|
+
"nativeSrc": "631:35:43",
|
|
435
|
+
"nodeType": "YulFunctionCall",
|
|
436
|
+
"src": "631:35:43"
|
|
437
|
+
}
|
|
438
|
+
],
|
|
439
|
+
"functionName": {
|
|
440
|
+
"name": "iszero",
|
|
441
|
+
"nativeSrc": "624:6:43",
|
|
442
|
+
"nodeType": "YulIdentifier",
|
|
443
|
+
"src": "624:6:43"
|
|
444
|
+
},
|
|
445
|
+
"nativeSrc": "624:43:43",
|
|
446
|
+
"nodeType": "YulFunctionCall",
|
|
447
|
+
"src": "624:43:43"
|
|
448
|
+
},
|
|
449
|
+
"nativeSrc": "621:63:43",
|
|
450
|
+
"nodeType": "YulIf",
|
|
451
|
+
"src": "621:63:43"
|
|
452
|
+
}
|
|
453
|
+
]
|
|
454
|
+
},
|
|
455
|
+
"name": "validator_revert_t_address",
|
|
456
|
+
"nativeSrc": "568:122:43",
|
|
457
|
+
"nodeType": "YulFunctionDefinition",
|
|
458
|
+
"parameters": [
|
|
459
|
+
{
|
|
460
|
+
"name": "value",
|
|
461
|
+
"nativeSrc": "604:5:43",
|
|
462
|
+
"nodeType": "YulTypedName",
|
|
463
|
+
"src": "604:5:43",
|
|
464
|
+
"type": ""
|
|
465
|
+
}
|
|
466
|
+
],
|
|
467
|
+
"src": "568:122:43"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"body": {
|
|
471
|
+
"nativeSrc": "748:87:43",
|
|
472
|
+
"nodeType": "YulBlock",
|
|
473
|
+
"src": "748:87:43",
|
|
474
|
+
"statements": [
|
|
475
|
+
{
|
|
476
|
+
"nativeSrc": "758:29:43",
|
|
477
|
+
"nodeType": "YulAssignment",
|
|
478
|
+
"src": "758:29:43",
|
|
479
|
+
"value": {
|
|
480
|
+
"arguments": [
|
|
481
|
+
{
|
|
482
|
+
"name": "offset",
|
|
483
|
+
"nativeSrc": "780:6:43",
|
|
484
|
+
"nodeType": "YulIdentifier",
|
|
485
|
+
"src": "780:6:43"
|
|
486
|
+
}
|
|
487
|
+
],
|
|
488
|
+
"functionName": {
|
|
489
|
+
"name": "calldataload",
|
|
490
|
+
"nativeSrc": "767:12:43",
|
|
491
|
+
"nodeType": "YulIdentifier",
|
|
492
|
+
"src": "767:12:43"
|
|
493
|
+
},
|
|
494
|
+
"nativeSrc": "767:20:43",
|
|
495
|
+
"nodeType": "YulFunctionCall",
|
|
496
|
+
"src": "767:20:43"
|
|
497
|
+
},
|
|
498
|
+
"variableNames": [
|
|
499
|
+
{
|
|
500
|
+
"name": "value",
|
|
501
|
+
"nativeSrc": "758:5:43",
|
|
502
|
+
"nodeType": "YulIdentifier",
|
|
503
|
+
"src": "758:5:43"
|
|
504
|
+
}
|
|
505
|
+
]
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"expression": {
|
|
509
|
+
"arguments": [
|
|
510
|
+
{
|
|
511
|
+
"name": "value",
|
|
512
|
+
"nativeSrc": "823:5:43",
|
|
513
|
+
"nodeType": "YulIdentifier",
|
|
514
|
+
"src": "823:5:43"
|
|
515
|
+
}
|
|
516
|
+
],
|
|
517
|
+
"functionName": {
|
|
518
|
+
"name": "validator_revert_t_address",
|
|
519
|
+
"nativeSrc": "796:26:43",
|
|
520
|
+
"nodeType": "YulIdentifier",
|
|
521
|
+
"src": "796:26:43"
|
|
522
|
+
},
|
|
523
|
+
"nativeSrc": "796:33:43",
|
|
524
|
+
"nodeType": "YulFunctionCall",
|
|
525
|
+
"src": "796:33:43"
|
|
526
|
+
},
|
|
527
|
+
"nativeSrc": "796:33:43",
|
|
528
|
+
"nodeType": "YulExpressionStatement",
|
|
529
|
+
"src": "796:33:43"
|
|
530
|
+
}
|
|
531
|
+
]
|
|
532
|
+
},
|
|
533
|
+
"name": "abi_decode_t_address",
|
|
534
|
+
"nativeSrc": "696:139:43",
|
|
535
|
+
"nodeType": "YulFunctionDefinition",
|
|
536
|
+
"parameters": [
|
|
537
|
+
{
|
|
538
|
+
"name": "offset",
|
|
539
|
+
"nativeSrc": "726:6:43",
|
|
540
|
+
"nodeType": "YulTypedName",
|
|
541
|
+
"src": "726:6:43",
|
|
542
|
+
"type": ""
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"name": "end",
|
|
546
|
+
"nativeSrc": "734:3:43",
|
|
547
|
+
"nodeType": "YulTypedName",
|
|
548
|
+
"src": "734:3:43",
|
|
549
|
+
"type": ""
|
|
550
|
+
}
|
|
551
|
+
],
|
|
552
|
+
"returnVariables": [
|
|
553
|
+
{
|
|
554
|
+
"name": "value",
|
|
555
|
+
"nativeSrc": "742:5:43",
|
|
556
|
+
"nodeType": "YulTypedName",
|
|
557
|
+
"src": "742:5:43",
|
|
558
|
+
"type": ""
|
|
559
|
+
}
|
|
560
|
+
],
|
|
561
|
+
"src": "696:139:43"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"body": {
|
|
565
|
+
"nativeSrc": "930:28:43",
|
|
566
|
+
"nodeType": "YulBlock",
|
|
567
|
+
"src": "930:28:43",
|
|
568
|
+
"statements": [
|
|
569
|
+
{
|
|
570
|
+
"expression": {
|
|
571
|
+
"arguments": [
|
|
572
|
+
{
|
|
573
|
+
"kind": "number",
|
|
574
|
+
"nativeSrc": "947:1:43",
|
|
575
|
+
"nodeType": "YulLiteral",
|
|
576
|
+
"src": "947:1:43",
|
|
577
|
+
"type": "",
|
|
578
|
+
"value": "0"
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"kind": "number",
|
|
582
|
+
"nativeSrc": "950:1:43",
|
|
583
|
+
"nodeType": "YulLiteral",
|
|
584
|
+
"src": "950:1:43",
|
|
585
|
+
"type": "",
|
|
586
|
+
"value": "0"
|
|
587
|
+
}
|
|
588
|
+
],
|
|
589
|
+
"functionName": {
|
|
590
|
+
"name": "revert",
|
|
591
|
+
"nativeSrc": "940:6:43",
|
|
592
|
+
"nodeType": "YulIdentifier",
|
|
593
|
+
"src": "940:6:43"
|
|
594
|
+
},
|
|
595
|
+
"nativeSrc": "940:12:43",
|
|
596
|
+
"nodeType": "YulFunctionCall",
|
|
597
|
+
"src": "940:12:43"
|
|
598
|
+
},
|
|
599
|
+
"nativeSrc": "940:12:43",
|
|
600
|
+
"nodeType": "YulExpressionStatement",
|
|
601
|
+
"src": "940:12:43"
|
|
602
|
+
}
|
|
603
|
+
]
|
|
604
|
+
},
|
|
605
|
+
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
|
|
606
|
+
"nativeSrc": "841:117:43",
|
|
607
|
+
"nodeType": "YulFunctionDefinition",
|
|
608
|
+
"src": "841:117:43"
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"body": {
|
|
612
|
+
"nativeSrc": "1053:28:43",
|
|
613
|
+
"nodeType": "YulBlock",
|
|
614
|
+
"src": "1053:28:43",
|
|
615
|
+
"statements": [
|
|
616
|
+
{
|
|
617
|
+
"expression": {
|
|
618
|
+
"arguments": [
|
|
619
|
+
{
|
|
620
|
+
"kind": "number",
|
|
621
|
+
"nativeSrc": "1070:1:43",
|
|
622
|
+
"nodeType": "YulLiteral",
|
|
623
|
+
"src": "1070:1:43",
|
|
624
|
+
"type": "",
|
|
625
|
+
"value": "0"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"kind": "number",
|
|
629
|
+
"nativeSrc": "1073:1:43",
|
|
630
|
+
"nodeType": "YulLiteral",
|
|
631
|
+
"src": "1073:1:43",
|
|
632
|
+
"type": "",
|
|
633
|
+
"value": "0"
|
|
634
|
+
}
|
|
635
|
+
],
|
|
636
|
+
"functionName": {
|
|
637
|
+
"name": "revert",
|
|
638
|
+
"nativeSrc": "1063:6:43",
|
|
639
|
+
"nodeType": "YulIdentifier",
|
|
640
|
+
"src": "1063:6:43"
|
|
641
|
+
},
|
|
642
|
+
"nativeSrc": "1063:12:43",
|
|
643
|
+
"nodeType": "YulFunctionCall",
|
|
644
|
+
"src": "1063:12:43"
|
|
645
|
+
},
|
|
646
|
+
"nativeSrc": "1063:12:43",
|
|
647
|
+
"nodeType": "YulExpressionStatement",
|
|
648
|
+
"src": "1063:12:43"
|
|
649
|
+
}
|
|
650
|
+
]
|
|
651
|
+
},
|
|
652
|
+
"name": "revert_error_15abf5612cd996bc235ba1e55a4a30ac60e6bb601ff7ba4ad3f179b6be8d0490",
|
|
653
|
+
"nativeSrc": "964:117:43",
|
|
654
|
+
"nodeType": "YulFunctionDefinition",
|
|
655
|
+
"src": "964:117:43"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"body": {
|
|
659
|
+
"nativeSrc": "1176:28:43",
|
|
660
|
+
"nodeType": "YulBlock",
|
|
661
|
+
"src": "1176:28:43",
|
|
662
|
+
"statements": [
|
|
663
|
+
{
|
|
664
|
+
"expression": {
|
|
665
|
+
"arguments": [
|
|
666
|
+
{
|
|
667
|
+
"kind": "number",
|
|
668
|
+
"nativeSrc": "1193:1:43",
|
|
669
|
+
"nodeType": "YulLiteral",
|
|
670
|
+
"src": "1193:1:43",
|
|
671
|
+
"type": "",
|
|
672
|
+
"value": "0"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"kind": "number",
|
|
676
|
+
"nativeSrc": "1196:1:43",
|
|
677
|
+
"nodeType": "YulLiteral",
|
|
678
|
+
"src": "1196:1:43",
|
|
679
|
+
"type": "",
|
|
680
|
+
"value": "0"
|
|
681
|
+
}
|
|
682
|
+
],
|
|
683
|
+
"functionName": {
|
|
684
|
+
"name": "revert",
|
|
685
|
+
"nativeSrc": "1186:6:43",
|
|
686
|
+
"nodeType": "YulIdentifier",
|
|
687
|
+
"src": "1186:6:43"
|
|
688
|
+
},
|
|
689
|
+
"nativeSrc": "1186:12:43",
|
|
690
|
+
"nodeType": "YulFunctionCall",
|
|
691
|
+
"src": "1186:12:43"
|
|
692
|
+
},
|
|
693
|
+
"nativeSrc": "1186:12:43",
|
|
694
|
+
"nodeType": "YulExpressionStatement",
|
|
695
|
+
"src": "1186:12:43"
|
|
696
|
+
}
|
|
697
|
+
]
|
|
698
|
+
},
|
|
699
|
+
"name": "revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef",
|
|
700
|
+
"nativeSrc": "1087:117:43",
|
|
701
|
+
"nodeType": "YulFunctionDefinition",
|
|
702
|
+
"src": "1087:117:43"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"body": {
|
|
706
|
+
"nativeSrc": "1299:478:43",
|
|
707
|
+
"nodeType": "YulBlock",
|
|
708
|
+
"src": "1299:478:43",
|
|
709
|
+
"statements": [
|
|
710
|
+
{
|
|
711
|
+
"body": {
|
|
712
|
+
"nativeSrc": "1348:83:43",
|
|
713
|
+
"nodeType": "YulBlock",
|
|
714
|
+
"src": "1348:83:43",
|
|
715
|
+
"statements": [
|
|
716
|
+
{
|
|
717
|
+
"expression": {
|
|
718
|
+
"arguments": [],
|
|
719
|
+
"functionName": {
|
|
720
|
+
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
|
|
721
|
+
"nativeSrc": "1350:77:43",
|
|
722
|
+
"nodeType": "YulIdentifier",
|
|
723
|
+
"src": "1350:77:43"
|
|
724
|
+
},
|
|
725
|
+
"nativeSrc": "1350:79:43",
|
|
726
|
+
"nodeType": "YulFunctionCall",
|
|
727
|
+
"src": "1350:79:43"
|
|
728
|
+
},
|
|
729
|
+
"nativeSrc": "1350:79:43",
|
|
730
|
+
"nodeType": "YulExpressionStatement",
|
|
731
|
+
"src": "1350:79:43"
|
|
732
|
+
}
|
|
733
|
+
]
|
|
734
|
+
},
|
|
735
|
+
"condition": {
|
|
736
|
+
"arguments": [
|
|
737
|
+
{
|
|
738
|
+
"arguments": [
|
|
739
|
+
{
|
|
740
|
+
"arguments": [
|
|
741
|
+
{
|
|
742
|
+
"name": "offset",
|
|
743
|
+
"nativeSrc": "1327:6:43",
|
|
744
|
+
"nodeType": "YulIdentifier",
|
|
745
|
+
"src": "1327:6:43"
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
"kind": "number",
|
|
749
|
+
"nativeSrc": "1335:4:43",
|
|
750
|
+
"nodeType": "YulLiteral",
|
|
751
|
+
"src": "1335:4:43",
|
|
752
|
+
"type": "",
|
|
753
|
+
"value": "0x1f"
|
|
754
|
+
}
|
|
755
|
+
],
|
|
756
|
+
"functionName": {
|
|
757
|
+
"name": "add",
|
|
758
|
+
"nativeSrc": "1323:3:43",
|
|
759
|
+
"nodeType": "YulIdentifier",
|
|
760
|
+
"src": "1323:3:43"
|
|
761
|
+
},
|
|
762
|
+
"nativeSrc": "1323:17:43",
|
|
763
|
+
"nodeType": "YulFunctionCall",
|
|
764
|
+
"src": "1323:17:43"
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"name": "end",
|
|
768
|
+
"nativeSrc": "1342:3:43",
|
|
769
|
+
"nodeType": "YulIdentifier",
|
|
770
|
+
"src": "1342:3:43"
|
|
771
|
+
}
|
|
772
|
+
],
|
|
773
|
+
"functionName": {
|
|
774
|
+
"name": "slt",
|
|
775
|
+
"nativeSrc": "1319:3:43",
|
|
776
|
+
"nodeType": "YulIdentifier",
|
|
777
|
+
"src": "1319:3:43"
|
|
778
|
+
},
|
|
779
|
+
"nativeSrc": "1319:27:43",
|
|
780
|
+
"nodeType": "YulFunctionCall",
|
|
781
|
+
"src": "1319:27:43"
|
|
782
|
+
}
|
|
783
|
+
],
|
|
784
|
+
"functionName": {
|
|
785
|
+
"name": "iszero",
|
|
786
|
+
"nativeSrc": "1312:6:43",
|
|
787
|
+
"nodeType": "YulIdentifier",
|
|
788
|
+
"src": "1312:6:43"
|
|
789
|
+
},
|
|
790
|
+
"nativeSrc": "1312:35:43",
|
|
791
|
+
"nodeType": "YulFunctionCall",
|
|
792
|
+
"src": "1312:35:43"
|
|
793
|
+
},
|
|
794
|
+
"nativeSrc": "1309:122:43",
|
|
795
|
+
"nodeType": "YulIf",
|
|
796
|
+
"src": "1309:122:43"
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"nativeSrc": "1440:30:43",
|
|
800
|
+
"nodeType": "YulAssignment",
|
|
801
|
+
"src": "1440:30:43",
|
|
802
|
+
"value": {
|
|
803
|
+
"arguments": [
|
|
804
|
+
{
|
|
805
|
+
"name": "offset",
|
|
806
|
+
"nativeSrc": "1463:6:43",
|
|
807
|
+
"nodeType": "YulIdentifier",
|
|
808
|
+
"src": "1463:6:43"
|
|
809
|
+
}
|
|
810
|
+
],
|
|
811
|
+
"functionName": {
|
|
812
|
+
"name": "calldataload",
|
|
813
|
+
"nativeSrc": "1450:12:43",
|
|
814
|
+
"nodeType": "YulIdentifier",
|
|
815
|
+
"src": "1450:12:43"
|
|
816
|
+
},
|
|
817
|
+
"nativeSrc": "1450:20:43",
|
|
818
|
+
"nodeType": "YulFunctionCall",
|
|
819
|
+
"src": "1450:20:43"
|
|
820
|
+
},
|
|
821
|
+
"variableNames": [
|
|
822
|
+
{
|
|
823
|
+
"name": "length",
|
|
824
|
+
"nativeSrc": "1440:6:43",
|
|
825
|
+
"nodeType": "YulIdentifier",
|
|
826
|
+
"src": "1440:6:43"
|
|
827
|
+
}
|
|
828
|
+
]
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"body": {
|
|
832
|
+
"nativeSrc": "1513:83:43",
|
|
833
|
+
"nodeType": "YulBlock",
|
|
834
|
+
"src": "1513:83:43",
|
|
835
|
+
"statements": [
|
|
836
|
+
{
|
|
837
|
+
"expression": {
|
|
838
|
+
"arguments": [],
|
|
839
|
+
"functionName": {
|
|
840
|
+
"name": "revert_error_15abf5612cd996bc235ba1e55a4a30ac60e6bb601ff7ba4ad3f179b6be8d0490",
|
|
841
|
+
"nativeSrc": "1515:77:43",
|
|
842
|
+
"nodeType": "YulIdentifier",
|
|
843
|
+
"src": "1515:77:43"
|
|
844
|
+
},
|
|
845
|
+
"nativeSrc": "1515:79:43",
|
|
846
|
+
"nodeType": "YulFunctionCall",
|
|
847
|
+
"src": "1515:79:43"
|
|
848
|
+
},
|
|
849
|
+
"nativeSrc": "1515:79:43",
|
|
850
|
+
"nodeType": "YulExpressionStatement",
|
|
851
|
+
"src": "1515:79:43"
|
|
852
|
+
}
|
|
853
|
+
]
|
|
854
|
+
},
|
|
855
|
+
"condition": {
|
|
856
|
+
"arguments": [
|
|
857
|
+
{
|
|
858
|
+
"name": "length",
|
|
859
|
+
"nativeSrc": "1485:6:43",
|
|
860
|
+
"nodeType": "YulIdentifier",
|
|
861
|
+
"src": "1485:6:43"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"kind": "number",
|
|
865
|
+
"nativeSrc": "1493:18:43",
|
|
866
|
+
"nodeType": "YulLiteral",
|
|
867
|
+
"src": "1493:18:43",
|
|
868
|
+
"type": "",
|
|
869
|
+
"value": "0xffffffffffffffff"
|
|
870
|
+
}
|
|
871
|
+
],
|
|
872
|
+
"functionName": {
|
|
873
|
+
"name": "gt",
|
|
874
|
+
"nativeSrc": "1482:2:43",
|
|
875
|
+
"nodeType": "YulIdentifier",
|
|
876
|
+
"src": "1482:2:43"
|
|
877
|
+
},
|
|
878
|
+
"nativeSrc": "1482:30:43",
|
|
879
|
+
"nodeType": "YulFunctionCall",
|
|
880
|
+
"src": "1482:30:43"
|
|
881
|
+
},
|
|
882
|
+
"nativeSrc": "1479:117:43",
|
|
883
|
+
"nodeType": "YulIf",
|
|
884
|
+
"src": "1479:117:43"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"nativeSrc": "1605:29:43",
|
|
888
|
+
"nodeType": "YulAssignment",
|
|
889
|
+
"src": "1605:29:43",
|
|
890
|
+
"value": {
|
|
891
|
+
"arguments": [
|
|
892
|
+
{
|
|
893
|
+
"name": "offset",
|
|
894
|
+
"nativeSrc": "1621:6:43",
|
|
895
|
+
"nodeType": "YulIdentifier",
|
|
896
|
+
"src": "1621:6:43"
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"kind": "number",
|
|
900
|
+
"nativeSrc": "1629:4:43",
|
|
901
|
+
"nodeType": "YulLiteral",
|
|
902
|
+
"src": "1629:4:43",
|
|
903
|
+
"type": "",
|
|
904
|
+
"value": "0x20"
|
|
905
|
+
}
|
|
906
|
+
],
|
|
907
|
+
"functionName": {
|
|
908
|
+
"name": "add",
|
|
909
|
+
"nativeSrc": "1617:3:43",
|
|
910
|
+
"nodeType": "YulIdentifier",
|
|
911
|
+
"src": "1617:3:43"
|
|
912
|
+
},
|
|
913
|
+
"nativeSrc": "1617:17:43",
|
|
914
|
+
"nodeType": "YulFunctionCall",
|
|
915
|
+
"src": "1617:17:43"
|
|
916
|
+
},
|
|
917
|
+
"variableNames": [
|
|
918
|
+
{
|
|
919
|
+
"name": "arrayPos",
|
|
920
|
+
"nativeSrc": "1605:8:43",
|
|
921
|
+
"nodeType": "YulIdentifier",
|
|
922
|
+
"src": "1605:8:43"
|
|
923
|
+
}
|
|
924
|
+
]
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"body": {
|
|
928
|
+
"nativeSrc": "1688:83:43",
|
|
929
|
+
"nodeType": "YulBlock",
|
|
930
|
+
"src": "1688:83:43",
|
|
931
|
+
"statements": [
|
|
932
|
+
{
|
|
933
|
+
"expression": {
|
|
934
|
+
"arguments": [],
|
|
935
|
+
"functionName": {
|
|
936
|
+
"name": "revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef",
|
|
937
|
+
"nativeSrc": "1690:77:43",
|
|
938
|
+
"nodeType": "YulIdentifier",
|
|
939
|
+
"src": "1690:77:43"
|
|
940
|
+
},
|
|
941
|
+
"nativeSrc": "1690:79:43",
|
|
942
|
+
"nodeType": "YulFunctionCall",
|
|
943
|
+
"src": "1690:79:43"
|
|
944
|
+
},
|
|
945
|
+
"nativeSrc": "1690:79:43",
|
|
946
|
+
"nodeType": "YulExpressionStatement",
|
|
947
|
+
"src": "1690:79:43"
|
|
948
|
+
}
|
|
949
|
+
]
|
|
950
|
+
},
|
|
951
|
+
"condition": {
|
|
952
|
+
"arguments": [
|
|
953
|
+
{
|
|
954
|
+
"arguments": [
|
|
955
|
+
{
|
|
956
|
+
"name": "arrayPos",
|
|
957
|
+
"nativeSrc": "1653:8:43",
|
|
958
|
+
"nodeType": "YulIdentifier",
|
|
959
|
+
"src": "1653:8:43"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"arguments": [
|
|
963
|
+
{
|
|
964
|
+
"name": "length",
|
|
965
|
+
"nativeSrc": "1667:6:43",
|
|
966
|
+
"nodeType": "YulIdentifier",
|
|
967
|
+
"src": "1667:6:43"
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"kind": "number",
|
|
971
|
+
"nativeSrc": "1675:4:43",
|
|
972
|
+
"nodeType": "YulLiteral",
|
|
973
|
+
"src": "1675:4:43",
|
|
974
|
+
"type": "",
|
|
975
|
+
"value": "0x01"
|
|
976
|
+
}
|
|
977
|
+
],
|
|
978
|
+
"functionName": {
|
|
979
|
+
"name": "mul",
|
|
980
|
+
"nativeSrc": "1663:3:43",
|
|
981
|
+
"nodeType": "YulIdentifier",
|
|
982
|
+
"src": "1663:3:43"
|
|
983
|
+
},
|
|
984
|
+
"nativeSrc": "1663:17:43",
|
|
985
|
+
"nodeType": "YulFunctionCall",
|
|
986
|
+
"src": "1663:17:43"
|
|
987
|
+
}
|
|
988
|
+
],
|
|
989
|
+
"functionName": {
|
|
990
|
+
"name": "add",
|
|
991
|
+
"nativeSrc": "1649:3:43",
|
|
992
|
+
"nodeType": "YulIdentifier",
|
|
993
|
+
"src": "1649:3:43"
|
|
994
|
+
},
|
|
995
|
+
"nativeSrc": "1649:32:43",
|
|
996
|
+
"nodeType": "YulFunctionCall",
|
|
997
|
+
"src": "1649:32:43"
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"name": "end",
|
|
1001
|
+
"nativeSrc": "1683:3:43",
|
|
1002
|
+
"nodeType": "YulIdentifier",
|
|
1003
|
+
"src": "1683:3:43"
|
|
1004
|
+
}
|
|
1005
|
+
],
|
|
1006
|
+
"functionName": {
|
|
1007
|
+
"name": "gt",
|
|
1008
|
+
"nativeSrc": "1646:2:43",
|
|
1009
|
+
"nodeType": "YulIdentifier",
|
|
1010
|
+
"src": "1646:2:43"
|
|
1011
|
+
},
|
|
1012
|
+
"nativeSrc": "1646:41:43",
|
|
1013
|
+
"nodeType": "YulFunctionCall",
|
|
1014
|
+
"src": "1646:41:43"
|
|
1015
|
+
},
|
|
1016
|
+
"nativeSrc": "1643:128:43",
|
|
1017
|
+
"nodeType": "YulIf",
|
|
1018
|
+
"src": "1643:128:43"
|
|
1019
|
+
}
|
|
1020
|
+
]
|
|
1021
|
+
},
|
|
1022
|
+
"name": "abi_decode_t_string_calldata_ptr",
|
|
1023
|
+
"nativeSrc": "1224:553:43",
|
|
1024
|
+
"nodeType": "YulFunctionDefinition",
|
|
1025
|
+
"parameters": [
|
|
1026
|
+
{
|
|
1027
|
+
"name": "offset",
|
|
1028
|
+
"nativeSrc": "1266:6:43",
|
|
1029
|
+
"nodeType": "YulTypedName",
|
|
1030
|
+
"src": "1266:6:43",
|
|
1031
|
+
"type": ""
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"name": "end",
|
|
1035
|
+
"nativeSrc": "1274:3:43",
|
|
1036
|
+
"nodeType": "YulTypedName",
|
|
1037
|
+
"src": "1274:3:43",
|
|
1038
|
+
"type": ""
|
|
1039
|
+
}
|
|
1040
|
+
],
|
|
1041
|
+
"returnVariables": [
|
|
1042
|
+
{
|
|
1043
|
+
"name": "arrayPos",
|
|
1044
|
+
"nativeSrc": "1282:8:43",
|
|
1045
|
+
"nodeType": "YulTypedName",
|
|
1046
|
+
"src": "1282:8:43",
|
|
1047
|
+
"type": ""
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"name": "length",
|
|
1051
|
+
"nativeSrc": "1292:6:43",
|
|
1052
|
+
"nodeType": "YulTypedName",
|
|
1053
|
+
"src": "1292:6:43",
|
|
1054
|
+
"type": ""
|
|
1055
|
+
}
|
|
1056
|
+
],
|
|
1057
|
+
"src": "1224:553:43"
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
"body": {
|
|
1061
|
+
"nativeSrc": "1886:571:43",
|
|
1062
|
+
"nodeType": "YulBlock",
|
|
1063
|
+
"src": "1886:571:43",
|
|
1064
|
+
"statements": [
|
|
1065
|
+
{
|
|
1066
|
+
"body": {
|
|
1067
|
+
"nativeSrc": "1932:83:43",
|
|
1068
|
+
"nodeType": "YulBlock",
|
|
1069
|
+
"src": "1932:83:43",
|
|
1070
|
+
"statements": [
|
|
1071
|
+
{
|
|
1072
|
+
"expression": {
|
|
1073
|
+
"arguments": [],
|
|
1074
|
+
"functionName": {
|
|
1075
|
+
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
|
|
1076
|
+
"nativeSrc": "1934:77:43",
|
|
1077
|
+
"nodeType": "YulIdentifier",
|
|
1078
|
+
"src": "1934:77:43"
|
|
1079
|
+
},
|
|
1080
|
+
"nativeSrc": "1934:79:43",
|
|
1081
|
+
"nodeType": "YulFunctionCall",
|
|
1082
|
+
"src": "1934:79:43"
|
|
1083
|
+
},
|
|
1084
|
+
"nativeSrc": "1934:79:43",
|
|
1085
|
+
"nodeType": "YulExpressionStatement",
|
|
1086
|
+
"src": "1934:79:43"
|
|
1087
|
+
}
|
|
1088
|
+
]
|
|
1089
|
+
},
|
|
1090
|
+
"condition": {
|
|
1091
|
+
"arguments": [
|
|
1092
|
+
{
|
|
1093
|
+
"arguments": [
|
|
1094
|
+
{
|
|
1095
|
+
"name": "dataEnd",
|
|
1096
|
+
"nativeSrc": "1907:7:43",
|
|
1097
|
+
"nodeType": "YulIdentifier",
|
|
1098
|
+
"src": "1907:7:43"
|
|
1099
|
+
},
|
|
1100
|
+
{
|
|
1101
|
+
"name": "headStart",
|
|
1102
|
+
"nativeSrc": "1916:9:43",
|
|
1103
|
+
"nodeType": "YulIdentifier",
|
|
1104
|
+
"src": "1916:9:43"
|
|
1105
|
+
}
|
|
1106
|
+
],
|
|
1107
|
+
"functionName": {
|
|
1108
|
+
"name": "sub",
|
|
1109
|
+
"nativeSrc": "1903:3:43",
|
|
1110
|
+
"nodeType": "YulIdentifier",
|
|
1111
|
+
"src": "1903:3:43"
|
|
1112
|
+
},
|
|
1113
|
+
"nativeSrc": "1903:23:43",
|
|
1114
|
+
"nodeType": "YulFunctionCall",
|
|
1115
|
+
"src": "1903:23:43"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"kind": "number",
|
|
1119
|
+
"nativeSrc": "1928:2:43",
|
|
1120
|
+
"nodeType": "YulLiteral",
|
|
1121
|
+
"src": "1928:2:43",
|
|
1122
|
+
"type": "",
|
|
1123
|
+
"value": "64"
|
|
1124
|
+
}
|
|
1125
|
+
],
|
|
1126
|
+
"functionName": {
|
|
1127
|
+
"name": "slt",
|
|
1128
|
+
"nativeSrc": "1899:3:43",
|
|
1129
|
+
"nodeType": "YulIdentifier",
|
|
1130
|
+
"src": "1899:3:43"
|
|
1131
|
+
},
|
|
1132
|
+
"nativeSrc": "1899:32:43",
|
|
1133
|
+
"nodeType": "YulFunctionCall",
|
|
1134
|
+
"src": "1899:32:43"
|
|
1135
|
+
},
|
|
1136
|
+
"nativeSrc": "1896:119:43",
|
|
1137
|
+
"nodeType": "YulIf",
|
|
1138
|
+
"src": "1896:119:43"
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
"nativeSrc": "2025:117:43",
|
|
1142
|
+
"nodeType": "YulBlock",
|
|
1143
|
+
"src": "2025:117:43",
|
|
1144
|
+
"statements": [
|
|
1145
|
+
{
|
|
1146
|
+
"nativeSrc": "2040:15:43",
|
|
1147
|
+
"nodeType": "YulVariableDeclaration",
|
|
1148
|
+
"src": "2040:15:43",
|
|
1149
|
+
"value": {
|
|
1150
|
+
"kind": "number",
|
|
1151
|
+
"nativeSrc": "2054:1:43",
|
|
1152
|
+
"nodeType": "YulLiteral",
|
|
1153
|
+
"src": "2054:1:43",
|
|
1154
|
+
"type": "",
|
|
1155
|
+
"value": "0"
|
|
1156
|
+
},
|
|
1157
|
+
"variables": [
|
|
1158
|
+
{
|
|
1159
|
+
"name": "offset",
|
|
1160
|
+
"nativeSrc": "2044:6:43",
|
|
1161
|
+
"nodeType": "YulTypedName",
|
|
1162
|
+
"src": "2044:6:43",
|
|
1163
|
+
"type": ""
|
|
1164
|
+
}
|
|
1165
|
+
]
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
"nativeSrc": "2069:63:43",
|
|
1169
|
+
"nodeType": "YulAssignment",
|
|
1170
|
+
"src": "2069:63:43",
|
|
1171
|
+
"value": {
|
|
1172
|
+
"arguments": [
|
|
1173
|
+
{
|
|
1174
|
+
"arguments": [
|
|
1175
|
+
{
|
|
1176
|
+
"name": "headStart",
|
|
1177
|
+
"nativeSrc": "2104:9:43",
|
|
1178
|
+
"nodeType": "YulIdentifier",
|
|
1179
|
+
"src": "2104:9:43"
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
"name": "offset",
|
|
1183
|
+
"nativeSrc": "2115:6:43",
|
|
1184
|
+
"nodeType": "YulIdentifier",
|
|
1185
|
+
"src": "2115:6:43"
|
|
1186
|
+
}
|
|
1187
|
+
],
|
|
1188
|
+
"functionName": {
|
|
1189
|
+
"name": "add",
|
|
1190
|
+
"nativeSrc": "2100:3:43",
|
|
1191
|
+
"nodeType": "YulIdentifier",
|
|
1192
|
+
"src": "2100:3:43"
|
|
1193
|
+
},
|
|
1194
|
+
"nativeSrc": "2100:22:43",
|
|
1195
|
+
"nodeType": "YulFunctionCall",
|
|
1196
|
+
"src": "2100:22:43"
|
|
1197
|
+
},
|
|
1198
|
+
{
|
|
1199
|
+
"name": "dataEnd",
|
|
1200
|
+
"nativeSrc": "2124:7:43",
|
|
1201
|
+
"nodeType": "YulIdentifier",
|
|
1202
|
+
"src": "2124:7:43"
|
|
1203
|
+
}
|
|
1204
|
+
],
|
|
1205
|
+
"functionName": {
|
|
1206
|
+
"name": "abi_decode_t_address",
|
|
1207
|
+
"nativeSrc": "2079:20:43",
|
|
1208
|
+
"nodeType": "YulIdentifier",
|
|
1209
|
+
"src": "2079:20:43"
|
|
1210
|
+
},
|
|
1211
|
+
"nativeSrc": "2079:53:43",
|
|
1212
|
+
"nodeType": "YulFunctionCall",
|
|
1213
|
+
"src": "2079:53:43"
|
|
1214
|
+
},
|
|
1215
|
+
"variableNames": [
|
|
1216
|
+
{
|
|
1217
|
+
"name": "value0",
|
|
1218
|
+
"nativeSrc": "2069:6:43",
|
|
1219
|
+
"nodeType": "YulIdentifier",
|
|
1220
|
+
"src": "2069:6:43"
|
|
1221
|
+
}
|
|
1222
|
+
]
|
|
1223
|
+
}
|
|
1224
|
+
]
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
"nativeSrc": "2152:298:43",
|
|
1228
|
+
"nodeType": "YulBlock",
|
|
1229
|
+
"src": "2152:298:43",
|
|
1230
|
+
"statements": [
|
|
1231
|
+
{
|
|
1232
|
+
"nativeSrc": "2167:46:43",
|
|
1233
|
+
"nodeType": "YulVariableDeclaration",
|
|
1234
|
+
"src": "2167:46:43",
|
|
1235
|
+
"value": {
|
|
1236
|
+
"arguments": [
|
|
1237
|
+
{
|
|
1238
|
+
"arguments": [
|
|
1239
|
+
{
|
|
1240
|
+
"name": "headStart",
|
|
1241
|
+
"nativeSrc": "2198:9:43",
|
|
1242
|
+
"nodeType": "YulIdentifier",
|
|
1243
|
+
"src": "2198:9:43"
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"kind": "number",
|
|
1247
|
+
"nativeSrc": "2209:2:43",
|
|
1248
|
+
"nodeType": "YulLiteral",
|
|
1249
|
+
"src": "2209:2:43",
|
|
1250
|
+
"type": "",
|
|
1251
|
+
"value": "32"
|
|
1252
|
+
}
|
|
1253
|
+
],
|
|
1254
|
+
"functionName": {
|
|
1255
|
+
"name": "add",
|
|
1256
|
+
"nativeSrc": "2194:3:43",
|
|
1257
|
+
"nodeType": "YulIdentifier",
|
|
1258
|
+
"src": "2194:3:43"
|
|
1259
|
+
},
|
|
1260
|
+
"nativeSrc": "2194:18:43",
|
|
1261
|
+
"nodeType": "YulFunctionCall",
|
|
1262
|
+
"src": "2194:18:43"
|
|
1263
|
+
}
|
|
1264
|
+
],
|
|
1265
|
+
"functionName": {
|
|
1266
|
+
"name": "calldataload",
|
|
1267
|
+
"nativeSrc": "2181:12:43",
|
|
1268
|
+
"nodeType": "YulIdentifier",
|
|
1269
|
+
"src": "2181:12:43"
|
|
1270
|
+
},
|
|
1271
|
+
"nativeSrc": "2181:32:43",
|
|
1272
|
+
"nodeType": "YulFunctionCall",
|
|
1273
|
+
"src": "2181:32:43"
|
|
1274
|
+
},
|
|
1275
|
+
"variables": [
|
|
1276
|
+
{
|
|
1277
|
+
"name": "offset",
|
|
1278
|
+
"nativeSrc": "2171:6:43",
|
|
1279
|
+
"nodeType": "YulTypedName",
|
|
1280
|
+
"src": "2171:6:43",
|
|
1281
|
+
"type": ""
|
|
1282
|
+
}
|
|
1283
|
+
]
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"body": {
|
|
1287
|
+
"nativeSrc": "2260:83:43",
|
|
1288
|
+
"nodeType": "YulBlock",
|
|
1289
|
+
"src": "2260:83:43",
|
|
1290
|
+
"statements": [
|
|
1291
|
+
{
|
|
1292
|
+
"expression": {
|
|
1293
|
+
"arguments": [],
|
|
1294
|
+
"functionName": {
|
|
1295
|
+
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
|
|
1296
|
+
"nativeSrc": "2262:77:43",
|
|
1297
|
+
"nodeType": "YulIdentifier",
|
|
1298
|
+
"src": "2262:77:43"
|
|
1299
|
+
},
|
|
1300
|
+
"nativeSrc": "2262:79:43",
|
|
1301
|
+
"nodeType": "YulFunctionCall",
|
|
1302
|
+
"src": "2262:79:43"
|
|
1303
|
+
},
|
|
1304
|
+
"nativeSrc": "2262:79:43",
|
|
1305
|
+
"nodeType": "YulExpressionStatement",
|
|
1306
|
+
"src": "2262:79:43"
|
|
1307
|
+
}
|
|
1308
|
+
]
|
|
1309
|
+
},
|
|
1310
|
+
"condition": {
|
|
1311
|
+
"arguments": [
|
|
1312
|
+
{
|
|
1313
|
+
"name": "offset",
|
|
1314
|
+
"nativeSrc": "2232:6:43",
|
|
1315
|
+
"nodeType": "YulIdentifier",
|
|
1316
|
+
"src": "2232:6:43"
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
"kind": "number",
|
|
1320
|
+
"nativeSrc": "2240:18:43",
|
|
1321
|
+
"nodeType": "YulLiteral",
|
|
1322
|
+
"src": "2240:18:43",
|
|
1323
|
+
"type": "",
|
|
1324
|
+
"value": "0xffffffffffffffff"
|
|
1325
|
+
}
|
|
1326
|
+
],
|
|
1327
|
+
"functionName": {
|
|
1328
|
+
"name": "gt",
|
|
1329
|
+
"nativeSrc": "2229:2:43",
|
|
1330
|
+
"nodeType": "YulIdentifier",
|
|
1331
|
+
"src": "2229:2:43"
|
|
1332
|
+
},
|
|
1333
|
+
"nativeSrc": "2229:30:43",
|
|
1334
|
+
"nodeType": "YulFunctionCall",
|
|
1335
|
+
"src": "2229:30:43"
|
|
1336
|
+
},
|
|
1337
|
+
"nativeSrc": "2226:117:43",
|
|
1338
|
+
"nodeType": "YulIf",
|
|
1339
|
+
"src": "2226:117:43"
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
"nativeSrc": "2357:83:43",
|
|
1343
|
+
"nodeType": "YulAssignment",
|
|
1344
|
+
"src": "2357:83:43",
|
|
1345
|
+
"value": {
|
|
1346
|
+
"arguments": [
|
|
1347
|
+
{
|
|
1348
|
+
"arguments": [
|
|
1349
|
+
{
|
|
1350
|
+
"name": "headStart",
|
|
1351
|
+
"nativeSrc": "2412:9:43",
|
|
1352
|
+
"nodeType": "YulIdentifier",
|
|
1353
|
+
"src": "2412:9:43"
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
"name": "offset",
|
|
1357
|
+
"nativeSrc": "2423:6:43",
|
|
1358
|
+
"nodeType": "YulIdentifier",
|
|
1359
|
+
"src": "2423:6:43"
|
|
1360
|
+
}
|
|
1361
|
+
],
|
|
1362
|
+
"functionName": {
|
|
1363
|
+
"name": "add",
|
|
1364
|
+
"nativeSrc": "2408:3:43",
|
|
1365
|
+
"nodeType": "YulIdentifier",
|
|
1366
|
+
"src": "2408:3:43"
|
|
1367
|
+
},
|
|
1368
|
+
"nativeSrc": "2408:22:43",
|
|
1369
|
+
"nodeType": "YulFunctionCall",
|
|
1370
|
+
"src": "2408:22:43"
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
"name": "dataEnd",
|
|
1374
|
+
"nativeSrc": "2432:7:43",
|
|
1375
|
+
"nodeType": "YulIdentifier",
|
|
1376
|
+
"src": "2432:7:43"
|
|
1377
|
+
}
|
|
1378
|
+
],
|
|
1379
|
+
"functionName": {
|
|
1380
|
+
"name": "abi_decode_t_string_calldata_ptr",
|
|
1381
|
+
"nativeSrc": "2375:32:43",
|
|
1382
|
+
"nodeType": "YulIdentifier",
|
|
1383
|
+
"src": "2375:32:43"
|
|
1384
|
+
},
|
|
1385
|
+
"nativeSrc": "2375:65:43",
|
|
1386
|
+
"nodeType": "YulFunctionCall",
|
|
1387
|
+
"src": "2375:65:43"
|
|
1388
|
+
},
|
|
1389
|
+
"variableNames": [
|
|
1390
|
+
{
|
|
1391
|
+
"name": "value1",
|
|
1392
|
+
"nativeSrc": "2357:6:43",
|
|
1393
|
+
"nodeType": "YulIdentifier",
|
|
1394
|
+
"src": "2357:6:43"
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"name": "value2",
|
|
1398
|
+
"nativeSrc": "2365:6:43",
|
|
1399
|
+
"nodeType": "YulIdentifier",
|
|
1400
|
+
"src": "2365:6:43"
|
|
1401
|
+
}
|
|
1402
|
+
]
|
|
1403
|
+
}
|
|
1404
|
+
]
|
|
1405
|
+
}
|
|
1406
|
+
]
|
|
1407
|
+
},
|
|
1408
|
+
"name": "abi_decode_tuple_t_addresst_string_calldata_ptr",
|
|
1409
|
+
"nativeSrc": "1783:674:43",
|
|
1410
|
+
"nodeType": "YulFunctionDefinition",
|
|
1411
|
+
"parameters": [
|
|
1412
|
+
{
|
|
1413
|
+
"name": "headStart",
|
|
1414
|
+
"nativeSrc": "1840:9:43",
|
|
1415
|
+
"nodeType": "YulTypedName",
|
|
1416
|
+
"src": "1840:9:43",
|
|
1417
|
+
"type": ""
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
"name": "dataEnd",
|
|
1421
|
+
"nativeSrc": "1851:7:43",
|
|
1422
|
+
"nodeType": "YulTypedName",
|
|
1423
|
+
"src": "1851:7:43",
|
|
1424
|
+
"type": ""
|
|
1425
|
+
}
|
|
1426
|
+
],
|
|
1427
|
+
"returnVariables": [
|
|
1428
|
+
{
|
|
1429
|
+
"name": "value0",
|
|
1430
|
+
"nativeSrc": "1863:6:43",
|
|
1431
|
+
"nodeType": "YulTypedName",
|
|
1432
|
+
"src": "1863:6:43",
|
|
1433
|
+
"type": ""
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
"name": "value1",
|
|
1437
|
+
"nativeSrc": "1871:6:43",
|
|
1438
|
+
"nodeType": "YulTypedName",
|
|
1439
|
+
"src": "1871:6:43",
|
|
1440
|
+
"type": ""
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
"name": "value2",
|
|
1444
|
+
"nativeSrc": "1879:6:43",
|
|
1445
|
+
"nodeType": "YulTypedName",
|
|
1446
|
+
"src": "1879:6:43",
|
|
1447
|
+
"type": ""
|
|
1448
|
+
}
|
|
1449
|
+
],
|
|
1450
|
+
"src": "1783:674:43"
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
"body": {
|
|
1454
|
+
"nativeSrc": "2559:73:43",
|
|
1455
|
+
"nodeType": "YulBlock",
|
|
1456
|
+
"src": "2559:73:43",
|
|
1457
|
+
"statements": [
|
|
1458
|
+
{
|
|
1459
|
+
"expression": {
|
|
1460
|
+
"arguments": [
|
|
1461
|
+
{
|
|
1462
|
+
"name": "pos",
|
|
1463
|
+
"nativeSrc": "2576:3:43",
|
|
1464
|
+
"nodeType": "YulIdentifier",
|
|
1465
|
+
"src": "2576:3:43"
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"name": "length",
|
|
1469
|
+
"nativeSrc": "2581:6:43",
|
|
1470
|
+
"nodeType": "YulIdentifier",
|
|
1471
|
+
"src": "2581:6:43"
|
|
1472
|
+
}
|
|
1473
|
+
],
|
|
1474
|
+
"functionName": {
|
|
1475
|
+
"name": "mstore",
|
|
1476
|
+
"nativeSrc": "2569:6:43",
|
|
1477
|
+
"nodeType": "YulIdentifier",
|
|
1478
|
+
"src": "2569:6:43"
|
|
1479
|
+
},
|
|
1480
|
+
"nativeSrc": "2569:19:43",
|
|
1481
|
+
"nodeType": "YulFunctionCall",
|
|
1482
|
+
"src": "2569:19:43"
|
|
1483
|
+
},
|
|
1484
|
+
"nativeSrc": "2569:19:43",
|
|
1485
|
+
"nodeType": "YulExpressionStatement",
|
|
1486
|
+
"src": "2569:19:43"
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"nativeSrc": "2597:29:43",
|
|
1490
|
+
"nodeType": "YulAssignment",
|
|
1491
|
+
"src": "2597:29:43",
|
|
1492
|
+
"value": {
|
|
1493
|
+
"arguments": [
|
|
1494
|
+
{
|
|
1495
|
+
"name": "pos",
|
|
1496
|
+
"nativeSrc": "2616:3:43",
|
|
1497
|
+
"nodeType": "YulIdentifier",
|
|
1498
|
+
"src": "2616:3:43"
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"kind": "number",
|
|
1502
|
+
"nativeSrc": "2621:4:43",
|
|
1503
|
+
"nodeType": "YulLiteral",
|
|
1504
|
+
"src": "2621:4:43",
|
|
1505
|
+
"type": "",
|
|
1506
|
+
"value": "0x20"
|
|
1507
|
+
}
|
|
1508
|
+
],
|
|
1509
|
+
"functionName": {
|
|
1510
|
+
"name": "add",
|
|
1511
|
+
"nativeSrc": "2612:3:43",
|
|
1512
|
+
"nodeType": "YulIdentifier",
|
|
1513
|
+
"src": "2612:3:43"
|
|
1514
|
+
},
|
|
1515
|
+
"nativeSrc": "2612:14:43",
|
|
1516
|
+
"nodeType": "YulFunctionCall",
|
|
1517
|
+
"src": "2612:14:43"
|
|
1518
|
+
},
|
|
1519
|
+
"variableNames": [
|
|
1520
|
+
{
|
|
1521
|
+
"name": "updated_pos",
|
|
1522
|
+
"nativeSrc": "2597:11:43",
|
|
1523
|
+
"nodeType": "YulIdentifier",
|
|
1524
|
+
"src": "2597:11:43"
|
|
1525
|
+
}
|
|
1526
|
+
]
|
|
1527
|
+
}
|
|
1528
|
+
]
|
|
1529
|
+
},
|
|
1530
|
+
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
|
|
1531
|
+
"nativeSrc": "2463:169:43",
|
|
1532
|
+
"nodeType": "YulFunctionDefinition",
|
|
1533
|
+
"parameters": [
|
|
1534
|
+
{
|
|
1535
|
+
"name": "pos",
|
|
1536
|
+
"nativeSrc": "2531:3:43",
|
|
1537
|
+
"nodeType": "YulTypedName",
|
|
1538
|
+
"src": "2531:3:43",
|
|
1539
|
+
"type": ""
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
"name": "length",
|
|
1543
|
+
"nativeSrc": "2536:6:43",
|
|
1544
|
+
"nodeType": "YulTypedName",
|
|
1545
|
+
"src": "2536:6:43",
|
|
1546
|
+
"type": ""
|
|
1547
|
+
}
|
|
1548
|
+
],
|
|
1549
|
+
"returnVariables": [
|
|
1550
|
+
{
|
|
1551
|
+
"name": "updated_pos",
|
|
1552
|
+
"nativeSrc": "2547:11:43",
|
|
1553
|
+
"nodeType": "YulTypedName",
|
|
1554
|
+
"src": "2547:11:43",
|
|
1555
|
+
"type": ""
|
|
1556
|
+
}
|
|
1557
|
+
],
|
|
1558
|
+
"src": "2463:169:43"
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"body": {
|
|
1562
|
+
"nativeSrc": "2702:82:43",
|
|
1563
|
+
"nodeType": "YulBlock",
|
|
1564
|
+
"src": "2702:82:43",
|
|
1565
|
+
"statements": [
|
|
1566
|
+
{
|
|
1567
|
+
"expression": {
|
|
1568
|
+
"arguments": [
|
|
1569
|
+
{
|
|
1570
|
+
"name": "dst",
|
|
1571
|
+
"nativeSrc": "2725:3:43",
|
|
1572
|
+
"nodeType": "YulIdentifier",
|
|
1573
|
+
"src": "2725:3:43"
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
"name": "src",
|
|
1577
|
+
"nativeSrc": "2730:3:43",
|
|
1578
|
+
"nodeType": "YulIdentifier",
|
|
1579
|
+
"src": "2730:3:43"
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
"name": "length",
|
|
1583
|
+
"nativeSrc": "2735:6:43",
|
|
1584
|
+
"nodeType": "YulIdentifier",
|
|
1585
|
+
"src": "2735:6:43"
|
|
1586
|
+
}
|
|
1587
|
+
],
|
|
1588
|
+
"functionName": {
|
|
1589
|
+
"name": "calldatacopy",
|
|
1590
|
+
"nativeSrc": "2712:12:43",
|
|
1591
|
+
"nodeType": "YulIdentifier",
|
|
1592
|
+
"src": "2712:12:43"
|
|
1593
|
+
},
|
|
1594
|
+
"nativeSrc": "2712:30:43",
|
|
1595
|
+
"nodeType": "YulFunctionCall",
|
|
1596
|
+
"src": "2712:30:43"
|
|
1597
|
+
},
|
|
1598
|
+
"nativeSrc": "2712:30:43",
|
|
1599
|
+
"nodeType": "YulExpressionStatement",
|
|
1600
|
+
"src": "2712:30:43"
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"expression": {
|
|
1604
|
+
"arguments": [
|
|
1605
|
+
{
|
|
1606
|
+
"arguments": [
|
|
1607
|
+
{
|
|
1608
|
+
"name": "dst",
|
|
1609
|
+
"nativeSrc": "2762:3:43",
|
|
1610
|
+
"nodeType": "YulIdentifier",
|
|
1611
|
+
"src": "2762:3:43"
|
|
1612
|
+
},
|
|
1613
|
+
{
|
|
1614
|
+
"name": "length",
|
|
1615
|
+
"nativeSrc": "2767:6:43",
|
|
1616
|
+
"nodeType": "YulIdentifier",
|
|
1617
|
+
"src": "2767:6:43"
|
|
1618
|
+
}
|
|
1619
|
+
],
|
|
1620
|
+
"functionName": {
|
|
1621
|
+
"name": "add",
|
|
1622
|
+
"nativeSrc": "2758:3:43",
|
|
1623
|
+
"nodeType": "YulIdentifier",
|
|
1624
|
+
"src": "2758:3:43"
|
|
1625
|
+
},
|
|
1626
|
+
"nativeSrc": "2758:16:43",
|
|
1627
|
+
"nodeType": "YulFunctionCall",
|
|
1628
|
+
"src": "2758:16:43"
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"kind": "number",
|
|
1632
|
+
"nativeSrc": "2776:1:43",
|
|
1633
|
+
"nodeType": "YulLiteral",
|
|
1634
|
+
"src": "2776:1:43",
|
|
1635
|
+
"type": "",
|
|
1636
|
+
"value": "0"
|
|
1637
|
+
}
|
|
1638
|
+
],
|
|
1639
|
+
"functionName": {
|
|
1640
|
+
"name": "mstore",
|
|
1641
|
+
"nativeSrc": "2751:6:43",
|
|
1642
|
+
"nodeType": "YulIdentifier",
|
|
1643
|
+
"src": "2751:6:43"
|
|
1644
|
+
},
|
|
1645
|
+
"nativeSrc": "2751:27:43",
|
|
1646
|
+
"nodeType": "YulFunctionCall",
|
|
1647
|
+
"src": "2751:27:43"
|
|
1648
|
+
},
|
|
1649
|
+
"nativeSrc": "2751:27:43",
|
|
1650
|
+
"nodeType": "YulExpressionStatement",
|
|
1651
|
+
"src": "2751:27:43"
|
|
1652
|
+
}
|
|
1653
|
+
]
|
|
1654
|
+
},
|
|
1655
|
+
"name": "copy_calldata_to_memory_with_cleanup",
|
|
1656
|
+
"nativeSrc": "2638:146:43",
|
|
1657
|
+
"nodeType": "YulFunctionDefinition",
|
|
1658
|
+
"parameters": [
|
|
1659
|
+
{
|
|
1660
|
+
"name": "src",
|
|
1661
|
+
"nativeSrc": "2684:3:43",
|
|
1662
|
+
"nodeType": "YulTypedName",
|
|
1663
|
+
"src": "2684:3:43",
|
|
1664
|
+
"type": ""
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
"name": "dst",
|
|
1668
|
+
"nativeSrc": "2689:3:43",
|
|
1669
|
+
"nodeType": "YulTypedName",
|
|
1670
|
+
"src": "2689:3:43",
|
|
1671
|
+
"type": ""
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
"name": "length",
|
|
1675
|
+
"nativeSrc": "2694:6:43",
|
|
1676
|
+
"nodeType": "YulTypedName",
|
|
1677
|
+
"src": "2694:6:43",
|
|
1678
|
+
"type": ""
|
|
1679
|
+
}
|
|
1680
|
+
],
|
|
1681
|
+
"src": "2638:146:43"
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
"body": {
|
|
1685
|
+
"nativeSrc": "2838:54:43",
|
|
1686
|
+
"nodeType": "YulBlock",
|
|
1687
|
+
"src": "2838:54:43",
|
|
1688
|
+
"statements": [
|
|
1689
|
+
{
|
|
1690
|
+
"nativeSrc": "2848:38:43",
|
|
1691
|
+
"nodeType": "YulAssignment",
|
|
1692
|
+
"src": "2848:38:43",
|
|
1693
|
+
"value": {
|
|
1694
|
+
"arguments": [
|
|
1695
|
+
{
|
|
1696
|
+
"arguments": [
|
|
1697
|
+
{
|
|
1698
|
+
"name": "value",
|
|
1699
|
+
"nativeSrc": "2866:5:43",
|
|
1700
|
+
"nodeType": "YulIdentifier",
|
|
1701
|
+
"src": "2866:5:43"
|
|
1702
|
+
},
|
|
1703
|
+
{
|
|
1704
|
+
"kind": "number",
|
|
1705
|
+
"nativeSrc": "2873:2:43",
|
|
1706
|
+
"nodeType": "YulLiteral",
|
|
1707
|
+
"src": "2873:2:43",
|
|
1708
|
+
"type": "",
|
|
1709
|
+
"value": "31"
|
|
1710
|
+
}
|
|
1711
|
+
],
|
|
1712
|
+
"functionName": {
|
|
1713
|
+
"name": "add",
|
|
1714
|
+
"nativeSrc": "2862:3:43",
|
|
1715
|
+
"nodeType": "YulIdentifier",
|
|
1716
|
+
"src": "2862:3:43"
|
|
1717
|
+
},
|
|
1718
|
+
"nativeSrc": "2862:14:43",
|
|
1719
|
+
"nodeType": "YulFunctionCall",
|
|
1720
|
+
"src": "2862:14:43"
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
"arguments": [
|
|
1724
|
+
{
|
|
1725
|
+
"kind": "number",
|
|
1726
|
+
"nativeSrc": "2882:2:43",
|
|
1727
|
+
"nodeType": "YulLiteral",
|
|
1728
|
+
"src": "2882:2:43",
|
|
1729
|
+
"type": "",
|
|
1730
|
+
"value": "31"
|
|
1731
|
+
}
|
|
1732
|
+
],
|
|
1733
|
+
"functionName": {
|
|
1734
|
+
"name": "not",
|
|
1735
|
+
"nativeSrc": "2878:3:43",
|
|
1736
|
+
"nodeType": "YulIdentifier",
|
|
1737
|
+
"src": "2878:3:43"
|
|
1738
|
+
},
|
|
1739
|
+
"nativeSrc": "2878:7:43",
|
|
1740
|
+
"nodeType": "YulFunctionCall",
|
|
1741
|
+
"src": "2878:7:43"
|
|
1742
|
+
}
|
|
1743
|
+
],
|
|
1744
|
+
"functionName": {
|
|
1745
|
+
"name": "and",
|
|
1746
|
+
"nativeSrc": "2858:3:43",
|
|
1747
|
+
"nodeType": "YulIdentifier",
|
|
1748
|
+
"src": "2858:3:43"
|
|
1749
|
+
},
|
|
1750
|
+
"nativeSrc": "2858:28:43",
|
|
1751
|
+
"nodeType": "YulFunctionCall",
|
|
1752
|
+
"src": "2858:28:43"
|
|
1753
|
+
},
|
|
1754
|
+
"variableNames": [
|
|
1755
|
+
{
|
|
1756
|
+
"name": "result",
|
|
1757
|
+
"nativeSrc": "2848:6:43",
|
|
1758
|
+
"nodeType": "YulIdentifier",
|
|
1759
|
+
"src": "2848:6:43"
|
|
1760
|
+
}
|
|
1761
|
+
]
|
|
1762
|
+
}
|
|
1763
|
+
]
|
|
1764
|
+
},
|
|
1765
|
+
"name": "round_up_to_mul_of_32",
|
|
1766
|
+
"nativeSrc": "2790:102:43",
|
|
1767
|
+
"nodeType": "YulFunctionDefinition",
|
|
1768
|
+
"parameters": [
|
|
1769
|
+
{
|
|
1770
|
+
"name": "value",
|
|
1771
|
+
"nativeSrc": "2821:5:43",
|
|
1772
|
+
"nodeType": "YulTypedName",
|
|
1773
|
+
"src": "2821:5:43",
|
|
1774
|
+
"type": ""
|
|
1775
|
+
}
|
|
1776
|
+
],
|
|
1777
|
+
"returnVariables": [
|
|
1778
|
+
{
|
|
1779
|
+
"name": "result",
|
|
1780
|
+
"nativeSrc": "2831:6:43",
|
|
1781
|
+
"nodeType": "YulTypedName",
|
|
1782
|
+
"src": "2831:6:43",
|
|
1783
|
+
"type": ""
|
|
1784
|
+
}
|
|
1785
|
+
],
|
|
1786
|
+
"src": "2790:102:43"
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
"body": {
|
|
1790
|
+
"nativeSrc": "3024:215:43",
|
|
1791
|
+
"nodeType": "YulBlock",
|
|
1792
|
+
"src": "3024:215:43",
|
|
1793
|
+
"statements": [
|
|
1794
|
+
{
|
|
1795
|
+
"nativeSrc": "3034:78:43",
|
|
1796
|
+
"nodeType": "YulAssignment",
|
|
1797
|
+
"src": "3034:78:43",
|
|
1798
|
+
"value": {
|
|
1799
|
+
"arguments": [
|
|
1800
|
+
{
|
|
1801
|
+
"name": "pos",
|
|
1802
|
+
"nativeSrc": "3100:3:43",
|
|
1803
|
+
"nodeType": "YulIdentifier",
|
|
1804
|
+
"src": "3100:3:43"
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
"name": "length",
|
|
1808
|
+
"nativeSrc": "3105:6:43",
|
|
1809
|
+
"nodeType": "YulIdentifier",
|
|
1810
|
+
"src": "3105:6:43"
|
|
1811
|
+
}
|
|
1812
|
+
],
|
|
1813
|
+
"functionName": {
|
|
1814
|
+
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
|
|
1815
|
+
"nativeSrc": "3041:58:43",
|
|
1816
|
+
"nodeType": "YulIdentifier",
|
|
1817
|
+
"src": "3041:58:43"
|
|
1818
|
+
},
|
|
1819
|
+
"nativeSrc": "3041:71:43",
|
|
1820
|
+
"nodeType": "YulFunctionCall",
|
|
1821
|
+
"src": "3041:71:43"
|
|
1822
|
+
},
|
|
1823
|
+
"variableNames": [
|
|
1824
|
+
{
|
|
1825
|
+
"name": "pos",
|
|
1826
|
+
"nativeSrc": "3034:3:43",
|
|
1827
|
+
"nodeType": "YulIdentifier",
|
|
1828
|
+
"src": "3034:3:43"
|
|
1829
|
+
}
|
|
1830
|
+
]
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"expression": {
|
|
1834
|
+
"arguments": [
|
|
1835
|
+
{
|
|
1836
|
+
"name": "start",
|
|
1837
|
+
"nativeSrc": "3159:5:43",
|
|
1838
|
+
"nodeType": "YulIdentifier",
|
|
1839
|
+
"src": "3159:5:43"
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
"name": "pos",
|
|
1843
|
+
"nativeSrc": "3166:3:43",
|
|
1844
|
+
"nodeType": "YulIdentifier",
|
|
1845
|
+
"src": "3166:3:43"
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
"name": "length",
|
|
1849
|
+
"nativeSrc": "3171:6:43",
|
|
1850
|
+
"nodeType": "YulIdentifier",
|
|
1851
|
+
"src": "3171:6:43"
|
|
1852
|
+
}
|
|
1853
|
+
],
|
|
1854
|
+
"functionName": {
|
|
1855
|
+
"name": "copy_calldata_to_memory_with_cleanup",
|
|
1856
|
+
"nativeSrc": "3122:36:43",
|
|
1857
|
+
"nodeType": "YulIdentifier",
|
|
1858
|
+
"src": "3122:36:43"
|
|
1859
|
+
},
|
|
1860
|
+
"nativeSrc": "3122:56:43",
|
|
1861
|
+
"nodeType": "YulFunctionCall",
|
|
1862
|
+
"src": "3122:56:43"
|
|
1863
|
+
},
|
|
1864
|
+
"nativeSrc": "3122:56:43",
|
|
1865
|
+
"nodeType": "YulExpressionStatement",
|
|
1866
|
+
"src": "3122:56:43"
|
|
1867
|
+
},
|
|
1868
|
+
{
|
|
1869
|
+
"nativeSrc": "3187:46:43",
|
|
1870
|
+
"nodeType": "YulAssignment",
|
|
1871
|
+
"src": "3187:46:43",
|
|
1872
|
+
"value": {
|
|
1873
|
+
"arguments": [
|
|
1874
|
+
{
|
|
1875
|
+
"name": "pos",
|
|
1876
|
+
"nativeSrc": "3198:3:43",
|
|
1877
|
+
"nodeType": "YulIdentifier",
|
|
1878
|
+
"src": "3198:3:43"
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
"arguments": [
|
|
1882
|
+
{
|
|
1883
|
+
"name": "length",
|
|
1884
|
+
"nativeSrc": "3225:6:43",
|
|
1885
|
+
"nodeType": "YulIdentifier",
|
|
1886
|
+
"src": "3225:6:43"
|
|
1887
|
+
}
|
|
1888
|
+
],
|
|
1889
|
+
"functionName": {
|
|
1890
|
+
"name": "round_up_to_mul_of_32",
|
|
1891
|
+
"nativeSrc": "3203:21:43",
|
|
1892
|
+
"nodeType": "YulIdentifier",
|
|
1893
|
+
"src": "3203:21:43"
|
|
1894
|
+
},
|
|
1895
|
+
"nativeSrc": "3203:29:43",
|
|
1896
|
+
"nodeType": "YulFunctionCall",
|
|
1897
|
+
"src": "3203:29:43"
|
|
1898
|
+
}
|
|
1899
|
+
],
|
|
1900
|
+
"functionName": {
|
|
1901
|
+
"name": "add",
|
|
1902
|
+
"nativeSrc": "3194:3:43",
|
|
1903
|
+
"nodeType": "YulIdentifier",
|
|
1904
|
+
"src": "3194:3:43"
|
|
1905
|
+
},
|
|
1906
|
+
"nativeSrc": "3194:39:43",
|
|
1907
|
+
"nodeType": "YulFunctionCall",
|
|
1908
|
+
"src": "3194:39:43"
|
|
1909
|
+
},
|
|
1910
|
+
"variableNames": [
|
|
1911
|
+
{
|
|
1912
|
+
"name": "end",
|
|
1913
|
+
"nativeSrc": "3187:3:43",
|
|
1914
|
+
"nodeType": "YulIdentifier",
|
|
1915
|
+
"src": "3187:3:43"
|
|
1916
|
+
}
|
|
1917
|
+
]
|
|
1918
|
+
}
|
|
1919
|
+
]
|
|
1920
|
+
},
|
|
1921
|
+
"name": "abi_encode_t_string_calldata_ptr_to_t_string_memory_ptr_fromStack",
|
|
1922
|
+
"nativeSrc": "2922:317:43",
|
|
1923
|
+
"nodeType": "YulFunctionDefinition",
|
|
1924
|
+
"parameters": [
|
|
1925
|
+
{
|
|
1926
|
+
"name": "start",
|
|
1927
|
+
"nativeSrc": "2997:5:43",
|
|
1928
|
+
"nodeType": "YulTypedName",
|
|
1929
|
+
"src": "2997:5:43",
|
|
1930
|
+
"type": ""
|
|
1931
|
+
},
|
|
1932
|
+
{
|
|
1933
|
+
"name": "length",
|
|
1934
|
+
"nativeSrc": "3004:6:43",
|
|
1935
|
+
"nodeType": "YulTypedName",
|
|
1936
|
+
"src": "3004:6:43",
|
|
1937
|
+
"type": ""
|
|
1938
|
+
},
|
|
1939
|
+
{
|
|
1940
|
+
"name": "pos",
|
|
1941
|
+
"nativeSrc": "3012:3:43",
|
|
1942
|
+
"nodeType": "YulTypedName",
|
|
1943
|
+
"src": "3012:3:43",
|
|
1944
|
+
"type": ""
|
|
1945
|
+
}
|
|
1946
|
+
],
|
|
1947
|
+
"returnVariables": [
|
|
1948
|
+
{
|
|
1949
|
+
"name": "end",
|
|
1950
|
+
"nativeSrc": "3020:3:43",
|
|
1951
|
+
"nodeType": "YulTypedName",
|
|
1952
|
+
"src": "3020:3:43",
|
|
1953
|
+
"type": ""
|
|
1954
|
+
}
|
|
1955
|
+
],
|
|
1956
|
+
"src": "2922:317:43"
|
|
1957
|
+
},
|
|
1958
|
+
{
|
|
1959
|
+
"body": {
|
|
1960
|
+
"nativeSrc": "3290:32:43",
|
|
1961
|
+
"nodeType": "YulBlock",
|
|
1962
|
+
"src": "3290:32:43",
|
|
1963
|
+
"statements": [
|
|
1964
|
+
{
|
|
1965
|
+
"nativeSrc": "3300:16:43",
|
|
1966
|
+
"nodeType": "YulAssignment",
|
|
1967
|
+
"src": "3300:16:43",
|
|
1968
|
+
"value": {
|
|
1969
|
+
"name": "value",
|
|
1970
|
+
"nativeSrc": "3311:5:43",
|
|
1971
|
+
"nodeType": "YulIdentifier",
|
|
1972
|
+
"src": "3311:5:43"
|
|
1973
|
+
},
|
|
1974
|
+
"variableNames": [
|
|
1975
|
+
{
|
|
1976
|
+
"name": "cleaned",
|
|
1977
|
+
"nativeSrc": "3300:7:43",
|
|
1978
|
+
"nodeType": "YulIdentifier",
|
|
1979
|
+
"src": "3300:7:43"
|
|
1980
|
+
}
|
|
1981
|
+
]
|
|
1982
|
+
}
|
|
1983
|
+
]
|
|
1984
|
+
},
|
|
1985
|
+
"name": "cleanup_t_uint256",
|
|
1986
|
+
"nativeSrc": "3245:77:43",
|
|
1987
|
+
"nodeType": "YulFunctionDefinition",
|
|
1988
|
+
"parameters": [
|
|
1989
|
+
{
|
|
1990
|
+
"name": "value",
|
|
1991
|
+
"nativeSrc": "3272:5:43",
|
|
1992
|
+
"nodeType": "YulTypedName",
|
|
1993
|
+
"src": "3272:5:43",
|
|
1994
|
+
"type": ""
|
|
1995
|
+
}
|
|
1996
|
+
],
|
|
1997
|
+
"returnVariables": [
|
|
1998
|
+
{
|
|
1999
|
+
"name": "cleaned",
|
|
2000
|
+
"nativeSrc": "3282:7:43",
|
|
2001
|
+
"nodeType": "YulTypedName",
|
|
2002
|
+
"src": "3282:7:43",
|
|
2003
|
+
"type": ""
|
|
2004
|
+
}
|
|
2005
|
+
],
|
|
2006
|
+
"src": "3245:77:43"
|
|
2007
|
+
},
|
|
2008
|
+
{
|
|
2009
|
+
"body": {
|
|
2010
|
+
"nativeSrc": "3393:53:43",
|
|
2011
|
+
"nodeType": "YulBlock",
|
|
2012
|
+
"src": "3393:53:43",
|
|
2013
|
+
"statements": [
|
|
2014
|
+
{
|
|
2015
|
+
"expression": {
|
|
2016
|
+
"arguments": [
|
|
2017
|
+
{
|
|
2018
|
+
"name": "pos",
|
|
2019
|
+
"nativeSrc": "3410:3:43",
|
|
2020
|
+
"nodeType": "YulIdentifier",
|
|
2021
|
+
"src": "3410:3:43"
|
|
2022
|
+
},
|
|
2023
|
+
{
|
|
2024
|
+
"arguments": [
|
|
2025
|
+
{
|
|
2026
|
+
"name": "value",
|
|
2027
|
+
"nativeSrc": "3433:5:43",
|
|
2028
|
+
"nodeType": "YulIdentifier",
|
|
2029
|
+
"src": "3433:5:43"
|
|
2030
|
+
}
|
|
2031
|
+
],
|
|
2032
|
+
"functionName": {
|
|
2033
|
+
"name": "cleanup_t_uint256",
|
|
2034
|
+
"nativeSrc": "3415:17:43",
|
|
2035
|
+
"nodeType": "YulIdentifier",
|
|
2036
|
+
"src": "3415:17:43"
|
|
2037
|
+
},
|
|
2038
|
+
"nativeSrc": "3415:24:43",
|
|
2039
|
+
"nodeType": "YulFunctionCall",
|
|
2040
|
+
"src": "3415:24:43"
|
|
2041
|
+
}
|
|
2042
|
+
],
|
|
2043
|
+
"functionName": {
|
|
2044
|
+
"name": "mstore",
|
|
2045
|
+
"nativeSrc": "3403:6:43",
|
|
2046
|
+
"nodeType": "YulIdentifier",
|
|
2047
|
+
"src": "3403:6:43"
|
|
2048
|
+
},
|
|
2049
|
+
"nativeSrc": "3403:37:43",
|
|
2050
|
+
"nodeType": "YulFunctionCall",
|
|
2051
|
+
"src": "3403:37:43"
|
|
2052
|
+
},
|
|
2053
|
+
"nativeSrc": "3403:37:43",
|
|
2054
|
+
"nodeType": "YulExpressionStatement",
|
|
2055
|
+
"src": "3403:37:43"
|
|
2056
|
+
}
|
|
2057
|
+
]
|
|
2058
|
+
},
|
|
2059
|
+
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
|
|
2060
|
+
"nativeSrc": "3328:118:43",
|
|
2061
|
+
"nodeType": "YulFunctionDefinition",
|
|
2062
|
+
"parameters": [
|
|
2063
|
+
{
|
|
2064
|
+
"name": "value",
|
|
2065
|
+
"nativeSrc": "3381:5:43",
|
|
2066
|
+
"nodeType": "YulTypedName",
|
|
2067
|
+
"src": "3381:5:43",
|
|
2068
|
+
"type": ""
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
"name": "pos",
|
|
2072
|
+
"nativeSrc": "3388:3:43",
|
|
2073
|
+
"nodeType": "YulTypedName",
|
|
2074
|
+
"src": "3388:3:43",
|
|
2075
|
+
"type": ""
|
|
2076
|
+
}
|
|
2077
|
+
],
|
|
2078
|
+
"src": "3328:118:43"
|
|
2079
|
+
},
|
|
2080
|
+
{
|
|
2081
|
+
"body": {
|
|
2082
|
+
"nativeSrc": "3608:287:43",
|
|
2083
|
+
"nodeType": "YulBlock",
|
|
2084
|
+
"src": "3608:287:43",
|
|
2085
|
+
"statements": [
|
|
2086
|
+
{
|
|
2087
|
+
"nativeSrc": "3618:26:43",
|
|
2088
|
+
"nodeType": "YulAssignment",
|
|
2089
|
+
"src": "3618:26:43",
|
|
2090
|
+
"value": {
|
|
2091
|
+
"arguments": [
|
|
2092
|
+
{
|
|
2093
|
+
"name": "headStart",
|
|
2094
|
+
"nativeSrc": "3630:9:43",
|
|
2095
|
+
"nodeType": "YulIdentifier",
|
|
2096
|
+
"src": "3630:9:43"
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
"kind": "number",
|
|
2100
|
+
"nativeSrc": "3641:2:43",
|
|
2101
|
+
"nodeType": "YulLiteral",
|
|
2102
|
+
"src": "3641:2:43",
|
|
2103
|
+
"type": "",
|
|
2104
|
+
"value": "64"
|
|
2105
|
+
}
|
|
2106
|
+
],
|
|
2107
|
+
"functionName": {
|
|
2108
|
+
"name": "add",
|
|
2109
|
+
"nativeSrc": "3626:3:43",
|
|
2110
|
+
"nodeType": "YulIdentifier",
|
|
2111
|
+
"src": "3626:3:43"
|
|
2112
|
+
},
|
|
2113
|
+
"nativeSrc": "3626:18:43",
|
|
2114
|
+
"nodeType": "YulFunctionCall",
|
|
2115
|
+
"src": "3626:18:43"
|
|
2116
|
+
},
|
|
2117
|
+
"variableNames": [
|
|
2118
|
+
{
|
|
2119
|
+
"name": "tail",
|
|
2120
|
+
"nativeSrc": "3618:4:43",
|
|
2121
|
+
"nodeType": "YulIdentifier",
|
|
2122
|
+
"src": "3618:4:43"
|
|
2123
|
+
}
|
|
2124
|
+
]
|
|
2125
|
+
},
|
|
2126
|
+
{
|
|
2127
|
+
"expression": {
|
|
2128
|
+
"arguments": [
|
|
2129
|
+
{
|
|
2130
|
+
"arguments": [
|
|
2131
|
+
{
|
|
2132
|
+
"name": "headStart",
|
|
2133
|
+
"nativeSrc": "3665:9:43",
|
|
2134
|
+
"nodeType": "YulIdentifier",
|
|
2135
|
+
"src": "3665:9:43"
|
|
2136
|
+
},
|
|
2137
|
+
{
|
|
2138
|
+
"kind": "number",
|
|
2139
|
+
"nativeSrc": "3676:1:43",
|
|
2140
|
+
"nodeType": "YulLiteral",
|
|
2141
|
+
"src": "3676:1:43",
|
|
2142
|
+
"type": "",
|
|
2143
|
+
"value": "0"
|
|
2144
|
+
}
|
|
2145
|
+
],
|
|
2146
|
+
"functionName": {
|
|
2147
|
+
"name": "add",
|
|
2148
|
+
"nativeSrc": "3661:3:43",
|
|
2149
|
+
"nodeType": "YulIdentifier",
|
|
2150
|
+
"src": "3661:3:43"
|
|
2151
|
+
},
|
|
2152
|
+
"nativeSrc": "3661:17:43",
|
|
2153
|
+
"nodeType": "YulFunctionCall",
|
|
2154
|
+
"src": "3661:17:43"
|
|
2155
|
+
},
|
|
2156
|
+
{
|
|
2157
|
+
"arguments": [
|
|
2158
|
+
{
|
|
2159
|
+
"name": "tail",
|
|
2160
|
+
"nativeSrc": "3684:4:43",
|
|
2161
|
+
"nodeType": "YulIdentifier",
|
|
2162
|
+
"src": "3684:4:43"
|
|
2163
|
+
},
|
|
2164
|
+
{
|
|
2165
|
+
"name": "headStart",
|
|
2166
|
+
"nativeSrc": "3690:9:43",
|
|
2167
|
+
"nodeType": "YulIdentifier",
|
|
2168
|
+
"src": "3690:9:43"
|
|
2169
|
+
}
|
|
2170
|
+
],
|
|
2171
|
+
"functionName": {
|
|
2172
|
+
"name": "sub",
|
|
2173
|
+
"nativeSrc": "3680:3:43",
|
|
2174
|
+
"nodeType": "YulIdentifier",
|
|
2175
|
+
"src": "3680:3:43"
|
|
2176
|
+
},
|
|
2177
|
+
"nativeSrc": "3680:20:43",
|
|
2178
|
+
"nodeType": "YulFunctionCall",
|
|
2179
|
+
"src": "3680:20:43"
|
|
2180
|
+
}
|
|
2181
|
+
],
|
|
2182
|
+
"functionName": {
|
|
2183
|
+
"name": "mstore",
|
|
2184
|
+
"nativeSrc": "3654:6:43",
|
|
2185
|
+
"nodeType": "YulIdentifier",
|
|
2186
|
+
"src": "3654:6:43"
|
|
2187
|
+
},
|
|
2188
|
+
"nativeSrc": "3654:47:43",
|
|
2189
|
+
"nodeType": "YulFunctionCall",
|
|
2190
|
+
"src": "3654:47:43"
|
|
2191
|
+
},
|
|
2192
|
+
"nativeSrc": "3654:47:43",
|
|
2193
|
+
"nodeType": "YulExpressionStatement",
|
|
2194
|
+
"src": "3654:47:43"
|
|
2195
|
+
},
|
|
2196
|
+
{
|
|
2197
|
+
"nativeSrc": "3710:96:43",
|
|
2198
|
+
"nodeType": "YulAssignment",
|
|
2199
|
+
"src": "3710:96:43",
|
|
2200
|
+
"value": {
|
|
2201
|
+
"arguments": [
|
|
2202
|
+
{
|
|
2203
|
+
"name": "value0",
|
|
2204
|
+
"nativeSrc": "3784:6:43",
|
|
2205
|
+
"nodeType": "YulIdentifier",
|
|
2206
|
+
"src": "3784:6:43"
|
|
2207
|
+
},
|
|
2208
|
+
{
|
|
2209
|
+
"name": "value1",
|
|
2210
|
+
"nativeSrc": "3792:6:43",
|
|
2211
|
+
"nodeType": "YulIdentifier",
|
|
2212
|
+
"src": "3792:6:43"
|
|
2213
|
+
},
|
|
2214
|
+
{
|
|
2215
|
+
"name": "tail",
|
|
2216
|
+
"nativeSrc": "3801:4:43",
|
|
2217
|
+
"nodeType": "YulIdentifier",
|
|
2218
|
+
"src": "3801:4:43"
|
|
2219
|
+
}
|
|
2220
|
+
],
|
|
2221
|
+
"functionName": {
|
|
2222
|
+
"name": "abi_encode_t_string_calldata_ptr_to_t_string_memory_ptr_fromStack",
|
|
2223
|
+
"nativeSrc": "3718:65:43",
|
|
2224
|
+
"nodeType": "YulIdentifier",
|
|
2225
|
+
"src": "3718:65:43"
|
|
2226
|
+
},
|
|
2227
|
+
"nativeSrc": "3718:88:43",
|
|
2228
|
+
"nodeType": "YulFunctionCall",
|
|
2229
|
+
"src": "3718:88:43"
|
|
2230
|
+
},
|
|
2231
|
+
"variableNames": [
|
|
2232
|
+
{
|
|
2233
|
+
"name": "tail",
|
|
2234
|
+
"nativeSrc": "3710:4:43",
|
|
2235
|
+
"nodeType": "YulIdentifier",
|
|
2236
|
+
"src": "3710:4:43"
|
|
2237
|
+
}
|
|
2238
|
+
]
|
|
2239
|
+
},
|
|
2240
|
+
{
|
|
2241
|
+
"expression": {
|
|
2242
|
+
"arguments": [
|
|
2243
|
+
{
|
|
2244
|
+
"name": "value2",
|
|
2245
|
+
"nativeSrc": "3860:6:43",
|
|
2246
|
+
"nodeType": "YulIdentifier",
|
|
2247
|
+
"src": "3860:6:43"
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
"arguments": [
|
|
2251
|
+
{
|
|
2252
|
+
"name": "headStart",
|
|
2253
|
+
"nativeSrc": "3873:9:43",
|
|
2254
|
+
"nodeType": "YulIdentifier",
|
|
2255
|
+
"src": "3873:9:43"
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
"kind": "number",
|
|
2259
|
+
"nativeSrc": "3884:2:43",
|
|
2260
|
+
"nodeType": "YulLiteral",
|
|
2261
|
+
"src": "3884:2:43",
|
|
2262
|
+
"type": "",
|
|
2263
|
+
"value": "32"
|
|
2264
|
+
}
|
|
2265
|
+
],
|
|
2266
|
+
"functionName": {
|
|
2267
|
+
"name": "add",
|
|
2268
|
+
"nativeSrc": "3869:3:43",
|
|
2269
|
+
"nodeType": "YulIdentifier",
|
|
2270
|
+
"src": "3869:3:43"
|
|
2271
|
+
},
|
|
2272
|
+
"nativeSrc": "3869:18:43",
|
|
2273
|
+
"nodeType": "YulFunctionCall",
|
|
2274
|
+
"src": "3869:18:43"
|
|
2275
|
+
}
|
|
2276
|
+
],
|
|
2277
|
+
"functionName": {
|
|
2278
|
+
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
|
|
2279
|
+
"nativeSrc": "3816:43:43",
|
|
2280
|
+
"nodeType": "YulIdentifier",
|
|
2281
|
+
"src": "3816:43:43"
|
|
2282
|
+
},
|
|
2283
|
+
"nativeSrc": "3816:72:43",
|
|
2284
|
+
"nodeType": "YulFunctionCall",
|
|
2285
|
+
"src": "3816:72:43"
|
|
2286
|
+
},
|
|
2287
|
+
"nativeSrc": "3816:72:43",
|
|
2288
|
+
"nodeType": "YulExpressionStatement",
|
|
2289
|
+
"src": "3816:72:43"
|
|
2290
|
+
}
|
|
2291
|
+
]
|
|
2292
|
+
},
|
|
2293
|
+
"name": "abi_encode_tuple_t_string_calldata_ptr_t_uint256__to_t_string_memory_ptr_t_uint256__fromStack_reversed",
|
|
2294
|
+
"nativeSrc": "3452:443:43",
|
|
2295
|
+
"nodeType": "YulFunctionDefinition",
|
|
2296
|
+
"parameters": [
|
|
2297
|
+
{
|
|
2298
|
+
"name": "headStart",
|
|
2299
|
+
"nativeSrc": "3564:9:43",
|
|
2300
|
+
"nodeType": "YulTypedName",
|
|
2301
|
+
"src": "3564:9:43",
|
|
2302
|
+
"type": ""
|
|
2303
|
+
},
|
|
2304
|
+
{
|
|
2305
|
+
"name": "value2",
|
|
2306
|
+
"nativeSrc": "3576:6:43",
|
|
2307
|
+
"nodeType": "YulTypedName",
|
|
2308
|
+
"src": "3576:6:43",
|
|
2309
|
+
"type": ""
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
"name": "value1",
|
|
2313
|
+
"nativeSrc": "3584:6:43",
|
|
2314
|
+
"nodeType": "YulTypedName",
|
|
2315
|
+
"src": "3584:6:43",
|
|
2316
|
+
"type": ""
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
"name": "value0",
|
|
2320
|
+
"nativeSrc": "3592:6:43",
|
|
2321
|
+
"nodeType": "YulTypedName",
|
|
2322
|
+
"src": "3592:6:43",
|
|
2323
|
+
"type": ""
|
|
2324
|
+
}
|
|
2325
|
+
],
|
|
2326
|
+
"returnVariables": [
|
|
2327
|
+
{
|
|
2328
|
+
"name": "tail",
|
|
2329
|
+
"nativeSrc": "3603:4:43",
|
|
2330
|
+
"nodeType": "YulTypedName",
|
|
2331
|
+
"src": "3603:4:43",
|
|
2332
|
+
"type": ""
|
|
2333
|
+
}
|
|
2334
|
+
],
|
|
2335
|
+
"src": "3452:443:43"
|
|
2336
|
+
}
|
|
2337
|
+
]
|
|
2338
|
+
},
|
|
2339
|
+
"contents": "{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_address(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address(value)\n }\n\n function revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_15abf5612cd996bc235ba1e55a4a30ac60e6bb601ff7ba4ad3f179b6be8d0490() {\n revert(0, 0)\n }\n\n function revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef() {\n revert(0, 0)\n }\n\n // string\n function abi_decode_t_string_calldata_ptr(offset, end) -> arrayPos, length {\n if iszero(slt(add(offset, 0x1f), end)) { revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() }\n length := calldataload(offset)\n if gt(length, 0xffffffffffffffff) { revert_error_15abf5612cd996bc235ba1e55a4a30ac60e6bb601ff7ba4ad3f179b6be8d0490() }\n arrayPos := add(offset, 0x20)\n if gt(add(arrayPos, mul(length, 0x01)), end) { revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef() }\n }\n\n function abi_decode_tuple_t_addresst_string_calldata_ptr(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := calldataload(add(headStart, 32))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value1, value2 := abi_decode_t_string_calldata_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function copy_calldata_to_memory_with_cleanup(src, dst, length) {\n calldatacopy(dst, src, length)\n mstore(add(dst, length), 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n // string -> string\n function abi_encode_t_string_calldata_ptr_to_t_string_memory_ptr_fromStack(start, length, pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n\n copy_calldata_to_memory_with_cleanup(start, pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_string_calldata_ptr_t_uint256__to_t_string_memory_ptr_t_uint256__fromStack_reversed(headStart , value2, value1, value0) -> tail {\n tail := add(headStart, 64)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_string_calldata_ptr_to_t_string_memory_ptr_fromStack(value0, value1, tail)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value2, add(headStart, 32))\n\n }\n\n}\n",
|
|
2340
|
+
"id": 43,
|
|
2341
|
+
"language": "Yul",
|
|
2342
|
+
"name": "#utility.yul"
|
|
2343
|
+
}
|
|
2344
|
+
],
|
|
2345
|
+
"sourceMap": "253:304:32:-:0;;;;;;;;;;;;;;;;;;;",
|
|
2346
|
+
"deployedSourceMap": "253:304:32:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;399:155;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;514:6;486:60;;502:10;486:60;;;522:6;;530:15;486:60;;;;;;;;:::i;:::-;;;;;;;;399:155;;;:::o;88:117:43:-;197:1;194;187:12;211:117;320:1;317;310:12;334:126;371:7;411:42;404:5;400:54;389:65;;334:126;;;:::o;466:96::-;503:7;532:24;550:5;532:24;:::i;:::-;521:35;;466:96;;;:::o;568:122::-;641:24;659:5;641:24;:::i;:::-;634:5;631:35;621:63;;680:1;677;670:12;621:63;568:122;:::o;696:139::-;742:5;780:6;767:20;758:29;;796:33;823:5;796:33;:::i;:::-;696:139;;;;:::o;841:117::-;950:1;947;940:12;964:117;1073:1;1070;1063:12;1087:117;1196:1;1193;1186:12;1224:553;1282:8;1292:6;1342:3;1335:4;1327:6;1323:17;1319:27;1309:122;;1350:79;;:::i;:::-;1309:122;1463:6;1450:20;1440:30;;1493:18;1485:6;1482:30;1479:117;;;1515:79;;:::i;:::-;1479:117;1629:4;1621:6;1617:17;1605:29;;1683:3;1675:4;1667:6;1663:17;1653:8;1649:32;1646:41;1643:128;;;1690:79;;:::i;:::-;1643:128;1224:553;;;;;:::o;1783:674::-;1863:6;1871;1879;1928:2;1916:9;1907:7;1903:23;1899:32;1896:119;;;1934:79;;:::i;:::-;1896:119;2054:1;2079:53;2124:7;2115:6;2104:9;2100:22;2079:53;:::i;:::-;2069:63;;2025:117;2209:2;2198:9;2194:18;2181:32;2240:18;2232:6;2229:30;2226:117;;;2262:79;;:::i;:::-;2226:117;2375:65;2432:7;2423:6;2412:9;2408:22;2375:65;:::i;:::-;2357:83;;;;2152:298;1783:674;;;;;:::o;2463:169::-;2547:11;2581:6;2576:3;2569:19;2621:4;2616:3;2612:14;2597:29;;2463:169;;;;:::o;2638:146::-;2735:6;2730:3;2725;2712:30;2776:1;2767:6;2762:3;2758:16;2751:27;2638:146;;;:::o;2790:102::-;2831:6;2882:2;2878:7;2873:2;2866:5;2862:14;2858:28;2848:38;;2790:102;;;:::o;2922:317::-;3020:3;3041:71;3105:6;3100:3;3041:71;:::i;:::-;3034:78;;3122:56;3171:6;3166:3;3159:5;3122:56;:::i;:::-;3203:29;3225:6;3203:29;:::i;:::-;3198:3;3194:39;3187:46;;2922:317;;;;;:::o;3245:77::-;3282:7;3311:5;3300:16;;3245:77;;;:::o;3328:118::-;3415:24;3433:5;3415:24;:::i;:::-;3410:3;3403:37;3328:118;;:::o;3452:443::-;3603:4;3641:2;3630:9;3626:18;3618:26;;3690:9;3684:4;3680:20;3676:1;3665:9;3661:17;3654:47;3718:88;3801:4;3792:6;3784;3718:88;:::i;:::-;3710:96;;3816:72;3884:2;3873:9;3869:18;3860:6;3816:72;:::i;:::-;3452:443;;;;;;:::o",
|
|
2347
|
+
"source": "// SPDX-License-Identifier: MIT\r\npragma solidity ^0.8.0;\r\n\r\n// Reporting does not necessarily need strict access control if meant to be public, \r\n// but referencing AccessControl for consistency or future restrictions.\r\nimport \"./AccessControl.sol\";\r\n\r\ncontract ReportingSystem {\r\n event ReportSubmitted(address indexed reporter, address indexed target, string reason, uint256 timestamp);\r\n\r\n function submitReport(address target, string calldata reason) external {\r\n emit ReportSubmitted(msg.sender, target, reason, block.timestamp);\r\n }\r\n}\r\n",
|
|
2348
|
+
"sourcePath": "J:\\Users\\ayush\\Desktop\\code\\Pecathon\\onchain\\contracts\\ReportingSystem.sol",
|
|
2349
|
+
"ast": {
|
|
2350
|
+
"absolutePath": "project:/contracts/ReportingSystem.sol",
|
|
2351
|
+
"exportedSymbols": {
|
|
2352
|
+
"AccessControl": [
|
|
2353
|
+
8534
|
|
2354
|
+
],
|
|
2355
|
+
"Context": [
|
|
2356
|
+
2345
|
|
2357
|
+
],
|
|
2358
|
+
"Ownable": [
|
|
2359
|
+
147
|
|
2360
|
+
],
|
|
2361
|
+
"ReportingSystem": [
|
|
2362
|
+
8922
|
|
2363
|
+
]
|
|
2364
|
+
},
|
|
2365
|
+
"id": 8923,
|
|
2366
|
+
"license": "MIT",
|
|
2367
|
+
"nodeType": "SourceUnit",
|
|
2368
|
+
"nodes": [
|
|
2369
|
+
{
|
|
2370
|
+
"id": 8893,
|
|
2371
|
+
"literals": [
|
|
2372
|
+
"solidity",
|
|
2373
|
+
"^",
|
|
2374
|
+
"0.8",
|
|
2375
|
+
".0"
|
|
2376
|
+
],
|
|
2377
|
+
"nodeType": "PragmaDirective",
|
|
2378
|
+
"src": "33:23:32"
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
"absolutePath": "project:/contracts/AccessControl.sol",
|
|
2382
|
+
"file": "./AccessControl.sol",
|
|
2383
|
+
"id": 8894,
|
|
2384
|
+
"nameLocation": "-1:-1:-1",
|
|
2385
|
+
"nodeType": "ImportDirective",
|
|
2386
|
+
"scope": 8923,
|
|
2387
|
+
"sourceUnit": 8535,
|
|
2388
|
+
"src": "220:29:32",
|
|
2389
|
+
"symbolAliases": [],
|
|
2390
|
+
"unitAlias": ""
|
|
2391
|
+
},
|
|
2392
|
+
{
|
|
2393
|
+
"abstract": false,
|
|
2394
|
+
"baseContracts": [],
|
|
2395
|
+
"canonicalName": "ReportingSystem",
|
|
2396
|
+
"contractDependencies": [],
|
|
2397
|
+
"contractKind": "contract",
|
|
2398
|
+
"fullyImplemented": true,
|
|
2399
|
+
"id": 8922,
|
|
2400
|
+
"linearizedBaseContracts": [
|
|
2401
|
+
8922
|
|
2402
|
+
],
|
|
2403
|
+
"name": "ReportingSystem",
|
|
2404
|
+
"nameLocation": "262:15:32",
|
|
2405
|
+
"nodeType": "ContractDefinition",
|
|
2406
|
+
"nodes": [
|
|
2407
|
+
{
|
|
2408
|
+
"anonymous": false,
|
|
2409
|
+
"eventSelector": "daa36592ec4ce36dddb78c33a574a01ec12bd5c181d097b104afd989467eb03f",
|
|
2410
|
+
"id": 8904,
|
|
2411
|
+
"name": "ReportSubmitted",
|
|
2412
|
+
"nameLocation": "291:15:32",
|
|
2413
|
+
"nodeType": "EventDefinition",
|
|
2414
|
+
"parameters": {
|
|
2415
|
+
"id": 8903,
|
|
2416
|
+
"nodeType": "ParameterList",
|
|
2417
|
+
"parameters": [
|
|
2418
|
+
{
|
|
2419
|
+
"constant": false,
|
|
2420
|
+
"id": 8896,
|
|
2421
|
+
"indexed": true,
|
|
2422
|
+
"mutability": "mutable",
|
|
2423
|
+
"name": "reporter",
|
|
2424
|
+
"nameLocation": "323:8:32",
|
|
2425
|
+
"nodeType": "VariableDeclaration",
|
|
2426
|
+
"scope": 8904,
|
|
2427
|
+
"src": "307:24:32",
|
|
2428
|
+
"stateVariable": false,
|
|
2429
|
+
"storageLocation": "default",
|
|
2430
|
+
"typeDescriptions": {
|
|
2431
|
+
"typeIdentifier": "t_address",
|
|
2432
|
+
"typeString": "address"
|
|
2433
|
+
},
|
|
2434
|
+
"typeName": {
|
|
2435
|
+
"id": 8895,
|
|
2436
|
+
"name": "address",
|
|
2437
|
+
"nodeType": "ElementaryTypeName",
|
|
2438
|
+
"src": "307:7:32",
|
|
2439
|
+
"stateMutability": "nonpayable",
|
|
2440
|
+
"typeDescriptions": {
|
|
2441
|
+
"typeIdentifier": "t_address",
|
|
2442
|
+
"typeString": "address"
|
|
2443
|
+
}
|
|
2444
|
+
},
|
|
2445
|
+
"visibility": "internal"
|
|
2446
|
+
},
|
|
2447
|
+
{
|
|
2448
|
+
"constant": false,
|
|
2449
|
+
"id": 8898,
|
|
2450
|
+
"indexed": true,
|
|
2451
|
+
"mutability": "mutable",
|
|
2452
|
+
"name": "target",
|
|
2453
|
+
"nameLocation": "349:6:32",
|
|
2454
|
+
"nodeType": "VariableDeclaration",
|
|
2455
|
+
"scope": 8904,
|
|
2456
|
+
"src": "333:22:32",
|
|
2457
|
+
"stateVariable": false,
|
|
2458
|
+
"storageLocation": "default",
|
|
2459
|
+
"typeDescriptions": {
|
|
2460
|
+
"typeIdentifier": "t_address",
|
|
2461
|
+
"typeString": "address"
|
|
2462
|
+
},
|
|
2463
|
+
"typeName": {
|
|
2464
|
+
"id": 8897,
|
|
2465
|
+
"name": "address",
|
|
2466
|
+
"nodeType": "ElementaryTypeName",
|
|
2467
|
+
"src": "333:7:32",
|
|
2468
|
+
"stateMutability": "nonpayable",
|
|
2469
|
+
"typeDescriptions": {
|
|
2470
|
+
"typeIdentifier": "t_address",
|
|
2471
|
+
"typeString": "address"
|
|
2472
|
+
}
|
|
2473
|
+
},
|
|
2474
|
+
"visibility": "internal"
|
|
2475
|
+
},
|
|
2476
|
+
{
|
|
2477
|
+
"constant": false,
|
|
2478
|
+
"id": 8900,
|
|
2479
|
+
"indexed": false,
|
|
2480
|
+
"mutability": "mutable",
|
|
2481
|
+
"name": "reason",
|
|
2482
|
+
"nameLocation": "364:6:32",
|
|
2483
|
+
"nodeType": "VariableDeclaration",
|
|
2484
|
+
"scope": 8904,
|
|
2485
|
+
"src": "357:13:32",
|
|
2486
|
+
"stateVariable": false,
|
|
2487
|
+
"storageLocation": "default",
|
|
2488
|
+
"typeDescriptions": {
|
|
2489
|
+
"typeIdentifier": "t_string_memory_ptr",
|
|
2490
|
+
"typeString": "string"
|
|
2491
|
+
},
|
|
2492
|
+
"typeName": {
|
|
2493
|
+
"id": 8899,
|
|
2494
|
+
"name": "string",
|
|
2495
|
+
"nodeType": "ElementaryTypeName",
|
|
2496
|
+
"src": "357:6:32",
|
|
2497
|
+
"typeDescriptions": {
|
|
2498
|
+
"typeIdentifier": "t_string_storage_ptr",
|
|
2499
|
+
"typeString": "string"
|
|
2500
|
+
}
|
|
2501
|
+
},
|
|
2502
|
+
"visibility": "internal"
|
|
2503
|
+
},
|
|
2504
|
+
{
|
|
2505
|
+
"constant": false,
|
|
2506
|
+
"id": 8902,
|
|
2507
|
+
"indexed": false,
|
|
2508
|
+
"mutability": "mutable",
|
|
2509
|
+
"name": "timestamp",
|
|
2510
|
+
"nameLocation": "380:9:32",
|
|
2511
|
+
"nodeType": "VariableDeclaration",
|
|
2512
|
+
"scope": 8904,
|
|
2513
|
+
"src": "372:17:32",
|
|
2514
|
+
"stateVariable": false,
|
|
2515
|
+
"storageLocation": "default",
|
|
2516
|
+
"typeDescriptions": {
|
|
2517
|
+
"typeIdentifier": "t_uint256",
|
|
2518
|
+
"typeString": "uint256"
|
|
2519
|
+
},
|
|
2520
|
+
"typeName": {
|
|
2521
|
+
"id": 8901,
|
|
2522
|
+
"name": "uint256",
|
|
2523
|
+
"nodeType": "ElementaryTypeName",
|
|
2524
|
+
"src": "372:7:32",
|
|
2525
|
+
"typeDescriptions": {
|
|
2526
|
+
"typeIdentifier": "t_uint256",
|
|
2527
|
+
"typeString": "uint256"
|
|
2528
|
+
}
|
|
2529
|
+
},
|
|
2530
|
+
"visibility": "internal"
|
|
2531
|
+
}
|
|
2532
|
+
],
|
|
2533
|
+
"src": "306:84:32"
|
|
2534
|
+
},
|
|
2535
|
+
"src": "285:106:32"
|
|
2536
|
+
},
|
|
2537
|
+
{
|
|
2538
|
+
"body": {
|
|
2539
|
+
"id": 8920,
|
|
2540
|
+
"nodeType": "Block",
|
|
2541
|
+
"src": "470:84:32",
|
|
2542
|
+
"statements": [
|
|
2543
|
+
{
|
|
2544
|
+
"eventCall": {
|
|
2545
|
+
"arguments": [
|
|
2546
|
+
{
|
|
2547
|
+
"expression": {
|
|
2548
|
+
"id": 8912,
|
|
2549
|
+
"name": "msg",
|
|
2550
|
+
"nodeType": "Identifier",
|
|
2551
|
+
"overloadedDeclarations": [],
|
|
2552
|
+
"referencedDeclaration": 4294967281,
|
|
2553
|
+
"src": "502:3:32",
|
|
2554
|
+
"typeDescriptions": {
|
|
2555
|
+
"typeIdentifier": "t_magic_message",
|
|
2556
|
+
"typeString": "msg"
|
|
2557
|
+
}
|
|
2558
|
+
},
|
|
2559
|
+
"id": 8913,
|
|
2560
|
+
"isConstant": false,
|
|
2561
|
+
"isLValue": false,
|
|
2562
|
+
"isPure": false,
|
|
2563
|
+
"lValueRequested": false,
|
|
2564
|
+
"memberLocation": "506:6:32",
|
|
2565
|
+
"memberName": "sender",
|
|
2566
|
+
"nodeType": "MemberAccess",
|
|
2567
|
+
"src": "502:10:32",
|
|
2568
|
+
"typeDescriptions": {
|
|
2569
|
+
"typeIdentifier": "t_address",
|
|
2570
|
+
"typeString": "address"
|
|
2571
|
+
}
|
|
2572
|
+
},
|
|
2573
|
+
{
|
|
2574
|
+
"id": 8914,
|
|
2575
|
+
"name": "target",
|
|
2576
|
+
"nodeType": "Identifier",
|
|
2577
|
+
"overloadedDeclarations": [],
|
|
2578
|
+
"referencedDeclaration": 8906,
|
|
2579
|
+
"src": "514:6:32",
|
|
2580
|
+
"typeDescriptions": {
|
|
2581
|
+
"typeIdentifier": "t_address",
|
|
2582
|
+
"typeString": "address"
|
|
2583
|
+
}
|
|
2584
|
+
},
|
|
2585
|
+
{
|
|
2586
|
+
"id": 8915,
|
|
2587
|
+
"name": "reason",
|
|
2588
|
+
"nodeType": "Identifier",
|
|
2589
|
+
"overloadedDeclarations": [],
|
|
2590
|
+
"referencedDeclaration": 8908,
|
|
2591
|
+
"src": "522:6:32",
|
|
2592
|
+
"typeDescriptions": {
|
|
2593
|
+
"typeIdentifier": "t_string_calldata_ptr",
|
|
2594
|
+
"typeString": "string calldata"
|
|
2595
|
+
}
|
|
2596
|
+
},
|
|
2597
|
+
{
|
|
2598
|
+
"expression": {
|
|
2599
|
+
"id": 8916,
|
|
2600
|
+
"name": "block",
|
|
2601
|
+
"nodeType": "Identifier",
|
|
2602
|
+
"overloadedDeclarations": [],
|
|
2603
|
+
"referencedDeclaration": 4294967292,
|
|
2604
|
+
"src": "530:5:32",
|
|
2605
|
+
"typeDescriptions": {
|
|
2606
|
+
"typeIdentifier": "t_magic_block",
|
|
2607
|
+
"typeString": "block"
|
|
2608
|
+
}
|
|
2609
|
+
},
|
|
2610
|
+
"id": 8917,
|
|
2611
|
+
"isConstant": false,
|
|
2612
|
+
"isLValue": false,
|
|
2613
|
+
"isPure": false,
|
|
2614
|
+
"lValueRequested": false,
|
|
2615
|
+
"memberLocation": "536:9:32",
|
|
2616
|
+
"memberName": "timestamp",
|
|
2617
|
+
"nodeType": "MemberAccess",
|
|
2618
|
+
"src": "530:15:32",
|
|
2619
|
+
"typeDescriptions": {
|
|
2620
|
+
"typeIdentifier": "t_uint256",
|
|
2621
|
+
"typeString": "uint256"
|
|
2622
|
+
}
|
|
2623
|
+
}
|
|
2624
|
+
],
|
|
2625
|
+
"expression": {
|
|
2626
|
+
"argumentTypes": [
|
|
2627
|
+
{
|
|
2628
|
+
"typeIdentifier": "t_address",
|
|
2629
|
+
"typeString": "address"
|
|
2630
|
+
},
|
|
2631
|
+
{
|
|
2632
|
+
"typeIdentifier": "t_address",
|
|
2633
|
+
"typeString": "address"
|
|
2634
|
+
},
|
|
2635
|
+
{
|
|
2636
|
+
"typeIdentifier": "t_string_calldata_ptr",
|
|
2637
|
+
"typeString": "string calldata"
|
|
2638
|
+
},
|
|
2639
|
+
{
|
|
2640
|
+
"typeIdentifier": "t_uint256",
|
|
2641
|
+
"typeString": "uint256"
|
|
2642
|
+
}
|
|
2643
|
+
],
|
|
2644
|
+
"id": 8911,
|
|
2645
|
+
"name": "ReportSubmitted",
|
|
2646
|
+
"nodeType": "Identifier",
|
|
2647
|
+
"overloadedDeclarations": [],
|
|
2648
|
+
"referencedDeclaration": 8904,
|
|
2649
|
+
"src": "486:15:32",
|
|
2650
|
+
"typeDescriptions": {
|
|
2651
|
+
"typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_string_memory_ptr_$_t_uint256_$returns$__$",
|
|
2652
|
+
"typeString": "function (address,address,string memory,uint256)"
|
|
2653
|
+
}
|
|
2654
|
+
},
|
|
2655
|
+
"id": 8918,
|
|
2656
|
+
"isConstant": false,
|
|
2657
|
+
"isLValue": false,
|
|
2658
|
+
"isPure": false,
|
|
2659
|
+
"kind": "functionCall",
|
|
2660
|
+
"lValueRequested": false,
|
|
2661
|
+
"nameLocations": [],
|
|
2662
|
+
"names": [],
|
|
2663
|
+
"nodeType": "FunctionCall",
|
|
2664
|
+
"src": "486:60:32",
|
|
2665
|
+
"tryCall": false,
|
|
2666
|
+
"typeDescriptions": {
|
|
2667
|
+
"typeIdentifier": "t_tuple$__$",
|
|
2668
|
+
"typeString": "tuple()"
|
|
2669
|
+
}
|
|
2670
|
+
},
|
|
2671
|
+
"id": 8919,
|
|
2672
|
+
"nodeType": "EmitStatement",
|
|
2673
|
+
"src": "481:65:32"
|
|
2674
|
+
}
|
|
2675
|
+
]
|
|
2676
|
+
},
|
|
2677
|
+
"functionSelector": "dad780d5",
|
|
2678
|
+
"id": 8921,
|
|
2679
|
+
"implemented": true,
|
|
2680
|
+
"kind": "function",
|
|
2681
|
+
"modifiers": [],
|
|
2682
|
+
"name": "submitReport",
|
|
2683
|
+
"nameLocation": "408:12:32",
|
|
2684
|
+
"nodeType": "FunctionDefinition",
|
|
2685
|
+
"parameters": {
|
|
2686
|
+
"id": 8909,
|
|
2687
|
+
"nodeType": "ParameterList",
|
|
2688
|
+
"parameters": [
|
|
2689
|
+
{
|
|
2690
|
+
"constant": false,
|
|
2691
|
+
"id": 8906,
|
|
2692
|
+
"mutability": "mutable",
|
|
2693
|
+
"name": "target",
|
|
2694
|
+
"nameLocation": "429:6:32",
|
|
2695
|
+
"nodeType": "VariableDeclaration",
|
|
2696
|
+
"scope": 8921,
|
|
2697
|
+
"src": "421:14:32",
|
|
2698
|
+
"stateVariable": false,
|
|
2699
|
+
"storageLocation": "default",
|
|
2700
|
+
"typeDescriptions": {
|
|
2701
|
+
"typeIdentifier": "t_address",
|
|
2702
|
+
"typeString": "address"
|
|
2703
|
+
},
|
|
2704
|
+
"typeName": {
|
|
2705
|
+
"id": 8905,
|
|
2706
|
+
"name": "address",
|
|
2707
|
+
"nodeType": "ElementaryTypeName",
|
|
2708
|
+
"src": "421:7:32",
|
|
2709
|
+
"stateMutability": "nonpayable",
|
|
2710
|
+
"typeDescriptions": {
|
|
2711
|
+
"typeIdentifier": "t_address",
|
|
2712
|
+
"typeString": "address"
|
|
2713
|
+
}
|
|
2714
|
+
},
|
|
2715
|
+
"visibility": "internal"
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
"constant": false,
|
|
2719
|
+
"id": 8908,
|
|
2720
|
+
"mutability": "mutable",
|
|
2721
|
+
"name": "reason",
|
|
2722
|
+
"nameLocation": "453:6:32",
|
|
2723
|
+
"nodeType": "VariableDeclaration",
|
|
2724
|
+
"scope": 8921,
|
|
2725
|
+
"src": "437:22:32",
|
|
2726
|
+
"stateVariable": false,
|
|
2727
|
+
"storageLocation": "calldata",
|
|
2728
|
+
"typeDescriptions": {
|
|
2729
|
+
"typeIdentifier": "t_string_calldata_ptr",
|
|
2730
|
+
"typeString": "string"
|
|
2731
|
+
},
|
|
2732
|
+
"typeName": {
|
|
2733
|
+
"id": 8907,
|
|
2734
|
+
"name": "string",
|
|
2735
|
+
"nodeType": "ElementaryTypeName",
|
|
2736
|
+
"src": "437:6:32",
|
|
2737
|
+
"typeDescriptions": {
|
|
2738
|
+
"typeIdentifier": "t_string_storage_ptr",
|
|
2739
|
+
"typeString": "string"
|
|
2740
|
+
}
|
|
2741
|
+
},
|
|
2742
|
+
"visibility": "internal"
|
|
2743
|
+
}
|
|
2744
|
+
],
|
|
2745
|
+
"src": "420:40:32"
|
|
2746
|
+
},
|
|
2747
|
+
"returnParameters": {
|
|
2748
|
+
"id": 8910,
|
|
2749
|
+
"nodeType": "ParameterList",
|
|
2750
|
+
"parameters": [],
|
|
2751
|
+
"src": "470:0:32"
|
|
2752
|
+
},
|
|
2753
|
+
"scope": 8922,
|
|
2754
|
+
"src": "399:155:32",
|
|
2755
|
+
"stateMutability": "nonpayable",
|
|
2756
|
+
"virtual": false,
|
|
2757
|
+
"visibility": "external"
|
|
2758
|
+
}
|
|
2759
|
+
],
|
|
2760
|
+
"scope": 8923,
|
|
2761
|
+
"src": "253:304:32",
|
|
2762
|
+
"usedErrors": [],
|
|
2763
|
+
"usedEvents": [
|
|
2764
|
+
8904
|
|
2765
|
+
]
|
|
2766
|
+
}
|
|
2767
|
+
],
|
|
2768
|
+
"src": "33:526:32"
|
|
2769
|
+
},
|
|
2770
|
+
"compiler": {
|
|
2771
|
+
"name": "solc",
|
|
2772
|
+
"version": "0.8.21+commit.d9974bed.Emscripten.clang"
|
|
2773
|
+
},
|
|
2774
|
+
"networks": {},
|
|
2775
|
+
"schemaVersion": "3.4.16",
|
|
2776
|
+
"updatedAt": "2026-01-24T20:23:04.388Z",
|
|
2777
|
+
"devdoc": {
|
|
2778
|
+
"kind": "dev",
|
|
2779
|
+
"methods": {},
|
|
2780
|
+
"version": 1
|
|
2781
|
+
},
|
|
2782
|
+
"userdoc": {
|
|
2783
|
+
"kind": "user",
|
|
2784
|
+
"methods": {},
|
|
2785
|
+
"version": 1
|
|
2786
|
+
}
|
|
2787
|
+
}
|