Broad Mint Aardvark
Medium
In createStream.sol
the ethPerTick value is calculated based on the entire msg.value, without accounting for the remainder that is immediately sent to the DAO. This results in an inflated ethPerTick value, leading to inaccurate representation of the funds available for streaming over the duration of the stream.
No response
No response
No response
No response
Misrepresentation of ethPerTick could cause inconsistencies in accounting or future calculations involving the stream.
Adjust the ethPerTick calculation to exclude the remainder which gets sent to DAO Treasury before determining the amount allocated per tick.