mirror of https://github.com/logos-co/staking.git
123 lines
11 KiB
Plaintext
123 lines
11 KiB
Plaintext
| contracts/StakeManager.sol:StakeManager contract | | | | | |
|
|
|--------------------------------------------------|-----------------|--------|--------|--------|---------|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
| 2469345 | 12797 | | | | |
|
|
| Function Name | min | avg | median | max | # calls |
|
|
| EPOCH_SIZE | 307 | 307 | 307 | 307 | 1476 |
|
|
| MAX_BOOST | 285 | 285 | 285 | 285 | 637 |
|
|
| MAX_LOCKUP_PERIOD | 361 | 361 | 361 | 361 | 4 |
|
|
| MIN_LOCKUP_PERIOD | 287 | 287 | 287 | 287 | 12 |
|
|
| YEAR | 263 | 263 | 263 | 263 | 637 |
|
|
| accounts | 1561 | 1561 | 1561 | 1561 | 144375 |
|
|
| calculateMPToMint | 740 | 740 | 740 | 740 | 1276 |
|
|
| 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 |
|
|
| lock | 23840 | 23840 | 23840 | 23840 | 1 |
|
|
| migrateTo | 23869 | 23875 | 23875 | 23881 | 2 |
|
|
| migration | 415 | 1415 | 1415 | 2415 | 4 |
|
|
| migrationInitialize | 24578 | 24578 | 24578 | 24578 | 1 |
|
|
| owner | 2408 | 2408 | 2408 | 2408 | 13 |
|
|
| pendingMPToBeMinted | 364 | 364 | 364 | 364 | 46466 |
|
|
| pendingReward | 364 | 1398 | 2364 | 2364 | 29 |
|
|
| previousManager | 263 | 263 | 263 | 263 | 13 |
|
|
| setVault | 46227 | 46227 | 46227 | 46227 | 135 |
|
|
| stake | 23983 | 23983 | 23983 | 23983 | 1 |
|
|
| stakeRewardEstimate | 412 | 2294 | 2412 | 2412 | 17 |
|
|
| stakedToken | 261 | 261 | 261 | 261 | 692 |
|
|
| startMigration | 107990 | 107998 | 108002 | 108002 | 3 |
|
|
| totalSupply | 740 | 1921 | 2740 | 2740 | 22 |
|
|
| totalSupplyBalance | 385 | 1785 | 2385 | 2385 | 20 |
|
|
| totalSupplyMP | 385 | 385 | 385 | 2385 | 46487 |
|
|
| unstake | 23819 | 23819 | 23819 | 23819 | 1 |
|
|
|
|
|
|
| contracts/StakeManager.sol:StakeRewardEstimate contract | | | | | |
|
|
|---------------------------------------------------------|-----------------|-------|--------|-------|---------|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
| 0 | 0 | | | | |
|
|
| Function Name | min | avg | median | max | # calls |
|
|
| getExpiredMP | 2427 | 2427 | 2427 | 2427 | 23645 |
|
|
| 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 | 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 |
|
|
| stakedToken | 212 | 212 | 212 | 212 | 2 |
|
|
| unstake | 42248 | 92540 | 80334 | 206828 | 11 |
|
|
|
|
|
|
| contracts/VaultFactory.sol:VaultFactory contract | | | | | |
|
|
|--------------------------------------------------|-----------------|--------|--------|--------|---------|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
| 0 | 0 | | | | |
|
|
| Function Name | min | avg | median | max | # calls |
|
|
| createVault | 696519 | 696519 | 696519 | 696519 | 679 |
|
|
| 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 | 46236 | 46199 | 46367 | 675 |
|
|
| balanceOf | 561 | 2108 | 2561 | 2561 | 30755 |
|
|
|
|
|
|
| script/Deploy.s.sol:Deploy contract | | | | | |
|
|
|-------------------------------------|-----------------|---------|---------|---------|---------|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
| 6070229 | 29294 | | | | |
|
|
| Function Name | min | avg | median | max | # calls |
|
|
| run | 5320405 | 5320405 | 5320405 | 5320405 | 61 |
|
|
|
|
|
|
| script/DeployMigrationStakeManager.s.sol:DeployMigrationStakeManager contract | | | | | |
|
|
|-------------------------------------------------------------------------------|-----------------|---------|---------|---------|---------|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
| 3233781 | 16062 | | | | |
|
|
| Function Name | min | avg | median | max | # calls |
|
|
| run | 2306051 | 2306051 | 2306051 | 2306051 | 14 |
|
|
|
|
|
|
| script/DeploymentConfig.s.sol:DeploymentConfig contract | | | | | |
|
|
|---------------------------------------------------------|-----------------|-----|--------|-----|---------|
|
|
| Deployment Cost | Deployment Size | | | | |
|
|
| 0 | 0 | | | | |
|
|
| Function Name | min | avg | median | max | # calls |
|
|
| activeNetworkConfig | 455 | 455 | 455 | 455 | 122 |
|
|
|
|
|
|
| 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 | | | | |
|
|
| 4754997 | 23092 | | | | |
|
|
| Function Name | min | avg | median | max | # calls |
|
|
| run | 4160227 | 4160227 | 4160227 | 4160227 | 1 |
|
|
|
|
|
|
|
|
|