├── .eslintignore ├── .eslintrc.js ├── .gitattributes ├── .gitignore ├── .npmignore ├── .solhint.json ├── .travis.yml ├── LICENSE ├── codechecks.yml ├── contracts ├── Create2CloneFactory.sol ├── ERC20.sol ├── FPMMDeterministicFactory.sol ├── FixedProductMarketMaker.sol ├── FixedProductMarketMakerFactory.sol ├── LMSRMarketMaker.sol ├── LMSRMarketMakerFactory.sol ├── MarketMaker.sol ├── Migrations.sol └── Whitelist.sol ├── docs ├── G0Group-GnosisAMM.pdf └── G0Group-GnosisOmen2020Mar.pdf ├── inheritanceMap.json ├── migrations ├── 01_initial_migration.js ├── 02_deploy_math_lib.js ├── 03_deploy_ether_token.js ├── 04_deploy_whitelist.js ├── 10_deploy_eventmanager_factory.js └── 11_deploy_market_factories.js ├── networks.json ├── package.json ├── readme.rst ├── test ├── test-fixed-product-market-maker.js ├── test-fpmm-deterministic.js ├── test_lmsr_gas_costs.js ├── test_market_makers.js ├── test_multi_condition.js └── utils.js └── truffle.js /.eslintignore: -------------------------------------------------------------------------------- 1 | docs/ 2 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.sol linguist-language=Solidity 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | truffle-local.js 2 | docs/ 3 | -------------------------------------------------------------------------------- /.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/.solhint.json -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/LICENSE -------------------------------------------------------------------------------- /codechecks.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/codechecks.yml -------------------------------------------------------------------------------- /contracts/Create2CloneFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/contracts/Create2CloneFactory.sol -------------------------------------------------------------------------------- /contracts/ERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/contracts/ERC20.sol -------------------------------------------------------------------------------- /contracts/FPMMDeterministicFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/contracts/FPMMDeterministicFactory.sol -------------------------------------------------------------------------------- /contracts/FixedProductMarketMaker.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/contracts/FixedProductMarketMaker.sol -------------------------------------------------------------------------------- /contracts/FixedProductMarketMakerFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/contracts/FixedProductMarketMakerFactory.sol -------------------------------------------------------------------------------- /contracts/LMSRMarketMaker.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/contracts/LMSRMarketMaker.sol -------------------------------------------------------------------------------- /contracts/LMSRMarketMakerFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/contracts/LMSRMarketMakerFactory.sol -------------------------------------------------------------------------------- /contracts/MarketMaker.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/contracts/MarketMaker.sol -------------------------------------------------------------------------------- /contracts/Migrations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/contracts/Migrations.sol -------------------------------------------------------------------------------- /contracts/Whitelist.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/contracts/Whitelist.sol -------------------------------------------------------------------------------- /docs/G0Group-GnosisAMM.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/docs/G0Group-GnosisAMM.pdf -------------------------------------------------------------------------------- /docs/G0Group-GnosisOmen2020Mar.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/docs/G0Group-GnosisOmen2020Mar.pdf -------------------------------------------------------------------------------- /inheritanceMap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/inheritanceMap.json -------------------------------------------------------------------------------- /migrations/01_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/migrations/01_initial_migration.js -------------------------------------------------------------------------------- /migrations/02_deploy_math_lib.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/migrations/02_deploy_math_lib.js -------------------------------------------------------------------------------- /migrations/03_deploy_ether_token.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/migrations/03_deploy_ether_token.js -------------------------------------------------------------------------------- /migrations/04_deploy_whitelist.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/migrations/04_deploy_whitelist.js -------------------------------------------------------------------------------- /migrations/10_deploy_eventmanager_factory.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/migrations/10_deploy_eventmanager_factory.js -------------------------------------------------------------------------------- /migrations/11_deploy_market_factories.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/migrations/11_deploy_market_factories.js -------------------------------------------------------------------------------- /networks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/networks.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/package.json -------------------------------------------------------------------------------- /readme.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/readme.rst -------------------------------------------------------------------------------- /test/test-fixed-product-market-maker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/test/test-fixed-product-market-maker.js -------------------------------------------------------------------------------- /test/test-fpmm-deterministic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/test/test-fpmm-deterministic.js -------------------------------------------------------------------------------- /test/test_lmsr_gas_costs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/test/test_lmsr_gas_costs.js -------------------------------------------------------------------------------- /test/test_market_makers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/test/test_market_makers.js -------------------------------------------------------------------------------- /test/test_multi_condition.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/test/test_multi_condition.js -------------------------------------------------------------------------------- /test/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/test/utils.js -------------------------------------------------------------------------------- /truffle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gnosis/conditional-tokens-market-makers/HEAD/truffle.js --------------------------------------------------------------------------------