Table of Contents

Constructor BoostService

Namespace
UsluzionicaServer.Services
Assembly
UsluzionicaServer.dll

BoostService(AppDbContext, ILogger<BoostService>)

Boost modul — provider troši tokene da podigne vidljivost svog listinga.

BoostScore formula: tokensToSpend / durationDays Primer: 3 tokena × 3 dana → BoostScore += 1.0 7 tokena × 7 dana → BoostScore += 1.0 6 tokena × 3 dana → BoostScore += 2.0

BoostScore je ADITIVAN — više istovremenih boostova se sabiraju. BoostExpiryService svakih sat vremena oduzima BoostScore isteklih boostova.

public BoostService(AppDbContext db, ILogger<BoostService> logger)

Parameters

db AppDbContext
logger ILogger<BoostService>