forked from Uniswap/interface
-
Notifications
You must be signed in to change notification settings - Fork 0
Uniswap/main foundry ux #126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Dargon789
wants to merge
58
commits into
main
Choose a base branch
from
uniswap/main-foundry-ux
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
38c3917
Create static.yml
Dargon789 c7937cf
Create SECURITY.md
Dargon789 5e36ad3
Create jekyll-gh-pages.yml
Dargon789 9cafb49
Potential fix for code scanning alert no. 11: Incomplete string escap…
Dargon789 f7c261d
Potential fix for code scanning alert no. 10: Incomplete regular expr…
Dargon789 d591a8d
Merge pull request #9 from Dargon789/alert-autofix-10
Dargon789 6d175a4
Merge pull request #6 from Dargon789/Dargon789-patch-3
Dargon789 1a66a6f
Merge pull request #7 from Dargon789/alert-autofix-11
Dargon789 c3c6f03
Merge pull request #2 from Dargon789/Dargon789-patch-2
Dargon789 27b0c15
Merge pull request #1 from Dargon789/Dargon789-patch-1
Dargon789 aa2a0f2
Merge branch 'Uniswap:main' into main
Dargon789 ef8aa9f
Merge branch 'Uniswap:main' into main
Dargon789 09d7af5
fix: packages/wallet/package.json to reduce vulnerabilities
snyk-bot 0acc3d6
fix: packages/utilities/package.json to reduce vulnerabilities
snyk-bot 2c1f99b
fix: apps/mobile/package.json to reduce vulnerabilities
snyk-bot 9427c3c
Merge pull request #18 from Dargon789/snyk-fix-9be0a1d2ae92acc7332505…
Dargon789 e9755d6
fix: apps/mobile/package.json to reduce vulnerabilities
snyk-bot 0c58ce1
Merge pull request #21 from Dargon789/snyk-fix-d77ca07c87b0c5245594fd…
Dargon789 5705e0d
fix: apps/mobile/package.json to reduce vulnerabilities
snyk-bot 0e3c1b4
Merge pull request #16 from Dargon789/snyk-fix-107e0e51af286852e0e565…
Dargon789 4122857
Merge pull request #15 from Dargon789/snyk-fix-ac8ffdf06593961b331fe5…
Dargon789 405e01c
Merge pull request #22 from Dargon789/snyk-fix-78de97ca8975f9e7e610e9…
Dargon789 2f09c4e
fix: packages/utilities/package.json to reduce vulnerabilities
snyk-bot 7a36b08
fix: packages/uniswap/package.json to reduce vulnerabilities
snyk-bot 4b672fe
Merge pull request #25 from Dargon789/snyk-fix-f5cd1d35c0e61779161c88…
Dargon789 bd5a963
Merge pull request #24 from Dargon789/snyk-fix-84e19216aa21cc924f206a…
Dargon789 1b8ac68
fix: packages/uniswap/package.json to reduce vulnerabilities
snyk-bot 22836cc
Merge pull request #26 from Dargon789/snyk-fix-659a6c5a5d0bde282986ba…
Dargon789 c9d06b9
fix: packages/uniswap/package.json to reduce vulnerabilities
snyk-bot eacf92c
Merge pull request #27 from Dargon789/snyk-fix-150a7cc67904080ad02dff…
Dargon789 86f739d
fix: packages/uniswap/package.json to reduce vulnerabilities
snyk-bot bb0b1b1
Merge pull request #28 from Dargon789/snyk-fix-b3c586e1ca9668d98a90ca…
Dargon789 7991e0d
fix: apps/extension/package.json to reduce vulnerabilities
snyk-bot 565b44b
Merge pull request #29 from Dargon789/snyk-fix-c02104d5702790c65d206c…
Dargon789 35bea4b
Potential fix for code scanning alert no. 9: Incomplete regular expre…
Dargon789 186408f
Potential fix for code scanning alert no. 2: Inefficient regular expr…
Dargon789 b81f3b9
fix: packages/uniswap/package.json to reduce vulnerabilities (#14)
Dargon789 049c9a4
fix: apps/extension/package.json to reduce vulnerabilities (#17)
Dargon789 1a07ec8
fix: apps/mobile/Gemfile & apps/mobile/Gemfile.lock to reduce vulnera…
Dargon789 62f5c53
fix: apps/mobile/package.json to reduce vulnerabilities (#23)
Dargon789 4abfd13
fix: apps/extension/package.json to reduce vulnerabilities (#30)
Dargon789 31a92d0
fix: apps/extension/package.json to reduce vulnerabilities (#31)
Dargon789 70d8acc
fix: apps/extension/package.json to reduce vulnerabilities (#32)
Dargon789 69612cb
Circleci project setup (#34)
Dargon789 cbfbdbf
fix: packages/wallet/package.json to reduce vulnerabilities (#33)
Dargon789 d3a93e8
fix: packages/wallet/package.json to reduce vulnerabilities (#35)
Dargon789 d62098f
fix: packages/wallet/package.json to reduce vulnerabilities (#36)
Dargon789 936eb1a
Circleci project setup (#37)
Dargon789 364eefa
Potential fix for code scanning alert no. 12: Inefficient regular exp…
Dargon789 7ceded6
Circleci project setup (#39)
Dargon789 7d01e37
feat: upgrade turbo from 1.13.4 to 2.4.2
snyk-bot 5422b19
Update static.yml
Dargon789 fbe55b5
Update jekyll-gh-pages.yml
Dargon789 5db5983
Create ci-web3-gamefi.yml (#86)
Dargon789 73418e6
Create docker.yml (#88)
Dargon789 c723e2f
Merge remote-tracking branch 'upstream/main' into uniswap/main-foundr…
googleworkspace-bot e7e0546
Update packages/uniswap/src/features/transactions/hooks/usePollingInt…
Dargon789 8224067
Update packages/uniswap/src/features/transactions/hooks/usePollingInt…
Dargon789 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # Use the latest 2.1 version of CircleCI pipeline process engine. | ||
| # See: https://circleci.com/docs/configuration-reference | ||
|
|
||
| version: 2.1 | ||
| executors: | ||
| my-custom-executor: | ||
| docker: | ||
| - image: cimg/base:stable | ||
| auth: | ||
| # ensure you have first added these secrets | ||
| # visit app.circleci.com/settings/project/github/Dargon789/foundry/environment-variables | ||
| username: $DOCKER_HUB_USER | ||
| password: $DOCKER_HUB_PASSWORD | ||
| jobs: | ||
| web3-defi-game-project-: | ||
|
|
||
| executor: my-custom-executor | ||
| steps: | ||
| - checkout | ||
| - run: | | ||
| # echo Hello, World! | ||
|
|
||
| workflows: | ||
| my-custom-workflow: | ||
| jobs: | ||
| - web3-defi-game-project- | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| # Use the latest 2.1 version of CircleCI pipeline process engine. | ||
| # See: https://circleci.com/docs/configuration-reference | ||
| version: 2.1 | ||
|
|
||
| # Define a job to be invoked later in a workflow. | ||
| # See: https://circleci.com/docs/jobs-steps/#jobs-overview & https://circleci.com/docs/configuration-reference/#jobs | ||
| jobs: | ||
| say-hello: | ||
| # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub. | ||
| # See: https://circleci.com/docs/executor-intro/ & https://circleci.com/docs/configuration-reference/#executor-job | ||
| docker: | ||
| # Specify the version you desire here | ||
| # See: https://circleci.com/developer/images/image/cimg/base | ||
| - image: cimg/base:current | ||
|
|
||
| # Add steps to the job | ||
| # See: https://circleci.com/docs/jobs-steps/#steps-overview & https://circleci.com/docs/configuration-reference/#steps | ||
| steps: | ||
| # Checkout the code as the first step. | ||
| - checkout | ||
| - run: | ||
| name: "Say hello" | ||
| command: "echo Hello, World!" | ||
|
|
||
| # Orchestrate jobs using workflows | ||
| # See: https://circleci.com/docs/workflows/ & https://circleci.com/docs/configuration-reference/#workflows | ||
| workflows: | ||
| say-hello-workflow: # This is the name of the workflow, feel free to change it to better match your workflow. | ||
| # Inside the workflow, you define the jobs you want to run. | ||
| jobs: | ||
| - say-hello |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,100 @@ | ||
| name: Docker | ||
|
|
||
| # This workflow uses actions that are not certified by GitHub. | ||
| # They are provided by a third-party and are governed by | ||
| # separate terms of service, privacy policy, and support | ||
| # documentation. | ||
|
|
||
| on: | ||
| schedule: | ||
| - cron: '21 12 * * *' | ||
| push: | ||
| branches: [ "main" ] | ||
| # Publish semver tags as releases. | ||
| tags: [ 'v*.*.*' ] | ||
| pull_request: | ||
| branches: [ "main" ] | ||
|
|
||
| env: | ||
| # Use docker.io for Docker Hub if empty | ||
| REGISTRY: ghcr.io | ||
| # github.repository as <account>/<repo> | ||
| IMAGE_NAME: ${{ github.repository }} | ||
|
|
||
|
|
||
| jobs: | ||
| build: | ||
| - name: Build the Docker image | ||
| run: docker build . --file path/to/Dockerfile --tag my-image-name:$(date +%s) | ||
|
|
||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| packages: write | ||
| # This is used to complete the identity challenge | ||
| # with sigstore/fulcio when running outside of PRs. | ||
| id-token: write | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| # Install the cosign tool except on PR | ||
| # https://github.com/sigstore/cosign-installer | ||
| - name: Install cosign | ||
| if: github.event_name != 'pull_request' | ||
| uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 #v3.5.0 | ||
| with: | ||
| cosign-release: 'v2.2.4' | ||
|
|
||
| # Set up BuildKit Docker container builder to be able to build | ||
| # multi-platform images and export cache | ||
| # https://github.com/docker/setup-buildx-action | ||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0 | ||
|
|
||
| # Login against a Docker registry except on PR | ||
| # https://github.com/docker/login-action | ||
| - name: Log into registry ${{ env.REGISTRY }} | ||
| if: github.event_name != 'pull_request' | ||
| uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0 | ||
| with: | ||
| registry: ${{ env.REGISTRY }} | ||
| username: ${{ github.actor }} | ||
| password: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| # Extract metadata (tags, labels) for Docker | ||
| # https://github.com/docker/metadata-action | ||
| - name: Extract Docker metadata | ||
| id: meta | ||
| uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0 | ||
| with: | ||
| images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | ||
|
|
||
| # Build and push Docker image with Buildx (don't push on PR) | ||
| # https://github.com/docker/build-push-action | ||
| - name: Build and push Docker image | ||
| id: build-and-push | ||
| uses: docker/build-push-action@v5.0.0 | ||
| with: | ||
| context: ./ | ||
| push: ${{ github.event_name != 'pull_request' }} | ||
| tags: ${{ steps.meta.outputs.tags }} | ||
| labels: ${{ steps.meta.outputs.labels }} | ||
| cache-from: type=gha | ||
| cache-to: type=gha,mode=max | ||
|
|
||
| # Sign the resulting Docker image digest except on PRs. | ||
| # This will only write to the public Rekor transparency log when the Docker | ||
| # repository is public to avoid leaking data. If you would like to publish | ||
| # transparency data even for private images, pass --force to cosign below. | ||
| # https://github.com/sigstore/cosign | ||
| - name: Sign the published Docker image | ||
| if: ${{ github.event_name != 'pull_request' }} | ||
| env: | ||
| # https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable | ||
| TAGS: ${{ steps.meta.outputs.tags }} | ||
| DIGEST: ${{ steps.build-and-push.outputs.digest }} | ||
| # This step uses the identity token to provision an ephemeral certificate | ||
| # against the sigstore community Fulcio instance. | ||
| run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| # Sample workflow for building and deploying a Jekyll site to GitHub Pages | ||
| name: Deploy Jekyll with GitHub Pages dependencies preinstalled | ||
| on: | ||
| # Runs on pushes targeting the default branch | ||
| push: | ||
| branches: ["main"] | ||
|
|
||
| # Allows you to run this workflow manually from the Actions tab | ||
| workflow_dispatch: | ||
|
|
||
| # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
| permissions: | ||
| contents: read | ||
| pages: write | ||
| id-token: write | ||
|
|
||
| # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
| # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
| concurrency: | ||
| group: "pages" | ||
| cancel-in-progress: false | ||
|
|
||
| jobs: | ||
| # Build job | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Setup Pages | ||
| uses: actions/configure-pages@v5 | ||
| - name: Build with Jekyll | ||
| uses: actions/jekyll-build-pages@v1 | ||
| with: | ||
| source: ./ | ||
| destination: ./_site | ||
| - name: Upload artifact | ||
| uses: actions/upload-pages-artifact@v3 | ||
|
|
||
| # Deployment job | ||
| deploy: | ||
| environment: | ||
| name: github-pages | ||
| url: ${{ steps.deployment.outputs.page_url }} | ||
| runs-on: ubuntu-latest | ||
| needs: build | ||
| steps: | ||
| - name: Deploy to GitHub Pages | ||
| id: deployment | ||
| uses: actions/deploy-pages@v4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| # Simple workflow for deploying static content to GitHub Pages | ||
| name: Deploy static content to Pages | ||
| on: | ||
| # Runs on pushes targeting the default branch | ||
| push: | ||
| branches: ["main"] | ||
|
|
||
| # Allows you to run this workflow manually from the Actions tab | ||
| workflow_dispatch: | ||
|
|
||
| # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
| permissions: | ||
| contents: read | ||
| pages: write | ||
| id-token: write | ||
|
|
||
| # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
| # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
| concurrency: | ||
| group: "pages" | ||
| cancel-in-progress: false | ||
|
|
||
| jobs: | ||
| # Single deploy job since we're just deploying | ||
| deploy: | ||
| environment: | ||
| name: github-pages | ||
| url: ${{ steps.deployment.outputs.page_url }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Setup Pages | ||
| uses: actions/configure-pages@v5 | ||
| - name: Upload artifact | ||
| uses: actions/upload-pages-artifact@v3 | ||
| with: | ||
| # Upload entire repository | ||
| path: '.' | ||
| - name: Deploy to GitHub Pages | ||
| id: deployment | ||
| uses: actions/deploy-pages@v4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Security Policy | ||
|
|
||
| ## Supported Versions | ||
|
|
||
| Use this section to tell people about which versions of your project are | ||
| currently being supported with security updates. | ||
|
|
||
| | Version | Supported | | ||
| | ------- | ------------------ | | ||
| | 5.1.x | :white_check_mark: | | ||
| | 5.0.x | :x: | | ||
| | 4.0.x | :white_check_mark: | | ||
| | < 4.0 | :x: | | ||
|
|
||
| ## Reporting a Vulnerability | ||
|
|
||
| Use this section to tell people how to report a vulnerability. | ||
|
|
||
| Tell them where to go, how often they can expect to get an update on a | ||
| reported vulnerability, what to expect if the vulnerability is accepted or | ||
| declined, etc. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.