Files
parser2/packages/ship-reader/docs/native-tables.md
T
coopops 399496d51c [549-3][@ant] feat: реализован @coopenomics/coopos-ship-reader v0.1.0 — SHiP-транспортная основа для универсального индексера блокчейна
- ShipClient: connect()/handshake()/streamBlocks() AsyncIterable + ack(n)
- WharfkitDeserializer + AbieosDeserializer (optional, Linux, runtime fallback)
- 24 native-table типа с computeLookupKey() (портировано из Hyperion, MIT)
- RPC helpers getChainInfo()/getRawAbi() с retry
- tsup ESM+CJS build, tsconfig strict + noUncheckedIndexedAccess
- MIT LICENSE, NOTICE (EOS Rio + AntelopeIO attribution), LICENSE-THIRD-PARTY
- 26 unit-тестов: 26/26 pass; GitHub Actions CI pipeline
2026-04-21 17:28:45 +00:00

1.4 KiB

Native Tables Reference

@coopenomics/coopos-ship-reader exposes native SHiP table deltas for all 24 EOSIO system tables.

Lookup Key Rules

Each native delta event has a lookup_key field computed deterministically from the row data:

Table lookup_key format
permission "${owner}:${name}"
permission_link "${account}:${code}:${message_type}"
account "${name}"
account_metadata "${name}"
code "${code_hash}"
contract_table "${code}:${scope}:${table}"
contract_row "${code}:${scope}:${table}:${primary_key}"
contract_index64..long_double "${code}:${scope}:${table}:${primary_key}"
key_value "${database}:${contract}:${primary_key}"
received_block "${block_num}"
block_info "${block_num}"
resource_limits "${owner}"
resource_usage "${owner}"
generated_transaction "${sender}:${sender_id}"
global_property "global"
fill_status "fill_status"
protocol_state "protocol_state"
resource_limits_state "resource_limits_state"
resource_limits_config "resource_limits_config"
transaction_trace "${id}"

Attribution

Native-delta algorithms for the 24-table whitelist are derived from EOS Rio's Hyperion History Solution (MIT). No source files were copied. See NOTICE for full attribution.