Directories ¶
Path | Synopsis |
---|---|
Package api provides the api for the explorer service.
|
Package api provides the api for the explorer service. |
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. |
backfill
Package backfill provides a command to backfill the consumer database.
|
Package backfill provides a command to backfill the consumer 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. |
node
Package node contains the node for the explorer service.
|
Package node contains the node for the explorer 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
Package testbridge is a version of the SynapseBridge contract that allows testing of emitted events.
|
Package testbridge is a version of the SynapseBridge contract that allows testing of emitted events. |
bridge/testbridgev1
Package testbridgev1 is a version of the SynapseBridgeV1 contract that allows testing of emitted events.
|
Package testbridgev1 is a version of the SynapseBridgeV1 contract that allows testing of emitted events. |
bridgeconfig
Code generated by synapse abigen DO NOT EDIT.
|
Code generated by synapse abigen DO NOT EDIT. |
swap
Package swap Go interface for synapse-contracts/.../SwapFlashLoan.sol
|
Package swap Go interface for synapse-contracts/.../SwapFlashLoan.sol |
swap/testswap
Package testswap is a version of the SwapFlashLoan contract that allows testing of emitted events.
|
Package testswap is a version of the SwapFlashLoan contract that allows testing of emitted events. |
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 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. |
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.