@0xsequence/marketplace-sdk 1.1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -3
- package/dist/{BellIcon-ByhygxBO.js → BellIcon-DMKEumAz.js} +2 -2
- package/dist/BellIcon-DMKEumAz.js.map +1 -0
- package/dist/{CartIcon-Bt3rQYGk.js → CartIcon-UyB4NYKt.js} +3 -3
- package/dist/CartIcon-UyB4NYKt.js.map +1 -0
- package/dist/CollectibleCard-z05qWzKE.d.ts +8 -0
- package/dist/_internal-DkS2VUn5.js.map +1 -1
- package/dist/abi-fa-o9gH3.js.map +1 -1
- package/dist/{alien_swap-DoY6XfMA.js → alien_swap-Cq8LuElo.js} +1 -1
- package/dist/{alien_swap-DoY6XfMA.js.map → alien_swap-Cq8LuElo.js.map} +1 -1
- package/dist/{api-BoO0V5aJ.js → api-GwTR0dBA.js} +8 -49
- package/dist/api-GwTR0dBA.js.map +1 -0
- package/dist/{aqua-xyz-BBDxnG14.js → aqua-xyz-0yye_c-Z.js} +1 -1
- package/dist/{aqua-xyz-BBDxnG14.js.map → aqua-xyz-0yye_c-Z.js.map} +1 -1
- package/dist/{aura-DGx2zwvF.js → aura-TaxFvTFQ.js} +1 -1
- package/dist/{aura-DGx2zwvF.js.map → aura-TaxFvTFQ.js.map} +1 -1
- package/dist/{blur-D8GKrRrq.js → blur-BupOTobO.js} +1 -1
- package/dist/{blur-D8GKrRrq.js.map → blur-BupOTobO.js.map} +1 -1
- package/dist/{builder-api-BFuZNOaN.js → builder-api-m4JAA6ee.js} +3 -3
- package/dist/builder-api-m4JAA6ee.js.map +1 -0
- package/dist/{builder.gen-B9wR2nvF.js → builder.gen--XD71cNL.js} +2 -2
- package/dist/builder.gen--XD71cNL.js.map +1 -0
- package/dist/{coinbase-DOry4PXY.js → coinbase-DTgZ4wDT.js} +1 -1
- package/dist/{coinbase-DOry4PXY.js.map → coinbase-DTgZ4wDT.js.map} +1 -1
- package/dist/{collectibles-C_H8jMGH.js → collectibles-CZ6i8sXK.js} +15 -49
- package/dist/collectibles-CZ6i8sXK.js.map +1 -0
- package/dist/{collections-CKummc-R.js → collections-5NcU-7ZR.js} +92 -10
- package/dist/collections-5NcU-7ZR.js.map +1 -0
- package/dist/{components-CosnX7F9.js → components-CY8kx2kb.js} +13 -9
- package/dist/components-CY8kx2kb.js.map +1 -0
- package/dist/{contracts-BP_0vX48.js → contracts-DRJHF89h.js} +4 -3
- package/dist/{contracts-BP_0vX48.js.map → contracts-DRJHF89h.js.map} +1 -1
- package/dist/{create-config-CIfejoCk.js → create-config-BxyfYCEk.js} +6 -5
- package/dist/create-config-BxyfYCEk.js.map +1 -0
- package/dist/{create-config-ZOB7i4ZJ.d.ts → create-config-CFBeD8CB.d.ts} +47 -60
- package/dist/{element-ciybd_VF.js → element-D4dDznlu.js} +1 -1
- package/dist/{element-ciybd_VF.js.map → element-D4dDznlu.js.map} +1 -1
- package/dist/{filters-V-V8Dn8f.d.ts → filters-B5niI_fX.d.ts} +7 -7
- package/dist/{foundation-Bq4lRz4x.js → foundation-GHZOKAzN.js} +1 -1
- package/dist/{foundation-Bq4lRz4x.js.map → foundation-GHZOKAzN.js.map} +1 -1
- package/dist/{index-BeRV-7AX.d.ts → index-8scPf0CS.d.ts} +2 -2
- package/dist/index-9qsplZ8r.d.ts +18 -0
- package/dist/{index-BZIJTQT0.d.ts → index-BIuYTMc2.d.ts} +10 -9
- package/dist/{index-C4MUKshG.d.ts → index-BNrz99xy.d.ts} +3 -3
- package/dist/{index-Bsx6XsC2.d.ts → index-BYQOPS8e.d.ts} +116 -62
- package/dist/{index-DUXfvhxs.d.ts → index-BkZ7SPLc.d.ts} +19 -29
- package/dist/{index-NlPMNcqh.d.ts → index-BnUku_aF.d.ts} +109 -114
- package/dist/{index-Stm5u0I0.d.ts → index-BtDAHMW_.d.ts} +9 -12
- package/dist/{index-BOiHR01C.d.ts → index-C-c_M_sE.d.ts} +10 -9
- package/dist/{index-DWt6yrIG.d.ts → index-CNIiC8Z_.d.ts} +11 -8
- package/dist/{index-DmudgrsN.d.ts → index-CbERNN3s.d.ts} +26 -16
- package/dist/{index-CxpFwGvR.d.ts → index-CsfxsN0t.d.ts} +4 -4
- package/dist/{index-CxA34wP1.d.ts → index-DASjaiJL.d.ts} +105 -19
- package/dist/{index-Bxzjy0d1.d.ts → index-DD7Vc4cE.d.ts} +2 -2
- package/dist/{index-DqXd1EeB.d.ts → index-DIc8OqWV.d.ts} +7 -6
- package/dist/{index-CnEbXm_t.d.ts → index-DVI_vggD.d.ts} +53 -12
- package/dist/{index-CPzvNmq9.d.ts → index-DqxQeYT2.d.ts} +39 -36
- package/dist/{index-CS65jqOq.d.ts → index-Dsf9FRtr.d.ts} +19 -3
- package/dist/{index-DFEnA6Wa.d.ts → index-DxAReMEO.d.ts} +34 -34
- package/dist/{index-U-zp70of.d.ts → index-UXRoZmd_.d.ts} +8 -12
- package/dist/{index-DwKr18CI.d.ts → index-isFvc5gd.d.ts} +2 -2
- package/dist/{index-BtWMBHeP.d.ts → index-j3nuJWyJ.d.ts} +13 -9
- package/dist/{index-C-745li7.d.ts → index-nVb7o0hc.d.ts} +2 -2
- package/dist/{index-D9LPlmbC.d.ts → index-pbE88Tt7.d.ts} +2 -2
- package/dist/index.d.ts +8 -8
- package/dist/index.js +9 -9
- package/dist/{inventory-Dd7TazvZ.js → inventory--t6Zu55O.js} +21 -18
- package/dist/inventory--t6Zu55O.js.map +1 -0
- package/dist/{listCollectiblesPaginated-Cy2_qEZA.d.ts → listCollectiblesPaginated-BlE5mSzh.d.ts} +32 -32
- package/dist/{listCollections-BB9FxKj2.d.ts → listCollections-DWyqFSQ3.d.ts} +143 -66
- package/dist/{looks-rare-6H--x3AM.js → looks-rare-2HBhMpOf.js} +1 -1
- package/dist/{looks-rare-6H--x3AM.js.map → looks-rare-2HBhMpOf.js.map} +1 -1
- package/dist/{lowestListing-Cbsi6M1K.d.ts → lowestListing-DsunDO1c.d.ts} +38 -28
- package/dist/{magic-eden-BoxEQ1Li.js → magic-eden-BYdTp-uk.js} +1 -1
- package/dist/{magic-eden-BoxEQ1Li.js.map → magic-eden-BYdTp-uk.js.map} +1 -1
- package/dist/{manifold-DycKsljb.js → manifold-yE0x6ZmO.js} +1 -1
- package/dist/{manifold-DycKsljb.js.map → manifold-yE0x6ZmO.js.map} +1 -1
- package/dist/{market-C3HV-awQ.js → market-DuBpFsDg.js} +27 -17
- package/dist/market-DuBpFsDg.js.map +1 -0
- package/dist/{marketCurrencies-Bpw1bIO0.d.ts → marketCurrencies-BgwmbGFk.d.ts} +20 -9
- package/dist/{marketCurrencies-sKrTX0og.js → marketCurrencies-Bolonndy.js} +13 -7
- package/dist/marketCurrencies-Bolonndy.js.map +1 -0
- package/dist/marketplace-NQB-sEQL.js.map +1 -1
- package/dist/{marketplace-logos-D4dS1Foy.js → marketplace-logos-Cz9RrtQo.js} +21 -21
- package/dist/marketplace-logos-Cz9RrtQo.js.map +1 -0
- package/dist/{marketplace.gen-ksUafDqS.js → marketplace.gen-906FrJQJ.js} +24 -5
- package/dist/marketplace.gen-906FrJQJ.js.map +1 -0
- package/dist/{marketplaceConfig-UHQMM9fq.js → marketplaceConfig-Bqjo7NYO.js} +8 -4
- package/dist/marketplaceConfig-Bqjo7NYO.js.map +1 -0
- package/dist/{mintify-Dyqyo8jQ.js → mintify-BXQx3mZB.js} +1 -1
- package/dist/{mintify-Dyqyo8jQ.js.map → mintify-BXQx3mZB.js.map} +1 -1
- package/dist/{network-DtmiMhcg.js → network-DwdZ_5-7.js} +2 -2
- package/dist/network-DwdZ_5-7.js.map +1 -0
- package/dist/{networkconfigToWagmiChain-DbUf6HiO.js → networkconfigToWagmiChain-Ct-hGq8M.js} +4 -3
- package/dist/networkconfigToWagmiChain-Ct-hGq8M.js.map +1 -0
- package/dist/{nftx-2LbFjj9Q.js → nftx-B929_3Ce.js} +1 -1
- package/dist/{nftx-2LbFjj9Q.js.map → nftx-B929_3Ce.js.map} +1 -1
- package/dist/{okx-CBEWJNsR.js → okx-sZ0-Udny.js} +1 -1
- package/dist/{okx-CBEWJNsR.js.map → okx-sZ0-Udny.js.map} +1 -1
- package/dist/{open-sea-Dxntz_PA.js → open-sea-DO9PhTrz.js} +1 -1
- package/dist/{open-sea-Dxntz_PA.js.map → open-sea-DO9PhTrz.js.map} +1 -1
- package/dist/{orders-DnFfZAXV.js → orders-DH76ym2e.js} +16 -9
- package/dist/orders-DH76ym2e.js.map +1 -0
- package/dist/primary-sale-1u4QlPdA.js.map +1 -1
- package/dist/{primary-sales-Dmsi6bqj.js → primary-sales-CECrqatg.js} +49 -7
- package/dist/primary-sales-CECrqatg.js.map +1 -0
- package/dist/{query-BWbCsXLY.d.ts → query-brXxOcH0.d.ts} +1 -1
- package/dist/{rarible-CS0SupHr.js → rarible-Ccb2hs7y.js} +1 -1
- package/dist/{rarible-CS0SupHr.js.map → rarible-Ccb2hs7y.js.map} +1 -1
- package/dist/react/_internal/api/index.d.ts +2 -2
- package/dist/react/_internal/api/index.js +6 -6
- package/dist/react/_internal/databeat/index.d.ts +1 -1
- package/dist/react/_internal/databeat/index.js +28 -29
- package/dist/react/_internal/index.d.ts +2 -2
- package/dist/react/_internal/index.js +8 -8
- package/dist/react/_internal/wagmi/index.d.ts +1 -1
- package/dist/react/_internal/wagmi/index.js +3 -3
- package/dist/react/hooks/config/index.d.ts +8 -8
- package/dist/react/hooks/config/index.js +28 -29
- package/dist/react/hooks/contracts/index.d.ts +6 -6
- package/dist/react/hooks/contracts/index.js +8 -8
- package/dist/react/hooks/data/collectibles/index.d.ts +10 -10
- package/dist/react/hooks/data/collectibles/index.js +28 -29
- package/dist/react/hooks/data/collections/index.d.ts +11 -11
- package/dist/react/hooks/data/collections/index.js +29 -30
- package/dist/react/hooks/data/index.d.ts +37 -37
- package/dist/react/hooks/data/index.js +29 -30
- package/dist/react/hooks/data/inventory/index.d.ts +36 -36
- package/dist/react/hooks/data/inventory/index.js +28 -29
- package/dist/react/hooks/data/market/index.d.ts +11 -11
- package/dist/react/hooks/data/market/index.js +28 -29
- package/dist/react/hooks/data/orders/index.d.ts +10 -10
- package/dist/react/hooks/data/orders/index.js +28 -29
- package/dist/react/hooks/data/primary-sales/index.d.ts +37 -37
- package/dist/react/hooks/data/primary-sales/index.js +29 -30
- package/dist/react/hooks/data/tokens/index.d.ts +4 -4
- package/dist/react/hooks/data/tokens/index.js +28 -29
- package/dist/react/hooks/index.d.ts +37 -37
- package/dist/react/hooks/index.js +29 -30
- package/dist/react/hooks/transactions/index.d.ts +2 -2
- package/dist/react/hooks/transactions/index.js +28 -29
- package/dist/react/hooks/ui/index.d.ts +4 -4
- package/dist/react/hooks/ui/index.js +28 -29
- package/dist/react/hooks/utils/index.d.ts +36 -36
- package/dist/react/hooks/utils/index.js +28 -29
- package/dist/react/index.d.ts +37 -37
- package/dist/react/index.js +29 -30
- package/dist/react/queries/collectibles/index.d.ts +10 -10
- package/dist/react/queries/collectibles/index.js +12 -13
- package/dist/react/queries/collections/index.d.ts +11 -11
- package/dist/react/queries/collections/index.js +11 -11
- package/dist/react/queries/index.d.ts +24 -24
- package/dist/react/queries/index.js +22 -23
- package/dist/react/queries/inventory/index.d.ts +2 -2
- package/dist/react/queries/inventory/index.js +12 -12
- package/dist/react/queries/market/index.d.ts +5 -5
- package/dist/react/queries/market/index.js +12 -12
- package/dist/react/queries/orders/index.d.ts +10 -10
- package/dist/react/queries/orders/index.js +8 -8
- package/dist/react/queries/primary-sales/index.d.ts +4 -4
- package/dist/react/queries/primary-sales/index.js +9 -9
- package/dist/react/queries/tokens/index.d.ts +4 -4
- package/dist/react/queries/tokens/index.js +8 -9
- package/dist/react/queries/utils/index.d.ts +3 -3
- package/dist/react/queries/utils/index.js +12 -12
- package/dist/react/ssr/index.d.ts +7 -7
- package/dist/react/ssr/index.js +8 -8
- package/dist/react/ssr/index.js.map +1 -1
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.d.ts +2 -2
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.js +12 -12
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.d.ts +7 -10
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.js +28 -29
- package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +4 -4
- package/dist/react/ui/components/marketplace-collectible-card/index.js +28 -29
- package/dist/react/ui/components/marketplace-collectible-card/utils/index.d.ts +2 -2
- package/dist/react/ui/components/marketplace-collectible-card/utils/index.js +8 -8
- package/dist/react/ui/components/marketplace-logos/index.d.ts +21 -21
- package/dist/react/ui/components/marketplace-logos/index.js +1 -1
- package/dist/react/ui/icons/index.js +8 -8
- package/dist/react/ui/index.d.ts +4 -4
- package/dist/react/ui/index.js +28 -29
- package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +28 -29
- package/dist/react/utils/index.d.ts +1 -1
- package/dist/react/utils/index.js +6 -6
- package/dist/{react-DE852KeT.js → react-CBsgOdVP.js} +608 -735
- package/dist/react-CBsgOdVP.js.map +1 -0
- package/dist/{sequence-paCCener.js → sequence-CRdb1yEs.js} +1 -1
- package/dist/{sequence-paCCener.js.map → sequence-CRdb1yEs.js.map} +1 -1
- package/dist/styles/index.css +1 -1
- package/dist/{sudo-swap-9rH2EgfT.js → sudo-swap-BIklG2gq.js} +1 -1
- package/dist/{sudo-swap-9rH2EgfT.js.map → sudo-swap-BIklG2gq.js.map} +1 -1
- package/dist/{super-rare-DHIuWtRw.js → super-rare-h8645_5E.js} +1 -1
- package/dist/{super-rare-DHIuWtRw.js.map → super-rare-h8645_5E.js.map} +1 -1
- package/dist/token-Cv7l2ZaL.js.map +1 -1
- package/dist/{tokenBalances-ibDerNmM.js → tokenBalances-CouzNX4j.js} +6 -12
- package/dist/tokenBalances-CouzNX4j.js.map +1 -0
- package/dist/{tokenSupplies-Bfe8RHzI.d.ts → tokenSupplies-C3zJll0M.d.ts} +32 -39
- package/dist/{tokens-cGxMadd8.js → tokens-BvIRUCGG.js} +58 -27
- package/dist/tokens-BvIRUCGG.js.map +1 -0
- package/dist/transaction-DZUW5RHu.js.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +2 -2
- package/dist/types-B_-cnkcP.js.map +1 -1
- package/dist/{types-D2TJ1dwv.d.ts → types-CMDwfhfR.d.ts} +5 -5
- package/dist/utils/abi/index.d.ts +4 -4
- package/dist/utils/abi/marketplace/index.d.ts +1 -1
- package/dist/utils/abi/primary-sale/index.d.ts +1 -1
- package/dist/utils/abi/token/index.d.ts +1 -1
- package/dist/utils/index.d.ts +7 -7
- package/dist/utils/index.js +7 -7
- package/dist/{utils-BfpDVibN.js → utils-9ToOvt-c.js} +50 -7
- package/dist/utils-9ToOvt-c.js.map +1 -0
- package/dist/{utils-BqxcalL2.js → utils-B6di6O-C.js} +2 -2
- package/dist/utils-B6di6O-C.js.map +1 -0
- package/dist/{utils-BCgNhBFR.js → utils-BCYTEOvy.js} +17 -7
- package/dist/utils-BCYTEOvy.js.map +1 -0
- package/dist/{waitForTransactionReceipt-DieAnV52.js → waitForTransactionReceipt-CbSeUSXe.js} +5 -4
- package/dist/{waitForTransactionReceipt-DieAnV52.js.map → waitForTransactionReceipt-CbSeUSXe.js.map} +1 -1
- package/dist/{x2y2-45WDooeh.js → x2y2-OvF__ugj.js} +1 -1
- package/dist/{x2y2-45WDooeh.js.map → x2y2-OvF__ugj.js.map} +1 -1
- package/dist/{zora-CbeBoLvQ.js → zora-DzCeu-eE.js} +1 -1
- package/dist/{zora-CbeBoLvQ.js.map → zora-DzCeu-eE.js.map} +1 -1
- package/package.json +38 -38
- package/src/react/_internal/api/__mocks__/marketplace.msw.ts +13 -0
- package/src/react/_internal/api/index.ts +0 -1
- package/src/react/_internal/api/marketplace.gen.ts +70 -26
- package/src/react/_internal/api/query-keys.ts +9 -0
- package/src/react/hooks/data/collectibles/useBalanceOfCollectible.tsx +0 -9
- package/src/react/hooks/data/collectibles/useListCollectibles.tsx +1 -16
- package/src/react/hooks/data/collectibles/useTokenBalances.tsx +0 -9
- package/src/react/hooks/data/collections/index.ts +2 -0
- package/src/react/hooks/data/collections/useCollectionActiveListingsCurrencies.test.tsx +112 -0
- package/src/react/hooks/data/collections/useCollectionActiveListingsCurrencies.tsx +74 -0
- package/src/react/hooks/data/collections/useCollectionActiveOffersCurrencies.test.tsx +110 -0
- package/src/react/hooks/data/collections/useCollectionActiveOffersCurrencies.tsx +74 -0
- package/src/react/hooks/data/inventory/useInventory.tsx +1 -10
- package/src/react/hooks/data/market/useMarketCurrencies.test.tsx +31 -2
- package/src/react/hooks/data/primary-sales/index.ts +1 -0
- package/src/react/hooks/data/primary-sales/usePrimarySaleItem.tsx +71 -0
- package/src/react/hooks/data/tokens/useListBalances.tsx +1 -10
- package/src/react/hooks/data/tokens/useTokenSupplies.ts +1 -13
- package/src/react/hooks/transactions/useGenerateOfferTransaction.test.tsx +2 -0
- package/src/react/hooks/transactions/useProcessStep.test.tsx +8 -6
- package/src/react/hooks/transactions/useProcessStep.ts +8 -6
- package/src/react/hooks/utils/useComparePrices.test.tsx +1 -1
- package/src/react/providers/modal-provider.tsx +2 -1
- package/src/react/queries/collectibles/balanceOfCollectible.ts +1 -15
- package/src/react/queries/collectibles/listCollectibles.ts +1 -54
- package/src/react/queries/collectibles/tokenBalances.ts +1 -15
- package/src/react/queries/collections/activeListingsCurrencies.ts +84 -0
- package/src/react/queries/collections/activeOffersCurrencies.ts +84 -0
- package/src/react/queries/collections/index.ts +2 -0
- package/src/react/queries/inventory/inventory.ts +2 -9
- package/src/react/queries/market/marketCurrencies.ts +8 -1
- package/src/react/queries/primary-sales/index.ts +1 -0
- package/src/react/queries/primary-sales/primarySaleItem.ts +80 -0
- package/src/react/queries/tokens/listBalances.ts +1 -21
- package/src/react/queries/tokens/tokenSupplies.ts +2 -31
- package/src/react/queries/utils/comparePrices.ts +13 -1
- package/src/react/ui/components/_internals/action-button/ActionButton.stories.tsx +2 -0
- package/src/react/ui/components/marketplace-collectible-card/components/footer/Footer.tsx +4 -18
- package/src/react/ui/components/marketplace-collectible-card/variants/MarketCard.tsx +2 -2
- package/src/react/ui/components/marketplace-collectible-card/variants/ShopCard.tsx +0 -2
- package/src/react/ui/modals/BuyModal/__tests__/BuyModalRouter.test.tsx +3 -0
- package/src/react/ui/modals/BuyModal/__tests__/Modal1155.test.tsx +1 -0
- package/src/react/ui/modals/BuyModal/hooks/usePaymentModalParams.ts +0 -23
- package/src/react/ui/modals/MakeOfferModal/Modal.tsx +22 -2
- package/src/react/ui/modals/MakeOfferModal/__tests__/Modal.test.tsx +2 -0
- package/src/react/ui/modals/MakeOfferModal/hooks/useGetTokenApproval.tsx +2 -0
- package/src/react/ui/modals/MakeOfferModal/hooks/useTransactionSteps.tsx +2 -0
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +15 -12
- package/src/react/ui/modals/_internal/components/floorPriceText/__tests__/FloorPriceText.test.tsx +2 -0
- package/src/react/ui/modals/_internal/components/floorPriceText/index.tsx +1 -1
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +148 -11
- package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +1 -1
- package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/utils.test.ts +2 -0
- package/src/styles/styles.ts +1 -1
- package/src/utils/networkconfigToWagmiChain.ts +7 -0
- package/src/utils/price.ts +58 -0
- package/test/const.ts +2 -0
- package/test/server-setup.ts +0 -2
- package/.changeset/honest-peas-arrive.md +0 -5
- package/.changeset/real-tips-stick.md +0 -8
- package/.changeset/tall-pandas-wear.md +0 -8
- package/dist/BellIcon-ByhygxBO.js.map +0 -1
- package/dist/CartIcon-Bt3rQYGk.js.map +0 -1
- package/dist/CollectibleCard-CVpdgXA8.d.ts +0 -8
- package/dist/api-BoO0V5aJ.js.map +0 -1
- package/dist/builder-api-BFuZNOaN.js.map +0 -1
- package/dist/builder.gen-B9wR2nvF.js.map +0 -1
- package/dist/collectibles-C_H8jMGH.js.map +0 -1
- package/dist/collections-CKummc-R.js.map +0 -1
- package/dist/components-CosnX7F9.js.map +0 -1
- package/dist/create-config-CIfejoCk.js.map +0 -1
- package/dist/index-DNNUeZEq.d.ts +0 -18
- package/dist/inventory-Dd7TazvZ.js.map +0 -1
- package/dist/listBalances-BxpxBCvn.js +0 -57
- package/dist/listBalances-BxpxBCvn.js.map +0 -1
- package/dist/market-C3HV-awQ.js.map +0 -1
- package/dist/marketCurrencies-sKrTX0og.js.map +0 -1
- package/dist/marketplace-logos-D4dS1Foy.js.map +0 -1
- package/dist/marketplace.gen-ksUafDqS.js.map +0 -1
- package/dist/marketplaceConfig-UHQMM9fq.js.map +0 -1
- package/dist/network-DtmiMhcg.js.map +0 -1
- package/dist/networkconfigToWagmiChain-DbUf6HiO.js.map +0 -1
- package/dist/orders-DnFfZAXV.js.map +0 -1
- package/dist/primary-sales-Dmsi6bqj.js.map +0 -1
- package/dist/react-DE852KeT.js.map +0 -1
- package/dist/tokenBalances-ibDerNmM.js.map +0 -1
- package/dist/tokens-cGxMadd8.js.map +0 -1
- package/dist/utils-BCgNhBFR.js.map +0 -1
- package/dist/utils-BfpDVibN.js.map +0 -1
- package/dist/utils-BqxcalL2.js.map +0 -1
- package/src/react/_internal/api/__mocks__/laos.msw.ts +0 -387
- package/src/react/_internal/api/__tests__/laos-api.test.ts +0 -756
- package/src/react/_internal/api/laos-api.ts +0 -106
- package/src/react/hooks/data/collectibles/useBalanceOfCollectible.laos.test.tsx +0 -367
- package/src/react/queries/collectibles/__tests__/balanceOfCollectible.laos.test.ts +0 -123
- package/src/react/queries/collectibles/__tests__/tokenBalances.laos.test.ts +0 -123
- package/src/react/queries/inventory/__tests__/inventory.laos.test.ts +0 -499
- package/src/react/ui/modals/_internal/constants/opensea-currencies.ts +0 -481
- /package/dist/{index-6wsMChsg.d.ts → index-CCggO_hw.d.ts} +0 -0
- /package/dist/{index-CZUtOTjh.d.ts → index-CKefEBrI.d.ts} +0 -0
- /package/dist/{index-DW3njUfb.d.ts → index-DgsCqh_P.d.ts} +0 -0
- /package/dist/{index-DewGsFz5.d.ts → index-xpO4AQyS.d.ts} +0 -0
- /package/dist/{queries-KOcILNJO.js → queries-CyajGg_O.js} +0 -0
|
@@ -1,481 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OpenSea supported chains and their currency configurations
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
export interface ChainCurrency {
|
|
6
|
-
chainId: number | null;
|
|
7
|
-
openseaId: string;
|
|
8
|
-
name: string;
|
|
9
|
-
nativeCurrency: {
|
|
10
|
-
symbol: string;
|
|
11
|
-
address: string;
|
|
12
|
-
};
|
|
13
|
-
wrappedNativeCurrency: {
|
|
14
|
-
address: string;
|
|
15
|
-
};
|
|
16
|
-
offerCurrency: {
|
|
17
|
-
symbol: string;
|
|
18
|
-
address: string;
|
|
19
|
-
};
|
|
20
|
-
listingCurrency: {
|
|
21
|
-
symbol: string;
|
|
22
|
-
address: string;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export const OPENSEA_CHAIN_CURRENCIES: Record<string, ChainCurrency> = {
|
|
27
|
-
// Ethereum
|
|
28
|
-
'1': {
|
|
29
|
-
chainId: 1,
|
|
30
|
-
openseaId: 'ethereum',
|
|
31
|
-
name: 'Ethereum',
|
|
32
|
-
nativeCurrency: {
|
|
33
|
-
symbol: 'ETH',
|
|
34
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
35
|
-
},
|
|
36
|
-
wrappedNativeCurrency: {
|
|
37
|
-
address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
|
|
38
|
-
},
|
|
39
|
-
offerCurrency: {
|
|
40
|
-
symbol: 'WETH',
|
|
41
|
-
address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
|
|
42
|
-
},
|
|
43
|
-
listingCurrency: {
|
|
44
|
-
symbol: 'ETH',
|
|
45
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
// Optimism
|
|
49
|
-
'10': {
|
|
50
|
-
chainId: 10,
|
|
51
|
-
openseaId: 'optimism',
|
|
52
|
-
name: 'Optimism',
|
|
53
|
-
nativeCurrency: {
|
|
54
|
-
symbol: 'ETH',
|
|
55
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
56
|
-
},
|
|
57
|
-
wrappedNativeCurrency: {
|
|
58
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
59
|
-
},
|
|
60
|
-
offerCurrency: {
|
|
61
|
-
symbol: 'WETH',
|
|
62
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
63
|
-
},
|
|
64
|
-
listingCurrency: {
|
|
65
|
-
symbol: 'ETH',
|
|
66
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
'137': {
|
|
70
|
-
chainId: 137,
|
|
71
|
-
openseaId: 'matic',
|
|
72
|
-
name: 'Polygon',
|
|
73
|
-
nativeCurrency: {
|
|
74
|
-
symbol: 'POL',
|
|
75
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
76
|
-
},
|
|
77
|
-
wrappedNativeCurrency: {
|
|
78
|
-
address: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
79
|
-
},
|
|
80
|
-
offerCurrency: {
|
|
81
|
-
symbol: 'WETH',
|
|
82
|
-
address: '0x7ceb23fd6bc0add59e62ac25578270cff1b9f619',
|
|
83
|
-
},
|
|
84
|
-
listingCurrency: {
|
|
85
|
-
symbol: 'WETH',
|
|
86
|
-
address: '0x7ceb23fd6bc0add59e62ac25578270cff1b9f619',
|
|
87
|
-
},
|
|
88
|
-
},
|
|
89
|
-
// Shape
|
|
90
|
-
'360': {
|
|
91
|
-
chainId: 360,
|
|
92
|
-
openseaId: 'shape',
|
|
93
|
-
name: 'Shape',
|
|
94
|
-
nativeCurrency: {
|
|
95
|
-
symbol: 'ETH',
|
|
96
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
97
|
-
},
|
|
98
|
-
wrappedNativeCurrency: {
|
|
99
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
100
|
-
},
|
|
101
|
-
offerCurrency: {
|
|
102
|
-
symbol: 'WETH',
|
|
103
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
104
|
-
},
|
|
105
|
-
listingCurrency: {
|
|
106
|
-
symbol: 'ETH',
|
|
107
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
108
|
-
},
|
|
109
|
-
},
|
|
110
|
-
// HyperEVM
|
|
111
|
-
'998': {
|
|
112
|
-
chainId: 998,
|
|
113
|
-
openseaId: 'hyperevm',
|
|
114
|
-
name: 'HyperEVM',
|
|
115
|
-
nativeCurrency: {
|
|
116
|
-
symbol: 'HYPE',
|
|
117
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
118
|
-
},
|
|
119
|
-
wrappedNativeCurrency: {
|
|
120
|
-
address: '0x5555555555555555555555555555555555555555',
|
|
121
|
-
},
|
|
122
|
-
offerCurrency: {
|
|
123
|
-
symbol: 'WHYPE',
|
|
124
|
-
address: '0x5555555555555555555555555555555555555555',
|
|
125
|
-
},
|
|
126
|
-
listingCurrency: {
|
|
127
|
-
symbol: 'HYPE',
|
|
128
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
129
|
-
},
|
|
130
|
-
},
|
|
131
|
-
// Unichain
|
|
132
|
-
'130': {
|
|
133
|
-
chainId: 130,
|
|
134
|
-
openseaId: 'unichain',
|
|
135
|
-
name: 'Unichain',
|
|
136
|
-
nativeCurrency: {
|
|
137
|
-
symbol: 'ETH',
|
|
138
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
139
|
-
},
|
|
140
|
-
wrappedNativeCurrency: {
|
|
141
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
142
|
-
},
|
|
143
|
-
offerCurrency: {
|
|
144
|
-
symbol: 'WETH',
|
|
145
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
146
|
-
},
|
|
147
|
-
listingCurrency: {
|
|
148
|
-
symbol: 'ETH',
|
|
149
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
150
|
-
},
|
|
151
|
-
},
|
|
152
|
-
// Sei
|
|
153
|
-
'1329': {
|
|
154
|
-
chainId: 1329,
|
|
155
|
-
openseaId: 'sei',
|
|
156
|
-
name: 'Sei',
|
|
157
|
-
nativeCurrency: {
|
|
158
|
-
symbol: 'SEI',
|
|
159
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
160
|
-
},
|
|
161
|
-
wrappedNativeCurrency: {
|
|
162
|
-
address: '0xe30fedd158a2e3b13e9badaeabafc5516e95e8c7',
|
|
163
|
-
},
|
|
164
|
-
offerCurrency: {
|
|
165
|
-
symbol: 'WSEI',
|
|
166
|
-
address: '0xe30fedd158a2e3b13e9badaeabafc5516e95e8c7',
|
|
167
|
-
},
|
|
168
|
-
listingCurrency: {
|
|
169
|
-
symbol: 'SEI',
|
|
170
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
171
|
-
},
|
|
172
|
-
},
|
|
173
|
-
// Soneium
|
|
174
|
-
'1868': {
|
|
175
|
-
chainId: 1868,
|
|
176
|
-
openseaId: 'soneium',
|
|
177
|
-
name: 'Soneium',
|
|
178
|
-
nativeCurrency: {
|
|
179
|
-
symbol: 'ETH',
|
|
180
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
181
|
-
},
|
|
182
|
-
wrappedNativeCurrency: {
|
|
183
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
184
|
-
},
|
|
185
|
-
offerCurrency: {
|
|
186
|
-
symbol: 'WETH',
|
|
187
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
188
|
-
},
|
|
189
|
-
listingCurrency: {
|
|
190
|
-
symbol: 'ETH',
|
|
191
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
192
|
-
},
|
|
193
|
-
},
|
|
194
|
-
// Ronin
|
|
195
|
-
'2020': {
|
|
196
|
-
chainId: 2020,
|
|
197
|
-
openseaId: 'ronin',
|
|
198
|
-
name: 'Ronin',
|
|
199
|
-
nativeCurrency: {
|
|
200
|
-
symbol: 'RON',
|
|
201
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
202
|
-
},
|
|
203
|
-
wrappedNativeCurrency: {
|
|
204
|
-
address: '0xe514d9deb7966c8be0ca922de8a064264ea6bcd4',
|
|
205
|
-
},
|
|
206
|
-
offerCurrency: {
|
|
207
|
-
symbol: 'WRON',
|
|
208
|
-
address: '0xe514d9deb7966c8be0ca922de8a064264ea6bcd4',
|
|
209
|
-
},
|
|
210
|
-
listingCurrency: {
|
|
211
|
-
symbol: 'RON',
|
|
212
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
213
|
-
},
|
|
214
|
-
},
|
|
215
|
-
// Abstract
|
|
216
|
-
'2741': {
|
|
217
|
-
chainId: 2741,
|
|
218
|
-
openseaId: 'abstract',
|
|
219
|
-
name: 'Abstract',
|
|
220
|
-
nativeCurrency: {
|
|
221
|
-
symbol: 'ETH',
|
|
222
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
223
|
-
},
|
|
224
|
-
wrappedNativeCurrency: {
|
|
225
|
-
address: '0x3439153eb7af838ad19d56e1571fbd09333c2809',
|
|
226
|
-
},
|
|
227
|
-
offerCurrency: {
|
|
228
|
-
symbol: 'WETH',
|
|
229
|
-
address: '0x3439153eb7af838ad19d56e1571fbd09333c2809',
|
|
230
|
-
},
|
|
231
|
-
listingCurrency: {
|
|
232
|
-
symbol: 'ETH',
|
|
233
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
234
|
-
},
|
|
235
|
-
},
|
|
236
|
-
// B3
|
|
237
|
-
'8333': {
|
|
238
|
-
chainId: 8333,
|
|
239
|
-
openseaId: 'b3',
|
|
240
|
-
name: 'B3',
|
|
241
|
-
nativeCurrency: {
|
|
242
|
-
symbol: 'ETH',
|
|
243
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
244
|
-
},
|
|
245
|
-
wrappedNativeCurrency: {
|
|
246
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
247
|
-
},
|
|
248
|
-
offerCurrency: {
|
|
249
|
-
symbol: 'WETH',
|
|
250
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
251
|
-
},
|
|
252
|
-
listingCurrency: {
|
|
253
|
-
symbol: 'ETH',
|
|
254
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
255
|
-
},
|
|
256
|
-
},
|
|
257
|
-
// Base
|
|
258
|
-
'8453': {
|
|
259
|
-
chainId: 8453,
|
|
260
|
-
openseaId: 'base',
|
|
261
|
-
name: 'Base',
|
|
262
|
-
nativeCurrency: {
|
|
263
|
-
symbol: 'ETH',
|
|
264
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
265
|
-
},
|
|
266
|
-
wrappedNativeCurrency: {
|
|
267
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
268
|
-
},
|
|
269
|
-
offerCurrency: {
|
|
270
|
-
symbol: 'WETH',
|
|
271
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
272
|
-
},
|
|
273
|
-
listingCurrency: {
|
|
274
|
-
symbol: 'ETH',
|
|
275
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
276
|
-
},
|
|
277
|
-
},
|
|
278
|
-
// ApeChain
|
|
279
|
-
'33139': {
|
|
280
|
-
chainId: 33139,
|
|
281
|
-
openseaId: 'ape_chain',
|
|
282
|
-
name: 'ApeChain',
|
|
283
|
-
nativeCurrency: {
|
|
284
|
-
symbol: 'APE',
|
|
285
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
286
|
-
},
|
|
287
|
-
wrappedNativeCurrency: {
|
|
288
|
-
address: '0x48b62137edfa95a428d35c09e44256a739f6b557',
|
|
289
|
-
},
|
|
290
|
-
offerCurrency: {
|
|
291
|
-
symbol: 'WAPE',
|
|
292
|
-
address: '0x48b62137edfa95a428d35c09e44256a739f6b557',
|
|
293
|
-
},
|
|
294
|
-
listingCurrency: {
|
|
295
|
-
symbol: 'APE',
|
|
296
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
297
|
-
},
|
|
298
|
-
},
|
|
299
|
-
// Arbitrum One
|
|
300
|
-
'42161': {
|
|
301
|
-
chainId: 42161,
|
|
302
|
-
openseaId: 'arbitrum',
|
|
303
|
-
name: 'Arbitrum',
|
|
304
|
-
nativeCurrency: {
|
|
305
|
-
symbol: 'ETH',
|
|
306
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
307
|
-
},
|
|
308
|
-
wrappedNativeCurrency: {
|
|
309
|
-
address: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1',
|
|
310
|
-
},
|
|
311
|
-
offerCurrency: {
|
|
312
|
-
symbol: 'WETH',
|
|
313
|
-
address: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1',
|
|
314
|
-
},
|
|
315
|
-
listingCurrency: {
|
|
316
|
-
symbol: 'ETH',
|
|
317
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
318
|
-
},
|
|
319
|
-
},
|
|
320
|
-
// Arbitrum Nova
|
|
321
|
-
'42170': {
|
|
322
|
-
chainId: 42170,
|
|
323
|
-
openseaId: 'arbitrum_nova',
|
|
324
|
-
name: 'Arbitrum Nova',
|
|
325
|
-
nativeCurrency: {
|
|
326
|
-
symbol: 'ETH',
|
|
327
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
328
|
-
},
|
|
329
|
-
wrappedNativeCurrency: {
|
|
330
|
-
address: '0x722e8bdd2ce80a4422e880164f2079488e115365',
|
|
331
|
-
},
|
|
332
|
-
offerCurrency: {
|
|
333
|
-
symbol: 'WETH',
|
|
334
|
-
address: '0x722e8bdd2ce80a4422e880164f2079488e115365',
|
|
335
|
-
},
|
|
336
|
-
listingCurrency: {
|
|
337
|
-
symbol: 'ETH',
|
|
338
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
339
|
-
},
|
|
340
|
-
},
|
|
341
|
-
// Avalanche C-Chain
|
|
342
|
-
'43114': {
|
|
343
|
-
chainId: 43114,
|
|
344
|
-
openseaId: 'avalanche',
|
|
345
|
-
name: 'Avalanche',
|
|
346
|
-
nativeCurrency: {
|
|
347
|
-
symbol: 'AVAX',
|
|
348
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
349
|
-
},
|
|
350
|
-
wrappedNativeCurrency: {
|
|
351
|
-
address: '0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7',
|
|
352
|
-
},
|
|
353
|
-
offerCurrency: {
|
|
354
|
-
symbol: 'WAVAX',
|
|
355
|
-
address: '0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7',
|
|
356
|
-
},
|
|
357
|
-
listingCurrency: {
|
|
358
|
-
symbol: 'AVAX',
|
|
359
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
360
|
-
},
|
|
361
|
-
},
|
|
362
|
-
// GUNZ
|
|
363
|
-
'43419': {
|
|
364
|
-
chainId: 43419,
|
|
365
|
-
openseaId: 'gunzilla',
|
|
366
|
-
name: 'GUNZ',
|
|
367
|
-
nativeCurrency: {
|
|
368
|
-
symbol: 'GUN',
|
|
369
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
370
|
-
},
|
|
371
|
-
wrappedNativeCurrency: {
|
|
372
|
-
address: '0x5aad7bba61d95c2c4e525a35f4062040264611f1',
|
|
373
|
-
},
|
|
374
|
-
offerCurrency: {
|
|
375
|
-
symbol: 'WGUN',
|
|
376
|
-
address: '0x5aad7bba61d95c2c4e525a35f4062040264611f1',
|
|
377
|
-
},
|
|
378
|
-
listingCurrency: {
|
|
379
|
-
symbol: 'GUN',
|
|
380
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
381
|
-
},
|
|
382
|
-
},
|
|
383
|
-
// Somnia
|
|
384
|
-
'50311': {
|
|
385
|
-
chainId: 50311,
|
|
386
|
-
openseaId: 'somnia',
|
|
387
|
-
name: 'Somnia',
|
|
388
|
-
nativeCurrency: {
|
|
389
|
-
symbol: 'SOMI',
|
|
390
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
391
|
-
},
|
|
392
|
-
wrappedNativeCurrency: {
|
|
393
|
-
address: '0x046ede9564a72571df6f5e44d0405360c0f4dcab',
|
|
394
|
-
},
|
|
395
|
-
offerCurrency: {
|
|
396
|
-
symbol: 'WSOMI',
|
|
397
|
-
address: '0x046ede9564a72571df6f5e44d0405360c0f4dcab',
|
|
398
|
-
},
|
|
399
|
-
listingCurrency: {
|
|
400
|
-
symbol: 'SOMI',
|
|
401
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
402
|
-
},
|
|
403
|
-
},
|
|
404
|
-
// Berachain mainnet
|
|
405
|
-
'80094': {
|
|
406
|
-
chainId: 80094,
|
|
407
|
-
openseaId: 'bera_chain',
|
|
408
|
-
name: 'Berachain',
|
|
409
|
-
nativeCurrency: {
|
|
410
|
-
symbol: 'BERA',
|
|
411
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
412
|
-
},
|
|
413
|
-
wrappedNativeCurrency: {
|
|
414
|
-
address: '0x6969696969696969696969696969696969696969',
|
|
415
|
-
},
|
|
416
|
-
offerCurrency: {
|
|
417
|
-
symbol: 'WBERA',
|
|
418
|
-
address: '0x6969696969696969696969696969696969696969',
|
|
419
|
-
},
|
|
420
|
-
listingCurrency: {
|
|
421
|
-
symbol: 'BERA',
|
|
422
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
423
|
-
},
|
|
424
|
-
},
|
|
425
|
-
// Blast
|
|
426
|
-
'81457': {
|
|
427
|
-
chainId: 81457,
|
|
428
|
-
openseaId: 'blast',
|
|
429
|
-
name: 'Blast',
|
|
430
|
-
nativeCurrency: {
|
|
431
|
-
symbol: 'ETH',
|
|
432
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
433
|
-
},
|
|
434
|
-
wrappedNativeCurrency: {
|
|
435
|
-
address: '0x4300000000000000000000000000000000000004',
|
|
436
|
-
},
|
|
437
|
-
offerCurrency: {
|
|
438
|
-
symbol: 'WETH',
|
|
439
|
-
address: '0x4300000000000000000000000000000000000004',
|
|
440
|
-
},
|
|
441
|
-
listingCurrency: {
|
|
442
|
-
symbol: 'ETH',
|
|
443
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
444
|
-
},
|
|
445
|
-
},
|
|
446
|
-
// Zora
|
|
447
|
-
'7777777': {
|
|
448
|
-
chainId: 7777777,
|
|
449
|
-
openseaId: 'zora',
|
|
450
|
-
name: 'Zora',
|
|
451
|
-
nativeCurrency: {
|
|
452
|
-
symbol: 'ETH',
|
|
453
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
454
|
-
},
|
|
455
|
-
wrappedNativeCurrency: {
|
|
456
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
457
|
-
},
|
|
458
|
-
offerCurrency: {
|
|
459
|
-
symbol: 'WETH',
|
|
460
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
461
|
-
},
|
|
462
|
-
listingCurrency: {
|
|
463
|
-
symbol: 'ETH',
|
|
464
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
465
|
-
},
|
|
466
|
-
},
|
|
467
|
-
};
|
|
468
|
-
|
|
469
|
-
export function getOpenseaCurrencyForChain(
|
|
470
|
-
chainId: number,
|
|
471
|
-
modalType: 'listing' | 'offer',
|
|
472
|
-
): { symbol: string; address: string } | undefined {
|
|
473
|
-
const config = OPENSEA_CHAIN_CURRENCIES[chainId.toString()];
|
|
474
|
-
if (!config) {
|
|
475
|
-
return undefined;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
return modalType === 'listing'
|
|
479
|
-
? config.listingCurrency
|
|
480
|
-
: config.offerCurrency;
|
|
481
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|