formatting

This commit is contained in:
Eric 2024-11-26 14:54:52 +11:00
parent 5e334eee4e
commit 49f4b5aeb6
No known key found for this signature in database

View File

@ -65,20 +65,14 @@ contract Marketplace is SlotReservations, Proofs, StateRetrieval, Endian {
MarketplaceConfig memory config,
IERC20 token_,
IGroth16Verifier verifier
)
SlotReservations(config.reservations)
Proofs(config.proofs, verifier)
{
) SlotReservations(config.reservations) Proofs(config.proofs, verifier) {
_token = token_;
require(
config.collateral.repairRewardPercentage <= 100,
"Must be less than 100"
);
require(
config.collateral.slashPercentage <= 100,
"Must be less than 100"
);
require(config.collateral.slashPercentage <= 100, "Must be less than 100");
require(
config.collateral.maxNumberOfSlashes *
config.collateral.slashPercentage <=