Can some rounding methods create indeterminate vesting for certain VestingTerms? #260
pjohnmeyer
started this conversation in
General
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
TWG Notes |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
To front-load this lengthy post with the questions so you can have them in mind as you read:
I was doing some test calculations internally and noticed something confounding. I'll avoid spelling out the entire VestingTerms structure and just describe a schedule that looks like this:
This creates the following possible tranche scenarios, by percentages:
For at least one rounding method, if I understand them correctly, this makes it impossible to know how many shares vest at tranche 1. I've yet to puzzle through all of the allocation methods, but I think the ones that DO work are:
CUMULATIVE_ROUNDING
CUMULATIVE_ROUND_DOWN
BACK_LOADED_TO_SINGLE_TRANCHE
FRACTIONAL
I'm less sure about
FRONT_LOADED
andBACK_LOADED
; I think there may be issues there as well in certain scenarios but I haven't dug into them. But the one that is I am certain is indeterminate isFRONT_LOADED_TO_SINGLE_TRANCHE
. You can see my analysis of the algorithm and the scenarios below generating different Tranche 1 amounts. To me this means I either have the algorithm wrong, or there are additional constraints on the terms and/or share # awards for certain combinations of terms and rounding methods.I know the schema most likely cannot address this issue; a theoretical validator possibly could.
Algorithm
If I understand the algorithm correctly, it essentially means:
Assuming I have this correct, the breakdown for each scenario looks like this. We'll use 1010 shares as the example.
25-25-25-25
25-25-50
25-75
Beta Was this translation helpful? Give feedback.
All reactions