Commit 648633c
Release mellow main (#254)
* chore: set default strategy
* Upgrade python to 3.12
* Upgrade poetry
* upgrade curl
* Mellow mvp (#224)
* Mellow direct deposit, skip ABI
* Prepare direct deposit transaction
* Property checking
* Fix linter
* amount parameter in the contract
* Fix comments
* Check variable not set
* Contract abi integration test
* Add fixtures
* Remove amount parameter from abi
* Formatter changes
* Formatter changes
* Holesky mark in tests
* Test balanceOf of weth
* Renamings
* Rename mark
* block_identifier
* Update src/variables.py
Co-authored-by: Raman Siamionau <[email protected]>
* Fix comments
* Renamed env var in pipeline
* Change module to deposit
* Send mellow transaction
* Change comment
* DD description
* Update README.md
Co-authored-by: Raman Siamionau <[email protected]>
* Refactor sending mellow transaction
* Refactor sending mellow transaction
* is_mellow_depositable unit test
* Unit test for sending mellow tx
* Formatting
---------
Co-authored-by: Raman Siamionau <[email protected]>
* Metric for modules (#229)
* Expose modules metric
* Reorder
* Reorder
* Update src/metrics/metrics.py
Co-authored-by: Raman Siamionau <[email protected]>
---------
Co-authored-by: Raman Siamionau <[email protected]>
* Log env vars (#227)
* Log public env vars
* Add chain_id
* Public env vars in prometheus metric
* Add message to a log
* Change info description
* Update src/variables.py
Co-authored-by: Raman Siamionau <[email protected]>
* Update src/metrics/metrics.py
Co-authored-by: Raman Siamionau <[email protected]>
* Remove prefix, not assert
* Fix imports
---------
Co-authored-by: Raman Siamionau <[email protected]>
* Fix Info metircs endpoint(#231)
* Fix log string
* Change forematting
* Convert values to strings
* remove convertion
* Mellow deposit strategy (#230)
* Change validation for mellow deposits
* Load WQ contract from the locator
* Refactor
* Change log message
* Beffered ether
* Change ABI
* Move check inside is_mellow_depositable
* Add ping type to the rabbit messages in the unvetter
* Mellow new ABIs
* Remove old build metrics (#239)
* Add mellow variable to examples (#237)
* Add mellow variable to examples
* Remove import
* Update holesky address
* Add account to variables (#241)
* Add account to metrics
* Fix field ref
* Change to propery
* Direct access property
* Separate mellow flow (#235)
* Separate mellow flow
* Formatting
* Rerun integration tests
* Strategy return
* Rewrite to abstract classes
* Fix formatting
* Fix bug with return
* Restructure
* remove init
* _is_mellow
* Fix tests
* Fix signs test
* Fix integration
* Fix unit test
* Mellow test
* Update src/blockchain/deposit_strategy/base_deposit_strategy.py
Co-authored-by: Raman Siamionau <[email protected]>
* Refactor
* Renamings
* Imports
* inject dependecies
---------
Co-authored-by: Raman Siamionau <[email protected]>
* Metric per module (#244)
* Per module metric
* FOrmatting
* Fix error repr
* Metrics for checks (#246)
* Metrics for different check statuses
* Formatting
* Fix early returns (#248)
* Mellow fallback (#250)
* Mellow fallback
* Fix unit tests
* Fix DepositorBot constructor in test
* Fix positional argument
* Double max deposit count
* Fix test
* Improve test
* Sender chain in integrations
* Without sender chain
* Reorder
* Remove redundant function
* New metric for mellow
* Cast
* Merge main
---------
Co-authored-by: F4ever <[email protected]>1 parent d73c534 commit 648633c
File tree
11 files changed
+149
-48
lines changed- src
- blockchain
- contracts
- deposit_strategy
- bots
- metrics
- tests
- blockchain/deposit_strategy
- bots
- fixtures
11 files changed
+149
-48
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
36 | | - | |
37 | 38 | | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
69 | | - | |
70 | 71 | | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
137 | 139 | | |
138 | 140 | | |
139 | 141 | | |
140 | | - | |
| 142 | + | |
141 | 143 | | |
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
146 | 148 | | |
147 | 149 | | |
148 | | - | |
| 150 | + | |
149 | 151 | | |
150 | | - | |
| 152 | + | |
151 | 153 | | |
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
155 | 157 | | |
156 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
157 | 165 | | |
158 | 166 | | |
159 | 167 | | |
| |||
186 | 194 | | |
187 | 195 | | |
188 | 196 | | |
189 | | - | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
190 | 200 | | |
191 | | - | |
192 | 201 | | |
193 | 202 | | |
194 | 203 | | |
195 | 204 | | |
196 | 205 | | |
197 | 206 | | |
198 | | - | |
| 207 | + | |
199 | 208 | | |
200 | 209 | | |
201 | 210 | | |
202 | 211 | | |
203 | 212 | | |
204 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
205 | 216 | | |
206 | 217 | | |
207 | 218 | | |
| |||
230 | 241 | | |
231 | 242 | | |
232 | 243 | | |
| 244 | + | |
233 | 245 | | |
234 | 246 | | |
235 | 247 | | |
236 | 248 | | |
237 | 249 | | |
| 250 | + | |
238 | 251 | | |
239 | 252 | | |
240 | 253 | | |
| |||
275 | 288 | | |
276 | 289 | | |
277 | 290 | | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
284 | 308 | | |
285 | 309 | | |
286 | | - | |
| 310 | + | |
287 | 311 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
69 | 104 | | |
70 | 105 | | |
71 | 106 | | |
| |||
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | | - | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments