Directories ¶
Path | Synopsis |
---|---|
Package api provides the api for the explorer service.
|
Package api provides the api for the explorer service. |
Package backfill provides a command to backfill the consumer database.
|
Package backfill provides a command to backfill the consumer database. |
Package cmd CLI infra
|
Package cmd CLI infra |
Package config handles config data decoded from config.yaml for the explorer service.
|
Package config handles config data decoded from config.yaml for the explorer service. |
Package consumer provides a consumer for the database.
|
Package consumer provides a consumer for the database. |
client
Package client provides a GraphQL client for consuming logs.
|
Package client provides a GraphQL client for consuming logs. |
client/contrib
Package main generates a GQL client.
|
Package main generates a GQL client. |
fetcher
Package fetcher provides fetchers to fetch data from Scribe, BridgeConfig, and Swap.
|
Package fetcher provides fetchers to fetch data from Scribe, BridgeConfig, and Swap. |
parser
Package parser provides the logic to parse and store events.
|
Package parser provides the logic to parse and store events. |
parser/tokendata
Package tokendata contains the token data service
|
Package tokendata contains the token data service |
parser/tokenpool
Package tokenpool contains the token pool data service
|
Package tokenpool contains the token pool data service |
contracts
|
|
bridge
Code generated by synapse abigen DO NOT EDIT.
|
Code generated by synapse abigen DO NOT EDIT. |
bridge/bridgev1
Code generated by synapse abigen DO NOT EDIT.
|
Code generated by synapse abigen DO NOT EDIT. |
bridge/testbridge
Code generated by synapse abigen DO NOT EDIT.
|
Code generated by synapse abigen DO NOT EDIT. |
bridge/testbridgev1
Code generated by synapse abigen DO NOT EDIT.
|
Code generated by synapse abigen DO NOT EDIT. |
bridgeconfig
Code generated by synapse abigen DO NOT EDIT.
|
Code generated by synapse abigen DO NOT EDIT. |
messagebus
Package messagebus Go interface for synapse-contracts/.../MessageBusUpgradeable.sol
|
Package messagebus Go interface for synapse-contracts/.../MessageBusUpgradeable.sol |
messagebus/testmessagebus
Package testmessagebus generates test abis for synapse-contracts/.../MessageBusUpgradeable.sol
|
Package testmessagebus generates test abis for synapse-contracts/.../MessageBusUpgradeable.sol |
swap
Package swap Go interface for synapse-contracts/.../SwapFlashLoan.sol
|
Package swap Go interface for synapse-contracts/.../SwapFlashLoan.sol |
swap/testswap
Code generated by synapse abigen DO NOT EDIT.
|
Code generated by synapse abigen DO NOT EDIT. |
Package db provides the database for the consumer service.
|
Package db provides the database for the consumer service. |
sql
Package sql contains the sql store.
|
Package sql contains the sql store. |
Package graphql provides a GraphQL API for the explorer service.
|
Package graphql provides a GraphQL API for the explorer service. |
contrib
generate gql schema
|
generate gql schema |
server
Package server provides the GraphQL server.
|
Package server provides the GraphQL server. |
server/graph
Package graph implements the GraphQL schema and resolvers.
|
Package graph implements the GraphQL schema and resolvers. |
server/graph/model
Package model provides the GraphQL model for the explorer service.
|
Package model provides the GraphQL model for the explorer service. |
server/graph/resolver
Package resolvers provides the GraphQL resolver for the explorer service.
|
Package resolvers provides the GraphQL resolver for the explorer service. |
Package node contains the node for the explorer service.
|
Package node contains the node for the explorer service. |
Package static contains static config files
|
Package static contains static config files |
Package testutil is used for deploying test contracts and generic testing functions
|
Package testutil is used for deploying test contracts and generic testing functions |
clickhouse
Package clickhouse spins up a temp clickhouse db with docker.
|
Package clickhouse spins up a temp clickhouse db with docker. |
testcontracts
Package testcontracts provides a set of test contracts for use in tests.
|
Package testcontracts provides a set of test contracts for use in tests. |
types
|
|
bridge
Package bridge provides types for Bridge events.
|
Package bridge provides types for Bridge events. |
messagebus
Package messagebus provides types for Message events.
|
Package messagebus provides types for Message events. |
swap
Package swap provides types for Swap events.
|
Package swap provides types for Swap events. |
Click to show internal directories.
Click to hide internal directories.