Skip to main content

Multi-Token Model

The previous model enables bApps to assign accounts’ weights for a specific token based on their obligations and associated risks. To extend this framework to scenarios where a bApp seeks security through multiple tokens, these weights can be combined to calculate the account’s final weight, Wk,ifinalW_{k,i}^{final} In this case, the bApp should define a combination function tailored to its specific needs. Common examples include the arithmetic mean, geometric mean, harmonic mean, or any weighted variant.

For example, suppose a bApp uses tokens d1d1 and d2d2, and considers d1d1 to be twice as important as d2d2. Then, letting Wk,i,dW_{k,i,d} to be the weight of account kk in bApp ii for the token type dd, it could use the following weighted harmonic mean function:

Wk,ifinal=12/3Wk,i,d1+1/3Wk,i,d2\LARGE W_{k,i}^{final} = \frac{1}{\frac{2/3}{W_{k,i,d_1}} + \frac{1/3}{W_{k,i,d_2}}}

In this context, the bApp should define a specific βd\beta_d value for each token based on its risk tolerance. Also, an important observation is that, specifically for the non-slashable ETH form of capital, the participation ratio (pk,i,NS ETH)(p_{k,i,\text{NS}}\text{ ETH}) should be used instead of the weight function (Wk,i,NS ETH)(W_{k,i,\text{NS}}\text{ ETH}), as this type of capital carries no inherent risk.