Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetGenesisBlockDataUseCase ¶
type GetGenesisBlockDataUseCase interface {
Execute(ctx context.Context, chainID uint16) (*domain.GenesisBlockData, error)
}
func NewGetGenesisBlockDataUseCase ¶
func NewGetGenesisBlockDataUseCase(config *config.Configuration, logger *slog.Logger, repo domain.GenesisBlockDataRepository) GetGenesisBlockDataUseCase
type UpsertGenesisBlockDataUseCase ¶
type UpsertGenesisBlockDataUseCase interface {
Execute(ctx context.Context, hash string, header *domain.BlockHeader, headerSignature []byte, trans []domain.BlockTransaction, validator *domain.Validator) error
}
func NewUpsertGenesisBlockDataUseCase ¶
func NewUpsertGenesisBlockDataUseCase(config *config.Configuration, logger *slog.Logger, repo domain.GenesisBlockDataRepository) UpsertGenesisBlockDataUseCase
Click to show internal directories.
Click to hide internal directories.