HUDI Token Logo

HUDI Token

About HUDI

Listings

Token 12 months
CoinGecko 12 months
CoinMarketCap 12 months
white paper

HUDI is the #1 DeFi data monetization ecosystem that empowers people and organizations to collect, enrich and trade their data for a profit. For each transaction, HUDI redistributes up to 70% of the total value and 50% goes to data owners.

Laser Scorebeta Last Audit: 26 July 2022

report
Token seems to be (relatively) fine. It still become a scam, but probability is moderate.

Anti-Scam

Links


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

Reentrancy in Withdrawable._withdrawAll(address) (contracts/flatten/HUDI.sol#1588-1592):
External calls:
- address(to).transfer(amount) (contracts/flatten/HUDI.sol#1590)
Event emitted after the call(s):
- Withdrawn(msg.sender,to,amount) (contracts/flatten/HUDI.sol#1591)
Apply the check-effects-interactions pattern.

Additional information: link

name() should be declared external:
- ERC20.name() (contracts/flatten/HUDI.sol#181-183)
symbol() should be declared external:
- ERC20.symbol() (contracts/flatten/HUDI.sol#189-191)
decimals() should be declared external:
- ERC20.decimals() (contracts/flatten/HUDI.sol#206-208)
totalSupply() should be declared external:
- ERC20.totalSupply() (contracts/flatten/HUDI.sol#213-215)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (contracts/flatten/HUDI.sol#220-222)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (contracts/flatten/HUDI.sol#232-235)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (contracts/flatten/HUDI.sol#251-254)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (contracts/flatten/HUDI.sol#269-283)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (contracts/flatten/HUDI.sol#297-300)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (contracts/flatten/HUDI.sol#316-324)
burn(uint256) should be declared external:
- ERC20Burnable.burn(uint256) (contracts/flatten/HUDI.sol#490-492)
burnFrom(address,uint256) should be declared external:
- ERC20Burnable.burnFrom(address,uint256) (contracts/flatten/HUDI.sol#505-512)
getRoleMemberCount(bytes32) should be declared external:
- AccessControlEnumerable.getRoleMemberCount(bytes32) (contracts/flatten/HUDI.sol#1452-1454)
mint(address,uint256) should be declared external:
- ERC20PresetMinterPauser.mint(address,uint256) (contracts/flatten/HUDI.sol#1529-1532)
pause() should be declared external:
- ERC20PresetMinterPauser.pause() (contracts/flatten/HUDI.sol#1543-1546)
unpause() should be declared external:
- ERC20PresetMinterPauser.unpause() (contracts/flatten/HUDI.sol#1557-1560)
getOwner() should be declared external:
- HUDI.getOwner() (contracts/flatten/HUDI.sol#1615-1617)
withdrawAll(address) should be declared external:
- HUDI.withdrawAll(address) (contracts/flatten/HUDI.sol#1619-1622)
withdrawTokenAll(address,address) should be declared external:
- HUDI.withdrawTokenAll(address,address) (contracts/flatten/HUDI.sol#1624-1627)
Use the external attribute for functions never called from the contract.

Additional information: link


Contract ownership is semi-renounced (passed to a contract)

AccessControl._setRoleAdmin(bytes32,bytes32) (contracts/flatten/HUDI.sol#1041-1045) is never used and should be removed
Context._msgData() (contracts/flatten/HUDI.sol#124-126) is never used and should be removed
EnumerableSet._values(EnumerableSet.Set) (contracts/flatten/HUDI.sol#1200-1202) is never used and should be removed
EnumerableSet.add(EnumerableSet.Bytes32Set,bytes32) (contracts/flatten/HUDI.sol#1216-1218) is never used and should be removed
EnumerableSet.add(EnumerableSet.UintSet,uint256) (contracts/flatten/HUDI.sol#1355-1357) is never used and should be removed
EnumerableSet.at(EnumerableSet.Bytes32Set,uint256) (contracts/flatten/HUDI.sol#1254-1256) is never used and should be removed
EnumerableSet.at(EnumerableSet.UintSet,uint256) (contracts/flatten/HUDI.sol#1393-1395) is never used and should be removed
EnumerableSet.contains(EnumerableSet.AddressSet,address) (contracts/flatten/HUDI.sol#1299-1301) is never used and should be removed
EnumerableSet.contains(EnumerableSet.Bytes32Set,bytes32) (contracts/flatten/HUDI.sol#1233-1235) is never used and should be removed
EnumerableSet.contains(EnumerableSet.UintSet,uint256) (contracts/flatten/HUDI.sol#1372-1374) is never used and should be removed
EnumerableSet.length(EnumerableSet.Bytes32Set) (contracts/flatten/HUDI.sol#1240-1242) is never used and should be removed
EnumerableSet.length(EnumerableSet.UintSet) (contracts/flatten/HUDI.sol#1379-1381) is never used and should be removed
EnumerableSet.remove(EnumerableSet.Bytes32Set,bytes32) (contracts/flatten/HUDI.sol#1226-1228) is never used and should be removed
EnumerableSet.remove(EnumerableSet.UintSet,uint256) (contracts/flatten/HUDI.sol#1365-1367) is never used and should be removed
EnumerableSet.values(EnumerableSet.AddressSet) (contracts/flatten/HUDI.sol#1332-1341) is never used and should be removed
EnumerableSet.values(EnumerableSet.Bytes32Set) (contracts/flatten/HUDI.sol#1266-1268) is never used and should be removed
EnumerableSet.values(EnumerableSet.UintSet) (contracts/flatten/HUDI.sol#1405-1414) is never used and should be removed
Strings.toHexString(uint256) (contracts/flatten/HUDI.sol#783-794) is never used and should be removed
Strings.toString(uint256) (contracts/flatten/HUDI.sol#758-778) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version^0.8.0 (contracts/flatten/HUDI.sol#1) allows old versions
solc-0.8.0 is not recommended for deployment
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

AccessControlEnumerable.grantRole(bytes32,address) (contracts/flatten/HUDI.sol#1459-1462) ignores return value by _roleMembers[role].add(account) (contracts/flatten/HUDI.sol#1461)
AccessControlEnumerable.revokeRole(bytes32,address) (contracts/flatten/HUDI.sol#1467-1470) ignores return value by _roleMembers[role].remove(account) (contracts/flatten/HUDI.sol#1469)
AccessControlEnumerable.renounceRole(bytes32,address) (contracts/flatten/HUDI.sol#1475-1478) ignores return value by _roleMembers[role].remove(account) (contracts/flatten/HUDI.sol#1477)
AccessControlEnumerable._setupRole(bytes32,address) (contracts/flatten/HUDI.sol#1483-1486) ignores return value by _roleMembers[role].add(account) (contracts/flatten/HUDI.sol#1485)
Ensure that all the return values of the function calls are used.

Additional information: link

ERC20PresetMinterPauser.constructor(string,string).name (contracts/flatten/HUDI.sol#1513) shadows:
- ERC20.name() (contracts/flatten/HUDI.sol#181-183) (function)
- IERC20Metadata.name() (contracts/flatten/HUDI.sol#94) (function)
ERC20PresetMinterPauser.constructor(string,string).symbol (contracts/flatten/HUDI.sol#1513) shadows:
- ERC20.symbol() (contracts/flatten/HUDI.sol#189-191) (function)
- IERC20Metadata.symbol() (contracts/flatten/HUDI.sol#99) (function)
Rename the local variables that shadow another component.

Additional information: link

Reentrancy in Withdrawable._withdrawTokenAll(address,address) (contracts/flatten/HUDI.sol#1595-1603):
External calls:
- result = foreignToken.transfer(to,amount) (contracts/flatten/HUDI.sol#1598)
Event emitted after the call(s):
- Withdrawn(msg.sender,to,amount) (contracts/flatten/HUDI.sol#1600)
Apply the check-effects-interactions pattern.

Additional information: link

EnumerableSet.values(EnumerableSet.AddressSet) (contracts/flatten/HUDI.sol#1332-1341) uses assembly
- INLINE ASM (contracts/flatten/HUDI.sol#1336-1338)
EnumerableSet.values(EnumerableSet.UintSet) (contracts/flatten/HUDI.sol#1405-1414) uses assembly
- INLINE ASM (contracts/flatten/HUDI.sol#1409-1411)
Do not use evm assembly.

Additional information: link

Holders:


Token is deployed only at one blockchain


Unable to find Discord account


Unable to find token contract audit


Unable to find audit link on the website


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


Token is not listed at Mobula.Finance

Additional information: link


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank

Price for HUDI

News for HUDI