LogoLogo
WebsiteGameXplorerGameContract
HashUp 🇵🇱
HashUp 🇵🇱
  • Welcome!
  • Whitepaper
    • Wprowadzenie
    • Problemy i Rozwiązania
    • Kartridż ERC20
      • An explanation of the ERC20 standard functions
      • ERC20 vs ERC721
      • Profits for the owner/creator
      • Rodzaje Kartridży ERC20
      • Tworzenie Kartridży ERC20
      • Nowe możliwości
      • Licencje Modyfikacji ERC20
      • Możliwości skalowania Kartridży
    • GameSwapping
      • Nowe możliwości
      • GameSwapping vs Model Subskrypcyjny
    • Pliki Gier
    • # Token
      • Architektura tokenu #
      • Proces Liquidity Mining
      • Jak generujemy popyt na token #
      • Tokenomia
    • Architektura
      • IGO - kontrakt, sklep z grami
      • Reklamy NFT
    • Platformy HashUp
      • GameCap.io
      • GameXplorer.io
      • GameWallet
      • GameContract.io
  • Platforms
    • GameXplorer
      • How to buy a game?
    • GameContract
      • How to publish a game?
  • Community
    • Social Media
    • Support
  • FAQ
  • Links
  • Credits
Powered by GitBook
On this page
  1. Whitepaper
  2. Kartridż ERC20

An explanation of the ERC20 standard functions

In the context of a license carrier

function name() public view returns (string) - The name of the game/software title
function symbol() public view returns (string) - Abbreviation of the title
function decimals() public view returns (uint8) - Number of decimal places, HashUp creates cartridges with 2 decimal places.
function totalSupply() public view returns (uint256) - Total supply of license carriers for the given software.
function balanceOf(address _owner) public view returns (uint256 balance) - The number of cartridges located at address _owner. As in the case of physical media, one cartridge is required to have the right to use the software.
function transfer(address _to, uint256 _value) public returns (bool success) - A functionality that enables software exchange between users.
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) - funkcja umożliwiająca chwytanie przez inne smart kontrakty w celu programowania dokładnego obrotu licencjom - A function that allows other smart contracts to capture in order to program the exact number of licenses.
function approve(address _spender, uint256 _value) public returns (bool success) - a function that makes a given number of licenses available for other contracts to use. 
function allowance(address _owner, address _spender) public view returns (uint256 remaining) - the number of license carriers available for being captured by another contract.
  1. Nazwa tytułu gry/oprogramowania.

  2. Skrót tytułu.

  3. Liczba miejsc po przecinku, HashUp tworzy kartridże z 2 miejscami po przecinku.

  4. Podaż całkowita nośników licencji dla danego oprogramowania.

  5. Liczba kartridży znajdująca się na adresie _owner. Tak, jak w przypadku fizycznych nośników, wymagany jest jeden kartridż, by mieć prawo do korzystania z oprogramowania.

  6. Funkcja umożliwiająca wymianę oprogramowaniem między użytkownikami.

  7. Funkcja umożliwiająca chwytanie przez inne smart kontrakty w celu programowania dokładnego obrotu licencjom.

  8. Funkcja pozwalająca na korzystanie z danej liczby licencji innym kontraktom.

  9. Liczba nośników licencji dostępnych do chwycenia przez inny kontrakt.

Ponadto, Kartridż HashUp jest rozszerzonym standardem ERC20 i zawiera w sobie funkcje umożliwiające pełne zdecentralizowanie nośnika licencji do oprogramowania, takie jak metadane kartridża pod postacią funkcji function tokenURI() public view returns (string) czy przekazywanie Ownership nad kontraktem zgodne ze standardem Open Zeppelin.

PreviousKartridż ERC20NextERC20 vs ERC721

Last updated 2 years ago