The-Poolz / LockDealNFT.DispenserProvider

NFT Dispenser Provider
MIT License
0 stars 1 forks source link

`modifiers` version #31

Closed YouStillAlive closed 3 weeks ago

github-actions[bot] commented 3 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
DispenserProvider
       createNewPool(address[],uint256[],bytes) 294,640 322,940 321,171 16 0.19
       dispenseLock(uint256,uint256,address,(address,uint256[])[],bytes) 339,166 351,616 345,582 9 0.21
ERC20Token
       approve(address,uint256) - - 45,962 16 0.03
LockDealNFT
       approve(address,uint256) - - 48,353 1 0.03
       setApprovalForAll(address,bool) 24,828 46,740 39,436 3 0.02
       setApprovedContract(address,bool) 48,143 48,155 48,152 4 0.03

Deployments

Min Max Avg Block % usd avg
DealProvider - - 1,558,658 1.2 % 0.93
DispenserProvider - - 2,192,455 1.7 % 1.31
ERC20Token - - 648,905 0.5 % 0.39
LockDealNFT - - 4,305,889 3.3 % 2.57
LockDealProvider - - 1,707,187 1.3 % 1.02
MockVaultManager - - 322,429 0.2 % 0.19
TimedDealProvider - - 1,854,511 1.4 % 1.11

Solidity and Network Config

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

Slither report

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

https://github.com/The-Poolz/LockDealNFT.DispenserProvider/blob/740c0947baf5d047ca0a4a55cf72e3e712fa3a34/contracts/DispenserInternal.sol#L43-L52

reentrancy-events

Impact: Low Confidence: Medium

https://github.com/The-Poolz/LockDealNFT.DispenserProvider/blob/740c0947baf5d047ca0a4a55cf72e3e712fa3a34/contracts/DispenserProvider.sol#L24-L46