DNFT Protocol is a decentralized cross-chain NFT network. It allows users to mint, trade and manages NFT assets across blockchains, e.g. arts, game & metaverse assets, and data models. By presenting a Data-model as an NFT(DAAN) conception, DNFT pioneers the scenario of NFT applying to the AI industry. The mission of DNFT Protocol is to become the infrastructure and NFT entrance to Web 3.0.
The core team of DNFT is from Australia while most of the members and advisors are all around the world including Turkey, Taiwan and LA.
As an orgin token of parachain, DNF is the token for gas fee consumption. As DNFT DAO Governance token, participating in the construction of DNFT ecosystem.
Hoding DNF can get discounts when paying in DNFT ecosystem, eg, purchasing NFT, NFT storage tax payment, cross-chain asset gas fee. Due to gas fee consumption and further burning mechanism, DNF is deflation token.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract locking ether found:
Contract CreateERC20Minter (#32-67) has payable functions:
- CreateERC20Minter.receive() (#64-66)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
ERC20._initialize(string,string,uint8).name (#505) shadows:
- ERC20.name() (#514-516) (function)
ERC20._initialize(string,string,uint8).symbol (#505) shadows:
- ERC20.symbol() (#522-524) (function)
ERC20._initialize(string,string,uint8).decimals (#505) shadows:
- ERC20.decimals() (#539-541) (function)
ERC20Minter.initialize(string,string,uint8,address).name (#761) shadows:
- ERC20.name() (#514-516) (function)
ERC20Minter.initialize(string,string,uint8,address).symbol (#761) shadows:
- ERC20.symbol() (#522-524) (function)
ERC20Minter.initialize(string,string,uint8,address).decimals (#761) shadows:
- ERC20.decimals() (#539-541) (function)
Rename the local variables that shadow another component.
Additional information: link
CreateERC20Minter.setupMinter(address)._minter (#47) lacks a zero-check on :
- minter = _minter (#48)
ERC20Minter.replaceMinter(address).newMinter (#776) lacks a zero-check on :
- current_minter = newMinter (#777)
Check that the address is not zero.
Additional information: link
Reentrancy in CreateERC20Minter.deployERC20Minter(string,string,uint8,uint8) (#51-57):
External calls:
- ERC20Minter(addr).initialize(name,symbol,decimals,minter) (#55)
Event emitted after the call(s):
- Deployed(addr,count) (#56)
Apply the check-effects-interactions pattern.
Additional information: link
Create2.deploy(uint256,bytes32,bytes) (#12-22) uses assembly
- INLINE ASM (#17-19)
Address.isContract(address) (#111-120) uses assembly
- INLINE ASM (#118)
Address._functionCallWithValue(address,bytes,uint256,string) (#204-225) uses assembly
- INLINE ASM (#217-220)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#204-225) is never used and should be removed
Address.functionCall(address,bytes) (#164-166) is never used and should be removed
Address.functionCall(address,bytes,string) (#174-176) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#189-191) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#199-202) is never used and should be removed
Address.isContract(address) (#111-120) is never used and should be removed
Address.sendValue(address,uint256) (#138-144) is never used and should be removed
Context._msgData() (#84-87) is never used and should be removed
SafeMath.div(uint256,uint256) (#326-328) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#342-348) is never used and should be removed
SafeMath.mod(uint256,uint256) (#362-364) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#378-381) is never used and should be removed
SafeMath.mul(uint256,uint256) (#300-312) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.6.0 (#8) allows old versions
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#138-144):
- (success) = recipient.call{value: amount}() (#142)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#204-225):
- (success,returndata) = target.call{value: weiValue}(data) (#208)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter CreateERC20Minter.setupMinter(address)._minter (#47) is not in mixedCase
Variable ERC20Minter.current_minter (#749) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#85)" inContext (#79-88)
Remove redundant statements if they congest code but offer no value.
Additional information: link
CreateERC20Minter.deployERC20Minter(string,string,uint8,uint8) (#51-57) uses literals with too many digits:
- addr = Create2.deploy(0,salt,type()(ERC20Minter).creationCode) (#54)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
setupMinter(address) should be declared external:
- CreateERC20Minter.setupMinter(address) (#47-49)
deployERC20Minter(string,string,uint8,uint8) should be declared external:
- CreateERC20Minter.deployERC20Minter(string,string,uint8,uint8) (#51-57)
computeAddress(string,string,uint8,uint8,bytes32) should be declared external:
- CreateERC20Minter.computeAddress(string,string,uint8,uint8,bytes32) (#59-62)
name() should be declared external:
- ERC20.name() (#514-516)
symbol() should be declared external:
- ERC20.symbol() (#522-524)
decimals() should be declared external:
- ERC20.decimals() (#539-541)
totalSupply() should be declared external:
- ERC20.totalSupply() (#546-548)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (#553-555)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#565-568)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#573-575)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#584-587)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#601-605)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#619-622)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#638-641)
Use the external attribute for functions never called from the contract.
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Last post in Twitter was more than 30 days ago
Unable to find Youtube account
Unable to find Discord account