Skip to content

Commit

Permalink
Added market maker doc
Browse files Browse the repository at this point in the history
  • Loading branch information
glottologist committed Aug 10, 2023
1 parent 612c9b8 commit e24bb8b
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .ash_history
Original file line number Diff line number Diff line change
@@ -1 +1,28 @@
exit
oc --endpoint https://ghostnet.tezos.marigold.dev originate contract batcher_ghost transferring 0 from batcher running batcher/batcher-ghostnet.tz --init "$(cat batcher/batcher-storage-ghostnet.tz)" --burn-cap 8 --force
oc gen keys tzthree --sig p256
ls
oc gen keys --help
oc list keys
oc list known addresses
oc keys
oc export --help
oc list known addresses
oc show address tzthree -S
oc show address tzthree -S --help
oc show address tzthree -S | grep prive
oc show address tzthree -S | grep priv
oc show address tzthree -S | grep Priv
oc show address tzthree -S | grep sec
oc show address tzthree -S
oc show address tzthree -S | grep Secre
oc show address tzthree -S | grep Secre > tz3key.txt
ls
oc --endpoint https://ghostnet.tezos.marigold.dev originate contract batcher_ghost transferring 0 from batcher running batcher/batcher-ghostnet.tz --init "$(cat batcher/batcher-storage-ghostnet.tz)" --burn-cap 8 --force
oc --endpoint "https://mainnet.tezos.marigold.dev" config update
oc --endpoint "https://ghostnet.tezos.marigold.dev" config update
exit
oc --endpoint "https://ghostnet.tezos.marigold.dev" config update
alias oc=octez-client
oc --endpoint "https://ghostnet.tezos.marigold.dev" config update
oc --endpoint https://ghostnet.tezos.marigold.dev originate contract batcher_ghost transferring 0 from batcher running batcher/batcher-ghostnet.tz --init "$(cat batcher/batcher-storage-ghostnet.tz)" --burn-cap 8 --force
12 changes: 12 additions & 0 deletions docs/src/MARKET_MAKER.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Community Market Maker

The community market maker is functionality to allow community members to provide liquidity to Batcher in return for a share of the trading fees.

## Providing liquidity

Any user can supply liquidity by depositing tokens into the market vault for that token. In return, the depositor will receive a market vault token that represents the user's share of the vault holdings. The market vault token can be redeemed at any time for the share of the holdings that currently exist in the market vault.

## Liquidity Injection

Liquidity in the market vault will be used by Batcher in batches where there is no market on one side of the trading pair. If liquidity is used then all trading fees in that batch will be given to the market vault for the token which was used to supply liquidity. These fees will be sharedo amn

1 change: 1 addition & 0 deletions docs/src/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Summary

[Design](./DESIGN.md)
[Community Market Maker](./MARKET_MAKER.md)


---
Expand Down

0 comments on commit e24bb8b

Please sign in to comment.