====== A.1.5 Log Class ======
[[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:start| Basic Ethereum Data Store]]
Reads from the [[dido:public:ra:xapend:xapend.a_glossary:e:ethereum|Ethereum]] [[dido:public:ra:xapend:xapend.a_glossary:b:blockchain|blockchain]]. Logs are created for contract based transactions and creates events in the table "Events".((
https://docs.google.com/spreadsheets/d/1ehCIQxjSZcVLnddDWHBzhPb8h83mHWZxvyX9eckghbU/edit#gid=408398242
))
{{ :dido:public:s_cli:05_contents:01_prt:03_langconst:basic_dido_objects:screen_shot_2021-05-31_at_6.11.14_pm.png?300 |}}
The Ethereum Log Class
===== Id =====
[[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:05_log:start| Return to Top ]]
^ Description | Identifier Hash |
^ Datatype | Text ( Composite) |
^ Example | 0x00000000cc7c3b7faeca2e5059320a584cedbafe55c82ced3e57948ae21e3609 |
===== Block Number =====
[[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:05_log:start| Return to Top ]]
^ Description | Block number where this log was in. null when its pending. [[dido:public:ra:xapend:xapend.a_glossary:b:block_height|Block height]] shows lenght of blockchain |
^ Datatype | Numeric |
^ Example | 9529604 |
===== Block Hash =====
[[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:05_log:start| Return to Top ]]
^ Description | Hash of the block where this lg was in. null when its pending. |
^ Datatype | text |
^ Example | 0x7eaea3baacd3b5ffb9833abf9c77a851db0feb874a93d97cfca89c9e891adaa2 |
===== Transaction Index =====
[[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:05_log:start| Return to Top ]]
^ Description | Integer of the transaction index position log was created from |
^ Datatype | numeric |
^ Example | 33 |
===== Transaction Hash =====
[[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:05_log:start| Return to Top ]]
^ Description | Hash of the transactions this log was created from |
^ Datatype | text |
^ Example | 0xeaf089acba8a7ca74feee1b35ca0ab62aa42c5ba3c746a4aed94a308d6a674fb |
===== Log Index =====
[[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:05_log:start| Return to Top ]]
^ Description | Integer of the log index position in the block |
^ Datatype | numeric |
^ Example | 82 |
===== Address =====
[[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:05_log:start| Return to Top ]]
^ Description | Address from which this log originated |
^ Datatype | text |
^ Example | 0x4D58b1E8007078eCc6eaf6DF7527b64E46831D23 |
===== Data =====
[[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:05_log:start| Return to Top ]]
^ Description | payload |
^ Datatype | text |
^ Example | 0x000000000000000000000000000000000000000000000000000000000000011b |
===== Type =====
[[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:05_log:start| Return to Top ]]
^ Description | |
^ Datatype | text |
^ Example | mined |
===== Timestamp =====
[[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:05_log:start| Return to Top ]]
^ Description | Timestamp of log entry |
^ Datatype | timestamp with time zone |
^ Example | 2020-02-21 23:34:19+00 |
===== Log Id =====
[[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:05_log:start| Return to Top ]]
^ Description | Log ID |
^ Datatype | text |
^ Example | log_8e2768f6 |
===== Topics =====
[[dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:05_log:start| Return to Top ]]
^ Description | a type of indexing of max 3 parameters for easier access |
^ Datatype | text[] |
^ Example |
{0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef,
0x0000000000000000000000006cdfb19632e4d0805064b741d39c6ff0a9141952,
0x00000000000000000000000035cdcbdb6a5aef115b9306ce9c79a69321300203
} |
/**=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
/* To add a discussion page to this page, comment out the line that says
~~DISCUSSION:off~~
*/
~~DISCUSSION:on|Outstanding Issues~~
~~DISCUSSION:off~~