Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CountTokensByOwnerUseCase ¶
type CountTokensByOwnerUseCase interface {
Execute(ctx context.Context, owner *common.Address) (int, error)
}
func NewCountTokensByOwnerUseCase ¶
func NewCountTokensByOwnerUseCase(config *config.Configuration, logger *slog.Logger, repo domain.TokenRepository) CountTokensByOwnerUseCase
type GetTokenUseCase ¶
type GetTokenUseCase interface {
Execute(ctx context.Context, tokenID *big.Int) (*domain.Token, error)
}
func NewGetTokenUseCase ¶
func NewGetTokenUseCase(config *config.Configuration, logger *slog.Logger, repo domain.TokenRepository) GetTokenUseCase
type GetTokensHashStateUseCase ¶
type GetTokensHashStateUseCase interface {
Execute(ctx context.Context, chainID uint16) (string, error)
}
func NewGetTokensHashStateUseCase ¶
func NewGetTokensHashStateUseCase(config *config.Configuration, logger *slog.Logger, repo domain.TokenRepository) GetTokensHashStateUseCase
type ListTokensByOwnerUseCase ¶
type ListTokensByOwnerUseCase interface {
Execute(ctx context.Context, owner *common.Address) ([]*domain.Token, error)
}
func NewListTokensByOwnerUseCase ¶
func NewListTokensByOwnerUseCase(config *config.Configuration, logger *slog.Logger, repo domain.TokenRepository) ListTokensByOwnerUseCase
type UpsertTokenIfPreviousTokenNonceGTEUseCase ¶
type UpsertTokenIfPreviousTokenNonceGTEUseCase interface { Execute( ctx context.Context, id *big.Int, owner *common.Address, metadataURI string, nonce *big.Int, ) error }
func NewUpsertTokenIfPreviousTokenNonceGTEUseCase ¶
func NewUpsertTokenIfPreviousTokenNonceGTEUseCase(config *config.Configuration, logger *slog.Logger, repo domain.TokenRepository) UpsertTokenIfPreviousTokenNonceGTEUseCase
Click to show internal directories.
Click to hide internal directories.