-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: update repo for the new iteration #43
Conversation
refactor: restructure lockup dir refactor: update lockup to singleton version refactor: use latest deployments addresses build: install staging version in for all repos test: update the block number forked
refactor: rename airstream to merkle
feat: add tranched curves creator refactor: move from dynamy to linear and tranched the correct shapes
@smol-ninja I’ve marked the PR as ready for review. One thing that wasn’t mentioned in the OP is the need to move the dynamic shapes from (CurvesCreator) to linear and to tranched. |
docs: polish comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work on the PR. Some feedback below. I have also added a commit with some changes on comments. There were some linting warnings so the changes to the solhint config are to disable them.
I see that many comments are about the names used in lockup linear curves. My intention was to keep the existing terminology from the docs, but it seems that it’s not working well. IMO we shouldn't explicitly include “linear” in the shape names (except for the default one), as all shapes are within the “lockup linear” model, which is implicit enough. Therefore, I propose the following new names, based on what distinguishes them from the default linear shape.
(still not sure about shape 6 because it is too long) lmk what you think |
Its implicit to us but may not be for someone who is reading the examples. The expliciteness in names can help them understand that the stream is still Linear with start and cliff unlocks. All the functions under Linear examples create a Linear stream with different configurations.
In the docs, it looks good because of the different levels of heading. Your proposal is good for docs because we have a level 2 heading called Linear and then level 3 headings called cliff unlock, initial unlock etc. but imo we can have function names suffixed with Think of it this way.
|
ser, the contract name is
here the level 1 heading is the contract name so, i still think the list from above (without including the Linear word) is a good one |
Fair points. Lets go it your way. |
43ff218
to
5328ac3
Compare
Just a note that Batch examples do not contain reference to unlock amounts in case of batch LL. So they are being passed as 0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving this since we are ready to merge it tomorrow. Repeating my previous note ICYMI:
Batch examples do not contain reference to unlock amounts in case of batch LL. So they are being passed as 0.
just pushed a new commit adding the unlock amounts in the batchLL example dc85aa6 we should sync this merge with the docs PR |
Closes #42
Changes
feat: add airdrops dir
feat: add linear curves creator
feat: add tranched curves creator
refactor: restructure lockup dir
refactor: update lockup to singleton version
refactor: use latest deployments addresses
build: install staging version in for all repos
test: update the block number forked
test: add tests for linear and tranched curves creators