Fixed-period BOND: Difference between revisions
Line 7: | Line 7: | ||
Depending on whether the REP token design of the DAO has REP tokens with finite or infinite lifetime we get different formulas for how long the lifetime <math>L_B</math> should be set for a fixed-period BOND. | Depending on whether the REP token design of the DAO has REP tokens with finite or infinite lifetime we get different formulas for how long the lifetime <math>L_B</math> should be set for a fixed-period BOND. | ||
== | == Fixed-period BOND contracts under infinite-lifetime REP == | ||
Under the assumption that REP lifetime is unbounded, <math> | Under the assumption that a DAO's REP lifetime is unbounded, <math>L= \infty</math>, we wish to find the lifetime <math>L_B</math> we should set for a BOND so that it will have a particular value. In this case the income stream <math>f_B^1(t)</math> of one BOND token is the same as one REP token <math>f_0^1(t)</math> | ||
<math display="block">f_B^1(t)=\int_{0}^{t} \frac{f'(s)}{q(s)+R(s)}ds</math> | |||
until the BOND expires. In general, we have <math display="inline">R(t)=R_0+ \int_{0}^{t} m*f'(s)ds.</math> The term <math>q(s)</math> represents all the BONDs which are active at time <math>t=s</math>. | |||
Now suppose you want to find the lifetime <math>L_B</math> of a BOND that will give an expected payout of <math>$b</math> for <math>q</math> tokens. We therefore hope to solve the equation<math display="block">qf_B^1(L_B)=b</math> | |||
However, the terms <math>L_B</math> and <math>f'</math> are complicated. <math>L_B</math> is a stopping time, and <math>f'</math> is a stochastic process. Nevertheless, these terms behave relatively well, since we know the expected value <math>E[f_B^1(t)]</math> will be an increasing function of <math>t</math>, because <math>f_B^1(t)</math> is increasing, because <math>f'(s)\geq0</math>. Simply taking the expected value | |||
<math display="block">E_0 \left[f_B^1(t) \right ]=\int_{0}^{t}E_0 \left [ \frac{f'(s)}{q(0)+R_0+\int_{0}^sm*f'(u)du} \right ] ds</math>setting it equal to <math>b</math> and solving for <math>t=t^*</math> gives you the desired stopping time <math>t^*=E_0[L_B]</math>. There is no simple formula for the expected values of fractions, so we make no further elaboration of the general case in this presentation. However, Jensen’s inequality allows us to give an estimate of the general case, and the following calculations give an upper limit. | |||
Therefore, to pay a developer tokens that will have payout with value at time we solve the equation | Now assume the rate of fees is constant <math>f'(s)=f'_0</math> and no further BOND tokens are minted during the lifetime <math>L_B</math>. Then there is a minor change in the previous formulas<math display="block">f_B^1(t)=\int_{0}^{t} \frac{f'_0}{q_0+R_0+smf'_0}ds=\frac{1}{m}ln\left ( \frac{q+R_0+mtf'_0}{q+R_0}\right )</math>Therefore, to pay a developer <math>q</math> tokens that will have payout with value <math>$b</math> at time <math>L_B</math> we solve the equation <math display="inline">f_B^1(L_B)=b</math> for <math>L_B</math>''.'' We get <math display="block">L_B=(q+R_0) \frac{e^{mb}-1}{mf'_0}</math> | ||
Further, we can find the present value of a single BOND token with arbitrary lifetime under the assumption of constant fees is<math display="block">PVf_B^1=\int_0^{L_B}e^{-rt}\frac{d}{dt}f_B^1(t)dt=\frac{1}{m}exp\left ( \frac{r(q+R_0)}{mf'_0} \right)\int_{\frac{r(q+R_0)}{mf'_0}}^{L_B}\frac{e^{-s}}{s}ds</math> | |||
Further, we can find the present value of a single BOND token with arbitrary lifetime under the assumption of constant fees is | |||
Therefore we have the following solutions: | Therefore we have the following solutions: | ||
'''Proposition 5:''' ''Assume the rate of fees is constant and that no further'' BOND ''tokens are minted during the lifetime . | '''Proposition 5:''' ''Assume the rate of fees is constant <math>f'_0</math> and that no further'' BOND ''tokens are minted during the lifetime <math>L_B</math>.'' | ||
''Then <math>q</math> ''BOND ''tokens will have payout <math>$b</math> by time <math>L_B</math> at a payout rate of <math>qf'_0</math> by setting the lifetime of a'' BOND ''to be<math display="block">L_B=(q+R_0) \frac{e^{mb}-1}{mf'_0}</math>'' | |||
Equation 7 | ''Again, assuming constant rate of fees, if you wish to pay a developer <math>q</math> ''BOND ''tokens with arbitrary predetermined lifetime <math>0 \leq L_B \leq \infty</math> that will have expected present value worth <math>$b</math> solve the following equation for <math>q</math><math display="block">b=q\frac{1}{m}exp\left ( \frac{r(q+R_0)}{mf'_0} \right)\int_{\frac{r(q+R_0)}{mf'_0}}^{L_B}\frac{e^{-s}}{s}ds \qquad \quad {\scriptstyle\text{(Equation 7)}}</math>'' | ||
Equation 7 has no elementary solution, but admits efficient solutions through standard numerical algorithms. However, next we assume the REP tokens have finite lifetimes which guarantees explicit elementary solutions. | Equation 7 has no elementary solution, but admits efficient solutions through standard numerical approximation algorithms. However, next we assume the REP tokens have finite lifetimes, which guarantees explicit elementary solutions. | ||
== | == Fixed-period BOND contracts under finite-lifetime REP == | ||
Next, we consider the situation when there is a finite lifetime on | Next, we consider the situation when there is a finite lifetime ''<math>L<\infty</math>'' on a DAO's REP tokens. We make the further assumptions of constant minting ratio ''<math>m</math>'' and constant fees ''<math>f'_0</math>''. We assume the BOND tokens are minted after the system reaches equilibrium. In this case, there are always ''<math>R_{\infty}=mf'_0L</math>'' of the REP tokens in the system. Then diluting the system with ''<math>q</math>'' artificially minted BOND tokens at time ''<math>t_0=0</math>'' which have the same lifetime ''<math>L_B=L</math>'' gives | ||
So | So |
Revision as of 01:23, 4 May 2023
A Fixed-period BOND is a BOND token which expires after a fixed lifetime . This page details the design of the contract which governs these tokens so their valuation is fair. We use the results and notation from the reputation tokenomics page.
Overview
Suppose we pay a developer with newly minted BOND tokens, which dilutes the total REP in the DAO as fees are now shared with the tokens. The number of tokens determines the rate of payout, as a larger means a larger share of the REP salary. The exact rate of payout for BOND token is proportional to the incoming fees as .
Depending on whether the REP token design of the DAO has REP tokens with finite or infinite lifetime we get different formulas for how long the lifetime should be set for a fixed-period BOND.
Fixed-period BOND contracts under infinite-lifetime REP
Under the assumption that a DAO's REP lifetime is unbounded, , we wish to find the lifetime we should set for a BOND so that it will have a particular value. In this case the income stream of one BOND token is the same as one REP token
until the BOND expires. In general, we have The term represents all the BONDs which are active at time .
Now suppose you want to find the lifetime of a BOND that will give an expected payout of for tokens. We therefore hope to solve the equation
However, the terms and are complicated. is a stopping time, and is a stochastic process. Nevertheless, these terms behave relatively well, since we know the expected value will be an increasing function of , because is increasing, because . Simply taking the expected value
Now assume the rate of fees is constant and no further BOND tokens are minted during the lifetime . Then there is a minor change in the previous formulas
Further, we can find the present value of a single BOND token with arbitrary lifetime under the assumption of constant fees is
Therefore we have the following solutions:
Proposition 5: Assume the rate of fees is constant and that no further BOND tokens are minted during the lifetime .
Then BOND tokens will have payout by time at a payout rate of by setting the lifetime of a BOND to be
Again, assuming constant rate of fees, if you wish to pay a developer BOND tokens with arbitrary predetermined lifetime that will have expected present value worth solve the following equation for
Equation 7 has no elementary solution, but admits efficient solutions through standard numerical approximation algorithms. However, next we assume the REP tokens have finite lifetimes, which guarantees explicit elementary solutions.
Fixed-period BOND contracts under finite-lifetime REP
Next, we consider the situation when there is a finite lifetime on a DAO's REP tokens. We make the further assumptions of constant minting ratio and constant fees . We assume the BOND tokens are minted after the system reaches equilibrium. In this case, there are always of the REP tokens in the system. Then diluting the system with artificially minted BOND tokens at time which have the same lifetime gives
So
Therefore we solve the equation
for to get
Proposition 6: Assume the rate of fees is constant and the lifetime of all tokens is . To pay a bounty with present value worth a DAO can mint BOND tokens where
Similar calculations can be made to get the formula for the number of BOND tokens when we choose the lifetime independently of the lifetime of the normal REP tokens.
The major problem with these formulas is that the assumption that the rate of fees is constant is usually false. The above solutions make BONDs a gamble for both the developer and the DAO. If the rate of fees increases during the lifetime then the reward’s value will be greater than , and if the rate of fees decreases it will be worth less. However, as mentioned above, Jensen’s inequality gives us a bound, showing these results are conservative. Specifically, if the fees’ rate is not constant, but that the fees merely have expected value then these formulas will be generous to the BOND holder. If however, the actual values of the fees have an average less than this expected value, the BOND holders can still end with less than remuneration in present value.