| contracts/StakeManager.sol:StakeManager contract | | | | | | |--------------------------------------------------|-----------------|--------|--------|--------|---------| | Deployment Cost | Deployment Size | | | | | | 0 | 13650 | | | | | | Function Name | min | avg | median | max | # calls | | ACCURE_RATE | 284 | 284 | 284 | 284 | 862 | | EXPIRED_STAKE_STORAGE | 394 | 2298 | 2394 | 2394 | 21 | | MAX_LOCKUP_PERIOD | 427 | 427 | 427 | 427 | 4 | | MAX_MULTIPLIER | 286 | 286 | 286 | 286 | 1 | | MIN_LOCKUP_PERIOD | 309 | 309 | 309 | 309 | 12 | | REWARD_TOKEN | 295 | 295 | 295 | 295 | 159 | | START_TIME | 284 | 284 | 284 | 284 | 20 | | YEAR | 286 | 286 | 286 | 286 | 1 | | acceptUpdate | 23697 | 23697 | 23697 | 23697 | 1 | | accounts | 1608 | 1608 | 1608 | 1608 | 5179 | | calculateMP | 834 | 834 | 834 | 834 | 3 | | currentEpoch | 362 | 363 | 362 | 2362 | 23296 | | epochReward | 1425 | 2925 | 1425 | 5925 | 3 | | executeAccount(address) | 33469 | 61836 | 61877 | 148856 | 22492 | | executeAccount(address,uint256) | 26540 | 93763 | 99162 | 195789 | 2563 | | executeEpoch() | 23457 | 120473 | 121845 | 900654 | 22837 | | executeEpoch(uint256) | 23905 | 24541 | 23905 | 26134 | 7 | | getEpochStartTime | 547 | 547 | 547 | 547 | 23150 | | isTrustedCodehash | 519 | 2367 | 2519 | 2519 | 145 | | leave | 23653 | 23653 | 23653 | 23653 | 1 | | lock | 23818 | 23818 | 23818 | 23818 | 1 | | migration | 395 | 1395 | 1395 | 2395 | 4 | | newEpoch | 441 | 441 | 441 | 441 | 5 | | owner | 2410 | 2410 | 2410 | 2410 | 11 | | pendingReward | 386 | 1348 | 386 | 2386 | 27 | | potentialMP | 407 | 407 | 407 | 407 | 44978 | | setTrustedCodehash | 47916 | 47916 | 47916 | 47916 | 134 | | stake | 24025 | 24025 | 24025 | 24025 | 1 | | startMigration | 103680 | 103680 | 103680 | 103680 | 2 | | totalMP | 364 | 364 | 364 | 2364 | 44997 | | totalStaked | 364 | 1697 | 2364 | 2364 | 18 | | totalSupply | 762 | 1862 | 2762 | 2762 | 20 | | unstake | 23864 | 23864 | 23864 | 23864 | 1 | | contracts/StakeManagerUpdated.sol:StakeManagerUpdated contract | | | | | | |----------------------------------------------------------------|-----------------|--------|--------|--------|---------| | Deployment Cost | Deployment Size | | | | | | 2950593 | 14019 | | | | | | Function Name | min | avg | median | max | # calls | | EXPIRED_STAKE_STORAGE | 2438 | 2438 | 2438 | 2438 | 1 | | PREVIOUS_MANAGER | 273 | 273 | 273 | 273 | 2 | | REWARD_TOKEN | 317 | 317 | 317 | 317 | 2 | | START_TIME | 262 | 262 | 262 | 262 | 1 | | currentEpoch | 2384 | 2384 | 2384 | 2384 | 2 | | migrationInitialize | 24646 | 24646 | 24646 | 24646 | 1 | | owner | 2432 | 2432 | 2432 | 2432 | 2 | | pendingReward | 2386 | 2386 | 2386 | 2386 | 2 | | startMigration | 103623 | 103623 | 103623 | 103623 | 1 | | totalMP | 2408 | 2408 | 2408 | 2408 | 2 | | totalStaked | 2386 | 2386 | 2386 | 2386 | 2 | | totalSupply | 2762 | 2762 | 2762 | 2762 | 2 | | contracts/StakeVault.sol:StakeVault contract | | | | | | |----------------------------------------------|-----------------|---------|--------|----------|---------| | Deployment Cost | Deployment Size | | | | | | 0 | 3295 | | | | | | Function Name | min | avg | median | max | # calls | | STAKING_TOKEN | 193 | 193 | 193 | 193 | 2 | | acceptMigration | 35205 | 35205 | 35205 | 35205 | 2 | | leave | 35174 | 35174 | 35174 | 35174 | 1 | | lock | 43174 | 70994 | 62016 | 162413 | 7 | | owner | 318 | 318 | 318 | 318 | 147 | | stake | 27291 | 3606754 | 441921 | 81032722 | 149 | | unstake | 40202 | 94028 | 84429 | 188047 | 11 | | contracts/VaultFactory.sol:VaultFactory contract | | | | | | |--------------------------------------------------|-----------------|--------|--------|--------|---------| | Deployment Cost | Deployment Size | | | | | | 0 | 5230 | | | | | | Function Name | min | avg | median | max | # calls | | createVault | 682905 | 682905 | 682905 | 682905 | 148 | | setStakeManager | 23710 | 26669 | 26076 | 30222 | 3 | | stakeManager | 368 | 1868 | 2368 | 2368 | 4 | | contracts/storage/ExpiredStakeStorage.sol:ExpiredStakeStorage contract | | | | | | |------------------------------------------------------------------------|-----------------|-------|--------|-------|---------| | Deployment Cost | Deployment Size | | | | | | 0 | 1247 | | | | | | Function Name | min | avg | median | max | # calls | | getExpiredMP | 2427 | 2427 | 2427 | 2427 | 79165 | | transferOwnership | 28533 | 28533 | 28533 | 28533 | 1 | | script/Deploy.s.sol:Deploy contract | | | | | | |-------------------------------------|-----------------|---------|---------|---------|---------| | Deployment Cost | Deployment Size | | | | | | 6229855 | 29960 | | | | | | Function Name | min | avg | median | max | # calls | | run | 5504604 | 5504604 | 5504604 | 5504604 | 66 | | script/DeployMigrationStakeManager.s.sol:DeployMigrationStakeManager contract | | | | | | |-------------------------------------------------------------------------------|-----------------|---------|---------|---------|---------| | Deployment Cost | Deployment Size | | | | | | 3510982 | 17282 | | | | | | Function Name | min | avg | median | max | # calls | | run | 2771988 | 2771988 | 2771988 | 2771988 | 19 | | script/DeploymentConfig.s.sol:DeploymentConfig contract | | | | | | |---------------------------------------------------------|-----------------|-----|--------|-----|---------| | Deployment Cost | Deployment Size | | | | | | 0 | 8484 | | | | | | 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 | 2660 | | | | | | Function Name | min | avg | median | max | # calls | | approve | 46175 | 46175 | 46175 | 46175 | 1 | | balanceOf | 561 | 1227 | 561 | 2561 | 3 | | test/mocks/MockERC20.sol:MockERC20 contract | | | | | | |---------------------------------------------|-----------------|-------|--------|-------|---------| | Deployment Cost | Deployment Size | | | | | | 0 | 3530 | | | | | | Function Name | min | avg | median | max | # calls | | approve | 46175 | 46245 | 46211 | 46355 | 144 | | balanceOf | 561 | 2154 | 2561 | 2561 | 29027 | | test/script/DeployBroken.s.sol:DeployBroken contract | | | | | | |------------------------------------------------------|-----------------|---------|---------|---------|---------| | Deployment Cost | Deployment Size | | | | | | 4928023 | 23896 | | | | | | Function Name | min | avg | median | max | # calls | | run | 4350840 | 4350840 | 4350840 | 4350840 | 1 |