package
0.0.0-20230510093534-25a7e6aa1f30
Repository: https://github.com/gridironone/gridmint.git
Documentation: pkg.go.dev
# Functions
QueryForEvent returns a query for the given event.
WithHubClient is an option which sets the hub client.
# Constants
Define the event types.
Define the event types.
EventTypeKey is a reserved composite key for event name.
settlement layer return codes.
settlement layer return codes.
settlement layer return codes.
settlement layer return codes.
# Variables
ErrBatchNotFound is returned when a batch is not found for the rollapp.
ErrNoSequencerForRollapp is returned when a sequencer is not found for the rollapp.
Define queries.
# Structs
BaseLayerClient is intended only for usage in tests.
BaseResult contains basic information returned by the settlement layer.
Batch defines a batch structure for the settlement layer.
BatchMetaData aggregates all the batch metadata.
Config for the BaseLayerClient.
DAMetaData contains meta data about a batch on the Data Availability Layer.
EventDataNewSettlementBatchAccepted defines the structure of the event data for the EventNewSettlementBatchAccepted.
EventDataSequencersListUpdated defines the structure of the event data for the EventSequencersListUpdated.
ResultRetrieveBatch contains information returned from settlement layer after batch retrieva.
ResultSubmitBatch contains information returned from settlement layer after batch submission.
# Interfaces
HubClient is an helper interface for a more granualr interaction with the hub.
LayerClient defines generic interface for Settlement layer interaction.
PostBatchResp is an helper interface for a more granualr interaction with the hub.
# Type aliases
Option is a function that sets a parameter on the settlement layer.
StatusCode is a type for settlement layer return status.