Objective
Determine if there is a feasible mechanism to tie the reserve of the market maker mechanism with the reserve of the brokerage mechanism, to maintain the peg stability during the period needed to bootstrap the system. Acknowledging the discussed assumptions, incentive mechanisms, and actors, in the system - the ultimate objective is to ensure actors are incentivized to supply their assets into the system in exchange for utility so that the system can be bootstrapped effectively.
Sprint 1 Scope
- Customize and parameterize the existing augmented bonding curve model developed by BlockScience
- Determine the most suitable mechanism for tying the two reserves together (using the Kyber network and Uniswap mechanisms as inspiration)
- Determine what parameters we have available to stabilize the market maker peg (initial assumption - use the reserve ratio, and possible exit taxation to prime this mechanism)
- Determine if the mechanism is theoretically feasible
Resources
- Augmented bonding curve hatch_sim notebook: https://github.com/BlockScience/conviction/blob/master/hatch_sim.ipynb
- Kyber network reserve types: https://developer.kyber.network/docs/Reserves-Types/
The main notebook is named ixo.ipynb
. The Augmented Bonding Curve based market maker simulation is adapted in market_maker.ipynb
.
When the main notebook is run, a folder named experiment_x/
is created for every parameter sweep. Within this folder are the outputs of the experiments, such as charts, pickles, and logs.
bonding_curve_eq.py
- a set of bonding curve functions, from the BlockScience Augmented Bonding Curve modelhelpers.py
- a set of helper functions for processing data structures, such as the network graph or Pandas data framesNOTES.md
- general simulation notes
To generate a PDF of the notebook, a Nix build file is included, run nix-build pdf.nix
to generate a PDF document in the result/
directory.