Introducing VIDT Datalink: A hybrid data validation platform using several blockchains & already in use by numerous integrators like IBM, V-ID, LTO Network, Procentec & Navarik
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
VIDT.validateNFT(uint256,bytes,bool) (#400-431) uses delegatecall to a input-controlled function id
- (nft_created,nft_data) = _nftContract.delegatecall(abi.encodeWithSignature(createNFT(bytes),Data)) (#416)
VIDT.validateNFT(uint256,bytes,bool) (#400-431) uses delegatecall to a input-controlled function id
- (nft_created,nft_data) = _nftdContract.delegatecall(abi.encodeWithSignature(createNFT(bytes),Data)) (#414)
VIDT.validateFile(address,uint256,bytes,bool,bool,bool) (#325-375) uses delegatecall to a input-controlled function id
- (nft_created,nft_data) = _nftContract.delegatecall(abi.encodeWithSignature(createNFT(bytes),Data)) (#353)
Avoid using delegatecall. Use only trusted destinations.
Additional information: link
VIDT.mainWallet (#142) shadows:
- Ownable.mainWallet (#52)
Remove the state variable shadowing.
Additional information: link
VIDT.transferToken(address,uint256) (#197-199) ignores return value by BEP20(tokenAddress).transfer(owner(),tokens) (#198)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
Reentrancy in VIDT.validateFile(address,uint256,bytes,bool,bool,bool) (#325-375):
External calls:
- (nft_created,nft_data) = _nftContract.delegatecall(abi.encodeWithSignature(createNFT(bytes),Data)) (#353)
State variables written after the call(s):
- fileHashes[fileHash].nft = nftID (#359)
Reentrancy in VIDT.validateNFT(uint256,bytes,bool) (#400-431):
External calls:
- (nft_created,nft_data) = _nftdContract.delegatecall(abi.encodeWithSignature(createNFT(bytes),Data)) (#414)
- (nft_created,nft_data) = _nftContract.delegatecall(abi.encodeWithSignature(createNFT(bytes),Data)) (#416)
State variables written after the call(s):
- fileHashes[fileHash].nft = nftID (#423)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in VIDT.validateNFT(uint256,bytes,bool) (#400-431):
External calls:
- (nft_created,nft_data) = _nftdContract.delegatecall(abi.encodeWithSignature(createNFT(bytes),Data)) (#414)
- (nft_created,nft_data) = _nftContract.delegatecall(abi.encodeWithSignature(createNFT(bytes),Data)) (#416)
Event emitted after the call(s):
- Transfer(msg.sender,_validationWallet,Payment) (#428)
- ValidateFile(index,fileHash,nftID) (#429)
Reentrancy in VIDT.validateFile(address,uint256,bytes,bool,bool,bool) (#325-375):
External calls:
- (nft_created,nft_data) = _nftContract.delegatecall(abi.encodeWithSignature(createNFT(bytes),Data)) (#353)
Event emitted after the call(s):
- Transfer(msg.sender,To,Payment) (#373)
- ValidateFile(index,fileHash,nftID) (#370)
Apply the check-effects-interactions pattern.
Additional information: link
VIDT.verifyFile(string) (#453-476) uses assembly
- INLINE ASM (#474)
Do not use evm assembly.
Additional information: link
VIDT.mainWallet (#142) is never used in VIDT (#115-595)
Remove unused state variables.
Additional information: link
VIDT.setContracts(address,address).nftContract (#540) shadows:
- VIDT.nftContract() (#581-583) (function)
VIDT._approve(address,address,uint256).owner (#276) shadows:
- Ownable.owner() (#62-64) (function)
VIDT.allowance(address,address).owner (#201) shadows:
- Ownable.owner() (#62-64) (function)
VIDT.setContracts(address,address).nftdContract (#540) shadows:
- VIDT.nftdContract() (#585-587) (function)
Rename the local variables that shadow another component.
Additional information: link
VIDT.setPrice(uint256) (#528-530) should emit an event for:
- _validationPrice = newPrice (#529)
VIDT.setFee(uint256) (#532-534) should emit an event for:
- _validationFee = newFee (#533)
Emit an event for critical parameter changes.
Additional information: link
VIDT.withdraw(address)._ownerAddress (#565) lacks a zero-check on :
- _ownerAddress.transfer(address(this).balance) (#566)
VIDT.setWallet(address).newWallet (#536) lacks a zero-check on :
- _validationWallet = newWallet (#537)
VIDT.setContracts(address,address).nftdContract (#540) lacks a zero-check on :
- _nftdContract = nftdContract (#542)
VIDT.setContracts(address,address).nftContract (#540) lacks a zero-check on :
- _nftContract = nftContract (#541)
Check that the address is not zero.
Additional information: link
Reentrancy in VIDT.validateFile(address,uint256,bytes,bool,bool,bool) (#325-375):
External calls:
- (nft_created,nft_data) = _nftContract.delegatecall(abi.encodeWithSignature(createNFT(bytes),Data)) (#353)
State variables written after the call(s):
- _allowances[To][msg.sender] = _allowances[To][msg.sender].sub(Payment) (#363)
- _balances[msg.sender] = _balances[msg.sender].sub(Payment) (#365)
- _balances[To] = _balances[To].add(Payment) (#366)
- verifiedNFTs[nftID] = fileHash (#358)
Reentrancy in VIDT.validateNFT(uint256,bytes,bool) (#400-431):
External calls:
- (nft_created,nft_data) = _nftdContract.delegatecall(abi.encodeWithSignature(createNFT(bytes),Data)) (#414)
- (nft_created,nft_data) = _nftContract.delegatecall(abi.encodeWithSignature(createNFT(bytes),Data)) (#416)
State variables written after the call(s):
- _balances[msg.sender] = _balances[msg.sender].sub(Payment) (#425)
- _balances[_validationWallet] = _balances[_validationWallet].add(Payment) (#426)
- verifiedNFTs[nftID] = fileHash (#422)
Apply the check-effects-interactions pattern.
Additional information: link
SafeBEP20.safeTransfer(BEP20,address,uint256) (#110-112) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.6.8 is not recommended for deployment
Pragma version0.6.8 (#2) 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 VIDT.verifyFile(string) (#453-476):
- (heritage_call,heritage_data) = oldContract.staticcall(abi.encodeWithSignature(verifyFile(string),fileHash)) (#472)
Low level call in VIDT.validateFile(address,uint256,bytes,bool,bool,bool) (#325-375):
- (nft_created,nft_data) = _nftContract.delegatecall(abi.encodeWithSignature(createNFT(bytes),Data)) (#353)
Low level call in VIDT.validateNFT(uint256,bytes,bool) (#400-431):
- (nft_created,nft_data) = _nftdContract.delegatecall(abi.encodeWithSignature(createNFT(bytes),Data)) (#414)
- (nft_created,nft_data) = _nftContract.delegatecall(abi.encodeWithSignature(createNFT(bytes),Data)) (#416)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable VIDT.token_number (#137) is not in mixedCase
Parameter VIDT.verifyPublisher(address)._publisher (#478) is not in mixedCase
Parameter VIDT.validateNFT(uint256,bytes,bool).Data (#400) is not in mixedCase
Parameter VIDT.setPublic(bool)._public (#545) is not in mixedCase
Parameter VIDT.validatePublisher(address,bool,string).Address (#305) is not in mixedCase
Parameter VIDT.validateNFT(uint256,bytes,bool).Payment (#400) is not in mixedCase
Parameter VIDT.batchTransferByOwner(address[],uint256[])._addresses (#293) is not in mixedCase
Parameter VIDT.validateWallet(address,bool,string).Wallet (#311) is not in mixedCase
Parameter VIDT.validatePublisher(address,bool,string).State (#305) is not in mixedCase
Parameter VIDT.validatePublisher(address,bool,string).Publisher (#305) is not in mixedCase
Parameter VIDT.validateFile(address,uint256,bytes,bool,bool,bool).To (#325) is not in mixedCase
Parameter VIDT.validateFile(address,uint256,bytes,bool,bool,bool).Payment (#325) is not in mixedCase
Parameter VIDT.memoryValidateFile(uint256,bytes).Payment (#377) is not in mixedCase
Parameter SafeBEP20.safeTransfer(BEP20,address,uint256)._token (#110) is not in mixedCase
Parameter VIDT.memoryValidateFile(uint256,bytes).Data (#377) is not in mixedCase
Parameter VIDT.frozenAccount(address)._account (#486) is not in mixedCase
Parameter VIDT.validateFile(address,uint256,bytes,bool,bool,bool).Data (#325) is not in mixedCase
Parameter SafeBEP20.safeTransfer(BEP20,address,uint256)._value (#110) is not in mixedCase
Parameter VIDT.transferByOwner(address,uint256)._to (#284) is not in mixedCase
Parameter VIDT.transferByOwner(address,uint256)._value (#284) is not in mixedCase
Parameter VIDT.validateWallet(address,bool,string).State (#311) is not in mixedCase
Parameter VIDT.simpleValidateFile(uint256).Payment (#433) is not in mixedCase
Parameter VIDT.validateWallet(address,bool,string).Address (#311) is not in mixedCase
Struct VIDT.fStruct (#127) is not in CapWords
Parameter VIDT.freeze(address,bool)._state (#245) is not in mixedCase
Parameter VIDT.validateFile(address,uint256,bytes,bool,bool,bool).NFT (#325) is not in mixedCase
Parameter VIDT.covertValidateFile(uint256).Payment (#444) is not in mixedCase
Parameter VIDT.withdraw(address)._ownerAddress (#565) is not in mixedCase
Parameter VIDT.freeze(address,bool)._address (#245) is not in mixedCase
Parameter VIDT.batchTransferByOwner(address[],uint256[])._amounts (#293) is not in mixedCase
Parameter SafeBEP20.safeTransfer(BEP20,address,uint256)._to (#110) is not in mixedCase
Parameter VIDT.verifyWallet(address)._wallet (#482) is not in mixedCase
Constant VIDT.initialSupply (#147) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Variable VIDT._nftContract (#144) is too similar to VIDT.setContracts(address,address).nftdContract (#540)
Prevent variables from having similar names.
Additional information: link
VIDT.slitherConstructorConstantVariables() (#115-595) uses literals with too many digits:
- initialSupply = 100000000 (#147)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
VIDT.token_number (#137) should be constant
VIDT.mainWallet (#142) should be constant
Ownable.mainWallet (#52) should be constant
VIDT.oldContract (#143) should be constant
VIDT.unused (#136) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
validatePublisher(address,bool,string) should be declared external:
- VIDT.validatePublisher(address,bool,string) (#305-309)
nameChange(string) should be declared external:
- VIDT.nameChange(string) (#177-179)
nftdContract() should be declared external:
- VIDT.nftdContract() (#585-587)
nftContract() should be declared external:
- VIDT.nftContract() (#581-583)
setFee(uint256) should be declared external:
- VIDT.setFee(uint256) (#532-534)
validationWallet() should be declared external:
- VIDT.validationWallet() (#577-579)
setWallet(address) should be declared external:
- VIDT.setWallet(address) (#536-538)
batchTransferByOwner(address[],uint256[]) should be declared external:
- VIDT.batchTransferByOwner(address[],uint256[]) (#293-303)
setContracts(address,address) should be declared external:
- VIDT.setContracts(address,address) (#540-543)
burn(uint256) should be declared external:
- VIDT.burn(uint256) (#241-243)
setPublic(bool) should be declared external:
- VIDT.setPublic(bool) (#545-547)
decreaseApproval(address,uint256) should be declared external:
- VIDT.decreaseApproval(address,uint256) (#236-239)
pause() should be declared external:
- Pausable.pause() (#98-101)
verifyNFT(uint256) should be declared external:
- VIDT.verifyNFT(uint256) (#524-526)
verifyWallet(address) should be declared external:
- VIDT.verifyWallet(address) (#482-484)
setPrice(uint256) should be declared external:
- VIDT.setPrice(uint256) (#528-530)
increaseApproval(address,uint256) should be declared external:
- VIDT.increaseApproval(address,uint256) (#226-229)
verifyFile(string) should be declared external:
- VIDT.verifyFile(string) (#453-476)
freeze(address,bool) should be declared external:
- VIDT.freeze(address,bool) (#245-249)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#71-73)
validationFee() should be declared external:
- VIDT.validationFee() (#573-575)
unpause() should be declared external:
- Pausable.unpause() (#103-106)
verifyFileNFT(string) should be declared external:
- VIDT.verifyFileNFT(string) (#507-522)
decreaseAllowance(address,uint256) should be declared external:
- VIDT.decreaseAllowance(address,uint256) (#231-234)
validateWallet(address,bool,string) should be declared external:
- VIDT.validateWallet(address,bool,string) (#311-315)
transferByOwner(address,uint256) should be declared external:
- VIDT.transferByOwner(address,uint256) (#284-291)
frozenAccount(address) should be declared external:
- VIDT.frozenAccount(address) (#486-488)
increaseAllowance(address,uint256) should be declared external:
- VIDT.increaseAllowance(address,uint256) (#221-224)
validationPrice() should be declared external:
- VIDT.validationPrice() (#569-571)
burnFrom(address,uint256) should be declared external:
- VIDT.burnFrom(address,uint256) (#251-255)
verify(string) should be declared external:
- VIDT.verify(string) (#490-505)
verifyPublisher(address) should be declared external:
- VIDT.verifyPublisher(address) (#478-480)
Use the external attribute for functions never called from the contract.
Additional information: link
Token was delisted from CoinGecko
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find Telegram link on the website
Token is not listed at Mobula.Finance
Additional information: link
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Discord account