5 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
1fb3d2130b marketplace: cleanup
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
Mark Spanbroek
4f45856a5e marketplace: use Timestamp, Duration and TokensPerSecond types 2025-06-11 16:29:19 +02:00
Mark Spanbroek
0910c83428 marketplace: use vault in marketplace 2025-06-11 16:29:13 +02:00