osmosis-labs / mesh-security

Other
62 stars 8 forks source link

osmosis-price-oracle: Add discount factor #168

Closed maurolacy closed 10 months ago

maurolacy commented 10 months ago

The simple price feed contract has a discount factor, so that cross-staking can be made a little less profitable than native staking.

Let's introduce this discount factor to the osmosis price feed contract as well.

maurolacy commented 10 months ago

Correction: This is already being implemented at the converter level

https://github.com/osmosis-labs/mesh-security/blob/191ae6febca6b90e63e93afe5417547f4114d9ba/contracts/consumer/converter/src/contract.rs#L43-L59

Closing.