Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateGenesisBlockDataService ¶
type CreateGenesisBlockDataService interface {
Execute(sessCtx mongo.SessionContext) (*domain.BlockchainState, error)
}
func NewCreateGenesisBlockDataService ¶
func NewCreateGenesisBlockDataService( config *config.Configuration, logger *slog.Logger, s1 sv_poa.GetProofOfAuthorityPrivateKeyService, uc1 uc_account.GetAccountUseCase, uc2 uc_account.UpsertAccountUseCase, uc3 uc_token.UpsertTokenIfPreviousTokenNonceGTEUseCase, uc4 uc_account.GetAccountsHashStateUseCase, uc5 uc_token.GetTokensHashStateUseCase, uc6 uc_pow.ProofOfWorkUseCase, uc7 uc_genesisblockdata.UpsertGenesisBlockDataUseCase, uc8 uc_blockdata.UpsertBlockDataUseCase, uc9 uc_blockchainstate.UpsertBlockchainStateUseCase, uc10 uc_blockchainstate.GetBlockchainStateUseCase, ) CreateGenesisBlockDataService
type GetGenesisBlockDataService ¶
type GetGenesisBlockDataService interface {
Execute(ctx context.Context, chainID uint16) (*domain.GenesisBlockData, error)
}
func NewGetGenesisBlockDataService ¶
func NewGetGenesisBlockDataService( cfg *config.Configuration, logger *slog.Logger, uc uc_genesisblockdata.GetGenesisBlockDataUseCase, ) GetGenesisBlockDataService
Click to show internal directories.
Click to hide internal directories.