Premium Pricing

see how InsureDAO calculates premium fee

Quick Summary

Yearly premium rate is determined by the equation below.

When user wants to buy certain amount of insurance that decrease available insurance from u1 to u2, premium amount P(x) will be

Then this will be scaled based on the length of period of the insurance.

If user buys 7days insurance, P(x)/365*7 will be the premium amount he has to pay.

Detail

Dynamic Pricing

InsureDAO adopts the methods of AMM to implement dynamic pricing.

We take formula from uniswap

y axis: premium%

x axis: available insurance%

add variable "a" to let the line pass on the axis.

Change it yearly premium, and add variable "b" which represent base fee.

Blue area on the graph shows an example of P(x)

Additional feature

Lower base fee is applied for an insurance pool that has high TVL and low utilization rate.

BondingPremiumV2

Since calculating integral is complicated to perform on the code, and there is no way to do with solidity, above calculation is implemented after simplification.

setup

  • take three decimals. 1000000 = 100.000%

  • f(x) goes through (1000000, 0) and (0, 1000000)

solve for "a" using quadratic formula

P(x) simplification

Above simplified integral is implemented with the additional feature of low base fee.

Implemented formula

Last updated