Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

mesozoic-technology
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Sep 23, 2025

LCOV of commit c666ffd during Forge Coverage #286

Summary coverage rate:
  lines......: 84.2% (744 of 884 lines)
  functions..: 77.6% (184 of 237 functions)
  branches...: no data found

Files changed coverage rate:
                                                   |Lines       |Functions  |Branches    
  Filename                                         |Rate     Num|Rate    Num|Rate     Num
  =======================================================================================
  src/vaults/MYieldToOneVaultWithFee4626.sol       |32.8%     61| 0.0%    10|    -      0
  src/vaults/MYieldToOneVaultWithFeeBase.sol       |    -      0|    -     0|    -      0
  src/vaults/MYieldToOneVaultWithFeeNoToken.sol    |    -      0|    -     0|    -      0
  src/vaults/MYieldToOneVaultWithFeeTokenized.sol  |    -      0|    -     0|    -      0

⛔ The code coverage is too low: 84.16. Expected at least 95.

Copy link

github-actions bot commented Sep 23, 2025

Changes to gas cost

Generated at commit: be0194405763c10c5c1fc709a42973fafd34cc18, compared to commit: 09388b75565e3d283975b6697c5a9c033094650a

🧾 Summary (20% most significant diffs)

Contract Method Avg (+/-) %
TransparentUpgradeableProxy accruedYieldAndFeeOf
accruedYieldOf
approve
claimFor(address)
claimYield
isEarningEnabled
setAccountInfo(address,bool,uint16)
setYieldRecipient
swapInMWithPermit(address,uint256,address,uint256,bytes)
swapOutM
transferFrom
yield
+10,797 ❌
-635 ✅
+2,473 ❌
+16,868 ❌
-18,342 ✅
-841 ✅
-2,498 ✅
-3,307 ✅
+5,925 ❌
+15,024 ❌
+1,126 ❌
-2,028 ✅
+157.44%
-10.04%
+6.37%
+32.79%
-29.36%
-8.92%
-3.98%
-7.00%
+3.79%
+14.66%
+3.21%
-15.63%
MYieldToOneHarness setYieldRecipient -585 ✅ -3.21%

