Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Update Public Repo #64

Merged
merged 3 commits into from
Oct 23, 2024
Merged

feat: Update Public Repo #64

merged 3 commits into from
Oct 23, 2024

Conversation

0xfarhaan
Copy link
Member

No description provided.

JGcarv and others added 3 commits August 19, 2024 14:05
* chore: add stSyrup to migrator deployment

* fix: import paths and ci script

* fix: rename script and fix CI

* chore: add TODO

* chore: remove space

---------

Co-authored-by: 0xfarhaan <59924029+0xfarhaan@users.noreply.github.com>
* wip: update mplv2

* fix: failing tests

* feat: adjust migration deployment

* chore: update formatting

---------

Co-authored-by: 0xfarhaan <59924029+0xfarhaan@users.noreply.github.com>
* feat: update scripts for deployment

* feat: update validation scripts

* chore: remove unused import

* chore: update failing test

* feat: update safe jsons

* feat: update safe jsons

* feat: update safe jsons

* chore: fix formatting

* chore: fix formatting

* chore: fix formatting

* feat: add stSyrup validation

* feat: cleanup comments

* feat: fix to redeploy

* feat: fix to redeploy

* chore: add comment
Copy link

github-actions bot commented Oct 23, 2024

| contracts/EmergencyModule.sol:EmergencyModule contract |                 |       |        |       |         |
|--------------------------------------------------------|-----------------|-------|--------|-------|---------|
| Deployment Cost                                        | Deployment Size |       |        |       |         |
| 324352                                                 | 1531            |       |        |       |         |
| Function Name                                          | min             | avg   | median | max   | # calls |
| burn                                                   | 27068           | 48999 | 43411  | 84984 | 5       |
| globals                                                | 226             | 226   | 226    | 226   | 1       |
| mint                                                   | 26865           | 50614 | 46516  | 87528 | 5       |
| token                                                  | 248             | 248   | 248    | 248   | 1       |
| contracts/MapleTokenProxy.sol:MapleTokenProxy contract |                 |       |        |        |         |
|--------------------------------------------------------|-----------------|-------|--------|--------|---------|
| Deployment Cost                                        | Deployment Size |       |        |        |         |
| 550512                                                 | 2205            |       |        |        |         |
| Function Name                                          | min             | avg   | median | max    | # calls |
| addModule                                              | 34457           | 71155 | 76988  | 161249 | 34      |
| balanceOf                                              | 1226            | 4644  | 3226   | 7726   | 6380    |
| burn                                                   | 29260           | 36720 | 37353  | 42916  | 4       |
| decimals                                               | 1023            | 6439  | 7523   | 7523   | 6       |
| globals                                                | 1154            | 4747  | 7654   | 7654   | 44867   |
| governor                                               | 6438            | 6438  | 6438   | 6438   | 1       |
| implementation                                         | 1111            | 1766  | 1111   | 3077   | 3       |
| isModule                                               | 1194            | 1194  | 1194   | 1194   | 4       |
| mint                                                   | 29260           | 44502 | 44502  | 59744  | 2       |
| name                                                   | 1842            | 1842  | 1842   | 1842   | 1       |
| removeModule                                           | 34378           | 55537 | 53788  | 139250 | 13      |
| setImplementation                                      | 29151           | 60914 | 37828  | 138852 | 4       |
| symbol                                                 | 1929            | 1929  | 1929   | 1929   | 1       |
| totalSupply                                            | 1028            | 1861  | 1028   | 3028   | 12      |
| contracts/RecapitalizationModule.sol:RecapitalizationModule contract |                 |        |        |        |         |
|----------------------------------------------------------------------|-----------------|--------|--------|--------|---------|
| Deployment Cost                                                      | Deployment Size |        |        |        |         |
| 1129878                                                              | 5167            |        |        |        |         |
| Function Name                                                        | min             | avg    | median | max    | # calls |
| claim                                                                | 42803           | 70345  | 77314  | 80498  | 6       |
| claimable                                                            | 563             | 6626   | 8029   | 22745  | 30698   |
| lastClaimedTimestamp                                                 | 379             | 379    | 379    | 379    | 5       |
| lastClaimedWindowId                                                  | 336             | 336    | 336    | 336    | 55      |
| lastScheduledWindowId                                                | 391             | 1391   | 1391   | 2391   | 2       |
| schedule                                                             | 97646           | 132923 | 129428 | 182182 | 6       |
| windows                                                              | 699             | 1099   | 699    | 2699   | 275     |

Copy link

LCOV of commit 8ed824f during CI #166

Summary coverage rate:
  lines......: 100.0% (112 of 112 lines)
  functions..: 100.0% (34 of 34 functions)
  branches...: no data found

Files changed coverage rate:
                                      |Lines       |Functions  |Branches    
  Filename                            |Rate     Num|Rate    Num|Rate     Num
  ==========================================================================
  contracts/MapleTokenInitializer.sol | 100%      6| 100%     1|    -      0

@0xfarhaan 0xfarhaan merged commit 3d9d582 into main Oct 23, 2024
4 checks passed
@0xfarhaan 0xfarhaan deleted the feat/update-public-repo branch October 23, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants