Skip to content

Commit

Permalink
Define fungible asset, token, and unit in the glossary (#8194)
Browse files Browse the repository at this point in the history
* Define fungible asset and unit in glossary.md

* Define fungible token

* Require permission check before running determine-docker-build-metadata

* Apply suggestions from code review

Co-authored-by: David Wolinsky <isaac.wolinsky@gmail.com>

---------

Co-authored-by: Stelian Ionescu <stelian@aptoslabs.com>
Co-authored-by: David Wolinsky <isaac.wolinsky@gmail.com>
  • Loading branch information
3 people authored and gedigi committed Jun 6, 2023
1 parent b3203b7 commit d5ca7d8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions developer-docs-site/docs/reference/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,21 @@ then there is a guarantee that T_N will never be included in the blockchain.

- **Fullnodes** are clients that ensure data are stored up-to-date on the network. They replicate blockchain state and transactions from other fullnodes and validator nodes.

### Fungible Asset

- A **fungible asset** is an asset, such as a currency, share, in-game resource, etc., that is interchangeable with another identical asset without any loss in its value. For example, APT is a fungible asset because you can exchange one APT for another.
- Follow the [Digital Asset Standards](../standards/index.md#digital-asset-standards) to create fungible assets on the Aptos blockchain.
- Next generation of the Coin standard that addresses shortcomings of `aptos_framework::coin` such as lack of guaranteed enforcement of freeze and burn and advanced functionalities such as programmable transfers, e.g., approve in ERC-20.

### Fungible Token

- For TokenV1 (aptos_token::token), a **fungible token** is a token that is interchangeable with other identical tokens (i.e., tokens that share the same `TokenId`). This means the tokens have the same `creator address`, `collection name`, `token name`, and `property version`.
- For TokenV2 (aptos_token_objects::token), a **fungible token** is a fungible asset with metadata object includes a TokenV2 resource.

### Fungible Unit

- A **fungible unit** is an individual unit of a fungible asset. These units are identical and interchangeable without any loss in value. For example, each Octa (the smallest unit of APT) is a fungible unit.

## G

### Gas
Expand Down

0 comments on commit d5ca7d8

Please sign in to comment.