From 90030f8682ee352c963d2a84cc1abbbfaf5fffd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Duchesneau?=
 <stephane.duchesneau@streamingfast.io>
Date: Wed, 13 Nov 2024 13:16:14 -0500
Subject: [PATCH] add AccountBlock and Account to proto

---
 proto/sf/solana/type/v1/account.proto | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 proto/sf/solana/type/v1/account.proto

diff --git a/proto/sf/solana/type/v1/account.proto b/proto/sf/solana/type/v1/account.proto
new file mode 100644
index 0000000..b06e3d4
--- /dev/null
+++ b/proto/sf/solana/type/v1/account.proto
@@ -0,0 +1,23 @@
+syntax = "proto3";
+
+option go_package = "github.com/streamingfast/firehose-solana/pb/sf/solana/type/v1;pbsol";
+
+package sf.solana.type.v1;
+
+import "google/protobuf/timestamp.proto";
+
+message AccountBlock {
+  uint64 slot = 1;
+  string hash = 2;
+  uint64 parent_slot = 3;
+  string parent_hash = 4;
+  google.protobuf.Timestamp timestamp = 6;
+  repeated Account accounts = 7;
+}
+
+message Account {
+  bytes address = 1;
+  bytes owner = 2;
+  bytes data = 3;
+  bool deleted = 7;
+}