Questions about the dynamic peg


#1

As we know ,bitbay release a new feature called dynamic peg,which make bitbay a stable coin.what i read about the dynamic peg from the white paper tell me this feature is used for anti inflation or deflation.And this function is realized by coin liquidity controlling.This concept is quite like the modern finance. Central bank will control the fiat money stability by increase or decrease the reserve ratio to afford or release liquidity. But this method has definitily some hysteresis.The purpose of freezing or releasing might take place usually long time after the action,maybe several monthes or years.
The developping purpose of bitbay is to afford a kind of exhanging insurance which would make the goods exchange trustfull based on the smart contracts.In this contract ,both dealers deposit certain amounts of bays to this contract, if the deal is not finished ,none of them will cancel the contract ,so the bays of each owner will reamin in the contract instead of return to the owner. I think this is a quite good mechanism to build a decentralized trustfull market without an escrow.
But in the actual deal ,i can image a picture that if both dealer sign a smart contract and deposit some bays to this contract.Meanwhile ,the bay’s price get a drastic drop by USD.In this case ,if the buyer send the money to the seller ,the seller would not send goods to the buyer ,Or if the seller send goods to the buyer ,the buyer would reject paying money to the seller.As both dealers will not care the bays in the contract as its worthless calculated by USD maybe.
So ,how to solve this flaw in this imaged case?


#2

Hi @lidd0512,

That is a great question. It’s good to see you have been reading our whitepaper!

As far as hysteresis is concerned, this peg mechanism allows for up to 7 votes per day. With a range of 1-3% supply rate change per vote, users can freeze or unfreeze up to 21% per day. This minimizes hysteresis and maximizes real-time adaptability. For an extreme example, if the price crashed by 95%, it would only take a few days for the supply to catch up.

So in the event of BAY’s USD exchange price experiencing a drastic drop in value (essentially a black swan event ) the dynamic peg will quickly freeze the appropriate number of coins in order to maintain a stable price until healthy demand resumes. This allows the BAY held in double deposit escrow contracts to remain stable while each party completes their end of the deal.

Hope that makes sense. If you have any further questions let us know.


#3

thx for your reply which make a further understanding of bay for me.