Full diff report 👇
Contract Deployment Cost (+/-) Method Min (+/-) % Avg (+/-) % Median (+/-) % Max (+/-) % # Calls (+/-)
TransparentUpgradeableProxy 1,066,691 (0) accruedYieldAndFeeOf
accruedYieldOf
approve
balanceOf
claimFor(address)
claimYield
disableEarning
enableEarning
fallback
grantRole
hasRole
isEarningEnabled
mToken
msgSender
name
setAccountInfo(address,bool,uint16)
setAccountOf
setBalanceOf
setFeeRecipient
setTotalPrincipal
setTotalSupply
setYieldRecipient
swap
swapInM
swapInMWithPermit(address,uint256,address,uint256,bytes)
swapInMWithPermit(address,uint256,address,uint256,uint8,bytes32,bytes32)
swapOutM
symbol
transfer
transferFrom
unwrap
wrap
yield
17,638 (+14,400)
2,448 (0)
29,285 (-28)
1,012 (-22)
26,548 (0)
30,442 (-3,523)
28,472 (0)
28,369 (0)
0 (-781)
34,102 (+2,256)
7,604 (0)
7,540 (0)
5,186 (-22)
0 (0)
8,146 (-22)
29,331 (0)
30,149 (0)
29,119 (-19,934)
28,933 (0)
28,693 (0)
28,627 (0)
29,128 (0)
38,680 (0)
38,211 (0)
133,008 (0)
148,033 (-25,297)
38,191 (0)
8,155 (0)
26,855 (0)
35,132 (0)
27,450 (0)
27,253 (0)
2,946 (-9,885)
+444.72%
0.00%
-0.10%
-2.13%
0.00%
-10.37%
0.00%
0.00%
-100.00%
+7.08%
0.00%
0.00%
-0.42%
+∞%
-0.27%
0.00%
0.00%
-40.64%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
-14.59%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
-77.04%
17,655 (+10,797)
5,689 (-635)
41,274 (+2,473)
7,391 (-74)
68,313 (+16,868)
44,125 (-18,342)
44,022 (-409)
74,435 (-2,268)
23,485 (-519)
54,882 (-11)
7,604 (-19)
8,586 (-841)
5,197 (-11)
2,885 (+742)
8,157 (-11)
60,312 (-2,498)
60,936 (-76)
49,031 (-118)
62,835 (+1,138)
31,463 (-11)
48,238 (-77)
43,968 (-3,307)
152,017 (+6)
164,155 (+4,007)
162,119 (+5,925)
191,817 (+4,423)
117,482 (+15,024)
8,155 (0)
55,342 (+564)
36,258 (+1,126)
59,183 (+1,035)
114,201 (+126)
10,951 (-2,028)
+157.44%
-10.04%
+6.37%
-0.99%
+32.79%
-29.36%
-0.92%
-2.96%
-2.16%
-0.02%
-0.25%
-8.92%
-0.21%
+34.62%
-0.13%
-3.98%
-0.12%
-0.24%
+1.84%
-0.03%
-0.16%
-7.00%
+0.00%
+2.50%
+3.79%
+2.36%
+14.66%
0.00%
+1.03%
+3.21%
+1.78%
+0.11%
-15.63%
17,661 (+14,423)
2,448 (0)
34,099 (+2,543)
7,545 (0)
67,663 (+24,956)
30,442 (-35,306)
39,093 (0)
77,672 (0)
14,948 (-218)
56,300 (0)
7,604 (-22)
7,540 (-3,138)
5,197 (-11)
781 (0)
8,157 (-11)
32,076 (-32,615)
55,173 (0)
49,077 (0)
70,108 (+8,188)
31,565 (0)
48,593 (-6)
43,166 (+4,185)
140,178 (0)
157,810 (0)
160,164 (+19,728)
194,426 (+13)
108,668 (+16,336)
8,155 (0)
36,153 (0)
36,258 (+1,126)
62,245 (+30,050)
118,863 (0)
12,831 (0)
+445.43%
0.00%
+8.06%
0.00%
+58.44%
-53.70%
0.00%
0.00%
-1.44%
0.00%
-0.29%
-29.39%
-0.21%
0.00%
-0.13%
-50.42%
0.00%
0.00%
+13.22%
0.00%
-0.01%
+10.74%
0.00%
0.00%
+14.05%
+0.01%
+17.69%
0.00%
0.00%
+3.21%
+93.34%
0.00%
0.00%
17,661 (-577)
17,582 (-567)
56,029 (+315)
7,545 (0)
105,485 (0)
84,406 (0)
87,802 (0)
92,477 (0)
135,952 (-88,293)
56,300 (-1)
7,604 (-31)
10,678 (-11)
5,208 (0)
5,281 (0)
8,168 (0)
110,800 (0)
72,333 (0)
49,403 (+2)
105,123 (0)
31,661 (0)
48,707 (0)
88,492 (0)
263,207 (0)
211,479 (+4,795)
195,140 (0)
224,245 (+29,806)
194,040 (+20,153)
8,156 (+1)
75,478 (0)
37,385 (+2,253)
86,417 (0)
119,019 (0)
15,949 (0)
-3.16%
-3.12%
+0.57%
0.00%
0.00%
0.00%
0.00%
0.00%
-39.37%
-0.00%
-0.41%
-0.10%
0.00%
0.00%
0.00%
0.00%
0.00%
+0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
+2.32%
0.00%
+15.33%
+11.59%
+0.01%
0.00%
+6.41%
0.00%
0.00%
0.00%
6 (-80)
87 (-6)
46 (+23)
854 (+37)
5 (-14)
16 (+12)
7 (-2)
87 (-4)
48,332 (-99)
408 (-7)
3 (-7)
3 (-2)
2 (+1)
1,122 (-380)
2 (+1)
11 (-43)
1,256 (+4)
1,024 (+521)
7 (-1)
257 (0)
260 (0)
12 (+7)
236 (0)
99 (+16)
4 (+1)
6 (+3)
48 (+10)
2 (+1)
263 (+2)
2 (+1)
262 (0)
152 (+4)
363 (+88)
MYieldToOneHarness 3,829,675 (0) approve
balanceOf
claimYield
initialize
setTotalSupply
setYieldRecipient
transfer
transferFrom
yield
2,764 (0)
594 (0)
7,986 (0)
25,112 (0)
2,542 (0)
2,771 (0)
2,769 (0)
7,407 (0)
2,531 (0)
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
26,788 (+277)
2,383 (-19)
26,594 (-7,529)
231,049 (+404)
21,696 (+14)
17,639 (-585)
17,564 (+97)
27,024 (+131)
6,978 (+8)
+1.04%
-0.79%
-22.06%
+0.18%
+0.06%
-3.21%
+0.56%
+0.49%
+0.11%
29,164 (0)
2,594 (0)
30,027 (0)
237,198 (0)
22,442 (0)
16,819 (+4,185)
17,546 (0)
24,253 (0)
7,916 (0)
0.00%
0.00%
0.00%
0.00%
0.00%
+33.12%
0.00%
0.00%
0.00%
29,164 (0)
2,594 (0)
58,427 (0)
237,198 (0)
22,442 (0)
62,145 (0)
34,646 (0)
40,136 (0)
11,034 (0)
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
67 (+7)
657 (+30)
26 (+10)
81 (+5)
267 (+5)
12 (+5)
256 (+2)
132 (+7)
363 (+3)
MEarnerManagerHarness 4,779,490 (0) accruedYieldAndFeeOf
balanceOf
setAccountOf
setTotalPrincipal
setTotalSupply
transfer
transferFrom
unwrap
wrap
2,814 (0)
627 (0)
5,269 (0)
2,586 (0)
2,520 (0)
574 (0)
8,237 (0)
965 (0)
972 (0)
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
5,307 (-29)
2,580 (+1)
33,910 (-76)
5,266 (-11)
22,032 (-78)
28,971 (+754)
31,303 (-24)
36,417 (+852)
72,433 (+151)
-0.54%
+0.04%
-0.22%
-0.21%
-0.35%
+2.67%
-0.08%
+2.40%
+0.21%
2,814 (0)
2,627 (0)
27,969 (0)
5,386 (0)
22,420 (0)
9,479 (0)
29,617 (0)
47,885 (0)
92,361 (0)
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
13,314 (0)
2,627 (0)
45,069 (0)
5,386 (0)
22,420 (0)
48,817 (0)
54,800 (0)
85,685 (0)
114,548 (0)
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
87 (+1)
858 (+19)
1,256 (+4)
257 (0)
257 (0)
261 (0)
72 (+1)
333 (+1)
229 (+5)
MExtensionHarness 2,750,378 (0) transfer
unwrap
wrap
552 (0)
478 (0)
477 (0)
0.00%
0.00%
0.00%
16,495 (-376)
23,263 (+518)
57,654 (-201)
-2.23%
+2.28%
-0.35%
4,688 (0)
8,528 (0)
59,476 (0)
0.00%
0.00%
0.00%
30,183 (0)
42,463 (0)
59,476 (0)
0.00%
0.00%
0.00%
260 (0)
262 (0)
264 (0)
MYieldFeeHarness 5,059,779 (0) accruedYieldOf
balanceWithYieldOf
claimFee
currentIndex
setAccountOf
setFeeRate
setIsEarningEnabled
setLatestIndex
setLatestRate
setLatestUpdateTimestamp
setTotalSupply
totalAccruedFee
totalAccruedYield
transfer
transferFrom
unwrap
wrap
2,030 (0)
9,509 (0)
10,446 (0)
4,576 (0)
5,100 (0)
2,801 (0)
2,632 (0)
2,572 (0)
2,595 (0)
2,573 (0)
2,542 (0)
10,377 (0)
6,996 (0)
552 (0)
45,661 (0)
6,247 (0)
6,253 (0)
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
9,366 (+1)
9,872 (-4)
68,896 (+6)
4,943 (-5)
43,700 (+22)
11,600 (+4)
4,032 (-15)
5,326 (+14)
4,463 (+11)
4,946 (-33)
20,333 (+1)
10,789 (-3)
7,385 (-8)
14,938 (+308)
49,524 (+47)
38,133 (-507)
60,156 (+99)
+0.01%
-0.04%
+0.01%
-0.10%
+0.05%
+0.03%
-0.37%
+0.26%
+0.25%
-0.66%
+0.00%
-0.03%
-0.11%
+2.11%
+0.09%
-1.31%
+0.16%
9,294 (0)
9,512 (0)
68,865 (0)
4,576 (-739)
44,900 (0)
11,208 (0)
5,432 (0)
5,372 (0)
5,395 (0)
5,373 (0)
22,442 (0)
11,116 (0)
7,735 (0)
4,725 (0)
45,661 (0)
47,212 (0)
62,067 (0)
0.00%
0.00%
0.00%
-13.90%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
10,033 (0)
10,251 (0)
85,965 (0)
5,315 (0)
44,900 (0)
23,525 (0)
5,432 (0)
5,372 (0)
5,395 (0)
5,373 (0)
22,442 (0)
14,234 (0)
7,738 (0)
62,898 (0)
68,344 (0)
87,012 (0)
132,435 (0)
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
1,721 (0)
2,282 (+3)
260 (0)
6,719 (0)
1,811 (0)
2,823 (0)
2,579 (0)
2,561 (0)
529 (0)
256 (0)
2,572 (0)
1,532 (-1)
931 (-3)
264 (0)
80 (-1)
339 (-1)
349 (-1)
MockM 627,532 (0) currentIndex
earnerRate
setBalanceOf
setEarnerRate
0 (0)
0 (0)
24,182 (0)
26,564 (0)
+∞%
+∞%
0.00%
0.00%
2,312 (+1)
167 (-2)
40,114 (-2)
43,486 (+4)
+0.04%
-1.18%
-0.00%
+0.01%
2,379 (0)
0 (0)
44,118 (+12)
43,664 (0)
0.00%
+∞%
+0.03%
0.00%
2,379 (0)
2,389 (0)
44,466 (0)
43,664 (0)
0.00%
0.00%
0.00%
0.00%
586 (+14)
128 (+1)
2,969 (+12)
193 (+5)
SwapFacility 2,720,347 (0) grantRole
swap
swapOutM
7,240 (0)
11,639 (0)
11,536 (0)
0.00%
0.00%
0.00%
28,310 (+11)
155,368 (+5)
121,446 (-320)
+0.04%
+0.00%
-0.26%
29,438 (0)
139,748 (0)
108,716 (0)
0.00%
0.00%
0.00%
29,438 (0)
301,758 (0)
215,662 (0)
0.00%
0.00%
0.00%
512 (+5)
245 (0)
48 (0)

@PierrickGT PierrickGT force-pushed the feat/extension-vaults branch from 9c17ef9 to 39c79d2 Compare September 30, 2025 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.