====== A.1.2 Call Class ====== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:start| Basic Ethereum Data Store]] For transactions related to a contract, internal transactions (calls) are executed. Call table contains enriched data from "Contract" and "Token" table using contract ABI to e.g. decode the name of the contract method. Internal transaction type of contract-related transactions. See: [[https://docs.google.com/spreadsheets/d/1ehCIQxjSZcVLnddDWHBzhPb8h83mHWZxvyX9eckghbU/edit#gid=58470235]]
{{ dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:screen_shot_2021-06-09_at_1.16.18_pm.png?300 |}} The Ethereum Call Class
===== Id ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:02_call:start| Return to Top]] Primary Key; Same as the hash code. ^ Description | Identifier | ^ Datatype | text (tx-hash) | ^ Example | 0x00000006575c4c7874ad8726f623b056ce48cda8bc6e2174bd6867e269ca0235 | ===== From ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:02_call:start| Return to Top]] ^ Description | The address for the sending contract | ^ Datatype | text | ^ Example | 0xe2b0a00ce8f80b12913a654482e5ec5a857969bd | ===== To ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:02_call:start| Return to Top]] ^ Description | The destination address of the message, left undefined for a contract-creation transaction. | ^ Datatype | text | ^ Example | 0x8d12a197cb00d4747a1fe03395095ce2a5cc6819 | ===== Transaction Index ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:02_call:start| Return to Top]] ^ Description | Integer of the transaction index position | ^ Datatype | numeric | ^ Example | 86 | ===== Hash ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:02_call:start| Return to Top]] ^ Description | Hash of the transaction | ^ Datatype | text | ^ Example | 0x00000006575c4c7874ad8726f623b056ce48cda8bc6e2174bd6867e269ca0235 | ===== Method ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:02_call:start| Return to Top]] Example values: approve | cancelOrder | createSalesAuction | flushForwarderTokens | freezeAccount | giveBirth | invoke1CosignerSends | kill | mint | multiGenerate | offer | placeBet | snedMultiSig | setCompactData | split | swapToken | trade | transfer | withdraw ... ^ Description | Name of the method that was called during the transaction. | ^ Datatype | text | ^ Example | cancelOrder | ===== Block Number ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:02_call:start| Return to Top]] ^ Description | [[dido:public:ra:xapend:xapend.a_glossary:b:block_height|Block height]] | ^ Datatype | numeric | ^ Example | 5095213 | ===== Block Hash ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:02_call:start| Return to Top]] ^ Description | Hash of the block | ^ Datatype | text | ^ Example | 0x901c57a4000392e1eb47b87221d929420c71ce706a14859c5f93a2475217049c | ===== Probablity ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:02_call: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 | Anyblock custom field | ^ Datatype | numeric | ^ Example | 1 | ===== Timestamp ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:02_call:start| Return to Top]] ^ Description | Timestamp | ^ Datatype | timestamp with time zone | ^ Example | 2018-02-15 14:50:32+00 | ===== Args ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:02_call:start| Return to Top]] ^ Description | Array of argument objects coming from that event. Needed for executing a method in the contract (method parameters) | ^ Datatype | jsonb | ^ Example | [{""hex"": ""0x0000000000000000000000000000000000000000"", ""pos"": 0, ""name"": ""tokenGet"", ""type"": ""address""}, {""hex"": ""0xd1ef6848f9e1200"", ""num"": 945464021000000000, ""pos"": 1, ""name"": ""amountGet"", ""type"": ""uint256""}, {""hex"": ""0xDd6C68bb32462e01705011a4e2Ad1a60740f217F"", ""pos"": 2, ""name"": ""tokenGive"", ""type"": ""address""}, {""hex"": ""0xa15d4e62fd11000"", ""num"": 726721000000000000, ""pos"": 3, ""name"": ""amountGive"", ""type"": ""uint256""}, {""hex"": ""0x4de624"", ""num"": 5105188, ""pos"": 4, ""name"": ""expires"", ""type"": ""uint256""}, {""hex"": ""0x282e4ca"", ""num"": 42132682, ""pos"": 5, ""name"": ""nonce"", ""type"": ""uint256""}, {""hex"": ""0x1b"", ""num"": 27, ""pos"": 6, ""name"": ""v"", ""type"": ""uint8""}, {""hex"": ""0x2da74095f6c78e151a5410955079a0481d939fda00e1f0b94b445c66dea0652a"", ""pos"": 7, ""name"": ""r"", ""type"": ""bytes32""}, {""hex"": ""0x2b73c6bc213613e7cbb788f1e49d968fed95df4ffaa58fa1f4580e939885c624"", ""pos"": 8, ""name"": ""s"", ""type"": ""bytes32""} ] | ===== Status ===== [[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:02_call:start| Return to Top]] Possbile values: True | False | NULL ^ Description | if the transaction was successfully mined/executed | ^ Datatype | boolean | ^ Example | True | /**=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- /* To add a discussion page to this page, comment out the line that says ~~DISCUSSION:off~~ */ ~~DISCUSSION:on|Outstanding Issues~~ ~~DISCUSSION:off~~