Hi everyone! I’m looking for help to understanding of pegged

coins and related algorithms, I created a pool on curve.fi with mycustomtoken/usdc, but I can’t understand how can I control the exchange rate? for example if I’m going to create a gold-pegged coin where 1 coin equals to 1 gram of gold, how can I change the price in a curve.fi pool when the market price of gold is raising? let’s take that today the price of 1 gram is 1usdc, but tomorrow 1.1usdc, how can I automatically adjust the price in my pool? can anyone share some details?

6 ответов

9 просмотров

what kind of coin is?

ser honestly i'm not sure how to answer this. you would need something that tracked the price of your coin like a rate oracle etc. you' cannot simply just adjust the price of your coin, nor the exchange rate. if you create a pool with pegged assetts, you can use stableswapNG. for anything else that's volatile, depending on what you paired it with. you'd be better off using cryptoswap

That’s not something the market maker can do. You are the asset issuer. You need create a backed asset. You cannot just deploy an asset and peg it to a price so simply (then it becomes a synth). Once you create such a backed asset, there needs to be good arbitrage paths that searchers use to arbitrage the price of that asset to the reference asset’s value.

If you did your job correctly (wherein you actually created an asset which is truly pegged to gold), then arbitrageurs will handle the price of that asset, provided there is a way for them to: If gold price goes down: Buy cheap gold, deposit it in your vault, mint gold backed coins, sell it on the amm which quotes a higher price and reduce price of that gold pegged stablecoin in the amm while making a profit. If gold goes up: Buy cheap gold pegged asset from the amm. Price of that asset in the amm goes up. Go to your vault, redeem gold pegged asset for real gold. Sell real gold for fiat at a higher rate. Make profit.

so we are working on an index coin project and track the underlying assets’ prices with rate oracles

Похожие вопросы

Обсуждают сегодня

hi - for my weth / crvusd on lend-curve.fi which is in soft liquidation mode, i have observed that my health is still declining as the price of eth recovered in the last 2 day...
MBD Tan
4
yeap, thanks guys for response, but I really like to understand does a pool created on curve.fi has the option or api or I can call a function of a smart contract to set excha...
Oleg Karoza
11
Hello everyone! I use Independant dvpn, airdropvpn & since yesterday Sentinel Dvpn (😁👌👏👏👏), however with each dvpn, on the servers I use ( Belgium/ Italy/ Germany / Switzerlan...
🌓Blackbeard73🌗
1
Only 1 more year before the 1st or 2nd wave SUN unlocks from back in 2020 or was it 2021? I cannot remember hopefully it will be worth something.
Ojiisan D
4
Who needs a developer? Have a pretty good experience in developing contract on EVM|Solana|Ton. Also familiar with AI in blockchain. Always open to work and feel free to reach ...
Michael
5
Hi, om arbitrum there are two Crv/vsdcrv/asdcrv pools. Have we to change to the new pool by selling the old pool and invest again in the new pool? Mvg Jos
Jos
4
So how do I get out of SL? I can repay part of my debt to a low amount outstanding but it still says I’m in SL?
MBD Tan
2
Hello hope all is well😊I have a very specific question so invested in the fundrs round of the Dua token a long time ago I can see it on my portfolio on fundrs I have one ticke...
M.A. Ali
1
anyone can open this page? i can't open it
Hug0x
2
HI. Just reviewd Planck website which looks undercooked and some menu is not leading to correct section of site. Also, the vesting is shown to be for 20 months starting next y...
Neo517
6
Карта сайта