@0xsequence/marketplace-sdk 1.2.0 → 1.2.1
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 +21 -1
- package/dist/{BellIcon-DMKEumAz.js → BellIcon.js} +4 -4
- package/dist/BellIcon.js.map +1 -0
- package/dist/{CartIcon-UyB4NYKt.js → CartIcon.js} +7 -7
- package/dist/CartIcon.js.map +1 -0
- package/dist/CollectibleCard.d.ts +8 -0
- package/dist/{_internal-DkS2VUn5.js → _internal.js} +2 -2
- package/dist/_internal.js.map +1 -0
- package/dist/{abi-fa-o9gH3.js → abi.js} +2 -2
- package/dist/abi.js.map +1 -0
- package/dist/{alien_swap-Cq8LuElo.js → alien_swap.js} +1 -1
- package/dist/alien_swap.js.map +1 -0
- package/dist/{api-GwTR0dBA.js → api.js} +10 -20
- package/dist/api.js.map +1 -0
- package/dist/{aqua-xyz-0yye_c-Z.js → aqua-xyz.js} +1 -1
- package/dist/aqua-xyz.js.map +1 -0
- package/dist/{aura-TaxFvTFQ.js → aura.js} +1 -1
- package/dist/aura.js.map +1 -0
- package/dist/{blur-BupOTobO.js → blur.js} +1 -1
- package/dist/blur.js.map +1 -0
- package/dist/{builder-api-m4JAA6ee.js → builder-api.js} +3 -3
- package/dist/builder-api.js.map +1 -0
- package/dist/{builder.gen--XD71cNL.js → builder.gen.js} +3 -6
- package/dist/builder.gen.js.map +1 -0
- package/dist/{coinbase-DTgZ4wDT.js → coinbase.js} +1 -1
- package/dist/coinbase.js.map +1 -0
- package/dist/{collectibles-CZ6i8sXK.js → collectibles.js} +13 -18
- package/dist/collectibles.js.map +1 -0
- package/dist/{collections-5NcU-7ZR.js → collections.js} +17 -28
- package/dist/collections.js.map +1 -0
- package/dist/{components-CY8kx2kb.js → components.js} +15 -21
- package/dist/components.js.map +1 -0
- package/dist/{contracts-DRJHF89h.js → contracts.js} +5 -6
- package/dist/contracts.js.map +1 -0
- package/dist/{create-config-CFBeD8CB.d.ts → create-config.d.ts} +6 -6
- package/dist/{create-config-BxyfYCEk.js → create-config.js} +11 -15
- package/dist/create-config.js.map +1 -0
- package/dist/{element-D4dDznlu.js → element.js} +1 -1
- package/dist/element.js.map +1 -0
- package/dist/{filters-B5niI_fX.d.ts → filters.d.ts} +7 -7
- package/dist/{foundation-GHZOKAzN.js → foundation.js} +1 -1
- package/dist/foundation.js.map +1 -0
- package/dist/index.d.ts +7 -7
- package/dist/index.js +15 -15
- package/dist/{index-BkZ7SPLc.d.ts → index10.d.ts} +13 -18
- package/dist/{index-DASjaiJL.d.ts → index11.d.ts} +25 -33
- package/dist/{index-j3nuJWyJ.d.ts → index12.d.ts} +9 -11
- package/dist/{index-CbERNN3s.d.ts → index13.d.ts} +16 -26
- package/dist/{index-UXRoZmd_.d.ts → index14.d.ts} +9 -9
- package/dist/{index-BtDAHMW_.d.ts → index16.d.ts} +8 -8
- package/dist/{index-BIuYTMc2.d.ts → index17.d.ts} +9 -10
- package/dist/{index-DVI_vggD.d.ts → index19.d.ts} +14 -17
- package/dist/{index-nVb7o0hc.d.ts → index2.d.ts} +2 -2
- package/dist/{index-C-c_M_sE.d.ts → index21.d.ts} +9 -10
- package/dist/{index-BYQOPS8e.d.ts → index23.d.ts} +64 -77
- package/dist/{index-DqxQeYT2.d.ts → index24.d.ts} +36 -39
- package/dist/{index-DxAReMEO.d.ts → index25.d.ts} +34 -34
- package/dist/{index-DIc8OqWV.d.ts → index26.d.ts} +14 -8
- package/dist/{index-BnUku_aF.d.ts → index27.d.ts} +101 -108
- package/dist/{index-CNIiC8Z_.d.ts → index28.d.ts} +6 -9
- package/dist/{index-BNrz99xy.d.ts → index29.d.ts} +3 -3
- package/dist/{index-8scPf0CS.d.ts → index3.d.ts} +2 -2
- package/dist/{index-DD7Vc4cE.d.ts → index4.d.ts} +2 -2
- package/dist/{index-isFvc5gd.d.ts → index5.d.ts} +2 -2
- package/dist/{index-pbE88Tt7.d.ts → index6.d.ts} +2 -2
- package/dist/{index-Dsf9FRtr.d.ts → index7.d.ts} +3 -3
- package/dist/index8.d.ts +18 -0
- package/dist/{index-CsfxsN0t.d.ts → index9.d.ts} +4 -4
- package/dist/{inventory--t6Zu55O.js → inventory.js} +11 -18
- package/dist/inventory.js.map +1 -0
- package/dist/{listCollectiblesPaginated-BlE5mSzh.d.ts → listCollectiblesPaginated.d.ts} +27 -32
- package/dist/{listCollections-DWyqFSQ3.d.ts → listCollections.d.ts} +102 -109
- package/dist/{looks-rare-2HBhMpOf.js → looks-rare.js} +1 -1
- package/dist/looks-rare.js.map +1 -0
- package/dist/{lowestListing-DsunDO1c.d.ts → lowestListing.d.ts} +28 -38
- package/dist/{magic-eden-BYdTp-uk.js → magic-eden.js} +1 -1
- package/dist/magic-eden.js.map +1 -0
- package/dist/{manifold-yE0x6ZmO.js → manifold.js} +1 -1
- package/dist/manifold.js.map +1 -0
- package/dist/{market-DuBpFsDg.js → market.js} +19 -31
- package/dist/market.js.map +1 -0
- package/dist/{marketCurrencies-BgwmbGFk.d.ts → marketCurrencies.d.ts} +9 -10
- package/dist/{marketCurrencies-Bolonndy.js → marketCurrencies.js} +10 -13
- package/dist/marketCurrencies.js.map +1 -0
- package/dist/{marketplace-logos-Cz9RrtQo.js → marketplace-logos.js} +23 -23
- package/dist/marketplace-logos.js.map +1 -0
- package/dist/{marketplace.gen-906FrJQJ.js → marketplace.gen.js} +4 -7
- package/dist/marketplace.gen.js.map +1 -0
- package/dist/{marketplace-NQB-sEQL.js → marketplace.js} +2 -2
- package/dist/marketplace.js.map +1 -0
- package/dist/{marketplaceConfig-Bqjo7NYO.js → marketplaceConfig.js} +4 -8
- package/dist/marketplaceConfig.js.map +1 -0
- package/dist/{mintify-BXQx3mZB.js → mintify.js} +1 -1
- package/dist/mintify.js.map +1 -0
- package/dist/{network-DwdZ_5-7.js → network.js} +3 -3
- package/dist/network.js.map +1 -0
- package/dist/{networkconfigToWagmiChain-Ct-hGq8M.js → networkconfigToWagmiChain.js} +2 -2
- package/dist/networkconfigToWagmiChain.js.map +1 -0
- package/dist/{nftx-B929_3Ce.js → nftx.js} +1 -1
- package/dist/nftx.js.map +1 -0
- package/dist/{okx-sZ0-Udny.js → okx.js} +1 -1
- package/dist/okx.js.map +1 -0
- package/dist/{open-sea-DO9PhTrz.js → open-sea.js} +1 -1
- package/dist/open-sea.js.map +1 -0
- package/dist/{orders-DH76ym2e.js → orders.js} +17 -24
- package/dist/orders.js.map +1 -0
- package/dist/{primary-sale-1u4QlPdA.js → primary-sale.js} +2 -2
- package/dist/primary-sale.js.map +1 -0
- package/dist/{primary-sales-CECrqatg.js → primary-sales.js} +8 -12
- package/dist/primary-sales.js.map +1 -0
- package/dist/{query-brXxOcH0.d.ts → query.d.ts} +2 -2
- package/dist/{rarible-Ccb2hs7y.js → rarible.js} +1 -1
- package/dist/rarible.js.map +1 -0
- package/dist/react/_internal/api/index.d.ts +1 -1
- 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 +37 -37
- package/dist/react/_internal/index.d.ts +1 -1
- package/dist/react/_internal/index.js +10 -10
- package/dist/react/_internal/wagmi/index.d.ts +1 -1
- package/dist/react/_internal/wagmi/index.js +5 -5
- package/dist/react/hooks/config/index.d.ts +8 -8
- package/dist/react/hooks/config/index.js +37 -37
- package/dist/react/hooks/contracts/index.d.ts +6 -6
- package/dist/react/hooks/contracts/index.js +15 -15
- package/dist/react/hooks/data/collectibles/index.d.ts +4 -10
- package/dist/react/hooks/data/collectibles/index.js +37 -37
- package/dist/react/hooks/data/collections/index.d.ts +10 -10
- package/dist/react/hooks/data/collections/index.js +37 -37
- package/dist/react/hooks/data/index.d.ts +36 -36
- package/dist/react/hooks/data/index.js +37 -37
- package/dist/react/hooks/data/inventory/index.d.ts +36 -36
- package/dist/react/hooks/data/inventory/index.js +37 -37
- package/dist/react/hooks/data/market/index.d.ts +5 -11
- package/dist/react/hooks/data/market/index.js +37 -37
- package/dist/react/hooks/data/orders/index.d.ts +4 -10
- package/dist/react/hooks/data/orders/index.js +37 -37
- package/dist/react/hooks/data/primary-sales/index.d.ts +36 -36
- package/dist/react/hooks/data/primary-sales/index.js +37 -37
- package/dist/react/hooks/data/tokens/index.d.ts +4 -4
- package/dist/react/hooks/data/tokens/index.js +37 -37
- package/dist/react/hooks/index.d.ts +36 -36
- package/dist/react/hooks/index.js +37 -37
- package/dist/react/hooks/transactions/index.d.ts +2 -2
- package/dist/react/hooks/transactions/index.js +37 -37
- package/dist/react/hooks/ui/index.d.ts +4 -4
- package/dist/react/hooks/ui/index.js +37 -37
- package/dist/react/hooks/utils/index.d.ts +36 -36
- package/dist/react/hooks/utils/index.js +37 -37
- package/dist/react/index.d.ts +36 -36
- package/dist/react/index.js +37 -37
- package/dist/react/queries/collectibles/index.d.ts +4 -10
- package/dist/react/queries/collectibles/index.js +20 -20
- package/dist/react/queries/collections/index.d.ts +10 -10
- package/dist/react/queries/collections/index.js +18 -18
- package/dist/react/queries/index.d.ts +23 -23
- package/dist/react/queries/index.js +29 -29
- package/dist/react/queries/inventory/index.d.ts +2 -2
- package/dist/react/queries/inventory/index.js +20 -20
- package/dist/react/queries/market/index.d.ts +5 -5
- package/dist/react/queries/market/index.js +20 -20
- package/dist/react/queries/orders/index.d.ts +4 -10
- package/dist/react/queries/orders/index.js +11 -11
- package/dist/react/queries/primary-sales/index.d.ts +3 -3
- package/dist/react/queries/primary-sales/index.js +11 -11
- package/dist/react/queries/tokens/index.d.ts +4 -4
- package/dist/react/queries/tokens/index.js +11 -11
- package/dist/react/queries/utils/index.d.ts +3 -3
- package/dist/react/queries/utils/index.js +20 -20
- package/dist/react/ssr/index.d.ts +7 -7
- package/dist/react/ssr/index.js +13 -16
- 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 +20 -20
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.d.ts +5 -5
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.js +37 -37
- package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +4 -4
- package/dist/react/ui/components/marketplace-collectible-card/index.js +37 -37
- 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 +11 -11
- 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 +14 -14
- package/dist/react/ui/index.d.ts +4 -4
- package/dist/react/ui/index.js +37 -37
- package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +37 -37
- package/dist/react/utils/index.d.ts +1 -1
- package/dist/react/utils/index.js +7 -7
- package/dist/{react-CBsgOdVP.js → react.js} +665 -744
- package/dist/react.js.map +1 -0
- package/dist/{sequence-CRdb1yEs.js → sequence.js} +1 -1
- package/dist/sequence.js.map +1 -0
- package/dist/{src-Dz2CfBL0.js → src.js} +2 -2
- package/dist/src.js.map +1 -0
- package/dist/styles/index.css +1 -1
- package/dist/{sudo-swap-BIklG2gq.js → sudo-swap.js} +1 -1
- package/dist/sudo-swap.js.map +1 -0
- package/dist/{super-rare-h8645_5E.js → super-rare.js} +1 -1
- package/dist/super-rare.js.map +1 -0
- package/dist/{token-Cv7l2ZaL.js → token.js} +2 -2
- package/dist/token.js.map +1 -0
- package/dist/{tokenBalances-CouzNX4j.js → tokenBalances.js} +4 -5
- package/dist/tokenBalances.js.map +1 -0
- package/dist/{tokenSupplies-C3zJll0M.d.ts → tokenSupplies.d.ts} +27 -31
- package/dist/{tokens-BvIRUCGG.js → tokens.js} +10 -16
- package/dist/tokens.js.map +1 -0
- package/dist/{transaction-DZUW5RHu.js → transaction.js} +2 -2
- package/dist/transaction.js.map +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +3 -3
- package/dist/{types-CMDwfhfR.d.ts → types.d.ts} +6 -6
- package/dist/{types-B_-cnkcP.js → types.js} +2 -2
- package/dist/types.js.map +1 -0
- package/dist/utils/abi/index.d.ts +4 -4
- package/dist/utils/abi/index.js +4 -4
- package/dist/utils/abi/marketplace/index.d.ts +1 -1
- package/dist/utils/abi/marketplace/index.js +1 -1
- package/dist/utils/abi/primary-sale/index.d.ts +1 -1
- package/dist/utils/abi/primary-sale/index.js +1 -1
- package/dist/utils/abi/token/index.d.ts +1 -1
- package/dist/utils/abi/token/index.js +1 -1
- package/dist/utils/index.d.ts +6 -6
- package/dist/utils/index.js +12 -12
- package/dist/{utils-9ToOvt-c.js → utils.js} +9 -14
- package/dist/utils.js.map +1 -0
- package/dist/{utils-BCYTEOvy.js → utils2.js} +12 -16
- package/dist/utils2.js.map +1 -0
- package/dist/{utils-B6di6O-C.js → utils3.js} +3 -3
- package/dist/utils3.js.map +1 -0
- package/dist/{waitForTransactionReceipt-CbSeUSXe.js → waitForTransactionReceipt.js} +5 -6
- package/dist/waitForTransactionReceipt.js.map +1 -0
- package/dist/{x2y2-OvF__ugj.js → x2y2.js} +1 -1
- package/dist/x2y2.js.map +1 -0
- package/dist/{zora-DzCeu-eE.js → zora.js} +1 -1
- package/dist/zora.js.map +1 -0
- package/package.json +27 -27
- package/src/react/_internal/api/marketplace.gen.ts +1 -1
- package/src/react/_internal/wagmi/get-connectors.ts +12 -1
- package/src/react/ui/modals/BuyModal/__tests__/ERC1155ShopModal.test.tsx +152 -141
- package/src/react/ui/modals/BuyModal/components/ERC1155ShopModal.tsx +44 -60
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC1155SalePaymentParams.test.tsx +381 -0
- package/src/react/ui/modals/BuyModal/hooks/useERC1155SalePaymentParams.ts +257 -0
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/index.tsx +1 -1
- package/src/react/ui/modals/TransferModal/index.tsx +24 -2
- package/src/styles/styles.ts +2 -2
- package/tsdown.config.ts +1 -0
- package/dist/BellIcon-DMKEumAz.js.map +0 -1
- package/dist/CartIcon-UyB4NYKt.js.map +0 -1
- package/dist/CollectibleCard-z05qWzKE.d.ts +0 -8
- package/dist/_internal-DkS2VUn5.js.map +0 -1
- package/dist/abi-fa-o9gH3.js.map +0 -1
- package/dist/alien_swap-Cq8LuElo.js.map +0 -1
- package/dist/api-GwTR0dBA.js.map +0 -1
- package/dist/aqua-xyz-0yye_c-Z.js.map +0 -1
- package/dist/aura-TaxFvTFQ.js.map +0 -1
- package/dist/blur-BupOTobO.js.map +0 -1
- package/dist/builder-api-m4JAA6ee.js.map +0 -1
- package/dist/builder.gen--XD71cNL.js.map +0 -1
- package/dist/coinbase-DTgZ4wDT.js.map +0 -1
- package/dist/collectibles-CZ6i8sXK.js.map +0 -1
- package/dist/collections-5NcU-7ZR.js.map +0 -1
- package/dist/components-CY8kx2kb.js.map +0 -1
- package/dist/contracts-DRJHF89h.js.map +0 -1
- package/dist/create-config-BxyfYCEk.js.map +0 -1
- package/dist/element-D4dDznlu.js.map +0 -1
- package/dist/foundation-GHZOKAzN.js.map +0 -1
- package/dist/index-9qsplZ8r.d.ts +0 -18
- package/dist/inventory--t6Zu55O.js.map +0 -1
- package/dist/looks-rare-2HBhMpOf.js.map +0 -1
- package/dist/magic-eden-BYdTp-uk.js.map +0 -1
- package/dist/manifold-yE0x6ZmO.js.map +0 -1
- package/dist/market-DuBpFsDg.js.map +0 -1
- package/dist/marketCurrencies-Bolonndy.js.map +0 -1
- package/dist/marketplace-NQB-sEQL.js.map +0 -1
- package/dist/marketplace-logos-Cz9RrtQo.js.map +0 -1
- package/dist/marketplace.gen-906FrJQJ.js.map +0 -1
- package/dist/marketplaceConfig-Bqjo7NYO.js.map +0 -1
- package/dist/mintify-BXQx3mZB.js.map +0 -1
- package/dist/network-DwdZ_5-7.js.map +0 -1
- package/dist/networkconfigToWagmiChain-Ct-hGq8M.js.map +0 -1
- package/dist/nftx-B929_3Ce.js.map +0 -1
- package/dist/okx-sZ0-Udny.js.map +0 -1
- package/dist/open-sea-DO9PhTrz.js.map +0 -1
- package/dist/orders-DH76ym2e.js.map +0 -1
- package/dist/primary-sale-1u4QlPdA.js.map +0 -1
- package/dist/primary-sales-CECrqatg.js.map +0 -1
- package/dist/rarible-Ccb2hs7y.js.map +0 -1
- package/dist/react-CBsgOdVP.js.map +0 -1
- package/dist/sequence-CRdb1yEs.js.map +0 -1
- package/dist/src-Dz2CfBL0.js.map +0 -1
- package/dist/sudo-swap-BIklG2gq.js.map +0 -1
- package/dist/super-rare-h8645_5E.js.map +0 -1
- package/dist/token-Cv7l2ZaL.js.map +0 -1
- package/dist/tokenBalances-CouzNX4j.js.map +0 -1
- package/dist/tokens-BvIRUCGG.js.map +0 -1
- package/dist/transaction-DZUW5RHu.js.map +0 -1
- package/dist/types-B_-cnkcP.js.map +0 -1
- package/dist/utils-9ToOvt-c.js.map +0 -1
- package/dist/utils-B6di6O-C.js.map +0 -1
- package/dist/utils-BCYTEOvy.js.map +0 -1
- package/dist/waitForTransactionReceipt-CbSeUSXe.js.map +0 -1
- package/dist/x2y2-OvF__ugj.js.map +0 -1
- package/dist/zora-DzCeu-eE.js.map +0 -1
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC1155Checkout.test.tsx +0 -395
- package/src/react/ui/modals/BuyModal/hooks/useERC1155Checkout.ts +0 -103
- /package/dist/{index-CCggO_hw.d.ts → index15.d.ts} +0 -0
- /package/dist/{index-CKefEBrI.d.ts → index18.d.ts} +0 -0
- /package/dist/{index-DgsCqh_P.d.ts → index20.d.ts} +0 -0
- /package/dist/{index-xpO4AQyS.d.ts → index22.d.ts} +0 -0
- /package/dist/{queries-CyajGg_O.js → queries.js} +0 -0
- /package/dist/{wagmi-Bseovd6Q.js → wagmi.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marketplace-logos.js","names":[],"sources":["../src/react/ui/components/marketplace-logos/marketplace-logos.tsx"],"sourcesContent":["import { Image } from '@0xsequence/design-system';\nimport { type ComponentProps, lazy, Suspense } from 'react';\n\n/* @__PURE__ */\nconst createMarketplaceLogo = (\n\timportFn: () => Promise<{ default: string }>,\n\talt: string,\n) => {\n\tconst LazyLogo = lazy(async () => {\n\t\tconst src = await importFn();\n\t\treturn {\n\t\t\tdefault: function MarketplaceLogo({\n\t\t\t\talt: altProp,\n\t\t\t\t...props\n\t\t\t}: ComponentProps<typeof Image>) {\n\t\t\t\treturn <Image src={src.default} alt={altProp || alt} {...props} />;\n\t\t\t},\n\t\t};\n\t});\n\n\treturn function MarketplaceLogo(props: ComponentProps<typeof Image>) {\n\t\treturn (\n\t\t\t<Suspense\n\t\t\t\tfallback={<div style={{ width: props.width, height: props.height }} />}\n\t\t\t>\n\t\t\t\t{/* @ts-ignore */}\n\t\t\t\t<LazyLogo {...props} />\n\t\t\t</Suspense>\n\t\t);\n\t};\n};\n\nexport const AlienSwapLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/alien_swap.png'),\n\t'AlienSwap Logo',\n);\nexport const AquaXyzLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/aqua-xyz.png'),\n\t'AquaXyz Logo',\n);\nexport const AuraLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/aura.png'),\n\t'Aura Logo',\n);\nexport const BlurLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/blur.png'),\n\t'Blur Logo',\n);\nexport const CoinbaseLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/coinbase.png'),\n\t'Coinbase Logo',\n);\nexport const ElementLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/element.png'),\n\t'Element Logo',\n);\nexport const FoundationLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/foundation.png'),\n\t'Foundation Logo',\n);\nexport const LooksRareLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/looks-rare.png'),\n\t'LooksRare Logo',\n);\nexport const MagicEdenLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/magic-eden.png'),\n\t'MagicEden Logo',\n);\nexport const ManifoldLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/manifold.png'),\n\t'Manifold Logo',\n);\nexport const MintifyLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/mintify.png'),\n\t'Mintify Logo',\n);\nexport const NftxLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/nftx.png'),\n\t'NFTX Logo',\n);\nexport const OkxLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/okx.png'),\n\t'OKX Logo',\n);\nexport const OpenSeaLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/open-sea.png'),\n\t'OpenSea Logo',\n);\nexport const RaribleLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/rarible.png'),\n\t'Rarible Logo',\n);\nexport const SequenceLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/sequence.png'),\n\t'Sequence Logo',\n);\nexport const SudoSwapLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/sudo-swap.png'),\n\t'SudoSwap Logo',\n);\nexport const SuperRareLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/super-rare.png'),\n\t'SuperRare Logo',\n);\nexport const X2y2Logo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/x2y2.png'),\n\t'X2Y2 Logo',\n);\nexport const ZoraLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/zora.png'),\n\t'Zora Logo',\n);\n"],"mappings":";;;;;AAIA,MAAM,yBACL,UACA,QACI;CACJ,MAAM,WAAW,KAAK,YAAY;EACjC,MAAM,MAAM,MAAM,UAAU;AAC5B,SAAO,EACN,SAAS,SAAS,gBAAgB,EACjC,KAAK,SACL,GAAG,SAC6B;AAChC,UAAO,oBAAC;IAAM,KAAK,IAAI;IAAS,KAAK,WAAW;IAAK,GAAI;KAAS;KAEnE;GACA;AAEF,QAAO,SAAS,gBAAgB,OAAqC;AACpE,SACC,oBAAC;GACA,UAAU,oBAAC,SAAI,OAAO;IAAE,OAAO,MAAM;IAAO,QAAQ,MAAM;IAAQ,GAAI;aAGtE,oBAAC,YAAS,GAAI,QAAS;IACb;;;AAKd,MAAa,gBAAgB,4BACtB,OAAO,oBACb,iBACA;AACD,MAAa,cAAc,4BACpB,OAAO,kBACb,eACA;AACD,MAAa,WAAW,4BACjB,OAAO,cACb,YACA;AACD,MAAa,WAAW,4BACjB,OAAO,cACb,YACA;AACD,MAAa,eAAe,4BACrB,OAAO,kBACb,gBACA;AACD,MAAa,cAAc,4BACpB,OAAO,iBACb,eACA;AACD,MAAa,iBAAiB,4BACvB,OAAO,oBACb,kBACA;AACD,MAAa,gBAAgB,4BACtB,OAAO,oBACb,iBACA;AACD,MAAa,gBAAgB,4BACtB,OAAO,oBACb,iBACA;AACD,MAAa,eAAe,4BACrB,OAAO,kBACb,gBACA;AACD,MAAa,cAAc,4BACpB,OAAO,iBACb,eACA;AACD,MAAa,WAAW,4BACjB,OAAO,cACb,YACA;AACD,MAAa,UAAU,4BAChB,OAAO,aACb,WACA;AACD,MAAa,cAAc,4BACpB,OAAO,kBACb,eACA;AACD,MAAa,cAAc,4BACpB,OAAO,iBACb,eACA;AACD,MAAa,eAAe,4BACrB,OAAO,kBACb,gBACA;AACD,MAAa,eAAe,4BACrB,OAAO,mBACb,gBACA;AACD,MAAa,gBAAgB,4BACtB,OAAO,oBACb,iBACA;AACD,MAAa,WAAW,4BACjB,OAAO,cACb,YACA;AACD,MAAa,WAAW,4BACjB,OAAO,cACb,YACA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/react/_internal/api/marketplace.gen.ts
|
|
2
2
|
const WebrpcHeader = "Webrpc";
|
|
3
|
-
const WebrpcHeaderValue = "webrpc@v0.25.4;gen-typescript@v0.17.0;marketplace-api@v0.0.0-1ecb14ce28259b0a60c8b90d3e247aced7bcdfad;marketplace-sdk@v1.2.
|
|
3
|
+
const WebrpcHeaderValue = "webrpc@v0.25.4;gen-typescript@v0.17.0;marketplace-api@v0.0.0-1ecb14ce28259b0a60c8b90d3e247aced7bcdfad;marketplace-sdk@v1.2.1";
|
|
4
4
|
const WebRPCVersion = "v1";
|
|
5
5
|
const WebRPCSchemaVersion = "";
|
|
6
6
|
const WebRPCSchemaHash = "1ecb14ce28259b0a60c8b90d3e247aced7bcdfad";
|
|
@@ -897,10 +897,7 @@ const buildResponse = (res) => {
|
|
|
897
897
|
cause: `JSON.parse(): ${message}: response text: ${text}`
|
|
898
898
|
});
|
|
899
899
|
}
|
|
900
|
-
if (!res.ok)
|
|
901
|
-
const code = typeof data.code === "number" ? data.code : 0;
|
|
902
|
-
throw (webrpcErrorByCode[code] || WebrpcError).new(data);
|
|
903
|
-
}
|
|
900
|
+
if (!res.ok) throw (webrpcErrorByCode[typeof data.code === "number" ? data.code : 0] || WebrpcError).new(data);
|
|
904
901
|
return data;
|
|
905
902
|
});
|
|
906
903
|
};
|
|
@@ -1143,5 +1140,5 @@ const webrpcErrorByCode = {
|
|
|
1143
1140
|
};
|
|
1144
1141
|
|
|
1145
1142
|
//#endregion
|
|
1146
|
-
export {
|
|
1147
|
-
//# sourceMappingURL=marketplace.gen
|
|
1143
|
+
export { WebrpcError as $, PropertyType as A, UnauthorizedError as B, PermissionDeniedError as C, ProjectLimitReachedError as D, PrimarySaleVersion as E, TimeoutError as F, WebRPCSchemaVersion as G, VersionFromHeader as H, TransactionCrypto as I, WebrpcBadRequestError as J, WebRPCVersion as K, TransactionNFTCheckoutProvider as L, SortOrder as M, SourceKind as N, ProjectNotFoundError as O, StepType as P, WebrpcEndpointError as Q, TransactionOnRampProvider as R, OrderbookKind as S, PrimarySaleItemDetailType as T, WalletKind as U, UserNotFoundError as V, WebRPCSchemaHash as W, WebrpcBadRouteError as X, WebrpcBadResponseError as Y, WebrpcClientDisconnectedError as Z, NotFoundError as _, CollectionPriority as a, WebrpcServerPanicError as at, OrderSide as b, CurrencyStatus as c, errors as ct, InvalidTierError as d, WebrpcErrorCodes as et, ItemsContractStatus as f, MethodNotFoundError as g, MetadataStatus as h, CollectibleStatus as i, WebrpcRequestFailedError as it, SessionExpiredError as j, ProjectStatus as k, ExecuteType as l, webrpcErrorByCode as lt, MarketplaceKind as m, Admin as n, WebrpcHeaderValue as nt, CollectionStatus as o, WebrpcStreamFinishedError as ot, Marketplace as p, WebrpcBadMethodError as q, CollectibleSource as r, WebrpcInternalErrorError as rt, ContractType as s, WebrpcStreamLostError as st, ActivityAction as t, WebrpcHeader as tt, InvalidArgumentError as u, NotImplementedError as v, PrimarySaleContractStatus as w, OrderStatus as x, OfferType as y, TransactionSwapProvider as z };
|
|
1144
|
+
//# sourceMappingURL=marketplace.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marketplace.gen.js","names":["reqHeaders: {[key: string]: string}","webrpcErrorByCode: { [code: number]: any }"],"sources":["../src/react/_internal/api/marketplace.gen.ts"],"sourcesContent":["/* eslint-disable */\n// marketplace-api 1ecb14ce28259b0a60c8b90d3e247aced7bcdfad\n// --\n// Code generated by webrpc-gen@v0.25.4 with typescript generator. DO NOT EDIT.\n//\n// webrpc-gen -schema=marketplace.ridl -target=typescript -client -out=./clients/marketplace.gen.ts\n\nexport const WebrpcHeader = \"Webrpc\"\n\nexport const WebrpcHeaderValue = \"webrpc@v0.25.4;gen-typescript@v0.17.0;marketplace-api@v0.0.0-1ecb14ce28259b0a60c8b90d3e247aced7bcdfad;marketplace-sdk@v1.2.1\"\n\n// WebRPC description and code-gen version\nexport const WebRPCVersion = \"v1\"\n\n// Schema version of your RIDL schema\nexport const WebRPCSchemaVersion = \"\"\n\n// Schema hash generated from your RIDL schema\nexport const WebRPCSchemaHash = \"1ecb14ce28259b0a60c8b90d3e247aced7bcdfad\"\n\ntype WebrpcGenVersions = {\n webrpcGenVersion: string;\n codeGenName: string;\n codeGenVersion: string;\n schemaName: string;\n schemaVersion: string;\n};\n\nexport function VersionFromHeader(headers: Headers): WebrpcGenVersions {\n const headerValue = headers.get(WebrpcHeader);\n if (!headerValue) {\n return {\n webrpcGenVersion: \"\",\n codeGenName: \"\",\n codeGenVersion: \"\",\n schemaName: \"\",\n schemaVersion: \"\",\n };\n }\n\n return parseWebrpcGenVersions(headerValue);\n}\n\nfunction parseWebrpcGenVersions(header: string): WebrpcGenVersions {\n const versions = header.split(\";\");\n if (versions.length < 3) {\n return {\n webrpcGenVersion: \"\",\n codeGenName: \"\",\n codeGenVersion: \"\",\n schemaName: \"\",\n schemaVersion: \"\",\n };\n }\n\n const [_, webrpcGenVersion] = versions[0]!.split(\"@\");\n const [codeGenName, codeGenVersion] = versions[1]!.split(\"@\");\n const [schemaName, schemaVersion] = versions[2]!.split(\"@\");\n\n return {\n webrpcGenVersion: webrpcGenVersion ?? \"\",\n codeGenName: codeGenName ?? \"\",\n codeGenVersion: codeGenVersion ?? \"\",\n schemaName: schemaName ?? \"\",\n schemaVersion: schemaVersion ?? \"\",\n };\n}\n\n//\n// Types\n//\n\n\nexport enum MetadataStatus {\n NOT_AVAILABLE = 'NOT_AVAILABLE',\n REFRESHING = 'REFRESHING',\n AVAILABLE = 'AVAILABLE'\n}\n\nexport interface TokenMetadata {\n tokenId: string\n name: string\n description?: string\n image?: string\n video?: string\n audio?: string\n properties?: {[key: string]: any}\n attributes: Array<{[key: string]: any}>\n image_data?: string\n external_url?: string\n background_color?: string\n animation_url?: string\n decimals?: number\n updatedAt?: string\n assets?: Array<Asset>\n status: MetadataStatus\n}\n\nexport interface Asset {\n id: number\n collectionId: number\n tokenId: string\n url?: string\n metadataField: string\n name?: string\n filesize?: number\n mimeType?: string\n width?: number\n height?: number\n updatedAt?: string\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC'\n}\n\nexport enum PropertyType {\n INT = 'INT',\n STRING = 'STRING',\n ARRAY = 'ARRAY',\n GENERIC = 'GENERIC'\n}\n\nexport enum MarketplaceKind {\n unknown = 'unknown',\n sequence_marketplace_v1 = 'sequence_marketplace_v1',\n sequence_marketplace_v2 = 'sequence_marketplace_v2',\n blur = 'blur',\n zerox = 'zerox',\n opensea = 'opensea',\n looks_rare = 'looks_rare',\n x2y2 = 'x2y2',\n alienswap = 'alienswap',\n payment_processor = 'payment_processor',\n mintify = 'mintify',\n magic_eden = 'magic_eden'\n}\n\nexport enum OrderbookKind {\n unknown = 'unknown',\n sequence_marketplace_v1 = 'sequence_marketplace_v1',\n sequence_marketplace_v2 = 'sequence_marketplace_v2',\n blur = 'blur',\n opensea = 'opensea',\n looks_rare = 'looks_rare',\n reservoir = 'reservoir',\n x2y2 = 'x2y2',\n magic_eden = 'magic_eden'\n}\n\nexport enum SourceKind {\n unknown = 'unknown',\n external = 'external',\n sequence_marketplace_v1 = 'sequence_marketplace_v1',\n sequence_marketplace_v2 = 'sequence_marketplace_v2',\n opensea = 'opensea',\n magic_eden = 'magic_eden'\n}\n\nexport enum OrderSide {\n unknown = 'unknown',\n listing = 'listing',\n offer = 'offer'\n}\n\nexport enum OfferType {\n unknown = 'unknown',\n item = 'item',\n collection = 'collection'\n}\n\nexport enum OrderStatus {\n unknown = 'unknown',\n active = 'active',\n inactive = 'inactive',\n expired = 'expired',\n cancelled = 'cancelled',\n filled = 'filled',\n decimals_missing = 'decimals_missing'\n}\n\nexport enum ContractType {\n UNKNOWN = 'UNKNOWN',\n ERC20 = 'ERC20',\n ERC721 = 'ERC721',\n ERC1155 = 'ERC1155'\n}\n\nexport enum CollectionPriority {\n unknown = 'unknown',\n low = 'low',\n normal = 'normal',\n high = 'high'\n}\n\nexport enum CollectionStatus {\n unknown = 'unknown',\n created = 'created',\n syncing_orders = 'syncing_orders',\n active = 'active',\n failed = 'failed',\n inactive = 'inactive',\n incompatible_type = 'incompatible_type'\n}\n\nexport enum ProjectStatus {\n unknown = 'unknown',\n active = 'active',\n inactive = 'inactive'\n}\n\nexport enum ItemsContractStatus {\n unknown = 'unknown',\n created = 'created',\n syncing_contract_metadata = 'syncing_contract_metadata',\n synced_contract_metadata = 'synced_contract_metadata',\n syncing_tokens = 'syncing_tokens',\n synced_tokens = 'synced_tokens',\n active = 'active',\n inactive = 'inactive',\n incompatible_type = 'incompatible_type'\n}\n\nexport enum CollectibleStatus {\n unknown = 'unknown',\n active = 'active',\n inactive = 'inactive'\n}\n\nexport enum CollectibleSource {\n unknown = 'unknown',\n indexer = 'indexer',\n manual = 'manual'\n}\n\nexport enum CurrencyStatus {\n unknown = 'unknown',\n created = 'created',\n syncing_metadata = 'syncing_metadata',\n active = 'active',\n failed = 'failed'\n}\n\nexport enum WalletKind {\n unknown = 'unknown',\n sequence = 'sequence'\n}\n\nexport enum StepType {\n unknown = 'unknown',\n tokenApproval = 'tokenApproval',\n buy = 'buy',\n sell = 'sell',\n createListing = 'createListing',\n createOffer = 'createOffer',\n signEIP712 = 'signEIP712',\n signEIP191 = 'signEIP191',\n cancel = 'cancel'\n}\n\nexport enum TransactionCrypto {\n none = 'none',\n partially = 'partially',\n all = 'all'\n}\n\nexport enum TransactionNFTCheckoutProvider {\n unknown = 'unknown',\n transak = 'transak',\n sardine = 'sardine'\n}\n\nexport enum TransactionOnRampProvider {\n unknown = 'unknown',\n transak = 'transak',\n sardine = 'sardine'\n}\n\nexport enum TransactionSwapProvider {\n unknown = 'unknown',\n lifi = 'lifi'\n}\n\nexport enum ExecuteType {\n unknown = 'unknown',\n order = 'order',\n createListing = 'createListing',\n createItemOffer = 'createItemOffer',\n createTraitOffer = 'createTraitOffer'\n}\n\nexport enum ActivityAction {\n unknown = 'unknown',\n listing = 'listing',\n offer = 'offer',\n mint = 'mint',\n sale = 'sale',\n listingCancel = 'listingCancel',\n offerCancel = 'offerCancel',\n transfer = 'transfer'\n}\n\nexport enum PrimarySaleContractStatus {\n unknown = 'unknown',\n created = 'created',\n syncing_items = 'syncing_items',\n active = 'active',\n inactive = 'inactive',\n incompatible_type = 'incompatible_type',\n failed = 'failed'\n}\n\nexport enum PrimarySaleVersion {\n v0 = 'v0',\n v1 = 'v1'\n}\n\nexport enum PrimarySaleItemDetailType {\n unknown = 'unknown',\n global = 'global',\n individual = 'individual'\n}\n\nexport interface Page {\n page: number\n pageSize: number\n more?: boolean\n sort?: Array<SortBy>\n}\n\nexport interface SortBy {\n column: string\n order: SortOrder\n}\n\nexport interface Filter {\n text?: string\n properties?: Array<PropertyFilter>\n}\n\nexport interface PropertyFilter {\n name: string\n type: PropertyType\n min?: number\n max?: number\n values?: Array<any>\n}\n\nexport interface CollectiblesFilter {\n includeEmpty: boolean\n searchText?: string\n properties?: Array<PropertyFilter>\n marketplaces?: Array<MarketplaceKind>\n inAccounts?: Array<string>\n notInAccounts?: Array<string>\n ordersCreatedBy?: Array<string>\n ordersNotCreatedBy?: Array<string>\n inCurrencyAddresses?: Array<string>\n notInCurrencyAddresses?: Array<string>\n prices?: Array<PriceFilter>\n}\n\nexport interface OrdersFilter {\n searchText?: string\n properties?: Array<PropertyFilter>\n marketplaces?: Array<MarketplaceKind>\n inAccounts?: Array<string>\n notInAccounts?: Array<string>\n ordersCreatedBy?: Array<string>\n ordersNotCreatedBy?: Array<string>\n inCurrencyAddresses?: Array<string>\n notInCurrencyAddresses?: Array<string>\n prices?: Array<PriceFilter>\n}\n\nexport interface PriceFilter {\n contractAddress: string\n min?: string\n max?: string\n}\n\nexport interface Order {\n orderId: string\n marketplace: MarketplaceKind\n side: OrderSide\n status: OrderStatus\n chainId: number\n originName: string\n slug: string\n collectionContractAddress: string\n tokenId?: string\n createdBy: string\n priceAmount: string\n priceAmountFormatted: string\n priceAmountNet: string\n priceAmountNetFormatted: string\n priceCurrencyAddress: string\n priceDecimals: number\n priceUSD: number\n priceUSDFormatted: string\n quantityInitial: string\n quantityInitialFormatted: string\n quantityRemaining: string\n quantityRemainingFormatted: string\n quantityAvailable: string\n quantityAvailableFormatted: string\n quantityDecimals: number\n feeBps: number\n feeBreakdown: Array<FeeBreakdown>\n validFrom: string\n validUntil: string\n blockNumber: number\n orderCreatedAt?: string\n orderUpdatedAt?: string\n createdAt: string\n updatedAt: string\n deletedAt?: string\n}\n\nexport interface FeeBreakdown {\n kind: string\n recipientAddress: string\n bps: number\n}\n\nexport interface CollectibleOrder {\n metadata: TokenMetadata\n order?: Order\n listing?: Order\n offer?: Order\n}\n\nexport interface OrderFilter {\n createdBy?: Array<string>\n marketplace?: Array<MarketplaceKind>\n currencies?: Array<string>\n}\n\nexport interface Collection {\n status: CollectionStatus\n chainId: number\n contractAddress: string\n contractType: ContractType\n priority: CollectionPriority\n tokenQuantityDecimals: number\n config: CollectionConfig\n createdAt: string\n updatedAt: string\n deletedAt?: string\n}\n\nexport interface CollectionConfig {\n lastSynced: {[key: string]: CollectionLastSynced}\n collectiblesSynced: string\n activitiesSynced: string\n activitiesSyncedContinuity: string\n}\n\nexport interface CollectionLastSynced {\n allOrders: string\n newOrders: string\n names: Array<string>\n cursors: {[key: string]: string}\n}\n\nexport interface Project {\n projectId: number\n chainId: number\n contractAddress: string\n status: ProjectStatus\n createdAt: string\n updatedAt: string\n deletedAt?: string\n}\n\nexport interface ItemsContract {\n status: ItemsContractStatus\n chainId: number\n contractAddress: string\n contractType: ContractType\n lastSynced: string\n createdAt: string\n updatedAt: string\n deletedAt?: string\n}\n\nexport interface Collectible {\n status: CollectibleStatus\n tokenId: string\n decimals: number\n source: CollectibleSource\n createdAt: string\n updatedAt: string\n deletedAt?: string\n}\n\nexport interface Currency {\n chainId: number\n contractAddress: string\n status: CurrencyStatus\n name: string\n symbol: string\n decimals: number\n imageUrl: string\n exchangeRate: number\n defaultChainCurrency: boolean\n nativeCurrency: boolean\n openseaListing: boolean\n openseaOffer: boolean\n createdAt: string\n updatedAt: string\n deletedAt?: string\n}\n\nexport interface OrderData {\n orderId: string\n quantity: string\n tokenId?: string\n}\n\nexport interface AdditionalFee {\n amount: string\n receiver: string\n}\n\nexport interface Step {\n id: StepType\n data: string\n to: string\n value: string\n price: string\n signature?: Signature\n post?: PostRequest\n executeType?: ExecuteType\n}\n\nexport interface PostRequest {\n endpoint: string\n method: string\n body: any\n}\n\nexport interface CreateReq {\n tokenId: string\n quantity: string\n expiry: string\n currencyAddress: string\n pricePerToken: string\n}\n\nexport interface GetOrdersInput {\n contractAddress: string\n orderId: string\n marketplace: MarketplaceKind\n}\n\nexport interface Signature {\n domain: Domain\n types: any\n primaryType: string\n value: any\n}\n\nexport interface Domain {\n name: string\n version: string\n chainId: number\n verifyingContract: string\n}\n\nexport interface CheckoutOptionsMarketplaceOrder {\n contractAddress: string\n orderId: string\n marketplace: MarketplaceKind\n}\n\nexport interface CheckoutOptionsItem {\n tokenId: string\n quantity: string\n}\n\nexport interface CheckoutOptions {\n crypto: TransactionCrypto\n swap: Array<TransactionSwapProvider>\n nftCheckout: Array<TransactionNFTCheckoutProvider>\n onRamp: Array<TransactionOnRampProvider>\n}\n\nexport interface ExecuteInput {\n chainId: string\n signature: string\n method: string\n endpoint: string\n executeType: ExecuteType\n body: any\n slug?: string\n}\n\nexport interface Activity {\n chainId: number\n contractAddress: string\n tokenId: string\n action: ActivityAction\n txHash: string\n from: string\n to?: string\n quantity: string\n quantityDecimals: number\n priceAmount?: string\n priceAmountFormatted?: string\n priceCurrencyAddress?: string\n priceDecimals?: number\n activityCreatedAt: string\n uniqueHash: string\n createdAt: string\n updatedAt: string\n deletedAt?: string\n}\n\nexport interface PrimarySaleContract {\n chainId: number\n contractAddress: string\n collectionAddress: string\n contractType: ContractType\n version: PrimarySaleVersion\n currencyAddress: string\n priceDecimals: number\n status: PrimarySaleContractStatus\n lastSynced: string\n createdAt: string\n updatedAt: string\n deletedAt?: string\n}\n\nexport interface PrimarySaleItem {\n itemAddress: string\n contractType: ContractType\n tokenId: string\n itemType: PrimarySaleItemDetailType\n startDate: string\n endDate: string\n currencyAddress: string\n priceDecimals: number\n priceAmount: string\n priceAmountFormatted: string\n priceUsd: number\n priceUsdFormatted: string\n supply: string\n supplyCap: string\n unlimitedSupply: boolean\n createdAt: string\n updatedAt: string\n deletedAt?: string\n}\n\nexport interface CollectiblePrimarySaleItem {\n metadata: TokenMetadata\n primarySaleItem: PrimarySaleItem\n}\n\nexport interface PrimarySaleItemsFilter {\n includeEmpty: boolean\n searchText?: string\n properties?: Array<PropertyFilter>\n detailTypes?: Array<PrimarySaleItemDetailType>\n startDateAfter?: string\n startDateBefore?: string\n endDateAfter?: string\n endDateBefore?: string\n}\n\nexport interface Admin {\n createCollection(args: CreateCollectionArgs, headers?: object, signal?: AbortSignal): Promise<CreateCollectionReturn>\n getCollection(args: GetCollectionArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectionReturn>\n updateCollection(args: UpdateCollectionArgs, headers?: object, signal?: AbortSignal): Promise<UpdateCollectionReturn>\n listCollections(args: ListCollectionsArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectionsReturn>\n deleteCollection(args: DeleteCollectionArgs, headers?: object, signal?: AbortSignal): Promise<DeleteCollectionReturn>\n /**\n * determine what should happen here\n */\n syncCollection(args: SyncCollectionArgs, headers?: object, signal?: AbortSignal): Promise<SyncCollectionReturn>\n createPrimarySaleContract(args: CreatePrimarySaleContractArgs, headers?: object, signal?: AbortSignal): Promise<CreatePrimarySaleContractReturn>\n deletePrimarySaleContract(args: DeletePrimarySaleContractArgs, headers?: object, signal?: AbortSignal): Promise<DeletePrimarySaleContractReturn>\n createCurrency(args: CreateCurrencyArgs, headers?: object, signal?: AbortSignal): Promise<CreateCurrencyReturn>\n createCurrencies(args: CreateCurrenciesArgs, headers?: object, signal?: AbortSignal): Promise<CreateCurrenciesReturn>\n updateCurrency(args: UpdateCurrencyArgs, headers?: object, signal?: AbortSignal): Promise<UpdateCurrencyReturn>\n listCurrencies(args: ListCurrenciesArgs, headers?: object, signal?: AbortSignal): Promise<ListCurrenciesReturn>\n deleteCurrency(args: DeleteCurrencyArgs, headers?: object, signal?: AbortSignal): Promise<DeleteCurrencyReturn>\n /**\n * This for manual adding of non minted ERC1155 tokens, it's used for purposes of Shop.\n */\n addCollectibles(args: AddCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<AddCollectiblesReturn>\n}\n\nexport interface CreateCollectionArgs {\n chainId: string\n projectId: number\n contractAddress: string\n}\n\nexport interface CreateCollectionReturn {\n collection: Collection \n}\nexport interface GetCollectionArgs {\n chainId: string\n projectId: number\n contractAddress: string\n}\n\nexport interface GetCollectionReturn {\n collection: Collection \n}\nexport interface UpdateCollectionArgs {\n chainId: string\n collection: Collection\n}\n\nexport interface UpdateCollectionReturn {\n collection: Collection \n}\nexport interface ListCollectionsArgs {\n chainId: string\n projectId: number\n page?: Page\n}\n\nexport interface ListCollectionsReturn {\n collections: Array<Collection>\n page?: Page \n}\nexport interface DeleteCollectionArgs {\n chainId: string\n projectId: number\n contractAddress: string\n}\n\nexport interface DeleteCollectionReturn {\n collection: Collection \n}\nexport interface SyncCollectionArgs {\n chainId: string\n contractAddress: string\n}\n\nexport interface SyncCollectionReturn { \n}\nexport interface CreatePrimarySaleContractArgs {\n chainId: string\n projectId: number\n primarySaleContractAddress: string\n itemsContractAddress: string\n}\n\nexport interface CreatePrimarySaleContractReturn {\n primarySaleContract: PrimarySaleContract \n}\nexport interface DeletePrimarySaleContractArgs {\n chainId: string\n projectId: number\n primarySaleContractAddress: string\n}\n\nexport interface DeletePrimarySaleContractReturn { \n}\nexport interface CreateCurrencyArgs {\n chainId: string\n currency: Currency\n}\n\nexport interface CreateCurrencyReturn {\n currency: Currency \n}\nexport interface CreateCurrenciesArgs {\n chainId: string\n currencies: Array<Currency>\n}\n\nexport interface CreateCurrenciesReturn {\n currency: {[key: string]: Currency} \n}\nexport interface UpdateCurrencyArgs {\n chainId: string\n currency: Currency\n}\n\nexport interface UpdateCurrencyReturn {\n currency: Currency \n}\nexport interface ListCurrenciesArgs {\n chainId: string\n}\n\nexport interface ListCurrenciesReturn {\n currencies: Array<Currency> \n}\nexport interface DeleteCurrencyArgs {\n chainId: string\n contractAddress: string\n}\n\nexport interface DeleteCurrencyReturn {\n currency: Currency \n}\nexport interface AddCollectiblesArgs {\n chainId: string\n itemsContractAddress: string\n tokenIds: Array<string>\n}\n\nexport interface AddCollectiblesReturn { \n}\n\nexport interface Marketplace {\n listCurrencies(args: ListCurrenciesArgs, headers?: object, signal?: AbortSignal): Promise<ListCurrenciesReturn>\n getCollectionDetail(args: GetCollectionDetailArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectionDetailReturn>\n getCollectionActiveListingsCurrencies(args: GetCollectionActiveListingsCurrenciesArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectionActiveListingsCurrenciesReturn>\n getCollectionActiveOffersCurrencies(args: GetCollectionActiveOffersCurrenciesArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectionActiveOffersCurrenciesReturn>\n getCollectible(args: GetCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectibleReturn>\n getLowestPriceOfferForCollectible(args: GetLowestPriceOfferForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<GetLowestPriceOfferForCollectibleReturn>\n getHighestPriceOfferForCollectible(args: GetHighestPriceOfferForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<GetHighestPriceOfferForCollectibleReturn>\n getLowestPriceListingForCollectible(args: GetLowestPriceListingForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<GetLowestPriceListingForCollectibleReturn>\n getHighestPriceListingForCollectible(args: GetHighestPriceListingForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<GetHighestPriceListingForCollectibleReturn>\n listListingsForCollectible(args: ListListingsForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<ListListingsForCollectibleReturn>\n listOffersForCollectible(args: ListOffersForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<ListOffersForCollectibleReturn>\n listOrdersWithCollectibles(args: ListOrdersWithCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<ListOrdersWithCollectiblesReturn>\n getCountOfAllOrders(args: GetCountOfAllOrdersArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfAllOrdersReturn>\n getCountOfFilteredOrders(args: GetCountOfFilteredOrdersArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfFilteredOrdersReturn>\n listListings(args: ListListingsArgs, headers?: object, signal?: AbortSignal): Promise<ListListingsReturn>\n listOffers(args: ListOffersArgs, headers?: object, signal?: AbortSignal): Promise<ListOffersReturn>\n getCountOfListingsForCollectible(args: GetCountOfListingsForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfListingsForCollectibleReturn>\n getCountOfOffersForCollectible(args: GetCountOfOffersForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfOffersForCollectibleReturn>\n /**\n * @deprecated Please use GetLowestPriceOfferForCollectible instead.\n */\n getCollectibleLowestOffer(args: GetCollectibleLowestOfferArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectibleLowestOfferReturn>\n /**\n * @deprecated Please use GetHighestPriceOfferForCollectible instead.\n */\n getCollectibleHighestOffer(args: GetCollectibleHighestOfferArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectibleHighestOfferReturn>\n /**\n * @deprecated Please use GetLowestPriceListingForCollectible instead.\n */\n getCollectibleLowestListing(args: GetCollectibleLowestListingArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectibleLowestListingReturn>\n /**\n * @deprecated Please use GetHighestPriceListingForCollectible instead.\n */\n getCollectibleHighestListing(args: GetCollectibleHighestListingArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectibleHighestListingReturn>\n /**\n * @deprecated Please use ListListingsForCollectible instead.\n */\n listCollectibleListings(args: ListCollectibleListingsArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectibleListingsReturn>\n /**\n * @deprecated Please use ListOffersForCollectible instead.\n */\n listCollectibleOffers(args: ListCollectibleOffersArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectibleOffersReturn>\n /**\n * checkout process\n */\n generateBuyTransaction(args: GenerateBuyTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateBuyTransactionReturn>\n generateSellTransaction(args: GenerateSellTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateSellTransactionReturn>\n generateListingTransaction(args: GenerateListingTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateListingTransactionReturn>\n generateOfferTransaction(args: GenerateOfferTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateOfferTransactionReturn>\n generateCancelTransaction(args: GenerateCancelTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateCancelTransactionReturn>\n /**\n * only used in a case of external transactions ( when we create off-chain transactions ) for instance opensea market, use only ExecuteInput params and leave other root inputs empty, they are depracated and kept only for backward compatibility\n */\n execute(args: ExecuteArgs, headers?: object, signal?: AbortSignal): Promise<ExecuteReturn>\n /**\n * list of collectibles with best order for each collectible, by default this only returns collectibles with an order\n */\n listCollectibles(args: ListCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectiblesReturn>\n getCountOfAllCollectibles(args: GetCountOfAllCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfAllCollectiblesReturn>\n getCountOfFilteredCollectibles(args: GetCountOfFilteredCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfFilteredCollectiblesReturn>\n getFloorOrder(args: GetFloorOrderArgs, headers?: object, signal?: AbortSignal): Promise<GetFloorOrderReturn>\n listCollectionActivities(args: ListCollectionActivitiesArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectionActivitiesReturn>\n listCollectibleActivities(args: ListCollectibleActivitiesArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectibleActivitiesReturn>\n listCollectiblesWithLowestListing(args: ListCollectiblesWithLowestListingArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectiblesWithLowestListingReturn>\n listCollectiblesWithHighestOffer(args: ListCollectiblesWithHighestOfferArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectiblesWithHighestOfferReturn>\n syncOrder(args: SyncOrderArgs, headers?: object, signal?: AbortSignal): Promise<SyncOrderReturn>\n syncOrders(args: SyncOrdersArgs, headers?: object, signal?: AbortSignal): Promise<SyncOrdersReturn>\n getOrders(args: GetOrdersArgs, headers?: object, signal?: AbortSignal): Promise<GetOrdersReturn>\n checkoutOptionsMarketplace(args: CheckoutOptionsMarketplaceArgs, headers?: object, signal?: AbortSignal): Promise<CheckoutOptionsMarketplaceReturn>\n checkoutOptionsSalesContract(args: CheckoutOptionsSalesContractArgs, headers?: object, signal?: AbortSignal): Promise<CheckoutOptionsSalesContractReturn>\n supportedMarketplaces(args: SupportedMarketplacesArgs, headers?: object, signal?: AbortSignal): Promise<SupportedMarketplacesReturn>\n getPrimarySaleItem(args: GetPrimarySaleItemArgs, headers?: object, signal?: AbortSignal): Promise<GetPrimarySaleItemReturn>\n listPrimarySaleItems(args: ListPrimarySaleItemsArgs, headers?: object, signal?: AbortSignal): Promise<ListPrimarySaleItemsReturn>\n getCountOfPrimarySaleItems(args: GetCountOfPrimarySaleItemsArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfPrimarySaleItemsReturn>\n}\n\nexport interface ListCurrenciesArgs {\n chainId: string\n}\n\nexport interface ListCurrenciesReturn {\n currencies: Array<Currency> \n}\nexport interface GetCollectionDetailArgs {\n chainId: string\n contractAddress: string\n}\n\nexport interface GetCollectionDetailReturn {\n collection: Collection \n}\nexport interface GetCollectionActiveListingsCurrenciesArgs {\n chainId: string\n contractAddress: string\n}\n\nexport interface GetCollectionActiveListingsCurrenciesReturn {\n currencies: Array<Currency> \n}\nexport interface GetCollectionActiveOffersCurrenciesArgs {\n chainId: string\n contractAddress: string\n}\n\nexport interface GetCollectionActiveOffersCurrenciesReturn {\n currencies: Array<Currency> \n}\nexport interface GetCollectibleArgs {\n chainId: string\n contractAddress: string\n tokenId: string\n}\n\nexport interface GetCollectibleReturn {\n metadata: TokenMetadata \n}\nexport interface GetLowestPriceOfferForCollectibleArgs {\n chainId: string\n contractAddress: string\n tokenId: string\n filter?: OrderFilter\n}\n\nexport interface GetLowestPriceOfferForCollectibleReturn {\n order: Order \n}\nexport interface GetHighestPriceOfferForCollectibleArgs {\n chainId: string\n contractAddress: string\n tokenId: string\n filter?: OrderFilter\n}\n\nexport interface GetHighestPriceOfferForCollectibleReturn {\n order: Order \n}\nexport interface GetLowestPriceListingForCollectibleArgs {\n chainId: string\n contractAddress: string\n tokenId: string\n filter?: OrderFilter\n}\n\nexport interface GetLowestPriceListingForCollectibleReturn {\n order: Order \n}\nexport interface GetHighestPriceListingForCollectibleArgs {\n chainId: string\n contractAddress: string\n tokenId: string\n filter?: OrderFilter\n}\n\nexport interface GetHighestPriceListingForCollectibleReturn {\n order: Order \n}\nexport interface ListListingsForCollectibleArgs {\n chainId: string\n contractAddress: string\n tokenId: string\n filter?: OrderFilter\n page?: Page\n}\n\nexport interface ListListingsForCollectibleReturn {\n listings: Array<Order>\n page?: Page \n}\nexport interface ListOffersForCollectibleArgs {\n chainId: string\n contractAddress: string\n tokenId: string\n filter?: OrderFilter\n page?: Page\n}\n\nexport interface ListOffersForCollectibleReturn {\n offers: Array<Order>\n page?: Page \n}\nexport interface ListOrdersWithCollectiblesArgs {\n chainId: string\n side: OrderSide\n contractAddress: string\n filter?: OrdersFilter\n page?: Page\n}\n\nexport interface ListOrdersWithCollectiblesReturn {\n collectibles: Array<CollectibleOrder>\n page?: Page \n}\nexport interface GetCountOfAllOrdersArgs {\n chainId: string\n side: OrderSide\n contractAddress: string\n}\n\nexport interface GetCountOfAllOrdersReturn {\n count: number \n}\nexport interface GetCountOfFilteredOrdersArgs {\n chainId: string\n side: OrderSide\n contractAddress: string\n filter?: OrdersFilter\n}\n\nexport interface GetCountOfFilteredOrdersReturn {\n count: number \n}\nexport interface ListListingsArgs {\n chainId: string\n contractAddress: string\n filter?: OrderFilter\n page?: Page\n}\n\nexport interface ListListingsReturn {\n listings: Array<Order>\n page?: Page \n}\nexport interface ListOffersArgs {\n chainId: string\n contractAddress: string\n filter?: OrderFilter\n page?: Page\n}\n\nexport interface ListOffersReturn {\n offers: Array<Order>\n page?: Page \n}\nexport interface GetCountOfListingsForCollectibleArgs {\n chainId: string\n contractAddress: string\n tokenId: string\n filter?: OrderFilter\n}\n\nexport interface GetCountOfListingsForCollectibleReturn {\n count: number \n}\nexport interface GetCountOfOffersForCollectibleArgs {\n chainId: string\n contractAddress: string\n tokenId: string\n filter?: OrderFilter\n}\n\nexport interface GetCountOfOffersForCollectibleReturn {\n count: number \n}\nexport interface GetCollectibleLowestOfferArgs {\n chainId: string\n contractAddress: string\n tokenId: string\n filter?: OrderFilter\n}\n\nexport interface GetCollectibleLowestOfferReturn {\n order?: Order \n}\nexport interface GetCollectibleHighestOfferArgs {\n chainId: string\n contractAddress: string\n tokenId: string\n filter?: OrderFilter\n}\n\nexport interface GetCollectibleHighestOfferReturn {\n order?: Order \n}\nexport interface GetCollectibleLowestListingArgs {\n chainId: string\n contractAddress: string\n tokenId: string\n filter?: OrderFilter\n}\n\nexport interface GetCollectibleLowestListingReturn {\n order?: Order \n}\nexport interface GetCollectibleHighestListingArgs {\n chainId: string\n contractAddress: string\n tokenId: string\n filter?: OrderFilter\n}\n\nexport interface GetCollectibleHighestListingReturn {\n order?: Order \n}\nexport interface ListCollectibleListingsArgs {\n chainId: string\n contractAddress: string\n tokenId: string\n filter?: OrderFilter\n page?: Page\n}\n\nexport interface ListCollectibleListingsReturn {\n listings: Array<Order>\n page?: Page \n}\nexport interface ListCollectibleOffersArgs {\n chainId: string\n contractAddress: string\n tokenId: string\n filter?: OrderFilter\n page?: Page\n}\n\nexport interface ListCollectibleOffersReturn {\n offers: Array<Order>\n page?: Page \n}\nexport interface GenerateBuyTransactionArgs {\n chainId: string\n collectionAddress: string\n buyer: string\n marketplace: MarketplaceKind\n ordersData: Array<OrderData>\n additionalFees: Array<AdditionalFee>\n walletType?: WalletKind\n}\n\nexport interface GenerateBuyTransactionReturn {\n steps: Array<Step> \n}\nexport interface GenerateSellTransactionArgs {\n chainId: string\n collectionAddress: string\n seller: string\n marketplace: MarketplaceKind\n ordersData: Array<OrderData>\n additionalFees: Array<AdditionalFee>\n walletType?: WalletKind\n}\n\nexport interface GenerateSellTransactionReturn {\n steps: Array<Step> \n}\nexport interface GenerateListingTransactionArgs {\n chainId: string\n collectionAddress: string\n owner: string\n contractType: ContractType\n orderbook: OrderbookKind\n listing: CreateReq\n additionalFees: Array<AdditionalFee>\n walletType?: WalletKind\n}\n\nexport interface GenerateListingTransactionReturn {\n steps: Array<Step> \n}\nexport interface GenerateOfferTransactionArgs {\n chainId: string\n collectionAddress: string\n maker: string\n contractType: ContractType\n orderbook: OrderbookKind\n offer: CreateReq\n additionalFees: Array<AdditionalFee>\n walletType?: WalletKind\n offerType: OfferType\n}\n\nexport interface GenerateOfferTransactionReturn {\n steps: Array<Step> \n}\nexport interface GenerateCancelTransactionArgs {\n chainId: string\n collectionAddress: string\n maker: string\n marketplace: MarketplaceKind\n orderId: string\n}\n\nexport interface GenerateCancelTransactionReturn {\n steps: Array<Step> \n}\nexport interface ExecuteArgs {\n params: ExecuteInput\n chainId?: string\n signature?: string\n method?: string\n endpoint?: string\n executeType?: ExecuteType\n body?: any\n}\n\nexport interface ExecuteReturn {\n orderId: string \n}\nexport interface ListCollectiblesArgs {\n chainId: string\n side: OrderSide\n contractAddress: string\n filter?: CollectiblesFilter\n page?: Page\n}\n\nexport interface ListCollectiblesReturn {\n collectibles: Array<CollectibleOrder>\n page?: Page \n}\nexport interface GetCountOfAllCollectiblesArgs {\n chainId: string\n contractAddress: string\n}\n\nexport interface GetCountOfAllCollectiblesReturn {\n count: number \n}\nexport interface GetCountOfFilteredCollectiblesArgs {\n chainId: string\n side: OrderSide\n contractAddress: string\n filter?: CollectiblesFilter\n}\n\nexport interface GetCountOfFilteredCollectiblesReturn {\n count: number \n}\nexport interface GetFloorOrderArgs {\n chainId: string\n contractAddress: string\n filter?: CollectiblesFilter\n}\n\nexport interface GetFloorOrderReturn {\n collectible: CollectibleOrder \n}\nexport interface ListCollectionActivitiesArgs {\n chainId: string\n contractAddress: string\n page?: Page\n}\n\nexport interface ListCollectionActivitiesReturn {\n activities: Array<Activity>\n page?: Page \n}\nexport interface ListCollectibleActivitiesArgs {\n chainId: string\n contractAddress: string\n tokenId: string\n page?: Page\n}\n\nexport interface ListCollectibleActivitiesReturn {\n activities: Array<Activity>\n page?: Page \n}\nexport interface ListCollectiblesWithLowestListingArgs {\n chainId: string\n contractAddress: string\n filter?: CollectiblesFilter\n page?: Page\n}\n\nexport interface ListCollectiblesWithLowestListingReturn {\n collectibles: Array<CollectibleOrder>\n page?: Page \n}\nexport interface ListCollectiblesWithHighestOfferArgs {\n chainId: string\n contractAddress: string\n filter?: CollectiblesFilter\n page?: Page\n}\n\nexport interface ListCollectiblesWithHighestOfferReturn {\n collectibles: Array<CollectibleOrder>\n page?: Page \n}\nexport interface SyncOrderArgs {\n chainId: string\n order: Order\n}\n\nexport interface SyncOrderReturn { \n}\nexport interface SyncOrdersArgs {\n chainId: string\n orders: Array<Order>\n}\n\nexport interface SyncOrdersReturn { \n}\nexport interface GetOrdersArgs {\n chainId: string\n input: Array<GetOrdersInput>\n page?: Page\n}\n\nexport interface GetOrdersReturn {\n orders: Array<Order>\n page?: Page \n}\nexport interface CheckoutOptionsMarketplaceArgs {\n chainId: string\n wallet: string\n orders: Array<CheckoutOptionsMarketplaceOrder>\n additionalFee: number\n}\n\nexport interface CheckoutOptionsMarketplaceReturn {\n options: CheckoutOptions \n}\nexport interface CheckoutOptionsSalesContractArgs {\n chainId: string\n wallet: string\n contractAddress: string\n collectionAddress: string\n items: Array<CheckoutOptionsItem>\n}\n\nexport interface CheckoutOptionsSalesContractReturn {\n options: CheckoutOptions \n}\nexport interface SupportedMarketplacesArgs {\n chainId: string\n}\n\nexport interface SupportedMarketplacesReturn {\n marketplaces: Array<MarketplaceKind> \n}\nexport interface GetPrimarySaleItemArgs {\n chainId: string\n primarySaleContractAddress: string\n tokenId: string\n}\n\nexport interface GetPrimarySaleItemReturn {\n item: CollectiblePrimarySaleItem \n}\nexport interface ListPrimarySaleItemsArgs {\n chainId: string\n primarySaleContractAddress: string\n filter?: PrimarySaleItemsFilter\n page?: Page\n}\n\nexport interface ListPrimarySaleItemsReturn {\n primarySaleItems: Array<CollectiblePrimarySaleItem>\n page?: Page \n}\nexport interface GetCountOfPrimarySaleItemsArgs {\n chainId: string\n primarySaleContractAddress: string\n filter?: PrimarySaleItemsFilter\n}\n\nexport interface GetCountOfPrimarySaleItemsReturn {\n count: number \n}\n\n\n \n//\n// Client\n//\nexport class Admin implements Admin {\n protected hostname: string\n protected fetch: Fetch\n protected path = '/rpc/Admin/'\n\n constructor(hostname: string, fetch: Fetch) {\n this.hostname = hostname.replace(/\\/*$/, '')\n this.fetch = (input: RequestInfo, init?: RequestInit) => fetch(input, init)\n }\n\n private url(name: string): string {\n return this.hostname + this.path + name\n }\n \n createCollection = (args: CreateCollectionArgs, headers?: object, signal?: AbortSignal): Promise<CreateCollectionReturn> => {\n return this.fetch(\n this.url('CreateCollection'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n collection: <Collection>(_data.collection),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getCollection = (args: GetCollectionArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectionReturn> => {\n return this.fetch(\n this.url('GetCollection'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n collection: <Collection>(_data.collection),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n updateCollection = (args: UpdateCollectionArgs, headers?: object, signal?: AbortSignal): Promise<UpdateCollectionReturn> => {\n return this.fetch(\n this.url('UpdateCollection'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n collection: <Collection>(_data.collection),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n listCollections = (args: ListCollectionsArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectionsReturn> => {\n return this.fetch(\n this.url('ListCollections'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n collections: <Array<Collection>>(_data.collections),\n page: <Page>(_data.page),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n deleteCollection = (args: DeleteCollectionArgs, headers?: object, signal?: AbortSignal): Promise<DeleteCollectionReturn> => {\n return this.fetch(\n this.url('DeleteCollection'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n collection: <Collection>(_data.collection),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n syncCollection = (args: SyncCollectionArgs, headers?: object, signal?: AbortSignal): Promise<SyncCollectionReturn> => {\n return this.fetch(\n this.url('SyncCollection'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {}\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n createPrimarySaleContract = (args: CreatePrimarySaleContractArgs, headers?: object, signal?: AbortSignal): Promise<CreatePrimarySaleContractReturn> => {\n return this.fetch(\n this.url('CreatePrimarySaleContract'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n primarySaleContract: <PrimarySaleContract>(_data.primarySaleContract),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n deletePrimarySaleContract = (args: DeletePrimarySaleContractArgs, headers?: object, signal?: AbortSignal): Promise<DeletePrimarySaleContractReturn> => {\n return this.fetch(\n this.url('DeletePrimarySaleContract'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {}\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n createCurrency = (args: CreateCurrencyArgs, headers?: object, signal?: AbortSignal): Promise<CreateCurrencyReturn> => {\n return this.fetch(\n this.url('CreateCurrency'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n currency: <Currency>(_data.currency),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n createCurrencies = (args: CreateCurrenciesArgs, headers?: object, signal?: AbortSignal): Promise<CreateCurrenciesReturn> => {\n return this.fetch(\n this.url('CreateCurrencies'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n currency: <{[key: string]: Currency}>(_data.currency),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n updateCurrency = (args: UpdateCurrencyArgs, headers?: object, signal?: AbortSignal): Promise<UpdateCurrencyReturn> => {\n return this.fetch(\n this.url('UpdateCurrency'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n currency: <Currency>(_data.currency),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n listCurrencies = (args: ListCurrenciesArgs, headers?: object, signal?: AbortSignal): Promise<ListCurrenciesReturn> => {\n return this.fetch(\n this.url('ListCurrencies'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n currencies: <Array<Currency>>(_data.currencies),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n deleteCurrency = (args: DeleteCurrencyArgs, headers?: object, signal?: AbortSignal): Promise<DeleteCurrencyReturn> => {\n return this.fetch(\n this.url('DeleteCurrency'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n currency: <Currency>(_data.currency),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n addCollectibles = (args: AddCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<AddCollectiblesReturn> => {\n return this.fetch(\n this.url('AddCollectibles'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {}\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n}\nexport class Marketplace implements Marketplace {\n protected hostname: string\n protected fetch: Fetch\n protected path = '/rpc/Marketplace/'\n\n constructor(hostname: string, fetch: Fetch) {\n this.hostname = hostname.replace(/\\/*$/, '')\n this.fetch = (input: RequestInfo, init?: RequestInit) => fetch(input, init)\n }\n\n private url(name: string): string {\n return this.hostname + this.path + name\n }\n \n listCurrencies = (args: ListCurrenciesArgs, headers?: object, signal?: AbortSignal): Promise<ListCurrenciesReturn> => {\n return this.fetch(\n this.url('ListCurrencies'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n currencies: <Array<Currency>>(_data.currencies),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getCollectionDetail = (args: GetCollectionDetailArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectionDetailReturn> => {\n return this.fetch(\n this.url('GetCollectionDetail'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n collection: <Collection>(_data.collection),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getCollectionActiveListingsCurrencies = (args: GetCollectionActiveListingsCurrenciesArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectionActiveListingsCurrenciesReturn> => {\n return this.fetch(\n this.url('GetCollectionActiveListingsCurrencies'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n currencies: <Array<Currency>>(_data.currencies),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getCollectionActiveOffersCurrencies = (args: GetCollectionActiveOffersCurrenciesArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectionActiveOffersCurrenciesReturn> => {\n return this.fetch(\n this.url('GetCollectionActiveOffersCurrencies'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n currencies: <Array<Currency>>(_data.currencies),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getCollectible = (args: GetCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectibleReturn> => {\n return this.fetch(\n this.url('GetCollectible'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n metadata: <TokenMetadata>(_data.metadata),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getLowestPriceOfferForCollectible = (args: GetLowestPriceOfferForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<GetLowestPriceOfferForCollectibleReturn> => {\n return this.fetch(\n this.url('GetLowestPriceOfferForCollectible'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n order: <Order>(_data.order),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getHighestPriceOfferForCollectible = (args: GetHighestPriceOfferForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<GetHighestPriceOfferForCollectibleReturn> => {\n return this.fetch(\n this.url('GetHighestPriceOfferForCollectible'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n order: <Order>(_data.order),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getLowestPriceListingForCollectible = (args: GetLowestPriceListingForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<GetLowestPriceListingForCollectibleReturn> => {\n return this.fetch(\n this.url('GetLowestPriceListingForCollectible'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n order: <Order>(_data.order),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getHighestPriceListingForCollectible = (args: GetHighestPriceListingForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<GetHighestPriceListingForCollectibleReturn> => {\n return this.fetch(\n this.url('GetHighestPriceListingForCollectible'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n order: <Order>(_data.order),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n listListingsForCollectible = (args: ListListingsForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<ListListingsForCollectibleReturn> => {\n return this.fetch(\n this.url('ListListingsForCollectible'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n listings: <Array<Order>>(_data.listings),\n page: <Page>(_data.page),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n listOffersForCollectible = (args: ListOffersForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<ListOffersForCollectibleReturn> => {\n return this.fetch(\n this.url('ListOffersForCollectible'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n offers: <Array<Order>>(_data.offers),\n page: <Page>(_data.page),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n listOrdersWithCollectibles = (args: ListOrdersWithCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<ListOrdersWithCollectiblesReturn> => {\n return this.fetch(\n this.url('ListOrdersWithCollectibles'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n collectibles: <Array<CollectibleOrder>>(_data.collectibles),\n page: <Page>(_data.page),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getCountOfAllOrders = (args: GetCountOfAllOrdersArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfAllOrdersReturn> => {\n return this.fetch(\n this.url('GetCountOfAllOrders'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n count: <number>(_data.count),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getCountOfFilteredOrders = (args: GetCountOfFilteredOrdersArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfFilteredOrdersReturn> => {\n return this.fetch(\n this.url('GetCountOfFilteredOrders'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n count: <number>(_data.count),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n listListings = (args: ListListingsArgs, headers?: object, signal?: AbortSignal): Promise<ListListingsReturn> => {\n return this.fetch(\n this.url('ListListings'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n listings: <Array<Order>>(_data.listings),\n page: <Page>(_data.page),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n listOffers = (args: ListOffersArgs, headers?: object, signal?: AbortSignal): Promise<ListOffersReturn> => {\n return this.fetch(\n this.url('ListOffers'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n offers: <Array<Order>>(_data.offers),\n page: <Page>(_data.page),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getCountOfListingsForCollectible = (args: GetCountOfListingsForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfListingsForCollectibleReturn> => {\n return this.fetch(\n this.url('GetCountOfListingsForCollectible'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n count: <number>(_data.count),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getCountOfOffersForCollectible = (args: GetCountOfOffersForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfOffersForCollectibleReturn> => {\n return this.fetch(\n this.url('GetCountOfOffersForCollectible'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n count: <number>(_data.count),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getCollectibleLowestOffer = (args: GetCollectibleLowestOfferArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectibleLowestOfferReturn> => {\n return this.fetch(\n this.url('GetCollectibleLowestOffer'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n order: <Order>(_data.order),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getCollectibleHighestOffer = (args: GetCollectibleHighestOfferArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectibleHighestOfferReturn> => {\n return this.fetch(\n this.url('GetCollectibleHighestOffer'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n order: <Order>(_data.order),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getCollectibleLowestListing = (args: GetCollectibleLowestListingArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectibleLowestListingReturn> => {\n return this.fetch(\n this.url('GetCollectibleLowestListing'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n order: <Order>(_data.order),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getCollectibleHighestListing = (args: GetCollectibleHighestListingArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectibleHighestListingReturn> => {\n return this.fetch(\n this.url('GetCollectibleHighestListing'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n order: <Order>(_data.order),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n listCollectibleListings = (args: ListCollectibleListingsArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectibleListingsReturn> => {\n return this.fetch(\n this.url('ListCollectibleListings'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n listings: <Array<Order>>(_data.listings),\n page: <Page>(_data.page),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n listCollectibleOffers = (args: ListCollectibleOffersArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectibleOffersReturn> => {\n return this.fetch(\n this.url('ListCollectibleOffers'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n offers: <Array<Order>>(_data.offers),\n page: <Page>(_data.page),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n generateBuyTransaction = (args: GenerateBuyTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateBuyTransactionReturn> => {\n return this.fetch(\n this.url('GenerateBuyTransaction'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n steps: <Array<Step>>(_data.steps),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n generateSellTransaction = (args: GenerateSellTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateSellTransactionReturn> => {\n return this.fetch(\n this.url('GenerateSellTransaction'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n steps: <Array<Step>>(_data.steps),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n generateListingTransaction = (args: GenerateListingTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateListingTransactionReturn> => {\n return this.fetch(\n this.url('GenerateListingTransaction'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n steps: <Array<Step>>(_data.steps),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n generateOfferTransaction = (args: GenerateOfferTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateOfferTransactionReturn> => {\n return this.fetch(\n this.url('GenerateOfferTransaction'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n steps: <Array<Step>>(_data.steps),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n generateCancelTransaction = (args: GenerateCancelTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateCancelTransactionReturn> => {\n return this.fetch(\n this.url('GenerateCancelTransaction'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n steps: <Array<Step>>(_data.steps),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n execute = (args: ExecuteArgs, headers?: object, signal?: AbortSignal): Promise<ExecuteReturn> => {\n return this.fetch(\n this.url('Execute'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n orderId: <string>(_data.orderId),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n listCollectibles = (args: ListCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectiblesReturn> => {\n return this.fetch(\n this.url('ListCollectibles'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n collectibles: <Array<CollectibleOrder>>(_data.collectibles),\n page: <Page>(_data.page),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getCountOfAllCollectibles = (args: GetCountOfAllCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfAllCollectiblesReturn> => {\n return this.fetch(\n this.url('GetCountOfAllCollectibles'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n count: <number>(_data.count),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getCountOfFilteredCollectibles = (args: GetCountOfFilteredCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfFilteredCollectiblesReturn> => {\n return this.fetch(\n this.url('GetCountOfFilteredCollectibles'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n count: <number>(_data.count),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getFloorOrder = (args: GetFloorOrderArgs, headers?: object, signal?: AbortSignal): Promise<GetFloorOrderReturn> => {\n return this.fetch(\n this.url('GetFloorOrder'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n collectible: <CollectibleOrder>(_data.collectible),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n listCollectionActivities = (args: ListCollectionActivitiesArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectionActivitiesReturn> => {\n return this.fetch(\n this.url('ListCollectionActivities'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n activities: <Array<Activity>>(_data.activities),\n page: <Page>(_data.page),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n listCollectibleActivities = (args: ListCollectibleActivitiesArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectibleActivitiesReturn> => {\n return this.fetch(\n this.url('ListCollectibleActivities'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n activities: <Array<Activity>>(_data.activities),\n page: <Page>(_data.page),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n listCollectiblesWithLowestListing = (args: ListCollectiblesWithLowestListingArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectiblesWithLowestListingReturn> => {\n return this.fetch(\n this.url('ListCollectiblesWithLowestListing'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n collectibles: <Array<CollectibleOrder>>(_data.collectibles),\n page: <Page>(_data.page),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n listCollectiblesWithHighestOffer = (args: ListCollectiblesWithHighestOfferArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectiblesWithHighestOfferReturn> => {\n return this.fetch(\n this.url('ListCollectiblesWithHighestOffer'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n collectibles: <Array<CollectibleOrder>>(_data.collectibles),\n page: <Page>(_data.page),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n syncOrder = (args: SyncOrderArgs, headers?: object, signal?: AbortSignal): Promise<SyncOrderReturn> => {\n return this.fetch(\n this.url('SyncOrder'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {}\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n syncOrders = (args: SyncOrdersArgs, headers?: object, signal?: AbortSignal): Promise<SyncOrdersReturn> => {\n return this.fetch(\n this.url('SyncOrders'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {}\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getOrders = (args: GetOrdersArgs, headers?: object, signal?: AbortSignal): Promise<GetOrdersReturn> => {\n return this.fetch(\n this.url('GetOrders'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n orders: <Array<Order>>(_data.orders),\n page: <Page>(_data.page),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n checkoutOptionsMarketplace = (args: CheckoutOptionsMarketplaceArgs, headers?: object, signal?: AbortSignal): Promise<CheckoutOptionsMarketplaceReturn> => {\n return this.fetch(\n this.url('CheckoutOptionsMarketplace'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n options: <CheckoutOptions>(_data.options),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n checkoutOptionsSalesContract = (args: CheckoutOptionsSalesContractArgs, headers?: object, signal?: AbortSignal): Promise<CheckoutOptionsSalesContractReturn> => {\n return this.fetch(\n this.url('CheckoutOptionsSalesContract'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n options: <CheckoutOptions>(_data.options),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n supportedMarketplaces = (args: SupportedMarketplacesArgs, headers?: object, signal?: AbortSignal): Promise<SupportedMarketplacesReturn> => {\n return this.fetch(\n this.url('SupportedMarketplaces'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n marketplaces: <Array<MarketplaceKind>>(_data.marketplaces),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getPrimarySaleItem = (args: GetPrimarySaleItemArgs, headers?: object, signal?: AbortSignal): Promise<GetPrimarySaleItemReturn> => {\n return this.fetch(\n this.url('GetPrimarySaleItem'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n item: <CollectiblePrimarySaleItem>(_data.item),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n listPrimarySaleItems = (args: ListPrimarySaleItemsArgs, headers?: object, signal?: AbortSignal): Promise<ListPrimarySaleItemsReturn> => {\n return this.fetch(\n this.url('ListPrimarySaleItems'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n primarySaleItems: <Array<CollectiblePrimarySaleItem>>(_data.primarySaleItems),\n page: <Page>(_data.page),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n getCountOfPrimarySaleItems = (args: GetCountOfPrimarySaleItemsArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfPrimarySaleItemsReturn> => {\n return this.fetch(\n this.url('GetCountOfPrimarySaleItems'),\n createHTTPRequest(args, headers, signal)).then((res) => {\n return buildResponse(res).then(_data => {\n return {\n count: <number>(_data.count),\n }\n })\n }, (error) => {\n throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ''}` })\n })\n }\n \n}\n\n const createHTTPRequest = (body: object = {}, headers: object = {}, signal: AbortSignal | null = null): object => {\n const reqHeaders: {[key: string]: string} = { ...headers, 'Content-Type': 'application/json' }\n reqHeaders[WebrpcHeader] = WebrpcHeaderValue\n\n return {\n method: 'POST',\n headers: reqHeaders,\n body: JSON.stringify(body || {}),\n signal\n }\n}\n\nconst buildResponse = (res: Response): Promise<any> => {\n return res.text().then(text => {\n let data\n try {\n data = JSON.parse(text)\n } catch(error) {\n let message = ''\n if (error instanceof Error) {\n message = error.message\n }\n throw WebrpcBadResponseError.new({\n status: res.status,\n cause: `JSON.parse(): ${message}: response text: ${text}`},\n )\n }\n if (!res.ok) {\n const code: number = (typeof data.code === 'number') ? data.code : 0\n throw (webrpcErrorByCode[code] || WebrpcError).new(data)\n }\n return data\n })\n}\n\n//\n// Errors\n//\n\nexport class WebrpcError extends Error {\n name: string\n code: number\n message: string\n status: number\n cause?: string\n\n /** @deprecated Use message instead of msg. Deprecated in webrpc v0.11.0. */\n msg: string\n\n constructor(name: string, code: number, message: string, status: number, cause?: string) {\n super(message)\n this.name = name || 'WebrpcError'\n this.code = typeof code === 'number' ? code : 0\n this.message = message || `endpoint error ${this.code}`\n this.msg = this.message\n this.status = typeof status === 'number' ? status : 0\n this.cause = cause\n Object.setPrototypeOf(this, WebrpcError.prototype)\n }\n\n static new(payload: any): WebrpcError {\n return new this(payload.error, payload.code, payload.message || payload.msg, payload.status, payload.cause)\n }\n}\n\n// Webrpc errors\n\nexport class WebrpcEndpointError extends WebrpcError {\n constructor(\n name: string = 'WebrpcEndpoint',\n code: number = 0,\n message: string = `endpoint error`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, WebrpcEndpointError.prototype)\n }\n}\n\nexport class WebrpcRequestFailedError extends WebrpcError {\n constructor(\n name: string = 'WebrpcRequestFailed',\n code: number = -1,\n message: string = `request failed`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, WebrpcRequestFailedError.prototype)\n }\n}\n\nexport class WebrpcBadRouteError extends WebrpcError {\n constructor(\n name: string = 'WebrpcBadRoute',\n code: number = -2,\n message: string = `bad route`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, WebrpcBadRouteError.prototype)\n }\n}\n\nexport class WebrpcBadMethodError extends WebrpcError {\n constructor(\n name: string = 'WebrpcBadMethod',\n code: number = -3,\n message: string = `bad method`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, WebrpcBadMethodError.prototype)\n }\n}\n\nexport class WebrpcBadRequestError extends WebrpcError {\n constructor(\n name: string = 'WebrpcBadRequest',\n code: number = -4,\n message: string = `bad request`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, WebrpcBadRequestError.prototype)\n }\n}\n\nexport class WebrpcBadResponseError extends WebrpcError {\n constructor(\n name: string = 'WebrpcBadResponse',\n code: number = -5,\n message: string = `bad response`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, WebrpcBadResponseError.prototype)\n }\n}\n\nexport class WebrpcServerPanicError extends WebrpcError {\n constructor(\n name: string = 'WebrpcServerPanic',\n code: number = -6,\n message: string = `server panic`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, WebrpcServerPanicError.prototype)\n }\n}\n\nexport class WebrpcInternalErrorError extends WebrpcError {\n constructor(\n name: string = 'WebrpcInternalError',\n code: number = -7,\n message: string = `internal error`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, WebrpcInternalErrorError.prototype)\n }\n}\n\nexport class WebrpcClientDisconnectedError extends WebrpcError {\n constructor(\n name: string = 'WebrpcClientDisconnected',\n code: number = -8,\n message: string = `client disconnected`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, WebrpcClientDisconnectedError.prototype)\n }\n}\n\nexport class WebrpcStreamLostError extends WebrpcError {\n constructor(\n name: string = 'WebrpcStreamLost',\n code: number = -9,\n message: string = `stream lost`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, WebrpcStreamLostError.prototype)\n }\n}\n\nexport class WebrpcStreamFinishedError extends WebrpcError {\n constructor(\n name: string = 'WebrpcStreamFinished',\n code: number = -10,\n message: string = `stream finished`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, WebrpcStreamFinishedError.prototype)\n }\n}\n\n\n// Schema errors\n\nexport class UnauthorizedError extends WebrpcError {\n constructor(\n name: string = 'Unauthorized',\n code: number = 1000,\n message: string = `Unauthorized access`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, UnauthorizedError.prototype)\n }\n}\n\nexport class PermissionDeniedError extends WebrpcError {\n constructor(\n name: string = 'PermissionDenied',\n code: number = 1001,\n message: string = `Permission denied`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, PermissionDeniedError.prototype)\n }\n}\n\nexport class SessionExpiredError extends WebrpcError {\n constructor(\n name: string = 'SessionExpired',\n code: number = 1002,\n message: string = `Session expired`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, SessionExpiredError.prototype)\n }\n}\n\nexport class MethodNotFoundError extends WebrpcError {\n constructor(\n name: string = 'MethodNotFound',\n code: number = 1003,\n message: string = `Method not found`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, MethodNotFoundError.prototype)\n }\n}\n\nexport class TimeoutError extends WebrpcError {\n constructor(\n name: string = 'Timeout',\n code: number = 2000,\n message: string = `Request timed out`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, TimeoutError.prototype)\n }\n}\n\nexport class InvalidArgumentError extends WebrpcError {\n constructor(\n name: string = 'InvalidArgument',\n code: number = 2001,\n message: string = `Invalid argument`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, InvalidArgumentError.prototype)\n }\n}\n\nexport class NotFoundError extends WebrpcError {\n constructor(\n name: string = 'NotFound',\n code: number = 3000,\n message: string = `Resource not found`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, NotFoundError.prototype)\n }\n}\n\nexport class UserNotFoundError extends WebrpcError {\n constructor(\n name: string = 'UserNotFound',\n code: number = 3001,\n message: string = `User not found`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, UserNotFoundError.prototype)\n }\n}\n\nexport class ProjectNotFoundError extends WebrpcError {\n constructor(\n name: string = 'ProjectNotFound',\n code: number = 3002,\n message: string = `Project not found`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, ProjectNotFoundError.prototype)\n }\n}\n\nexport class InvalidTierError extends WebrpcError {\n constructor(\n name: string = 'InvalidTier',\n code: number = 3003,\n message: string = `Invalid subscription tier`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, InvalidTierError.prototype)\n }\n}\n\nexport class ProjectLimitReachedError extends WebrpcError {\n constructor(\n name: string = 'ProjectLimitReached',\n code: number = 3005,\n message: string = `Project limit reached`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, ProjectLimitReachedError.prototype)\n }\n}\n\nexport class NotImplementedError extends WebrpcError {\n constructor(\n name: string = 'NotImplemented',\n code: number = 9999,\n message: string = `Not Implemented`,\n status: number = 0,\n cause?: string\n ) {\n super(name, code, message, status, cause)\n Object.setPrototypeOf(this, NotImplementedError.prototype)\n }\n}\n\n\nexport enum errors {\n WebrpcEndpoint = 'WebrpcEndpoint',\n WebrpcRequestFailed = 'WebrpcRequestFailed',\n WebrpcBadRoute = 'WebrpcBadRoute',\n WebrpcBadMethod = 'WebrpcBadMethod',\n WebrpcBadRequest = 'WebrpcBadRequest',\n WebrpcBadResponse = 'WebrpcBadResponse',\n WebrpcServerPanic = 'WebrpcServerPanic',\n WebrpcInternalError = 'WebrpcInternalError',\n WebrpcClientDisconnected = 'WebrpcClientDisconnected',\n WebrpcStreamLost = 'WebrpcStreamLost',\n WebrpcStreamFinished = 'WebrpcStreamFinished',\n Unauthorized = 'Unauthorized',\n PermissionDenied = 'PermissionDenied',\n SessionExpired = 'SessionExpired',\n MethodNotFound = 'MethodNotFound',\n Timeout = 'Timeout',\n InvalidArgument = 'InvalidArgument',\n NotFound = 'NotFound',\n UserNotFound = 'UserNotFound',\n ProjectNotFound = 'ProjectNotFound',\n InvalidTier = 'InvalidTier',\n ProjectLimitReached = 'ProjectLimitReached',\n NotImplemented = 'NotImplemented',\n}\n\nexport enum WebrpcErrorCodes {\n WebrpcEndpoint = 0,\n WebrpcRequestFailed = -1,\n WebrpcBadRoute = -2,\n WebrpcBadMethod = -3,\n WebrpcBadRequest = -4,\n WebrpcBadResponse = -5,\n WebrpcServerPanic = -6,\n WebrpcInternalError = -7,\n WebrpcClientDisconnected = -8,\n WebrpcStreamLost = -9,\n WebrpcStreamFinished = -10,\n Unauthorized = 1000,\n PermissionDenied = 1001,\n SessionExpired = 1002,\n MethodNotFound = 1003,\n Timeout = 2000,\n InvalidArgument = 2001,\n NotFound = 3000,\n UserNotFound = 3001,\n ProjectNotFound = 3002,\n InvalidTier = 3003,\n ProjectLimitReached = 3005,\n NotImplemented = 9999,\n}\n\nexport const webrpcErrorByCode: { [code: number]: any } = {\n [0]: WebrpcEndpointError,\n [-1]: WebrpcRequestFailedError,\n [-2]: WebrpcBadRouteError,\n [-3]: WebrpcBadMethodError,\n [-4]: WebrpcBadRequestError,\n [-5]: WebrpcBadResponseError,\n [-6]: WebrpcServerPanicError,\n [-7]: WebrpcInternalErrorError,\n [-8]: WebrpcClientDisconnectedError,\n [-9]: WebrpcStreamLostError,\n [-10]: WebrpcStreamFinishedError,\n [1000]: UnauthorizedError,\n [1001]: PermissionDeniedError,\n [1002]: SessionExpiredError,\n [1003]: MethodNotFoundError,\n [2000]: TimeoutError,\n [2001]: InvalidArgumentError,\n [3000]: NotFoundError,\n [3001]: UserNotFoundError,\n [3002]: ProjectNotFoundError,\n [3003]: InvalidTierError,\n [3005]: ProjectLimitReachedError,\n [9999]: NotImplementedError,\n}\n\nexport type Fetch = (input: RequestInfo, init?: RequestInit) => Promise<Response>\n"],"mappings":";AAOA,MAAa,eAAe;AAE5B,MAAa,oBAAoB;AAGjC,MAAa,gBAAgB;AAG7B,MAAa,sBAAsB;AAGnC,MAAa,mBAAmB;AAUhC,SAAgB,kBAAkB,SAAqC;CACrE,MAAM,cAAc,QAAQ,IAAI,aAAa;AAC7C,KAAI,CAAC,YACH,QAAO;EACL,kBAAkB;EAClB,aAAa;EACb,gBAAgB;EAChB,YAAY;EACZ,eAAe;EAChB;AAGH,QAAO,uBAAuB,YAAY;;AAG5C,SAAS,uBAAuB,QAAmC;CACjE,MAAM,WAAW,OAAO,MAAM,IAAI;AAClC,KAAI,SAAS,SAAS,EACpB,QAAO;EACL,kBAAkB;EAClB,aAAa;EACb,gBAAgB;EAChB,YAAY;EACZ,eAAe;EAChB;CAGH,MAAM,CAAC,GAAG,oBAAoB,SAAS,GAAI,MAAM,IAAI;CACrD,MAAM,CAAC,aAAa,kBAAkB,SAAS,GAAI,MAAM,IAAI;CAC7D,MAAM,CAAC,YAAY,iBAAiB,SAAS,GAAI,MAAM,IAAI;AAE3D,QAAO;EACL,kBAAkB,oBAAoB;EACtC,aAAa,eAAe;EAC5B,gBAAgB,kBAAkB;EAClC,YAAY,cAAc;EAC1B,eAAe,iBAAiB;EACjC;;AAQH,IAAY,4DAAL;AACL;AACA;AACA;;;AAoCF,IAAY,kDAAL;AACL;AACA;;;AAGF,IAAY,wDAAL;AACL;AACA;AACA;AACA;;;AAGF,IAAY,8DAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGF,IAAY,0DAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGF,IAAY,oDAAL;AACL;AACA;AACA;AACA;AACA;AACA;;;AAGF,IAAY,kDAAL;AACL;AACA;AACA;;;AAGF,IAAY,kDAAL;AACL;AACA;AACA;;;AAGF,IAAY,sDAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGF,IAAY,wDAAL;AACL;AACA;AACA;AACA;;;AAGF,IAAY,oEAAL;AACL;AACA;AACA;AACA;;;AAGF,IAAY,gEAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGF,IAAY,0DAAL;AACL;AACA;AACA;;;AAGF,IAAY,sEAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGF,IAAY,kEAAL;AACL;AACA;AACA;;;AAGF,IAAY,kEAAL;AACL;AACA;AACA;;;AAGF,IAAY,4DAAL;AACL;AACA;AACA;AACA;AACA;;;AAGF,IAAY,oDAAL;AACL;AACA;;;AAGF,IAAY,gDAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGF,IAAY,kEAAL;AACL;AACA;AACA;;;AAGF,IAAY,4FAAL;AACL;AACA;AACA;;;AAGF,IAAY,kFAAL;AACL;AACA;AACA;;;AAGF,IAAY,8EAAL;AACL;AACA;;;AAGF,IAAY,sDAAL;AACL;AACA;AACA;AACA;AACA;;;AAGF,IAAY,4DAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGF,IAAY,kFAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGF,IAAY,oEAAL;AACL;AACA;;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M,MAAM,MAAM,SAAS,QAAQ,MAAM;AACzC,SAAO,eAAe,MAAM,iBAAiB,UAAU;;;AAI3D,IAAa,2BAAb,MAAa,iCAAiC,YAAY;CACxD,YACE,OAAe,uBACf,OAAe,MACf,UAAkB,yBAClB,SAAiB,GACjB,OACA;AACA,QAAM,MAAM,MAAM,SAAS,QAAQ,MAAM;AACzC,SAAO,eAAe,MAAM,yBAAyB,UAAU;;;AAInE,IAAa,sBAAb,MAAa,4BAA4B,YAAY;CACnD,YACE,OAAe,kBACf,OAAe,MACf,UAAkB,mBAClB,SAAiB,GACjB,OACA;AACA,QAAM,MAAM,MAAM,SAAS,QAAQ,MAAM;AACzC,SAAO,eAAe,MAAM,oBAAoB,UAAU;;;AAK9D,IAAY,4CAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGF,IAAY,gEAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGF,MAAaC,oBAA6C;EACvD,IAAI;EACJ,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,MAAM;EACN,MAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,MAAO;EACP,OAAO;EACP,MAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;CACT"}
|
|
@@ -1909,5 +1909,5 @@ const SequenceMarketplaceV2_ABI = [
|
|
|
1909
1909
|
];
|
|
1910
1910
|
|
|
1911
1911
|
//#endregion
|
|
1912
|
-
export {
|
|
1913
|
-
//# sourceMappingURL=marketplace
|
|
1912
|
+
export { SequenceMarketplaceV1_ABI as n, EIP2981_ABI as r, SequenceMarketplaceV2_ABI as t };
|
|
1913
|
+
//# sourceMappingURL=marketplace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marketplace.js","names":[],"sources":["../src/utils/abi/marketplace/EIP2981.ts","../src/utils/abi/marketplace/sequence-marketplace-v1.ts","../src/utils/abi/marketplace/sequence-marketplace-v2.ts"],"sourcesContent":["export const EIP2981_ABI = [\n\t{\n\t\tinputs: [\n\t\t\t{ internalType: 'uint256', name: '', type: 'uint256' },\n\t\t\t{ internalType: 'uint256', name: '_saleCost', type: 'uint256' },\n\t\t],\n\t\tname: 'royaltyInfo',\n\t\toutputs: [\n\t\t\t{ internalType: 'address', name: 'receiver', type: 'address' },\n\t\t\t{ internalType: 'uint256', name: 'royaltyAmount', type: 'uint256' },\n\t\t],\n\t\tstateMutability: 'view',\n\t\ttype: 'function',\n\t},\n] as const;\n","export const SequenceMarketplaceV1_ABI = [\n\t{\n\t\tinputs: [{ internalType: 'address', name: '_owner', type: 'address' }],\n\t\tstateMutability: 'nonpayable',\n\t\ttype: 'constructor',\n\t},\n\t{ inputs: [], name: 'InvalidAdditionalFees', type: 'error' },\n\t{ inputs: [], name: 'InvalidBatchRequest', type: 'error' },\n\t{ inputs: [], name: 'InvalidCurrency', type: 'error' },\n\t{\n\t\tinputs: [\n\t\t\t{ internalType: 'address', name: 'currency', type: 'address' },\n\t\t\t{ internalType: 'uint256', name: 'quantity', type: 'uint256' },\n\t\t\t{ internalType: 'address', name: 'owner', type: 'address' },\n\t\t],\n\t\tname: 'InvalidCurrencyApproval',\n\t\ttype: 'error',\n\t},\n\t{ inputs: [], name: 'InvalidExpiry', type: 'error' },\n\t{ inputs: [], name: 'InvalidPrice', type: 'error' },\n\t{ inputs: [], name: 'InvalidQuantity', type: 'error' },\n\t{\n\t\tinputs: [{ internalType: 'uint256', name: 'requestId', type: 'uint256' }],\n\t\tname: 'InvalidRequestId',\n\t\ttype: 'error',\n\t},\n\t{ inputs: [], name: 'InvalidRoyalty', type: 'error' },\n\t{\n\t\tinputs: [\n\t\t\t{ internalType: 'address', name: 'tokenContract', type: 'address' },\n\t\t\t{ internalType: 'uint256', name: 'tokenId', type: 'uint256' },\n\t\t\t{ internalType: 'uint256', name: 'quantity', type: 'uint256' },\n\t\t\t{ internalType: 'address', name: 'owner', type: 'address' },\n\t\t],\n\t\tname: 'InvalidTokenApproval',\n\t\ttype: 'error',\n\t},\n\t{\n\t\tinputs: [\n\t\t\t{ internalType: 'address', name: 'contractAddress', type: 'address' },\n\t\t\t{ internalType: 'bytes4', name: 'interfaceId', type: 'bytes4' },\n\t\t],\n\t\tname: 'UnsupportedContractInterface',\n\t\ttype: 'error',\n\t},\n\t{\n\t\tanonymous: false,\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t\tname: 'tokenContract',\n\t\t\t\ttype: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'address',\n\t\t\t\tname: 'recipient',\n\t\t\t\ttype: 'address',\n\t\t\t},\n\t\t\t{ indexed: false, internalType: 'uint96', name: 'fee', type: 'uint96' },\n\t\t],\n\t\tname: 'CustomRoyaltyChanged',\n\t\ttype: 'event',\n\t},\n\t{\n\t\tanonymous: false,\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t\tname: 'previousOwner',\n\t\t\t\ttype: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t\tname: 'newOwner',\n\t\t\t\ttype: 'address',\n\t\t\t},\n\t\t],\n\t\tname: 'OwnershipTransferred',\n\t\ttype: 'event',\n\t},\n\t{\n\t\tanonymous: false,\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t\tname: 'requestId',\n\t\t\t\ttype: 'uint256',\n\t\t\t},\n\t\t\t{\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t\tname: 'buyer',\n\t\t\t\ttype: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t\tname: 'tokenContract',\n\t\t\t\ttype: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'address',\n\t\t\t\tname: 'receiver',\n\t\t\t\ttype: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t\tname: 'quantity',\n\t\t\t\ttype: 'uint256',\n\t\t\t},\n\t\t\t{\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t\tname: 'quantityRemaining',\n\t\t\t\ttype: 'uint256',\n\t\t\t},\n\t\t],\n\t\tname: 'RequestAccepted',\n\t\ttype: 'event',\n\t},\n\t{\n\t\tanonymous: false,\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t\tname: 'requestId',\n\t\t\t\ttype: 'uint256',\n\t\t\t},\n\t\t\t{\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t\tname: 'tokenContract',\n\t\t\t\ttype: 'address',\n\t\t\t},\n\t\t],\n\t\tname: 'RequestCancelled',\n\t\ttype: 'event',\n\t},\n\t{\n\t\tanonymous: false,\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t\tname: 'requestId',\n\t\t\t\ttype: 'uint256',\n\t\t\t},\n\t\t\t{\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t\tname: 'creator',\n\t\t\t\ttype: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t\tname: 'tokenContract',\n\t\t\t\ttype: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t\tname: 'tokenId',\n\t\t\t\ttype: 'uint256',\n\t\t\t},\n\t\t\t{ indexed: false, internalType: 'bool', name: 'isListing', type: 'bool' },\n\t\t\t{\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t\tname: 'quantity',\n\t\t\t\ttype: 'uint256',\n\t\t\t},\n\t\t\t{\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'address',\n\t\t\t\tname: 'currency',\n\t\t\t\ttype: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t\tname: 'pricePerToken',\n\t\t\t\ttype: 'uint256',\n\t\t\t},\n\t\t\t{\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t\tname: 'expiry',\n\t\t\t\ttype: 'uint256',\n\t\t\t},\n\t\t],\n\t\tname: 'RequestCreated',\n\t\ttype: 'event',\n\t},\n\t{\n\t\tinputs: [\n\t\t\t{ internalType: 'uint256', name: 'requestId', type: 'uint256' },\n\t\t\t{ internalType: 'uint256', name: 'quantity', type: 'uint256' },\n\t\t\t{ internalType: 'address', name: 'receiver', type: 'address' },\n\t\t\t{ internalType: 'uint256[]', name: 'additionalFees', type: 'uint256[]' },\n\t\t\t{\n\t\t\t\tinternalType: 'address[]',\n\t\t\t\tname: 'additionalFeeReceivers',\n\t\t\t\ttype: 'address[]',\n\t\t\t},\n\t\t],\n\t\tname: 'acceptRequest',\n\t\toutputs: [],\n\t\tstateMutability: 'nonpayable',\n\t\ttype: 'function',\n\t},\n\t{\n\t\tinputs: [\n\t\t\t{ internalType: 'uint256[]', name: 'requestIds', type: 'uint256[]' },\n\t\t\t{ internalType: 'uint256[]', name: 'quantities', type: 'uint256[]' },\n\t\t\t{ internalType: 'address[]', name: 'receivers', type: 'address[]' },\n\t\t\t{ internalType: 'uint256[]', name: 'additionalFees', type: 'uint256[]' },\n\t\t\t{\n\t\t\t\tinternalType: 'address[]',\n\t\t\t\tname: 'additionalFeeReceivers',\n\t\t\t\ttype: 'address[]',\n\t\t\t},\n\t\t],\n\t\tname: 'acceptRequestBatch',\n\t\toutputs: [],\n\t\tstateMutability: 'nonpayable',\n\t\ttype: 'function',\n\t},\n\t{\n\t\tinputs: [{ internalType: 'uint256', name: 'requestId', type: 'uint256' }],\n\t\tname: 'cancelRequest',\n\t\toutputs: [],\n\t\tstateMutability: 'nonpayable',\n\t\ttype: 'function',\n\t},\n\t{\n\t\tinputs: [\n\t\t\t{ internalType: 'uint256[]', name: 'requestIds', type: 'uint256[]' },\n\t\t],\n\t\tname: 'cancelRequestBatch',\n\t\toutputs: [],\n\t\tstateMutability: 'nonpayable',\n\t\ttype: 'function',\n\t},\n\t{\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tcomponents: [\n\t\t\t\t\t{ internalType: 'bool', name: 'isListing', type: 'bool' },\n\t\t\t\t\t{ internalType: 'bool', name: 'isERC1155', type: 'bool' },\n\t\t\t\t\t{ internalType: 'address', name: 'tokenContract', type: 'address' },\n\t\t\t\t\t{ internalType: 'uint256', name: 'tokenId', type: 'uint256' },\n\t\t\t\t\t{ internalType: 'uint256', name: 'quantity', type: 'uint256' },\n\t\t\t\t\t{ internalType: 'uint96', name: 'expiry', type: 'uint96' },\n\t\t\t\t\t{ internalType: 'address', name: 'currency', type: 'address' },\n\t\t\t\t\t{ internalType: 'uint256', name: 'pricePerToken', type: 'uint256' },\n\t\t\t\t],\n\t\t\t\tinternalType: 'struct ISequenceMarketStorage.RequestParams',\n\t\t\t\tname: 'request',\n\t\t\t\ttype: 'tuple',\n\t\t\t},\n\t\t],\n\t\tname: 'createRequest',\n\t\toutputs: [{ internalType: 'uint256', name: 'requestId', type: 'uint256' }],\n\t\tstateMutability: 'nonpayable',\n\t\ttype: 'function',\n\t},\n\t{\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tcomponents: [\n\t\t\t\t\t{ internalType: 'bool', name: 'isListing', type: 'bool' },\n\t\t\t\t\t{ internalType: 'bool', name: 'isERC1155', type: 'bool' },\n\t\t\t\t\t{ internalType: 'address', name: 'tokenContract', type: 'address' },\n\t\t\t\t\t{ internalType: 'uint256', name: 'tokenId', type: 'uint256' },\n\t\t\t\t\t{ internalType: 'uint256', name: 'quantity', type: 'uint256' },\n\t\t\t\t\t{ internalType: 'uint96', name: 'expiry', type: 'uint96' },\n\t\t\t\t\t{ internalType: 'address', name: 'currency', type: 'address' },\n\t\t\t\t\t{ internalType: 'uint256', name: 'pricePerToken', type: 'uint256' },\n\t\t\t\t],\n\t\t\t\tinternalType: 'struct ISequenceMarketStorage.RequestParams[]',\n\t\t\t\tname: 'requests',\n\t\t\t\ttype: 'tuple[]',\n\t\t\t},\n\t\t],\n\t\tname: 'createRequestBatch',\n\t\toutputs: [\n\t\t\t{ internalType: 'uint256[]', name: 'requestIds', type: 'uint256[]' },\n\t\t],\n\t\tstateMutability: 'nonpayable',\n\t\ttype: 'function',\n\t},\n\t{\n\t\tinputs: [{ internalType: 'address', name: '', type: 'address' }],\n\t\tname: 'customRoyalties',\n\t\toutputs: [\n\t\t\t{ internalType: 'address', name: 'recipient', type: 'address' },\n\t\t\t{ internalType: 'uint96', name: 'fee', type: 'uint96' },\n\t\t],\n\t\tstateMutability: 'view',\n\t\ttype: 'function',\n\t},\n\t{\n\t\tinputs: [{ internalType: 'uint256', name: 'requestId', type: 'uint256' }],\n\t\tname: 'getRequest',\n\t\toutputs: [\n\t\t\t{\n\t\t\t\tcomponents: [\n\t\t\t\t\t{ internalType: 'address', name: 'creator', type: 'address' },\n\t\t\t\t\t{ internalType: 'bool', name: 'isListing', type: 'bool' },\n\t\t\t\t\t{ internalType: 'bool', name: 'isERC1155', type: 'bool' },\n\t\t\t\t\t{ internalType: 'address', name: 'tokenContract', type: 'address' },\n\t\t\t\t\t{ internalType: 'uint256', name: 'tokenId', type: 'uint256' },\n\t\t\t\t\t{ internalType: 'uint256', name: 'quantity', type: 'uint256' },\n\t\t\t\t\t{ internalType: 'uint96', name: 'expiry', type: 'uint96' },\n\t\t\t\t\t{ internalType: 'address', name: 'currency', type: 'address' },\n\t\t\t\t\t{ internalType: 'uint256', name: 'pricePerToken', type: 'uint256' },\n\t\t\t\t],\n\t\t\t\tinternalType: 'struct ISequenceMarketStorage.Request',\n\t\t\t\tname: 'request',\n\t\t\t\ttype: 'tuple',\n\t\t\t},\n\t\t],\n\t\tstateMutability: 'view',\n\t\ttype: 'function',\n\t},\n\t{\n\t\tinputs: [\n\t\t\t{ internalType: 'uint256[]', name: 'requestIds', type: 'uint256[]' },\n\t\t],\n\t\tname: 'getRequestBatch',\n\t\toutputs: [\n\t\t\t{\n\t\t\t\tcomponents: [\n\t\t\t\t\t{ internalType: 'address', name: 'creator', type: 'address' },\n\t\t\t\t\t{ internalType: 'bool', name: 'isListing', type: 'bool' },\n\t\t\t\t\t{ internalType: 'bool', name: 'isERC1155', type: 'bool' },\n\t\t\t\t\t{ internalType: 'address', name: 'tokenContract', type: 'address' },\n\t\t\t\t\t{ internalType: 'uint256', name: 'tokenId', type: 'uint256' },\n\t\t\t\t\t{ internalType: 'uint256', name: 'quantity', type: 'uint256' },\n\t\t\t\t\t{ internalType: 'uint96', name: 'expiry', type: 'uint96' },\n\t\t\t\t\t{ internalType: 'address', name: 'currency', type: 'address' },\n\t\t\t\t\t{ internalType: 'uint256', name: 'pricePerToken', type: 'uint256' },\n\t\t\t\t],\n\t\t\t\tinternalType: 'struct ISequenceMarketStorage.Request[]',\n\t\t\t\tname: 'requests',\n\t\t\t\ttype: 'tuple[]',\n\t\t\t},\n\t\t],\n\t\tstateMutability: 'view',\n\t\ttype: 'function',\n\t},\n\t{\n\t\tinputs: [\n\t\t\t{ internalType: 'address', name: 'tokenContract', type: 'address' },\n\t\t\t{ internalType: 'uint256', name: 'tokenId', type: 'uint256' },\n\t\t\t{ internalType: 'uint256', name: 'cost', type: 'uint256' },\n\t\t],\n\t\tname: 'getRoyaltyInfo',\n\t\toutputs: [\n\t\t\t{ internalType: 'address', name: 'recipient', type: 'address' },\n\t\t\t{ internalType: 'uint256', name: 'royalty', type: 'uint256' },\n\t\t],\n\t\tstateMutability: 'view',\n\t\ttype: 'function',\n\t},\n\t{\n\t\tinputs: [\n\t\t\t{ internalType: 'uint256', name: 'requestId', type: 'uint256' },\n\t\t\t{ internalType: 'uint256', name: 'quantity', type: 'uint256' },\n\t\t],\n\t\tname: 'isRequestValid',\n\t\toutputs: [\n\t\t\t{ internalType: 'bool', name: 'valid', type: 'bool' },\n\t\t\t{\n\t\t\t\tcomponents: [\n\t\t\t\t\t{ internalType: 'address', name: 'creator', type: 'address' },\n\t\t\t\t\t{ internalType: 'bool', name: 'isListing', type: 'bool' },\n\t\t\t\t\t{ internalType: 'bool', name: 'isERC1155', type: 'bool' },\n\t\t\t\t\t{ internalType: 'address', name: 'tokenContract', type: 'address' },\n\t\t\t\t\t{ internalType: 'uint256', name: 'tokenId', type: 'uint256' },\n\t\t\t\t\t{ internalType: 'uint256', name: 'quantity', type: 'uint256' },\n\t\t\t\t\t{ internalType: 'uint96', name: 'expiry', type: 'uint96' },\n\t\t\t\t\t{ internalType: 'address', name: 'currency', type: 'address' },\n\t\t\t\t\t{ internalType: 'uint256', name: 'pricePerToken', type: 'uint256' },\n\t\t\t\t],\n\t\t\t\tinternalType: 'struct ISequenceMarketStorage.Request',\n\t\t\t\tname: 'request',\n\t\t\t\ttype: 'tuple',\n\t\t\t},\n\t\t],\n\t\tstateMutability: 'view',\n\t\ttype: 'function',\n\t},\n\t{\n\t\tinputs: [\n\t\t\t{ internalType: 'uint256[]', name: 'requestIds', type: 'uint256[]' },\n\t\t\t{ internalType: 'uint256[]', name: 'quantities', type: 'uint256[]' },\n\t\t],\n\t\tname: 'isRequestValidBatch',\n\t\toutputs: [\n\t\t\t{ internalType: 'bool[]', name: 'valid', type: 'bool[]' },\n\t\t\t{\n\t\t\t\tcomponents: [\n\t\t\t\t\t{ internalType: 'address', name: 'creator', type: 'address' },\n\t\t\t\t\t{ internalType: 'bool', name: 'isListing', type: 'bool' },\n\t\t\t\t\t{ internalType: 'bool', name: 'isERC1155', type: 'bool' },\n\t\t\t\t\t{ internalType: 'address', name: 'tokenContract', type: 'address' },\n\t\t\t\t\t{ internalType: 'uint256', name: 'tokenId', type: 'uint256' },\n\t\t\t\t\t{ internalType: 'uint256', name: 'quantity', type: 'uint256' },\n\t\t\t\t\t{ internalType: 'uint96', name: 'expiry', type: 'uint96' },\n\t\t\t\t\t{ internalType: 'address', name: 'currency', type: 'address' },\n\t\t\t\t\t{ internalType: 'uint256', name: 'pricePerToken', type: 'uint256' },\n\t\t\t\t],\n\t\t\t\tinternalType: 'struct ISequenceMarketStorage.Request[]',\n\t\t\t\tname: 'requests',\n\t\t\t\ttype: 'tuple[]',\n\t\t\t},\n\t\t],\n\t\tstateMutability: 'view',\n\t\ttype: 'function',\n\t},\n\t{\n\t\tinputs: [],\n\t\tname: 'owner',\n\t\toutputs: [{ internalType: 'address', name: '', type: 'address' }],\n\t\tstateMutability: 'view',\n\t\ttype: 'function',\n\t},\n\t{\n\t\tinputs: [],\n\t\tname: 'renounceOwnership',\n\t\toutputs: [],\n\t\tstateMutability: 'nonpayable',\n\t\ttype: 'function',\n\t},\n\t{\n\t\tinputs: [\n\t\t\t{ internalType: 'address', name: 'tokenContract', type: 'address' },\n\t\t\t{ internalType: 'address', name: 'recipient', type: 'address' },\n\t\t\t{ internalType: 'uint96', name: 'fee', type: 'uint96' },\n\t\t],\n\t\tname: 'setRoyaltyInfo',\n\t\toutputs: [],\n\t\tstateMutability: 'nonpayable',\n\t\ttype: 'function',\n\t},\n\t{\n\t\tinputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }],\n\t\tname: 'transferOwnership',\n\t\toutputs: [],\n\t\tstateMutability: 'nonpayable',\n\t\ttype: 'function',\n\t},\n] as const;\n","export const SequenceMarketplaceV2_ABI = [\n\t{ type: 'constructor', inputs: [], stateMutability: 'nonpayable' },\n\t{\n\t\ttype: 'function',\n\t\tname: 'acceptRequest',\n\t\tinputs: [\n\t\t\t{ name: 'requestId', type: 'uint256', internalType: 'uint256' },\n\t\t\t{ name: 'quantity', type: 'uint256', internalType: 'uint256' },\n\t\t\t{ name: 'recipient', type: 'address', internalType: 'address' },\n\t\t\t{\n\t\t\t\tname: 'additionalFees',\n\t\t\t\ttype: 'uint256[]',\n\t\t\t\tinternalType: 'uint256[]',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'additionalFeeRecipients',\n\t\t\t\ttype: 'address[]',\n\t\t\t\tinternalType: 'address[]',\n\t\t\t},\n\t\t],\n\t\toutputs: [],\n\t\tstateMutability: 'payable',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'acceptRequestBatch',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'requestIds',\n\t\t\t\ttype: 'uint256[]',\n\t\t\t\tinternalType: 'uint256[]',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'quantities',\n\t\t\t\ttype: 'uint256[]',\n\t\t\t\tinternalType: 'uint256[]',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'recipients',\n\t\t\t\ttype: 'address[]',\n\t\t\t\tinternalType: 'address[]',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'additionalFees',\n\t\t\t\ttype: 'uint256[]',\n\t\t\t\tinternalType: 'uint256[]',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'additionalFeeRecipients',\n\t\t\t\ttype: 'address[]',\n\t\t\t\tinternalType: 'address[]',\n\t\t\t},\n\t\t],\n\t\toutputs: [],\n\t\tstateMutability: 'nonpayable',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'cancelRequest',\n\t\tinputs: [{ name: 'requestId', type: 'uint256', internalType: 'uint256' }],\n\t\toutputs: [],\n\t\tstateMutability: 'nonpayable',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'cancelRequestBatch',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'requestIds',\n\t\t\t\ttype: 'uint256[]',\n\t\t\t\tinternalType: 'uint256[]',\n\t\t\t},\n\t\t],\n\t\toutputs: [],\n\t\tstateMutability: 'nonpayable',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'createRequest',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'request',\n\t\t\t\ttype: 'tuple',\n\t\t\t\tinternalType: 'struct ISequenceMarketStorage.RequestParams',\n\t\t\t\tcomponents: [\n\t\t\t\t\t{ name: 'isListing', type: 'bool', internalType: 'bool' },\n\t\t\t\t\t{ name: 'isERC1155', type: 'bool', internalType: 'bool' },\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'tokenContract',\n\t\t\t\t\t\ttype: 'address',\n\t\t\t\t\t\tinternalType: 'address',\n\t\t\t\t\t},\n\t\t\t\t\t{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'quantity',\n\t\t\t\t\t\ttype: 'uint256',\n\t\t\t\t\t\tinternalType: 'uint256',\n\t\t\t\t\t},\n\t\t\t\t\t{ name: 'expiry', type: 'uint96', internalType: 'uint96' },\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'currency',\n\t\t\t\t\t\ttype: 'address',\n\t\t\t\t\t\tinternalType: 'address',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'pricePerToken',\n\t\t\t\t\t\ttype: 'uint256',\n\t\t\t\t\t\tinternalType: 'uint256',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t\toutputs: [{ name: 'requestId', type: 'uint256', internalType: 'uint256' }],\n\t\tstateMutability: 'nonpayable',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'createRequestBatch',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'requests',\n\t\t\t\ttype: 'tuple[]',\n\t\t\t\tinternalType: 'struct ISequenceMarketStorage.RequestParams[]',\n\t\t\t\tcomponents: [\n\t\t\t\t\t{ name: 'isListing', type: 'bool', internalType: 'bool' },\n\t\t\t\t\t{ name: 'isERC1155', type: 'bool', internalType: 'bool' },\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'tokenContract',\n\t\t\t\t\t\ttype: 'address',\n\t\t\t\t\t\tinternalType: 'address',\n\t\t\t\t\t},\n\t\t\t\t\t{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'quantity',\n\t\t\t\t\t\ttype: 'uint256',\n\t\t\t\t\t\tinternalType: 'uint256',\n\t\t\t\t\t},\n\t\t\t\t\t{ name: 'expiry', type: 'uint96', internalType: 'uint96' },\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'currency',\n\t\t\t\t\t\ttype: 'address',\n\t\t\t\t\t\tinternalType: 'address',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'pricePerToken',\n\t\t\t\t\t\ttype: 'uint256',\n\t\t\t\t\t\tinternalType: 'uint256',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t\toutputs: [\n\t\t\t{\n\t\t\t\tname: 'requestIds',\n\t\t\t\ttype: 'uint256[]',\n\t\t\t\tinternalType: 'uint256[]',\n\t\t\t},\n\t\t],\n\t\tstateMutability: 'nonpayable',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'customRoyalties',\n\t\tinputs: [{ name: '', type: 'address', internalType: 'address' }],\n\t\toutputs: [\n\t\t\t{ name: 'recipient', type: 'address', internalType: 'address' },\n\t\t\t{ name: 'fee', type: 'uint96', internalType: 'uint96' },\n\t\t],\n\t\tstateMutability: 'view',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'getRequest',\n\t\tinputs: [{ name: 'requestId', type: 'uint256', internalType: 'uint256' }],\n\t\toutputs: [\n\t\t\t{\n\t\t\t\tname: 'request',\n\t\t\t\ttype: 'tuple',\n\t\t\t\tinternalType: 'struct ISequenceMarketStorage.Request',\n\t\t\t\tcomponents: [\n\t\t\t\t\t{ name: 'creator', type: 'address', internalType: 'address' },\n\t\t\t\t\t{ name: 'isListing', type: 'bool', internalType: 'bool' },\n\t\t\t\t\t{ name: 'isERC1155', type: 'bool', internalType: 'bool' },\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'tokenContract',\n\t\t\t\t\t\ttype: 'address',\n\t\t\t\t\t\tinternalType: 'address',\n\t\t\t\t\t},\n\t\t\t\t\t{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'quantity',\n\t\t\t\t\t\ttype: 'uint256',\n\t\t\t\t\t\tinternalType: 'uint256',\n\t\t\t\t\t},\n\t\t\t\t\t{ name: 'expiry', type: 'uint96', internalType: 'uint96' },\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'currency',\n\t\t\t\t\t\ttype: 'address',\n\t\t\t\t\t\tinternalType: 'address',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'pricePerToken',\n\t\t\t\t\t\ttype: 'uint256',\n\t\t\t\t\t\tinternalType: 'uint256',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t\tstateMutability: 'view',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'getRequestBatch',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'requestIds',\n\t\t\t\ttype: 'uint256[]',\n\t\t\t\tinternalType: 'uint256[]',\n\t\t\t},\n\t\t],\n\t\toutputs: [\n\t\t\t{\n\t\t\t\tname: 'requests',\n\t\t\t\ttype: 'tuple[]',\n\t\t\t\tinternalType: 'struct ISequenceMarketStorage.Request[]',\n\t\t\t\tcomponents: [\n\t\t\t\t\t{ name: 'creator', type: 'address', internalType: 'address' },\n\t\t\t\t\t{ name: 'isListing', type: 'bool', internalType: 'bool' },\n\t\t\t\t\t{ name: 'isERC1155', type: 'bool', internalType: 'bool' },\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'tokenContract',\n\t\t\t\t\t\ttype: 'address',\n\t\t\t\t\t\tinternalType: 'address',\n\t\t\t\t\t},\n\t\t\t\t\t{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'quantity',\n\t\t\t\t\t\ttype: 'uint256',\n\t\t\t\t\t\tinternalType: 'uint256',\n\t\t\t\t\t},\n\t\t\t\t\t{ name: 'expiry', type: 'uint96', internalType: 'uint96' },\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'currency',\n\t\t\t\t\t\ttype: 'address',\n\t\t\t\t\t\tinternalType: 'address',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'pricePerToken',\n\t\t\t\t\t\ttype: 'uint256',\n\t\t\t\t\t\tinternalType: 'uint256',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t\tstateMutability: 'view',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'getRoyaltyInfo',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'tokenContract',\n\t\t\t\ttype: 'address',\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t\t{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },\n\t\t\t{ name: 'cost', type: 'uint256', internalType: 'uint256' },\n\t\t],\n\t\toutputs: [\n\t\t\t{ name: 'recipient', type: 'address', internalType: 'address' },\n\t\t\t{ name: 'royalty', type: 'uint256', internalType: 'uint256' },\n\t\t],\n\t\tstateMutability: 'view',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'initialize',\n\t\tinputs: [{ name: '_owner', type: 'address', internalType: 'address' }],\n\t\toutputs: [],\n\t\tstateMutability: 'nonpayable',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'invalidBeforeId',\n\t\tinputs: [{ name: '', type: 'address', internalType: 'address' }],\n\t\toutputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],\n\t\tstateMutability: 'view',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'invalidTokenBeforeId',\n\t\tinputs: [\n\t\t\t{ name: '', type: 'address', internalType: 'address' },\n\t\t\t{ name: '', type: 'address', internalType: 'address' },\n\t\t],\n\t\toutputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],\n\t\tstateMutability: 'view',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'invalidateRequests',\n\t\tinputs: [],\n\t\toutputs: [],\n\t\tstateMutability: 'nonpayable',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'invalidateRequests',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'tokenContract',\n\t\t\t\ttype: 'address',\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t],\n\t\toutputs: [],\n\t\tstateMutability: 'nonpayable',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'isRequestValid',\n\t\tinputs: [\n\t\t\t{ name: 'requestId', type: 'uint256', internalType: 'uint256' },\n\t\t\t{ name: 'quantity', type: 'uint256', internalType: 'uint256' },\n\t\t],\n\t\toutputs: [\n\t\t\t{ name: 'valid', type: 'bool', internalType: 'bool' },\n\t\t\t{\n\t\t\t\tname: 'request',\n\t\t\t\ttype: 'tuple',\n\t\t\t\tinternalType: 'struct ISequenceMarketStorage.Request',\n\t\t\t\tcomponents: [\n\t\t\t\t\t{ name: 'creator', type: 'address', internalType: 'address' },\n\t\t\t\t\t{ name: 'isListing', type: 'bool', internalType: 'bool' },\n\t\t\t\t\t{ name: 'isERC1155', type: 'bool', internalType: 'bool' },\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'tokenContract',\n\t\t\t\t\t\ttype: 'address',\n\t\t\t\t\t\tinternalType: 'address',\n\t\t\t\t\t},\n\t\t\t\t\t{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'quantity',\n\t\t\t\t\t\ttype: 'uint256',\n\t\t\t\t\t\tinternalType: 'uint256',\n\t\t\t\t\t},\n\t\t\t\t\t{ name: 'expiry', type: 'uint96', internalType: 'uint96' },\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'currency',\n\t\t\t\t\t\ttype: 'address',\n\t\t\t\t\t\tinternalType: 'address',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'pricePerToken',\n\t\t\t\t\t\ttype: 'uint256',\n\t\t\t\t\t\tinternalType: 'uint256',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t\tstateMutability: 'view',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'isRequestValidBatch',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'requestIds',\n\t\t\t\ttype: 'uint256[]',\n\t\t\t\tinternalType: 'uint256[]',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'quantities',\n\t\t\t\ttype: 'uint256[]',\n\t\t\t\tinternalType: 'uint256[]',\n\t\t\t},\n\t\t],\n\t\toutputs: [\n\t\t\t{ name: 'valid', type: 'bool[]', internalType: 'bool[]' },\n\t\t\t{\n\t\t\t\tname: 'requests',\n\t\t\t\ttype: 'tuple[]',\n\t\t\t\tinternalType: 'struct ISequenceMarketStorage.Request[]',\n\t\t\t\tcomponents: [\n\t\t\t\t\t{ name: 'creator', type: 'address', internalType: 'address' },\n\t\t\t\t\t{ name: 'isListing', type: 'bool', internalType: 'bool' },\n\t\t\t\t\t{ name: 'isERC1155', type: 'bool', internalType: 'bool' },\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'tokenContract',\n\t\t\t\t\t\ttype: 'address',\n\t\t\t\t\t\tinternalType: 'address',\n\t\t\t\t\t},\n\t\t\t\t\t{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'quantity',\n\t\t\t\t\t\ttype: 'uint256',\n\t\t\t\t\t\tinternalType: 'uint256',\n\t\t\t\t\t},\n\t\t\t\t\t{ name: 'expiry', type: 'uint96', internalType: 'uint96' },\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'currency',\n\t\t\t\t\t\ttype: 'address',\n\t\t\t\t\t\tinternalType: 'address',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'pricePerToken',\n\t\t\t\t\t\ttype: 'uint256',\n\t\t\t\t\t\tinternalType: 'uint256',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t\tstateMutability: 'view',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'owner',\n\t\tinputs: [],\n\t\toutputs: [{ name: '', type: 'address', internalType: 'address' }],\n\t\tstateMutability: 'view',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'proxiableUUID',\n\t\tinputs: [],\n\t\toutputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],\n\t\tstateMutability: 'view',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'renounceOwnership',\n\t\tinputs: [],\n\t\toutputs: [],\n\t\tstateMutability: 'nonpayable',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'setRoyaltyInfo',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'tokenContract',\n\t\t\t\ttype: 'address',\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t\t{ name: 'recipient', type: 'address', internalType: 'address' },\n\t\t\t{ name: 'fee', type: 'uint96', internalType: 'uint96' },\n\t\t],\n\t\toutputs: [],\n\t\tstateMutability: 'nonpayable',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'transferOwnership',\n\t\tinputs: [{ name: 'newOwner', type: 'address', internalType: 'address' }],\n\t\toutputs: [],\n\t\tstateMutability: 'nonpayable',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'upgradeTo',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'newImplementation',\n\t\t\t\ttype: 'address',\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t],\n\t\toutputs: [],\n\t\tstateMutability: 'nonpayable',\n\t},\n\t{\n\t\ttype: 'function',\n\t\tname: 'upgradeToAndCall',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'newImplementation',\n\t\t\t\ttype: 'address',\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t\t{ name: 'data', type: 'bytes', internalType: 'bytes' },\n\t\t],\n\t\toutputs: [],\n\t\tstateMutability: 'payable',\n\t},\n\t{\n\t\ttype: 'event',\n\t\tname: 'AdminChanged',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'previousAdmin',\n\t\t\t\ttype: 'address',\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'newAdmin',\n\t\t\t\ttype: 'address',\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t],\n\t\tanonymous: false,\n\t},\n\t{\n\t\ttype: 'event',\n\t\tname: 'BeaconUpgraded',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'beacon',\n\t\t\t\ttype: 'address',\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t],\n\t\tanonymous: false,\n\t},\n\t{\n\t\ttype: 'event',\n\t\tname: 'CustomRoyaltyChanged',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'tokenContract',\n\t\t\t\ttype: 'address',\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'recipient',\n\t\t\t\ttype: 'address',\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'fee',\n\t\t\t\ttype: 'uint96',\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'uint96',\n\t\t\t},\n\t\t],\n\t\tanonymous: false,\n\t},\n\t{\n\t\ttype: 'event',\n\t\tname: 'Initialized',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'version',\n\t\t\t\ttype: 'uint8',\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'uint8',\n\t\t\t},\n\t\t],\n\t\tanonymous: false,\n\t},\n\t{\n\t\ttype: 'event',\n\t\tname: 'OwnershipTransferred',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'previousOwner',\n\t\t\t\ttype: 'address',\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'newOwner',\n\t\t\t\ttype: 'address',\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t],\n\t\tanonymous: false,\n\t},\n\t{\n\t\ttype: 'event',\n\t\tname: 'RequestAccepted',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'requestId',\n\t\t\t\ttype: 'uint256',\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'buyer',\n\t\t\t\ttype: 'address',\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'tokenContract',\n\t\t\t\ttype: 'address',\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'recipient',\n\t\t\t\ttype: 'address',\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'quantity',\n\t\t\t\ttype: 'uint256',\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'quantityRemaining',\n\t\t\t\ttype: 'uint256',\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t},\n\t\t],\n\t\tanonymous: false,\n\t},\n\t{\n\t\ttype: 'event',\n\t\tname: 'RequestCancelled',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'requestId',\n\t\t\t\ttype: 'uint256',\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'tokenContract',\n\t\t\t\ttype: 'address',\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t],\n\t\tanonymous: false,\n\t},\n\t{\n\t\ttype: 'event',\n\t\tname: 'RequestCreated',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'requestId',\n\t\t\t\ttype: 'uint256',\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'creator',\n\t\t\t\ttype: 'address',\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'tokenContract',\n\t\t\t\ttype: 'address',\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'tokenId',\n\t\t\t\ttype: 'uint256',\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'isListing',\n\t\t\t\ttype: 'bool',\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'bool',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'quantity',\n\t\t\t\ttype: 'uint256',\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'currency',\n\t\t\t\ttype: 'address',\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'pricePerToken',\n\t\t\t\ttype: 'uint256',\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'expiry',\n\t\t\t\ttype: 'uint256',\n\t\t\t\tindexed: false,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t},\n\t\t],\n\t\tanonymous: false,\n\t},\n\t{\n\t\ttype: 'event',\n\t\tname: 'RequestsInvalidated',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'creator',\n\t\t\t\ttype: 'address',\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'invalidatedBefore',\n\t\t\t\ttype: 'uint256',\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t},\n\t\t],\n\t\tanonymous: false,\n\t},\n\t{\n\t\ttype: 'event',\n\t\tname: 'RequestsInvalidated',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'creator',\n\t\t\t\ttype: 'address',\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'tokenContract',\n\t\t\t\ttype: 'address',\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'invalidatedBefore',\n\t\t\t\ttype: 'uint256',\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'uint256',\n\t\t\t},\n\t\t],\n\t\tanonymous: false,\n\t},\n\t{\n\t\ttype: 'event',\n\t\tname: 'Upgraded',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'implementation',\n\t\t\t\ttype: 'address',\n\t\t\t\tindexed: true,\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t],\n\t\tanonymous: false,\n\t},\n\t{ type: 'error', name: 'InvalidAdditionalFees', inputs: [] },\n\t{ type: 'error', name: 'InvalidBatchRequest', inputs: [] },\n\t{ type: 'error', name: 'InvalidCurrency', inputs: [] },\n\t{\n\t\ttype: 'error',\n\t\tname: 'InvalidCurrencyApproval',\n\t\tinputs: [\n\t\t\t{ name: 'currency', type: 'address', internalType: 'address' },\n\t\t\t{ name: 'quantity', type: 'uint256', internalType: 'uint256' },\n\t\t\t{ name: 'owner', type: 'address', internalType: 'address' },\n\t\t],\n\t},\n\t{ type: 'error', name: 'InvalidExpiry', inputs: [] },\n\t{ type: 'error', name: 'InvalidPrice', inputs: [] },\n\t{ type: 'error', name: 'InvalidQuantity', inputs: [] },\n\t{\n\t\ttype: 'error',\n\t\tname: 'InvalidRequestId',\n\t\tinputs: [{ name: 'requestId', type: 'uint256', internalType: 'uint256' }],\n\t},\n\t{ type: 'error', name: 'InvalidRoyalty', inputs: [] },\n\t{\n\t\ttype: 'error',\n\t\tname: 'InvalidTokenApproval',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'tokenContract',\n\t\t\t\ttype: 'address',\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t\t{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },\n\t\t\t{ name: 'quantity', type: 'uint256', internalType: 'uint256' },\n\t\t\t{ name: 'owner', type: 'address', internalType: 'address' },\n\t\t],\n\t},\n\t{ type: 'error', name: 'Invalidated', inputs: [] },\n\t{\n\t\ttype: 'error',\n\t\tname: 'UnsupportedContractInterface',\n\t\tinputs: [\n\t\t\t{\n\t\t\t\tname: 'contractAddress',\n\t\t\t\ttype: 'address',\n\t\t\t\tinternalType: 'address',\n\t\t\t},\n\t\t\t{ name: 'interfaceId', type: 'bytes4', internalType: 'bytes4' },\n\t\t],\n\t},\n];\n"],"mappings":";AAAA,MAAa,cAAc,CAC1B;CACC,QAAQ,CACP;EAAE,cAAc;EAAW,MAAM;EAAI,MAAM;EAAW,EACtD;EAAE,cAAc;EAAW,MAAM;EAAa,MAAM;EAAW,CAC/D;CACD,MAAM;CACN,SAAS,CACR;EAAE,cAAc;EAAW,MAAM;EAAY,MAAM;EAAW,EAC9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Ac;GAAU,MAAM;GAAe,MAAM;GAAU,CAC/D;EACD,MAAM;EACN,MAAM;EACN;CACD;EACC,WAAW;EACX,QAAQ;GACP;IACC,SAAS;IACT,cAAc;IACd,MAAM;IACN,MAAM;IACN;GACD;IACC,SAAS;IACT,cAAc;IACd,MAAM;IACN,MAAM;IACN;GACD;IAAE,SAAS;IAAO,cAAc;IAAU,MAAM;IAAO,MAAM;IAAU;GACvE;EACD,MAAM;EACN,MAAM;EACN;CACD;EACC,WAAW;EACX,QAAQ,CACP;GACC,SAAS;GACT,cAAc;GACd,MAAM;GACN,MAAM;GACN,EACD;GACC,SAAS;GACT,cAAc;GACd,MAAM;GACN,MAAM;GACN,CACD;EACD,MAAM;EACN,MAAM;EACN;CACD;EACC,WAAW;EACX,QAAQ;GACP;IACC,SAAS;IACT,cAAc;IACd,MAAM;IACN,MAAM;IACN;GACD;IACC,SAAS;IACT,cAAc;IACd,MAAM;IACN,MAAM;IACN;GACD;IACC,SAAS;IACT,cAAc;IACd,MAAM;IACN,MAAM;IACN;GACD;IACC,SAAS;IACT,cAAc;IACd,MAAM;IACN,MAAM;IACN;GACD;IACC,SAAS;IACT,cAAc;IACd,MAAM;IACN,MAAM;IACN;GACD;IACC,SAAS;IACT,cAAc;IACd,MAAM;IACN,MAAM;IACN;GACD;EACD,MAAM;EACN,MAAM;EACN;CACD;EACC,WAAW;EACX,QAAQ,CACP;GACC,SAAS;GACT,cAAc;GACd,MAAM;GACN,MAAM;GACN,EACD;GACC,SAAS;GACT,cAAc;GACd,MAAM;GACN,MAAM;GACN,CACD;EACD,MAAM;EACN,MAAM;EACN;CACD;EACC,WAAW;EACX,QAAQ;GACP;IACC,SAAS;IACT,cAAc;IACd,MAAM;IACN,MAAM;IACN;GACD;IACC,SAAS;IACT,cAAc;IACd,MAAM;IACN,MAAM;IACN;GACD;IACC,SAAS;IACT,cAAc;IACd,MAAM;IACN,MAAM;IACN;GACD;IACC,SAAS;IACT,cAAc;IACd,MAAM;IACN,MAAM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IACN,SAAS;IACT,cAAc;IACd;GACD;EACD,WAAW;EACX;CACD;EACC,MAAM;EACN,MAAM;EACN,QAAQ,CACP;GACC,MAAM;GACN,MAAM;GACN,SAAS;GACT,cAAc;GACd,CACD;EACD,WAAW;EACX;CACD;EACC,MAAM;EACN,MAAM;EACN,QAAQ,CACP;GACC,MAAM;GACN,MAAM;GACN,SAAS;GACT,cAAc;GACd,EACD;GACC,MAAM;GACN,MAAM;GACN,SAAS;GACT,cAAc;GACd,CACD;EACD,WAAW;EACX;CACD;EACC,MAAM;EACN,MAAM;EACN,QAAQ;GACP;IACC,MAAM;IACN,MAAM;IACN,SAAS;IACT,cAAc;IACd;GACD;IACC,MAAM;IACN,MAAM;IACN,SAAS;IACT,cAAc;IACd;GACD;IACC,MAAM;IACN,MAAM;IACN,SAAS;IACT,cAAc;IACd;GACD;IACC,MAAM;IACN,MAAM;IACN,SAAS;IACT,cAAc;IACd;GACD;IACC,MAAM;IACN,MAAM;IACN,SAAS;IACT,cAAc;IACd;GACD;IACC,MAAM;IACN,MAAM;IACN,SAAS;IACT,cAAc;IACd;GACD;EACD,WAAW;EACX;CACD;EACC,MAAM;EACN,MAAM;EACN,QAAQ,CACP;GACC,MAAM;GACN,MAAM;GACN,SAAS;GACT,cAAc;GACd,EACD;GACC,MAAM;GACN,MAAM;GACN,SAAS;GACT,cAAc;GACd,CACD;EACD,WAAW;EACX;CACD;EACC,MAAM;EACN,MAAM;EACN,QAAQ;GACP;IACC,MAAM;IACN,MAAM;IACN,SAAS;IACT,cAAc;IACd;GACD;IACC,MAAM;IACN,MAAM;IACN,SAAS;IACT,cAAc;IACd;GACD;IACC,MAAM;IACN,MAAM;IACN,SAAS;IACT,cAAc;IACd;GACD;IACC,MAAM;IACN,MAAM;IACN,SAAS;IACT,cAAc;IACd;GACD;IACC,MAAM;IACN,MAAM;IACN,SAAS;IACT,cAAc;IACd;GACD;IACC,MAAM;IACN,MAAM;IACN,SAAS;IACT,cAAc;IACd;GACD;IACC,M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QAAQ,CAAC;GAAE,MAAM;GAAa,MAAM;GAAW,cAAc;GAAW,CAAC;EACzE;CACD;EAAE,MAAM;EAAS,MAAM;EAAkB,QAAQ,EAAE;EAAE;CACrD;EACC,MAAM;EACN,MAAM;EACN,QAAQ;GACP;IACC,MAAM;IACN,MAAM;IACN,cAAc;IACd;GACD;IAAE,MAAM;IAAW,MAAM;IAAW,cAAc;IAAW;GAC7D;IAAE,MAAM;IAAY,MAAM;IAAW,cAAc;IAAW;GAC9D;IAAE,MAAM;IAAS,MAAM;IAAW,cAAc;IAAW;GAC3D;EACD;CACD;EAAE,MAAM;EAAS,MAAM;EAAe,QAAQ,EAAE;EAAE;CAClD;EACC,MAAM;EACN,MAAM;EACN,QAAQ,CACP;GACC,MAAM;GACN,MAAM;GACN,cAAc;GACd,EACD;GAAE,MAAM;GAAe,MAAM;GAAU,cAAc;GAAU,CAC/D;EACD;CACD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { configKeys, getBuilderClient } from "./api
|
|
1
|
+
import { f as configKeys, t as getBuilderClient } from "./api.js";
|
|
2
2
|
import { queryOptions } from "@tanstack/react-query";
|
|
3
3
|
|
|
4
4
|
//#region src/react/_internal/query-meta.ts
|
|
@@ -8,11 +8,7 @@ const persistentQueryMeta = { persistent: true };
|
|
|
8
8
|
//#region src/react/queries/market/marketplaceConfig.ts
|
|
9
9
|
const fetchMarketplaceConfig = async ({ config, prefetchedMarketplaceSettings }) => {
|
|
10
10
|
let builderMarketplaceConfig = prefetchedMarketplaceSettings;
|
|
11
|
-
if (!builderMarketplaceConfig) {
|
|
12
|
-
const builderApi = getBuilderClient(config);
|
|
13
|
-
const response = await builderApi.lookupMarketplace({ projectId: Number(config.projectId) });
|
|
14
|
-
builderMarketplaceConfig = response;
|
|
15
|
-
}
|
|
11
|
+
if (!builderMarketplaceConfig) builderMarketplaceConfig = await getBuilderClient(config).lookupMarketplace({ projectId: Number(config.projectId) });
|
|
16
12
|
const marketCollections = (builderMarketplaceConfig.marketCollections ?? []).map((collection) => {
|
|
17
13
|
return {
|
|
18
14
|
...collection,
|
|
@@ -81,5 +77,5 @@ const marketplaceConfigOptions = (config) => {
|
|
|
81
77
|
};
|
|
82
78
|
|
|
83
79
|
//#endregion
|
|
84
|
-
export {
|
|
85
|
-
//# sourceMappingURL=marketplaceConfig
|
|
80
|
+
export { marketplaceConfigOptions as n, fetchMarketplaceConfig as t };
|
|
81
|
+
//# sourceMappingURL=marketplaceConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marketplaceConfig.js","names":[],"sources":["../src/react/_internal/query-meta.ts","../src/react/queries/market/marketplaceConfig.ts"],"sourcesContent":["export const persistentQueryMeta = {\n\tpersistent: true,\n};\n","import { queryOptions } from '@tanstack/react-query';\nimport type { Address } from 'viem';\nimport type { ContractType, OrderbookKind, SdkConfig } from '../../../types';\nimport type {\n\tMarketCollection,\n\tMarketPage,\n\tMarketplaceConfig,\n\tShopCollection,\n\tShopPage,\n} from '../../../types/new-marketplace-types';\nimport { configKeys, getBuilderClient } from '../../_internal';\nimport type { LookupMarketplaceReturn } from '../../_internal/api/builder.gen';\nimport { persistentQueryMeta } from '../../_internal/query-meta';\n\nexport const fetchMarketplaceConfig = async ({\n\tconfig,\n\tprefetchedMarketplaceSettings,\n}: {\n\tconfig: SdkConfig;\n\tprefetchedMarketplaceSettings?: LookupMarketplaceReturn;\n}): Promise<MarketplaceConfig> => {\n\tlet builderMarketplaceConfig = prefetchedMarketplaceSettings;\n\n\tif (!builderMarketplaceConfig) {\n\t\tconst builderApi = getBuilderClient(config);\n\t\tconst response = await builderApi.lookupMarketplace({\n\t\t\tprojectId: Number(config.projectId),\n\t\t});\n\n\t\tbuilderMarketplaceConfig = response;\n\t}\n\n\tconst marketCollections = (\n\t\tbuilderMarketplaceConfig.marketCollections ?? []\n\t).map((collection) => {\n\t\treturn {\n\t\t\t...collection,\n\t\t\tcontractType: collection.contractType as ContractType,\n\t\t\tdestinationMarketplace:\n\t\t\t\tcollection.destinationMarketplace as OrderbookKind,\n\t\t\titemsAddress: collection.itemsAddress as Address,\n\t\t\tcardType: 'market',\n\t\t} satisfies MarketCollection;\n\t});\n\n\tconst shopCollections = (builderMarketplaceConfig.shopCollections ?? []).map(\n\t\t(collection) => {\n\t\t\treturn {\n\t\t\t\t...collection,\n\t\t\t\titemsAddress: collection.itemsAddress as Address,\n\t\t\t\tsaleAddress: collection.saleAddress as Address,\n\t\t\t\tcardType: 'shop',\n\t\t\t} satisfies ShopCollection;\n\t\t},\n\t);\n\n\tconst market = {\n\t\t...builderMarketplaceConfig.marketplace.market,\n\t\tcollections: marketCollections,\n\t} satisfies MarketPage;\n\n\tconst shop = {\n\t\t...builderMarketplaceConfig.marketplace.shop,\n\t\tcollections: shopCollections ?? [],\n\t} satisfies ShopPage;\n\n\tlet marketplaceConfig = {\n\t\tprojectId: Number(config.projectId),\n\t\tsettings: builderMarketplaceConfig.marketplace.settings,\n\t\tmarket,\n\t\tshop,\n\t} satisfies MarketplaceConfig;\n\n\tif (config._internal?.overrides?.marketplaceConfig) {\n\t\tconst overrides = config._internal.overrides.marketplaceConfig;\n\t\tmarketplaceConfig = {\n\t\t\t...marketplaceConfig,\n\t\t\t...overrides,\n\t\t\tmarket: {\n\t\t\t\t...marketplaceConfig.market,\n\t\t\t\t...overrides.market,\n\t\t\t\t//@ts-expect-error - TODO: Fix this partial type. We need to align new-marketplace-types with builder.gen.ts\n\t\t\t\tcollections:\n\t\t\t\t\toverrides.market?.collections ?? marketplaceConfig.market.collections,\n\t\t\t},\n\t\t\tshop: {\n\t\t\t\t...marketplaceConfig.shop,\n\t\t\t\t...overrides.shop,\n\t\t\t\t//@ts-expect-error - TODO: Fix this partial type. We need to align new-marketplace-types with builder.gen.ts\n\t\t\t\tcollections:\n\t\t\t\t\toverrides.shop?.collections ?? marketplaceConfig.shop.collections,\n\t\t\t},\n\t\t};\n\t}\n\n\treturn marketplaceConfig;\n};\n\nexport const marketplaceConfigOptions = (config: SdkConfig) => {\n\tconst prefetchedMarketplaceSettings =\n\t\tconfig._internal?.prefetchedMarketplaceSettings;\n\n\treturn queryOptions({\n\t\tqueryKey: [...configKeys.marketplace],\n\t\tqueryFn: () =>\n\t\t\tfetchMarketplaceConfig({\n\t\t\t\tconfig,\n\t\t\t\tprefetchedMarketplaceSettings,\n\t\t\t}),\n\t\tgcTime: Number.POSITIVE_INFINITY,\n\t\tstaleTime: Number.POSITIVE_INFINITY,\n\t\trefetchOnMount: false,\n\t\trefetchOnReconnect: false,\n\t\trefetchOnWindowFocus: false,\n\t\tmeta: persistentQueryMeta,\n\t});\n};\n"],"mappings":";;;;AAAA,MAAa,sBAAsB,EAClC,YAAY,MACZ;;;;ACYD,MAAa,yBAAyB,OAAO,EAC5C,QACA,oCAIiC;CACjC,IAAI,2BAA2B;AAE/B,KAAI,CAAC,yBAMJ,4BAJiB,MADE,iBAAiB,OAAO,CACT,kBAAkB,EACnD,WAAW,OAAO,OAAO,UAAU,EACnC,CAAC;CAKH,MAAM,qBACL,yBAAyB,qBAAqB,EAAE,EAC/C,KAAK,eAAe;AACrB,SAAO;GACN,GAAG;GACH,cAAc,WAAW;GACzB,wBACC,WAAW;GACZ,cAAc,WAAW;GACzB,UAAU;GACV;GACA;CAEF,MAAM,mBAAmB,yBAAyB,mBAAmB,EAAE,EAAE,KACvE,eAAe;AACf,SAAO;GACN,GAAG;GACH,cAAc,WAAW;GACzB,aAAa,WAAW;GACxB,UAAU;GACV;GAEF;CAED,MAAM,SAAS;EACd,GAAG,yBAAyB,YAAY;EACxC,aAAa;EACb;CAED,MAAM,OAAO;EACZ,GAAG,yBAAyB,YAAY;EACxC,aAAa,mBAAmB,EAAE;EAClC;CAED,IAAI,oBAAoB;EACvB,WAAW,OAAO,OAAO,UAAU;EACnC,UAAU,yBAAyB,YAAY;EAC/C;EACA;EACA;AAED,KAAI,OAAO,WAAW,WAAW,mBAAmB;EACnD,MAAM,YAAY,OAAO,UAAU,UAAU;AAC7C,sBAAoB;GACnB,GAAG;GACH,GAAG;GACH,QAAQ;IACP,GAAG,kBAAkB;IACrB,GAAG,UAAU;IAEb,aACC,UAAU,QAAQ,eAAe,kBAAkB,OAAO;IAC3D;GACD,MAAM;IACL,GAAG,kBAAkB;IACrB,GAAG,UAAU;IAEb,aACC,UAAU,MAAM,eAAe,kBAAkB,KAAK;IACvD;GACD;;AAGF,QAAO;;AAGR,MAAa,4BAA4B,WAAsB;CAC9D,MAAM,gCACL,OAAO,WAAW;AAEnB,QAAO,aAAa;EACnB,UAAU,CAAC,GAAG,WAAW,YAAY;EACrC,eACC,uBAAuB;GACtB;GACA;GACA,CAAC;EACH,QAAQ,OAAO;EACf,WAAW,OAAO;EAClB,gBAAgB;EAChB,oBAAoB;EACpB,sBAAsB;EACtB,MAAM;EACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mintify.js","names":[],"sources":["../src/react/ui/images/marketplaces/mintify.png"],"sourcesContent":["\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABe/SURBVHgB7V15kBzVef+9nmPv1a5WByBAowuECSBhVIVBNrsEAyEBIVeqnMTGSCTlmCRVmKrEKVOVAqpSFapyCOxKbCpFQE6q4vyRWEASsCyihZgUNiEsl7mENEIGIVnSzt47R/fL915Pz74+p2d3umdGnp80292v3/2+973v+97RDGcjMpszQHELwDMwsBYaGwBHRj6XffiEzNIvB7CcvHKehYajgDYm3bLvj+EsA0Orw2zsYRj8CirNMMzGHUA0EMQxRoQxRkT1PJAaQ/adLFoYrUcAmQw1bnILDGMH5f52+PfmuEAEwQRB7EX20ChaDK1DAJmNw8TC76TeJxo9qh6+VNCwwfbRsPEksh/sQwuguQkgs4nGcX0Hjd9fB5PjuJljTjfMyjqH6c7s95Yf9Qq472HFByUeWA/u8Bas9OyOqluWnk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UNA+rs4Z1mjhi+NLXWFTtxoTQJQYaqSRARCXhAEwQVBRMUhcuZqHDwP+Y2F1GgjVbh6oPUJwAuZTYIgiAgMQQwZKuZaSKIgN05XxjKmR+5cFpaVzuJrqvKeT5hX8Zwaa/XG9sL/A5Zh6ymsxBujAAAAAElFTkSuQmCC\""],"mappings":";sBAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MissingConfigError } from "./transaction
|
|
1
|
+
import { r as MissingConfigError } from "./transaction.js";
|
|
2
2
|
import { networks } from "@0xsequence/network";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/network.ts
|
|
@@ -11,5 +11,5 @@ const getPresentableChainName = (chainId) => {
|
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
|
-
export {
|
|
15
|
-
//# sourceMappingURL=network
|
|
14
|
+
export { getPresentableChainName as n, getNetwork as t };
|
|
15
|
+
//# sourceMappingURL=network.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network.js","names":[],"sources":["../src/utils/network.ts"],"sourcesContent":["import { networks } from '@0xsequence/network';\nimport { MissingConfigError } from './_internal/error/transaction';\n\ntype ChainNameOrId = string | number;\n\nexport const getNetwork = (nameOrId: ChainNameOrId) => {\n\tfor (const network of Object.values(networks)) {\n\t\tif (\n\t\t\tnetwork.name === String(nameOrId).toLowerCase() ||\n\t\t\tnetwork.chainId === Number(nameOrId)\n\t\t) {\n\t\t\treturn network;\n\t\t}\n\t}\n\tthrow new MissingConfigError(`Network configuration for chain ${nameOrId}`);\n};\n\nexport const getPresentableChainName = (chainId: number) => {\n\treturn networks[chainId as keyof typeof networks]?.title ?? 'Unknown Network';\n};\n"],"mappings":";;;;AAKA,MAAa,cAAc,aAA4B;AACtD,MAAK,MAAM,WAAW,OAAO,OAAO,SAAS,CAC5C,KACC,QAAQ,SAAS,OAAO,SAAS,CAAC,aAAa,IAC/C,QAAQ,YAAY,OAAO,SAAS,CAEpC,QAAO;AAGT,OAAM,IAAI,mBAAmB,mCAAmC,WAAW;;AAG5E,MAAa,2BAA2B,YAAoB;AAC3D,QAAO,SAAS,UAAmC,SAAS"}
|
|
@@ -12,5 +12,5 @@ const networkToWagmiChain = (network) => ({
|
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
|
-
export { networkToWagmiChain as
|
|
16
|
-
//# sourceMappingURL=networkconfigToWagmiChain
|
|
15
|
+
export { networkToWagmiChain as t };
|
|
16
|
+
//# sourceMappingURL=networkconfigToWagmiChain.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkconfigToWagmiChain.js","names":[],"sources":["../src/utils/networkconfigToWagmiChain.ts"],"sourcesContent":["import type { NetworkConfig } from '@0xsequence/network';\nimport type { Chain } from 'viem';\n\nexport const networkToWagmiChain = (network: NetworkConfig): Chain => ({\n\t...network,\n\tid: Number(network.chainId),\n\tname: network.name,\n\tnativeCurrency: { ...network.nativeToken },\n\trpcUrls: {\n\t\tdefault: {\n\t\t\thttp: [network.rpcUrl],\n\t\t},\n\t\tpublic: {\n\t\t\thttp: [network.rpcUrl],\n\t\t},\n\t},\n\tcontracts: network.ensAddress\n\t\t? {\n\t\t\t\tensRegistry: {\n\t\t\t\t\taddress: network.ensAddress as `0x${string}`,\n\t\t\t\t},\n\t\t\t}\n\t\t: undefined,\n});\n"],"mappings":";AAGA,MAAa,uBAAuB,aAAmC;CACtE,GAAG;CACH,IAAI,OAAO,QAAQ,QAAQ;CAC3B,MAAM,QAAQ;CACd,gBAAgB,EAAE,GAAG,QAAQ,aAAa;CAC1C,SAAS;EACR,SAAS,EACR,MAAM,CAAC,QAAQ,OAAO,EACtB;EACD,QAAQ,EACP,MAAM,CAAC,QAAQ,OAAO,EACtB;EACD;CACD,WAAW,QAAQ,aAChB,EACA,aAAa,EACZ,SAAS,QAAQ,YACjB,EACD,GACA;CACH"}
|