mirror of https://github.com/logos-co/staking.git
127 lines
11 KiB
Plaintext
127 lines
11 KiB
Plaintext
| contracts/StakeManager.sol:StakeManager contract | | | | | |
|
|
|--------------------------------------------------|-----------------|--------|--------|--------|---------|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
| 2530431 | 13341 | | | | |
|
|
| Function Name | min | avg | median | max | # calls |
|
|
| EPOCH_SIZE | 307 | 307 | 307 | 307 | 1498 |
|
|
| MAX_BOOST | 307 | 307 | 307 | 307 | 637 |
|
|
| MAX_LOCKUP_PERIOD | 361 | 361 | 361 | 361 | 4 |
|
|
| MIN_LOCKUP_PERIOD | 264 | 264 | 264 | 264 | 12 |
|
|
| YEAR | 263 | 263 | 263 | 263 | 637 |
|
|
| accounts | 1888 | 1888 | 1888 | 1888 | 144357 |
|
|
| calculateMPToMint | 740 | 740 | 740 | 740 | 1276 |
|
|
| currentEpoch | 384 | 1050 | 384 | 2384 | 54 |
|
|
| epochEnd | 627 | 627 | 627 | 2627 | 23689 |
|
|
| epochReward | 1425 | 2925 | 1425 | 5925 | 3 |
|
|
| executeAccount(address) | 151195 | 151195 | 151195 | 151195 | 2 |
|
|
| executeAccount(address,uint256) | 26562 | 72667 | 74179 | 217044 | 141944 |
|
|
| executeEpoch() | 23458 | 120802 | 121956 | 938985 | 23578 |
|
|
| executeEpoch(uint256) | 23861 | 24497 | 23861 | 26090 | 7 |
|
|
| isVault | 540 | 948 | 540 | 2540 | 680 |
|
|
| lock | 23862 | 23862 | 23862 | 23862 | 1 |
|
|
| migrateTo | 23891 | 23897 | 23897 | 23903 | 2 |
|
|
| migration | 395 | 1395 | 1395 | 2395 | 4 |
|
|
| migrationInitialize | 24602 | 24602 | 24602 | 24602 | 1 |
|
|
| newEpoch | 441 | 441 | 441 | 441 | 5 |
|
|
| owner | 2432 | 2432 | 2432 | 2432 | 13 |
|
|
| pendingMPToBeMinted | 364 | 364 | 364 | 364 | 46460 |
|
|
| pendingReward | 386 | 1420 | 2386 | 2386 | 29 |
|
|
| previousManager | 275 | 275 | 275 | 275 | 13 |
|
|
| setVault | 46239 | 46239 | 46239 | 46239 | 139 |
|
|
| stake | 23983 | 23983 | 23983 | 23983 | 1 |
|
|
| stakeRewardEstimate | 436 | 2345 | 2436 | 2436 | 22 |
|
|
| stakedToken | 295 | 295 | 295 | 295 | 696 |
|
|
| startMigration | 103577 | 103585 | 103589 | 103589 | 3 |
|
|
| startTime | 306 | 306 | 306 | 306 | 21 |
|
|
| totalSupply | 762 | 1943 | 2762 | 2762 | 22 |
|
|
| totalSupplyBalance | 407 | 1807 | 2407 | 2407 | 20 |
|
|
| totalSupplyMP | 362 | 362 | 362 | 2362 | 46481 |
|
|
| unstake | 23841 | 23841 | 23841 | 23841 | 1 |
|
|
|
|
|
|
| contracts/StakeManager.sol:StakeRewardEstimate contract | | | | | |
|
|
|---------------------------------------------------------|-----------------|-------|--------|-------|---------|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
| 0 | 0 | | | | |
|
|
| Function Name | min | avg | median | max | # calls |
|
|
| getExpiredMP | 2427 | 2427 | 2427 | 2427 | 23739 |
|
|
| 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 | 35280 | 35280 | 35280 | 35280 | 2 |
|
|
| leave | 35266 | 35266 | 35266 | 35266 | 1 |
|
|
| lock | 45508 | 91842 | 62159 | 184228 | 7 |
|
|
| owner | 362 | 362 | 362 | 362 | 679 |
|
|
| stake | 27265 | 282267 | 265745 | 351708 | 684 |
|
|
| stakedToken | 212 | 212 | 212 | 212 | 2 |
|
|
| unstake | 40243 | 95910 | 78835 | 233500 | 11 |
|
|
|
|
|
|
| contracts/VaultFactory.sol:VaultFactory contract | | | | | |
|
|
|--------------------------------------------------|-----------------|--------|--------|--------|---------|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
| 0 | 0 | | | | |
|
|
| Function Name | min | avg | median | max | # calls |
|
|
| createVault | 696553 | 696553 | 696553 | 696553 | 683 |
|
|
| 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 |
|
|
| approve | 46175 | 46238 | 46199 | 46367 | 679 |
|
|
| balanceOf | 561 | 2107 | 2561 | 2561 | 30758 |
|
|
|
|
|
|
| script/Deploy.s.sol:Deploy contract | | | | | |
|
|
|-------------------------------------|-----------------|---------|---------|---------|---------|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
| 6183681 | 29838 | | | | |
|
|
| Function Name | min | avg | median | max | # calls |
|
|
| run | 5376447 | 5376447 | 5376447 | 5376447 | 66 |
|
|
|
|
|
|
| script/DeployMigrationStakeManager.s.sol:DeployMigrationStakeManager contract | | | | | |
|
|
|-------------------------------------------------------------------------------|-----------------|---------|---------|---------|---------|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
| 3347204 | 16606 | | | | |
|
|
| Function Name | min | avg | median | max | # calls |
|
|
| run | 2362775 | 2362775 | 2362775 | 2362775 | 19 |
|
|
|
|
|
|
| script/DeploymentConfig.s.sol:DeploymentConfig contract | | | | | |
|
|
|---------------------------------------------------------|-----------------|-----|--------|-----|---------|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
| 0 | 0 | | | | |
|
|
| Function Name | min | avg | median | max | # calls |
|
|
| activeNetworkConfig | 455 | 455 | 455 | 455 | 132 |
|
|
|
|
|
|
| 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 | | | | |
|
|
| 4868436 | 23636 | | | | |
|
|
| Function Name | min | avg | median | max | # calls |
|
|
| run | 4216269 | 4216269 | 4216269 | 4216269 | 1 |
|
|
|
|
|
|
|
|
|