Skip to content

Commit

Permalink
chore: adorno
Browse files Browse the repository at this point in the history
  • Loading branch information
3esmit committed Jun 20, 2024
1 parent 6051108 commit 1a8ff3c
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 113 deletions.
152 changes: 76 additions & 76 deletions .gas-report
Original file line number Diff line number Diff line change
@@ -1,58 +1,35 @@
| contracts/ens/ENSRegistry.sol:ENSRegistry contract | | | | | |
|----------------------------------------------------|-----------------|-------|--------|-------|---------|
| Deployment Cost | Deployment Size | | | | |
| 534902 | 2649 | | | | |
| Function Name | min | avg | median | max | # calls |
| owner | 533 | 1244 | 533 | 2533 | 194 |
| resolver | 476 | 809 | 476 | 2476 | 12 |
| setOwner | 2395 | 2861 | 2395 | 5195 | 24 |
| setResolver | 4478 | 12438 | 4478 | 24378 | 15 |
| setSubnodeOwner | 3061 | 22583 | 24961 | 26961 | 109 |


| contracts/ens/PublicResolver.sol:PublicResolver contract | | | | | |
|----------------------------------------------------------|-----------------|-------|--------|-------|---------|
| Deployment Cost | Deployment Size | | | | |
| 1256030 | 6335 | | | | |
| Function Name | min | avg | median | max | # calls |
| addr | 566 | 1232 | 566 | 2566 | 6 |
| pubkey | 675 | 2008 | 675 | 4675 | 6 |
| setAddr | 27178 | 27178 | 27178 | 27178 | 4 |
| setPubkey | 47504 | 48504 | 48504 | 49504 | 4 |


| contracts/mocks/Dummy2UsernameRegistrar.sol:Dummy2UsernameRegistrar contract | | | | | |
|------------------------------------------------------------------------------|-----------------|--------|--------|--------|---------|
| Deployment Cost | Deployment Size | | | | |
| 3402568 | 17188 | | | | |
| Function Name | min | avg | median | max | # calls |
| activate | 46312 | 46554 | 46312 | 54312 | 33 |
| controller | 2414 | 2414 | 2414 | 2414 | 3 |
| dropUsername | 14543 | 14543 | 14543 | 14543 | 2 |
| ensNode | 406 | 1406 | 1406 | 2406 | 60 |
| ensRegistry | 2460 | 2460 | 2460 | 2460 | 3 |
| getAccountBalance | 504 | 504 | 504 | 504 | 15 |
| getAccountOwner | 517 | 517 | 517 | 517 | 15 |
| getCreationTime | 534 | 534 | 534 | 534 | 8 |
| migrateRegistry | 46313 | 46313 | 46313 | 46313 | 4 |
| moveRegistry | 61618 | 64743 | 61618 | 74118 | 4 |
| parentRegistry | 2415 | 2415 | 2415 | 2415 | 3 |
| price | 407 | 1709 | 2407 | 2407 | 43 |
| receiveApproval | 153937 | 199442 | 188472 | 266503 | 6 |
| register | 2347 | 141690 | 157593 | 265659 | 27 |
| release | 1397 | 20806 | 7181 | 44022 | 9 |
| releaseDelay | 2407 | 2407 | 2407 | 2407 | 11 |
| reserveSlash | 44793 | 44793 | 44793 | 44793 | 8 |
| reservedUsernamesMerkleRoot | 2386 | 2386 | 2386 | 2386 | 3 |
| resolver | 2373 | 2373 | 2373 | 2373 | 3 |
| slashAddressLikeUsername | 900 | 9911 | 1100 | 45158 | 5 |
| slashInvalidUsername | 841 | 12266 | 2749 | 43810 | 7 |
| slashSmallUsername | 45598 | 45598 | 45598 | 45598 | 1 |
| state | 396 | 396 | 396 | 396 | 2 |
| token | 2458 | 2458 | 2458 | 2458 | 3 |
| updateAccountOwner | 1879 | 4055 | 4133 | 6074 | 4 |
| updateRegistryPrice | 10674 | 10674 | 10674 | 10674 | 1 |
| usernameMinLength | 2341 | 2341 | 2341 | 2341 | 3 |
| contracts/registry/UsernameRegistrar.sol:UsernameRegistrar contract | | | | | |
|---------------------------------------------------------------------|-----------------|--------|--------|--------|---------|
| Deployment Cost | Deployment Size | | | | |
| 3402568 | 17188 | | | | |
| Function Name | min | avg | median | max | # calls |
| activate | 46312 | 46554 | 46312 | 54312 | 33 |
| controller | 2414 | 2414 | 2414 | 2414 | 3 |
| dropUsername | 14543 | 14543 | 14543 | 14543 | 2 |
| ensNode | 406 | 1406 | 1406 | 2406 | 60 |
| ensRegistry | 2460 | 2460 | 2460 | 2460 | 3 |
| getAccountBalance | 504 | 504 | 504 | 504 | 15 |
| getAccountOwner | 517 | 517 | 517 | 517 | 15 |
| getCreationTime | 534 | 534 | 534 | 534 | 8 |
| migrateRegistry | 46313 | 46313 | 46313 | 46313 | 4 |
| moveRegistry | 61618 | 64743 | 61618 | 74118 | 4 |
| parentRegistry | 2415 | 2415 | 2415 | 2415 | 3 |
| price | 407 | 1709 | 2407 | 2407 | 43 |
| receiveApproval | 179225 | 226287 | 216007 | 296460 | 6 |
| register | 2347 | 161736 | 182881 | 295616 | 27 |
| release | 1397 | 18701 | 7181 | 67939 | 9 |
| releaseDelay | 2407 | 2407 | 2407 | 2407 | 11 |
| reserveSlash | 44793 | 44793 | 44793 | 44793 | 8 |
| reservedUsernamesMerkleRoot | 2386 | 2386 | 2386 | 2386 | 3 |
| resolver | 2373 | 2373 | 2373 | 2373 | 3 |
| slashAddressLikeUsername | 900 | 19479 | 1100 | 92995 | 5 |
| slashInvalidUsername | 841 | 19100 | 2749 | 91647 | 7 |
| slashSmallUsername | 93435 | 93435 | 93435 | 93435 | 1 |
| state | 396 | 396 | 396 | 396 | 2 |
| token | 2458 | 2458 | 2458 | 2458 | 3 |
| updateAccountOwner | 1879 | 4055 | 4133 | 6074 | 4 |
| updateRegistryPrice | 10674 | 10674 | 10674 | 10674 | 1 |
| usernameMinLength | 2341 | 2341 | 2341 | 2341 | 3 |


