2024-02-24 19:32:58 +00:00
|
|
|
| contracts/StakeManager.sol:StakeManager contract | | | | | |
|
|
|
|
|--------------------------------------------------|-----------------|--------|--------|--------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
2024-02-24 19:39:38 +00:00
|
|
|
| 2058079 | 10495 | | | | |
|
2024-02-24 19:32:58 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-02-24 19:39:38 +00:00
|
|
|
| EPOCH_SIZE | 285 | 285 | 285 | 285 | 9 |
|
2024-02-24 19:32:58 +00:00
|
|
|
| MAX_LOCKUP_PERIOD | 405 | 405 | 405 | 405 | 2 |
|
|
|
|
| MIN_LOCKUP_PERIOD | 264 | 264 | 264 | 264 | 3 |
|
2024-02-24 19:39:38 +00:00
|
|
|
| accounts | 1406 | 1406 | 1406 | 1406 | 22 |
|
|
|
|
| currentEpoch | 341 | 1571 | 2341 | 2341 | 13 |
|
|
|
|
| epochEnd | 627 | 627 | 627 | 627 | 56 |
|
|
|
|
| executeAccount | 1311 | 54054 | 58730 | 104630 | 63 |
|
|
|
|
| executeEpoch | 87833 | 95166 | 87833 | 109833 | 3 |
|
|
|
|
| isVault | 517 | 2117 | 2517 | 2517 | 15 |
|
2024-02-24 19:32:58 +00:00
|
|
|
| lock | 2614 | 2614 | 2614 | 2614 | 1 |
|
|
|
|
| migrateTo | 1041 | 1713 | 1041 | 2721 | 5 |
|
|
|
|
| oldManager | 240 | 240 | 240 | 240 | 8 |
|
|
|
|
| owner | 2341 | 2341 | 2341 | 2341 | 8 |
|
2024-02-24 19:39:38 +00:00
|
|
|
| pendingReward | 386 | 1243 | 386 | 2386 | 21 |
|
|
|
|
| setVault | 22606 | 22606 | 22606 | 22606 | 12 |
|
|
|
|
| stake | 2638 | 136864 | 188409 | 189128 | 17 |
|
|
|
|
| stakedToken | 260 | 260 | 260 | 260 | 26 |
|
|
|
|
| totalSupply | 561 | 561 | 561 | 561 | 17 |
|
2024-02-24 19:32:58 +00:00
|
|
|
| totalSupplyBalance | 362 | 1592 | 2362 | 2362 | 13 |
|
2024-02-24 19:39:38 +00:00
|
|
|
| totalSupplyMP | 384 | 1614 | 2384 | 2384 | 13 |
|
|
|
|
| unstake | 1730 | 20008 | 8086 | 127550 | 9 |
|
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 |
|
|
|
|
| acceptMigration | 1726 | 1726 | 1726 | 1726 | 2 |
|
|
|
|
| leave | 1712 | 1712 | 1712 | 1712 | 1 |
|
2024-02-24 19:39:38 +00:00
|
|
|
| owner | 362 | 362 | 362 | 362 | 14 |
|
|
|
|
| stake | 3433 | 165544 | 219184 | 219903 | 17 |
|
2024-02-24 19:32:58 +00:00
|
|
|
| stakedToken | 212 | 212 | 212 | 212 | 2 |
|
2024-02-24 19:39:38 +00:00
|
|
|
| unstake | 2588 | 28122 | 14407 | 131871 | 8 |
|
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-02-24 19:39:38 +00:00
|
|
|
| createVault | 670954 | 674204 | 675454 | 675454 | 18 |
|
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-02-24 19:39:38 +00:00
|
|
|
| approve | 24603 | 24603 | 24603 | 24603 | 15 |
|
|
|
|
| balanceOf | 561 | 819 | 561 | 2561 | 139 |
|
|
|
|
| transfer | 3034 | 8340 | 3034 | 22934 | 15 |
|
|
|
|
| transferFrom | 27530 | 27530 | 27530 | 27530 | 16 |
|
2024-02-24 19:32:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
| script/Deploy.s.sol:Deploy contract | | | | | |
|
|
|
|
|-------------------------------------|-----------------|---------|---------|---------|---------|
|
|
|
|
| Deployment Cost | Deployment Size | | | | |
|
2024-02-24 19:39:38 +00:00
|
|
|
| 5142589 | 26992 | | | | |
|
2024-02-24 19:32:58 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-02-24 19:39:38 +00:00
|
|
|
| run | 4837698 | 4837698 | 4837698 | 4837698 | 32 |
|
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-02-24 19:39:38 +00:00
|
|
|
| activeNetworkConfig | 455 | 455 | 455 | 455 | 64 |
|
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-02-24 19:39:38 +00:00
|
|
|
| 3915327 | 20790 | | | | |
|
2024-02-24 19:32:58 +00:00
|
|
|
| Function Name | min | avg | median | max | # calls |
|
2024-02-24 19:39:38 +00:00
|
|
|
| run | 3677521 | 3677521 | 3677521 | 3677521 | 1 |
|
2024-02-24 19:32:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|