bnb-party / BNBParty.Factory

Smart contract manages Liquidity Pools and Token creation, enabling decentralized swaps and liquidity handling
MIT License
2 stars 0 forks source link

ironblocks integration #81

Closed YouStillAlive closed 4 weeks ago

github-actions[bot] commented 4 weeks ago

Methods

Symbol Meaning
Execution gas for this method does not include intrinsic gas overhead
Cost was non-zero but below the precision setting for the currency display (see options)
Min Max Avg Calls usd avg
BNBPartyFactory
       createParty(string,string) 5,709,285 5,886,143 5,744,761 36 3.28
       joinParty(address,uint256) 144,059 5,731,475 2,088,259 26 1.19
       leaveParty(address,uint256,uint256) 177,926 203,315 183,624 5 0.10
       pause() - - 49,174 5 0.03
       setBNBPartySwapRouter(address) 26,439 48,579 47,349 18 0.03
       setNonfungiblePositionManager(address,address) 29,248 71,239 68,904 18 0.04
       setSwapRouter(address) - - 48,580 16 0.03
       unpause() - - 27,186 5 0.02
       withdrawFee() - - 34,122 2 0.02
       withdrawLPFee(address[]) - - 176,497 1 0.10
       withdrawPartyLPFee(address[]) - - 176,633 2 0.10
NonfungiblePositionManager
       approve(address,uint256) 46,052 46,395 46,303 4 0.03
SwapRouter
       exactInput((bytes,address,uint256,uint256,uint256)) 135,925 145,483 142,297 3 0.08
       multicall(bytes[]) - - 163,939 2 0.09

Deployments

Min Max Avg Block % usd avg
BNBPartyFactory 5,298,526 5,298,538 5,298,537 4.1 % 3.02
MockContract - - 107,813 0.1 % 0.06
MockNonfungibleTokenPositionDescriptor - - 111,329 0.1 % 0.06
NonfungiblePositionManager 5,171,500 5,171,524 5,171,518 4 % 2.95
SqrtPriceCalculator - - 278,712 0.2 % 0.16
SwapRouter 2,201,066 2,201,090 2,201,085 1.7 % 1.26
UniswapV3Factory 5,437,097 5,437,109 5,437,108 4.2 % 3.10

Solidity and Network Config

Settings Value
Solidity: version 0.8.26
Solidity: optimized true
Solidity: runs 200
Solidity: viaIR false
Block Limit 130,000,000
L1 Gas Price 1 gwei
Token Price 570.84 usd/bnb
Network BINANCE
Toolchain hardhat
codecov-commenter commented 4 weeks ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines Coverage Δ
contracts/BNBPartyCreation.sol 100.00% <100.00%> (ø)
contracts/BNBPartyFactory.sol 100.00% <100.00%> (ø)
contracts/BNBPartyFee.sol 100.00% <100.00%> (ø)
contracts/BNBPartyManageable.sol 100.00% <100.00%> (ø)
contracts/BNBPartyState.sol 100.00% <ø> (ø)
github-actions[bot] commented 4 weeks ago

Slither report

THIS CHECKLIST IS NOT COMPLETE. Use --show-ignored-findings to show all the results. Summary

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartyFee.sol#L149-L161

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartyLiquidity.sol#L14-L56

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartyLiquidityHelper.sol#L16-L40

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartyCreation.sol#L43-L77

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartySwaps.sol#L47-L53

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartyFee.sol#L70-L82

reentrancy-benign

Impact: Low Confidence: Medium

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartyLiquidity.sol#L14-L56

reentrancy-events

Impact: Low Confidence: Medium

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartySwaps.sol#L13-L22

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartySwaps.sol#L13-L22

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartySwaps.sol#L13-L22

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartyLiquidity.sol#L14-L56

naming-convention

Impact: Informational Confidence: High

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartyState.sol#L27

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartyState.sol#L14

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartyManageable.sol#L35

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartyManageable.sol#L15

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/interfaces/INonfungiblePositionManager.sol#L184

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartyManageable.sol#L16

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartyManageable.sol#L29

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartyState.sol#L16

reentrancy-unlimited-gas

Impact: Informational Confidence: Medium

https://github.com/bnb-party/BNBParty.Factory/blob/807b5a868b802955781563c5b50cd9365a942193/contracts/BNBPartySwaps.sol#L13-L22