2024-09-11 12:05:18 +00:00
|
|
|
| contracts/StakeManager.sol:StakeManager contract | | | | | |
|
|
|
|
|--------------------------------------------------|-----------------|--------|--------|--------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
2024-09-25 15:45:59 +00:00
|
|
|
| 2469345 | 12797 | | | | |
|
2024-09-11 12:05:18 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-09-25 15:45:59 +00:00
|
|
|
| EPOCH_SIZE | 307 | 307 | 307 | 307 | 1476 |
|
2024-09-25 11:22:16 +00:00
|
|
|
| MAX_BOOST | 285 | 285 | 285 | 285 | 637 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| 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-25 11:22:16 +00:00
|
|
|
| YEAR | 263 | 263 | 263 | 263 | 637 |
|
2024-09-25 15:45:59 +00:00
|
|
|
| accounts | 1561 | 1561 | 1561 | 1561 | 144375 |
|
2024-09-25 11:22:16 +00:00
|
|
|
| calculateMPToMint | 740 | 740 | 740 | 740 | 1276 |
|
2024-09-25 15:45:59 +00:00
|
|
|
| currentEpoch | 406 | 1188 | 406 | 2406 | 46 |
|
|
|
|
| epochEnd | 627 | 627 | 627 | 4627 | 23648 |
|
|
|
|
| epochReward | 1391 | 2891 | 1391 | 5891 | 3 |
|
|
|
|
| executeAccount | 30958 | 76171 | 77953 | 240555 | 141954 |
|
|
|
|
| executeEpoch | 23424 | 145441 | 146624 | 203524 | 23574 |
|
|
|
|
| isVault | 540 | 939 | 540 | 2540 | 676 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| lock | 23840 | 23840 | 23840 | 23840 | 1 |
|
|
|
|
| migrateTo | 23869 | 23875 | 23875 | 23881 | 2 |
|
2024-09-25 15:45:59 +00:00
|
|
|
| migration | 415 | 1415 | 1415 | 2415 | 4 |
|
|
|
|
| migrationInitialize | 24578 | 24578 | 24578 | 24578 | 1 |
|
|
|
|
| owner | 2408 | 2408 | 2408 | 2408 | 13 |
|
|
|
|
| pendingMPToBeMinted | 364 | 364 | 364 | 364 | 46466 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| pendingReward | 364 | 1398 | 2364 | 2364 | 29 |
|
2024-09-25 15:45:59 +00:00
|
|
|
| previousManager | 263 | 263 | 263 | 263 | 13 |
|
|
|
|
| setVault | 46227 | 46227 | 46227 | 46227 | 135 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| stake | 23983 | 23983 | 23983 | 23983 | 1 |
|
2024-09-25 15:45:59 +00:00
|
|
|
| stakeRewardEstimate | 412 | 2294 | 2412 | 2412 | 17 |
|
|
|
|
| stakedToken | 261 | 261 | 261 | 261 | 692 |
|
|
|
|
| startMigration | 107990 | 107998 | 108002 | 108002 | 3 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| totalSupply | 740 | 1921 | 2740 | 2740 | 22 |
|
|
|
|
| totalSupplyBalance | 385 | 1785 | 2385 | 2385 | 20 |
|
2024-09-25 15:45:59 +00:00
|
|
|
| totalSupplyMP | 385 | 385 | 385 | 2385 | 46487 |
|
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-25 15:45:59 +00:00
|
|
|
| getExpiredMP | 2427 | 2427 | 2427 | 2427 | 23645 |
|
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 |
|
2024-09-25 15:45:59 +00:00
|
|
|
| acceptMigration | 35246 | 35246 | 35246 | 35246 | 2 |
|
|
|
|
| leave | 35232 | 35232 | 35232 | 35232 | 1 |
|
|
|
|
| lock | 45376 | 99625 | 66468 | 193557 | 7 |
|
|
|
|
| owner | 362 | 362 | 362 | 362 | 675 |
|
|
|
|
| stake | 27265 | 283876 | 267740 | 353899 | 680 |
|
2024-09-11 12:05:18 +00:00
|
|
|
| stakedToken | 212 | 212 | 212 | 212 | 2 |
|
2024-09-25 15:45:59 +00:00
|
|
|
| unstake | 42248 | 92540 | 80334 | 206828 | 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-25 15:45:59 +00:00
|
|
|
| createVault | 696519 | 696519 | 696519 | 696519 | 679 |
|
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-25 15:45:59 +00:00
|
|
|
| approve | 46175 | 46236 | 46199 | 46367 | 675 |
|
|
|
|
| balanceOf | 561 | 2108 | 2561 | 2561 | 30755 |
|
2024-09-11 12:05:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
| script/Deploy.s.sol:Deploy contract | | | | | |
|
|
|
|
|-------------------------------------|-----------------|---------|---------|---------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
2024-09-25 15:45:59 +00:00
|
|
|
| 6070229 | 29294 | | | | |
|
2024-09-11 12:05:18 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-09-25 15:45:59 +00:00
|
|
|
| run | 5320405 | 5320405 | 5320405 | 5320405 | 61 |
|
2024-09-11 12:05:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
| script/DeployMigrationStakeManager.s.sol:DeployMigrationStakeManager contract | | | | | |
|
|
|
|
|-------------------------------------------------------------------------------|-----------------|---------|---------|---------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
2024-09-25 15:45:59 +00:00
|
|
|
| 3233781 | 16062 | | | | |
|
2024-09-11 12:05:18 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-09-25 15:45:59 +00:00
|
|
|
| run | 2306051 | 2306051 | 2306051 | 2306051 | 14 |
|
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:45:59 +00:00
|
|
|
| activeNetworkConfig | 455 | 455 | 455 | 455 | 122 |
|
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-25 15:45:59 +00:00
|
|
|
| 4754997 | 23092 | | | | |
|
2024-09-11 12:05:18 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-09-25 15:45:59 +00:00
|
|
|
| run | 4160227 | 4160227 | 4160227 | 4160227 | 1 |
|
2024-09-11 12:05:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|