⚠️ WARNING: This code has not yet been audited. Use at your own risk.
NUMO is a cryptocurrency with an exhange rate that floats and maintains its stability from dynamic hedging. The smart contract suite is inspired by the open source Primitive RMM-01 implementation and the replicating market makers paper that showed any option strategy can be constructed using AMMs.
Money was invented to serve three main functions: store value, facilitate exchange, and serve as a unit of account. Outside of a few majors, the majority of currencies have failed to deliver due to inadequate governance. NUMO serves as a solution by achieving all three promises without being subject to the poor management of any single government, central bank, or political headwind. Thus fufilling a fourth promise, the seperation between money and state.
At the core, each NUMO is backed by a portfolio of assets managed by an algorithm. The algorithm dynamically adjusts the composition of the portfolio to an acceptable level of volatility while generating income from premiums earned via on-chain spot markets. (e.g. traders exercising out of the money options when they swap on Uniswap).
On the contract level, a NUMO is issued calling createNumo()
. Each numo
is an ERC-20 token that will hold the reserves of two arbitrary ERC-20 tokens,base
and quote
. In the future, each numo
will be able to suport more tokens in a weighted basket similar to other geometric mean market makers (e.g. balancer).
forge install
forge test -vvv
forge coverage --report lcov
cmd + shift + p -> Coverage Gutters: Display Coverage
Network | Factory Address |
---|---|
Celo | 0x82360b9a2076a09ea8abe2b3e11aed89de3a02d1 |