You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bifrost parachain (id 2030) will regularly push their prices to us via XCM (in a format we specify) and so we need to set up a place to store them.
emaOracle pallet can be used to store these values via a new extrinsic public fn emaOracle.update_bifrost_oracle( asset_a: Location, asset_b: Location: price: (u128, u128) where locations are defined from Hydration perspective and values to determine price are sourced from vTokenMinting.tokenPool and tokens.TotalIssuance storages on Bifrost parachain.
Permission to set/store these oracles should be set for Bifrost sibling account 7LCt6dFs6sraSg31uKfbRH7soQ66GRb3LAkGZJ1ie3369crq.
The text was updated successfully, but these errors were encountered:
And then we need to add manual update function which will be whitelisted to Bifrost.
We could potentially just skip the EMA part while doing the manual update and just not use it. Alternatively use it to build aggregate for security reasons.
Bifrost parachain (id 2030) will regularly push their prices to us via XCM (in a format we specify) and so we need to set up a place to store them.
emaOracle pallet can be used to store these values via a new extrinsic
public fn emaOracle.update_bifrost_oracle( asset_a: Location, asset_b: Location: price: (u128, u128)
where locations are defined from Hydration perspective and values to determine price are sourced fromvTokenMinting.tokenPool
andtokens.TotalIssuance
storages on Bifrost parachain.Permission to set/store these oracles should be set for Bifrost sibling account
7LCt6dFs6sraSg31uKfbRH7soQ66GRb3LAkGZJ1ie3369crq
.The text was updated successfully, but these errors were encountered: