@0xsequence/marketplace-sdk 1.1.1 → 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.
Files changed (381) hide show
  1. package/CHANGELOG.md +54 -3
  2. package/dist/{BellIcon-ByhygxBO.js → BellIcon.js} +4 -4
  3. package/dist/BellIcon.js.map +1 -0
  4. package/dist/{CartIcon-Bt3rQYGk.js → CartIcon.js} +7 -7
  5. package/dist/CartIcon.js.map +1 -0
  6. package/dist/CollectibleCard.d.ts +8 -0
  7. package/dist/{_internal-DkS2VUn5.js → _internal.js} +2 -2
  8. package/dist/_internal.js.map +1 -0
  9. package/dist/{abi-fa-o9gH3.js → abi.js} +2 -2
  10. package/dist/abi.js.map +1 -0
  11. package/dist/{alien_swap-DoY6XfMA.js → alien_swap.js} +1 -1
  12. package/dist/alien_swap.js.map +1 -0
  13. package/dist/{api-BoO0V5aJ.js → api.js} +13 -64
  14. package/dist/api.js.map +1 -0
  15. package/dist/{aqua-xyz-BBDxnG14.js → aqua-xyz.js} +1 -1
  16. package/dist/aqua-xyz.js.map +1 -0
  17. package/dist/{aura-DGx2zwvF.js → aura.js} +1 -1
  18. package/dist/aura.js.map +1 -0
  19. package/dist/{blur-D8GKrRrq.js → blur.js} +1 -1
  20. package/dist/blur.js.map +1 -0
  21. package/dist/{builder-api-BFuZNOaN.js → builder-api.js} +3 -3
  22. package/dist/builder-api.js.map +1 -0
  23. package/dist/{builder.gen-B9wR2nvF.js → builder.gen.js} +3 -6
  24. package/dist/builder.gen.js.map +1 -0
  25. package/dist/{coinbase-DOry4PXY.js → coinbase.js} +1 -1
  26. package/dist/coinbase.js.map +1 -0
  27. package/dist/{collectibles-C_H8jMGH.js → collectibles.js} +9 -48
  28. package/dist/collectibles.js.map +1 -0
  29. package/dist/{collections-CKummc-R.js → collections.js} +79 -8
  30. package/dist/collections.js.map +1 -0
  31. package/dist/{components-CosnX7F9.js → components.js} +12 -14
  32. package/dist/components.js.map +1 -0
  33. package/dist/{contracts-BP_0vX48.js → contracts.js} +4 -4
  34. package/dist/contracts.js.map +1 -0
  35. package/dist/{create-config-ZOB7i4ZJ.d.ts → create-config.d.ts} +47 -60
  36. package/dist/{create-config-CIfejoCk.js → create-config.js} +10 -13
  37. package/dist/create-config.js.map +1 -0
  38. package/dist/{element-ciybd_VF.js → element.js} +1 -1
  39. package/dist/element.js.map +1 -0
  40. package/dist/{filters-V-V8Dn8f.d.ts → filters.d.ts} +7 -7
  41. package/dist/{foundation-Bq4lRz4x.js → foundation.js} +1 -1
  42. package/dist/foundation.js.map +1 -0
  43. package/dist/index.d.ts +8 -8
  44. package/dist/index.js +16 -16
  45. package/dist/{index-DUXfvhxs.d.ts → index10.d.ts} +14 -29
  46. package/dist/{index-CxA34wP1.d.ts → index11.d.ts} +101 -23
  47. package/dist/{index-BtWMBHeP.d.ts → index12.d.ts} +11 -9
  48. package/dist/{index-DmudgrsN.d.ts → index13.d.ts} +16 -16
  49. package/dist/{index-U-zp70of.d.ts → index14.d.ts} +9 -13
  50. package/dist/{index-Stm5u0I0.d.ts → index16.d.ts} +7 -10
  51. package/dist/{index-BZIJTQT0.d.ts → index17.d.ts} +9 -9
  52. package/dist/{index-CnEbXm_t.d.ts → index19.d.ts} +50 -12
  53. package/dist/{index-C-745li7.d.ts → index2.d.ts} +2 -2
  54. package/dist/{index-BOiHR01C.d.ts → index21.d.ts} +9 -9
  55. package/dist/{index-Bsx6XsC2.d.ts → index23.d.ts} +100 -59
  56. package/dist/{index-CPzvNmq9.d.ts → index24.d.ts} +36 -36
  57. package/dist/{index-DFEnA6Wa.d.ts → index25.d.ts} +18 -18
  58. package/dist/{index-DqXd1EeB.d.ts → index26.d.ts} +14 -7
  59. package/dist/{index-NlPMNcqh.d.ts → index27.d.ts} +102 -114
  60. package/dist/{index-DWt6yrIG.d.ts → index28.d.ts} +8 -8
  61. package/dist/{index-C4MUKshG.d.ts → index29.d.ts} +3 -3
  62. package/dist/{index-BeRV-7AX.d.ts → index3.d.ts} +2 -2
  63. package/dist/{index-Bxzjy0d1.d.ts → index4.d.ts} +2 -2
  64. package/dist/{index-DwKr18CI.d.ts → index5.d.ts} +2 -2
  65. package/dist/{index-D9LPlmbC.d.ts → index6.d.ts} +2 -2
  66. package/dist/{index-CS65jqOq.d.ts → index7.d.ts} +19 -3
  67. package/dist/index8.d.ts +18 -0
  68. package/dist/{index-CxpFwGvR.d.ts → index9.d.ts} +4 -4
  69. package/dist/{inventory-Dd7TazvZ.js → inventory.js} +11 -15
  70. package/dist/inventory.js.map +1 -0
  71. package/dist/{listCollectiblesPaginated-Cy2_qEZA.d.ts → listCollectiblesPaginated.d.ts} +24 -29
  72. package/dist/{listCollections-BB9FxKj2.d.ts → listCollections.d.ts} +170 -100
  73. package/dist/{looks-rare-6H--x3AM.js → looks-rare.js} +1 -1
  74. package/dist/looks-rare.js.map +1 -0
  75. package/dist/{lowestListing-Cbsi6M1K.d.ts → lowestListing.d.ts} +28 -28
  76. package/dist/{magic-eden-BoxEQ1Li.js → magic-eden.js} +1 -1
  77. package/dist/magic-eden.js.map +1 -0
  78. package/dist/{manifold-DycKsljb.js → manifold.js} +1 -1
  79. package/dist/manifold.js.map +1 -0
  80. package/dist/{market-C3HV-awQ.js → market.js} +7 -9
  81. package/dist/market.js.map +1 -0
  82. package/dist/{marketCurrencies-Bpw1bIO0.d.ts → marketCurrencies.d.ts} +19 -9
  83. package/dist/{marketCurrencies-sKrTX0og.js → marketCurrencies.js} +10 -7
  84. package/dist/marketCurrencies.js.map +1 -0
  85. package/dist/{marketplace-logos-D4dS1Foy.js → marketplace-logos.js} +23 -23
  86. package/dist/marketplace-logos.js.map +1 -0
  87. package/dist/{marketplace.gen-ksUafDqS.js → marketplace.gen.js} +25 -9
  88. package/dist/marketplace.gen.js.map +1 -0
  89. package/dist/{marketplace-NQB-sEQL.js → marketplace.js} +2 -2
  90. package/dist/marketplace.js.map +1 -0
  91. package/dist/{marketplaceConfig-UHQMM9fq.js → marketplaceConfig.js} +3 -3
  92. package/dist/marketplaceConfig.js.map +1 -0
  93. package/dist/{mintify-Dyqyo8jQ.js → mintify.js} +1 -1
  94. package/dist/mintify.js.map +1 -0
  95. package/dist/{network-DtmiMhcg.js → network.js} +3 -3
  96. package/dist/network.js.map +1 -0
  97. package/dist/{networkconfigToWagmiChain-DbUf6HiO.js → networkconfigToWagmiChain.js} +4 -3
  98. package/dist/networkconfigToWagmiChain.js.map +1 -0
  99. package/dist/{nftx-2LbFjj9Q.js → nftx.js} +1 -1
  100. package/dist/nftx.js.map +1 -0
  101. package/dist/{okx-CBEWJNsR.js → okx.js} +1 -1
  102. package/dist/okx.js.map +1 -0
  103. package/dist/{open-sea-Dxntz_PA.js → open-sea.js} +1 -1
  104. package/dist/open-sea.js.map +1 -0
  105. package/dist/{orders-DnFfZAXV.js → orders.js} +10 -10
  106. package/dist/orders.js.map +1 -0
  107. package/dist/{primary-sale-1u4QlPdA.js → primary-sale.js} +2 -2
  108. package/dist/primary-sale.js.map +1 -0
  109. package/dist/{primary-sales-Dmsi6bqj.js → primary-sales.js} +41 -3
  110. package/dist/primary-sales.js.map +1 -0
  111. package/dist/{query-BWbCsXLY.d.ts → query.d.ts} +2 -2
  112. package/dist/{rarible-CS0SupHr.js → rarible.js} +1 -1
  113. package/dist/rarible.js.map +1 -0
  114. package/dist/react/_internal/api/index.d.ts +2 -2
  115. package/dist/react/_internal/api/index.js +7 -7
  116. package/dist/react/_internal/databeat/index.d.ts +1 -1
  117. package/dist/react/_internal/databeat/index.js +37 -38
  118. package/dist/react/_internal/index.d.ts +2 -2
  119. package/dist/react/_internal/index.js +11 -11
  120. package/dist/react/_internal/wagmi/index.d.ts +1 -1
  121. package/dist/react/_internal/wagmi/index.js +5 -5
  122. package/dist/react/hooks/config/index.d.ts +8 -8
  123. package/dist/react/hooks/config/index.js +37 -38
  124. package/dist/react/hooks/contracts/index.d.ts +6 -6
  125. package/dist/react/hooks/contracts/index.js +15 -15
  126. package/dist/react/hooks/data/collectibles/index.d.ts +4 -10
  127. package/dist/react/hooks/data/collectibles/index.js +37 -38
  128. package/dist/react/hooks/data/collections/index.d.ts +11 -11
  129. package/dist/react/hooks/data/collections/index.js +38 -39
  130. package/dist/react/hooks/data/index.d.ts +37 -37
  131. package/dist/react/hooks/data/index.js +38 -39
  132. package/dist/react/hooks/data/inventory/index.d.ts +36 -36
  133. package/dist/react/hooks/data/inventory/index.js +37 -38
  134. package/dist/react/hooks/data/market/index.d.ts +5 -11
  135. package/dist/react/hooks/data/market/index.js +37 -38
  136. package/dist/react/hooks/data/orders/index.d.ts +4 -10
  137. package/dist/react/hooks/data/orders/index.js +37 -38
  138. package/dist/react/hooks/data/primary-sales/index.d.ts +37 -37
  139. package/dist/react/hooks/data/primary-sales/index.js +38 -39
  140. package/dist/react/hooks/data/tokens/index.d.ts +4 -4
  141. package/dist/react/hooks/data/tokens/index.js +37 -38
  142. package/dist/react/hooks/index.d.ts +37 -37
  143. package/dist/react/hooks/index.js +38 -39
  144. package/dist/react/hooks/transactions/index.d.ts +2 -2
  145. package/dist/react/hooks/transactions/index.js +37 -38
  146. package/dist/react/hooks/ui/index.d.ts +4 -4
  147. package/dist/react/hooks/ui/index.js +37 -38
  148. package/dist/react/hooks/utils/index.d.ts +36 -36
  149. package/dist/react/hooks/utils/index.js +37 -38
  150. package/dist/react/index.d.ts +37 -37
  151. package/dist/react/index.js +38 -39
  152. package/dist/react/queries/collectibles/index.d.ts +4 -10
  153. package/dist/react/queries/collectibles/index.js +20 -21
  154. package/dist/react/queries/collections/index.d.ts +11 -11
  155. package/dist/react/queries/collections/index.js +19 -19
  156. package/dist/react/queries/index.d.ts +24 -24
  157. package/dist/react/queries/index.js +30 -31
  158. package/dist/react/queries/inventory/index.d.ts +2 -2
  159. package/dist/react/queries/inventory/index.js +20 -20
  160. package/dist/react/queries/market/index.d.ts +5 -5
  161. package/dist/react/queries/market/index.js +20 -20
  162. package/dist/react/queries/orders/index.d.ts +4 -10
  163. package/dist/react/queries/orders/index.js +11 -11
  164. package/dist/react/queries/primary-sales/index.d.ts +4 -4
  165. package/dist/react/queries/primary-sales/index.js +12 -12
  166. package/dist/react/queries/tokens/index.d.ts +4 -4
  167. package/dist/react/queries/tokens/index.js +11 -12
  168. package/dist/react/queries/utils/index.d.ts +3 -3
  169. package/dist/react/queries/utils/index.js +20 -20
  170. package/dist/react/ssr/index.d.ts +7 -7
  171. package/dist/react/ssr/index.js +13 -16
  172. package/dist/react/ssr/index.js.map +1 -1
  173. package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.d.ts +2 -2
  174. package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.js +20 -20
  175. package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.d.ts +7 -10
  176. package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.js +37 -38
  177. package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +4 -4
  178. package/dist/react/ui/components/marketplace-collectible-card/index.js +37 -38
  179. package/dist/react/ui/components/marketplace-collectible-card/utils/index.d.ts +2 -2
  180. package/dist/react/ui/components/marketplace-collectible-card/utils/index.js +11 -11
  181. package/dist/react/ui/components/marketplace-logos/index.d.ts +21 -21
  182. package/dist/react/ui/components/marketplace-logos/index.js +1 -1
  183. package/dist/react/ui/icons/index.js +14 -14
  184. package/dist/react/ui/index.d.ts +4 -4
  185. package/dist/react/ui/index.js +37 -38
  186. package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +2 -2
  187. package/dist/react/ui/modals/_internal/components/actionModal/index.js +37 -38
  188. package/dist/react/utils/index.d.ts +1 -1
  189. package/dist/react/utils/index.js +7 -7
  190. package/dist/{react-DE852KeT.js → react.js} +720 -926
  191. package/dist/react.js.map +1 -0
  192. package/dist/{sequence-paCCener.js → sequence.js} +1 -1
  193. package/dist/sequence.js.map +1 -0
  194. package/dist/{src-Dz2CfBL0.js → src.js} +2 -2
  195. package/dist/src.js.map +1 -0
  196. package/dist/styles/index.css +1 -1
  197. package/dist/{sudo-swap-9rH2EgfT.js → sudo-swap.js} +1 -1
  198. package/dist/sudo-swap.js.map +1 -0
  199. package/dist/{super-rare-DHIuWtRw.js → super-rare.js} +1 -1
  200. package/dist/super-rare.js.map +1 -0
  201. package/dist/{token-Cv7l2ZaL.js → token.js} +2 -2
  202. package/dist/token.js.map +1 -0
  203. package/dist/{tokenBalances-ibDerNmM.js → tokenBalances.js} +4 -11
  204. package/dist/tokenBalances.js.map +1 -0
  205. package/dist/{tokenSupplies-Bfe8RHzI.d.ts → tokenSupplies.d.ts} +19 -30
  206. package/dist/{tokens-cGxMadd8.js → tokens.js} +47 -22
  207. package/dist/tokens.js.map +1 -0
  208. package/dist/{transaction-DZUW5RHu.js → transaction.js} +2 -2
  209. package/dist/transaction.js.map +1 -0
  210. package/dist/types/index.d.ts +1 -1
  211. package/dist/types/index.js +3 -3
  212. package/dist/{types-D2TJ1dwv.d.ts → types.d.ts} +3 -3
  213. package/dist/{types-B_-cnkcP.js → types.js} +2 -2
  214. package/dist/types.js.map +1 -0
  215. package/dist/utils/abi/index.d.ts +4 -4
  216. package/dist/utils/abi/index.js +4 -4
  217. package/dist/utils/abi/marketplace/index.d.ts +1 -1
  218. package/dist/utils/abi/marketplace/index.js +1 -1
  219. package/dist/utils/abi/primary-sale/index.d.ts +1 -1
  220. package/dist/utils/abi/primary-sale/index.js +1 -1
  221. package/dist/utils/abi/token/index.d.ts +1 -1
  222. package/dist/utils/abi/token/index.js +1 -1
  223. package/dist/utils/index.d.ts +7 -7
  224. package/dist/utils/index.js +13 -13
  225. package/dist/{utils-BfpDVibN.js → utils.js} +42 -4
  226. package/dist/utils.js.map +1 -0
  227. package/dist/{utils-BCgNhBFR.js → utils2.js} +11 -5
  228. package/dist/utils2.js.map +1 -0
  229. package/dist/{utils-BqxcalL2.js → utils3.js} +3 -3
  230. package/dist/utils3.js.map +1 -0
  231. package/dist/{waitForTransactionReceipt-DieAnV52.js → waitForTransactionReceipt.js} +3 -3
  232. package/dist/waitForTransactionReceipt.js.map +1 -0
  233. package/dist/{x2y2-45WDooeh.js → x2y2.js} +1 -1
  234. package/dist/x2y2.js.map +1 -0
  235. package/dist/{zora-CbeBoLvQ.js → zora.js} +1 -1
  236. package/dist/zora.js.map +1 -0
  237. package/package.json +42 -42
  238. package/src/react/_internal/api/__mocks__/marketplace.msw.ts +13 -0
  239. package/src/react/_internal/api/index.ts +0 -1
  240. package/src/react/_internal/api/marketplace.gen.ts +70 -26
  241. package/src/react/_internal/api/query-keys.ts +9 -0
  242. package/src/react/_internal/wagmi/get-connectors.ts +12 -1
  243. package/src/react/hooks/data/collectibles/useBalanceOfCollectible.tsx +0 -9
  244. package/src/react/hooks/data/collectibles/useListCollectibles.tsx +1 -16
  245. package/src/react/hooks/data/collectibles/useTokenBalances.tsx +0 -9
  246. package/src/react/hooks/data/collections/index.ts +2 -0
  247. package/src/react/hooks/data/collections/useCollectionActiveListingsCurrencies.test.tsx +112 -0
  248. package/src/react/hooks/data/collections/useCollectionActiveListingsCurrencies.tsx +74 -0
  249. package/src/react/hooks/data/collections/useCollectionActiveOffersCurrencies.test.tsx +110 -0
  250. package/src/react/hooks/data/collections/useCollectionActiveOffersCurrencies.tsx +74 -0
  251. package/src/react/hooks/data/inventory/useInventory.tsx +1 -10
  252. package/src/react/hooks/data/market/useMarketCurrencies.test.tsx +31 -2
  253. package/src/react/hooks/data/primary-sales/index.ts +1 -0
  254. package/src/react/hooks/data/primary-sales/usePrimarySaleItem.tsx +71 -0
  255. package/src/react/hooks/data/tokens/useListBalances.tsx +1 -10
  256. package/src/react/hooks/data/tokens/useTokenSupplies.ts +1 -13
  257. package/src/react/hooks/transactions/useGenerateOfferTransaction.test.tsx +2 -0
  258. package/src/react/hooks/transactions/useProcessStep.test.tsx +8 -6
  259. package/src/react/hooks/transactions/useProcessStep.ts +8 -6
  260. package/src/react/hooks/utils/useComparePrices.test.tsx +1 -1
  261. package/src/react/providers/modal-provider.tsx +2 -1
  262. package/src/react/queries/collectibles/balanceOfCollectible.ts +1 -15
  263. package/src/react/queries/collectibles/listCollectibles.ts +1 -54
  264. package/src/react/queries/collectibles/tokenBalances.ts +1 -15
  265. package/src/react/queries/collections/activeListingsCurrencies.ts +84 -0
  266. package/src/react/queries/collections/activeOffersCurrencies.ts +84 -0
  267. package/src/react/queries/collections/index.ts +2 -0
  268. package/src/react/queries/inventory/inventory.ts +2 -9
  269. package/src/react/queries/market/marketCurrencies.ts +8 -1
  270. package/src/react/queries/primary-sales/index.ts +1 -0
  271. package/src/react/queries/primary-sales/primarySaleItem.ts +80 -0
  272. package/src/react/queries/tokens/listBalances.ts +1 -21
  273. package/src/react/queries/tokens/tokenSupplies.ts +2 -31
  274. package/src/react/queries/utils/comparePrices.ts +13 -1
  275. package/src/react/ui/components/_internals/action-button/ActionButton.stories.tsx +2 -0
  276. package/src/react/ui/components/marketplace-collectible-card/components/footer/Footer.tsx +4 -18
  277. package/src/react/ui/components/marketplace-collectible-card/variants/MarketCard.tsx +2 -2
  278. package/src/react/ui/components/marketplace-collectible-card/variants/ShopCard.tsx +0 -2
  279. package/src/react/ui/modals/BuyModal/__tests__/BuyModalRouter.test.tsx +3 -0
  280. package/src/react/ui/modals/BuyModal/__tests__/ERC1155ShopModal.test.tsx +152 -141
  281. package/src/react/ui/modals/BuyModal/__tests__/Modal1155.test.tsx +1 -0
  282. package/src/react/ui/modals/BuyModal/components/ERC1155ShopModal.tsx +44 -60
  283. package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC1155SalePaymentParams.test.tsx +381 -0
  284. package/src/react/ui/modals/BuyModal/hooks/useERC1155SalePaymentParams.ts +257 -0
  285. package/src/react/ui/modals/BuyModal/hooks/usePaymentModalParams.ts +0 -23
  286. package/src/react/ui/modals/MakeOfferModal/Modal.tsx +22 -2
  287. package/src/react/ui/modals/MakeOfferModal/__tests__/Modal.test.tsx +2 -0
  288. package/src/react/ui/modals/MakeOfferModal/hooks/useGetTokenApproval.tsx +2 -0
  289. package/src/react/ui/modals/MakeOfferModal/hooks/useTransactionSteps.tsx +2 -0
  290. package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/index.tsx +1 -1
  291. package/src/react/ui/modals/TransferModal/index.tsx +24 -2
  292. package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +15 -12
  293. package/src/react/ui/modals/_internal/components/floorPriceText/__tests__/FloorPriceText.test.tsx +2 -0
  294. package/src/react/ui/modals/_internal/components/floorPriceText/index.tsx +1 -1
  295. package/src/react/ui/modals/_internal/components/priceInput/index.tsx +148 -11
  296. package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +1 -1
  297. package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/utils.test.ts +2 -0
  298. package/src/styles/styles.ts +2 -2
  299. package/src/utils/networkconfigToWagmiChain.ts +7 -0
  300. package/src/utils/price.ts +58 -0
  301. package/test/const.ts +2 -0
  302. package/test/server-setup.ts +0 -2
  303. package/tsdown.config.ts +1 -0
  304. package/.changeset/honest-peas-arrive.md +0 -5
  305. package/.changeset/real-tips-stick.md +0 -8
  306. package/.changeset/tall-pandas-wear.md +0 -8
  307. package/dist/BellIcon-ByhygxBO.js.map +0 -1
  308. package/dist/CartIcon-Bt3rQYGk.js.map +0 -1
  309. package/dist/CollectibleCard-CVpdgXA8.d.ts +0 -8
  310. package/dist/_internal-DkS2VUn5.js.map +0 -1
  311. package/dist/abi-fa-o9gH3.js.map +0 -1
  312. package/dist/alien_swap-DoY6XfMA.js.map +0 -1
  313. package/dist/api-BoO0V5aJ.js.map +0 -1
  314. package/dist/aqua-xyz-BBDxnG14.js.map +0 -1
  315. package/dist/aura-DGx2zwvF.js.map +0 -1
  316. package/dist/blur-D8GKrRrq.js.map +0 -1
  317. package/dist/builder-api-BFuZNOaN.js.map +0 -1
  318. package/dist/builder.gen-B9wR2nvF.js.map +0 -1
  319. package/dist/coinbase-DOry4PXY.js.map +0 -1
  320. package/dist/collectibles-C_H8jMGH.js.map +0 -1
  321. package/dist/collections-CKummc-R.js.map +0 -1
  322. package/dist/components-CosnX7F9.js.map +0 -1
  323. package/dist/contracts-BP_0vX48.js.map +0 -1
  324. package/dist/create-config-CIfejoCk.js.map +0 -1
  325. package/dist/element-ciybd_VF.js.map +0 -1
  326. package/dist/foundation-Bq4lRz4x.js.map +0 -1
  327. package/dist/index-DNNUeZEq.d.ts +0 -18
  328. package/dist/inventory-Dd7TazvZ.js.map +0 -1
  329. package/dist/listBalances-BxpxBCvn.js +0 -57
  330. package/dist/listBalances-BxpxBCvn.js.map +0 -1
  331. package/dist/looks-rare-6H--x3AM.js.map +0 -1
  332. package/dist/magic-eden-BoxEQ1Li.js.map +0 -1
  333. package/dist/manifold-DycKsljb.js.map +0 -1
  334. package/dist/market-C3HV-awQ.js.map +0 -1
  335. package/dist/marketCurrencies-sKrTX0og.js.map +0 -1
  336. package/dist/marketplace-NQB-sEQL.js.map +0 -1
  337. package/dist/marketplace-logos-D4dS1Foy.js.map +0 -1
  338. package/dist/marketplace.gen-ksUafDqS.js.map +0 -1
  339. package/dist/marketplaceConfig-UHQMM9fq.js.map +0 -1
  340. package/dist/mintify-Dyqyo8jQ.js.map +0 -1
  341. package/dist/network-DtmiMhcg.js.map +0 -1
  342. package/dist/networkconfigToWagmiChain-DbUf6HiO.js.map +0 -1
  343. package/dist/nftx-2LbFjj9Q.js.map +0 -1
  344. package/dist/okx-CBEWJNsR.js.map +0 -1
  345. package/dist/open-sea-Dxntz_PA.js.map +0 -1
  346. package/dist/orders-DnFfZAXV.js.map +0 -1
  347. package/dist/primary-sale-1u4QlPdA.js.map +0 -1
  348. package/dist/primary-sales-Dmsi6bqj.js.map +0 -1
  349. package/dist/rarible-CS0SupHr.js.map +0 -1
  350. package/dist/react-DE852KeT.js.map +0 -1
  351. package/dist/sequence-paCCener.js.map +0 -1
  352. package/dist/src-Dz2CfBL0.js.map +0 -1
  353. package/dist/sudo-swap-9rH2EgfT.js.map +0 -1
  354. package/dist/super-rare-DHIuWtRw.js.map +0 -1
  355. package/dist/token-Cv7l2ZaL.js.map +0 -1
  356. package/dist/tokenBalances-ibDerNmM.js.map +0 -1
  357. package/dist/tokens-cGxMadd8.js.map +0 -1
  358. package/dist/transaction-DZUW5RHu.js.map +0 -1
  359. package/dist/types-B_-cnkcP.js.map +0 -1
  360. package/dist/utils-BCgNhBFR.js.map +0 -1
  361. package/dist/utils-BfpDVibN.js.map +0 -1
  362. package/dist/utils-BqxcalL2.js.map +0 -1
  363. package/dist/waitForTransactionReceipt-DieAnV52.js.map +0 -1
  364. package/dist/x2y2-45WDooeh.js.map +0 -1
  365. package/dist/zora-CbeBoLvQ.js.map +0 -1
  366. package/src/react/_internal/api/__mocks__/laos.msw.ts +0 -387
  367. package/src/react/_internal/api/__tests__/laos-api.test.ts +0 -756
  368. package/src/react/_internal/api/laos-api.ts +0 -106
  369. package/src/react/hooks/data/collectibles/useBalanceOfCollectible.laos.test.tsx +0 -367
  370. package/src/react/queries/collectibles/__tests__/balanceOfCollectible.laos.test.ts +0 -123
  371. package/src/react/queries/collectibles/__tests__/tokenBalances.laos.test.ts +0 -123
  372. package/src/react/queries/inventory/__tests__/inventory.laos.test.ts +0 -499
  373. package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC1155Checkout.test.tsx +0 -395
  374. package/src/react/ui/modals/BuyModal/hooks/useERC1155Checkout.ts +0 -103
  375. package/src/react/ui/modals/_internal/constants/opensea-currencies.ts +0 -481
  376. /package/dist/{index-6wsMChsg.d.ts → index15.d.ts} +0 -0
  377. /package/dist/{index-CZUtOTjh.d.ts → index18.d.ts} +0 -0
  378. /package/dist/{index-DW3njUfb.d.ts → index20.d.ts} +0 -0
  379. /package/dist/{index-DewGsFz5.d.ts → index22.d.ts} +0 -0
  380. /package/dist/{queries-KOcILNJO.js → queries.js} +0 -0
  381. /package/dist/{wagmi-Bseovd6Q.js → wagmi.js} +0 -0
@@ -1,9 +1,9 @@
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-0391bc2ece6d83092773039f15d1ea60ebfc32bf;marketplace-sdk@v1.1.1";
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
- const WebRPCSchemaHash = "0391bc2ece6d83092773039f15d1ea60ebfc32bf";
6
+ const WebRPCSchemaHash = "1ecb14ce28259b0a60c8b90d3e247aced7bcdfad";
7
7
  function VersionFromHeader(headers) {
8
8
  const headerValue = headers.get(WebrpcHeader);
9
9
  if (!headerValue) return {
@@ -77,6 +77,7 @@ let OrderbookKind = /* @__PURE__ */ function(OrderbookKind$1) {
77
77
  OrderbookKind$1["looks_rare"] = "looks_rare";
78
78
  OrderbookKind$1["reservoir"] = "reservoir";
79
79
  OrderbookKind$1["x2y2"] = "x2y2";
80
+ OrderbookKind$1["magic_eden"] = "magic_eden";
80
81
  return OrderbookKind$1;
81
82
  }({});
82
83
  let SourceKind = /* @__PURE__ */ function(SourceKind$1) {
@@ -85,6 +86,7 @@ let SourceKind = /* @__PURE__ */ function(SourceKind$1) {
85
86
  SourceKind$1["sequence_marketplace_v1"] = "sequence_marketplace_v1";
86
87
  SourceKind$1["sequence_marketplace_v2"] = "sequence_marketplace_v2";
87
88
  SourceKind$1["opensea"] = "opensea";
89
+ SourceKind$1["magic_eden"] = "magic_eden";
88
90
  return SourceKind$1;
89
91
  }({});
90
92
  let OrderSide = /* @__PURE__ */ function(OrderSide$1) {
@@ -114,7 +116,6 @@ let ContractType = /* @__PURE__ */ function(ContractType$1) {
114
116
  ContractType$1["ERC20"] = "ERC20";
115
117
  ContractType$1["ERC721"] = "ERC721";
116
118
  ContractType$1["ERC1155"] = "ERC1155";
117
- ContractType$1["LAOS_ERC_721"] = "LAOS_ERC_721";
118
119
  return ContractType$1;
119
120
  }({});
120
121
  let CollectionPriority = /* @__PURE__ */ function(CollectionPriority$1) {
@@ -422,6 +423,24 @@ var Marketplace = class {
422
423
  throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ""}` });
423
424
  });
424
425
  };
426
+ getCollectionActiveListingsCurrencies = (args, headers, signal) => {
427
+ return this.fetch(this.url("GetCollectionActiveListingsCurrencies"), createHTTPRequest(args, headers, signal)).then((res) => {
428
+ return buildResponse(res).then((_data) => {
429
+ return { currencies: _data.currencies };
430
+ });
431
+ }, (error) => {
432
+ throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ""}` });
433
+ });
434
+ };
435
+ getCollectionActiveOffersCurrencies = (args, headers, signal) => {
436
+ return this.fetch(this.url("GetCollectionActiveOffersCurrencies"), createHTTPRequest(args, headers, signal)).then((res) => {
437
+ return buildResponse(res).then((_data) => {
438
+ return { currencies: _data.currencies };
439
+ });
440
+ }, (error) => {
441
+ throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error.message || ""}` });
442
+ });
443
+ };
425
444
  getCollectible = (args, headers, signal) => {
426
445
  return this.fetch(this.url("GetCollectible"), createHTTPRequest(args, headers, signal)).then((res) => {
427
446
  return buildResponse(res).then((_data) => {
@@ -878,10 +897,7 @@ const buildResponse = (res) => {
878
897
  cause: `JSON.parse(): ${message}: response text: ${text}`
879
898
  });
880
899
  }
881
- if (!res.ok) {
882
- const code = typeof data.code === "number" ? data.code : 0;
883
- throw (webrpcErrorByCode[code] || WebrpcError).new(data);
884
- }
900
+ if (!res.ok) throw (webrpcErrorByCode[typeof data.code === "number" ? data.code : 0] || WebrpcError).new(data);
885
901
  return data;
886
902
  });
887
903
  };
@@ -1124,5 +1140,5 @@ const webrpcErrorByCode = {
1124
1140
  };
1125
1141
 
1126
1142
  //#endregion
1127
- export { ActivityAction, Admin, CollectibleSource, CollectibleStatus, CollectionPriority, CollectionStatus, ContractType, CurrencyStatus, ExecuteType, InvalidArgumentError, InvalidTierError, ItemsContractStatus, Marketplace, MarketplaceKind, MetadataStatus, MethodNotFoundError, NotFoundError, NotImplementedError, OfferType, OrderSide, OrderStatus, OrderbookKind, PermissionDeniedError, PrimarySaleContractStatus, PrimarySaleItemDetailType, PrimarySaleVersion, ProjectLimitReachedError, ProjectNotFoundError, ProjectStatus, PropertyType, SessionExpiredError, SortOrder, SourceKind, StepType, TimeoutError, TransactionCrypto, TransactionNFTCheckoutProvider, TransactionOnRampProvider, TransactionSwapProvider, UnauthorizedError, UserNotFoundError, VersionFromHeader, WalletKind, WebRPCSchemaHash, WebRPCSchemaVersion, WebRPCVersion, WebrpcBadMethodError, WebrpcBadRequestError, WebrpcBadResponseError, WebrpcBadRouteError, WebrpcClientDisconnectedError, WebrpcEndpointError, WebrpcError, WebrpcErrorCodes, WebrpcHeader, WebrpcHeaderValue, WebrpcInternalErrorError, WebrpcRequestFailedError, WebrpcServerPanicError, WebrpcStreamFinishedError, WebrpcStreamLostError, errors, webrpcErrorByCode };
1128
- //# sourceMappingURL=marketplace.gen-ksUafDqS.js.map
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;;;AAGF,IAAY,kFAAL;AACL;AACA;AACA;;;AAkiCF,IAAa,QAAb,MAAoC;CAClC,AAAU;CACV,AAAU;CACV,AAAU,OAAO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AAiC,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 { EIP2981_ABI, SequenceMarketplaceV1_ABI, SequenceMarketplaceV2_ABI };
1913
- //# sourceMappingURL=marketplace-NQB-sEQL.js.map
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,EAC9D;EAAE,cAAc;EAAW,MAAM;EAAiB,MAAM;EAAW,CACnE;CACD,iBAAiB;CACjB,MAAM;CACN,CACD;;;;ACdD,MAAa,4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,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;IACN;GACD;IAAE,SAAS;IAAO,cAAc;IAAQ,MAAM;IAAa,MAAM;IAAQ;GACzE;IACC,SAAS;IACT,cAAc;IACd,MAA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AE;EACV,SAAS,EAAE;EACX,iBAAiB;EACjB;CACD;EACC,MAAM;EACN,MAAM;EACN,QAAQ;GACP;IACC,MAAM;IACN,MAAM;IACN,cAAc;IACd;GACD;IAAE,MAAM;IAAa,MAAM;IAAW,cAAc;IAAW;GAC/D;IAAE,MAAM;IAAO,MAAM;IAAU,cAAc;IAAU;GACvD;EACD,SAAS,EAAE;EACX,iBAAiB;EACjB;CACD;EACC,MAAM;EACN,MAAM;EACN,QAAQ,CAAC;GAAE,MAAM;GAAY,MAAM;GAAW,cAAc;GAAW,CAAC;EACxE,SAAS,EAAE;EACX,iBAAiB;EACjB;CACD;EACC,MAAM;EACN,MAAM;EACN,QAAQ,CACP;GACC,MAAM;GACN,MAAM;GACN,cAAc;GACd,CACD;EACD,SAAS,EAAE;EACX,iBAAiB;EACjB;CACD;EACC,MAAM;EACN,MAAM;EACN,QAAQ,CACP;GACC,MAAM;GACN,MAAM;GACN,cAAc;GACd,EACD;GAAE,MAAM;GAAQ,MAAM;GAAS,cAAc;GAAS,CACtD;EACD,SAAS,EAAE;EACX,iBAAiB;EACjB;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,CACP;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;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,MAAM;IACN,MAAM;IACN,SAAS;IACT,cAAc;IACd;GACD;IACC,MAAM;IACN,MAAM;IACN,SAAS;IACT,cAAc;IACd;GACD;IACC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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-BoO0V5aJ.js";
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
@@ -77,5 +77,5 @@ const marketplaceConfigOptions = (config) => {
77
77
  };
78
78
 
79
79
  //#endregion
80
- export { fetchMarketplaceConfig, marketplaceConfigOptions };
81
- //# sourceMappingURL=marketplaceConfig-UHQMM9fq.js.map
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"}
@@ -3,4 +3,4 @@ var mintify_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAY
3
3
 
4
4
  //#endregion
5
5
  export { mintify_default as default };
6
- //# sourceMappingURL=mintify-Dyqyo8jQ.js.map
6
+ //# sourceMappingURL=mintify.js.map
@@ -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/u8Bas9OyOqluWnkdpmHiwmYeJ5iQA0ds5v58qcxhnBYgQGHuwGYeI5iKAs67hXciahPDBE2gSNAcBnP0N70TTEEJjCSCTyYAnHpcN7zWkRoFa04k0XyQwstS9jZQRGkMAQpUztHso9QfQhiCwB6AZjyCbzSFmxE8Akt0bj6Px+nuzgYYFbXfcgmJ8BGD2+vspxa+jDX9wPIwPD9+LmBAPAcixXjuIdq8PC+IG6ZE4ZAMNUSOzgax32qtoN34toA5TeBWZ9ZFzywSixIXr99Dfh+jXiTZqhaizm7FsEJgYfx4RIZohQIz3pnp3O9qoA4S6qO+OQkuoPwGY4/0P6G4L2qgnIpEL6ksAbWEvatSdCOpHAO3Gjwt1JYL6EEC78eNG3Yhg6QTQbvxGoS5EsDQCkNJ+W8dvIMbAjJGlaAdLMwRJVa/d+A3ElnIbLBqLNwRl1tP8Pb6G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iSYU9LoBVGSbsSDko9MEd8cJfD9gzv/JrOWZr+GqlV4vdCfQhAwFQPhaUwgzaiRLnnL73xBepHAAJtIogadW18gfoeCiC2mTNjBG2ZIAqM1bvxBep/KoRJBFulehI0++oJh13bbx+iLQirHpfTzenOAtLwi9827xCCkYbhter6f3s6+2THqnPjC0TzURyx0TQ3/i8ts46gmSEndw7vlnUaAaL9KlJufJQshhMwLYadaKMWkIrN7l6shS8s6isE+qEtHNaKbBTjvRfiORlKyAVimpIRO6sFi13qHWq8RXiwRYTxi6OaH8Hy5Wqe6BvfSjJemCuLxExiBm2oyMrtWyFX8tQL8X0Z0YJcWbRsL/XuPNAWECUYzeYxgxr/8DuIGfFzABXmkvM9v7Qzikwc1pjaHRe798wCmgFigQn4/TT+ZexzA8x7Pb0FP/u56QjX6g7F5L/gRYk70D9bCAMlTxUP3J20Ot9hnysYpZsH42b3XmgOArBgrjS6H2erfCB7fHM0vIXmIgALQlCUHKG5t6SFRhM2vIXmJAALUkZgD9DvOjk8NArOoScccqbam9iH7PtNu2imuQlARWYDCYrG7TS/vgPNuyI5J+32YHubsbd7oXUIQIUcIvRdlP0rYPvOQUNA+rs4Z1mjhi+NLXWFTtxoTQJQYaqSRARCXhAEwQVBRMUhcuZqHDwP+Y2F1GgjVbh6oPUJwAuZTYIgiAgMQQwZKuZaSKIgN05XxjKmR+5cFpaVzuJrqvKeT5hX8Zwaa/XG9sL/A5Zh6ymsxBujAAAAAElFTkSuQmCC\""],"mappings":";sBAAA"}
@@ -1,4 +1,4 @@
1
- import { MissingConfigError } from "./transaction-DZUW5RHu.js";
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 { getNetwork, getPresentableChainName };
15
- //# sourceMappingURL=network-DtmiMhcg.js.map
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"}