Versions in this module Expand all Collapse all v0 v0.1.1 May 11, 2024 Changes in this version + var ErrUserNotFound = errors.NotFound(v1.ErrorReason_USER_NOT_FOUND.String(), "user not found") + var ProviderSet = wire.NewSet(NewVerifierUsecase, NewTransactionUsecase, NewReportTeeAttestationEventUsecase) + type ReportTeeAttestationEvent struct + Attestation string + AttestationId []byte + BlockNumber uint64 + CampaignId string + ContractAddress string + CreatedAt int32 + HandleAt int32 + ID int32 + TeeAddress string + TxHash string + TxIndex int + type ReportTeeAttestationEventRepo interface + CreateReportTeeAttestationEvent func(context.Context, ReportTeeAttestationEvent) (*ReportTeeAttestationEvent, error) + type ReportTeeAttestationEventUsecase struct + func NewReportTeeAttestationEventUsecase(repo ReportTeeAttestationEventRepo, logger *log.Helper) *ReportTeeAttestationEventUsecase + func (rtaeUsecase *ReportTeeAttestationEventUsecase) CreateReportTeeAttestationEvent(ctx context.Context, event ReportTeeAttestationEvent) (*ReportTeeAttestationEvent, error) + type Transaction struct + CreatedAt int64 + FromAddress string + Gas int64 + GasPrice int64 + HandleAt int64 + HandleStatus int32 + ID int32 + ToAddress string + TxHash string + type TransactionRepo interface + CreateTransaction func(context.Context, *Transaction) (*Transaction, error) + type TransactionUsecase struct + func NewTransactionUsecase(repo TransactionRepo, logger *log.Helper) *TransactionUsecase + func (trx *TransactionUsecase) CreateTransaction(ctx context.Context, transaction *Transaction) (*Transaction, error) + type Verifier struct + Hello string + type VerifierRepo interface + ListAll func(ctx context.Context) ([]*model.Verifier, error) + type VerifierUsecase struct + func NewVerifierUsecase(repo VerifierRepo, logger *log.Helper) *VerifierUsecase + func (uc *VerifierUsecase) CreateVerifier(ctx context.Context, g *Verifier) (*Verifier, error)