2 Commits

Author SHA1 Message Date
Mark Spanbroek
bdee8de9cc marketplace: move collateralPerSlot() to Requests.sol
reason: the function only depends on the request, and it is similar
to the pricePerSlotPerSecond function

Co-Authored-By: Adam Uhlíř <adam@uhlir.dev>
2025-06-11 16:31:58 +02:00
Mark Spanbroek
c626372d55 marketplace: burn tokens in vault when slashing
- move all collateral calculatons to separate library
2025-06-11 16:29:21 +02:00