2024-09-25 15:55:53 +00:00
|
|
|
| contracts/StakeManager.sol:StakeManager contract | | | | | |
|
|
|
|
|--------------------------------------------------|-----------------|--------|--------|--------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
2024-09-28 18:21:43 +00:00
|
|
|
| 2489660 | 13152 | | | | |
|
2024-09-25 15:55:53 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-09-28 18:21:43 +00:00
|
|
|
| EPOCH_SIZE | 263 | 263 | 263 | 263 | 1498 |
|
|
|
|
| MAX_BOOST | 264 | 264 | 264 | 264 | 637 |
|
|
|
|
| MAX_LOCKUP_PERIOD | 383 | 383 | 383 | 383 | 4 |
|
2024-09-25 15:55:53 +00:00
|
|
|
| MIN_LOCKUP_PERIOD | 264 | 264 | 264 | 264 | 12 |
|
|
|
|
| YEAR | 263 | 263 | 263 | 263 | 637 |
|
2024-09-28 18:21:43 +00:00
|
|
|
| accounts | 1616 | 1616 | 1616 | 1616 | 144249 |
|
2024-09-25 15:55:53 +00:00
|
|
|
| calculateMPToMint | 740 | 740 | 740 | 740 | 1276 |
|
|
|
|
| currentEpoch | 384 | 1050 | 384 | 2384 | 54 |
|
2024-09-28 18:21:43 +00:00
|
|
|
| epochEnd | 649 | 649 | 649 | 2649 | 23671 |
|
|
|
|
| epochReward | 1381 | 2881 | 1381 | 5881 | 3 |
|
|
|
|
| executeAccount(address) | 151167 | 151167 | 151167 | 151167 | 2 |
|
|
|
|
| executeAccount(address,uint256) | 26562 | 72617 | 74122 | 217855 | 141836 |
|
|
|
|
| executeEpoch() | 23480 | 120821 | 121978 | 939007 | 23560 |
|
2024-09-25 15:55:53 +00:00
|
|
|
| executeEpoch(uint256) | 23861 | 24497 | 23861 | 26090 | 7 |
|
2024-09-28 18:21:43 +00:00
|
|
|
| expiredStakeStorage | 437 | 2346 | 2437 | 2437 | 22 |
|
|
|
|
| isTrustedCodehash | 541 | 949 | 541 | 2541 | 680 |
|
|
|
|
| lock | 23818 | 23818 | 23818 | 23818 | 1 |
|
|
|
|
| migrateTo | 23922 | 23928 | 23928 | 23934 | 2 |
|
|
|
|
| migration | 417 | 1417 | 1417 | 2417 | 4 |
|
|
|
|
| migrationInitialize | 24624 | 24624 | 24624 | 24624 | 1 |
|
2024-09-25 15:55:53 +00:00
|
|
|
| newEpoch | 441 | 441 | 441 | 441 | 5 |
|
|
|
|
| owner | 2432 | 2432 | 2432 | 2432 | 13 |
|
2024-09-28 18:21:43 +00:00
|
|
|
| pendingMPToBeMinted | 363 | 363 | 363 | 363 | 46424 |
|
|
|
|
| pendingReward | 408 | 1442 | 2408 | 2408 | 29 |
|
2024-09-25 15:55:53 +00:00
|
|
|
| previousManager | 275 | 275 | 275 | 275 | 13 |
|
2024-09-28 18:21:43 +00:00
|
|
|
| setTrustedCodehash | 47960 | 47960 | 47960 | 47960 | 139 |
|
2024-09-25 15:55:53 +00:00
|
|
|
| stake | 23983 | 23983 | 23983 | 23983 | 1 |
|
2024-09-28 18:21:43 +00:00
|
|
|
| stakedToken | 272 | 272 | 272 | 272 | 696 |
|
|
|
|
| startMigration | 103602 | 103610 | 103614 | 103614 | 3 |
|
2024-09-25 15:55:53 +00:00
|
|
|
| startTime | 306 | 306 | 306 | 306 | 21 |
|
2024-09-28 18:21:43 +00:00
|
|
|
| totalSupply | 784 | 1965 | 2784 | 2784 | 22 |
|
2024-09-25 15:55:53 +00:00
|
|
|
| totalSupplyBalance | 407 | 1807 | 2407 | 2407 | 20 |
|
2024-09-28 18:21:43 +00:00
|
|
|
| totalSupplyMP | 384 | 384 | 384 | 2384 | 46445 |
|
|
|
|
| unstake | 23841 | 23841 | 23841 | 23841 | 1 |
|
2024-09-11 12:05:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
| contracts/StakeVault.sol:StakeVault contract | | | | | |
|
|
|
|
|----------------------------------------------|-----------------|--------|--------|--------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
|
|
| 0 | 0 | | | | |
|
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-09-28 18:21:43 +00:00
|
|
|
| acceptMigration | 35311 | 35311 | 35311 | 35311 | 2 |
|
|
|
|
| leave | 35297 | 35297 | 35297 | 35297 | 1 |
|
|
|
|
| lock | 43285 | 96103 | 64379 | 204703 | 7 |
|
2024-09-25 15:53:59 +00:00
|
|
|
| owner | 362 | 362 | 362 | 362 | 679 |
|
2024-09-28 18:21:43 +00:00
|
|
|
| stake | 27265 | 282007 | 265700 | 351859 | 684 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| stakedToken | 212 | 212 | 212 | 212 | 2 |
|
2024-09-28 18:21:43 +00:00
|
|
|
| unstake | 40180 | 97074 | 78700 | 233556 | 11 |
|
2024-09-11 12:05:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
| contracts/VaultFactory.sol:VaultFactory contract | | | | | |
|
|
|
|
|--------------------------------------------------|-----------------|--------|--------|--------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
|
|
| 0 | 0 | | | | |
|
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-09-28 18:21:43 +00:00
|
|
|
| createVault | 696530 | 696530 | 696530 | 696530 | 683 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| setStakeManager | 23710 | 26669 | 26076 | 30222 | 3 |
|
|
|
|
| stakeManager | 368 | 1868 | 2368 | 2368 | 4 |
|
|
|
|
|
|
|
|
|
2024-09-28 18:21:43 +00:00
|
|
|
| contracts/storage/ExpiredStakeStorage.sol:ExpiredStakeStorage contract | | | | | |
|
|
|
|
|------------------------------------------------------------------------|-----------------|-------|--------|-------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
|
|
| 0 | 0 | | | | |
|
|
|
|
| Function Name | min | avg | median | max | # calls |
|
|
|
|
| getExpiredMP | 2427 | 2427 | 2427 | 2427 | 23721 |
|
|
|
|
| transferOwnership | 28533 | 28533 | 28533 | 28533 | 1 |
|
|
|
|
|
|
|
|
|
2024-09-11 12:05:18 +00:00
|
|
|
| lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol:ERC20 contract | | | | | |
|
|
|
|
|---------------------------------------------------------------------------|-----------------|-------|--------|-------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
|
|
| 0 | 0 | | | | |
|
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-09-28 18:21:43 +00:00
|
|
|
| approve | 46175 | 46238 | 46199 | 46367 | 679 |
|
|
|
|
| balanceOf | 561 | 2107 | 2561 | 2561 | 30740 |
|
2024-09-11 12:05:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
| script/Deploy.s.sol:Deploy contract | | | | | |
|
|
|
|
|-------------------------------------|-----------------|---------|---------|---------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
2024-09-28 18:21:43 +00:00
|
|
|
| 6142896 | 29649 | | | | |
|
2024-09-11 12:05:18 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-09-28 18:21:43 +00:00
|
|
|
| run | 5338557 | 5338557 | 5338557 | 5338557 | 66 |
|
2024-09-11 12:05:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
| script/DeployMigrationStakeManager.s.sol:DeployMigrationStakeManager contract | | | | | |
|
|
|
|
|-------------------------------------------------------------------------------|-----------------|---------|---------|---------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
2024-09-28 18:21:43 +00:00
|
|
|
| 3306430 | 16417 | | | | |
|
2024-09-11 12:05:18 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-09-28 18:21:43 +00:00
|
|
|
| run | 2324886 | 2324886 | 2324886 | 2324886 | 19 |
|
2024-09-11 12:05:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
| script/DeploymentConfig.s.sol:DeploymentConfig contract | | | | | |
|
|
|
|
|---------------------------------------------------------|-----------------|-----|--------|-----|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
|
|
| 0 | 0 | | | | |
|
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-09-25 15:53:59 +00:00
|
|
|
| activeNetworkConfig | 455 | 455 | 455 | 455 | 132 |
|
2024-09-11 12:05:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
| test/mocks/BrokenERC20.s.sol:BrokenERC20 contract | | | | | |
|
|
|
|
|---------------------------------------------------|-----------------|-------|--------|-------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
|
|
| 0 | 0 | | | | |
|
|
|
|
| Function Name | min | avg | median | max | # calls |
|
|
|
|
| approve | 46175 | 46175 | 46175 | 46175 | 1 |
|
|
|
|
| balanceOf | 561 | 1227 | 561 | 2561 | 3 |
|
|
|
|
|
|
|
|
|
|
|
|
| test/script/DeployBroken.s.sol:DeployBroken contract | | | | | |
|
|
|
|
|------------------------------------------------------|-----------------|---------|---------|---------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
2024-09-28 18:21:43 +00:00
|
|
|
| 4827656 | 23447 | | | | |
|
2024-09-11 12:05:18 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-09-28 18:21:43 +00:00
|
|
|
| run | 4178379 | 4178379 | 4178379 | 4178379 | 1 |
|
2024-09-11 12:05:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|