| contracts/test/MerkleProofWrapper.sol:MerkleProofWrapper contract | | | | | |
Expand All @@ -63,32 +40,55 @@
| verifyProof | 1084 | 1340 | 1463 | 1473 | 3 |


| contracts/token/TestToken.sol:TestToken contract | | | | | |
|--------------------------------------------------|-----------------|--------|--------|--------|---------|
| Deployment Cost | Deployment Size | | | | |
| 379818 | 1928 | | | | |
| Function Name | min | avg | median | max | # calls |
| allowance | 814 | 880 | 814 | 2814 | 30 |
| approve | 2568 | 23733 | 24741 | 24741 | 24 |
| approveAndCall | 179573 | 225078 | 214108 | 292139 | 6 |
| mint | 46760 | 46760 | 46760 | 46760 | 27 |
| transfer | 23319 | 24461 | 25319 | 25319 | 7 |
| transferFrom | 2795 | 25589 | 26434 | 26434 | 28 |


| script/Deploy.s.sol:Deploy contract | | | | | |
|-------------------------------------|-----------------|---------|---------|---------|---------|
| Deployment Cost | Deployment Size | | | | |
| 9386559 | 47997 | | | | |
| Function Name | min | avg | median | max | # calls |
| migration | 3489520 | 3489520 | 3489520 | 3489520 | 4 |
| run | 8715095 | 8715095 | 8715095 | 8715095 | 38 |
| lib/ens-contracts/contracts/registry/ENSRegistry.sol:ENSRegistry contract | | | | | |
|---------------------------------------------------------------------------|-----------------|-------|--------|-------|---------|
| Deployment Cost | Deployment Size | | | | |
| 508871 | 2519 | | | | |
| Function Name | min | avg | median | max | # calls |
| owner | 533 | 1229 | 533 | 2533 | 198 |
| resolver | 476 | 809 | 476 | 2476 | 12 |
| setOwner | 2395 | 2861 | 2395 | 5195 | 24 |
| setResolver | 4478 | 12438 | 4478 | 24378 | 15 |
| setSubnodeOwner | 3061 | 22583 | 24961 | 26961 | 109 |


| lib/ens-contracts/contracts/resolvers/PublicResolver.sol:PublicResolver contract | | | | | |
|----------------------------------------------------------------------------------|-----------------|-------|--------|-------|---------|
| Deployment Cost | Deployment Size | | | | |
| 1936168 | 9732 | | | | |
| Function Name | min | avg | median | max | # calls |
| addr | 1431 | 2011 | 1431 | 3173 | 6 |
| pubkey | 647 | 1980 | 647 | 4647 | 6 |
| setAddr | 31672 | 31672 | 31672 | 31672 | 4 |
| setPubkey | 47679 | 48679 | 48679 | 49679 | 4 |


| lib/minime/contracts/MiniMeToken.sol:MiniMeToken contract | | | | | |
|-----------------------------------------------------------|-----------------|--------|--------|--------|---------|
| Deployment Cost | Deployment Size | | | | |
| 1778095 | 10235 | | | | |
| Function Name | min | avg | median | max | # calls |
| allowance | 763 | 829 | 763 | 2763 | 30 |
| approve | 3072 | 26261 | 27248 | 31748 | 24 |
| approveAndCall | 207970 | 255032 | 244752 | 325205 | 6 |
| generateTokens | 94463 | 94463 | 94463 | 94463 | 27 |
| transfer | 8527 | 42256 | 50744 | 73156 | 7 |
| transferFrom | 4089 | 50070 | 51773 | 51773 | 28 |


| script/Deploy.s.sol:Deploy contract | | | | | |
|-------------------------------------|-----------------|----------|----------|----------|---------|
| Deployment Cost | Deployment Size | | | | |
| 13947631 | 70759 | | | | |
| Function Name | min | avg | median | max | # calls |
| migration | 3489520 | 3489520 | 3489520 | 3489520 | 4 |
| run | 13054107 | 13054107 | 13054107 | 13054107 | 38 |


| script/DeploymentConfig.s.sol:DeploymentConfig contract | | | | | |
|---------------------------------------------------------|-----------------|------|--------|-------|---------|
| Deployment Cost | Deployment Size | | | | |
| 5229240 | 26843 | | | | |
| 9560657 | 49600 | | | | |
| Function Name | min | avg | median | max | # calls |
| ETH_LABELHASH | 240 | 240 | 240 | 240 | 38 |
| ETH_NAMEHASH | 239 | 239 | 239 | 239 | 80 |
Expand Down
Loading

0 comments on commit 1a8ff3c

Please sign in to comment.