The Creature Hunters Lab-CRT token mechanism!#1

crttoken
2 min readJun 30, 2021

Today, we’re going to talk about the CRT token mechanism of the Creature Hunters Lab!

The Creature Token was made according to the design plan shown above.

Creature tokens contain a variety of Contract Algorithm and operate various functions through the role and interaction of each element’s item!

1) Solidity

The Creature Smart Agreement is written in Solidity. In short, the ERC20 standard complies with the standard protocol EIP Protocol to be implemented by all ERC20 tokens to allow integration with other contracts, wallets, or markets, and defines the source code accordingly.

function totalSupply() public view returns (uint256);

function balanceOf(address tokenOwner) public view returns (uint);

function allowance(address tokenOwner, address spender)

public view returns (uint);

function transfer(address to, uint tokens) public returns (bool);

function approve(address spender, uint tokens) public returns (bool);

function transferFrom(address from, address to, uint tokens) public returns (bool);

​These Creature ERC features allow external users (such as the Encryption Wallet app) to check your balance and transfer funds between users with appropriate permissions:)

event Approval(address indexed tokenOwner, address indexed spender, uint tokens);

event Transfer(address indexed from, address indexed to, uint tokens);

These events are invoked or triggered after the user is granted permission to withdraw tokens from the account and the token is actually sent~! In addition to the standard ERC20 functionality, many ERC20 tokens have additional fields as below.

string public constant name; string public constant symbol; uint8 public constant decimals;

<CRT Listing on Liquid>

--

--

crttoken
0 Followers

We are Creature Hunters Lab, making innovative blockchain in gaming industry.