feat: initialize Kurdistan SDK - independent fork of Polkadot SDK

This commit is contained in:
2025-12-13 15:44:15 +03:00
commit e4778b4576
6838 changed files with 1847450 additions and 0 deletions
@@ -0,0 +1,28 @@
CREATE TABLE IF NOT EXISTS logs (
block_hash BLOB NOT NULL,
transaction_index INTEGER NOT NULL,
log_index INTEGER NOT NULL,
address BLOB NOT NULL,
block_number INTEGER NOT NULL,
transaction_hash BLOB NOT NULL,
topic_0 BLOB,
topic_1 BLOB,
topic_2 BLOB,
topic_3 BLOB,
data BLOB,
PRIMARY KEY (block_hash, transaction_index, log_index)
);
CREATE INDEX IF NOT EXISTS idx_block_number_address_topics ON logs (
block_number,
address,
topic_0,
topic_1,
topic_2,
topic_3
);
CREATE INDEX IF NOT EXISTS idx_block_hash ON logs (
block_hash
);