Freedom Cash
🦕 module to stabilize the buy price and increase the sell price of Freedom Cash.
Utility
Support peer to peer collaboration while preventing pump and dump frauds.
Reduce dependencies from exchanges by adding a buy and sell function within the smart contract itself.
This allows to define a reasonable pricing algorithm and ensures that people do not need to waste gas-, liquidity provider- and exchange fees.
Usage Example
import { Bollinger } from "https://deno.land/x/freedom_cash/mod.ts";
import { sleep } from "https://deno.land/x/sleep/mod.ts";
const bollinger = await Bollinger.getInstance()
let repeatXMoreTimes = 9
const minHistoryLength = 3
const factor = 3
while (repeatXMoreTimes > 0) {
const randomNumber = Math.round((Math.random() * (81 - 9) + 9))
bollinger.addToPriceHistory(randomNumber)
const investmentDecision = bollinger.getInvestmentDecision(minHistoryLength, factor)
console.log("O.K. I will:", investmentDecision)
await sleep(9)
repeatXMoreTimes--
}Execute Usage Example
deno run --allow-read --allow-write https://deno.land/x/freedom_cash/usage-example.tsQ&A
Why don’t you create liquidity as an ETH/FreedomCash Tradingpair on Uniswap?
With our approach we reduce gas fees and avoid exchange fees for Freedom Cash investors. Our pricing approach protects against ponzi like vulnerabilities & drops of the sell price guaranteed by the smart contract.
What happens if anyone creates a liquidity pool for Freedom Cash on Uniswap?
People are free to create liquidity pools e.g. with ETH/FreedomCash liquidity on Uniswap. It is just not necessary and not useful.
How is it possible that the sell price never drops?
The sell price of Freedom Cash expressed in Ether can stay as it is or go up. It can never drop. Please study the smart contract and focus on the getSellPrice function.
Donations
Thanks to Freedom Cash, we are already free.
If you want to donate, you might consider donating to the otherparty.co.uk to ensure people do not need to donate to victims but rather donate successfully to problem solvers.