-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6cf559a
Showing
928 changed files
with
138,842 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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,29 @@ | ||
REACT_APP_APP_MODE ="development" | ||
REACT_APP_UNDER_MAINTENANCE=false | ||
REACT_APP_INTERNAL_ANALYTICS=false | ||
REACT_APP_PORTIS_ID="" | ||
REACT_APP_GOOGLE_ANALYTICS_ID="" | ||
REACT_APP_WALLETCONNECT_BRIDGE="https://walletconnect.fuse.io" | ||
REACT_APP_MIXPANEL_TOKEN="" | ||
REACT_APP_AMPLITUDE_API_KEY="" | ||
|
||
REACT_APP_VOLTAGE_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/voltage-exchange/version/latest" | ||
REACT_APP_VOLTAGE_V2_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/voltage-exchange-v2/version/latest" | ||
REACT_APP_VOLTAGE_V3_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/exchange-v3/version/latest" | ||
REACT_APP_FUSD_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/fusd-subgraph/version/latest" | ||
REACT_APP_FUSD_V3_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/fusd-v3/version/latest" | ||
REACT_APP_VOLT_MAKER_V3_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/volt-maker-v3/version/latest" | ||
REACT_APP_MASTERCHEF_V3_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/masterchef-v3/version/latest" | ||
REACT_APP_MASTERCHEF_V4_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/masterchef-v4/version/latest" | ||
REACT_APP_FUSE_LIQUID_STAKING_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/fuse-liquid-staking/version/latest" | ||
REACT_APP_VOLT_BAR_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/volt-bar/version/latest" | ||
REACT_APP_VEVOLT_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/vevolt-subgraph/version/latest" | ||
REACT_APP_PEGSWAP_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/pegswap/version/latest" | ||
REACT_APP_FUSE_BLOCKS_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/fuse-blocks/version/latest" | ||
REACT_APP_FUSESWAP_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/fuseswap/version/latest" | ||
REACT_APP_VOLT_HOLDERS_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/volt-holders/version/latest" | ||
REACT_APP_STABLESWAP_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/stableswap/version/latest" | ||
REACT_APP_ETH_FUSE_AMB_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/ethereum-to-fuse-amb/version/latest" | ||
REACT_APP_FUSE_ETH_AMB_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/fuse-to-ethereum-amb-upgraded/version/latest" | ||
REACT_APP_FUSE_ETH_NATIVE_BRIDGE_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/fuse-to-ethereum-native-bridge/version/latest" | ||
REACT_APP_ETH_FUSE_NATIVE_BRIDGE_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/ethereum-to-fuse-native-bridge/version/latest" |
This file contains 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 @@ | ||
REACT_APP_APP_MODE ="production" | ||
REACT_APP_UNDER_MAINTENANCE=false | ||
REACT_APP_INTERNAL_ANALYTICS=true | ||
REACT_APP_PORTIS_ID="c0e2bf01-4b08-4fd5-ac7b-8e26b58cd236" | ||
REACT_APP_GOOGLE_ANALYTICS_ID="G-Y0L8M6FGC2" | ||
REACT_APP_WALLETCONNECT_BRIDGE="https://walletconnect.fuse.io" | ||
REACT_APP_MIXPANEL_TOKEN="f32698843b7fd9bb563f2a158cf8c337" | ||
REACT_APP_AMPLITUDE_API_KEY="f521ace08a393341f38058c94d17c6f6" | ||
|
||
REACT_APP_VOLTAGE_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/4buFyoUT8Lay3T1DK9ctdMdcpkZMdi5EpCBWZCBTKvQd" | ||
REACT_APP_VOLTAGE_V2_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/B4BGk9itvmRXzzNRAzBWwQARHRt3ZvLz11aWNVsZPT4" | ||
REACT_APP_VOLTAGE_V3_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/HzpnoLiTRga8yWaPBPBJjLp1FseiJkiynKDNXXFDKEQc" | ||
REACT_APP_FUSD_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/5UhPGFCBafFdX2GJt5NbKDy5ognQgETFHN6nUonyqki2" | ||
REACT_APP_FUSD_V3_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/6CtoTUig1ej3i24WGmJ5o9N6CL9JWB3FUjsF5C1SRjFy" | ||
REACT_APP_VOLT_MAKER_V3_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/3359CPr9JVkQWzFGbkn9X79BEtmk9xySL6TaZpsRcVCX" | ||
REACT_APP_MASTERCHEF_V3_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/4DwVLaAaEuutpoCwmGUNBS45mSnGABt42u1Qbf73BqbR" | ||
REACT_APP_MASTERCHEF_V4_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/HrxngMkaVYYQGxy937H7ZWM97gV2cHWsW5wu8jFHiZ8k" | ||
REACT_APP_FUSE_LIQUID_STAKING_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/7FQVAoYfsrYPAVzaHnky1rHGYjXj2hcw3yokeLQmpntp" | ||
REACT_APP_VOLT_BAR_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/AH6ViHt7LJJEiBJPBY1u7RQF737CRs4uk6a9uvMcSTZJ" | ||
REACT_APP_VEVOLT_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/5D1zpRupU7paCuSARLpbkmmi5ywpb6tbhdZWZpMFs7pD" | ||
REACT_APP_PEGSWAP_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/2awYxnhBXXQwUQG15pZY6K53oPGUSUEVLdB9UJF55cyy" | ||
REACT_APP_FUSE_BLOCKS_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/4NdGNtBYVAuWriUfcb58vLmiaendp7v8EQ9tGe3i1RPo" | ||
REACT_APP_FUSESWAP_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/8M4V5DnbjSWzYjDt9XUTZsiqX2cXWVcTd9nPw68NJdN4" | ||
REACT_APP_VOLT_HOLDERS_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/GJykU4wWuiFGXCCbekY6jdwCyCV91NCZgthvrsWVEAUB" | ||
REACT_APP_STABLESWAP_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/HTFuhfjdwFoc3wXGQ5UMrevui5mjx2N6pJnratYrCzSa" | ||
REACT_APP_ETH_FUSE_AMB_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/BRLusHAkqsZ6WqQM5XP1fjWopco9nNMJy3Z1TWm229c7" | ||
REACT_APP_FUSE_ETH_AMB_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/8jXFLHnfvzC6SrSYcqMhtfFKrvJkgxSbgXbNrvv4Ripi" | ||
REACT_APP_FUSE_ETH_NATIVE_BRIDGE_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/JBW2hCugtS282HzY82Dz6wsSBAnDJ4dhwiFBJvegfuG2" | ||
REACT_APP_ETH_FUSE_NATIVE_BRIDGE_SUBGRAPH_URL="https://gateway-arbitrum.network.thegraph.com/api/550967d6d70d7fce0a710f38dc7bc5df/subgraphs/id/C3Gy1tZ2M5LQ1cEXg3QdkY8S7AjsXvNq2g46NPnK9Vjy" | ||
|
||
REACT_APP_SENTRY_DSN="https://ad0553d7a464dd2ee80f5c20e5b76b06@o4507463634780160.ingest.de.sentry.io/4507463637925968" |
This file contains 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 @@ | ||
REACT_APP_APP_MODE ="staging" | ||
REACT_APP_UNDER_MAINTENANCE=false | ||
REACT_APP_INTERNAL_ANALYTICS=true | ||
REACT_APP_PORTIS_ID="c0e2bf01-4b08-4fd5-ac7b-8e26b58cd236" | ||
REACT_APP_GOOGLE_ANALYTICS_ID="G-Y0L8M6FGC2" | ||
REACT_APP_WALLETCONNECT_BRIDGE="https://walletconnect.fuse.io" | ||
REACT_APP_MIXPANEL_TOKEN="f32698843b7fd9bb563f2a158cf8c337" | ||
REACT_APP_AMPLITUDE_API_KEY="541a23ccf4420203f5a023aab2879741" | ||
|
||
REACT_APP_VOLTAGE_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/voltage-exchange/version/latest" | ||
REACT_APP_VOLTAGE_V2_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/voltage-exchange-v2/version/latest" | ||
REACT_APP_VOLTAGE_V3_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/exchange-v3/version/latest" | ||
REACT_APP_FUSD_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/fusd-subgraph/version/latest" | ||
REACT_APP_FUSD_V3_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/fusd-v3/version/latest" | ||
REACT_APP_VOLT_MAKER_V3_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/volt-maker-v3/version/latest" | ||
REACT_APP_MASTERCHEF_V3_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/masterchef-v3/version/latest" | ||
REACT_APP_MASTERCHEF_V4_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/masterchef-v4/version/latest" | ||
REACT_APP_FUSE_LIQUID_STAKING_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/fuse-liquid-staking/version/latest" | ||
REACT_APP_VOLT_BAR_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/volt-bar/version/latest" | ||
REACT_APP_VEVOLT_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/vevolt-subgraph/version/latest" | ||
REACT_APP_PEGSWAP_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/pegswap/version/latest" | ||
REACT_APP_FUSE_BLOCKS_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/fuse-blocks/version/latest" | ||
REACT_APP_FUSESWAP_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/fuseswap/version/latest" | ||
REACT_APP_VOLT_HOLDERS_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/volt-holders/version/latest" | ||
REACT_APP_STABLESWAP_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/stableswap/version/latest" | ||
REACT_APP_ETH_FUSE_AMB_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/ethereum-to-fuse-amb/version/latest" | ||
REACT_APP_FUSE_ETH_AMB_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/fuse-to-ethereum-amb-upgraded/version/latest" | ||
REACT_APP_FUSE_ETH_NATIVE_BRIDGE_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/fuse-to-ethereum-native-bridge/version/latest" | ||
REACT_APP_ETH_FUSE_NATIVE_BRIDGE_SUBGRAPH_URL="https://api.studio.thegraph.com/query/78455/ethereum-to-fuse-native-bridge/version/latest" | ||
|
||
REACT_APP_SENTRY_DSN="https://ad0553d7a464dd2ee80f5c20e5b76b06@o4507463634780160.ingest.de.sentry.io/4507463637925968" |
This file contains 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,3 @@ | ||
/*.js | ||
node_modules | ||
dist |
This file contains 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 @@ | ||
{ | ||
"extends": ["plugin:react/recommended", "plugin:@typescript-eslint/recommended", "prettier", "plugin:react-hooks/recommended"], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": 2020, | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["react", "@typescript-eslint"], | ||
"ignorePatterns": ["node_modules/**/*","src/deprecated/**/*.tsx"], | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
} | ||
}, | ||
"rules": { | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"react/react-in-jsx-scope": "off", | ||
"@typescript-eslint/explicit-module-boundary-types":"off", | ||
"react-hooks/exhaustive-deps": "warn", | ||
"react-hooks/rules-of-hooks": "warn" | ||
} | ||
} |
This file contains 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,29 @@ | ||
--- | ||
name: Bug Report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
--- | ||
|
||
<!-- | ||
DO NOT CREATE A TOKEN LISTING REQUEST IN THIS REPOSITORY. | ||
YOUR ISSUE WILL BE DELETED. | ||
SEE https://github.com/Uniswap/default-token-list#adding-a-token | ||
IF YOU NEED SUPPORT, JOIN THE DISCORD: https://discord.com/invite/EwFs3Pp | ||
--> | ||
|
||
**Bug Description** | ||
A clear and concise description of the bug. | ||
|
||
**Steps to Reproduce** | ||
1. Go to ... | ||
2. Click on ... | ||
... | ||
|
||
**Expected Behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Additional Context** | ||
Add any other context about the problem here (screenshots, whether the bug only occurs only in certain mobile/desktop/browser environments, etc.) |
This file contains 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 @@ | ||
blank_issues_enabled: false |
This file contains 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,27 @@ | ||
--- | ||
name: Feature Request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
<!-- | ||
DO NOT CREATE A TOKEN LISTING REQUEST IN THIS REPOSITORY. | ||
YOUR ISSUE WILL BE DELETED. | ||
SEE https://github.com/Uniswap/default-token-list#adding-a-token | ||
IF YOU NEED SUPPORT, JOIN THE DISCORD: https://discord.com/invite/EwFs3Pp | ||
--> | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains 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,18 @@ | ||
--- | ||
name: Something Else | ||
about: Tell us something else | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
<!-- | ||
DO NOT CREATE A TOKEN LISTING REQUEST IN THIS REPOSITORY. | ||
YOUR ISSUE WILL BE DELETED. | ||
SEE https://github.com/Uniswap/default-token-list#adding-a-token | ||
IF YOU NEED SUPPORT, JOIN THE DISCORD: https://discord.com/invite/EwFs3Pp | ||
--> | ||
|
||
|
||
|
This file contains 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,3 @@ | ||
**PLEASE DO NOT SUBMIT TOKEN ADDITIONS AS PULL REQUESTS** | ||
|
||
All token requests should be made via an issue. |
This file contains 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,103 @@ | ||
name: Release | ||
on: | ||
# every morning | ||
schedule: | ||
- cron: '0 12 * * 1-4' | ||
|
||
# manual trigger | ||
workflow_dispatch: | ||
|
||
jobs: | ||
bump_version: | ||
name: Bump Version | ||
runs-on: ubuntu-latest | ||
outputs: | ||
new_tag: ${{ steps.github_tag_action.outputs.new_tag }} | ||
changelog: ${{ steps.github_tag_action.outputs.changelog }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
|
||
- name: Bump version and push tag | ||
id: github_tag_action | ||
uses: mathieudutour/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
release_branches: .* | ||
|
||
create_release: | ||
name: Create Release | ||
runs-on: ubuntu-latest | ||
needs: bump_version | ||
if: ${{ needs.bump_version.outputs.new_tag != null }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
|
||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12' | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Build the IPFS bundle | ||
run: yarn build | ||
|
||
- name: Pin to IPFS | ||
id: upload | ||
uses: anantaramdas/ipfs-pinata-deploy-action@39bbda1ce1fe24c69c6f57861b8038278d53688d | ||
with: | ||
pin-name: Uniswap ${{ needs.bump_version.outputs.new_tag }} | ||
path: './build' | ||
pinata-api-key: ${{ secrets.PINATA_API_KEY }} | ||
pinata-secret-api-key: ${{ secrets.PINATA_API_SECRET_KEY }} | ||
|
||
- name: Convert CIDv0 to CIDv1 | ||
id: convert_cidv0 | ||
uses: uniswap/[email protected] | ||
with: | ||
cidv0: ${{ steps.upload.outputs.hash }} | ||
|
||
- name: Update DNS with new IPFS hash | ||
env: | ||
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }} | ||
RECORD_DOMAIN: 'uniswap.org' | ||
RECORD_NAME: '_dnslink.app' | ||
CLOUDFLARE_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }} | ||
uses: textileio/cloudflare-update-dnslink@0fe7b7a1ffc865db3a4da9773f0f987447ad5848 | ||
with: | ||
cid: ${{ steps.upload.outputs.hash }} | ||
|
||
- name: Create GitHub Release | ||
id: create_release | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ needs.bump_version.outputs.new_tag }} | ||
release_name: Release ${{ needs.bump_version.outputs.new_tag }} | ||
body: | | ||
IPFS hash of the deployment: | ||
- CIDv0: `${{ steps.upload.outputs.hash }}` | ||
- CIDv1: `${{ steps.convert_cidv0.outputs.cidv1 }}` | ||
The latest release is always accessible via our alias to the Cloudflare IPFS gateway at [app.uniswap.org](https://app.uniswap.org). | ||
You can also access the Uniswap Interface directly from an IPFS gateway. | ||
The Uniswap interface uses [`localStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) to store your settings. | ||
**Beware** that other sites you access via the _same_ IPFS gateway can read and modify your settings on the Uniswap interface without your permission. | ||
You can avoid this issue by using a subdomain IPFS gateway, or our alias to the latest release at [app.uniswap.org](https://app.uniswap.org). | ||
The preferred URLs below are safe to use to access this specific release. | ||
Preferred URLs: | ||
- https://${{ steps.convert_cidv0.outputs.cidv1 }}.ipfs.dweb.link/ | ||
- https://${{ steps.convert_cidv0.outputs.cidv1 }}.ipfs.cf-ipfs.com/ | ||
- [ipfs://${{ steps.upload.outputs.hash }}/](ipfs://${{ steps.upload.outputs.hash }}/) | ||
Other IPFS gateways: | ||
- https://cloudflare-ipfs.com/ipfs/${{ steps.upload.outputs.hash }}/ | ||
- https://ipfs.infura.io/ipfs/${{ steps.upload.outputs.hash }}/ | ||
- https://ipfs.io/ipfs/${{ steps.upload.outputs.hash }}/ | ||
${{ needs.bump_version.outputs.changelog }} |
Oops, something went wrong.