Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
eb6cc098
Commit
eb6cc098
authored
Oct 16, 2024
by
Uniswap Labs Service Account
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci(release): publish latest release
parent
c6692f14
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
13 deletions
+15
-13
RELEASE
RELEASE
+6
-6
VERSION
VERSION
+1
-1
OpenAIContext.tsx
apps/mobile/src/features/openai/OpenAIContext.tsx
+4
-2
searchTokens.ts
packages/uniswap/src/features/dataApi/searchTokens.ts
+4
-4
No files found.
RELEASE
View file @
eb6cc098
IPFS hash of the deployment:
IPFS hash of the deployment:
- CIDv0: `Qm
dF4tv3Pdw3BT8hSnBZ2XZrE4QDwnsjJDaey4PF7H8wF
R`
- CIDv0: `Qm
P3HJDhveJzTkfDPfPhq1XHGUv3unqqTvgYSHwrsSaM2
R`
- CIDv1: `bafybei
g5oevksar6sqpspbdxlqc7rdnyg7mf7jrqrazwkcfoal7r3xgagq
`
- CIDv1: `bafybei
akncneysroeo4fn4a5djrsantokobvtjz4d7cukzcbkoqobmlnli
`
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
...
@@ -10,10 +10,10 @@ You can also access the Uniswap Interface from an IPFS gateway.
...
@@ -10,10 +10,10 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs.
Your Uniswap settings are never remembered across different URLs.
IPFS gateways:
IPFS gateways:
- https://bafybei
g5oevksar6sqpspbdxlqc7rdnyg7mf7jrqrazwkcfoal7r3xgagq
.ipfs.dweb.link/
- https://bafybei
akncneysroeo4fn4a5djrsantokobvtjz4d7cukzcbkoqobmlnli
.ipfs.dweb.link/
- https://bafybei
g5oevksar6sqpspbdxlqc7rdnyg7mf7jrqrazwkcfoal7r3xgagq
.ipfs.cf-ipfs.com/
- https://bafybei
akncneysroeo4fn4a5djrsantokobvtjz4d7cukzcbkoqobmlnli
.ipfs.cf-ipfs.com/
- [ipfs://Qm
dF4tv3Pdw3BT8hSnBZ2XZrE4QDwnsjJDaey4PF7H8wFR/](ipfs://QmdF4tv3Pdw3BT8hSnBZ2XZrE4QDwnsjJDaey4PF7H8wF
R/)
- [ipfs://Qm
P3HJDhveJzTkfDPfPhq1XHGUv3unqqTvgYSHwrsSaM2R/](ipfs://QmP3HJDhveJzTkfDPfPhq1XHGUv3unqqTvgYSHwrsSaM2
R/)
### 5.53.
4
(2024-10-16)
### 5.53.
5
(2024-10-16)
VERSION
View file @
eb6cc098
web/5.53.4
web/5.53.5
\ No newline at end of file
\ No newline at end of file
apps/mobile/src/features/openai/OpenAIContext.tsx
View file @
eb6cc098
...
@@ -19,9 +19,9 @@ import {
...
@@ -19,9 +19,9 @@ import {
import
{
AssetType
,
CurrencyAsset
}
from
'
uniswap/src/entities/assets
'
import
{
AssetType
,
CurrencyAsset
}
from
'
uniswap/src/entities/assets
'
import
{
toSupportedChainId
}
from
'
uniswap/src/features/chains/utils
'
import
{
toSupportedChainId
}
from
'
uniswap/src/features/chains/utils
'
import
{
usePortfolioBalances
,
useTokenBalancesGroupedByVisibility
}
from
'
uniswap/src/features/dataApi/balances
'
import
{
usePortfolioBalances
,
useTokenBalancesGroupedByVisibility
}
from
'
uniswap/src/features/dataApi/balances
'
import
{
ALL_GQL_CHAINS
}
from
'
uniswap/src/features/dataApi/searchTokens
'
import
{
FeatureFlags
}
from
'
uniswap/src/features/gating/flags
'
import
{
FeatureFlags
}
from
'
uniswap/src/features/gating/flags
'
import
{
useFeatureFlag
}
from
'
uniswap/src/features/gating/hooks
'
import
{
useFeatureFlag
}
from
'
uniswap/src/features/gating/hooks
'
import
{
useEnabledChains
}
from
'
uniswap/src/features/settings/hooks
'
import
{
ModalName
}
from
'
uniswap/src/features/telemetry/constants
'
import
{
ModalName
}
from
'
uniswap/src/features/telemetry/constants
'
import
{
UniverseChainId
}
from
'
uniswap/src/types/chains
'
import
{
UniverseChainId
}
from
'
uniswap/src/types/chains
'
import
{
CurrencyField
}
from
'
uniswap/src/types/currency
'
import
{
CurrencyField
}
from
'
uniswap/src/types/currency
'
...
@@ -137,6 +137,7 @@ function _OpenAIContextProvider({ children }: { children: React.ReactNode }): JS
...
@@ -137,6 +137,7 @@ function _OpenAIContextProvider({ children }: { children: React.ReactNode }): JS
})
})
const
activeAddress
=
useActiveAccountAddress
()
||
undefined
const
activeAddress
=
useActiveAccountAddress
()
||
undefined
const
{
gqlChains
}
=
useEnabledChains
()
const
signerAccount
=
useSignerAccounts
()[
0
]
const
signerAccount
=
useSignerAccounts
()[
0
]
// We sync backup state across all accounts under the same mnemonic, so can check status with any account.
// We sync backup state across all accounts under the same mnemonic, so can check status with any account.
...
@@ -210,7 +211,7 @@ function _OpenAIContextProvider({ children }: { children: React.ReactNode }): JS
...
@@ -210,7 +211,7 @@ function _OpenAIContextProvider({ children }: { children: React.ReactNode }): JS
const
{
text
,
chain
}
=
args
const
{
text
,
chain
}
=
args
const
{
data
}
=
await
apollo
.
query
({
const
{
data
}
=
await
apollo
.
query
({
query
:
SearchTokensDocument
,
query
:
SearchTokensDocument
,
variables
:
{
searchQuery
:
text
,
chains
:
chain
?
[
chain
]
:
ALL_GQL_CHAINS
},
variables
:
{
searchQuery
:
text
,
chains
:
chain
?
[
chain
]
:
gqlChains
},
})
})
return
{
data
}
return
{
data
}
},
},
...
@@ -311,6 +312,7 @@ function _OpenAIContextProvider({ children }: { children: React.ReactNode }): JS
...
@@ -311,6 +312,7 @@ function _OpenAIContextProvider({ children }: { children: React.ReactNode }): JS
shownTokens
,
shownTokens
,
signerAccount
?.
address
,
signerAccount
?.
address
,
swapSwarning
,
swapSwarning
,
gqlChains
,
])
])
const
processMessages
=
useCallback
(
async
()
=>
{
const
processMessages
=
useCallback
(
async
()
=>
{
...
...
packages/uniswap/src/features/dataApi/searchTokens.ts
View file @
eb6cc098
import
{
useCallback
,
useMemo
}
from
'
react
'
import
{
useCallback
,
useMemo
}
from
'
react
'
import
{
Chain
,
useSearchTokensQuery
}
from
'
uniswap/src/data/graphql/uniswap-data-api/__generated__/types-and-hooks
'
import
{
useSearchTokensQuery
}
from
'
uniswap/src/data/graphql/uniswap-data-api/__generated__/types-and-hooks
'
import
{
GqlResult
}
from
'
uniswap/src/data/types
'
import
{
GqlResult
}
from
'
uniswap/src/data/types
'
import
{
toGraphQLChain
}
from
'
uniswap/src/features/chains/utils
'
import
{
toGraphQLChain
}
from
'
uniswap/src/features/chains/utils
'
import
{
CurrencyInfo
}
from
'
uniswap/src/features/dataApi/types
'
import
{
CurrencyInfo
}
from
'
uniswap/src/features/dataApi/types
'
import
{
gqlTokenToCurrencyInfo
,
usePersistedError
}
from
'
uniswap/src/features/dataApi/utils
'
import
{
gqlTokenToCurrencyInfo
,
usePersistedError
}
from
'
uniswap/src/features/dataApi/utils
'
import
{
useEnabledChains
}
from
'
uniswap/src/features/settings/hooks
'
import
{
UniverseChainId
}
from
'
uniswap/src/types/chains
'
import
{
UniverseChainId
}
from
'
uniswap/src/types/chains
'
export
const
ALL_GQL_CHAINS
=
Object
.
values
(
Chain
)
export
function
useSearchTokens
(
export
function
useSearchTokens
(
searchQuery
:
string
|
null
,
searchQuery
:
string
|
null
,
chainFilter
:
UniverseChainId
|
null
,
chainFilter
:
UniverseChainId
|
null
,
skip
:
boolean
,
skip
:
boolean
,
):
GqlResult
<
CurrencyInfo
[]
>
{
):
GqlResult
<
CurrencyInfo
[]
>
{
const
gqlChainFilter
=
chainFilter
?
toGraphQLChain
(
chainFilter
)
:
null
const
gqlChainFilter
=
chainFilter
?
toGraphQLChain
(
chainFilter
)
:
null
const
{
gqlChains
}
=
useEnabledChains
()
const
{
data
,
loading
,
error
,
refetch
}
=
useSearchTokensQuery
({
const
{
data
,
loading
,
error
,
refetch
}
=
useSearchTokensQuery
({
variables
:
{
variables
:
{
searchQuery
:
searchQuery
??
''
,
searchQuery
:
searchQuery
??
''
,
chains
:
gqlChainFilter
?
[
gqlChainFilter
]
:
ALL_GQL_CHAINS
,
chains
:
gqlChainFilter
?
[
gqlChainFilter
]
:
gqlChains
,
},
},
skip
,
skip
,
})
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment