{"id":22314350,"url":"https://github.com/gammaswap/v1-implementations","last_synced_at":"2026-03-11T09:31:10.369Z","repository":{"id":197323384,"uuid":"501758669","full_name":"gammaswap/v1-implementations","owner":"gammaswap","description":"Pool and strategies implementation contracts for GammaSwap V1 protocol","archived":false,"fork":false,"pushed_at":"2025-06-10T05:50:15.000Z","size":6672,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-20T02:26:39.732Z","etag":null,"topics":["deffi","gammaswap","trading","volatility"],"latest_commit_sha":null,"homepage":"https://gammaswap.com","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gammaswap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-09T18:02:58.000Z","updated_at":"2025-09-08T19:45:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe6d4965-6afe-4d62-aadf-84dde03b7959","html_url":"https://github.com/gammaswap/v1-implementations","commit_stats":null,"previous_names":["gammaswap/v1-implementations"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gammaswap/v1-implementations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gammaswap%2Fv1-implementations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gammaswap%2Fv1-implementations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gammaswap%2Fv1-implementations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gammaswap%2Fv1-implementations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gammaswap","download_url":"https://codeload.github.com/gammaswap/v1-implementations/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gammaswap%2Fv1-implementations/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30377272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T06:09:32.197Z","status":"ssl_error","status_checked_at":"2026-03-11T06:09:17.086Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deffi","gammaswap","trading","volatility"],"created_at":"2024-12-03T22:09:44.935Z","updated_at":"2026-03-11T09:31:10.078Z","avatar_url":"https://github.com/gammaswap.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"https://gammaswap.com\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg width=\"100\" src=\"https://app.gammaswap.com/logo.svg\" alt=\"Gammaswap logo\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/gammaswap/v1-implementations/actions/workflows/main.yml\"\u003e\n    \u003cimg src=\"https://github.com/gammaswap/v1-implementations/actions/workflows/main.yml/badge.svg?branch=main\" alt=\"Compile/Test/Publish\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eV1-Implementations\u003c/h1\u003e\n\n## Description\nThis is the repository for the implementation smart contracts of the GammaSwap V1 protocol.\n\nThis repository contains concrete implementations of GammaPools and their strategies using the abstract contracts from v1-core\n\nThe implementation contracts are used to create blueprints of GammaPools for different protocols (e.g. UniswapV2, Balancer, etc.)\n\nThe current implementation contracts in existence are for UniswapV2 and forks of UniswapV2.\n\nThe CPMMMath contract can be used as a library to calculate quantities to trade in GammaPool to rebalance a position's collateral for UniswapV2 and its forks\n\n## Steps to Run GammaSwap Tests Locally\n\nAll tests are found in v1-liquidator repository. If you add new tests here, to run them do the following\n\n1. Run `yarn` to install GammaSwap dependencies\n2. Run `yarn test` to run hardhat tests\n3. Run `yarn fuzz` to run foundry tests (Need foundry binaries installed locally)\n\nTo deploy contracts to local live network use v1-deployment repository\n\n### Note\nTo install foundry locally go to [getfoundry.sh](https://getfoundry.sh/)\n\n## Solidity Versions\nCode is tested with solidity version 0.8.19.\n\nConcrete and abstract contracts support only solidity version 0.8.19.\n\nInterfaces support solidity version 0.8.0 and up.\n\n## Publishing NPM Packages\n\nTo publish an npm package follow the following steps\n\n1. Bump the package.json version to the next level (either major, minor, or patch version)\n2. commit to the main branch adding 'publish package' in the comment section of the commit (e.g. when merging a pull request)\n\n### Rules for updating package.json version\n\n1. If change does not break interface, then it's a patch version update\n2. If change breaks interface, then it's a minor version update\n3. If change is for a new product release to public, it's a major version update\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgammaswap%2Fv1-implementations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgammaswap%2Fv1-implementations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgammaswap%2Fv1-implementations/lists"}