- This repo provides a way for Kolibri DAO to interact with the Quipuswap 1.0 DEX on the Tezos blockchain without giving up custody of tokens or XTZ. It uses the Harbinger oracle to verify prices.
quipuswap_maker_ceiling.py
puts a price ceiling on a Quipuswap pair that allows anyone to invoke a swap on behalf of the contract when the price meets a set of defined parameters that interact with variable timestamp and price inputs from Harbinger.quipuswap_liquidity_proxy.py
enables governance and liquidity functions. It uses Harbinger to verify that liquidity is not added at an unfavorable price.- SWAPPING FUNDS IS INHERENTLY RISKY. DOING SO AUTONOMOUSLY ADDS EVEN MORE RISK. THIS REPO PROVIDES WAYS TO MANAGE THAT RISK. IT CANNOT AND DOES NOT PRETEND TO ELIMINATE THE RISK. USE WITH CAUTION
This project was created using SmartPy 0.12 and requires the SmartPy CLI to interact
Set the addresses in common/addresses.py
, compile, and deploy.
More detailed docs for each contract are available at:
Quipuswap Liquidity Proxy Documentation
Quipuswap Maker Ceiling Documentation
This project is based on the work of Hover Labs. Specifically the Kolibri Smart Contracts.
It is released under the MIT license.
For information or questions, message chas#7053 on Discord.