2024-02-24 19:32:58 +00:00
|
|
|
| contracts/StakeManager.sol:StakeManager contract | | | | | |
|
|
|
|
|--------------------------------------------------|-----------------|--------|--------|--------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
2024-08-07 23:09:34 +00:00
|
|
|
| 2510602 | 12755 | | | | |
|
2024-02-24 19:32:58 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-08-07 23:09:34 +00:00
|
|
|
| EPOCH_SIZE | 285 | 285 | 285 | 285 | 15 |
|
|
|
|
| MAX_BOOST | 307 | 307 | 307 | 307 | 1 |
|
2024-08-07 16:51:45 +00:00
|
|
|
| MAX_LOCKUP_PERIOD | 405 | 405 | 405 | 405 | 4 |
|
|
|
|
| MIN_LOCKUP_PERIOD | 264 | 264 | 264 | 264 | 10 |
|
2024-08-07 23:09:34 +00:00
|
|
|
| YEAR | 285 | 285 | 285 | 285 | 1 |
|
|
|
|
| accounts | 1539 | 1539 | 1539 | 1539 | 712 |
|
|
|
|
| calculateMPToMint | 718 | 718 | 718 | 718 | 2 |
|
2024-08-07 16:51:45 +00:00
|
|
|
| currentEpoch | 364 | 1697 | 2364 | 2364 | 27 |
|
|
|
|
| epochEnd | 649 | 677 | 649 | 4649 | 276 |
|
|
|
|
| epochReward | 1413 | 2913 | 1413 | 5913 | 3 |
|
2024-08-07 23:09:34 +00:00
|
|
|
| executeAccount | 1311 | 28236 | 26682 | 147584 | 535 |
|
|
|
|
| executeEpoch | 394 | 132620 | 135587 | 159487 | 223 |
|
|
|
|
| isVault | 517 | 660 | 517 | 2517 | 278 |
|
|
|
|
| lock | 2658 | 18188 | 4778 | 104477 | 7 |
|
2024-08-07 16:51:45 +00:00
|
|
|
| migrateTo | 1019 | 1691 | 1019 | 2699 | 5 |
|
|
|
|
| migration | 371 | 1371 | 1371 | 2371 | 4 |
|
|
|
|
| migrationInitialize | 582 | 8217 | 10413 | 11463 | 4 |
|
2024-08-07 23:09:34 +00:00
|
|
|
| owner | 2364 | 2364 | 2364 | 2364 | 13 |
|
2024-08-07 16:51:45 +00:00
|
|
|
| pendingMPToBeMinted | 386 | 386 | 386 | 386 | 2 |
|
|
|
|
| pendingReward | 386 | 1420 | 2386 | 2386 | 29 |
|
|
|
|
| previousManager | 240 | 240 | 240 | 240 | 13 |
|
|
|
|
| setVault | 22628 | 22628 | 22628 | 22628 | 20 |
|
2024-08-07 23:09:34 +00:00
|
|
|
| stake | 2661 | 170242 | 164372 | 282909 | 280 |
|
|
|
|
| stakedToken | 283 | 283 | 283 | 283 | 294 |
|
|
|
|
| startMigration | 52778 | 55844 | 57378 | 57378 | 3 |
|
2024-08-07 16:51:45 +00:00
|
|
|
| totalSupply | 762 | 1943 | 2762 | 2762 | 22 |
|
2024-08-07 23:09:34 +00:00
|
|
|
| totalSupplyBalance | 362 | 1762 | 2362 | 2362 | 20 |
|
2024-08-07 16:51:45 +00:00
|
|
|
| totalSupplyMP | 362 | 1579 | 2362 | 2362 | 23 |
|
2024-08-07 23:09:34 +00:00
|
|
|
| unstake | 1730 | 31154 | 6267 | 151766 | 11 |
|
2024-02-24 19:32:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
| contracts/StakeVault.sol:StakeVault contract | | | | | |
|
|
|
|
|----------------------------------------------|-----------------|--------|--------|--------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
|
|
| 635445 | 3370 | | | | |
|
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-08-07 16:51:45 +00:00
|
|
|
| acceptMigration | 1704 | 1704 | 1704 | 1704 | 2 |
|
|
|
|
| leave | 1690 | 1690 | 1690 | 1690 | 1 |
|
2024-08-07 23:09:34 +00:00
|
|
|
| lock | 3731 | 21633 | 5635 | 105334 | 6 |
|
|
|
|
| owner | 362 | 362 | 362 | 362 | 280 |
|
|
|
|
| stake | 3433 | 200896 | 195147 | 313684 | 280 |
|
2024-02-24 19:32:58 +00:00
|
|
|
| stakedToken | 212 | 212 | 212 | 212 | 2 |
|
2024-08-07 23:09:34 +00:00
|
|
|
| unstake | 2588 | 39277 | 10588 | 156087 | 10 |
|
2024-02-24 19:32:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
| contracts/VaultFactory.sol:VaultFactory contract | | | | | |
|
|
|
|
|--------------------------------------------------|-----------------|--------|--------|--------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
|
|
| 1043406 | 5305 | | | | |
|
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-08-07 23:09:34 +00:00
|
|
|
| createVault | 670977 | 671242 | 670977 | 675477 | 281 |
|
2024-02-24 19:32:58 +00:00
|
|
|
| setStakeManager | 2518 | 5317 | 4644 | 8790 | 3 |
|
|
|
|
| stakeManager | 368 | 1868 | 2368 | 2368 | 4 |
|
|
|
|
|
|
|
|
|
|
|
|
| lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol:ERC20 contract | | | | | |
|
|
|
|
|---------------------------------------------------------------------------|-----------------|-------|--------|-------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
|
|
| 649818 | 3562 | | | | |
|
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-08-07 23:09:34 +00:00
|
|
|
| approve | 24603 | 24603 | 24603 | 24603 | 278 |
|
|
|
|
| balanceOf | 561 | 601 | 561 | 2561 | 1765 |
|
|
|
|
| transfer | 3034 | 3486 | 3034 | 22934 | 233 |
|
|
|
|
| transferFrom | 27530 | 27530 | 27530 | 27530 | 279 |
|
2024-02-24 19:32:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
| script/Deploy.s.sol:Deploy contract | | | | | |
|
|
|
|
|-------------------------------------|-----------------|---------|---------|---------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
2024-08-07 23:09:34 +00:00
|
|
|
| 5595244 | 29252 | | | | |
|
2024-02-24 19:32:58 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-08-07 23:09:34 +00:00
|
|
|
| run | 5290750 | 5290750 | 5290750 | 5290750 | 54 |
|
2024-08-07 16:51:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
| script/DeployMigrationStakeManager.s.sol:DeployMigrationStakeManager contract | | | | | |
|
|
|
|
|-------------------------------------------------------------------------------|-----------------|---------|---------|---------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
2024-08-07 23:09:34 +00:00
|
|
|
| 2944633 | 16020 | | | | |
|
2024-08-07 16:51:45 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-08-07 23:09:34 +00:00
|
|
|
| run | 2548285 | 2548285 | 2548285 | 2548285 | 9 |
|
2024-02-24 19:32:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
| script/DeploymentConfig.s.sol:DeploymentConfig contract | | | | | |
|
|
|
|
|---------------------------------------------------------|-----------------|-----|--------|-----|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
|
|
| 1634091 | 8548 | | | | |
|
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-08-07 16:51:45 +00:00
|
|
|
| activeNetworkConfig | 455 | 455 | 455 | 455 | 108 |
|
2024-02-24 19:32:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
| test/mocks/BrokenERC20.s.sol:BrokenERC20 contract | | | | | |
|
|
|
|
|---------------------------------------------------|-----------------|-------|--------|-------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
|
|
| 475642 | 2660 | | | | |
|
|
|
|
| Function Name | min | avg | median | max | # calls |
|
|
|
|
| approve | 24603 | 24603 | 24603 | 24603 | 1 |
|
|
|
|
| balanceOf | 561 | 1227 | 561 | 2561 | 3 |
|
|
|
|
| transferFrom | 511 | 511 | 511 | 511 | 1 |
|
|
|
|
|
|
|
|
|
|
|
|
| test/script/DeployBroken.s.sol:DeployBroken contract | | | | | |
|
|
|
|
|------------------------------------------------------|-----------------|---------|---------|---------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
2024-08-07 23:09:34 +00:00
|
|
|
| 4367919 | 23050 | | | | |
|
2024-02-24 19:32:58 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-08-07 23:09:34 +00:00
|
|
|
| run | 4130572 | 4130572 | 4130572 | 4130572 | 1 |
|
2024-02-24 19:32:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|