ci(release): publish latest release

parent ba367959
IPFS hash of the deployment: IPFS hash of the deployment:
- CIDv0: `Qme44H1PdJPvgSyV94D33wyy895YsHH5fKWAuHN8jrexmq` - CIDv0: `QmcH1YbyUfpwzwJxmFGZVnRddiveKnnpuxFTLxBeWPMxbU`
- CIDv1: `bafybeihjplb4afnfihydwdlkzfymtd26u3tqz64r6eighq5kdqu7s6x5hq` - CIDv1: `bafybeigpctng5nggznryk3h4m7jssnnw5uab46gd3n34v5wue33bnyjvnm`
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,15 +10,10 @@ You can also access the Uniswap Interface from an IPFS gateway. ...@@ -10,15 +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://bafybeihjplb4afnfihydwdlkzfymtd26u3tqz64r6eighq5kdqu7s6x5hq.ipfs.dweb.link/ - https://bafybeigpctng5nggznryk3h4m7jssnnw5uab46gd3n34v5wue33bnyjvnm.ipfs.dweb.link/
- https://bafybeihjplb4afnfihydwdlkzfymtd26u3tqz64r6eighq5kdqu7s6x5hq.ipfs.cf-ipfs.com/ - https://bafybeigpctng5nggznryk3h4m7jssnnw5uab46gd3n34v5wue33bnyjvnm.ipfs.cf-ipfs.com/
- [ipfs://Qme44H1PdJPvgSyV94D33wyy895YsHH5fKWAuHN8jrexmq/](ipfs://Qme44H1PdJPvgSyV94D33wyy895YsHH5fKWAuHN8jrexmq/) - [ipfs://QmcH1YbyUfpwzwJxmFGZVnRddiveKnnpuxFTLxBeWPMxbU/](ipfs://QmcH1YbyUfpwzwJxmFGZVnRddiveKnnpuxFTLxBeWPMxbU/)
### 5.1.1 (2023-12-06) ### 5.1.2 (2023-12-07)
### Bug Fixes
* **web:** optional address for multichainbalance - prod hotfix (#5392) 99d4e33
web/5.1.1 web/5.1.2
\ No newline at end of file \ No newline at end of file
...@@ -16,7 +16,6 @@ import { ...@@ -16,7 +16,6 @@ import {
} from 'nft/components/profile/list/utils' } from 'nft/components/profile/list/utils'
import { useIsMobile, useNFTList, useProfilePageState, useSellAsset } from 'nft/hooks' import { useIsMobile, useNFTList, useProfilePageState, useSellAsset } from 'nft/hooks'
import { LIST_PAGE_MARGIN, LIST_PAGE_MARGIN_MOBILE } from 'nft/pages/profile/shared' import { LIST_PAGE_MARGIN, LIST_PAGE_MARGIN_MOBILE } from 'nft/pages/profile/shared'
import { looksRareNonceFetcher } from 'nft/queries/looksRare'
import { ProfilePageStateType } from 'nft/types' import { ProfilePageStateType } from 'nft/types'
import { ListingMarkets } from 'nft/utils/listNfts' import { ListingMarkets } from 'nft/utils/listNfts'
import { useEffect, useMemo, useReducer, useState } from 'react' import { useEffect, useMemo, useReducer, useState } from 'react'
...@@ -195,11 +194,10 @@ export const ListPage = () => { ...@@ -195,11 +194,10 @@ export const ListPage = () => {
issues, issues,
}) })
) )
const { listings, collectionsRequiringApproval, setLooksRareNonce, setCollectionStatusAndCallback } = useNFTList( const { listings, collectionsRequiringApproval, setCollectionStatusAndCallback } = useNFTList(
({ listings, collectionsRequiringApproval, setLooksRareNonce, setCollectionStatusAndCallback }) => ({ ({ listings, collectionsRequiringApproval, setCollectionStatusAndCallback }) => ({
listings, listings,
collectionsRequiringApproval, collectionsRequiringApproval,
setLooksRareNonce,
setCollectionStatusAndCallback, setCollectionStatusAndCallback,
}) })
) )
...@@ -235,9 +233,6 @@ export const ListPage = () => { ...@@ -235,9 +233,6 @@ export const ListPage = () => {
const startListingFlow = async () => { const startListingFlow = async () => {
if (!signer) return if (!signer) return
sendAnalyticsEvent(NFTEventName.NFT_SELL_START_LISTING, { ...startListingEventProperties }) sendAnalyticsEvent(NFTEventName.NFT_SELL_START_LISTING, { ...startListingEventProperties })
const signerAddress = await signer.getAddress()
const nonce = await looksRareNonceFetcher(signerAddress)
setLooksRareNonce(nonce ?? 0)
// for all unique collection, marketplace combos -> approve collections // for all unique collection, marketplace combos -> approve collections
for (const collectionRow of collectionsRequiringApproval) { for (const collectionRow of collectionsRequiringApproval) {
......
export { createLooksRareOrder } from './createLooksRareOrder' export { createLooksRareOrder } from './createLooksRareOrder'
export { looksRareNonceFetcher } from './looksRareNonceFetcher'
const looksRareApiAddress = 'https://api.looksrare.org/api/v1'
export const looksRareNonceFetcher = async (address: any): Promise<number | undefined> => {
const res = await fetch(`${looksRareApiAddress}/orders/nonce?address=${address}`)
if (res.status !== 200) {
console.log(`LooksRare nonce API errored with status ${res.statusText}`)
return
}
const json = await res.json()
return parseFloat(json.data)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment