Commit ead2cd5
committed
refactor: streamline date handling in vault and miniapp services
- Replaced manual date construction with a method to retrieve the current budget period in MiniappService, VaultWebService, and VaultService.
- Updated transaction retrieval logic to directly use provided date options, enhancing clarity and reducing redundancy in date management.1 parent 52cc788 commit ead2cd5
File tree
4 files changed
+20
-29
lines changed- src
- bot
- vault
- domain
4 files changed
+20
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
| 242 | + | |
| 243 | + | |
248 | 244 | | |
249 | 245 | | |
250 | 246 | | |
| |||
285 | 281 | | |
286 | 282 | | |
287 | 283 | | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
| 284 | + | |
292 | 285 | | |
293 | 286 | | |
294 | 287 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
118 | 129 | | |
119 | 130 | | |
120 | 131 | | |
| |||
287 | 298 | | |
288 | 299 | | |
289 | 300 | | |
290 | | - | |
291 | | - | |
| 301 | + | |
292 | 302 | | |
293 | 303 | | |
294 | 304 | | |
| |||
305 | 315 | | |
306 | 316 | | |
307 | 317 | | |
308 | | - | |
309 | | - | |
| 318 | + | |
310 | 319 | | |
311 | 320 | | |
312 | 321 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
| 203 | + | |
| 204 | + | |
209 | 205 | | |
210 | 206 | | |
211 | 207 | | |
| |||
240 | 236 | | |
241 | 237 | | |
242 | 238 | | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
| 239 | + | |
247 | 240 | | |
248 | 241 | | |
249 | 242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
| 217 | + | |
222 | 218 | | |
223 | 219 | | |
224 | 220 | | |
| |||
0 commit comments