Skip to content

Commit

Permalink
Merge branch 'main' into remove-rpc-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey committed Oct 10, 2024
2 parents dd6b16a + bdf57f5 commit 399ed7b
Show file tree
Hide file tree
Showing 44 changed files with 807 additions and 198 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# seer

`seer` is Moonstream's second generation blockchain-adjacent tooling for crawling data and performing
`seer` is blockchain-adjacent tooling for crawling data and performing
smart contract interactions.

It builds on what we have learned from our first generation of [`crawlers`](https://github.com/moonstream-to/api/tree/e69d81d1fb081cbddb0c8a1983af41e53d5a0f8f/crawlers) and from [`moonworm`](https://github.com/moonstream-to/moonworm).

## Build

Expand Down
2 changes: 1 addition & 1 deletion bindings/CreateCall/CreateCall.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/GnosisSafe/GnosisSafe.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions blockchain/arbitrum_one/arbitrum_one.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"github.com/ethereum/go-ethereum/rpc"
"google.golang.org/protobuf/proto"

seer_common "github.com/moonstream-to/seer/blockchain/common"
"github.com/moonstream-to/seer/indexer"
"github.com/moonstream-to/seer/version"
seer_common "github.com/G7DAO/seer/blockchain/common"
"github.com/G7DAO/seer/indexer"
"github.com/G7DAO/seer/version"
)

