<|start_filename|>Makefile<|end_filename|>
deploy: venv/bin/activate
	. ./config.sh; . venv/bin/activate; python3 deploy.py

add_liq_test: venv/bin/activate
	. ./config.sh; . venv/bin/activate; python3 tests/add_liquidity_test.py

swap_t1_for_t2_test: venv/bin/activate
	. ./config.sh; . venv/bin/activate; python3 tests/swap_t1_for_t2_test.py

swap_t2_for_t1_test: venv/bin/activate
	. ./config.sh; . venv/bin/activate; python3 tests/swap_t2_for_t1_test.py

withdraw_liq_test: venv/bin/activate
	. ./config.sh; . venv/bin/activate; python3 tests/withdraw_liquidity_test.py

withdraw_protocol_fees_test: venv/bin/activate
	. ./config.sh; . venv/bin/activate; python3 tests/withdraw_protocol_fees_test.py

venv/bin/activate: requirements.txt
	rm -rf venv; python3 -m venv venv; . venv/bin/activate; python3 -m pip install -r requirements.txt


<|start_filename|>frontend/src/config/production.js<|end_filename|>
module.exports = {
  API_KEY: '',
  BASE_SERVER: '',
};


<|start_filename|>frontend/src/index.css<|end_filename|>
/* @font-face {
  font-family: 'Overpass 1';
  src: url('./assets/fonts/1/Overpass-Thin.ttf') format('ttf');
}
@font-face {
  font-family: 'Overpass 2';
  src: url('./assets/fonts/2/Overpass-ExtraLight.ttf') format('ttf');
}
@font-face {
  font-family: 'Overpass 3';
  src: url('./assets/fonts/3/Overpass-Light.ttf') format('ttf');
} */
@font-face {
  font-family: 'Overpass 4';
  src: url('./assets/fonts/4/Overpass-Regular.woff') format('woff'),
    url('./assets/fonts/4/Overpass-Regular.woff2') format('woff2');
}
/* @font-face {
  font-family: 'Overpass 5';
  src: url('./assets/fonts/5/Overpass-SemiBold.ttf') format('ttf');
}
@font-face {
  font-family: 'Overpass 6';
  src: url('./assets/fonts/6/Overpass-Bold.ttf') format('ttf');
}
@font-face {
  font-family: 'Overpass 7';
  src: url('./assets/fonts/7/Overpass-ExtraBold.ttf') format('ttf');
}
@font-face {
  font-family: 'Overpass 8';
  src: url('./assets/fonts/8/Overpass-Black.ttf') format('ttf');
} */

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Overpass 4', 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}


<|start_filename|>frontend/src/config/development.js<|end_filename|>
module.exports = {
  API_KEY: '<KEY>',
  BASE_SERVER: 'https://testnet-algorand.api.purestake.io/ps2',
};


<|start_filename|>frontend/src/components/LiquidityList.css<|end_filename|>
.LiquidityList {
  display: flex;
  flex-direction: column;
  max-width: 640px;
  width: 100%;
}

.LiquidityList-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.LiquidityList-title {
  margin: 0;
}

.LiquidityList-buttons {
  display: flex;
  align-items: center;
}

.LiquidityList-create-pair {
  margin-right: 8px;
  background-color: transparent;
  color: #1e52ac;
  padding: 8px 16px;
  border: 1px solid #1e52ac;
  border-radius: 8px;
  cursor: pointer;
}

.LiquidityList-add-liquidity {
  background-color: #1e52ac;
  color: #ffffff;
  padding: 8px 16px;
  border: 1px solid #1e52ac;
  border-radius: 8px;
  cursor: pointer;
}

.LiquidityList-content {
  border: 1px solid #888888;
  border-radius: 8px;
  margin-top: 24px;
}

.LiquidityList-nullstate {
  color: #888888;
  font-size: 16px;
}


<|start_filename|>frontend/src/config.js<|end_filename|>
const developmentConfig = require('./config/development');
const productionConfig = require('./config/production');

const isProduction = process.env.ALGORAND_IS_PRODUCTION || false;

module.exports = {
  config: isProduction ? productionConfig : developmentConfig,
  isProduction,
};
