The-Poolz / LockDealNFT.DispenserProvider

NFT Dispenser Provider
MIT License
0 stars 1 forks source link

`README` #32

Closed YouStillAlive closed 3 weeks ago

YouStillAlive commented 3 weeks ago

closes #7

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,580 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,467 1.7 % 1.30
ERC20Token - - 648,905 0.5 % 0.39
LockDealNFT - - 4,305,889 3.3 % 2.56
LockDealProvider - - 1,707,187 1.3 % 1.02
MockVaultManager - - 322,429 0.2 % 0.19
TimedDealProvider - - 1,854,511 1.4 % 1.10

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 594.99 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/798ccb2fb83388a5bb0de4623eda7e42ee5ca060/contracts/DispenserInternal.sol#L41-L50

reentrancy-events

Impact: Low Confidence: Medium

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