├── .gitattributes ├── .gitignore ├── LICENSE.md ├── README.md ├── abi ├── uniswap_exchange.json └── uniswap_factory.json ├── bytecode ├── exchange.txt └── factory.txt ├── contracts ├── test_contracts │ └── ERC20.vy ├── uniswap_exchange.vy └── uniswap_factory.vy ├── requirements.txt └── tests ├── __init__.py ├── conftest.py ├── constants.py └── exchange ├── test_ERC20.py ├── test_eth_to_token.py ├── test_factory.py ├── test_liquidity_pool.py ├── test_token_to_eth.py ├── test_token_to_exchange.py └── test_token_to_token.py /.gitattributes: -------------------------------------------------------------------------------- 1 | *.vy linguist-language=Python 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/README.md -------------------------------------------------------------------------------- /abi/uniswap_exchange.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/abi/uniswap_exchange.json -------------------------------------------------------------------------------- /abi/uniswap_factory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/abi/uniswap_factory.json -------------------------------------------------------------------------------- /bytecode/exchange.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/bytecode/exchange.txt -------------------------------------------------------------------------------- /bytecode/factory.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/bytecode/factory.txt -------------------------------------------------------------------------------- /contracts/test_contracts/ERC20.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/contracts/test_contracts/ERC20.vy -------------------------------------------------------------------------------- /contracts/uniswap_exchange.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/contracts/uniswap_exchange.vy -------------------------------------------------------------------------------- /contracts/uniswap_factory.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/contracts/uniswap_factory.vy -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/requirements.txt -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/tests/constants.py -------------------------------------------------------------------------------- /tests/exchange/test_ERC20.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/tests/exchange/test_ERC20.py -------------------------------------------------------------------------------- /tests/exchange/test_eth_to_token.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/tests/exchange/test_eth_to_token.py -------------------------------------------------------------------------------- /tests/exchange/test_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/tests/exchange/test_factory.py -------------------------------------------------------------------------------- /tests/exchange/test_liquidity_pool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/tests/exchange/test_liquidity_pool.py -------------------------------------------------------------------------------- /tests/exchange/test_token_to_eth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/tests/exchange/test_token_to_eth.py -------------------------------------------------------------------------------- /tests/exchange/test_token_to_exchange.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/tests/exchange/test_token_to_exchange.py -------------------------------------------------------------------------------- /tests/exchange/test_token_to_token.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uniswap/v1-contracts/HEAD/tests/exchange/test_token_to_token.py --------------------------------------------------------------------------------