====== A.1.6 Token Class ====== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:start| Basic Ethereum Data Store]] Mostly pulled from Etherscan. Describes a token including type, name, symbol and total supply. On [[dido:public:ra:xapend:xapend.a_glossary:e:ethereum|Ethereum]] there are three types of [[dido:public:ra:xapend:xapend.a_glossary:t:tokens|tokens]] - utility, security and equity token. See: [[https://docs.google.com/spreadsheets/d/1ehCIQxjSZcVLnddDWHBzhPb8h83mHWZxvyX9eckghbU/edit#gid=1071981661]]
{{ dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:screen_shot_2021-06-09_at_6.53.48_pm.png?300 |}} The Ethereum Token Class
===== Id ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:06_token:start| Return to Top]] Primary Key ^ Description | ID | ^ Datatype | text (deployment-address) | ^ Example | 0x000c100050e98c91f9114fa5dd75ce6869bf4f53 | ===== Name ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:06_token:start| 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 ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:06_token:start| Return to Top]] * **Note:** value not coming from blockchain! No standard! ^ Description | the currency symbol of the contract. | ^ Datatype | text | ^ Example | C10 | ===== Type ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:06_token:start| Return to Top]] * **Note:** value not coming from blockchain! No standard! ^ Description | Used standard | ^ Datatype | text | ^ Example | ERC-20 | ===== Decimals ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:06_token:start| Return to Top]] ^ Description | Number of decimals | ^ Datatype | numeric | ^ Example | 18 | ===== Total Supply ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:06_token:start| 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 ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:06_token:start| 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 ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:06_token:start| 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 | ===== Links ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:06_token:start| 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": "team@invictuscapital.com", "description": "email"}, {"link": "https://medium.crypto20.com/", "description": "blog"}, {"link": "https://www.reddit.com/r/invictuscapital", "description": "reddit"} ] | ===== Address ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:06_token:start| 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 ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:06_token:start| Return to Top]] ^ Description | Timestamp of creation date | ^ Datatype | timestamp with time zone | ^ Example | 2019-05-02 12:08:42+00 | /**=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- /* To add a discussion page to this page, comment out the line that says ~~DISCUSSION:off~~ */ ~~DISCUSSION:on|Outstanding Issues~~ ~~DISCUSSION:off~~