2024-09-11 12:05:18 +00:00
|
|
|
| contracts/StakeManager.sol:StakeManager contract | | | | | |
|
|
|
|
|--------------------------------------------------|-----------------|--------|--------|--------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
2024-09-19 13:35:45 +00:00
|
|
|
| 2931383 | 14953 | | | | |
|
2024-09-11 12:05:18 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
|
|
|
| EPOCH_SIZE | 307 | 307 | 307 | 307 | 816 |
|
|
|
|
| MAX_BOOST | 285 | 285 | 285 | 285 | 1 |
|
|
|
|
| MAX_LOCKUP_PERIOD | 361 | 361 | 361 | 361 | 4 |
|
2024-09-19 13:35:45 +00:00
|
|
|
| MIN_LOCKUP_PERIOD | 287 | 287 | 287 | 287 | 12 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| YEAR | 263 | 263 | 263 | 263 | 1 |
|
2024-09-24 15:00:35 +00:00
|
|
|
| accounts | 1597 | 1597 | 1597 | 1597 | 12050 |
|
2024-09-19 13:35:45 +00:00
|
|
|
| calculateMPToMint | 740 | 740 | 740 | 740 | 4 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| currentEpoch | 406 | 1691 | 2406 | 2406 | 28 |
|
2024-09-23 05:10:01 +00:00
|
|
|
| epochEnd | 627 | 643 | 627 | 4627 | 480 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| epochReward | 1403 | 2903 | 1403 | 5903 | 3 |
|
2024-09-24 15:00:35 +00:00
|
|
|
| executeAccount | 28897 | 95914 | 95004 | 171987 | 9611 |
|
2024-09-23 05:10:01 +00:00
|
|
|
| executeEpoch | 23436 | 170888 | 187183 | 204283 | 419 |
|
2024-09-24 15:00:35 +00:00
|
|
|
| isVault | 540 | 575 | 540 | 2540 | 7108 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| lock | 23840 | 23840 | 23840 | 23840 | 1 |
|
|
|
|
| migrateTo | 23869 | 23875 | 23875 | 23881 | 2 |
|
|
|
|
| migration | 439 | 1439 | 1439 | 2439 | 4 |
|
|
|
|
| migrationInitialize | 24602 | 24602 | 24602 | 24602 | 1 |
|
|
|
|
| owner | 2432 | 2432 | 2432 | 2432 | 13 |
|
2024-09-23 05:10:01 +00:00
|
|
|
| pendingMPToBeMinted | 364 | 364 | 364 | 364 | 202 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| pendingReward | 364 | 1398 | 2364 | 2364 | 29 |
|
|
|
|
| previousManager | 275 | 275 | 275 | 275 | 13 |
|
2024-09-23 05:10:01 +00:00
|
|
|
| setVault | 46239 | 46239 | 46239 | 46239 | 125 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| stake | 23983 | 23983 | 23983 | 23983 | 1 |
|
|
|
|
| stakeRewardEstimate | 436 | 2269 | 2436 | 2436 | 12 |
|
2024-09-24 15:00:35 +00:00
|
|
|
| stakedToken | 273 | 273 | 273 | 273 | 7124 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| startMigration | 108037 | 108045 | 108049 | 108049 | 3 |
|
|
|
|
| totalSupply | 740 | 1921 | 2740 | 2740 | 22 |
|
|
|
|
| totalSupplyBalance | 385 | 1785 | 2385 | 2385 | 20 |
|
2024-09-23 05:10:01 +00:00
|
|
|
| totalSupplyMP | 385 | 510 | 385 | 2385 | 223 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| unstake | 23819 | 23819 | 23819 | 23819 | 1 |
|
|
|
|
|
|
|
|
|
|
|
|
| contracts/StakeManager.sol:StakeRewardEstimate contract | | | | | |
|
|
|
|
|---------------------------------------------------------|-----------------|-------|--------|-------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
|
|
| 0 | 0 | | | | |
|
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-09-23 05:10:01 +00:00
|
|
|
| getExpiredMP | 2427 | 2427 | 2427 | 2427 | 475 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| transferOwnership | 28533 | 28533 | 28533 | 28533 | 1 |
|
|
|
|
|
|
|
|
|
|
|
|
| contracts/StakeVault.sol:StakeVault contract | | | | | |
|
|
|
|
|----------------------------------------------|-----------------|--------|--------|--------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
|
|
| 0 | 0 | | | | |
|
|
|
|
| Function Name | min | avg | median | max | # calls |
|
|
|
|
| acceptMigration | 35258 | 35258 | 35258 | 35258 | 2 |
|
|
|
|
| leave | 35244 | 35244 | 35244 | 35244 | 1 |
|
2024-09-19 13:35:45 +00:00
|
|
|
| lock | 45192 | 73900 | 66395 | 158442 | 7 |
|
2024-09-24 15:00:35 +00:00
|
|
|
| owner | 362 | 362 | 362 | 362 | 7107 |
|
|
|
|
| stake | 27265 | 268924 | 267631 | 353862 | 7112 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| stakedToken | 212 | 212 | 212 | 212 | 2 |
|
2024-09-19 13:35:45 +00:00
|
|
|
| unstake | 42163 | 92598 | 80285 | 207456 | 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-24 15:00:35 +00:00
|
|
|
| createVault | 696531 | 696531 | 696531 | 696531 | 7111 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| setStakeManager | 23710 | 26669 | 26076 | 30222 | 3 |
|
|
|
|
| stakeManager | 368 | 1868 | 2368 | 2368 | 4 |
|
|
|
|
|
|
|
|
|
|
|
|
| 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-24 15:00:35 +00:00
|
|
|
| approve | 46175 | 46198 | 46199 | 46211 | 7107 |
|
|
|
|
| balanceOf | 561 | 621 | 561 | 2561 | 20439 |
|
2024-09-11 12:05:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
| script/Deploy.s.sol:Deploy contract | | | | | |
|
|
|
|
|-------------------------------------|-----------------|---------|---------|---------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
2024-09-19 13:35:45 +00:00
|
|
|
| 6532373 | 31450 | | | | |
|
2024-09-11 12:05:18 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-09-19 13:35:45 +00:00
|
|
|
| run | 5752636 | 5752636 | 5752636 | 5752636 | 56 |
|
2024-09-11 12:05:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
| script/DeployMigrationStakeManager.s.sol:DeployMigrationStakeManager contract | | | | | |
|
|
|
|
|-------------------------------------------------------------------------------|-----------------|---------|---------|---------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
2024-09-19 13:35:45 +00:00
|
|
|
| 3695815 | 18218 | | | | |
|
2024-09-11 12:05:18 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-09-19 13:35:45 +00:00
|
|
|
| run | 2738306 | 2738306 | 2738306 | 2738306 | 9 |
|
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-19 13:35:45 +00:00
|
|
|
| activeNetworkConfig | 455 | 455 | 455 | 455 | 112 |
|
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-19 13:35:45 +00:00
|
|
|
| 5217091 | 25248 | | | | |
|
2024-09-11 12:05:18 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-09-19 13:35:45 +00:00
|
|
|
| run | 4592458 | 4592458 | 4592458 | 4592458 | 1 |
|
2024-09-11 12:05:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|