Replies: 5 comments 6 replies
-
I was instinctually on board with this idea, but the following rationale made me change my mind:
Nonetheless, it's a valid point, and I suggest we sleep on it some more. We should also ask the auditors for feedback. |
Beta Was this translation helpful? Give feedback.
-
I am in favour of this idea (I have also been thinking about this for a while and one more refactor I will start a separate discussion for). The From Cambridge dictionary:
So in my opinion, it makes more sense to use range in the context of durations than the actual timestamps. My comments/questions on @PaulRBerg's points:
Did you mean "timestamps" = start time + all segments/tranches timestamps? If so, that's more like a "current timestamp". I am not sure how it can be confused with the
I didn't understand this as well. Can you please explain again? Did you mean range = start unix time + end unix time? If yes then how is it different from the above context?
We should also rename the range to timestamp in the context of Lockup Linear as well. In LL, the range struct contains three timestamps: start time, cliff time and end time. "Range" keyword can be used to determine stream range such as end time - start time, end time - cliff time and so on.
That is something I agree with as well. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, I did not understand most of your points, @smol-ninja. I think the crux of the misunderstanding is this:
The code base considers these as two different concepts. Thus, let us answer these questions in order to expedite the debate:
Let me start:
|
Beta Was this translation helpful? Give feedback.
-
I suppose we don't have time to include this proposal in V2.2, do we? |
Beta Was this translation helpful? Give feedback.
-
Issue created: |
Beta Was this translation helpful? Give feedback.
-
Given we now have generic
createWithTimestamps
methods instead of the old variations (durations, deltas, ranges, milestones), shouldn't we rename the dedicated LockupLinear parameter for start / cliff / end fromrange
totimestamps
in the create method (and theDataType
itself)?CC: @sablier-labs/solidity
Beta Was this translation helpful? Give feedback.
All reactions