mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-06 15:23:11 +00:00
marketplace: formatting
This commit is contained in:
parent
257ef55953
commit
d492e6e352
@ -58,7 +58,9 @@ library AskHelpers {
|
||||
return TokensPerSecond.wrap(perByte * ask.slotSize);
|
||||
}
|
||||
|
||||
function pricePerSecond(Ask memory ask) internal pure returns (TokensPerSecond) {
|
||||
function pricePerSecond(
|
||||
Ask memory ask
|
||||
) internal pure returns (TokensPerSecond) {
|
||||
uint96 perSlot = TokensPerSecond.unwrap(ask.pricePerSlotPerSecond());
|
||||
return TokensPerSecond.wrap(perSlot * ask.slots);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user