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ity smart contract code for DeFi operations based on user instructions and inputs."
|
6 |
+
},
|
7 |
+
{
|
8 |
+
"role": "user",
|
9 |
+
"content": "Instruction: If ETH price exceeds $3000, transfer 100 USDC to address 0x1234567890abcdef1234567890abcdef12345678 on Ethereum. Input: ETH price: $3050.25, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
10 |
+
},
|
11 |
+
{
|
12 |
+
"role": "assistant",
|
13 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
14 |
+
}
|
15 |
+
],
|
16 |
+
[
|
17 |
+
{
|
18 |
+
"role": "system",
|
19 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"role": "user",
|
23 |
+
"content": "Instruction: If ETH price is below $2500, transfer 50 DAI to address 0x456789abcdef1234567890abcdef1234567890ab on Goerli. Input: ETH price: $2400.75, DAI contract: 0x6B175474E89094C44Da98b954EedeAC495271d0F"
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"role": "assistant",
|
27 |
+
"content": "function transferDAI(address recipient, uint256 amount) public {\n IERC20 dai = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);\n dai.transfer(recipient, amount * 10**18);\n}"
|
28 |
+
}
|
29 |
+
],
|
30 |
+
[
|
31 |
+
{
|
32 |
+
"role": "system",
|
33 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"role": "user",
|
37 |
+
"content": "Instruction: If ETH price equals $3200, transfer 200 USDC to address 0x7890abcdef1234567890abcdef1234567890abcd on Ethereum. Input: ETH price: $3200.00, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"role": "assistant",
|
41 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
42 |
+
}
|
43 |
+
],
|
44 |
+
[
|
45 |
+
{
|
46 |
+
"role": "system",
|
47 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"role": "user",
|
51 |
+
"content": "Instruction: If ETH price is within $2800 to $2900, transfer 10 WETH to address 0xabcdef1234567890abcdef1234567890abcdef12 on Kaleido Private Network. Input: ETH price: $2850.50, WETH contract: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"role": "assistant",
|
55 |
+
"content": "function transferWETH(address recipient, uint256 amount) public {\n IERC20 weth = IERC20(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);\n weth.transfer(recipient, amount * 10**18);\n}"
|
56 |
+
}
|
57 |
+
],
|
58 |
+
[
|
59 |
+
{
|
60 |
+
"role": "system",
|
61 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
62 |
+
},
|
63 |
+
{
|
64 |
+
"role": "user",
|
65 |
+
"content": "Instruction: If ETH price exceeds $3500, transfer 500 USDC to address 0x111222333444555666777888999aaabbbcccddde on Ethereum. Input: ETH price: $3600.10, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"role": "assistant",
|
69 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
70 |
+
}
|
71 |
+
],
|
72 |
+
[
|
73 |
+
{
|
74 |
+
"role": "system",
|
75 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"role": "user",
|
79 |
+
"content": "Instruction: If ETH price is below $2000, transfer 25 DAI to address 0x222333444555666777888999aaabbbcccdddeeee on Goerli. Input: ETH price: $1950.30, DAI contract: 0x6B175474E89094C44Da98b954EedeAC495271d0F"
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"role": "assistant",
|
83 |
+
"content": "function transferDAI(address recipient, uint256 amount) public {\n IERC20 dai = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);\n dai.transfer(recipient, amount * 10**18);\n}"
|
84 |
+
}
|
85 |
+
],
|
86 |
+
[
|
87 |
+
{
|
88 |
+
"role": "system",
|
89 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"role": "user",
|
93 |
+
"content": "Instruction: If ETH price exceeds $3100, transfer 150 USDC to address 0x333444555666777888999aaabbbcccdddeeeefff on Ethereum. Input: ETH price: $3150.80, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"role": "assistant",
|
97 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
98 |
+
}
|
99 |
+
],
|
100 |
+
[
|
101 |
+
{
|
102 |
+
"role": "system",
|
103 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
104 |
+
},
|
105 |
+
{
|
106 |
+
"role": "user",
|
107 |
+
"content": "Instruction: If ETH price is below $2700, transfer 75 WETH to address 0x444555666777888999aaabbbcccdddeeeefff000 on Goerli. Input: ETH price: $2650.40, WETH contract: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"role": "assistant",
|
111 |
+
"content": "function transferWETH(address recipient, uint256 amount) public {\n IERC20 weth = IERC20(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);\n weth.transfer(recipient, amount * 10**18);\n}"
|
112 |
+
}
|
113 |
+
],
|
114 |
+
[
|
115 |
+
{
|
116 |
+
"role": "system",
|
117 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"role": "user",
|
121 |
+
"content": "Instruction: If ETH price equals $2900, transfer 300 USDC to address 0x555666777888999aaabbbcccdddeeeefff000111 on Ethereum. Input: ETH price: $2900.00, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"role": "assistant",
|
125 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
126 |
+
}
|
127 |
+
],
|
128 |
+
[
|
129 |
+
{
|
130 |
+
"role": "system",
|
131 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"role": "user",
|
135 |
+
"content": "Instruction: If ETH price is within $3000 to $3100, transfer 20 DAI to address 0x666777888999aaabbbcccdddeeeefff000111222 on Kaleido Private Network. Input: ETH price: $3050.60, DAI contract: 0x6B175474E89094C44Da98b954EedeAC495271d0F"
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"role": "assistant",
|
139 |
+
"content": "function transferDAI(address recipient, uint256 amount) public {\n IERC20 dai = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);\n dai.transfer(recipient, amount * 10**18);\n}"
|
140 |
+
}
|
141 |
+
],
|
142 |
+
[
|
143 |
+
{
|
144 |
+
"role": "system",
|
145 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
146 |
+
},
|
147 |
+
{
|
148 |
+
"role": "user",
|
149 |
+
"content": "Instruction: If ETH price exceeds $3200, transfer 250 USDC to address 0x777888999aaabbbcccdddeeeefff000111222333 on Ethereum. Input: ETH price: $3250.15, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"role": "assistant",
|
153 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
154 |
+
}
|
155 |
+
],
|
156 |
+
[
|
157 |
+
{
|
158 |
+
"role": "system",
|
159 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"role": "user",
|
163 |
+
"content": "Instruction: If ETH price is below $2600, transfer 100 DAI to address 0x888999aaabbbcccdddeeeefff000111222333444 on Goerli. Input: ETH price: $2550.90, DAI contract: 0x6B175474E89094C44Da98b954EedeAC495271d0F"
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"role": "assistant",
|
167 |
+
"content": "function transferDAI(address recipient, uint256 amount) public {\n IERC20 dai = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);\n dai.transfer(recipient, amount * 10**18);\n}"
|
168 |
+
}
|
169 |
+
],
|
170 |
+
[
|
171 |
+
{
|
172 |
+
"role": "system",
|
173 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
174 |
+
},
|
175 |
+
{
|
176 |
+
"role": "user",
|
177 |
+
"content": "Instruction: If ETH price exceeds $3400, transfer 5 WETH to address 0x999aaabbbcccdddeeeefff000111222333444555 on Ethereum. Input: ETH price: $3450.20, WETH contract: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"role": "assistant",
|
181 |
+
"content": "function transferWETH(address recipient, uint256 amount) public {\n IERC20 weth = IERC20(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);\n weth.transfer(recipient, amount * 10**18);\n}"
|
182 |
+
}
|
183 |
+
],
|
184 |
+
[
|
185 |
+
{
|
186 |
+
"role": "system",
|
187 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
188 |
+
},
|
189 |
+
{
|
190 |
+
"role": "user",
|
191 |
+
"content": "Instruction: If ETH price is below $2800, transfer 150 USDC to address 0xaaabbbcccdddeeeefff000111222333444555666 on Goerli. Input: ETH price: $2750.35, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"role": "assistant",
|
195 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
196 |
+
}
|
197 |
+
],
|
198 |
+
[
|
199 |
+
{
|
200 |
+
"role": "system",
|
201 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
202 |
+
},
|
203 |
+
{
|
204 |
+
"role": "user",
|
205 |
+
"content": "Instruction: If ETH price equals $3100, transfer 80 DAI to address 0xbbbcccdddeeeefff000111222333444555666777 on Ethereum. Input: ETH price: $3100.00, DAI contract: 0x6B175474E89094C44Da98b954EedeAC495271d0F"
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"role": "assistant",
|
209 |
+
"content": "function transferDAI(address recipient, uint256 amount) public {\n IERC20 dai = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);\n dai.transfer(recipient, amount * 10**18);\n}"
|
210 |
+
}
|
211 |
+
],
|
212 |
+
[
|
213 |
+
{
|
214 |
+
"role": "system",
|
215 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
216 |
+
},
|
217 |
+
{
|
218 |
+
"role": "user",
|
219 |
+
"content": "Instruction: If ETH price is within $2700 to $2800, transfer 30 USDC to address 0xcccdddeeeefff000111222333444555666777888 on Kaleido Private Network. Input: ETH price: $2750.70, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"role": "assistant",
|
223 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
224 |
+
}
|
225 |
+
],
|
226 |
+
[
|
227 |
+
{
|
228 |
+
"role": "system",
|
229 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
230 |
+
},
|
231 |
+
{
|
232 |
+
"role": "user",
|
233 |
+
"content": "Instruction: If ETH price exceeds $3300, transfer 400 USDC to address 0xdddeeeefff000111222333444555666777888999 on Ethereum. Input: ETH price: $3350.45, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"role": "assistant",
|
237 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
238 |
+
}
|
239 |
+
],
|
240 |
+
[
|
241 |
+
{
|
242 |
+
"role": "system",
|
243 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
244 |
+
},
|
245 |
+
{
|
246 |
+
"role": "user",
|
247 |
+
"content": "Instruction: If ETH price is below $2400, transfer 60 DAI to address 0xeeefff000111222333444555666777888999aaa on Goerli. Input: ETH price: $2350.15, DAI contract: 0x6B175474E89094C44Da98b954EedeAC495271d0F"
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"role": "assistant",
|
251 |
+
"content": "function transferDAI(address recipient, uint256 amount) public {\n IERC20 dai = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);\n dai.transfer(recipient, amount * 10**18);\n}"
|
252 |
+
}
|
253 |
+
],
|
254 |
+
[
|
255 |
+
{
|
256 |
+
"role": "system",
|
257 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
258 |
+
},
|
259 |
+
{
|
260 |
+
"role": "user",
|
261 |
+
"content": "Instruction: If ETH price exceeds $3600, transfer 15 WETH to address 0xfff000111222333444555666777888999aaabbb on Ethereum. Input: ETH price: $3650.90, WETH contract: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"role": "assistant",
|
265 |
+
"content": "function transferWETH(address recipient, uint256 amount) public {\n IERC20 weth = IERC20(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);\n weth.transfer(recipient, amount * 10**18);\n}"
|
266 |
+
}
|
267 |
+
],
|
268 |
+
[
|
269 |
+
{
|
270 |
+
"role": "system",
|
271 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
272 |
+
},
|
273 |
+
{
|
274 |
+
"role": "user",
|
275 |
+
"content": "Instruction: If ETH price is below $2900, transfer 200 USDC to address 0x000111222333444555666777888999aaabbbccc on Goerli. Input: ETH price: $2850.25, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"role": "assistant",
|
279 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
280 |
+
}
|
281 |
+
],
|
282 |
+
[
|
283 |
+
{
|
284 |
+
"role": "system",
|
285 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
286 |
+
},
|
287 |
+
{
|
288 |
+
"role": "user",
|
289 |
+
"content": "Instruction: If ETH price equals $3000, transfer 90 DAI to address 0x111222333444555666777888999aaabbbcccddd on Ethereum. Input: ETH price: $3000.00, DAI contract: 0x6B175474E89094C44Da98b954EedeAC495271d0F"
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"role": "assistant",
|
293 |
+
"content": "function transferDAI(address recipient, uint256 amount) public {\n IERC20 dai = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);\n dai.transfer(recipient, amount * 10**18);\n}"
|
294 |
+
}
|
295 |
+
],
|
296 |
+
[
|
297 |
+
{
|
298 |
+
"role": "system",
|
299 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
300 |
+
},
|
301 |
+
{
|
302 |
+
"role": "user",
|
303 |
+
"content": "Instruction: If ETH price is within $3100 to $3200, transfer 40 USDC to address 0x222333444555666777888999aaabbbcccdddeee on Kaleido Private Network. Input: ETH price: $3150.30, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"role": "assistant",
|
307 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
308 |
+
}
|
309 |
+
],
|
310 |
+
[
|
311 |
+
{
|
312 |
+
"role": "system",
|
313 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
314 |
+
},
|
315 |
+
{
|
316 |
+
"role": "user",
|
317 |
+
"content": "Instruction: If ETH price exceeds $3400, transfer 350 USDC to address 0x333444555666777888999aaabbbcccdddeeeefff on Ethereum. Input: ETH price: $3450.55, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
318 |
+
},
|
319 |
+
{
|
320 |
+
"role": "assistant",
|
321 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
322 |
+
}
|
323 |
+
],
|
324 |
+
[
|
325 |
+
{
|
326 |
+
"role": "system",
|
327 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
328 |
+
},
|
329 |
+
{
|
330 |
+
"role": "user",
|
331 |
+
"content": "Instruction: If ETH price is below $2500, transfer 70 DAI to address 0x444555666777888999aaabbbcccdddeeeefff000 on Goerli. Input: ETH price: $2450.20, DAI contract: 0x6B175474E89094C44Da98b954EedeAC495271d0F"
|
332 |
+
},
|
333 |
+
{
|
334 |
+
"role": "assistant",
|
335 |
+
"content": "function transferDAI(address recipient, uint256 amount) public {\n IERC20 dai = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);\n dai.transfer(recipient, amount * 10**18);\n}"
|
336 |
+
}
|
337 |
+
],
|
338 |
+
[
|
339 |
+
{
|
340 |
+
"role": "system",
|
341 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
342 |
+
},
|
343 |
+
{
|
344 |
+
"role": "user",
|
345 |
+
"content": "Instruction: If ETH price exceeds $3200, transfer 10 WETH to address 0x555666777888999aaabbbcccdddeeeefff000111 on Ethereum. Input: ETH price: $3250.75, WETH contract: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"role": "assistant",
|
349 |
+
"content": "function transferWETH(address recipient, uint256 amount) public {\n IERC20 weth = IERC20(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);\n weth.transfer(recipient, amount * 10**18);\n}"
|
350 |
+
}
|
351 |
+
],
|
352 |
+
[
|
353 |
+
{
|
354 |
+
"role": "system",
|
355 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
356 |
+
},
|
357 |
+
{
|
358 |
+
"role": "user",
|
359 |
+
"content": "Instruction: If ETH price is below $2700, transfer 200 USDC to address 0x666777888999aaabbbcccdddeeeefff000111222 on Goerli. Input: ETH price: $2650.85, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
360 |
+
},
|
361 |
+
{
|
362 |
+
"role": "assistant",
|
363 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
364 |
+
}
|
365 |
+
],
|
366 |
+
[
|
367 |
+
{
|
368 |
+
"role": "system",
|
369 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
370 |
+
},
|
371 |
+
{
|
372 |
+
"role": "user",
|
373 |
+
"content": "Instruction: If ETH price equals $3300, transfer 100 DAI to address 0x777888999aaabbbcccdddeeeefff000111222333 on Ethereum. Input: ETH price: $3300.00, DAI contract: 0x6B175474E89094C44Da98b954EedeAC495271d0F"
|
374 |
+
},
|
375 |
+
{
|
376 |
+
"role": "assistant",
|
377 |
+
"content": "function transferDAI(address recipient, uint256 amount) public {\n IERC20 dai = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);\n dai.transfer(recipient, amount * 10**18);\n}"
|
378 |
+
}
|
379 |
+
],
|
380 |
+
[
|
381 |
+
{
|
382 |
+
"role": "system",
|
383 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
384 |
+
},
|
385 |
+
{
|
386 |
+
"role": "user",
|
387 |
+
"content": "Instruction: If ETH price is within $2900 to $3000, transfer 50 USDC to address 0x888999aaabbbcccdddeeeefff000111222333444 on Kaleido Private Network. Input: ETH price: $2950.40, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
388 |
+
},
|
389 |
+
{
|
390 |
+
"role": "assistant",
|
391 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
392 |
+
}
|
393 |
+
],
|
394 |
+
[
|
395 |
+
{
|
396 |
+
"role": "system",
|
397 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
398 |
+
},
|
399 |
+
{
|
400 |
+
"role": "user",
|
401 |
+
"content": "Instruction: If ETH price exceeds $3500, transfer 300 USDC to address 0x999aaabbbcccdddeeeefff000111222333444555 on Ethereum. Input: ETH price: $3550.60, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
402 |
+
},
|
403 |
+
{
|
404 |
+
"role": "assistant",
|
405 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
406 |
+
}
|
407 |
+
],
|
408 |
+
[
|
409 |
+
{
|
410 |
+
"role": "system",
|
411 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
412 |
+
},
|
413 |
+
{
|
414 |
+
"role": "user",
|
415 |
+
"content": "Instruction: If ETH price is below $2600, transfer 80 DAI to address 0xaaabbbcccdddeeeefff000111222333444555666 on Goerli. Input: ETH price: $2550.25, DAI contract: 0x6B175474E89094C44Da98b954EedeAC495271d0F"
|
416 |
+
},
|
417 |
+
{
|
418 |
+
"role": "assistant",
|
419 |
+
"content": "function transferDAI(address recipient, uint256 amount) public {\n IERC20 dai = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);\n dai.transfer(recipient, amount * 10**18);\n}"
|
420 |
+
}
|
421 |
+
],
|
422 |
+
[
|
423 |
+
{
|
424 |
+
"role": "system",
|
425 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
426 |
+
},
|
427 |
+
{
|
428 |
+
"role": "user",
|
429 |
+
"content": "Instruction: If ETH price exceeds $3400, transfer 20 WETH to address 0xbbbcccdddeeeefff000111222333444555666777 on Ethereum. Input: ETH price: $3450.70, WETH contract: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
430 |
+
},
|
431 |
+
{
|
432 |
+
"role": "assistant",
|
433 |
+
"content": "function transferWETH(address recipient, uint256 amount) public {\n IERC20 weth = IERC20(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);\n weth.transfer(recipient, amount * 10**18);\n}"
|
434 |
+
}
|
435 |
+
],
|
436 |
+
[
|
437 |
+
{
|
438 |
+
"role": "system",
|
439 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
440 |
+
},
|
441 |
+
{
|
442 |
+
"role": "user",
|
443 |
+
"content": "Instruction: If ETH price is below $2800, transfer 250 USDC to address 0xcccdddeeeefff000111222333444555666777888 on Goerli. Input: ETH price: $2750.90, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
444 |
+
},
|
445 |
+
{
|
446 |
+
"role": "assistant",
|
447 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
448 |
+
}
|
449 |
+
],
|
450 |
+
[
|
451 |
+
{
|
452 |
+
"role": "system",
|
453 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
454 |
+
},
|
455 |
+
{
|
456 |
+
"role": "user",
|
457 |
+
"content": "Instruction: If ETH price equals $3200, transfer 120 DAI to address 0xdddeeeefff000111222333444555666777888999 on Ethereum. Input: ETH price: $3200.00, DAI contract: 0x6B175474E89094C44Da98b954EedeAC495271d0F"
|
458 |
+
},
|
459 |
+
{
|
460 |
+
"role": "assistant",
|
461 |
+
"content": "function transferDAI(address recipient, uint256 amount) public {\n IERC20 dai = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);\n dai.transfer(recipient, amount * 10**18);\n}"
|
462 |
+
}
|
463 |
+
],
|
464 |
+
[
|
465 |
+
{
|
466 |
+
"role": "system",
|
467 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
468 |
+
},
|
469 |
+
{
|
470 |
+
"role": "user",
|
471 |
+
"content": "Instruction: If ETH price is within $3000 to $3100, transfer 60 USDC to address 0xeeefff000111222333444555666777888999aaa on Kaleido Private Network. Input: ETH price: $3050.15, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
472 |
+
},
|
473 |
+
{
|
474 |
+
"role": "assistant",
|
475 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
476 |
+
}
|
477 |
+
],
|
478 |
+
[
|
479 |
+
{
|
480 |
+
"role": "system",
|
481 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
482 |
+
},
|
483 |
+
{
|
484 |
+
"role": "user",
|
485 |
+
"content": "Instruction: If ETH price exceeds $3300, transfer 400 USDC to address 0xfff000111222333444555666777888999aaabbb on Ethereum. Input: ETH price: $3350.80, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
486 |
+
},
|
487 |
+
{
|
488 |
+
"role": "assistant",
|
489 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
490 |
+
}
|
491 |
+
],
|
492 |
+
[
|
493 |
+
{
|
494 |
+
"role": "system",
|
495 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
496 |
+
},
|
497 |
+
{
|
498 |
+
"role": "user",
|
499 |
+
"content": "Instruction: If ETH price is below $2400, transfer 90 DAI to address 0x000111222333444555666777888999aaabbbccc on Goerli. Input: ETH price: $2350.50, DAI contract: 0x6B175474E89094C44Da98b954EedeAC495271d0F"
|
500 |
+
},
|
501 |
+
{
|
502 |
+
"role": "assistant",
|
503 |
+
"content": "function transferDAI(address recipient, uint256 amount) public {\n IERC20 dai = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);\n dai.transfer(recipient, amount * 10**18);\n}"
|
504 |
+
}
|
505 |
+
],
|
506 |
+
[
|
507 |
+
{
|
508 |
+
"role": "system",
|
509 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
510 |
+
},
|
511 |
+
{
|
512 |
+
"role": "user",
|
513 |
+
"content": "Instruction: If ETH price exceeds $3600, transfer 25 WETH to address 0x111222333444555666777888999aaabbbcccddd on Ethereum. Input: ETH price: $3650.25, WETH contract: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
514 |
+
},
|
515 |
+
{
|
516 |
+
"role": "assistant",
|
517 |
+
"content": "function transferWETH(address recipient, uint256 amount) public {\n IERC20 weth = IERC20(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);\n weth.transfer(recipient, amount * 10**18);\n}"
|
518 |
+
}
|
519 |
+
],
|
520 |
+
[
|
521 |
+
{
|
522 |
+
"role": "system",
|
523 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
524 |
+
},
|
525 |
+
{
|
526 |
+
"role": "user",
|
527 |
+
"content": "Instruction: If ETH price is below $2900, transfer 300 USDC to address 0x222333444555666777888999aaabbbcccdddeee on Goerli. Input: ETH price: $2850.60, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
528 |
+
},
|
529 |
+
{
|
530 |
+
"role": "assistant",
|
531 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
532 |
+
}
|
533 |
+
],
|
534 |
+
[
|
535 |
+
{
|
536 |
+
"role": "system",
|
537 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
538 |
+
},
|
539 |
+
{
|
540 |
+
"role": "user",
|
541 |
+
"content": "Instruction: If ETH price equals $3100, transfer 150 DAI to address 0x333444555666777888999aaabbbcccdddeeeefff on Ethereum. Input: ETH price: $3100.00, DAI contract: 0x6B175474E89094C44Da98b954EedeAC495271d0F"
|
542 |
+
},
|
543 |
+
{
|
544 |
+
"role": "assistant",
|
545 |
+
"content": "function transferDAI(address recipient, uint256 amount) public {\n IERC20 dai = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);\n dai.transfer(recipient, amount * 10**18);\n}"
|
546 |
+
}
|
547 |
+
],
|
548 |
+
[
|
549 |
+
{
|
550 |
+
"role": "system",
|
551 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
552 |
+
},
|
553 |
+
{
|
554 |
+
"role": "user",
|
555 |
+
"content": "Instruction: If ETH price is within $2700 to $2800, transfer 70 USDC to address 0x444555666777888999aaabbbcccdddeeeefff000 on Kaleido Private Network. Input: ETH price: $2750.15, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
556 |
+
},
|
557 |
+
{
|
558 |
+
"role": "assistant",
|
559 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
560 |
+
}
|
561 |
+
],
|
562 |
+
[
|
563 |
+
{
|
564 |
+
"role": "system",
|
565 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
566 |
+
},
|
567 |
+
{
|
568 |
+
"role": "user",
|
569 |
+
"content": "Instruction: If ETH price exceeds $3400, transfer 500 USDC to address 0x555666777888999aaabbbcccdddeeeefff000111 on Ethereum. Input: ETH price: $3450.90, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
570 |
+
},
|
571 |
+
{
|
572 |
+
"role": "assistant",
|
573 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
574 |
+
}
|
575 |
+
],
|
576 |
+
[
|
577 |
+
{
|
578 |
+
"role": "system",
|
579 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
580 |
+
},
|
581 |
+
{
|
582 |
+
"role": "user",
|
583 |
+
"content": "Instruction: If ETH price is below $2600, transfer 100 DAI to address 0x666777888999aaabbbcccdddeeeefff000111222 on Goerli. Input: ETH price: $2550.70, DAI contract: 0x6B175474E89094C44Da98b954EedeAC495271d0F"
|
584 |
+
},
|
585 |
+
{
|
586 |
+
"role": "assistant",
|
587 |
+
"content": "function transferDAI(address recipient, uint256 amount) public {\n IERC20 dai = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);\n dai.transfer(recipient, amount * 10**18);\n}"
|
588 |
+
}
|
589 |
+
],
|
590 |
+
[
|
591 |
+
{
|
592 |
+
"role": "system",
|
593 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
594 |
+
},
|
595 |
+
{
|
596 |
+
"role": "user",
|
597 |
+
"content": "Instruction: If ETH price exceeds $3200, transfer 15 WETH to address 0x777888999aaabbbcccdddeeeefff000111222333 on Ethereum. Input: ETH price: $3250.25, WETH contract: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
598 |
+
},
|
599 |
+
{
|
600 |
+
"role": "assistant",
|
601 |
+
"content": "function transferWETH(address recipient, uint256 amount) public {\n IERC20 weth = IERC20(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);\n weth.transfer(recipient, amount * 10**18);\n}"
|
602 |
+
}
|
603 |
+
],
|
604 |
+
[
|
605 |
+
{
|
606 |
+
"role": "system",
|
607 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
608 |
+
},
|
609 |
+
{
|
610 |
+
"role": "user",
|
611 |
+
"content": "Instruction: If ETH price is below $2700, transfer 250 USDC to address 0x888999aaabbbcccdddeeeefff000111222333444 on Goerli. Input: ETH price: $2650.30, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
612 |
+
},
|
613 |
+
{
|
614 |
+
"role": "assistant",
|
615 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
616 |
+
}
|
617 |
+
],
|
618 |
+
[
|
619 |
+
{
|
620 |
+
"role": "system",
|
621 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
622 |
+
},
|
623 |
+
{
|
624 |
+
"role": "user",
|
625 |
+
"content": "Instruction: If ETH price equals $3300, transfer 130 DAI to address 0x999aaabbbcccdddeeeefff000111222333444555 on Ethereum. Input: ETH price: $3300.00, DAI contract: 0x6B175474E89094C44Da98b954EedeAC495271d0F"
|
626 |
+
},
|
627 |
+
{
|
628 |
+
"role": "assistant",
|
629 |
+
"content": "function transferDAI(address recipient, uint256 amount) public {\n IERC20 dai = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);\n dai.transfer(recipient, amount * 10**18);\n}"
|
630 |
+
}
|
631 |
+
],
|
632 |
+
[
|
633 |
+
{
|
634 |
+
"role": "system",
|
635 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
636 |
+
},
|
637 |
+
{
|
638 |
+
"role": "user",
|
639 |
+
"content": "Instruction: If ETH price is within $2900 to $3000, transfer 80 USDC to address 0xaaabbbcccdddeeeefff000111222333444555666 on Kaleido Private Network. Input: ETH price: $2950.75, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
640 |
+
},
|
641 |
+
{
|
642 |
+
"role": "assistant",
|
643 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
644 |
+
}
|
645 |
+
],
|
646 |
+
[
|
647 |
+
{
|
648 |
+
"role": "system",
|
649 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
650 |
+
},
|
651 |
+
{
|
652 |
+
"role": "user",
|
653 |
+
"content": "Instruction: If ETH price exceeds $3500, transfer 600 USDC to address 0xbbbcccdddeeeefff000111222333444555666777 on Ethereum. Input: ETH price: $3550.15, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
654 |
+
},
|
655 |
+
{
|
656 |
+
"role": "assistant",
|
657 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
658 |
+
}
|
659 |
+
],
|
660 |
+
[
|
661 |
+
{
|
662 |
+
"role": "system",
|
663 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
664 |
+
},
|
665 |
+
{
|
666 |
+
"role": "user",
|
667 |
+
"content": "Instruction: If ETH price is below $2600, transfer 110 DAI to address 0xcccdddeeeefff000111222333444555666777888 on Goerli. Input: ETH price: $2550.90, DAI contract: 0x6B175474E89094C44Da98b954EedeAC495271d0F"
|
668 |
+
},
|
669 |
+
{
|
670 |
+
"role": "assistant",
|
671 |
+
"content": "function transferDAI(address recipient, uint256 amount) public {\n IERC20 dai = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);\n dai.transfer(recipient, amount * 10**18);\n}"
|
672 |
+
}
|
673 |
+
],
|
674 |
+
[
|
675 |
+
{
|
676 |
+
"role": "system",
|
677 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
678 |
+
},
|
679 |
+
{
|
680 |
+
"role": "user",
|
681 |
+
"content": "Instruction: If ETH price exceeds $3400, transfer 30 WETH to address 0xdddeeeefff000111222333444555666777888999 on Ethereum. Input: ETH price: $3450.25, WETH contract: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
682 |
+
},
|
683 |
+
{
|
684 |
+
"role": "assistant",
|
685 |
+
"content": "function transferWETH(address recipient, uint256 amount) public {\n IERC20 weth = IERC20(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);\n weth.transfer(recipient, amount * 10**18);\n}"
|
686 |
+
}
|
687 |
+
],
|
688 |
+
[
|
689 |
+
{
|
690 |
+
"role": "system",
|
691 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
692 |
+
},
|
693 |
+
{
|
694 |
+
"role": "user",
|
695 |
+
"content": "Instruction: If ETH price is below $2800, transfer 300 USDC to address 0xeeefff000111222333444555666777888999aaa on Goerli. Input: ETH price: $2750.50, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
696 |
+
},
|
697 |
+
{
|
698 |
+
"role": "assistant",
|
699 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
700 |
+
}
|
701 |
+
],
|
702 |
+
[
|
703 |
+
{
|
704 |
+
"role": "system",
|
705 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
706 |
+
},
|
707 |
+
{
|
708 |
+
"role": "user",
|
709 |
+
"content": "Instruction: If ETH price equals $3200, transfer 140 DAI to address 0xfff000111222333444555666777888999aaabbb on Ethereum. Input: ETH price: $3200.00, DAI contract: 0x6B175474E89094C44Da98b954EedeAC495271d0F"
|
710 |
+
},
|
711 |
+
{
|
712 |
+
"role": "assistant",
|
713 |
+
"content": "function transferDAI(address recipient, uint256 amount) public {\n IERC20 dai = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);\n dai.transfer(recipient, amount * 10**18);\n}"
|
714 |
+
}
|
715 |
+
],
|
716 |
+
[
|
717 |
+
{
|
718 |
+
"role": "system",
|
719 |
+
"content": "You are an assistant specialized in generating Solidity smart contract code for DeFi operations based on user instructions and inputs."
|
720 |
+
},
|
721 |
+
{
|
722 |
+
"role": "user",
|
723 |
+
"content": "Instruction: If ETH price is within $3000 to $3100, transfer 90 USDC to address 0x000111222333444555666777888999aaabbbccc on Kaleido Private Network. Input: ETH price: $3050.80, USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
724 |
+
},
|
725 |
+
{
|
726 |
+
"role": "assistant",
|
727 |
+
"content": "function transferUSDC(address recipient, uint256 amount) public {\n IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);\n usdc.transfer(recipient, amount * 10**6);\n}"
|
728 |
+
}
|
729 |
+
]
|
730 |
+
]
|