Check the wiki for more information.
When setting price using polkadot.js multiply by 10,000,000,000
Points to consider: I should use a treasury. every transaction incurs a fee, fee goes to treasury. treasury funds gaps, and should have some sort of a vote for fund usage. should I have staking? should I use off chain worker. have a code walkthrough of the CDP and/or DEX.