HecoPunks

126

2021.09.07

Disclaimer:

show more...

Conclusion:

In the HECOPUNKS Smart-Contract were found one vulnerability.

The code was tested with compatible compilers and simulate manually reviewed for all commonly known and specific vulnerabilities.

So HECOPUNKS Smart-Contract works without any issue for use in the Heco main network. Users should participate in the project by a trust to owners.

CRITICAL ISSUES (critical, high severity): 1

Critical and harmful access for owners, user block ability, Bugs, and vulnerabilities that enable theft of funds, lock access to funds without possibility to restore it or lead to any other loss of funds to be transferred to any party.

 

ERRORS, BUGS AND WARNINGS (medium, low severity): 0

Bugs can negatively affect the usability of a program, errors that can trigger a contract failure, Lack of necessary security precautions, other warnings for owners and users, warning codes that are valid code but the compiler thinks are suspicious.

 

OPTIMIZATION (low severity): 0

Methods to decrease the cost of transactions in Smart-Contract.

 

RECOMMENDATIONS (very low severity): 0

Hint and tips to improve contract functionality and trustworthiness.

 

 

 

Critical Issue

  • Owner withdraws privilege

The owner has access to withdraw the balance of the contract.

The contract balance is paid bids and token prices paid by users. All withdrawable amounts of users which stored in the contract balance.

 

 

INDEPENDENT DESCRIPTION OF THE SMART-CONTRACT FUNCTIONALITY

The HECOPUNKS is an NFT smart contract that provides 10,000 tokens.

 

NFT Wiki:

A non-fungible token (NFT) is a unit of data stored on a digital ledger, called a blockchain, that certifies a digital asset to be unique and therefore not interchangeable. NFTs can be used to represent items such as photos, videos, audio, and other types of digital files.

 

Token Info (all information based on audit date)

  • Total Supply: 199 HPUNK
  • Max Total Supply: 10,000 HPUNK
  • Holders: 11 addresses
  • Total Transactions: 121
  • Name: HPUNK
  • Symbol: HPUNK
  • Contract: 0x3dc9f65EA6D1b5E0348E1B315ebCF48882612709

 

 

Contract Owners Fee

Mint:              8 Heco

  • 40% developer
  • 60% owner

Trades:          5% owner

NFT Token:  the owner can reserve (mint) a maximum of 100 tokens for the owner

 

Mint NFT

Users can mint a new token and receive a random NFT between 10,000 NFTs

  • The mint price is 8 Heco
  • Mint works randomly and users receive an NFT by chance
  • In each transaction can mint a maximum of 20 NFT
  • The maximum number of NFT tokens is 10,000

 

 

Order & Bid

Users can create orders and bid to buy and sell their NFTs

  • A user can not buy his tokens again
  • Users can set a bid for an NFT and the owner of NFT can accept it
  • A user can cancel his bids and then withdraw his payment
  • The user can lock his NFT and do not selling it
  • Users can set a price for their NFT sell price
  • Users can set a user as a buyer for their NFT