Architecture
Last updated
Last updated
The graphic above represents the HashUp smart contract architecture. As such, the architecture shows compatibility with Uniswap V3, but also with V1 and V2. It is also scalable to future ERC20 compliant versions of DEX. The architecture is compatible with all ERC20 compliant licenses issued without HashUp.
ERC20 Cartridge - An ERC20-compliant license, called the ERC20 Cartridge, created by developers on the GameContract.io platform. The ERC20 Cartridge is associated with one (2) MultiICO contract called a Shop. There it is sold at a fixed price (like in game stores) and has its own liquidity pool to collect commissions for trading.
Multi ICO - A shop where ERC20 Cartridges are received and sold at a price set by the creators. Technically, the contract is similar to an ICO where ERC20 tokens were sold at a fixed price, but it is rather a Multi ICO contract, meaning that with one contract it is possible to sell any ERC20 for any other ERC20.
The #/USDC liquidity pool - linked to the shop (2) and each time a game is purchased, the $HASH token is redeemed at 15% of the purchase value from the pool and burned immediately. This mechanism makes it possible to monitor the flow of value between players (consumers) and developers in real time.
Staking # liquidity - the $HASH liquidity pool is tied to contract (4). By providing liquidity, we obtain LP tokens that can be placed on contract 4 to earn new $HASH in trade. This process is called Liquidity Mining and is used to improve liquidity.
Liquidity pool ERC20 Cartridge/# - the liquidity pool where the license carrier goes to, which generates LP tokens for providing license liquidity.
Staking LP ERC20 Cartridge - Liquidity Mining $HASH tokens to provide liquidity for licenses in the form of ERC20. A license in the form of ERC20 does not need to have a relationship with the HashUp platform to receive the award.
Data regarding price changes is aggregated by The Graph/Moralis, which allows graphs with # and software prices to be displayed.
The ERC20 license (1) is transferred to a shop (2), where it is sold at a fixed price. The shop (2) is connected to a liquidity pool (3), by a 15% Buyback&Burn mechanism, which makes each sale of the game boost the value of the token. By providing $HASH liquidity (4), players earn new $HASH units as they drain liquidity. Each game has a separate liquidity pool (5) into which ERC20 Cartridges can flow after creators unlock the secondary market. Each liquidity pool generates LP tokens that can be staked in a contract (6). The liquidity pool data is indexed (7) and can be reordered at will.