func NewClient(url string, timeout int) (*Client, error) {
Expand Down
2 changes: 1 addition & 1 deletion blockchain/arbitrum_one/arbitrum_one_index_types.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

option go_package = "github.com/moonstream-to/seer/blockchain/arbitrum_one";
option go_package = "github.com/G7DAO/seer/blockchain/arbitrum_one";


message ArbitrumOneTransactionAccessList {
Expand Down
6 changes: 3 additions & 3 deletions blockchain/arbitrum_sepolia/arbitrum_sepolia.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"github.com/ethereum/go-ethereum/rpc"
"google.golang.org/protobuf/proto"

seer_common "github.com/moonstream-to/seer/blockchain/common"
"github.com/moonstream-to/seer/indexer"
"github.com/moonstream-to/seer/version"
seer_common "github.com/G7DAO/seer/blockchain/common"
"github.com/G7DAO/seer/indexer"
"github.com/G7DAO/seer/version"
)

func NewClient(url string, timeout int) (*Client, error) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

option go_package = "github.com/moonstream-to/seer/blockchain/arbitrum_sepolia";
option go_package = "github.com/G7DAO/seer/blockchain/arbitrum_sepolia";


message ArbitrumSepoliaTransactionAccessList {
Expand Down
6 changes: 3 additions & 3 deletions blockchain/b3/b3.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"github.com/ethereum/go-ethereum/rpc"
"google.golang.org/protobuf/proto"

seer_common "github.com/moonstream-to/seer/blockchain/common"
"github.com/moonstream-to/seer/indexer"
"github.com/moonstream-to/seer/version"
seer_common "github.com/G7DAO/seer/blockchain/common"
"github.com/G7DAO/seer/indexer"
"github.com/G7DAO/seer/version"
)

func NewClient(url string, timeout int) (*Client, error) {
Expand Down
2 changes: 1 addition & 1 deletion blockchain/b3/b3_index_types.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

option go_package = "github.com/moonstream-to/seer/blockchain/b3";
option go_package = "github.com/G7DAO/seer/blockchain/b3";


message B3TransactionAccessList {
Expand Down
6 changes: 3 additions & 3 deletions blockchain/b3_sepolia/b3_sepolia.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"github.com/ethereum/go-ethereum/rpc"
"google.golang.org/protobuf/proto"

seer_common "github.com/moonstream-to/seer/blockchain/common"
"github.com/moonstream-to/seer/indexer"
"github.com/moonstream-to/seer/version"
seer_common "github.com/G7DAO/seer/blockchain/common"
"github.com/G7DAO/seer/indexer"
"github.com/G7DAO/seer/version"
)

func NewClient(url string, timeout int) (*Client, error) {
Expand Down
2 changes: 1 addition & 1 deletion blockchain/b3_sepolia/b3_sepolia_index_types.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

option go_package = "github.com/moonstream-to/seer/blockchain/b3_sepolia";
option go_package = "github.com/G7DAO/seer/blockchain/b3_sepolia";


message B3SepoliaTransactionAccessList {
Expand Down
6 changes: 3 additions & 3 deletions blockchain/blockchain.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"github.com/ethereum/go-ethereum/rpc"
"google.golang.org/protobuf/proto"

seer_common "github.com/moonstream-to/seer/blockchain/common"
"github.com/moonstream-to/seer/indexer"
"github.com/moonstream-to/seer/version"
seer_common "github.com/G7DAO/seer/blockchain/common"
"github.com/G7DAO/seer/indexer"
"github.com/G7DAO/seer/version"
)

func NewClient(url string, timeout int) (*Client, error) {
Expand Down
6 changes: 3 additions & 3 deletions blockchain/ethereum/ethereum.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"github.com/ethereum/go-ethereum/rpc"
"google.golang.org/protobuf/proto"

seer_common "github.com/moonstream-to/seer/blockchain/common"
"github.com/moonstream-to/seer/indexer"
"github.com/moonstream-to/seer/version"
seer_common "github.com/G7DAO/seer/blockchain/common"
"github.com/G7DAO/seer/indexer"
"github.com/G7DAO/seer/version"
)

func NewClient(url string, timeout int) (*Client, error) {
Expand Down
2 changes: 1 addition & 1 deletion blockchain/ethereum/ethereum_index_types.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

option go_package = "github.com/moonstream-to/seer/blockchain/ethereum";
option go_package = "github.com/G7DAO/seer/blockchain/ethereum";


message EthereumTransactionAccessList {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"github.com/ethereum/go-ethereum/rpc"
"google.golang.org/protobuf/proto"

seer_common "github.com/moonstream-to/seer/blockchain/common"
"github.com/moonstream-to/seer/indexer"
"github.com/moonstream-to/seer/version"
seer_common "github.com/G7DAO/seer/blockchain/common"
"github.com/G7DAO/seer/indexer"
"github.com/G7DAO/seer/version"
)

func NewClient(url string, timeout int) (*Client, error) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

option go_package = "github.com/moonstream-to/seer/blockchain/game7_orbit_arbitrum_sepolia";
option go_package = "github.com/G7DAO/seer/blockchain/game7_orbit_arbitrum_sepolia";


message Game7OrbitArbitrumSepoliaTransactionAccessList {
Expand Down
6 changes: 3 additions & 3 deletions blockchain/game7_testnet/game7_testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"github.com/ethereum/go-ethereum/rpc"
"google.golang.org/protobuf/proto"

seer_common "github.com/moonstream-to/seer/blockchain/common"
"github.com/moonstream-to/seer/indexer"
"github.com/moonstream-to/seer/version"
seer_common "github.com/G7DAO/seer/blockchain/common"
"github.com/G7DAO/seer/indexer"
"github.com/G7DAO/seer/version"
)

func NewClient(url string, timeout int) (*Client, error) {
Expand Down
2 changes: 1 addition & 1 deletion blockchain/game7_testnet/game7_testnet_index_types.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

option go_package = "github.com/moonstream-to/seer/blockchain/game7_testnet" ;
option go_package = "github.com/G7DAO/seer/blockchain/game7_testnet" ;


message Game7TestnetTransactionAccessList {
Expand Down
34 changes: 17 additions & 17 deletions blockchain/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ import (
"sync"
"time"

"github.com/G7DAO/seer/blockchain/arbitrum_one"
"github.com/G7DAO/seer/blockchain/arbitrum_sepolia"
"github.com/G7DAO/seer/blockchain/b3"
"github.com/G7DAO/seer/blockchain/b3_sepolia"
seer_common "github.com/G7DAO/seer/blockchain/common"
"github.com/G7DAO/seer/blockchain/ethereum"
"github.com/G7DAO/seer/blockchain/game7_orbit_arbitrum_sepolia"
"github.com/G7DAO/seer/blockchain/game7_testnet"
"github.com/G7DAO/seer/blockchain/imx_zkevm"
"github.com/G7DAO/seer/blockchain/imx_zkevm_sepolia"
"github.com/G7DAO/seer/blockchain/mantle"
"github.com/G7DAO/seer/blockchain/mantle_sepolia"
"github.com/G7DAO/seer/blockchain/polygon"
"github.com/G7DAO/seer/blockchain/sepolia"
"github.com/G7DAO/seer/blockchain/xai"
"github.com/G7DAO/seer/blockchain/xai_sepolia"
"github.com/G7DAO/seer/indexer"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
"github.com/moonstream-to/seer/blockchain/arbitrum_one"
"github.com/moonstream-to/seer/blockchain/arbitrum_sepolia"
"github.com/moonstream-to/seer/blockchain/b3"
"github.com/moonstream-to/seer/blockchain/b3_sepolia"
seer_common "github.com/moonstream-to/seer/blockchain/common"
"github.com/moonstream-to/seer/blockchain/ethereum"
"github.com/moonstream-to/seer/blockchain/game7_orbit_arbitrum_sepolia"
"github.com/moonstream-to/seer/blockchain/game7_testnet"
"github.com/moonstream-to/seer/blockchain/imx_zkevm"
"github.com/moonstream-to/seer/blockchain/imx_zkevm_sepolia"
"github.com/moonstream-to/seer/blockchain/mantle"
"github.com/moonstream-to/seer/blockchain/mantle_sepolia"
"github.com/moonstream-to/seer/blockchain/polygon"
"github.com/moonstream-to/seer/blockchain/sepolia"
"github.com/moonstream-to/seer/blockchain/xai"
"github.com/moonstream-to/seer/blockchain/xai_sepolia"
"github.com/moonstream-to/seer/indexer"
"google.golang.org/protobuf/proto"
)

Expand Down
6 changes: 3 additions & 3 deletions blockchain/imx_zkevm/imx_zkevm.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"github.com/ethereum/go-ethereum/rpc"
"google.golang.org/protobuf/proto"

seer_common "github.com/moonstream-to/seer/blockchain/common"
"github.com/moonstream-to/seer/indexer"
"github.com/moonstream-to/seer/version"
seer_common "github.com/G7DAO/seer/blockchain/common"
"github.com/G7DAO/seer/indexer"
"github.com/G7DAO/seer/version"
)

func NewClient(url string, timeout int) (*Client, error) {
Expand Down
2 changes: 1 addition & 1 deletion blockchain/imx_zkevm/imx_zkevm_index_types.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

option go_package = "github.com/moonstream-to/seer/blockchain/imx_zkevm";
option go_package = "github.com/G7DAO/seer/blockchain/imx_zkevm";


message ImxZkevmTransactionAccessList {
Expand Down
6 changes: 3 additions & 3 deletions blockchain/imx_zkevm_sepolia/imx_zkevm_sepolia.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"github.com/ethereum/go-ethereum/rpc"
"google.golang.org/protobuf/proto"

seer_common "github.com/moonstream-to/seer/blockchain/common"
"github.com/moonstream-to/seer/indexer"
"github.com/moonstream-to/seer/version"
seer_common "github.com/G7DAO/seer/blockchain/common"
"github.com/G7DAO/seer/indexer"
"github.com/G7DAO/seer/version"
)

func NewClient(url string, timeout int) (*Client, error) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

option go_package = "github.com/moonstream-to/seer/blockchain/imx_zkevm_sepolia";
option go_package = "github.com/G7DAO/seer/blockchain/imx_zkevm_sepolia";


message ImxZkevmSepoliaTransactionAccessList {
Expand Down
6 changes: 3 additions & 3 deletions blockchain/mantle/mantle.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"github.com/ethereum/go-ethereum/rpc"
"google.golang.org/protobuf/proto"

seer_common "github.com/moonstream-to/seer/blockchain/common"
"github.com/moonstream-to/seer/indexer"
"github.com/moonstream-to/seer/version"
seer_common "github.com/G7DAO/seer/blockchain/common"
"github.com/G7DAO/seer/indexer"
"github.com/G7DAO/seer/version"
)

func NewClient(url string, timeout int) (*Client, error) {
Expand Down
2 changes: 1 addition & 1 deletion blockchain/mantle/mantle_index_types.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

option go_package = "github.com/moonstream-to/seer/blockchain/mantle";
option go_package = "github.com/G7DAO/seer/blockchain/mantle";


message MantleTransactionAccessList {
Expand Down
6 changes: 3 additions & 3 deletions blockchain/mantle_sepolia/mantle_sepolia.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"github.com/ethereum/go-ethereum/rpc"
"google.golang.org/protobuf/proto"

seer_common "github.com/moonstream-to/seer/blockchain/common"
"github.com/moonstream-to/seer/indexer"
"github.com/moonstream-to/seer/version"
seer_common "github.com/G7DAO/seer/blockchain/common"
"github.com/G7DAO/seer/indexer"
"github.com/G7DAO/seer/version"
)

func NewClient(url string, timeout int) (*Client, error) {
Expand Down
2 changes: 1 addition & 1 deletion blockchain/mantle_sepolia/mantle_sepolia_index_types.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

option go_package = "github.com/moonstream-to/seer/blockchain/mantle_sepolia";
option go_package = "github.com/G7DAO/seer/blockchain/mantle_sepolia";


message MantleSepoliaTransactionAccessList {
Expand Down
6 changes: 3 additions & 3 deletions blockchain/polygon/polygon.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"github.com/ethereum/go-ethereum/rpc"
"google.golang.org/protobuf/proto"

seer_common "github.com/moonstream-to/seer/blockchain/common"
"github.com/moonstream-to/seer/indexer"
"github.com/moonstream-to/seer/version"
seer_common "github.com/G7DAO/seer/blockchain/common"
"github.com/G7DAO/seer/indexer"
"github.com/G7DAO/seer/version"
)

func NewClient(url string, timeout int) (*Client, error) {
Expand Down
2 changes: 1 addition & 1 deletion blockchain/polygon/polygon_index_types.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

option go_package = "github.com/moonstream-to/seer/blockchain/polygon";
option go_package = "github.com/G7DAO/seer/blockchain/polygon";


message PolygonTransactionAccessList {
Expand Down
6 changes: 3 additions & 3 deletions blockchain/sepolia/sepolia.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"github.com/ethereum/go-ethereum/rpc"
"google.golang.org/protobuf/proto"

seer_common "github.com/moonstream-to/seer/blockchain/common"
"github.com/moonstream-to/seer/indexer"
"github.com/moonstream-to/seer/version"
seer_common "github.com/G7DAO/seer/blockchain/common"
"github.com/G7DAO/seer/indexer"
"github.com/G7DAO/seer/version"
)

func NewClient(url string, timeout int) (*Client, error) {
Expand Down
2 changes: 1 addition & 1 deletion blockchain/sepolia/sepolia_index_types.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

option go_package = "github.com/moonstream-to/seer/blockchain/sepolia";
option go_package = "github.com/G7DAO/seer/blockchain/sepolia";


message SepoliaTransactionAccessList {
Expand Down
6 changes: 3 additions & 3 deletions blockchain/xai/xai.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"github.com/ethereum/go-ethereum/rpc"
"google.golang.org/protobuf/proto"

seer_common "github.com/moonstream-to/seer/blockchain/common"
"github.com/moonstream-to/seer/indexer"
"github.com/moonstream-to/seer/version"
seer_common "github.com/G7DAO/seer/blockchain/common"
"github.com/G7DAO/seer/indexer"
"github.com/G7DAO/seer/version"
)

func NewClient(url string, timeout int) (*Client, error) {
Expand Down
2 changes: 1 addition & 1 deletion blockchain/xai/xai_index_types.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

option go_package = "github.com/moonstream-to/seer/blockchain/xai";
option go_package = "github.com/G7DAO/seer/blockchain/xai";


message XaiTransactionAccessList {
Expand Down
6 changes: 3 additions & 3 deletions blockchain/xai_sepolia/xai_sepolia.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"github.com/ethereum/go-ethereum/rpc"
"google.golang.org/protobuf/proto"

seer_common "github.com/moonstream-to/seer/blockchain/common"
"github.com/moonstream-to/seer/indexer"
"github.com/moonstream-to/seer/version"
seer_common "github.com/G7DAO/seer/blockchain/common"
"github.com/G7DAO/seer/indexer"
"github.com/G7DAO/seer/version"
)

func NewClient(url string, timeout int) (*Client, error) {
Expand Down
2 changes: 1 addition & 1 deletion blockchain/xai_sepolia/xai_sepolia_index_types.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

option go_package = "github.com/moonstream-to/seer/blockchain/xai_sepolia";
option go_package = "github.com/G7DAO/seer/blockchain/xai_sepolia";


message XaiSepoliaTransactionAccessList {
Expand Down
Loading

0 comments on commit 399ed7b

Please sign in to comment.