User Tools

Site Tools


Sidebar

Welcome to DIDO WIKI

dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:06_token:start

A.1.6 Token Class

Basic Ethereum Data Store

Mostly pulled from Etherscan. Describes a token including type, name, symbol and total supply. On Ethereum there are three types of tokens - utility, security and equity token.

See: https://docs.google.com/spreadsheets/d/1ehCIQxjSZcVLnddDWHBzhPb8h83mHWZxvyX9eckghbU/edit#gid=1071981661

Figure 1: The Ethereum Token Class

Id

Return to Top

Primary Key

Description ID
Datatype text (deployment-address)
Example 0x000c100050e98c91f9114fa5dd75ce6869bf4f53

Name

Return to Top

  • Note: value not coming from blockchain! No standard!
Description a human readable name for the contract.
Datatype text
Example Crypto10 Hedged

Symbol

Return to Top

  • Note: value not coming from blockchain! No standard!
Description the currency symbol of the contract.
Datatype text
Example C10

Type

Return to Top

  • Note: value not coming from blockchain! No standard!
Description Used standard
Datatype text
Example ERC-20

Decimals

Return to Top

Description Number of decimals
Datatype numeric
Example 18

Total Supply

Return to Top

sometimes fixed supply, sometimes issuance possible

Description the total supply of shared value for the currency.
Datatype numeric
Example 6.52E+23

Updated At

Return to Top

on blockchain no updates are possible!

Description Last update timestamp of these values in Anyblock database
Datatype timestamp with time zone
Example 2019-05-18 08:06:22+00

Probabllity

Return to Top

Currently these are set to 1 for all data that we can retrieve from the blockchain or verify via Etherscan. In case we’re able to find a matching contract in our database by comparing the byte code of a contract or find a similar contract on a different blockchain, this is reflected in the probability. The probabilities are then copied into the Event and Call tables to give an indication of how sure we are this is the right translation.

Description the truthness of this token information. 1.0 is the best
Datatype numeric
Example 0.8

Return to Top

Description an array of weblinks with description and link
Datatype jsonb
Example
[ {"link": "https://invictuscapital.com/crypto10hedged", "description": "website"}, 
  {"link": "https://etherscan.io/token/images/c10_28.png", "description": "logo"}, 
  {"link": "[email protected]", "description": "email"}, 
  {"link": "https://medium.crypto20.com/", "description": "blog"}, 
  {"link": "https://www.reddit.com/r/invictuscapital", "description": "reddit"}
]

Address

Return to Top

the address is technically the hash of a public key

Description address of the deployed contract
Datatype 0x000C100050E98C91f9114fa5Dd75CE6869Bf4F53
Example ExampleText

Created At

Return to Top

Description Timestamp of creation date
Datatype timestamp with time zone
Example 2019-05-02 12:08:42+00
dido/public/s_cli/05_contents/03_prt/08_basic_dido_objects/06_token/start.txt · Last modified: 2021/08/18 10:12 by murphy
Translations of this page: