|
32 | 32 | {
|
33 | 33 | "ast": {
|
34 | 34 | "nodeType": "YulBlock",
|
35 |
| - "src": "0:439:16", |
| 35 | + "src": "0:439:17", |
36 | 36 | "statements": [
|
37 | 37 | {
|
38 | 38 | "body": {
|
39 | 39 | "nodeType": "YulBlock",
|
40 |
| - "src": "72:53:16", |
| 40 | + "src": "72:53:17", |
41 | 41 | "statements": [
|
42 | 42 | {
|
43 | 43 | "expression": {
|
44 | 44 | "arguments": [
|
45 | 45 | {
|
46 | 46 | "name": "pos",
|
47 | 47 | "nodeType": "YulIdentifier",
|
48 |
| - "src": "89:3:16" |
| 48 | + "src": "89:3:17" |
49 | 49 | },
|
50 | 50 | {
|
51 | 51 | "arguments": [
|
52 | 52 | {
|
53 | 53 | "name": "value",
|
54 | 54 | "nodeType": "YulIdentifier",
|
55 |
| - "src": "112:5:16" |
| 55 | + "src": "112:5:17" |
56 | 56 | }
|
57 | 57 | ],
|
58 | 58 | "functionName": {
|
59 | 59 | "name": "cleanup_t_uint256",
|
60 | 60 | "nodeType": "YulIdentifier",
|
61 |
| - "src": "94:17:16" |
| 61 | + "src": "94:17:17" |
62 | 62 | },
|
63 | 63 | "nodeType": "YulFunctionCall",
|
64 |
| - "src": "94:24:16" |
| 64 | + "src": "94:24:17" |
65 | 65 | }
|
66 | 66 | ],
|
67 | 67 | "functionName": {
|
68 | 68 | "name": "mstore",
|
69 | 69 | "nodeType": "YulIdentifier",
|
70 |
| - "src": "82:6:16" |
| 70 | + "src": "82:6:17" |
71 | 71 | },
|
72 | 72 | "nodeType": "YulFunctionCall",
|
73 |
| - "src": "82:37:16" |
| 73 | + "src": "82:37:17" |
74 | 74 | },
|
75 | 75 | "nodeType": "YulExpressionStatement",
|
76 |
| - "src": "82:37:16" |
| 76 | + "src": "82:37:17" |
77 | 77 | }
|
78 | 78 | ]
|
79 | 79 | },
|
|
83 | 83 | {
|
84 | 84 | "name": "value",
|
85 | 85 | "nodeType": "YulTypedName",
|
86 |
| - "src": "60:5:16", |
| 86 | + "src": "60:5:17", |
87 | 87 | "type": ""
|
88 | 88 | },
|
89 | 89 | {
|
90 | 90 | "name": "pos",
|
91 | 91 | "nodeType": "YulTypedName",
|
92 |
| - "src": "67:3:16", |
| 92 | + "src": "67:3:17", |
93 | 93 | "type": ""
|
94 | 94 | }
|
95 | 95 | ],
|
96 |
| - "src": "7:118:16" |
| 96 | + "src": "7:118:17" |
97 | 97 | },
|
98 | 98 | {
|
99 | 99 | "body": {
|
100 | 100 | "nodeType": "YulBlock",
|
101 |
| - "src": "229:124:16", |
| 101 | + "src": "229:124:17", |
102 | 102 | "statements": [
|
103 | 103 | {
|
104 | 104 | "nodeType": "YulAssignment",
|
105 |
| - "src": "239:26:16", |
| 105 | + "src": "239:26:17", |
106 | 106 | "value": {
|
107 | 107 | "arguments": [
|
108 | 108 | {
|
109 | 109 | "name": "headStart",
|
110 | 110 | "nodeType": "YulIdentifier",
|
111 |
| - "src": "251:9:16" |
| 111 | + "src": "251:9:17" |
112 | 112 | },
|
113 | 113 | {
|
114 | 114 | "kind": "number",
|
115 | 115 | "nodeType": "YulLiteral",
|
116 |
| - "src": "262:2:16", |
| 116 | + "src": "262:2:17", |
117 | 117 | "type": "",
|
118 | 118 | "value": "32"
|
119 | 119 | }
|
120 | 120 | ],
|
121 | 121 | "functionName": {
|
122 | 122 | "name": "add",
|
123 | 123 | "nodeType": "YulIdentifier",
|
124 |
| - "src": "247:3:16" |
| 124 | + "src": "247:3:17" |
125 | 125 | },
|
126 | 126 | "nodeType": "YulFunctionCall",
|
127 |
| - "src": "247:18:16" |
| 127 | + "src": "247:18:17" |
128 | 128 | },
|
129 | 129 | "variableNames": [
|
130 | 130 | {
|
131 | 131 | "name": "tail",
|
132 | 132 | "nodeType": "YulIdentifier",
|
133 |
| - "src": "239:4:16" |
| 133 | + "src": "239:4:17" |
134 | 134 | }
|
135 | 135 | ]
|
136 | 136 | },
|
|
140 | 140 | {
|
141 | 141 | "name": "value0",
|
142 | 142 | "nodeType": "YulIdentifier",
|
143 |
| - "src": "319:6:16" |
| 143 | + "src": "319:6:17" |
144 | 144 | },
|
145 | 145 | {
|
146 | 146 | "arguments": [
|
147 | 147 | {
|
148 | 148 | "name": "headStart",
|
149 | 149 | "nodeType": "YulIdentifier",
|
150 |
| - "src": "332:9:16" |
| 150 | + "src": "332:9:17" |
151 | 151 | },
|
152 | 152 | {
|
153 | 153 | "kind": "number",
|
154 | 154 | "nodeType": "YulLiteral",
|
155 |
| - "src": "343:1:16", |
| 155 | + "src": "343:1:17", |
156 | 156 | "type": "",
|
157 | 157 | "value": "0"
|
158 | 158 | }
|
159 | 159 | ],
|
160 | 160 | "functionName": {
|
161 | 161 | "name": "add",
|
162 | 162 | "nodeType": "YulIdentifier",
|
163 |
| - "src": "328:3:16" |
| 163 | + "src": "328:3:17" |
164 | 164 | },
|
165 | 165 | "nodeType": "YulFunctionCall",
|
166 |
| - "src": "328:17:16" |
| 166 | + "src": "328:17:17" |
167 | 167 | }
|
168 | 168 | ],
|
169 | 169 | "functionName": {
|
170 | 170 | "name": "abi_encode_t_uint256_to_t_uint256_fromStack",
|
171 | 171 | "nodeType": "YulIdentifier",
|
172 |
| - "src": "275:43:16" |
| 172 | + "src": "275:43:17" |
173 | 173 | },
|
174 | 174 | "nodeType": "YulFunctionCall",
|
175 |
| - "src": "275:71:16" |
| 175 | + "src": "275:71:17" |
176 | 176 | },
|
177 | 177 | "nodeType": "YulExpressionStatement",
|
178 |
| - "src": "275:71:16" |
| 178 | + "src": "275:71:17" |
179 | 179 | }
|
180 | 180 | ]
|
181 | 181 | },
|
|
185 | 185 | {
|
186 | 186 | "name": "headStart",
|
187 | 187 | "nodeType": "YulTypedName",
|
188 |
| - "src": "201:9:16", |
| 188 | + "src": "201:9:17", |
189 | 189 | "type": ""
|
190 | 190 | },
|
191 | 191 | {
|
192 | 192 | "name": "value0",
|
193 | 193 | "nodeType": "YulTypedName",
|
194 |
| - "src": "213:6:16", |
| 194 | + "src": "213:6:17", |
195 | 195 | "type": ""
|
196 | 196 | }
|
197 | 197 | ],
|
198 | 198 | "returnVariables": [
|
199 | 199 | {
|
200 | 200 | "name": "tail",
|
201 | 201 | "nodeType": "YulTypedName",
|
202 |
| - "src": "224:4:16", |
| 202 | + "src": "224:4:17", |
203 | 203 | "type": ""
|
204 | 204 | }
|
205 | 205 | ],
|
206 |
| - "src": "131:222:16" |
| 206 | + "src": "131:222:17" |
207 | 207 | },
|
208 | 208 | {
|
209 | 209 | "body": {
|
210 | 210 | "nodeType": "YulBlock",
|
211 |
| - "src": "404:32:16", |
| 211 | + "src": "404:32:17", |
212 | 212 | "statements": [
|
213 | 213 | {
|
214 | 214 | "nodeType": "YulAssignment",
|
215 |
| - "src": "414:16:16", |
| 215 | + "src": "414:16:17", |
216 | 216 | "value": {
|
217 | 217 | "name": "value",
|
218 | 218 | "nodeType": "YulIdentifier",
|
219 |
| - "src": "425:5:16" |
| 219 | + "src": "425:5:17" |
220 | 220 | },
|
221 | 221 | "variableNames": [
|
222 | 222 | {
|
223 | 223 | "name": "cleaned",
|
224 | 224 | "nodeType": "YulIdentifier",
|
225 |
| - "src": "414:7:16" |
| 225 | + "src": "414:7:17" |
226 | 226 | }
|
227 | 227 | ]
|
228 | 228 | }
|
|
234 | 234 | {
|
235 | 235 | "name": "value",
|
236 | 236 | "nodeType": "YulTypedName",
|
237 |
| - "src": "386:5:16", |
| 237 | + "src": "386:5:17", |
238 | 238 | "type": ""
|
239 | 239 | }
|
240 | 240 | ],
|
241 | 241 | "returnVariables": [
|
242 | 242 | {
|
243 | 243 | "name": "cleaned",
|
244 | 244 | "nodeType": "YulTypedName",
|
245 |
| - "src": "396:7:16", |
| 245 | + "src": "396:7:17", |
246 | 246 | "type": ""
|
247 | 247 | }
|
248 | 248 | ],
|
249 |
| - "src": "359:77:16" |
| 249 | + "src": "359:77:17" |
250 | 250 | }
|
251 | 251 | ]
|
252 | 252 | },
|
253 | 253 | "contents": "{\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_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n}\n",
|
254 |
| - "id": 16, |
| 254 | + "id": 17, |
255 | 255 | "language": "Yul",
|
256 | 256 | "name": "#utility.yul"
|
257 | 257 | }
|
|
260 | 260 | "linkReferences": {},
|
261 | 261 | "object": "6080604052348015600f57600080fd5b506004361060285760003560e01c806316ada54714602d575b600080fd5b60336047565b604051603e9190605a565b60405180910390f35b60005481565b6054816073565b82525050565b6000602082019050606d6000830184604d565b92915050565b600081905091905056fea26469706673582212200ccb0c54f406c5f94ca07bbe9c717145da8fe82b37b3ee37a813e73d8be65c0564736f6c63430008020033",
|
262 | 262 | "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH1 0x28 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x16ADA547 EQ PUSH1 0x2D JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x33 PUSH1 0x47 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x3E SWAP2 SWAP1 PUSH1 0x5A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x54 DUP2 PUSH1 0x73 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH1 0x6D PUSH1 0x0 DUP4 ADD DUP5 PUSH1 0x4D JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC 0xCB 0xC SLOAD DELEGATECALL MOD 0xC5 0xF9 0x4C LOG0 PUSH28 0xBE9C717145DA8FE82B37B3EE37A813E73D8BE65C0564736F6C634300 ADDMOD MUL STOP CALLER ",
|
263 |
| - "sourceMap": "1069:106:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1098:16;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;:::o;7:118:16:-;94:24;112:5;94:24;:::i;:::-;89:3;82:37;72:53;;:::o;131:222::-;;262:2;251:9;247:18;239:26;;275:71;343:1;332:9;328:17;319:6;275:71;:::i;:::-;229:124;;;;:::o;359:77::-;;425:5;414:16;;404:32;;;:::o" |
| 263 | + "sourceMap": "1069:106:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1098:16;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;:::o;7:118:17:-;94:24;112:5;94:24;:::i;:::-;89:3;82:37;72:53;;:::o;131:222::-;;262:2;251:9;247:18;239:26;;275:71;343:1;332:9;328:17;319:6;275:71;:::i;:::-;229:124;;;;:::o;359:77::-;;425:5;414:16;;404:32;;;:::o" |
264 | 264 | }
|
265 | 265 | },
|
266 | 266 | "bytecode": "608060405234801561001057600080fd5b504260008190555060b3806100266000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806316ada54714602d575b600080fd5b60336047565b604051603e9190605a565b60405180910390f35b60005481565b6054816073565b82525050565b6000602082019050606d6000830184604d565b92915050565b600081905091905056fea26469706673582212200ccb0c54f406c5f94ca07bbe9c717145da8fe82b37b3ee37a813e73d8be65c0564736f6c63430008020033"
|
|
0 commit comments