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

Release v1.0.0 #1

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Release v1.0.0 #1

merged 1 commit into from
Dec 20, 2023

Conversation

JGcarv
Copy link
Contributor

@JGcarv JGcarv commented Dec 19, 2023

No actual files added because the repo was empty, so the first push everything went to main already.

@JGcarv JGcarv self-assigned this Dec 19, 2023
@JGcarv JGcarv requested a review from a team as a code owner December 19, 2023 22:28
Copy link

github-actions bot commented Dec 19, 2023

| contracts/MaplePoolPermissionManager.sol:MaplePoolPermissionManager contract |                 |        |        |         |         |
|------------------------------------------------------------------------------|-----------------|--------|--------|---------|---------|
| Deployment Cost                                                              | Deployment Size |        |        |         |         |
| 2837292                                                                      | 14203           |        |        |         |         |
| Function Name                                                                | min             | avg    | median | max     | # calls |
| admin                                                                        | 817             | 817    | 817    | 817     | 1       |
| configurePool                                                                | 5105            | 29542  | 16592  | 65557   | 9       |
| globals                                                                      | 600             | 600    | 600    | 600     | 1       |
| hasPermission(address,address,bytes32)                                       | 1401            | 4335   | 4276   | 8262    | 17      |
| hasPermission(address,address[],bytes32)                                     | 1274            | 179920 | 119196 | 689463  | 9       |
| implementation                                                               | 752             | 752    | 752    | 752     | 3       |
| lenderAllowlist                                                              | 1180            | 2180   | 2180   | 3180    | 12      |
| lenderBitmaps                                                                | 836             | 1836   | 1836   | 2836    | 12      |
| permissionAdmins                                                             | 913             | 1913   | 1913   | 2913    | 4       |
| permissionLevels                                                             | 859             | 1782   | 859    | 2859    | 13      |
| poolBitmaps                                                                  | 1117            | 2117   | 2117   | 3117    | 20      |
| setLenderAllowlist                                                           | 4959            | 432826 | 41459  | 4006978 | 17      |
| setLenderBitmaps                                                             | 4783            | 362938 | 31156  | 4647624 | 15      |
| setPermissionAdmin                                                           | 4683            | 26430  | 26665  | 36506   | 74      |
| setPoolBitmaps                                                               | 4960            | 31490  | 31377  | 100729  | 17      |
| setPoolPermissionLevel                                                       | 4635            | 31918  | 37452  | 41170   | 26      |
| contracts/proxy/MaplePoolPermissionManagerInitializer.sol:MaplePoolPermissionManagerInitializer contract |                 |       |        |       |         |
|----------------------------------------------------------------------------------------------------------|-----------------|-------|--------|-------|---------|
| Deployment Cost                                                                                          | Deployment Size |       |        |       |         |
| 391430                                                                                                   | 1987            |       |        |       |         |
| Function Name                                                                                            | min             | avg   | median | max   | # calls |
| initialize                                                                                               | 3397            | 24753 | 25267  | 25267 | 72      |
| modules/ntp/contracts/NonTransparentProxy.sol:NonTransparentProxy contract |                 |        |        |         |         |
|----------------------------------------------------------------------------|-----------------|--------|--------|---------|---------|
| Deployment Cost                                                            | Deployment Size |        |        |         |         |
| 276360                                                                     | 1701            |        |        |         |         |
| Function Name                                                              | min             | avg    | median | max     | # calls |
| admin                                                                      | 4121            | 4121   | 4121   | 4121    | 1       |
| configurePool                                                              | 6840            | 32886  | 21942  | 66400   | 9       |
| globals                                                                    | 1404            | 1404   | 1404   | 1404    | 1       |
| hasPermission(address,address,bytes32)                                     | 2217            | 5680   | 5092   | 11079   | 17      |
| hasPermission(address,address[],bytes32)                                   | 5240            | 182013 | 121191 | 691567  | 9       |
| implementation                                                             | 1556            | 3149   | 2492   | 6056    | 4       |
| initialize                                                                 | 8720            | 28116  | 28574  | 28574   | 72      |
| lenderAllowlist                                                            | 1990            | 4490   | 2990   | 8490    | 12      |
| lenderBitmaps                                                              | 1643            | 4143   | 2643   | 8143    | 12      |
| permissionAdmins                                                           | 1720            | 4970   | 4970   | 8220    | 4       |
| permissionLevels                                                           | 1666            | 3627   | 1666   | 8166    | 13      |
| poolBitmaps                                                                | 1927            | 4502   | 2927   | 8427    | 20      |
| setImplementation                                                          | 3132            | 6508   | 7146   | 9246    | 3       |
| setLenderAllowlist                                                         | 10297           | 436435 | 42673  | 4014503 | 17      |
| setLenderBitmaps                                                           | 10115           | 365333 | 31987  | 4651163 | 15      |
| setPermissionAdmin                                                         | 10006           | 29724  | 29972  | 37313   | 74      |
| setPoolBitmaps                                                             | 10298           | 33388  | 32214  | 101602  | 17      |
| setPoolPermissionLevel                                                     | 6349            | 36362  | 42759  | 42759   | 26      |
| tests/utils/Mocks.sol:GlobalsMock contract |                 |       |        |       |         |
|--------------------------------------------|-----------------|-------|--------|-------|---------|
| Deployment Cost                            | Deployment Size |       |        |       |         |
| 346186                                     | 1761            |       |        |       |         |
| Function Name                              | min             | avg   | median | max   | # calls |
| __setFunctionPaused                        | 5546            | 5546  | 5546   | 5546  | 6       |
| __setGovernor                              | 22694           | 22694 | 22694  | 22694 | 70      |
| __setOperationalAdmin                      | 22688           | 22688 | 22688  | 22688 | 70      |
| __setOwnedPoolManager                      | 6474            | 21820 | 23574  | 23574 | 78      |
| isFunctionPaused                           | 750             | 1496  | 750    | 2750  | 158     |
| operationalAdmin                           | 2515            | 2515  | 2515   | 2515  | 12      |
| poolDelegates                              | 1375            | 2759  | 3375   | 3375  | 65      |

Copy link

LCOV of commit 61cc8bd during CI #2

Summary coverage rate:
  lines......: 100.0% (47 of 47 lines)
  functions..: 100.0% (10 of 10 functions)
  branches...: 100.0% (38 of 38 branches)

Files changed coverage rate: n/a

@JGcarv JGcarv merged commit f60f297 into main Dec 20, 2023
4 checks passed
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.

1 participant