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

Multicall #18

Closed YouStillAlive closed 3 months ago

github-actions[bot] commented 3 months 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,643,519 5,677,719 5,660,619 2 3.22
       setNonfungiblePositionManager(address,address) - - 68,978 1 0.04
NonfungiblePositionManager
       approve(address,uint256) 28,952 46,371 40,458 3 0.02
SwapRouter
       exactInput((bytes,address,uint256,uint256,uint256)) 112,087 243,171 199,476 3 0.11
       multicall(bytes[]) - - 155,876 2 0.09

Deployments

Min Max Avg Block % usd avg
BNBPartyFactory - - 2,012,965 1.5 % 1.15
MockNonfungibleTokenPositionDescriptor - - 111,537 0.1 % 0.06
NonfungiblePositionManager - - 5,171,524 4 % 2.94
SwapRouter - - 2,201,090 1.7 % 1.25
UniswapV3Factory - - 5,437,109 4.2 % 3.10

Solidity and Network Config

Settings Value
Solidity: version 0.8.24
Solidity: optimized true
Solidity: runs 200
Solidity: viaIR false
Block Limit 130,000,000
L1 Gas Price 1 gwei
Token Price 569.42 usd/bnb
Network BINANCE
Toolchain hardhat
github-actions[bot] commented 3 months ago

Slither report

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

https://github.com/The-Poolz/BNBParty.Factory/blob/3102f601f1c7ce34947a05b8f8adc54132b8c9a7/contracts/BNBPartyInternal.sol#L8-L36

reentrancy-no-eth

Impact: Medium Confidence: Medium

https://github.com/The-Poolz/BNBParty.Factory/blob/3102f601f1c7ce34947a05b8f8adc54132b8c9a7/contracts/BNBPartyInternal.sol#L78-L98

uninitialized-local

Impact: Medium Confidence: Medium

https://github.com/The-Poolz/BNBParty.Factory/blob/3102f601f1c7ce34947a05b8f8adc54132b8c9a7/contracts/BNBPartyInternal.sol#L15

https://github.com/The-Poolz/BNBParty.Factory/blob/3102f601f1c7ce34947a05b8f8adc54132b8c9a7/contracts/BNBPartyInternal.sol#L16

unused-return

Impact: Medium Confidence: Medium

https://github.com/The-Poolz/BNBParty.Factory/blob/3102f601f1c7ce34947a05b8f8adc54132b8c9a7/contracts/BNBPartyInternal.sol#L8-L36

https://github.com/The-Poolz/BNBParty.Factory/blob/3102f601f1c7ce34947a05b8f8adc54132b8c9a7/contracts/BNBPartyInternal.sol#L38-L70

https://github.com/The-Poolz/BNBParty.Factory/blob/3102f601f1c7ce34947a05b8f8adc54132b8c9a7/contracts/BNBPartyInternal.sol#L78-L98

https://github.com/The-Poolz/BNBParty.Factory/blob/3102f601f1c7ce34947a05b8f8adc54132b8c9a7/contracts/BNBPartyInternal.sol#L78-L98

shadowing-local

Impact: Low Confidence: High

https://github.com/The-Poolz/BNBParty.Factory/blob/3102f601f1c7ce34947a05b8f8adc54132b8c9a7/contracts/token/ERC20Token.sol#L9

https://github.com/The-Poolz/BNBParty.Factory/blob/3102f601f1c7ce34947a05b8f8adc54132b8c9a7/contracts/token/ERC20Token.sol#L10

reentrancy-benign

Impact: Low Confidence: Medium

https://github.com/The-Poolz/BNBParty.Factory/blob/3102f601f1c7ce34947a05b8f8adc54132b8c9a7/contracts/BNBPartyInternal.sol#L38-L70

https://github.com/The-Poolz/BNBParty.Factory/blob/3102f601f1c7ce34947a05b8f8adc54132b8c9a7/contracts/BNBPartyInternal.sol#L8-L36

low-level-calls

Impact: Informational Confidence: High

https://github.com/The-Poolz/BNBParty.Factory/blob/3102f601f1c7ce34947a05b8f8adc54132b8c9a7/contracts/BNBPartyInternal.sol#L72-L76

naming-convention

Impact: Informational Confidence: High

https://github.com/The-Poolz/BNBParty.Factory/blob/3102f601f1c7ce34947a05b8f8adc54132b8c9a7/contracts/BNBPartyState.sol#L17

https://github.com/The-Poolz/BNBParty.Factory/blob/3102f601f1c7ce34947a05b8f8adc54132b8c9a7/contracts/BNBPartyState.sol#L32

https://github.com/The-Poolz/BNBParty.Factory/blob/3102f601f1c7ce34947a05b8f8adc54132b8c9a7/contracts/BNBPartyState.sol#L10

https://github.com/The-Poolz/BNBParty.Factory/blob/3102f601f1c7ce34947a05b8f8adc54132b8c9a7/contracts/BNBPartyState.sol#L33

https://github.com/The-Poolz/BNBParty.Factory/blob/3102f601f1c7ce34947a05b8f8adc54132b8c9a7/contracts/interfaces/INonfungiblePositionManager.sol#L184

unused-import

Impact: Informational Confidence: High