@0xsequence/marketplace-sdk 1.2.1 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.storybook/preview.tsx +4 -7
- package/CHANGELOG.md +179 -0
- package/compile-tailwind.js +1 -1
- package/dist/BellIcon.js +7 -4
- package/dist/BellIcon.js.map +1 -1
- package/dist/Card.js +831 -0
- package/dist/Card.js.map +1 -0
- package/dist/ShopCard.d.ts +83 -0
- package/dist/_internal.js +57 -1
- package/dist/_internal.js.map +1 -1
- package/dist/abi.js +24 -1
- package/dist/abi.js.map +1 -1
- package/dist/alertMessage.js +29 -0
- package/dist/alertMessage.js.map +1 -0
- package/dist/api.js +95 -108
- package/dist/api.js.map +1 -1
- package/dist/builder-api.js +17 -4
- package/dist/builder-api.js.map +1 -1
- package/dist/calendar.js +51 -0
- package/dist/calendar.js.map +1 -0
- package/dist/checkout.js +52 -0
- package/dist/checkout.js.map +1 -0
- package/dist/collectible.js +620 -0
- package/dist/collectible.js.map +1 -0
- package/dist/collection.js +396 -0
- package/dist/collection.js.map +1 -0
- package/dist/{marketplaceConfig.js → config.js} +25 -31
- package/dist/config.js.map +1 -0
- package/dist/consts.d.ts +7 -0
- package/dist/consts.js +8 -0
- package/dist/consts.js.map +1 -0
- package/dist/contracts.js +22 -2
- package/dist/contracts.js.map +1 -1
- package/dist/create-config.d.ts +12037 -1801
- package/dist/create-config.js +9 -7
- package/dist/create-config.js.map +1 -1
- package/dist/currency.js +186 -0
- package/dist/currency.js.map +1 -0
- package/dist/currencyImage.js +28 -0
- package/dist/currencyImage.js.map +1 -0
- package/dist/dist.js +2771 -0
- package/dist/dist.js.map +1 -0
- package/dist/expirationDateSelect.js +245 -0
- package/dist/expirationDateSelect.js.map +1 -0
- package/dist/filter-state.d.ts +153 -0
- package/dist/filters.d.ts +14 -45
- package/dist/hooks.js +26 -0
- package/dist/hooks.js.map +1 -0
- package/dist/hooks2.js +24 -0
- package/dist/hooks2.js.map +1 -0
- package/dist/index.d.ts +12 -8
- package/dist/index.js +7 -10
- package/dist/index10.d.ts +39 -261
- package/dist/index11.d.ts +461 -220
- package/dist/index12.d.ts +511 -85
- package/dist/index13.d.ts +17 -493
- package/dist/index14.d.ts +15 -66
- package/dist/index15.d.ts +25 -1
- package/dist/index16.d.ts +5 -47
- package/dist/index17.d.ts +840 -108
- package/dist/index18.d.ts +552 -1
- package/dist/index19.d.ts +317 -147
- package/dist/index2.d.ts +2172 -5
- package/dist/index21.d.ts +306 -93
- package/dist/index22.d.ts +230 -1
- package/dist/index23.d.ts +323 -797
- package/dist/index24.d.ts +22 -445
- package/dist/index25.d.ts +1 -357
- package/dist/index26.d.ts +20 -151
- package/dist/index27.d.ts +18 -794
- package/dist/index28.d.ts +109 -58
- package/dist/index29.d.ts +1 -24
- package/dist/index3.d.ts +2212 -51
- package/dist/index30.d.ts +1 -0
- package/dist/index31.d.ts +48 -0
- package/dist/index32.d.ts +1 -0
- package/dist/index33.d.ts +56 -0
- package/dist/index34.d.ts +99 -0
- package/dist/index35.d.ts +171 -0
- package/dist/index36.d.ts +131 -0
- package/dist/index37.d.ts +137 -0
- package/dist/index38.d.ts +85 -0
- package/dist/index39.d.ts +91 -0
- package/dist/index4.d.ts +2634 -17
- package/dist/index40.d.ts +46 -0
- package/dist/index5.d.ts +535 -2267
- package/dist/index6.d.ts +2025 -1287
- package/dist/index7.d.ts +1798 -116
- package/dist/index8.d.ts +123 -12
- package/dist/index9.d.ts +42 -56
- package/dist/inventory.d.ts +46 -0
- package/dist/inventory.js +58 -35
- package/dist/inventory.js.map +1 -1
- package/dist/marketplace-logos.js +1 -1
- package/dist/marketplace-logos.js.map +1 -1
- package/dist/marketplace2.js +70 -0
- package/dist/marketplace2.js.map +1 -0
- package/dist/metadata.d.ts +733 -0
- package/dist/network.js +1 -1
- package/dist/networkconfigToWagmiChain.js.map +1 -1
- package/dist/primary-sale-checkout-options.d.ts +29 -0
- package/dist/quantityInput.js +93 -0
- package/dist/quantityInput.js.map +1 -0
- package/dist/ranges.d.ts +125 -0
- package/dist/react/_internal/api/index.d.ts +5 -2
- package/dist/react/_internal/api/index.js +4 -7
- package/dist/react/_internal/databeat/index.d.ts +4 -1
- package/dist/react/_internal/databeat/index.js +4 -37
- package/dist/react/_internal/index.d.ts +5 -2
- package/dist/react/_internal/index.js +5 -10
- package/dist/react/_internal/wagmi/index.d.ts +4 -1
- package/dist/react/_internal/wagmi/index.js +1 -4
- package/dist/react/hooks/_deprecated/index.d.ts +47 -0
- package/dist/react/hooks/_deprecated/index.js +4 -0
- package/dist/react/hooks/checkout/index.d.ts +7 -0
- package/dist/react/hooks/checkout/index.js +7 -0
- package/dist/react/hooks/collectible/index.d.ts +7 -0
- package/dist/react/hooks/collectible/index.js +7 -0
- package/dist/react/hooks/collection/index.d.ts +11 -0
- package/dist/react/hooks/collection/index.js +7 -0
- package/dist/react/hooks/config/index.d.ts +5 -4
- package/dist/react/hooks/config/index.js +4 -37
- package/dist/react/hooks/contracts/index.d.ts +4 -7
- package/dist/react/hooks/contracts/index.js +3 -16
- package/dist/react/hooks/currency/index.d.ts +47 -0
- package/dist/react/hooks/currency/index.js +7 -0
- package/dist/react/hooks/index.d.ts +41 -31
- package/dist/react/hooks/index.js +14 -38
- package/dist/react/hooks/inventory/index.d.ts +7 -0
- package/dist/react/hooks/inventory/index.js +4 -0
- package/dist/react/hooks/token/index.d.ts +7 -0
- package/dist/react/hooks/token/index.js +7 -0
- package/dist/react/hooks/transactions/index.d.ts +5 -2
- package/dist/react/hooks/transactions/index.js +5 -38
- package/dist/react/hooks/ui/card-data/index.d.ts +8 -0
- package/dist/react/hooks/ui/card-data/index.js +4 -0
- package/dist/react/hooks/ui/index.d.ts +9 -3
- package/dist/react/hooks/ui/index.js +8 -38
- package/dist/react/hooks/ui/url-state/index.d.ts +7 -0
- package/dist/react/hooks/ui/url-state/index.js +4 -0
- package/dist/react/hooks/utils/index.d.ts +3 -34
- package/dist/react/hooks/utils/index.js +5 -38
- package/dist/react/index.d.ts +45 -35
- package/dist/react/index.js +19 -37
- package/dist/react/providers/index.d.ts +6 -0
- package/dist/react/providers/index.js +6 -0
- package/dist/react/queries/checkout/index.d.ts +7 -0
- package/dist/react/queries/checkout/index.js +4 -0
- package/dist/react/queries/collectible/index.d.ts +7 -0
- package/dist/react/queries/collectible/index.js +5 -0
- package/dist/react/queries/collection/index.d.ts +11 -0
- package/dist/react/queries/collection/index.js +4 -0
- package/dist/react/queries/currency/index.d.ts +6 -0
- package/dist/react/queries/currency/index.js +4 -0
- package/dist/react/queries/index.d.ts +20 -21
- package/dist/react/queries/index.js +11 -30
- package/dist/react/queries/inventory/index.d.ts +6 -2
- package/dist/react/queries/inventory/index.js +3 -21
- package/dist/react/queries/marketplace/index.d.ts +7 -0
- package/dist/react/queries/marketplace/index.js +5 -0
- package/dist/react/queries/token/index.d.ts +7 -0
- package/dist/react/queries/token/index.js +4 -0
- package/dist/react/ssr/index.d.ts +12 -24
- package/dist/react/ssr/index.js +13 -33
- package/dist/react/ui/components/marketplace-collectible-card/ActionButton/index.d.ts +6 -0
- package/dist/react/ui/components/marketplace-collectible-card/ActionButton/index.js +6 -0
- package/dist/react/ui/components/marketplace-collectible-card/Card/index.d.ts +10 -0
- package/dist/react/ui/components/marketplace-collectible-card/Card/index.js +6 -0
- package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +44 -4
- package/dist/react/ui/components/marketplace-collectible-card/index.js +6 -38
- package/dist/react/ui/components/marketplace-collectible-card/utils/index.d.ts +5 -2
- package/dist/react/ui/components/marketplace-collectible-card/utils/index.js +3 -12
- package/dist/react/ui/components/marketplace-logos/index.d.ts +23 -22
- package/dist/react/ui/hooks/index.d.ts +47 -0
- package/dist/react/ui/hooks/index.js +15 -0
- package/dist/react/ui/icons/index.d.ts +3 -1
- package/dist/react/ui/icons/index.js +3 -14
- package/dist/react/ui/index.d.ts +47 -5
- package/dist/react/ui/index.js +6 -38
- package/dist/react/ui/modals/BuyModal/index.d.ts +47 -0
- package/dist/react/ui/modals/BuyModal/index.js +4 -0
- package/dist/react/ui/modals/CreateListingModal/index.d.ts +4 -0
- package/dist/react/ui/modals/CreateListingModal/index.js +6 -0
- package/dist/react/ui/modals/CreateListingModal/internal/hooks/index.d.ts +190 -0
- package/dist/react/ui/modals/CreateListingModal/internal/hooks/index.js +4 -0
- package/dist/react/ui/modals/MakeOfferModal/index.d.ts +4 -0
- package/dist/react/ui/modals/MakeOfferModal/index.js +4 -0
- package/dist/react/ui/modals/MakeOfferModal/internal/hooks/index.d.ts +188 -0
- package/dist/react/ui/modals/MakeOfferModal/internal/hooks/index.js +3 -0
- package/dist/react/ui/modals/SellModal/index.d.ts +6 -0
- package/dist/react/ui/modals/SellModal/index.js +6 -0
- package/dist/react/ui/modals/TransferModal/index.d.ts +47 -0
- package/dist/react/ui/modals/TransferModal/index.js +6 -0
- package/dist/react/ui/modals/_internal/components/alertMessage/index.d.ts +14 -0
- package/dist/react/ui/modals/_internal/components/alertMessage/index.js +3 -0
- package/dist/react/ui/modals/_internal/components/baseModal/index.d.ts +144 -0
- package/dist/react/ui/modals/_internal/components/baseModal/index.js +6 -0
- package/dist/react/ui/modals/_internal/components/calendar/index.d.ts +73 -0
- package/dist/react/ui/modals/_internal/components/calendar/index.js +5 -0
- package/dist/react/ui/modals/_internal/components/calendarDropdown/index.d.ts +21 -0
- package/dist/react/ui/modals/_internal/components/calendarDropdown/index.js +6 -0
- package/dist/react/ui/modals/_internal/components/currencyImage/index.d.ts +15 -0
- package/dist/react/ui/modals/_internal/components/currencyImage/index.js +5 -0
- package/dist/react/ui/modals/_internal/components/currencyOptionsSelect/index.d.ts +30 -0
- package/dist/react/ui/modals/_internal/components/currencyOptionsSelect/index.js +6 -0
- package/dist/react/ui/modals/_internal/components/expirationDateSelect/index.d.ts +2 -0
- package/dist/react/ui/modals/_internal/components/expirationDateSelect/index.js +6 -0
- package/dist/react/ui/modals/_internal/components/floorPriceText/index.d.ts +24 -0
- package/dist/react/ui/modals/_internal/components/floorPriceText/index.js +6 -0
- package/dist/react/ui/modals/_internal/components/priceInput/index.d.ts +43 -0
- package/dist/react/ui/modals/_internal/components/priceInput/index.js +6 -0
- package/dist/react/ui/modals/_internal/components/quantityInput/index.d.ts +24 -0
- package/dist/react/ui/modals/_internal/components/quantityInput/index.js +6 -0
- package/dist/react/ui/modals/_internal/components/selectWaasFeeOptions/index.d.ts +18 -0
- package/dist/react/ui/modals/_internal/components/selectWaasFeeOptions/index.js +6 -0
- package/dist/react/ui/modals/_internal/components/switchChainErrorModal/index.d.ts +14 -0
- package/dist/react/ui/modals/_internal/components/switchChainErrorModal/index.js +6 -0
- package/dist/react/ui/modals/_internal/components/timeAgo/index.d.ts +12 -0
- package/dist/react/ui/modals/_internal/components/timeAgo/index.js +5 -0
- package/dist/react/ui/modals/_internal/components/tokenPreview/index.d.ts +19 -0
- package/dist/react/ui/modals/_internal/components/tokenPreview/index.js +6 -0
- package/dist/react/ui/modals/_internal/components/transaction-footer/index.d.ts +26 -0
- package/dist/react/ui/modals/_internal/components/transaction-footer/index.js +4 -0
- package/dist/react/ui/modals/_internal/components/transactionDetails/index.d.ts +28 -0
- package/dist/react/ui/modals/_internal/components/transactionDetails/index.js +6 -0
- package/dist/react/ui/modals/_internal/components/transactionHeader/index.d.ts +16 -0
- package/dist/react/ui/modals/_internal/components/transactionHeader/index.js +3 -0
- package/dist/react/ui/modals/_internal/components/transactionPreview/index.d.ts +36 -0
- package/dist/react/ui/modals/_internal/components/transactionPreview/index.js +6 -0
- package/dist/react/ui/modals/_internal/components/transactionStatusModal/index.d.ts +27 -0
- package/dist/react/ui/modals/_internal/components/transactionStatusModal/index.js +6 -0
- package/dist/react/utils/index.d.ts +6 -19
- package/dist/react/utils/index.js +3 -8
- package/dist/react.js +12726 -9828
- package/dist/react.js.map +1 -1
- package/dist/src.js +0 -8
- package/dist/ssr.js +26 -0
- package/dist/ssr.js.map +1 -0
- package/dist/steps.d.ts +85 -0
- package/dist/styles/index.css +2056 -376
- package/dist/switchChainErrorModal.js +97 -0
- package/dist/switchChainErrorModal.js.map +1 -0
- package/dist/timeAgo.js +29 -0
- package/dist/timeAgo.js.map +1 -0
- package/dist/token-balances.d.ts +359 -0
- package/dist/token-balances.js +62 -0
- package/dist/token-balances.js.map +1 -0
- package/dist/token2.js +247 -0
- package/dist/token2.js.map +1 -0
- package/dist/transaction-footer.js +45 -0
- package/dist/transaction-footer.js.map +1 -0
- package/dist/transaction.js +1 -7
- package/dist/transaction.js.map +1 -1
- package/dist/transactionHeader.js +32 -0
- package/dist/transactionHeader.js.map +1 -0
- package/dist/types/index.d.ts +5 -2
- package/dist/types/index.js +3 -4
- package/dist/types.d.ts +26 -16
- package/dist/types.js +29 -1
- package/dist/types.js.map +1 -1
- package/dist/url-state.js +170 -0
- package/dist/url-state.js.map +1 -0
- package/dist/utils/abi/index.d.ts +6 -5
- package/dist/utils/abi/index.js +2 -2
- package/dist/utils/abi/marketplace/index.d.ts +1 -1
- package/dist/utils/abi/primary-sale/index.d.ts +1 -1
- package/dist/utils/abi/token/index.d.ts +1 -1
- package/dist/utils/index.d.ts +9 -7
- package/dist/utils/index.js +5 -9
- package/dist/utils.js +20 -9
- package/dist/utils.js.map +1 -1
- package/dist/utils2.js +64 -106
- package/dist/utils2.js.map +1 -1
- package/dist/waas-types.d.ts +19 -0
- package/dist/xstate-store.cjs.d.ts +18 -0
- package/eslint/sequence-types.js +1069 -0
- package/eslint.config.mjs +337 -9
- package/image.d.ts +5 -0
- package/package.json +49 -47
- package/postcss.config.mjs +1 -1
- package/preserve-directives.ts +235 -0
- package/public/mockServiceWorker.js +0 -1
- package/src/react/_internal/api/builder-api.ts +26 -4
- package/src/react/_internal/api/index.ts +1 -2
- package/src/react/_internal/api/marketplace-api.ts +57 -25
- package/src/react/_internal/api/services.ts +56 -4
- package/src/react/_internal/api-mocks.ts +8 -0
- package/src/react/_internal/databeat/index.ts +4 -0
- package/src/react/_internal/databeat/types.ts +24 -28
- package/src/react/_internal/index.ts +70 -0
- package/src/react/_internal/query-builder.ts +203 -0
- package/src/react/_internal/types.ts +88 -18
- package/src/react/_internal/utils.ts +34 -52
- package/src/react/_internal/wagmi/__tests__/create-config.test.ts +11 -5
- package/src/react/_internal/wagmi/create-config.ts +2 -2
- package/src/react/_internal/wagmi/get-connectors.ts +10 -6
- package/src/react/hooks/_deprecated/index.ts +61 -0
- package/src/react/hooks/checkout/index.ts +1 -0
- package/src/react/hooks/{utils/useCheckoutOptionsSalesContract.test.tsx → checkout/primary-sale-checkout-options.test.tsx} +23 -23
- package/src/react/hooks/{utils/useCheckoutOptionsSalesContract.tsx → checkout/primary-sale-checkout-options.tsx} +35 -32
- package/src/react/hooks/{data/collectibles/useBalanceOfCollectible.test.tsx → collectible/balance.test.tsx} +37 -29
- package/src/react/hooks/{data/collectibles/useBalanceOfCollectible.tsx → collectible/balance.tsx} +11 -11
- package/src/react/hooks/{data/primary-sales/useErc721SalesData.tsx → collectible/erc721-sale-details.tsx} +6 -6
- package/src/react/hooks/collectible/index.ts +16 -0
- package/src/react/hooks/{data/collectibles/useCountOfCollectables.test.tsx → collectible/market-count.test.tsx} +21 -16
- package/src/react/hooks/{data/collectibles/useCountOfCollectables.tsx → collectible/market-count.tsx} +13 -8
- package/src/react/hooks/{data/orders/useHighestOffer.test.tsx → collectible/market-highest-offer.test.tsx} +35 -24
- package/src/react/hooks/{data/orders/useHighestOffer.tsx → collectible/market-highest-offer.tsx} +12 -10
- package/src/react/hooks/{data/collectibles/useListCollectiblesPaginated.test.tsx → collectible/market-list-paginated.test.tsx} +18 -18
- package/src/react/hooks/{data/collectibles/useListCollectiblesPaginated.tsx → collectible/market-list-paginated.tsx} +12 -10
- package/src/react/hooks/{data/collectibles/useListCollectibles.test.tsx → collectible/market-list.test.tsx} +51 -39
- package/src/react/hooks/{data/collectibles/useListCollectibles.tsx → collectible/market-list.tsx} +11 -10
- package/src/react/hooks/{data/orders/useCountListingsForCollectible.test.tsx → collectible/market-listings-count.test.tsx} +13 -10
- package/src/react/hooks/{data/orders/useCountListingsForCollectible.tsx → collectible/market-listings-count.tsx} +11 -11
- package/src/react/hooks/{data/orders/useListListingsForCollectible.test.tsx → collectible/market-listings.test.tsx} +19 -19
- package/src/react/hooks/{data/orders/useListListingsForCollectible.tsx → collectible/market-listings.tsx} +17 -19
- package/src/react/hooks/{data/orders/useLowestListing.test.tsx → collectible/market-lowest-listing.test.tsx} +35 -24
- package/src/react/hooks/{data/orders/useLowestListing.tsx → collectible/market-lowest-listing.tsx} +12 -10
- package/src/react/hooks/{data/orders/useCountOffersForCollectible.test.tsx → collectible/market-offers-count.test.tsx} +13 -10
- package/src/react/hooks/{data/orders/useCountOffersForCollectible.tsx → collectible/market-offers-count.tsx} +11 -11
- package/src/react/hooks/{data/orders/useListOffersForCollectible.test.tsx → collectible/market-offers.test.tsx} +17 -17
- package/src/react/hooks/{data/orders/useListOffersForCollectible.tsx → collectible/market-offers.tsx} +16 -17
- package/src/react/hooks/{data/collectibles/useCollectible.test.tsx → collectible/metadata.test.tsx} +25 -23
- package/src/react/hooks/{data/collectibles/useCollectible.tsx → collectible/metadata.tsx} +17 -14
- package/src/react/hooks/collectible/primary-sale-item.test.tsx +503 -0
- package/src/react/hooks/{data/primary-sales/usePrimarySaleItem.tsx → collectible/primary-sale-item.tsx} +6 -8
- package/src/react/hooks/collectible/primary-sale-items-count.test.tsx +154 -0
- package/src/react/hooks/collectible/primary-sale-items-count.tsx +22 -0
- package/src/react/hooks/collectible/primary-sale-items.test.tsx +259 -0
- package/src/react/hooks/{data/primary-sales/useListPrimarySaleItems.tsx → collectible/primary-sale-items.tsx} +9 -9
- package/src/react/hooks/{data/collectibles/useTokenBalances.test.tsx → collectible/token-balances.test.tsx} +52 -28
- package/src/react/hooks/{data/collectibles/useTokenBalances.tsx → collectible/token-balances.tsx} +10 -10
- package/src/react/hooks/{data/collections/__snapshots__/useListCollections.test.tsx.snap → collection/__snapshots__/list.test.tsx.snap} +20 -20
- package/src/react/hooks/{data/collections/useCollectionBalanceDetails.test.tsx → collection/balance-details.test.tsx} +13 -8
- package/src/react/hooks/{data/collections/useCollectionBalanceDetails.tsx → collection/balance-details.tsx} +3 -3
- package/src/react/hooks/collection/index.ts +11 -0
- package/src/react/hooks/{data/collections/useListCollections.test.tsx → collection/list.test.tsx} +15 -14
- package/src/react/hooks/{data/collections/useListCollections.tsx → collection/list.tsx} +7 -7
- package/src/react/hooks/collection/market-detail-polling.test.tsx +146 -0
- package/src/react/hooks/{data/collections/useCollectionDetailsPolling.tsx → collection/market-detail-polling.tsx} +13 -12
- package/src/react/hooks/collection/market-filtered-count.test.tsx +121 -0
- package/src/react/hooks/{data/orders/useGetCountOfFilteredOrders.tsx → collection/market-filtered-count.tsx} +6 -6
- package/src/react/hooks/{data/orders/useFloorOrder.test.tsx → collection/market-floor.test.tsx} +19 -15
- package/src/react/hooks/{data/orders/useFloorOrder.tsx → collection/market-floor.tsx} +13 -9
- package/src/react/hooks/collection/market-items-count.test.tsx +121 -0
- package/src/react/hooks/{data/orders/useCountItemsOrdersForCollection.tsx → collection/market-items-count.tsx} +9 -9
- package/src/react/hooks/collection/market-items-paginated.test.tsx +142 -0
- package/src/react/hooks/{data/orders/useListItemsOrdersForCollectionPaginated.tsx → collection/market-items-paginated.tsx} +11 -9
- package/src/react/hooks/collection/market-items.test.tsx +184 -0
- package/src/react/hooks/{data/orders/useListItemsOrdersForCollection.tsx → collection/market-items.tsx} +16 -14
- package/src/react/hooks/{data/collections/useCollection.test.tsx → collection/metadata.test.tsx} +18 -13
- package/src/react/hooks/{data/collections/useCollection.tsx → collection/metadata.tsx} +16 -7
- package/src/react/hooks/collection/useCollectionActiveListingsCurrencies.test.tsx +150 -0
- package/src/react/hooks/{data/collections → collection}/useCollectionActiveListingsCurrencies.tsx +3 -3
- package/src/react/hooks/collection/useCollectionActiveOffersCurrencies.test.tsx +150 -0
- package/src/react/hooks/{data/collections → collection}/useCollectionActiveOffersCurrencies.tsx +3 -3
- package/src/react/hooks/config/__snapshots__/useMarketplaceConfig.test.tsx.snap +12 -11
- package/src/react/hooks/config/useConnectorMetadata.tsx +1 -1
- package/src/react/hooks/config/useMarketplaceConfig.test.tsx +3 -1
- package/src/react/hooks/config/useMarketplaceConfig.tsx +1 -1
- package/src/react/hooks/contracts/index.ts +1 -0
- package/src/react/hooks/contracts/useERC721Owner.test.tsx +82 -0
- package/src/react/hooks/contracts/useERC721Owner.tsx +47 -0
- package/src/react/hooks/contracts/useSalesContractABI.ts +2 -2
- package/src/react/hooks/{utils/useComparePrices.test.tsx → currency/compare-prices.test.tsx} +17 -11
- package/src/react/hooks/{utils/useComparePrices.tsx → currency/compare-prices.tsx} +8 -6
- package/src/react/hooks/{utils/useConvertPriceToUSD.test.tsx → currency/convert-to-usd.test.tsx} +17 -16
- package/src/react/hooks/{utils/useConvertPriceToUSD.tsx → currency/convert-to-usd.tsx} +6 -6
- package/src/react/hooks/{data/market/useCurrency.test.tsx → currency/currency.test.tsx} +18 -14
- package/src/react/hooks/{data/market/useCurrency.tsx → currency/currency.tsx} +3 -3
- package/src/react/hooks/currency/index.ts +4 -0
- package/src/react/hooks/{data/market/useMarketCurrencies.test.tsx → currency/list.test.tsx} +55 -59
- package/src/react/hooks/{data/market/useMarketCurrencies.tsx → currency/list.tsx} +7 -7
- package/src/react/hooks/data/orders/useOrders.test.tsx +143 -0
- package/src/react/hooks/data/orders/useOrders.tsx +73 -0
- package/src/react/hooks/data/tokens/useCurrencyBalance.tsx +1 -1
- package/src/react/hooks/index.ts +9 -12
- package/src/react/hooks/inventory/index.ts +1 -0
- package/src/react/hooks/{data/inventory/useInventory.test.tsx → inventory/inventory.test.tsx} +12 -14
- package/src/react/hooks/inventory/inventory.tsx +17 -0
- package/src/react/hooks/{data/tokens/useListBalances.test.tsx → token/balances.test.tsx} +22 -11
- package/src/react/hooks/token/balances.tsx +59 -0
- package/src/react/hooks/{data/tokens/useCurrencyBalance.test.tsx → token/currency-balance.test.tsx} +6 -6
- package/src/react/hooks/token/currency-balance.tsx +151 -0
- package/src/react/hooks/token/index.ts +5 -0
- package/src/react/hooks/{data/tokens/useSearchTokenMetadata.test.tsx → token/metadata-search.test.tsx} +38 -30
- package/src/react/hooks/{data/tokens/useSearchTokenMetadata.tsx → token/metadata-search.tsx} +27 -24
- package/src/react/hooks/{data/tokens/useListTokenMetadata.test.tsx → token/metadata.test.tsx} +27 -24
- package/src/react/hooks/{data/tokens/useListTokenMetadata.tsx → token/metadata.tsx} +7 -7
- package/src/react/hooks/{data/tokens/useGetTokenRanges.test.tsx → token/ranges.test.tsx} +15 -14
- package/src/react/hooks/{data/tokens/useGetTokenRanges.tsx → token/ranges.tsx} +12 -13
- package/src/react/hooks/transactions/index.ts +5 -0
- package/src/react/hooks/transactions/useBuyTransaction.tsx +95 -0
- package/src/react/hooks/transactions/useCancelOrder.test.tsx +15 -35
- package/src/react/hooks/transactions/useCancelOrder.tsx +3 -9
- package/src/react/hooks/transactions/useCancelTransactionSteps.tsx +3 -9
- package/src/react/hooks/transactions/useGenerateCancelTransaction.test.tsx +23 -12
- package/src/react/hooks/transactions/useGenerateCancelTransaction.tsx +16 -11
- package/src/react/hooks/transactions/useGenerateListingTransaction.test.tsx +17 -57
- package/src/react/hooks/transactions/useGenerateListingTransaction.tsx +17 -12
- package/src/react/hooks/transactions/useGenerateOfferTransaction.test.tsx +14 -15
- package/src/react/hooks/transactions/useGenerateOfferTransaction.tsx +11 -11
- package/src/react/hooks/transactions/useGenerateSellTransaction.test.tsx +28 -38
- package/src/react/hooks/transactions/useGenerateSellTransaction.tsx +16 -15
- package/src/react/hooks/transactions/useMarketTransactionSteps.test.tsx +105 -0
- package/src/react/hooks/transactions/useMarketTransactionSteps.tsx +129 -0
- package/src/react/hooks/transactions/useOrderSteps.tsx +23 -36
- package/src/react/hooks/transactions/usePrimarySaleTransactionSteps.ts +196 -0
- package/src/react/hooks/transactions/useProcessStep.test.tsx +63 -59
- package/src/react/hooks/transactions/useProcessStep.ts +52 -54
- package/src/react/hooks/transactions/useTransactionExecution.test.tsx +99 -0
- package/src/react/hooks/transactions/useTransactionExecution.ts +31 -0
- package/src/react/hooks/transactions/useTransactionType.ts +20 -0
- package/src/react/hooks/transactions/useTransferTokens.test.tsx +16 -16
- package/src/react/hooks/transactions/useTransferTokens.tsx +17 -5
- package/src/react/hooks/ui/card-data/index.ts +4 -0
- package/src/react/hooks/ui/card-data/market-card-data-paged.test.tsx +375 -0
- package/src/react/hooks/ui/card-data/market-card-data-paged.tsx +265 -0
- package/src/react/hooks/{data/market/useListMarketCardData.test.tsx → ui/card-data/market-card-data.test.tsx} +30 -28
- package/src/react/hooks/{data/market/useListMarketCardData.tsx → ui/card-data/market-card-data.tsx} +44 -31
- package/src/react/hooks/{data/primary-sales/useList1155ShopCardData.tsx → ui/card-data/primary-sale-1155-card-data.tsx} +24 -31
- package/src/react/hooks/{data/primary-sales/useList721ShopCardData.tsx → ui/card-data/primary-sale-721-card-data.tsx} +70 -37
- package/src/react/hooks/ui/index.ts +3 -1
- package/src/react/hooks/ui/url-state/filter-state.test.tsx +569 -0
- package/src/react/hooks/ui/{useFilterState.tsx → url-state/filter-state.tsx} +34 -20
- package/src/react/hooks/ui/url-state/index.ts +1 -0
- package/src/react/hooks/ui/useCollectibleCardOfferState.test.tsx +75 -0
- package/src/react/hooks/ui/useCollectibleCardOfferState.ts +47 -0
- package/src/react/hooks/ui/useFilters.test.tsx +4 -1
- package/src/react/hooks/ui/useFilters.tsx +2 -2
- package/src/react/hooks/util/optimisticCancelUpdates.test.ts +489 -0
- package/src/react/hooks/util/optimisticCancelUpdates.ts +21 -22
- package/src/react/hooks/utils/index.ts +0 -4
- package/src/react/hooks/utils/useAutoSelectFeeOption.test.tsx +8 -5
- package/src/react/hooks/utils/useAutoSelectFeeOption.tsx +33 -17
- package/src/react/hooks/utils/useRoyalty.test.tsx +1 -1
- package/src/react/hooks/utils/useRoyalty.tsx +99 -34
- package/src/react/hooks/utils/useWaasFeeOptions.tsx +234 -0
- package/src/react/hooks/utils/waasFeeOptionsStore.ts +141 -0
- package/src/react/index.ts +3 -0
- package/src/react/providers/index.tsx +3 -3
- package/src/react/providers/modal-provider.tsx +6 -17
- package/src/react/providers/provider.test.tsx +1 -1
- package/src/react/providers/shadow-root.tsx +1 -1
- package/src/react/providers/theme-provider.tsx +1 -1
- package/src/react/queries/checkout/index.ts +1 -0
- package/src/react/queries/checkout/primary-sale-checkout-options.ts +118 -0
- package/src/react/queries/collectible/balance.ts +113 -0
- package/src/react/queries/collectible/index.ts +15 -0
- package/src/react/queries/collectible/market-count.ts +91 -0
- package/src/react/queries/collectible/market-highest-offer.ts +74 -0
- package/src/react/queries/collectible/market-list-paginated.ts +110 -0
- package/src/react/queries/collectible/market-list.ts +118 -0
- package/src/react/queries/collectible/market-listings-count.ts +70 -0
- package/src/react/queries/collectible/market-listings.ts +71 -0
- package/src/react/queries/collectible/market-lowest-listing.ts +74 -0
- package/src/react/queries/collectible/market-offers-count.ts +70 -0
- package/src/react/queries/collectible/market-offers.ts +90 -0
- package/src/react/queries/collectible/metadata.ts +84 -0
- package/src/react/queries/collectible/primary-sale-item.ts +79 -0
- package/src/react/queries/collectible/primary-sale-items-count.ts +67 -0
- package/src/react/queries/collectible/primary-sale-items.ts +96 -0
- package/src/react/queries/collectible/queryKeys.ts +12 -0
- package/src/react/queries/collectible/token-balances.ts +83 -0
- package/src/react/queries/collection/activeListingsCurrencies.ts +74 -0
- package/src/react/queries/collection/activeOffersCurrencies.ts +74 -0
- package/src/react/queries/collection/balance-details.ts +103 -0
- package/src/react/queries/collection/index.ts +9 -0
- package/src/react/queries/collection/list.ts +195 -0
- package/src/react/queries/collection/market-detail.ts +60 -0
- package/src/react/queries/collection/market-filtered-count.ts +67 -0
- package/src/react/queries/collection/market-floor.ts +58 -0
- package/src/react/queries/collection/market-items-count.ts +69 -0
- package/src/react/queries/collection/market-items-paginated.ts +84 -0
- package/src/react/queries/collection/market-items.ts +72 -0
- package/src/react/queries/collection/metadata.ts +60 -0
- package/src/react/queries/collection/queryKeys.ts +12 -0
- package/src/react/queries/currency/compare-prices.ts +122 -0
- package/src/react/queries/currency/convert-to-usd.ts +99 -0
- package/src/react/queries/currency/currency.ts +82 -0
- package/src/react/queries/currency/index.ts +4 -0
- package/src/react/queries/currency/list.ts +103 -0
- package/src/react/queries/index.ts +6 -7
- package/src/react/queries/inventory/inventory.ts +144 -94
- package/src/react/queries/marketplace/config.ts +85 -0
- package/src/react/queries/marketplace/filters.ts +141 -0
- package/src/react/queries/marketplace/index.ts +2 -0
- package/src/react/queries/marketplace/queryKeys.ts +12 -0
- package/src/react/queries/orders.ts +48 -0
- package/src/react/queries/token/balances.ts +107 -0
- package/src/react/queries/token/index.ts +5 -0
- package/src/react/queries/token/metadata-search.ts +95 -0
- package/src/react/queries/token/metadata.ts +80 -0
- package/src/react/queries/token/queryKeys.ts +12 -0
- package/src/react/queries/token/ranges.ts +74 -0
- package/src/react/queries/token/supplies.ts +86 -0
- package/src/react/ssr/__tests__/__snapshots__/create-ssr-client.test.ts.snap +11 -10
- package/src/react/ssr/create-ssr-client.ts +1 -1
- package/src/react/ssr/index.ts +5 -0
- package/src/react/types/query.ts +8 -7
- package/src/react/ui/components/_internals/ErrorDisplay.tsx +87 -0
- package/src/react/ui/components/_internals/ErrorLogBox.tsx +8 -1
- package/src/react/ui/components/_internals/custom-select/CustomSelect.tsx +13 -14
- package/src/react/ui/components/_internals/pill/__tests__/Pill.test.tsx +9 -5
- package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/ActionButton.stories.tsx +24 -29
- package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/ActionButton.tsx +20 -14
- package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/__tests__/ActionButtonBody.test.tsx +7 -5
- package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/__tests__/NonOwnerActions.test.tsx +11 -6
- package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/__tests__/OwnerActions.test.tsx +8 -6
- package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/__tests__/useActionButtonLogic.test.tsx +6 -4
- package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/components/ActionButtonBody.tsx +14 -9
- package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/components/NonOwnerActions.tsx +26 -35
- package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/components/OwnerActions.tsx +21 -13
- package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/hooks/useActionButtonLogic.ts +3 -3
- package/src/react/ui/components/marketplace-collectible-card/ActionButton/index.ts +1 -0
- package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/store.ts +4 -4
- package/src/react/ui/components/marketplace-collectible-card/Card/card-badge.tsx +37 -0
- package/src/react/ui/components/marketplace-collectible-card/Card/card-content.tsx +27 -0
- package/src/react/ui/components/marketplace-collectible-card/Card/card-footer.tsx +38 -0
- package/src/react/ui/components/marketplace-collectible-card/Card/card-media.tsx +69 -0
- package/src/react/ui/components/marketplace-collectible-card/Card/card-price.tsx +44 -0
- package/src/react/ui/components/marketplace-collectible-card/Card/card-sale-details.tsx +37 -0
- package/src/react/ui/components/marketplace-collectible-card/Card/card-skeleton.tsx +39 -0
- package/src/react/ui/components/marketplace-collectible-card/Card/card-title.tsx +109 -0
- package/src/react/ui/components/marketplace-collectible-card/Card/card.tsx +51 -0
- package/src/react/ui/components/marketplace-collectible-card/Card/index.ts +30 -0
- package/src/react/ui/components/marketplace-collectible-card/CollectibleCardSkeleton.tsx +1 -1
- package/src/react/ui/components/marketplace-collectible-card/_internals/PriceDisplay.tsx +87 -0
- package/src/react/ui/components/marketplace-collectible-card/constants.ts +20 -0
- package/src/react/ui/components/marketplace-collectible-card/index.ts +6 -0
- package/src/react/ui/components/marketplace-collectible-card/types.ts +31 -16
- package/src/react/ui/components/marketplace-collectible-card/utils/determineCardAction.ts +63 -0
- package/src/react/ui/components/marketplace-collectible-card/utils/formatPrice.ts +71 -2
- package/src/react/ui/components/marketplace-collectible-card/utils/index.ts +3 -0
- package/src/react/ui/components/marketplace-collectible-card/utils/renderSkeleton.tsx +44 -0
- package/src/react/ui/components/marketplace-collectible-card/utils/shopCardState.ts +83 -0
- package/src/react/ui/components/marketplace-collectible-card/utils/supplyStatus.ts +5 -5
- package/src/react/ui/components/marketplace-collectible-card/variants/MarketCard.tsx +63 -78
- package/src/react/ui/components/marketplace-collectible-card/variants/MarketCardPresentation.tsx +170 -0
- package/src/react/ui/components/marketplace-collectible-card/variants/NonTradableInventoryCard.tsx +56 -38
- package/src/react/ui/components/marketplace-collectible-card/variants/ShopCard.tsx +55 -65
- package/src/react/ui/components/marketplace-collectible-card/variants/ShopCardPresentation.tsx +144 -0
- package/src/react/ui/components/marketplace-logos/marketplace-logos.tsx +1 -5
- package/src/react/ui/components/media/Media.tsx +1 -1
- package/src/react/ui/components/media/MediaSkeleton.tsx +1 -1
- package/src/react/ui/hooks/index.ts +2 -0
- package/src/react/ui/icons/BellIcon.tsx +7 -3
- package/src/react/ui/icons/iconVariants.ts +11 -0
- package/src/react/ui/icons/index.ts +0 -3
- package/src/react/ui/index.ts +37 -8
- package/src/react/ui/modals/BuyModal/components/BuyModalContent.tsx +195 -0
- package/src/react/ui/modals/BuyModal/components/CollectibleMetadataSummary.tsx +141 -0
- package/src/react/ui/modals/BuyModal/components/CryptoPaymentModal.tsx +177 -0
- package/src/react/ui/modals/BuyModal/components/CryptoPaymentModalSkeleton.tsx +48 -0
- package/src/react/ui/modals/BuyModal/components/Modal.tsx +2 -2
- package/src/react/ui/modals/BuyModal/components/TrailsCss.ts +216 -0
- package/src/react/ui/modals/BuyModal/components/{ERC1155QuantityModal.tsx → sequence-checkout/ERC1155QuantityModal.tsx} +71 -82
- package/src/react/ui/modals/BuyModal/components/sequence-checkout/SequenceCheckoutNew.tsx +161 -0
- package/src/react/ui/modals/BuyModal/{hooks → components/sequence-checkout}/usePaymentModalParams.ts +73 -112
- package/src/react/ui/modals/BuyModal/components/types.ts +6 -5
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC1155SalePaymentParams.test.tsx +2 -14
- package/src/react/ui/modals/BuyModal/hooks/useBuyModalData.ts +151 -0
- package/src/react/ui/modals/BuyModal/hooks/useERC1155SalePaymentParams.ts +15 -28
- package/src/react/ui/modals/BuyModal/hooks/useExecuteBundledTransactions.ts +167 -0
- package/src/react/ui/modals/BuyModal/hooks/useHasSufficientBalance.ts +30 -0
- package/src/react/ui/modals/BuyModal/hooks/useMarketPlatformFee.ts +7 -7
- package/src/react/ui/modals/BuyModal/index.tsx +6 -3
- package/src/react/ui/modals/BuyModal/internal/__tests__/determineCheckoutMode.test.ts +119 -0
- package/src/react/ui/modals/BuyModal/internal/buyModalContext.ts +146 -0
- package/src/react/ui/modals/BuyModal/internal/cryptoPaymentModalContext.tsx +399 -0
- package/src/react/ui/modals/BuyModal/internal/determineCheckoutMode.ts +49 -0
- package/src/react/ui/modals/BuyModal/store.ts +25 -94
- package/src/react/ui/modals/CreateListingModal/Modal.tsx +141 -308
- package/src/react/ui/modals/CreateListingModal/__tests__/Modal.test.tsx +35 -61
- package/src/react/ui/modals/CreateListingModal/index.tsx +16 -9
- package/src/react/ui/modals/CreateListingModal/internal/context.ts +416 -0
- package/src/react/ui/modals/CreateListingModal/internal/helpers/validation.ts +79 -0
- package/src/react/ui/modals/CreateListingModal/internal/hooks/index.ts +1 -0
- package/src/react/ui/modals/CreateListingModal/internal/hooks/use-collectible-approval.ts +49 -0
- package/src/react/ui/modals/CreateListingModal/internal/listing-mutations.ts +267 -0
- package/src/react/ui/modals/CreateListingModal/internal/store.ts +153 -0
- package/src/react/ui/modals/MakeOfferModal/Modal.tsx +130 -348
- package/src/react/ui/modals/MakeOfferModal/__stories__/MakeOfferModal.mock-data.ts +494 -0
- package/src/react/ui/modals/MakeOfferModal/__stories__/MakeOfferModal.stories.tsx +699 -0
- package/src/react/ui/modals/MakeOfferModal/__tests__/Modal.test.tsx +28 -155
- package/src/react/ui/modals/MakeOfferModal/index.tsx +17 -11
- package/src/react/ui/modals/MakeOfferModal/internal/context.ts +472 -0
- package/src/react/ui/modals/MakeOfferModal/internal/helpers/validation.ts +114 -0
- package/src/react/ui/modals/MakeOfferModal/internal/hooks/index.ts +1 -0
- package/src/react/ui/modals/MakeOfferModal/internal/hooks/use-erc20-allowance.ts +43 -0
- package/src/react/ui/modals/MakeOfferModal/internal/offer-mutations.ts +231 -0
- package/src/react/ui/modals/MakeOfferModal/internal/store.ts +153 -0
- package/src/react/ui/modals/SellModal/Modal.tsx +74 -213
- package/src/react/ui/modals/SellModal/index.tsx +5 -11
- package/src/react/ui/modals/SellModal/internal/context.ts +284 -0
- package/src/react/ui/modals/SellModal/internal/sell-mutations.ts +163 -0
- package/src/react/ui/modals/SellModal/internal/store.ts +79 -0
- package/src/react/ui/modals/SellModal/internal/use-generate-sell-transaction.ts +93 -0
- package/src/react/ui/modals/TransferModal/__tests__/store.test.ts +51 -345
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/_components/TokenQuantityInput.tsx +36 -34
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/_components/WalletAddressInput.tsx +19 -28
- package/src/react/ui/modals/TransferModal/index.tsx +98 -119
- package/src/react/ui/modals/TransferModal/internal/context.ts +404 -0
- package/src/react/ui/modals/TransferModal/internal/store.ts +118 -0
- package/src/react/ui/modals/_internal/components/alertMessage/index.tsx +2 -3
- package/src/react/ui/modals/_internal/components/baseModal/ActionModal.tsx +338 -0
- package/src/react/ui/modals/_internal/components/baseModal/BaseModal.tsx +51 -0
- package/src/react/ui/modals/_internal/components/baseModal/ErrorBoundary.tsx +83 -0
- package/src/react/ui/modals/_internal/components/baseModal/ErrorModal.tsx +51 -0
- package/src/react/ui/modals/_internal/components/baseModal/LoadingModal.tsx +35 -0
- package/src/react/ui/modals/_internal/components/baseModal/SmartErrorHandler.tsx +31 -0
- package/src/react/ui/modals/_internal/components/baseModal/__tests__/ErrorBoundary.test.tsx +390 -0
- package/src/react/ui/modals/_internal/components/baseModal/errors/ModalInitializationError.tsx +93 -0
- package/src/react/ui/modals/_internal/components/baseModal/errors/errorActionType.ts +5 -0
- package/src/react/ui/modals/_internal/components/baseModal/index.ts +13 -0
- package/src/react/ui/modals/_internal/components/calendarDropdown/TimeSelector.tsx +1 -1
- package/src/react/ui/modals/_internal/components/calendarDropdown/index.tsx +14 -9
- package/src/react/ui/modals/_internal/components/consts.ts +19 -5
- package/src/react/ui/modals/_internal/components/currencyImage/index.tsx +5 -7
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/__tests__/index.test.tsx +6 -14
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +17 -24
- package/src/react/ui/modals/_internal/components/expirationDateSelect/index.tsx +1 -1
- package/src/react/ui/modals/_internal/components/floorPriceText/__tests__/FloorPriceText.test.tsx +61 -40
- package/src/react/ui/modals/_internal/components/floorPriceText/index.tsx +23 -19
- package/src/react/ui/modals/_internal/components/priceInput/__tests__/PriceInput.test.tsx +3 -3
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +68 -75
- package/src/react/ui/modals/_internal/components/quantityInput/__tests__/index.test.tsx +22 -137
- package/src/react/ui/modals/_internal/components/quantityInput/index.tsx +84 -131
- package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/__tests__/SelectWaasFeeOptions.test.tsx +14 -31
- package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/_components/ActionButtons.tsx +37 -25
- package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/index.tsx +13 -6
- package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/store.ts +9 -26
- package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/useWaasFeeOptionManager.tsx +27 -29
- package/src/react/ui/modals/_internal/components/switchChainErrorModal/store.ts +2 -2
- package/src/react/ui/modals/_internal/components/tokenPreview/index.tsx +10 -9
- package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +16 -9
- package/src/react/ui/modals/_internal/components/transactionPreview/index.tsx +8 -7
- package/src/react/ui/modals/_internal/components/transactionPreview/useTransactionPreviewTitle.tsx +1 -1
- package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/TransactionStatusModal.test.tsx +3 -5
- package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/utils.test.ts +3 -3
- package/src/react/ui/modals/_internal/components/transactionStatusModal/hooks/useTransactionStatus.ts +4 -15
- package/src/react/ui/modals/_internal/components/transactionStatusModal/index.tsx +14 -15
- package/src/react/ui/modals/_internal/components/transactionStatusModal/store.ts +8 -11
- package/src/react/ui/modals/_internal/components/waasFeeOptionsSelect/WaasFeeOptionsSelect.tsx +65 -10
- package/src/react/ui/modals/_internal/constants/opensea-currencies.ts +484 -0
- package/src/react/ui/modals/_internal/helpers/currency.ts +56 -0
- package/src/react/ui/modals/_internal/helpers/dnum-utils.ts +40 -0
- package/src/react/ui/modals/_internal/helpers/flow-state.ts +269 -0
- package/src/react/ui/modals/_internal/helpers/step-guards.ts +131 -0
- package/src/react/ui/modals/_internal/types/steps.ts +145 -0
- package/src/react/ui/modals/_internal/types.ts +2 -9
- package/src/react/utils/index.ts +2 -0
- package/src/react/utils/normalize-attributes.test.ts +94 -0
- package/src/react/utils/normalize-attributes.ts +89 -0
- package/src/react/utils/normalize-properties.test.ts +77 -0
- package/src/react/utils/normalize-properties.ts +60 -0
- package/src/react/utils/normalizePriceFilters.ts +25 -0
- package/src/react/utils/waitForTransactionReceipt.ts +2 -2
- package/src/styles/index.css +2 -0
- package/src/styles/styles.ts +2056 -376
- package/src/types/api-types.ts +6 -14
- package/src/types/buyModalErrors.ts +24 -30
- package/src/types/index.ts +4 -2
- package/src/types/sdk-config.ts +14 -1
- package/src/types/transactions.ts +10 -0
- package/src/types/types.ts +93 -14
- package/src/utils/__tests__/getMarketplaceDetails.test.ts +1 -1
- package/src/utils/_internal/error/base.ts +1 -1
- package/src/utils/_internal/error/transaction.ts +4 -5
- package/src/utils/abi/helpers.ts +38 -0
- package/src/utils/abi/index.ts +1 -0
- package/src/utils/collection.ts +19 -0
- package/src/utils/decode/erc20.ts +2 -2
- package/src/utils/errors.ts +527 -0
- package/src/utils/getConduitAddressForOrderbook.ts +38 -0
- package/src/utils/getErrorMessage.ts +37 -0
- package/src/utils/getMarketplaceDetails.ts +1 -1
- package/src/utils/getSequenceMarketRequestId.ts +3 -7
- package/src/utils/getWagmiErrorMessage.ts +241 -0
- package/src/utils/getWebRPCErrorMessage.ts +63 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/networkconfigToWagmiChain.ts +2 -1
- package/src/utils/price.ts +12 -10
- package/test/const.ts +3 -3
- package/test/globalSetup.ts +4 -5
- package/test/handlers.ts +2 -2
- package/test/server-setup.ts +8 -8
- package/test/setup.ts +11 -0
- package/test/test-utils.tsx +23 -6
- package/tsconfig.json +8 -1
- package/tsdown.config.ts +12 -3
- package/dist/CartIcon.js +0 -102
- package/dist/CartIcon.js.map +0 -1
- package/dist/CollectibleCard.d.ts +0 -8
- package/dist/builder.gen.js +0 -300
- package/dist/builder.gen.js.map +0 -1
- package/dist/collectibles.js +0 -319
- package/dist/collectibles.js.map +0 -1
- package/dist/collections.js +0 -320
- package/dist/collections.js.map +0 -1
- package/dist/components.js +0 -117
- package/dist/components.js.map +0 -1
- package/dist/listCollectiblesPaginated.d.ts +0 -322
- package/dist/listCollections.d.ts +0 -821
- package/dist/lowestListing.d.ts +0 -465
- package/dist/market.js +0 -207
- package/dist/market.js.map +0 -1
- package/dist/marketCurrencies.d.ts +0 -163
- package/dist/marketCurrencies.js +0 -56
- package/dist/marketCurrencies.js.map +0 -1
- package/dist/marketplace.gen.js +0 -1144
- package/dist/marketplace.gen.js.map +0 -1
- package/dist/marketplaceConfig.js.map +0 -1
- package/dist/orders.js +0 -462
- package/dist/orders.js.map +0 -1
- package/dist/primary-sales.js +0 -152
- package/dist/primary-sales.js.map +0 -1
- package/dist/query.d.ts +0 -31
- package/dist/react/hooks/data/collectibles/index.d.ts +0 -5
- package/dist/react/hooks/data/collectibles/index.js +0 -39
- package/dist/react/hooks/data/collections/index.d.ts +0 -11
- package/dist/react/hooks/data/collections/index.js +0 -39
- package/dist/react/hooks/data/index.d.ts +0 -37
- package/dist/react/hooks/data/index.js +0 -39
- package/dist/react/hooks/data/inventory/index.d.ts +0 -37
- package/dist/react/hooks/data/inventory/index.js +0 -39
- package/dist/react/hooks/data/market/index.d.ts +0 -6
- package/dist/react/hooks/data/market/index.js +0 -39
- package/dist/react/hooks/data/orders/index.d.ts +0 -5
- package/dist/react/hooks/data/orders/index.js +0 -39
- package/dist/react/hooks/data/primary-sales/index.d.ts +0 -37
- package/dist/react/hooks/data/primary-sales/index.js +0 -39
- package/dist/react/hooks/data/tokens/index.d.ts +0 -5
- package/dist/react/hooks/data/tokens/index.js +0 -39
- package/dist/react/queries/collectibles/index.d.ts +0 -5
- package/dist/react/queries/collectibles/index.js +0 -22
- package/dist/react/queries/collections/index.d.ts +0 -11
- package/dist/react/queries/collections/index.js +0 -20
- package/dist/react/queries/market/index.d.ts +0 -6
- package/dist/react/queries/market/index.js +0 -22
- package/dist/react/queries/orders/index.d.ts +0 -5
- package/dist/react/queries/orders/index.js +0 -13
- package/dist/react/queries/primary-sales/index.d.ts +0 -4
- package/dist/react/queries/primary-sales/index.js +0 -13
- package/dist/react/queries/tokens/index.d.ts +0 -5
- package/dist/react/queries/tokens/index.js +0 -13
- package/dist/react/queries/utils/index.d.ts +0 -4
- package/dist/react/queries/utils/index.js +0 -22
- package/dist/react/ssr/index.js.map +0 -1
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.d.ts +0 -3
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.js +0 -22
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.d.ts +0 -51
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.js +0 -39
- package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +0 -40
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +0 -39
- package/dist/src.js.map +0 -1
- package/dist/tokenBalances.js +0 -56
- package/dist/tokenBalances.js.map +0 -1
- package/dist/tokenSupplies.d.ts +0 -261
- package/dist/tokens.js +0 -219
- package/dist/tokens.js.map +0 -1
- package/dist/utils3.js +0 -43
- package/dist/utils3.js.map +0 -1
- package/dist/waitForTransactionReceipt.js +0 -25
- package/dist/waitForTransactionReceipt.js.map +0 -1
- package/src/react/_internal/api/__mocks__/builder.msw.ts +0 -239
- package/src/react/_internal/api/__mocks__/indexer.msw.ts +0 -216
- package/src/react/_internal/api/__mocks__/marketplace.msw.ts +0 -402
- package/src/react/_internal/api/__mocks__/metadata.msw.ts +0 -195
- package/src/react/_internal/api/builder.gen.ts +0 -773
- package/src/react/_internal/api/marketplace.gen.ts +0 -2718
- package/src/react/_internal/api/query-keys.ts +0 -124
- package/src/react/hooks/data/collectibles/index.ts +0 -6
- package/src/react/hooks/data/collectibles/useListCollectibleActivities.test.tsx +0 -192
- package/src/react/hooks/data/collectibles/useListCollectibleActivities.tsx +0 -98
- package/src/react/hooks/data/collections/index.ts +0 -8
- package/src/react/hooks/data/collections/useCollectionActiveListingsCurrencies.test.tsx +0 -112
- package/src/react/hooks/data/collections/useCollectionActiveOffersCurrencies.test.tsx +0 -110
- package/src/react/hooks/data/collections/useCollectionDetails.test.tsx +0 -83
- package/src/react/hooks/data/collections/useCollectionDetails.ts +0 -69
- package/src/react/hooks/data/collections/useCollectionDetailsPolling.test.tsx +0 -137
- package/src/react/hooks/data/collections/useListCollectionActivities.test.tsx +0 -227
- package/src/react/hooks/data/collections/useListCollectionActivities.tsx +0 -93
- package/src/react/hooks/data/index.ts +0 -6
- package/src/react/hooks/data/inventory/index.ts +0 -1
- package/src/react/hooks/data/inventory/useInventory.tsx +0 -12
- package/src/react/hooks/data/market/index.ts +0 -3
- package/src/react/hooks/data/orders/index.ts +0 -11
- package/src/react/hooks/data/primary-sales/index.ts +0 -7
- package/src/react/hooks/data/primary-sales/useCountOfPrimarySaleItems.tsx +0 -13
- package/src/react/hooks/data/primary-sales/useGetCountOfPrimarySaleItems.tsx +0 -48
- package/src/react/hooks/data/tokens/index.ts +0 -5
- package/src/react/hooks/data/tokens/useListBalances.tsx +0 -29
- package/src/react/hooks/data/tokens/useTokenSupplies.ts +0 -69
- package/src/react/hooks/utils/useCheckoutOptions.test.tsx +0 -162
- package/src/react/hooks/utils/useCheckoutOptions.tsx +0 -98
- package/src/react/queries/collectibles/balanceOfCollectible.ts +0 -90
- package/src/react/queries/collectibles/collectible.ts +0 -81
- package/src/react/queries/collectibles/countOfCollectables.ts +0 -109
- package/src/react/queries/collectibles/index.ts +0 -7
- package/src/react/queries/collectibles/listCollectibleActivities.ts +0 -121
- package/src/react/queries/collectibles/listCollectibles.ts +0 -115
- package/src/react/queries/collectibles/listCollectiblesPaginated.ts +0 -104
- package/src/react/queries/collectibles/tokenBalances.ts +0 -89
- package/src/react/queries/collections/activeListingsCurrencies.ts +0 -84
- package/src/react/queries/collections/activeOffersCurrencies.ts +0 -84
- package/src/react/queries/collections/collection.ts +0 -69
- package/src/react/queries/collections/collectionBalanceDetails.ts +0 -107
- package/src/react/queries/collections/collectionDetails.ts +0 -79
- package/src/react/queries/collections/index.ts +0 -7
- package/src/react/queries/collections/listCollectionActivities.ts +0 -117
- package/src/react/queries/collections/listCollections.ts +0 -175
- package/src/react/queries/market/checkoutOptions.ts +0 -107
- package/src/react/queries/market/checkoutOptionsSalesContract.ts +0 -108
- package/src/react/queries/market/currency.ts +0 -92
- package/src/react/queries/market/filters.ts +0 -152
- package/src/react/queries/market/index.ts +0 -6
- package/src/react/queries/market/marketCurrencies.ts +0 -120
- package/src/react/queries/market/marketplaceConfig.ts +0 -117
- package/src/react/queries/orders/countItemsOrdersForCollection.ts +0 -86
- package/src/react/queries/orders/countListingsForCollectible.ts +0 -90
- package/src/react/queries/orders/countOffersForCollectible.ts +0 -90
- package/src/react/queries/orders/floorOrder.ts +0 -74
- package/src/react/queries/orders/getCountOfFilteredOrders.ts +0 -88
- package/src/react/queries/orders/highestOffer.ts +0 -78
- package/src/react/queries/orders/index.ts +0 -11
- package/src/react/queries/orders/listItemsOrdersForCollection.ts +0 -90
- package/src/react/queries/orders/listItemsOrdersForCollectionPaginated.ts +0 -90
- package/src/react/queries/orders/listListingsForCollectible.ts +0 -97
- package/src/react/queries/orders/listOffersForCollectible.ts +0 -116
- package/src/react/queries/orders/lowestListing.ts +0 -81
- package/src/react/queries/primary-sales/countOfPrimarySaleItems.ts +0 -62
- package/src/react/queries/primary-sales/index.ts +0 -4
- package/src/react/queries/primary-sales/primarySaleItem.ts +0 -80
- package/src/react/queries/primary-sales/primarySaleItems.ts +0 -94
- package/src/react/queries/primary-sales/primarySaleItemsCount.ts +0 -79
- package/src/react/queries/tokens/getTokenRanges.ts +0 -75
- package/src/react/queries/tokens/index.ts +0 -5
- package/src/react/queries/tokens/listBalances.ts +0 -71
- package/src/react/queries/tokens/listTokenMetadata.ts +0 -81
- package/src/react/queries/tokens/searchTokenMetadata.ts +0 -101
- package/src/react/queries/tokens/tokenSupplies.ts +0 -84
- package/src/react/queries/utils/comparePrices.ts +0 -132
- package/src/react/queries/utils/convertPriceToUSD.ts +0 -105
- package/src/react/queries/utils/index.ts +0 -2
- package/src/react/ui/components/marketplace-collectible-card/components/ActionButtonWrapper.tsx +0 -79
- package/src/react/ui/components/marketplace-collectible-card/components/BaseCard.tsx +0 -68
- package/src/react/ui/components/marketplace-collectible-card/components/footer/Footer.tsx +0 -165
- package/src/react/ui/components/marketplace-collectible-card/components/footer/components/FooterName.tsx +0 -103
- package/src/react/ui/components/marketplace-collectible-card/components/footer/components/PriceDisplay.tsx +0 -80
- package/src/react/ui/components/marketplace-collectible-card/components/footer/components/SaleDetailsPill.tsx +0 -29
- package/src/react/ui/components/marketplace-collectible-card/components/footer/components/TokenTypeBalancePill.tsx +0 -30
- package/src/react/ui/components/marketplace-collectible-card/components/footer/components/index.ts +0 -4
- package/src/react/ui/components/marketplace-collectible-card/components/footer/index.ts +0 -2
- package/src/react/ui/icons/CalendarIcon.tsx +0 -37
- package/src/react/ui/icons/CartIcon.tsx +0 -52
- package/src/react/ui/icons/InfoIcon.tsx +0 -44
- package/src/react/ui/modals/BuyModal/__tests__/BuyModalRouter.test.tsx +0 -557
- package/src/react/ui/modals/BuyModal/__tests__/ERC1155ShopModal.test.tsx +0 -409
- package/src/react/ui/modals/BuyModal/__tests__/ERC721ShopModal.test.tsx +0 -272
- package/src/react/ui/modals/BuyModal/__tests__/Modal.test.tsx.bak +0 -112
- package/src/react/ui/modals/BuyModal/__tests__/Modal1155.test.tsx +0 -251
- package/src/react/ui/modals/BuyModal/__tests__/store.test.ts +0 -105
- package/src/react/ui/modals/BuyModal/components/BuyModalRouter.tsx +0 -157
- package/src/react/ui/modals/BuyModal/components/ERC1155BuyModal.tsx +0 -198
- package/src/react/ui/modals/BuyModal/components/ERC1155ShopModal.tsx +0 -108
- package/src/react/ui/modals/BuyModal/components/ERC721BuyModal.tsx +0 -116
- package/src/react/ui/modals/BuyModal/components/ERC721ShopModal.tsx +0 -86
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useCheckoutOptions.test.tsx +0 -115
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC721SalePaymentParams.test.tsx +0 -283
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useMarketPlatformFee.test.tsx +0 -145
- package/src/react/ui/modals/BuyModal/hooks/useCheckoutOptions.ts +0 -86
- package/src/react/ui/modals/BuyModal/hooks/useERC721SalePaymentParams.ts +0 -216
- package/src/react/ui/modals/BuyModal/hooks/useLoadData.ts +0 -120
- package/src/react/ui/modals/CreateListingModal/hooks/useCreateListing.tsx +0 -98
- package/src/react/ui/modals/CreateListingModal/hooks/useGetTokenApproval.ts +0 -87
- package/src/react/ui/modals/CreateListingModal/hooks/useTransactionSteps.tsx +0 -246
- package/src/react/ui/modals/CreateListingModal/store.ts +0 -99
- package/src/react/ui/modals/MakeOfferModal/hooks/useGetTokenApproval.tsx +0 -90
- package/src/react/ui/modals/MakeOfferModal/hooks/useMakeOffer.tsx +0 -71
- package/src/react/ui/modals/MakeOfferModal/hooks/useTransactionSteps.tsx +0 -241
- package/src/react/ui/modals/MakeOfferModal/store.ts +0 -94
- package/src/react/ui/modals/SellModal/__tests__/Modal.test.tsx +0 -85
- package/src/react/ui/modals/SellModal/hooks/useGetTokenApproval.tsx +0 -79
- package/src/react/ui/modals/SellModal/hooks/useSell.tsx +0 -77
- package/src/react/ui/modals/SellModal/hooks/useTransactionSteps.tsx +0 -242
- package/src/react/ui/modals/SellModal/store.ts +0 -62
- package/src/react/ui/modals/SellModal/utils.ts +0 -38
- package/src/react/ui/modals/SuccessfulPurchaseModal/__tests__/Modal.test.tsx +0 -157
- package/src/react/ui/modals/SuccessfulPurchaseModal/index.tsx +0 -154
- package/src/react/ui/modals/SuccessfulPurchaseModal/store.ts +0 -71
- package/src/react/ui/modals/TransferModal/__tests__/__snapshots__/store.test.ts.snap +0 -17
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/__tests__/useHandleTransfer.test.tsx +0 -412
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/_components/TransferButton.tsx +0 -66
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/index.tsx +0 -137
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/useHandleTransfer.tsx +0 -97
- package/src/react/ui/modals/TransferModal/_views/followWalletInstructions/index.tsx +0 -31
- package/src/react/ui/modals/TransferModal/messages.ts +0 -14
- package/src/react/ui/modals/TransferModal/store.ts +0 -122
- package/src/react/ui/modals/_internal/components/actionModal/ActionModal.test.tsx +0 -281
- package/src/react/ui/modals/_internal/components/actionModal/ActionModal.tsx +0 -113
- package/src/react/ui/modals/_internal/components/actionModal/ErrorModal.tsx +0 -35
- package/src/react/ui/modals/_internal/components/actionModal/LoadingModal.tsx +0 -32
- package/src/react/ui/modals/_internal/components/actionModal/index.ts +0 -1
- package/src/types/custom.d.ts +0 -1
- package/src/types/messages.ts +0 -43
- package/src/types/new-marketplace-types.ts +0 -95
- /package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/types.ts +0 -0
- /package/src/react/ui/modals/_internal/hooks/{useSelectWaasFeeOptions.ts → useSelectWaasFeeOptions.tsx} +0 -0
package/dist/index5.d.ts
CHANGED
|
@@ -1,1740 +1,48 @@
|
|
|
1
|
-
//#region src/utils/abi/
|
|
2
|
-
declare const
|
|
3
|
-
readonly type: "function";
|
|
4
|
-
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
5
|
-
readonly inputs: readonly [];
|
|
6
|
-
readonly outputs: readonly [{
|
|
7
|
-
readonly name: "";
|
|
8
|
-
readonly type: "bytes32";
|
|
9
|
-
readonly internalType: "bytes32";
|
|
10
|
-
}];
|
|
11
|
-
readonly stateMutability: "view";
|
|
12
|
-
}, {
|
|
13
|
-
readonly type: "function";
|
|
14
|
-
readonly name: "checkMerkleProof";
|
|
15
|
-
readonly inputs: readonly [{
|
|
16
|
-
readonly name: "root";
|
|
17
|
-
readonly type: "bytes32";
|
|
18
|
-
readonly internalType: "bytes32";
|
|
19
|
-
}, {
|
|
20
|
-
readonly name: "proof";
|
|
21
|
-
readonly type: "bytes32[]";
|
|
22
|
-
readonly internalType: "bytes32[]";
|
|
23
|
-
}, {
|
|
24
|
-
readonly name: "addr";
|
|
25
|
-
readonly type: "address";
|
|
26
|
-
readonly internalType: "address";
|
|
27
|
-
}, {
|
|
28
|
-
readonly name: "salt";
|
|
29
|
-
readonly type: "bytes32";
|
|
30
|
-
readonly internalType: "bytes32";
|
|
31
|
-
}];
|
|
32
|
-
readonly outputs: readonly [{
|
|
33
|
-
readonly name: "";
|
|
34
|
-
readonly type: "bool";
|
|
35
|
-
readonly internalType: "bool";
|
|
36
|
-
}];
|
|
37
|
-
readonly stateMutability: "view";
|
|
38
|
-
}, {
|
|
39
|
-
readonly type: "function";
|
|
40
|
-
readonly name: "getRoleAdmin";
|
|
41
|
-
readonly inputs: readonly [{
|
|
42
|
-
readonly name: "role";
|
|
43
|
-
readonly type: "bytes32";
|
|
44
|
-
readonly internalType: "bytes32";
|
|
45
|
-
}];
|
|
46
|
-
readonly outputs: readonly [{
|
|
47
|
-
readonly name: "";
|
|
48
|
-
readonly type: "bytes32";
|
|
49
|
-
readonly internalType: "bytes32";
|
|
50
|
-
}];
|
|
51
|
-
readonly stateMutability: "view";
|
|
52
|
-
}, {
|
|
53
|
-
readonly type: "function";
|
|
54
|
-
readonly name: "getRoleMember";
|
|
55
|
-
readonly inputs: readonly [{
|
|
56
|
-
readonly name: "role";
|
|
57
|
-
readonly type: "bytes32";
|
|
58
|
-
readonly internalType: "bytes32";
|
|
59
|
-
}, {
|
|
60
|
-
readonly name: "index";
|
|
61
|
-
readonly type: "uint256";
|
|
62
|
-
readonly internalType: "uint256";
|
|
63
|
-
}];
|
|
64
|
-
readonly outputs: readonly [{
|
|
65
|
-
readonly name: "";
|
|
66
|
-
readonly type: "address";
|
|
67
|
-
readonly internalType: "address";
|
|
68
|
-
}];
|
|
69
|
-
readonly stateMutability: "view";
|
|
70
|
-
}, {
|
|
71
|
-
readonly type: "function";
|
|
72
|
-
readonly name: "getRoleMemberCount";
|
|
73
|
-
readonly inputs: readonly [{
|
|
74
|
-
readonly name: "role";
|
|
75
|
-
readonly type: "bytes32";
|
|
76
|
-
readonly internalType: "bytes32";
|
|
77
|
-
}];
|
|
78
|
-
readonly outputs: readonly [{
|
|
79
|
-
readonly name: "";
|
|
80
|
-
readonly type: "uint256";
|
|
81
|
-
readonly internalType: "uint256";
|
|
82
|
-
}];
|
|
83
|
-
readonly stateMutability: "view";
|
|
84
|
-
}, {
|
|
85
|
-
readonly type: "function";
|
|
86
|
-
readonly name: "grantRole";
|
|
87
|
-
readonly inputs: readonly [{
|
|
88
|
-
readonly name: "role";
|
|
89
|
-
readonly type: "bytes32";
|
|
90
|
-
readonly internalType: "bytes32";
|
|
91
|
-
}, {
|
|
92
|
-
readonly name: "account";
|
|
93
|
-
readonly type: "address";
|
|
94
|
-
readonly internalType: "address";
|
|
95
|
-
}];
|
|
96
|
-
readonly outputs: readonly [];
|
|
97
|
-
readonly stateMutability: "nonpayable";
|
|
98
|
-
}, {
|
|
99
|
-
readonly type: "function";
|
|
100
|
-
readonly name: "hasRole";
|
|
101
|
-
readonly inputs: readonly [{
|
|
102
|
-
readonly name: "role";
|
|
103
|
-
readonly type: "bytes32";
|
|
104
|
-
readonly internalType: "bytes32";
|
|
105
|
-
}, {
|
|
106
|
-
readonly name: "account";
|
|
107
|
-
readonly type: "address";
|
|
108
|
-
readonly internalType: "address";
|
|
109
|
-
}];
|
|
110
|
-
readonly outputs: readonly [{
|
|
111
|
-
readonly name: "";
|
|
112
|
-
readonly type: "bool";
|
|
113
|
-
readonly internalType: "bool";
|
|
114
|
-
}];
|
|
115
|
-
readonly stateMutability: "view";
|
|
116
|
-
}, {
|
|
117
|
-
readonly type: "function";
|
|
118
|
-
readonly name: "initialize";
|
|
119
|
-
readonly inputs: readonly [{
|
|
120
|
-
readonly name: "owner";
|
|
121
|
-
readonly type: "address";
|
|
122
|
-
readonly internalType: "address";
|
|
123
|
-
}, {
|
|
124
|
-
readonly name: "items";
|
|
125
|
-
readonly type: "address";
|
|
126
|
-
readonly internalType: "address";
|
|
127
|
-
}];
|
|
128
|
-
readonly outputs: readonly [];
|
|
129
|
-
readonly stateMutability: "nonpayable";
|
|
130
|
-
}, {
|
|
131
|
-
readonly type: "function";
|
|
132
|
-
readonly name: "itemsContract";
|
|
133
|
-
readonly inputs: readonly [];
|
|
134
|
-
readonly outputs: readonly [{
|
|
135
|
-
readonly name: "";
|
|
136
|
-
readonly type: "address";
|
|
137
|
-
readonly internalType: "address";
|
|
138
|
-
}];
|
|
139
|
-
readonly stateMutability: "view";
|
|
140
|
-
}, {
|
|
141
|
-
readonly type: "function";
|
|
142
|
-
readonly name: "mint";
|
|
143
|
-
readonly inputs: readonly [{
|
|
144
|
-
readonly name: "to";
|
|
145
|
-
readonly type: "address";
|
|
146
|
-
readonly internalType: "address";
|
|
147
|
-
}, {
|
|
148
|
-
readonly name: "amount";
|
|
149
|
-
readonly type: "uint256";
|
|
150
|
-
readonly internalType: "uint256";
|
|
151
|
-
}, {
|
|
152
|
-
readonly name: "paymentToken";
|
|
153
|
-
readonly type: "address";
|
|
154
|
-
readonly internalType: "address";
|
|
155
|
-
}, {
|
|
156
|
-
readonly name: "maxTotal";
|
|
157
|
-
readonly type: "uint256";
|
|
158
|
-
readonly internalType: "uint256";
|
|
159
|
-
}, {
|
|
160
|
-
readonly name: "proof";
|
|
161
|
-
readonly type: "bytes32[]";
|
|
162
|
-
readonly internalType: "bytes32[]";
|
|
163
|
-
}];
|
|
164
|
-
readonly outputs: readonly [];
|
|
165
|
-
readonly stateMutability: "payable";
|
|
166
|
-
}, {
|
|
167
|
-
readonly type: "function";
|
|
168
|
-
readonly name: "renounceRole";
|
|
169
|
-
readonly inputs: readonly [{
|
|
170
|
-
readonly name: "role";
|
|
171
|
-
readonly type: "bytes32";
|
|
172
|
-
readonly internalType: "bytes32";
|
|
173
|
-
}, {
|
|
174
|
-
readonly name: "account";
|
|
175
|
-
readonly type: "address";
|
|
176
|
-
readonly internalType: "address";
|
|
177
|
-
}];
|
|
178
|
-
readonly outputs: readonly [];
|
|
179
|
-
readonly stateMutability: "nonpayable";
|
|
180
|
-
}, {
|
|
181
|
-
readonly type: "function";
|
|
182
|
-
readonly name: "revokeRole";
|
|
183
|
-
readonly inputs: readonly [{
|
|
184
|
-
readonly name: "role";
|
|
185
|
-
readonly type: "bytes32";
|
|
186
|
-
readonly internalType: "bytes32";
|
|
187
|
-
}, {
|
|
188
|
-
readonly name: "account";
|
|
189
|
-
readonly type: "address";
|
|
190
|
-
readonly internalType: "address";
|
|
191
|
-
}];
|
|
192
|
-
readonly outputs: readonly [];
|
|
193
|
-
readonly stateMutability: "nonpayable";
|
|
194
|
-
}, {
|
|
195
|
-
readonly type: "function";
|
|
196
|
-
readonly name: "saleDetails";
|
|
197
|
-
readonly inputs: readonly [];
|
|
198
|
-
readonly outputs: readonly [{
|
|
199
|
-
readonly name: "";
|
|
200
|
-
readonly type: "tuple";
|
|
201
|
-
readonly internalType: "struct IERC721SaleFunctions.SaleDetails";
|
|
202
|
-
readonly components: readonly [{
|
|
203
|
-
readonly name: "supplyCap";
|
|
204
|
-
readonly type: "uint256";
|
|
205
|
-
readonly internalType: "uint256";
|
|
206
|
-
}, {
|
|
207
|
-
readonly name: "cost";
|
|
208
|
-
readonly type: "uint256";
|
|
209
|
-
readonly internalType: "uint256";
|
|
210
|
-
}, {
|
|
211
|
-
readonly name: "paymentToken";
|
|
212
|
-
readonly type: "address";
|
|
213
|
-
readonly internalType: "address";
|
|
214
|
-
}, {
|
|
215
|
-
readonly name: "startTime";
|
|
216
|
-
readonly type: "uint64";
|
|
217
|
-
readonly internalType: "uint64";
|
|
218
|
-
}, {
|
|
219
|
-
readonly name: "endTime";
|
|
220
|
-
readonly type: "uint64";
|
|
221
|
-
readonly internalType: "uint64";
|
|
222
|
-
}, {
|
|
223
|
-
readonly name: "merkleRoot";
|
|
224
|
-
readonly type: "bytes32";
|
|
225
|
-
readonly internalType: "bytes32";
|
|
226
|
-
}];
|
|
227
|
-
}];
|
|
228
|
-
readonly stateMutability: "view";
|
|
229
|
-
}, {
|
|
230
|
-
readonly type: "function";
|
|
231
|
-
readonly name: "setSaleDetails";
|
|
232
|
-
readonly inputs: readonly [{
|
|
233
|
-
readonly name: "supplyCap";
|
|
234
|
-
readonly type: "uint256";
|
|
235
|
-
readonly internalType: "uint256";
|
|
236
|
-
}, {
|
|
237
|
-
readonly name: "cost";
|
|
238
|
-
readonly type: "uint256";
|
|
239
|
-
readonly internalType: "uint256";
|
|
240
|
-
}, {
|
|
241
|
-
readonly name: "paymentToken";
|
|
242
|
-
readonly type: "address";
|
|
243
|
-
readonly internalType: "address";
|
|
244
|
-
}, {
|
|
245
|
-
readonly name: "startTime";
|
|
246
|
-
readonly type: "uint64";
|
|
247
|
-
readonly internalType: "uint64";
|
|
248
|
-
}, {
|
|
249
|
-
readonly name: "endTime";
|
|
250
|
-
readonly type: "uint64";
|
|
251
|
-
readonly internalType: "uint64";
|
|
252
|
-
}, {
|
|
253
|
-
readonly name: "merkleRoot";
|
|
254
|
-
readonly type: "bytes32";
|
|
255
|
-
readonly internalType: "bytes32";
|
|
256
|
-
}];
|
|
257
|
-
readonly outputs: readonly [];
|
|
258
|
-
readonly stateMutability: "nonpayable";
|
|
259
|
-
}, {
|
|
260
|
-
readonly type: "function";
|
|
261
|
-
readonly name: "supportsInterface";
|
|
262
|
-
readonly inputs: readonly [{
|
|
263
|
-
readonly name: "interfaceId";
|
|
264
|
-
readonly type: "bytes4";
|
|
265
|
-
readonly internalType: "bytes4";
|
|
266
|
-
}];
|
|
267
|
-
readonly outputs: readonly [{
|
|
268
|
-
readonly name: "";
|
|
269
|
-
readonly type: "bool";
|
|
270
|
-
readonly internalType: "bool";
|
|
271
|
-
}];
|
|
272
|
-
readonly stateMutability: "view";
|
|
273
|
-
}, {
|
|
274
|
-
readonly type: "function";
|
|
275
|
-
readonly name: "withdrawERC20";
|
|
276
|
-
readonly inputs: readonly [{
|
|
277
|
-
readonly name: "token";
|
|
278
|
-
readonly type: "address";
|
|
279
|
-
readonly internalType: "address";
|
|
280
|
-
}, {
|
|
281
|
-
readonly name: "to";
|
|
282
|
-
readonly type: "address";
|
|
283
|
-
readonly internalType: "address";
|
|
284
|
-
}, {
|
|
285
|
-
readonly name: "value";
|
|
286
|
-
readonly type: "uint256";
|
|
287
|
-
readonly internalType: "uint256";
|
|
288
|
-
}];
|
|
289
|
-
readonly outputs: readonly [];
|
|
290
|
-
readonly stateMutability: "nonpayable";
|
|
291
|
-
}, {
|
|
292
|
-
readonly type: "function";
|
|
293
|
-
readonly name: "withdrawETH";
|
|
294
|
-
readonly inputs: readonly [{
|
|
295
|
-
readonly name: "to";
|
|
296
|
-
readonly type: "address";
|
|
297
|
-
readonly internalType: "address";
|
|
298
|
-
}, {
|
|
299
|
-
readonly name: "value";
|
|
300
|
-
readonly type: "uint256";
|
|
301
|
-
readonly internalType: "uint256";
|
|
302
|
-
}];
|
|
303
|
-
readonly outputs: readonly [];
|
|
304
|
-
readonly stateMutability: "nonpayable";
|
|
305
|
-
}, {
|
|
306
|
-
readonly type: "event";
|
|
307
|
-
readonly name: "RoleAdminChanged";
|
|
308
|
-
readonly inputs: readonly [{
|
|
309
|
-
readonly name: "role";
|
|
310
|
-
readonly type: "bytes32";
|
|
311
|
-
readonly indexed: true;
|
|
312
|
-
readonly internalType: "bytes32";
|
|
313
|
-
}, {
|
|
314
|
-
readonly name: "previousAdminRole";
|
|
315
|
-
readonly type: "bytes32";
|
|
316
|
-
readonly indexed: true;
|
|
317
|
-
readonly internalType: "bytes32";
|
|
318
|
-
}, {
|
|
319
|
-
readonly name: "newAdminRole";
|
|
320
|
-
readonly type: "bytes32";
|
|
321
|
-
readonly indexed: true;
|
|
322
|
-
readonly internalType: "bytes32";
|
|
323
|
-
}];
|
|
324
|
-
readonly anonymous: false;
|
|
325
|
-
}, {
|
|
326
|
-
readonly type: "event";
|
|
327
|
-
readonly name: "RoleGranted";
|
|
328
|
-
readonly inputs: readonly [{
|
|
329
|
-
readonly name: "role";
|
|
330
|
-
readonly type: "bytes32";
|
|
331
|
-
readonly indexed: true;
|
|
332
|
-
readonly internalType: "bytes32";
|
|
333
|
-
}, {
|
|
334
|
-
readonly name: "account";
|
|
335
|
-
readonly type: "address";
|
|
336
|
-
readonly indexed: true;
|
|
337
|
-
readonly internalType: "address";
|
|
338
|
-
}, {
|
|
339
|
-
readonly name: "sender";
|
|
340
|
-
readonly type: "address";
|
|
341
|
-
readonly indexed: true;
|
|
342
|
-
readonly internalType: "address";
|
|
343
|
-
}];
|
|
344
|
-
readonly anonymous: false;
|
|
345
|
-
}, {
|
|
346
|
-
readonly type: "event";
|
|
347
|
-
readonly name: "RoleRevoked";
|
|
348
|
-
readonly inputs: readonly [{
|
|
349
|
-
readonly name: "role";
|
|
350
|
-
readonly type: "bytes32";
|
|
351
|
-
readonly indexed: true;
|
|
352
|
-
readonly internalType: "bytes32";
|
|
353
|
-
}, {
|
|
354
|
-
readonly name: "account";
|
|
355
|
-
readonly type: "address";
|
|
356
|
-
readonly indexed: true;
|
|
357
|
-
readonly internalType: "address";
|
|
358
|
-
}, {
|
|
359
|
-
readonly name: "sender";
|
|
360
|
-
readonly type: "address";
|
|
361
|
-
readonly indexed: true;
|
|
362
|
-
readonly internalType: "address";
|
|
363
|
-
}];
|
|
364
|
-
readonly anonymous: false;
|
|
365
|
-
}, {
|
|
366
|
-
readonly type: "event";
|
|
367
|
-
readonly name: "SaleDetailsUpdated";
|
|
368
|
-
readonly inputs: readonly [{
|
|
369
|
-
readonly name: "supplyCap";
|
|
370
|
-
readonly type: "uint256";
|
|
371
|
-
readonly indexed: false;
|
|
372
|
-
readonly internalType: "uint256";
|
|
373
|
-
}, {
|
|
374
|
-
readonly name: "cost";
|
|
375
|
-
readonly type: "uint256";
|
|
376
|
-
readonly indexed: false;
|
|
377
|
-
readonly internalType: "uint256";
|
|
378
|
-
}, {
|
|
379
|
-
readonly name: "paymentToken";
|
|
380
|
-
readonly type: "address";
|
|
381
|
-
readonly indexed: false;
|
|
382
|
-
readonly internalType: "address";
|
|
383
|
-
}, {
|
|
384
|
-
readonly name: "startTime";
|
|
385
|
-
readonly type: "uint64";
|
|
386
|
-
readonly indexed: false;
|
|
387
|
-
readonly internalType: "uint64";
|
|
388
|
-
}, {
|
|
389
|
-
readonly name: "endTime";
|
|
390
|
-
readonly type: "uint64";
|
|
391
|
-
readonly indexed: false;
|
|
392
|
-
readonly internalType: "uint64";
|
|
393
|
-
}, {
|
|
394
|
-
readonly name: "merkleRoot";
|
|
395
|
-
readonly type: "bytes32";
|
|
396
|
-
readonly indexed: false;
|
|
397
|
-
readonly internalType: "bytes32";
|
|
398
|
-
}];
|
|
399
|
-
readonly anonymous: false;
|
|
400
|
-
}, {
|
|
401
|
-
readonly type: "error";
|
|
402
|
-
readonly name: "InsufficientPayment";
|
|
403
|
-
readonly inputs: readonly [{
|
|
404
|
-
readonly name: "currency";
|
|
405
|
-
readonly type: "address";
|
|
406
|
-
readonly internalType: "address";
|
|
407
|
-
}, {
|
|
408
|
-
readonly name: "expected";
|
|
409
|
-
readonly type: "uint256";
|
|
410
|
-
readonly internalType: "uint256";
|
|
411
|
-
}, {
|
|
412
|
-
readonly name: "actual";
|
|
413
|
-
readonly type: "uint256";
|
|
414
|
-
readonly internalType: "uint256";
|
|
415
|
-
}];
|
|
416
|
-
}, {
|
|
417
|
-
readonly type: "error";
|
|
418
|
-
readonly name: "InsufficientSupply";
|
|
419
|
-
readonly inputs: readonly [{
|
|
420
|
-
readonly name: "currentSupply";
|
|
421
|
-
readonly type: "uint256";
|
|
422
|
-
readonly internalType: "uint256";
|
|
423
|
-
}, {
|
|
424
|
-
readonly name: "amount";
|
|
425
|
-
readonly type: "uint256";
|
|
426
|
-
readonly internalType: "uint256";
|
|
427
|
-
}, {
|
|
428
|
-
readonly name: "maxSupply";
|
|
429
|
-
readonly type: "uint256";
|
|
430
|
-
readonly internalType: "uint256";
|
|
431
|
-
}];
|
|
432
|
-
}, {
|
|
433
|
-
readonly type: "error";
|
|
434
|
-
readonly name: "InvalidInitialization";
|
|
435
|
-
readonly inputs: readonly [];
|
|
436
|
-
}, {
|
|
437
|
-
readonly type: "error";
|
|
438
|
-
readonly name: "InvalidSaleDetails";
|
|
439
|
-
readonly inputs: readonly [];
|
|
440
|
-
}, {
|
|
441
|
-
readonly type: "error";
|
|
442
|
-
readonly name: "MerkleProofInvalid";
|
|
443
|
-
readonly inputs: readonly [{
|
|
444
|
-
readonly name: "root";
|
|
445
|
-
readonly type: "bytes32";
|
|
446
|
-
readonly internalType: "bytes32";
|
|
447
|
-
}, {
|
|
448
|
-
readonly name: "proof";
|
|
449
|
-
readonly type: "bytes32[]";
|
|
450
|
-
readonly internalType: "bytes32[]";
|
|
451
|
-
}, {
|
|
452
|
-
readonly name: "addr";
|
|
453
|
-
readonly type: "address";
|
|
454
|
-
readonly internalType: "address";
|
|
455
|
-
}, {
|
|
456
|
-
readonly name: "salt";
|
|
457
|
-
readonly type: "bytes32";
|
|
458
|
-
readonly internalType: "bytes32";
|
|
459
|
-
}];
|
|
460
|
-
}, {
|
|
461
|
-
readonly type: "error";
|
|
462
|
-
readonly name: "SaleInactive";
|
|
463
|
-
readonly inputs: readonly [];
|
|
464
|
-
}, {
|
|
465
|
-
readonly type: "error";
|
|
466
|
-
readonly name: "WithdrawFailed";
|
|
467
|
-
readonly inputs: readonly [];
|
|
468
|
-
}];
|
|
469
|
-
//#endregion
|
|
470
|
-
//#region src/utils/abi/primary-sale/sequence-721-sales-contract-v1.d.ts
|
|
471
|
-
declare const ERC721_SALE_ABI_V1: readonly [{
|
|
472
|
-
readonly inputs: readonly [{
|
|
473
|
-
readonly internalType: "address";
|
|
474
|
-
readonly name: "currency";
|
|
475
|
-
readonly type: "address";
|
|
476
|
-
}, {
|
|
477
|
-
readonly internalType: "uint256";
|
|
478
|
-
readonly name: "expected";
|
|
479
|
-
readonly type: "uint256";
|
|
480
|
-
}, {
|
|
481
|
-
readonly internalType: "uint256";
|
|
482
|
-
readonly name: "actual";
|
|
483
|
-
readonly type: "uint256";
|
|
484
|
-
}];
|
|
485
|
-
readonly name: "InsufficientPayment";
|
|
486
|
-
readonly type: "error";
|
|
487
|
-
}, {
|
|
488
|
-
readonly inputs: readonly [{
|
|
489
|
-
readonly internalType: "uint256";
|
|
490
|
-
readonly name: "remainingSupply";
|
|
491
|
-
readonly type: "uint256";
|
|
492
|
-
}, {
|
|
493
|
-
readonly internalType: "uint256";
|
|
494
|
-
readonly name: "amount";
|
|
495
|
-
readonly type: "uint256";
|
|
496
|
-
}];
|
|
497
|
-
readonly name: "InsufficientSupply";
|
|
498
|
-
readonly type: "error";
|
|
499
|
-
}, {
|
|
500
|
-
readonly inputs: readonly [];
|
|
501
|
-
readonly name: "InvalidInitialization";
|
|
502
|
-
readonly type: "error";
|
|
503
|
-
}, {
|
|
504
|
-
readonly inputs: readonly [];
|
|
505
|
-
readonly name: "InvalidSaleDetails";
|
|
506
|
-
readonly type: "error";
|
|
507
|
-
}, {
|
|
508
|
-
readonly inputs: readonly [{
|
|
509
|
-
readonly internalType: "bytes32";
|
|
510
|
-
readonly name: "root";
|
|
511
|
-
readonly type: "bytes32";
|
|
512
|
-
}, {
|
|
513
|
-
readonly internalType: "bytes32[]";
|
|
514
|
-
readonly name: "proof";
|
|
515
|
-
readonly type: "bytes32[]";
|
|
516
|
-
}, {
|
|
517
|
-
readonly internalType: "address";
|
|
518
|
-
readonly name: "addr";
|
|
519
|
-
readonly type: "address";
|
|
520
|
-
}, {
|
|
521
|
-
readonly internalType: "bytes32";
|
|
522
|
-
readonly name: "salt";
|
|
523
|
-
readonly type: "bytes32";
|
|
524
|
-
}];
|
|
525
|
-
readonly name: "MerkleProofInvalid";
|
|
526
|
-
readonly type: "error";
|
|
527
|
-
}, {
|
|
528
|
-
readonly inputs: readonly [];
|
|
529
|
-
readonly name: "SaleInactive";
|
|
530
|
-
readonly type: "error";
|
|
531
|
-
}, {
|
|
532
|
-
readonly inputs: readonly [];
|
|
533
|
-
readonly name: "WithdrawFailed";
|
|
534
|
-
readonly type: "error";
|
|
535
|
-
}, {
|
|
536
|
-
readonly anonymous: false;
|
|
537
|
-
readonly inputs: readonly [{
|
|
538
|
-
readonly indexed: false;
|
|
539
|
-
readonly internalType: "address";
|
|
540
|
-
readonly name: "to";
|
|
541
|
-
readonly type: "address";
|
|
542
|
-
}, {
|
|
543
|
-
readonly indexed: false;
|
|
544
|
-
readonly internalType: "uint256";
|
|
545
|
-
readonly name: "amount";
|
|
546
|
-
readonly type: "uint256";
|
|
547
|
-
}];
|
|
548
|
-
readonly name: "ItemsMinted";
|
|
549
|
-
readonly type: "event";
|
|
550
|
-
}, {
|
|
551
|
-
readonly anonymous: false;
|
|
552
|
-
readonly inputs: readonly [{
|
|
553
|
-
readonly indexed: true;
|
|
554
|
-
readonly internalType: "bytes32";
|
|
555
|
-
readonly name: "role";
|
|
556
|
-
readonly type: "bytes32";
|
|
557
|
-
}, {
|
|
558
|
-
readonly indexed: true;
|
|
559
|
-
readonly internalType: "bytes32";
|
|
560
|
-
readonly name: "previousAdminRole";
|
|
561
|
-
readonly type: "bytes32";
|
|
562
|
-
}, {
|
|
563
|
-
readonly indexed: true;
|
|
564
|
-
readonly internalType: "bytes32";
|
|
565
|
-
readonly name: "newAdminRole";
|
|
566
|
-
readonly type: "bytes32";
|
|
567
|
-
}];
|
|
568
|
-
readonly name: "RoleAdminChanged";
|
|
569
|
-
readonly type: "event";
|
|
570
|
-
}, {
|
|
571
|
-
readonly anonymous: false;
|
|
572
|
-
readonly inputs: readonly [{
|
|
573
|
-
readonly indexed: true;
|
|
574
|
-
readonly internalType: "bytes32";
|
|
575
|
-
readonly name: "role";
|
|
576
|
-
readonly type: "bytes32";
|
|
577
|
-
}, {
|
|
578
|
-
readonly indexed: true;
|
|
579
|
-
readonly internalType: "address";
|
|
580
|
-
readonly name: "account";
|
|
581
|
-
readonly type: "address";
|
|
582
|
-
}, {
|
|
583
|
-
readonly indexed: true;
|
|
584
|
-
readonly internalType: "address";
|
|
585
|
-
readonly name: "sender";
|
|
586
|
-
readonly type: "address";
|
|
587
|
-
}];
|
|
588
|
-
readonly name: "RoleGranted";
|
|
589
|
-
readonly type: "event";
|
|
590
|
-
}, {
|
|
591
|
-
readonly anonymous: false;
|
|
592
|
-
readonly inputs: readonly [{
|
|
593
|
-
readonly indexed: true;
|
|
594
|
-
readonly internalType: "bytes32";
|
|
595
|
-
readonly name: "role";
|
|
596
|
-
readonly type: "bytes32";
|
|
597
|
-
}, {
|
|
598
|
-
readonly indexed: true;
|
|
599
|
-
readonly internalType: "address";
|
|
600
|
-
readonly name: "account";
|
|
601
|
-
readonly type: "address";
|
|
602
|
-
}, {
|
|
603
|
-
readonly indexed: true;
|
|
604
|
-
readonly internalType: "address";
|
|
605
|
-
readonly name: "sender";
|
|
606
|
-
readonly type: "address";
|
|
607
|
-
}];
|
|
608
|
-
readonly name: "RoleRevoked";
|
|
609
|
-
readonly type: "event";
|
|
610
|
-
}, {
|
|
611
|
-
readonly anonymous: false;
|
|
612
|
-
readonly inputs: readonly [{
|
|
613
|
-
readonly indexed: false;
|
|
614
|
-
readonly internalType: "uint256";
|
|
615
|
-
readonly name: "remainingSupply";
|
|
616
|
-
readonly type: "uint256";
|
|
617
|
-
}, {
|
|
618
|
-
readonly indexed: false;
|
|
619
|
-
readonly internalType: "uint256";
|
|
620
|
-
readonly name: "cost";
|
|
621
|
-
readonly type: "uint256";
|
|
622
|
-
}, {
|
|
623
|
-
readonly indexed: false;
|
|
624
|
-
readonly internalType: "address";
|
|
625
|
-
readonly name: "paymentToken";
|
|
626
|
-
readonly type: "address";
|
|
627
|
-
}, {
|
|
628
|
-
readonly indexed: false;
|
|
629
|
-
readonly internalType: "uint64";
|
|
630
|
-
readonly name: "startTime";
|
|
631
|
-
readonly type: "uint64";
|
|
632
|
-
}, {
|
|
633
|
-
readonly indexed: false;
|
|
634
|
-
readonly internalType: "uint64";
|
|
635
|
-
readonly name: "endTime";
|
|
636
|
-
readonly type: "uint64";
|
|
637
|
-
}, {
|
|
638
|
-
readonly indexed: false;
|
|
639
|
-
readonly internalType: "bytes32";
|
|
640
|
-
readonly name: "merkleRoot";
|
|
641
|
-
readonly type: "bytes32";
|
|
642
|
-
}];
|
|
643
|
-
readonly name: "SaleDetailsUpdated";
|
|
644
|
-
readonly type: "event";
|
|
645
|
-
}, {
|
|
646
|
-
readonly inputs: readonly [];
|
|
647
|
-
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
648
|
-
readonly outputs: readonly [{
|
|
649
|
-
readonly internalType: "bytes32";
|
|
650
|
-
readonly name: "";
|
|
651
|
-
readonly type: "bytes32";
|
|
652
|
-
}];
|
|
653
|
-
readonly stateMutability: "view";
|
|
654
|
-
readonly type: "function";
|
|
655
|
-
}, {
|
|
656
|
-
readonly inputs: readonly [{
|
|
657
|
-
readonly internalType: "address";
|
|
658
|
-
readonly name: "wallet";
|
|
659
|
-
readonly type: "address";
|
|
660
|
-
}, {
|
|
661
|
-
readonly components: readonly [{
|
|
662
|
-
readonly internalType: "address";
|
|
663
|
-
readonly name: "approvedSigner";
|
|
664
|
-
readonly type: "address";
|
|
665
|
-
}, {
|
|
666
|
-
readonly internalType: "bytes4";
|
|
667
|
-
readonly name: "identityType";
|
|
668
|
-
readonly type: "bytes4";
|
|
669
|
-
}, {
|
|
670
|
-
readonly internalType: "bytes32";
|
|
671
|
-
readonly name: "issuerHash";
|
|
672
|
-
readonly type: "bytes32";
|
|
673
|
-
}, {
|
|
674
|
-
readonly internalType: "bytes32";
|
|
675
|
-
readonly name: "audienceHash";
|
|
676
|
-
readonly type: "bytes32";
|
|
677
|
-
}, {
|
|
678
|
-
readonly internalType: "bytes";
|
|
679
|
-
readonly name: "applicationData";
|
|
680
|
-
readonly type: "bytes";
|
|
681
|
-
}, {
|
|
682
|
-
readonly components: readonly [{
|
|
683
|
-
readonly internalType: "string";
|
|
684
|
-
readonly name: "redirectUrl";
|
|
685
|
-
readonly type: "string";
|
|
686
|
-
}, {
|
|
687
|
-
readonly internalType: "uint64";
|
|
688
|
-
readonly name: "issuedAt";
|
|
689
|
-
readonly type: "uint64";
|
|
690
|
-
}];
|
|
691
|
-
readonly internalType: "struct AuthData";
|
|
692
|
-
readonly name: "authData";
|
|
693
|
-
readonly type: "tuple";
|
|
694
|
-
}];
|
|
695
|
-
readonly internalType: "struct Attestation";
|
|
696
|
-
readonly name: "attestation";
|
|
697
|
-
readonly type: "tuple";
|
|
698
|
-
}, {
|
|
699
|
-
readonly components: readonly [{
|
|
700
|
-
readonly internalType: "address";
|
|
701
|
-
readonly name: "to";
|
|
702
|
-
readonly type: "address";
|
|
703
|
-
}, {
|
|
704
|
-
readonly internalType: "uint256";
|
|
705
|
-
readonly name: "value";
|
|
706
|
-
readonly type: "uint256";
|
|
707
|
-
}, {
|
|
708
|
-
readonly internalType: "bytes";
|
|
709
|
-
readonly name: "data";
|
|
710
|
-
readonly type: "bytes";
|
|
711
|
-
}, {
|
|
712
|
-
readonly internalType: "uint256";
|
|
713
|
-
readonly name: "gasLimit";
|
|
714
|
-
readonly type: "uint256";
|
|
715
|
-
}, {
|
|
716
|
-
readonly internalType: "bool";
|
|
717
|
-
readonly name: "delegateCall";
|
|
718
|
-
readonly type: "bool";
|
|
719
|
-
}, {
|
|
720
|
-
readonly internalType: "bool";
|
|
721
|
-
readonly name: "onlyFallback";
|
|
722
|
-
readonly type: "bool";
|
|
723
|
-
}, {
|
|
724
|
-
readonly internalType: "uint256";
|
|
725
|
-
readonly name: "behaviorOnError";
|
|
726
|
-
readonly type: "uint256";
|
|
727
|
-
}];
|
|
728
|
-
readonly internalType: "struct Payload.Call";
|
|
729
|
-
readonly name: "call";
|
|
730
|
-
readonly type: "tuple";
|
|
731
|
-
}];
|
|
732
|
-
readonly name: "acceptImplicitRequest";
|
|
733
|
-
readonly outputs: readonly [{
|
|
734
|
-
readonly internalType: "bytes32";
|
|
735
|
-
readonly name: "";
|
|
736
|
-
readonly type: "bytes32";
|
|
737
|
-
}];
|
|
738
|
-
readonly stateMutability: "view";
|
|
739
|
-
readonly type: "function";
|
|
740
|
-
}, {
|
|
741
|
-
readonly inputs: readonly [{
|
|
742
|
-
readonly internalType: "bytes32";
|
|
743
|
-
readonly name: "root";
|
|
744
|
-
readonly type: "bytes32";
|
|
745
|
-
}, {
|
|
746
|
-
readonly internalType: "bytes32[]";
|
|
747
|
-
readonly name: "proof";
|
|
748
|
-
readonly type: "bytes32[]";
|
|
749
|
-
}, {
|
|
750
|
-
readonly internalType: "address";
|
|
751
|
-
readonly name: "addr";
|
|
752
|
-
readonly type: "address";
|
|
753
|
-
}, {
|
|
754
|
-
readonly internalType: "bytes32";
|
|
755
|
-
readonly name: "salt";
|
|
756
|
-
readonly type: "bytes32";
|
|
757
|
-
}];
|
|
758
|
-
readonly name: "checkMerkleProof";
|
|
759
|
-
readonly outputs: readonly [{
|
|
760
|
-
readonly internalType: "bool";
|
|
761
|
-
readonly name: "";
|
|
762
|
-
readonly type: "bool";
|
|
763
|
-
}];
|
|
764
|
-
readonly stateMutability: "view";
|
|
765
|
-
readonly type: "function";
|
|
766
|
-
}, {
|
|
767
|
-
readonly inputs: readonly [{
|
|
768
|
-
readonly internalType: "bytes32";
|
|
769
|
-
readonly name: "role";
|
|
770
|
-
readonly type: "bytes32";
|
|
771
|
-
}];
|
|
772
|
-
readonly name: "getRoleAdmin";
|
|
773
|
-
readonly outputs: readonly [{
|
|
774
|
-
readonly internalType: "bytes32";
|
|
775
|
-
readonly name: "";
|
|
776
|
-
readonly type: "bytes32";
|
|
777
|
-
}];
|
|
778
|
-
readonly stateMutability: "view";
|
|
779
|
-
readonly type: "function";
|
|
780
|
-
}, {
|
|
781
|
-
readonly inputs: readonly [{
|
|
782
|
-
readonly internalType: "bytes32";
|
|
783
|
-
readonly name: "role";
|
|
784
|
-
readonly type: "bytes32";
|
|
785
|
-
}, {
|
|
786
|
-
readonly internalType: "uint256";
|
|
787
|
-
readonly name: "index";
|
|
788
|
-
readonly type: "uint256";
|
|
789
|
-
}];
|
|
790
|
-
readonly name: "getRoleMember";
|
|
791
|
-
readonly outputs: readonly [{
|
|
792
|
-
readonly internalType: "address";
|
|
793
|
-
readonly name: "";
|
|
794
|
-
readonly type: "address";
|
|
795
|
-
}];
|
|
796
|
-
readonly stateMutability: "view";
|
|
797
|
-
readonly type: "function";
|
|
798
|
-
}, {
|
|
799
|
-
readonly inputs: readonly [{
|
|
800
|
-
readonly internalType: "bytes32";
|
|
801
|
-
readonly name: "role";
|
|
802
|
-
readonly type: "bytes32";
|
|
803
|
-
}];
|
|
804
|
-
readonly name: "getRoleMemberCount";
|
|
805
|
-
readonly outputs: readonly [{
|
|
806
|
-
readonly internalType: "uint256";
|
|
807
|
-
readonly name: "";
|
|
808
|
-
readonly type: "uint256";
|
|
809
|
-
}];
|
|
810
|
-
readonly stateMutability: "view";
|
|
811
|
-
readonly type: "function";
|
|
812
|
-
}, {
|
|
813
|
-
readonly inputs: readonly [{
|
|
814
|
-
readonly internalType: "bytes32";
|
|
815
|
-
readonly name: "role";
|
|
816
|
-
readonly type: "bytes32";
|
|
817
|
-
}, {
|
|
818
|
-
readonly internalType: "address";
|
|
819
|
-
readonly name: "account";
|
|
820
|
-
readonly type: "address";
|
|
821
|
-
}];
|
|
822
|
-
readonly name: "grantRole";
|
|
823
|
-
readonly outputs: readonly [];
|
|
824
|
-
readonly stateMutability: "nonpayable";
|
|
825
|
-
readonly type: "function";
|
|
826
|
-
}, {
|
|
827
|
-
readonly inputs: readonly [{
|
|
828
|
-
readonly internalType: "bytes32";
|
|
829
|
-
readonly name: "role";
|
|
830
|
-
readonly type: "bytes32";
|
|
831
|
-
}, {
|
|
832
|
-
readonly internalType: "address";
|
|
833
|
-
readonly name: "account";
|
|
834
|
-
readonly type: "address";
|
|
835
|
-
}];
|
|
836
|
-
readonly name: "hasRole";
|
|
837
|
-
readonly outputs: readonly [{
|
|
838
|
-
readonly internalType: "bool";
|
|
839
|
-
readonly name: "";
|
|
840
|
-
readonly type: "bool";
|
|
841
|
-
}];
|
|
842
|
-
readonly stateMutability: "view";
|
|
843
|
-
readonly type: "function";
|
|
844
|
-
}, {
|
|
845
|
-
readonly inputs: readonly [{
|
|
846
|
-
readonly internalType: "address";
|
|
847
|
-
readonly name: "owner";
|
|
848
|
-
readonly type: "address";
|
|
849
|
-
}, {
|
|
850
|
-
readonly internalType: "address";
|
|
851
|
-
readonly name: "items";
|
|
852
|
-
readonly type: "address";
|
|
853
|
-
}, {
|
|
854
|
-
readonly internalType: "address";
|
|
855
|
-
readonly name: "implicitModeValidator";
|
|
856
|
-
readonly type: "address";
|
|
857
|
-
}, {
|
|
858
|
-
readonly internalType: "bytes32";
|
|
859
|
-
readonly name: "implicitModeProjectId";
|
|
860
|
-
readonly type: "bytes32";
|
|
861
|
-
}];
|
|
862
|
-
readonly name: "initialize";
|
|
863
|
-
readonly outputs: readonly [];
|
|
864
|
-
readonly stateMutability: "nonpayable";
|
|
865
|
-
readonly type: "function";
|
|
866
|
-
}, {
|
|
867
|
-
readonly inputs: readonly [];
|
|
868
|
-
readonly name: "itemsContract";
|
|
869
|
-
readonly outputs: readonly [{
|
|
870
|
-
readonly internalType: "address";
|
|
871
|
-
readonly name: "";
|
|
872
|
-
readonly type: "address";
|
|
873
|
-
}];
|
|
874
|
-
readonly stateMutability: "view";
|
|
875
|
-
readonly type: "function";
|
|
876
|
-
}, {
|
|
877
|
-
readonly inputs: readonly [{
|
|
878
|
-
readonly internalType: "address";
|
|
879
|
-
readonly name: "to";
|
|
880
|
-
readonly type: "address";
|
|
881
|
-
}, {
|
|
882
|
-
readonly internalType: "uint256";
|
|
883
|
-
readonly name: "amount";
|
|
884
|
-
readonly type: "uint256";
|
|
885
|
-
}, {
|
|
886
|
-
readonly internalType: "address";
|
|
887
|
-
readonly name: "paymentToken";
|
|
888
|
-
readonly type: "address";
|
|
889
|
-
}, {
|
|
890
|
-
readonly internalType: "uint256";
|
|
891
|
-
readonly name: "maxTotal";
|
|
892
|
-
readonly type: "uint256";
|
|
893
|
-
}, {
|
|
894
|
-
readonly internalType: "bytes32[]";
|
|
895
|
-
readonly name: "proof";
|
|
896
|
-
readonly type: "bytes32[]";
|
|
897
|
-
}];
|
|
898
|
-
readonly name: "mint";
|
|
899
|
-
readonly outputs: readonly [];
|
|
900
|
-
readonly stateMutability: "payable";
|
|
901
|
-
readonly type: "function";
|
|
902
|
-
}, {
|
|
903
|
-
readonly inputs: readonly [{
|
|
904
|
-
readonly internalType: "bytes32";
|
|
905
|
-
readonly name: "role";
|
|
906
|
-
readonly type: "bytes32";
|
|
907
|
-
}, {
|
|
908
|
-
readonly internalType: "address";
|
|
909
|
-
readonly name: "account";
|
|
910
|
-
readonly type: "address";
|
|
911
|
-
}];
|
|
912
|
-
readonly name: "renounceRole";
|
|
913
|
-
readonly outputs: readonly [];
|
|
914
|
-
readonly stateMutability: "nonpayable";
|
|
915
|
-
readonly type: "function";
|
|
916
|
-
}, {
|
|
917
|
-
readonly inputs: readonly [{
|
|
918
|
-
readonly internalType: "bytes32";
|
|
919
|
-
readonly name: "role";
|
|
920
|
-
readonly type: "bytes32";
|
|
921
|
-
}, {
|
|
922
|
-
readonly internalType: "address";
|
|
923
|
-
readonly name: "account";
|
|
924
|
-
readonly type: "address";
|
|
925
|
-
}];
|
|
926
|
-
readonly name: "revokeRole";
|
|
927
|
-
readonly outputs: readonly [];
|
|
928
|
-
readonly stateMutability: "nonpayable";
|
|
929
|
-
readonly type: "function";
|
|
930
|
-
}, {
|
|
931
|
-
readonly inputs: readonly [];
|
|
932
|
-
readonly name: "saleDetails";
|
|
933
|
-
readonly outputs: readonly [{
|
|
934
|
-
readonly components: readonly [{
|
|
935
|
-
readonly internalType: "uint256";
|
|
936
|
-
readonly name: "remainingSupply";
|
|
937
|
-
readonly type: "uint256";
|
|
938
|
-
}, {
|
|
939
|
-
readonly internalType: "uint256";
|
|
940
|
-
readonly name: "cost";
|
|
941
|
-
readonly type: "uint256";
|
|
942
|
-
}, {
|
|
943
|
-
readonly internalType: "address";
|
|
944
|
-
readonly name: "paymentToken";
|
|
945
|
-
readonly type: "address";
|
|
946
|
-
}, {
|
|
947
|
-
readonly internalType: "uint64";
|
|
948
|
-
readonly name: "startTime";
|
|
949
|
-
readonly type: "uint64";
|
|
950
|
-
}, {
|
|
951
|
-
readonly internalType: "uint64";
|
|
952
|
-
readonly name: "endTime";
|
|
953
|
-
readonly type: "uint64";
|
|
954
|
-
}, {
|
|
955
|
-
readonly internalType: "bytes32";
|
|
956
|
-
readonly name: "merkleRoot";
|
|
957
|
-
readonly type: "bytes32";
|
|
958
|
-
}];
|
|
959
|
-
readonly internalType: "struct IERC721SaleFunctions.SaleDetails";
|
|
960
|
-
readonly name: "";
|
|
961
|
-
readonly type: "tuple";
|
|
962
|
-
}];
|
|
963
|
-
readonly stateMutability: "view";
|
|
964
|
-
readonly type: "function";
|
|
965
|
-
}, {
|
|
966
|
-
readonly inputs: readonly [{
|
|
967
|
-
readonly internalType: "bytes32";
|
|
968
|
-
readonly name: "projectId";
|
|
969
|
-
readonly type: "bytes32";
|
|
970
|
-
}];
|
|
971
|
-
readonly name: "setImplicitModeProjectId";
|
|
972
|
-
readonly outputs: readonly [];
|
|
973
|
-
readonly stateMutability: "nonpayable";
|
|
974
|
-
readonly type: "function";
|
|
975
|
-
}, {
|
|
976
|
-
readonly inputs: readonly [{
|
|
977
|
-
readonly internalType: "address";
|
|
978
|
-
readonly name: "validator";
|
|
979
|
-
readonly type: "address";
|
|
980
|
-
}];
|
|
981
|
-
readonly name: "setImplicitModeValidator";
|
|
982
|
-
readonly outputs: readonly [];
|
|
983
|
-
readonly stateMutability: "nonpayable";
|
|
984
|
-
readonly type: "function";
|
|
985
|
-
}, {
|
|
986
|
-
readonly inputs: readonly [{
|
|
987
|
-
readonly internalType: "uint256";
|
|
988
|
-
readonly name: "remainingSupply";
|
|
989
|
-
readonly type: "uint256";
|
|
990
|
-
}, {
|
|
991
|
-
readonly internalType: "uint256";
|
|
992
|
-
readonly name: "cost";
|
|
993
|
-
readonly type: "uint256";
|
|
994
|
-
}, {
|
|
995
|
-
readonly internalType: "address";
|
|
996
|
-
readonly name: "paymentToken";
|
|
997
|
-
readonly type: "address";
|
|
998
|
-
}, {
|
|
999
|
-
readonly internalType: "uint64";
|
|
1000
|
-
readonly name: "startTime";
|
|
1001
|
-
readonly type: "uint64";
|
|
1002
|
-
}, {
|
|
1003
|
-
readonly internalType: "uint64";
|
|
1004
|
-
readonly name: "endTime";
|
|
1005
|
-
readonly type: "uint64";
|
|
1006
|
-
}, {
|
|
1007
|
-
readonly internalType: "bytes32";
|
|
1008
|
-
readonly name: "merkleRoot";
|
|
1009
|
-
readonly type: "bytes32";
|
|
1010
|
-
}];
|
|
1011
|
-
readonly name: "setSaleDetails";
|
|
1012
|
-
readonly outputs: readonly [];
|
|
1013
|
-
readonly stateMutability: "nonpayable";
|
|
1014
|
-
readonly type: "function";
|
|
1015
|
-
}, {
|
|
1016
|
-
readonly inputs: readonly [{
|
|
1017
|
-
readonly internalType: "bytes4";
|
|
1018
|
-
readonly name: "interfaceId";
|
|
1019
|
-
readonly type: "bytes4";
|
|
1020
|
-
}];
|
|
1021
|
-
readonly name: "supportsInterface";
|
|
1022
|
-
readonly outputs: readonly [{
|
|
1023
|
-
readonly internalType: "bool";
|
|
1024
|
-
readonly name: "";
|
|
1025
|
-
readonly type: "bool";
|
|
1026
|
-
}];
|
|
1027
|
-
readonly stateMutability: "view";
|
|
1028
|
-
readonly type: "function";
|
|
1029
|
-
}, {
|
|
1030
|
-
readonly inputs: readonly [{
|
|
1031
|
-
readonly internalType: "address";
|
|
1032
|
-
readonly name: "token";
|
|
1033
|
-
readonly type: "address";
|
|
1034
|
-
}, {
|
|
1035
|
-
readonly internalType: "address";
|
|
1036
|
-
readonly name: "to";
|
|
1037
|
-
readonly type: "address";
|
|
1038
|
-
}, {
|
|
1039
|
-
readonly internalType: "uint256";
|
|
1040
|
-
readonly name: "value";
|
|
1041
|
-
readonly type: "uint256";
|
|
1042
|
-
}];
|
|
1043
|
-
readonly name: "withdrawERC20";
|
|
1044
|
-
readonly outputs: readonly [];
|
|
1045
|
-
readonly stateMutability: "nonpayable";
|
|
1046
|
-
readonly type: "function";
|
|
1047
|
-
}, {
|
|
1048
|
-
readonly inputs: readonly [{
|
|
1049
|
-
readonly internalType: "address";
|
|
1050
|
-
readonly name: "to";
|
|
1051
|
-
readonly type: "address";
|
|
1052
|
-
}, {
|
|
1053
|
-
readonly internalType: "uint256";
|
|
1054
|
-
readonly name: "value";
|
|
1055
|
-
readonly type: "uint256";
|
|
1056
|
-
}];
|
|
1057
|
-
readonly name: "withdrawETH";
|
|
1058
|
-
readonly outputs: readonly [];
|
|
1059
|
-
readonly stateMutability: "nonpayable";
|
|
1060
|
-
readonly type: "function";
|
|
1061
|
-
}];
|
|
1062
|
-
//#endregion
|
|
1063
|
-
//#region src/utils/abi/primary-sale/sequence-1155-sales-contract-v0.d.ts
|
|
1064
|
-
declare const ERC1155_SALES_CONTRACT_ABI_V0: readonly [{
|
|
1065
|
-
readonly type: "function";
|
|
1066
|
-
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
1067
|
-
readonly inputs: readonly [];
|
|
1068
|
-
readonly outputs: readonly [{
|
|
1069
|
-
readonly name: "";
|
|
1070
|
-
readonly type: "bytes32";
|
|
1071
|
-
readonly internalType: "bytes32";
|
|
1072
|
-
}];
|
|
1073
|
-
readonly stateMutability: "view";
|
|
1074
|
-
}, {
|
|
1075
|
-
readonly type: "function";
|
|
1076
|
-
readonly name: "checkMerkleProof";
|
|
1077
|
-
readonly inputs: readonly [{
|
|
1078
|
-
readonly name: "root";
|
|
1079
|
-
readonly type: "bytes32";
|
|
1080
|
-
readonly internalType: "bytes32";
|
|
1081
|
-
}, {
|
|
1082
|
-
readonly name: "proof";
|
|
1083
|
-
readonly type: "bytes32[]";
|
|
1084
|
-
readonly internalType: "bytes32[]";
|
|
1085
|
-
}, {
|
|
1086
|
-
readonly name: "addr";
|
|
1087
|
-
readonly type: "address";
|
|
1088
|
-
readonly internalType: "address";
|
|
1089
|
-
}, {
|
|
1090
|
-
readonly name: "salt";
|
|
1091
|
-
readonly type: "bytes32";
|
|
1092
|
-
readonly internalType: "bytes32";
|
|
1093
|
-
}];
|
|
1094
|
-
readonly outputs: readonly [{
|
|
1095
|
-
readonly name: "";
|
|
1096
|
-
readonly type: "bool";
|
|
1097
|
-
readonly internalType: "bool";
|
|
1098
|
-
}];
|
|
1099
|
-
readonly stateMutability: "view";
|
|
1100
|
-
}, {
|
|
1101
|
-
readonly type: "function";
|
|
1102
|
-
readonly name: "getRoleAdmin";
|
|
1103
|
-
readonly inputs: readonly [{
|
|
1104
|
-
readonly name: "role";
|
|
1105
|
-
readonly type: "bytes32";
|
|
1106
|
-
readonly internalType: "bytes32";
|
|
1107
|
-
}];
|
|
1108
|
-
readonly outputs: readonly [{
|
|
1109
|
-
readonly name: "";
|
|
1110
|
-
readonly type: "bytes32";
|
|
1111
|
-
readonly internalType: "bytes32";
|
|
1112
|
-
}];
|
|
1113
|
-
readonly stateMutability: "view";
|
|
1114
|
-
}, {
|
|
1115
|
-
readonly type: "function";
|
|
1116
|
-
readonly name: "getRoleMember";
|
|
1117
|
-
readonly inputs: readonly [{
|
|
1118
|
-
readonly name: "role";
|
|
1119
|
-
readonly type: "bytes32";
|
|
1120
|
-
readonly internalType: "bytes32";
|
|
1121
|
-
}, {
|
|
1122
|
-
readonly name: "index";
|
|
1123
|
-
readonly type: "uint256";
|
|
1124
|
-
readonly internalType: "uint256";
|
|
1125
|
-
}];
|
|
1126
|
-
readonly outputs: readonly [{
|
|
1127
|
-
readonly name: "";
|
|
1128
|
-
readonly type: "address";
|
|
1129
|
-
readonly internalType: "address";
|
|
1130
|
-
}];
|
|
1131
|
-
readonly stateMutability: "view";
|
|
1132
|
-
}, {
|
|
1133
|
-
readonly type: "function";
|
|
1134
|
-
readonly name: "getRoleMemberCount";
|
|
1135
|
-
readonly inputs: readonly [{
|
|
1136
|
-
readonly name: "role";
|
|
1137
|
-
readonly type: "bytes32";
|
|
1138
|
-
readonly internalType: "bytes32";
|
|
1139
|
-
}];
|
|
1140
|
-
readonly outputs: readonly [{
|
|
1141
|
-
readonly name: "";
|
|
1142
|
-
readonly type: "uint256";
|
|
1143
|
-
readonly internalType: "uint256";
|
|
1144
|
-
}];
|
|
1145
|
-
readonly stateMutability: "view";
|
|
1146
|
-
}, {
|
|
1147
|
-
readonly type: "function";
|
|
1148
|
-
readonly name: "globalSaleDetails";
|
|
1149
|
-
readonly inputs: readonly [];
|
|
1150
|
-
readonly outputs: readonly [{
|
|
1151
|
-
readonly name: "";
|
|
1152
|
-
readonly type: "tuple";
|
|
1153
|
-
readonly internalType: "struct IERC1155SaleFunctions.SaleDetails";
|
|
1154
|
-
readonly components: readonly [{
|
|
1155
|
-
readonly name: "cost";
|
|
1156
|
-
readonly type: "uint256";
|
|
1157
|
-
readonly internalType: "uint256";
|
|
1158
|
-
}, {
|
|
1159
|
-
readonly name: "supplyCap";
|
|
1160
|
-
readonly type: "uint256";
|
|
1161
|
-
readonly internalType: "uint256";
|
|
1162
|
-
}, {
|
|
1163
|
-
readonly name: "startTime";
|
|
1164
|
-
readonly type: "uint64";
|
|
1165
|
-
readonly internalType: "uint64";
|
|
1166
|
-
}, {
|
|
1167
|
-
readonly name: "endTime";
|
|
1168
|
-
readonly type: "uint64";
|
|
1169
|
-
readonly internalType: "uint64";
|
|
1170
|
-
}, {
|
|
1171
|
-
readonly name: "merkleRoot";
|
|
1172
|
-
readonly type: "bytes32";
|
|
1173
|
-
readonly internalType: "bytes32";
|
|
1174
|
-
}];
|
|
1175
|
-
}];
|
|
1176
|
-
readonly stateMutability: "view";
|
|
1177
|
-
}, {
|
|
1178
|
-
readonly type: "function";
|
|
1179
|
-
readonly name: "grantRole";
|
|
1180
|
-
readonly inputs: readonly [{
|
|
1181
|
-
readonly name: "role";
|
|
1182
|
-
readonly type: "bytes32";
|
|
1183
|
-
readonly internalType: "bytes32";
|
|
1184
|
-
}, {
|
|
1185
|
-
readonly name: "account";
|
|
1186
|
-
readonly type: "address";
|
|
1187
|
-
readonly internalType: "address";
|
|
1188
|
-
}];
|
|
1189
|
-
readonly outputs: readonly [];
|
|
1190
|
-
readonly stateMutability: "nonpayable";
|
|
1191
|
-
}, {
|
|
1192
|
-
readonly type: "function";
|
|
1193
|
-
readonly name: "hasRole";
|
|
1194
|
-
readonly inputs: readonly [{
|
|
1195
|
-
readonly name: "role";
|
|
1196
|
-
readonly type: "bytes32";
|
|
1197
|
-
readonly internalType: "bytes32";
|
|
1198
|
-
}, {
|
|
1199
|
-
readonly name: "account";
|
|
1200
|
-
readonly type: "address";
|
|
1201
|
-
readonly internalType: "address";
|
|
1202
|
-
}];
|
|
1203
|
-
readonly outputs: readonly [{
|
|
1204
|
-
readonly name: "";
|
|
1205
|
-
readonly type: "bool";
|
|
1206
|
-
readonly internalType: "bool";
|
|
1207
|
-
}];
|
|
1208
|
-
readonly stateMutability: "view";
|
|
1209
|
-
}, {
|
|
1210
|
-
readonly type: "function";
|
|
1211
|
-
readonly name: "initialize";
|
|
1212
|
-
readonly inputs: readonly [{
|
|
1213
|
-
readonly name: "owner";
|
|
1214
|
-
readonly type: "address";
|
|
1215
|
-
readonly internalType: "address";
|
|
1216
|
-
}, {
|
|
1217
|
-
readonly name: "items";
|
|
1218
|
-
readonly type: "address";
|
|
1219
|
-
readonly internalType: "address";
|
|
1220
|
-
}];
|
|
1221
|
-
readonly outputs: readonly [];
|
|
1222
|
-
readonly stateMutability: "nonpayable";
|
|
1223
|
-
}, {
|
|
1224
|
-
readonly type: "function";
|
|
1225
|
-
readonly name: "mint";
|
|
1226
|
-
readonly inputs: readonly [{
|
|
1227
|
-
readonly name: "to";
|
|
1228
|
-
readonly type: "address";
|
|
1229
|
-
readonly internalType: "address";
|
|
1230
|
-
}, {
|
|
1231
|
-
readonly name: "tokenIds";
|
|
1232
|
-
readonly type: "uint256[]";
|
|
1233
|
-
readonly internalType: "uint256[]";
|
|
1234
|
-
}, {
|
|
1235
|
-
readonly name: "amounts";
|
|
1236
|
-
readonly type: "uint256[]";
|
|
1237
|
-
readonly internalType: "uint256[]";
|
|
1238
|
-
}, {
|
|
1239
|
-
readonly name: "data";
|
|
1240
|
-
readonly type: "bytes";
|
|
1241
|
-
readonly internalType: "bytes";
|
|
1242
|
-
}, {
|
|
1243
|
-
readonly name: "expectedPaymentToken";
|
|
1244
|
-
readonly type: "address";
|
|
1245
|
-
readonly internalType: "address";
|
|
1246
|
-
}, {
|
|
1247
|
-
readonly name: "maxTotal";
|
|
1248
|
-
readonly type: "uint256";
|
|
1249
|
-
readonly internalType: "uint256";
|
|
1250
|
-
}, {
|
|
1251
|
-
readonly name: "proof";
|
|
1252
|
-
readonly type: "bytes32[]";
|
|
1253
|
-
readonly internalType: "bytes32[]";
|
|
1254
|
-
}];
|
|
1255
|
-
readonly outputs: readonly [];
|
|
1256
|
-
readonly stateMutability: "payable";
|
|
1257
|
-
}, {
|
|
1258
|
-
readonly type: "function";
|
|
1259
|
-
readonly name: "paymentToken";
|
|
1260
|
-
readonly inputs: readonly [];
|
|
1261
|
-
readonly outputs: readonly [{
|
|
1262
|
-
readonly name: "";
|
|
1263
|
-
readonly type: "address";
|
|
1264
|
-
readonly internalType: "address";
|
|
1265
|
-
}];
|
|
1266
|
-
readonly stateMutability: "view";
|
|
1267
|
-
}, {
|
|
1268
|
-
readonly type: "function";
|
|
1269
|
-
readonly name: "renounceRole";
|
|
1270
|
-
readonly inputs: readonly [{
|
|
1271
|
-
readonly name: "role";
|
|
1272
|
-
readonly type: "bytes32";
|
|
1273
|
-
readonly internalType: "bytes32";
|
|
1274
|
-
}, {
|
|
1275
|
-
readonly name: "account";
|
|
1276
|
-
readonly type: "address";
|
|
1277
|
-
readonly internalType: "address";
|
|
1278
|
-
}];
|
|
1279
|
-
readonly outputs: readonly [];
|
|
1280
|
-
readonly stateMutability: "nonpayable";
|
|
1281
|
-
}, {
|
|
1282
|
-
readonly type: "function";
|
|
1283
|
-
readonly name: "revokeRole";
|
|
1284
|
-
readonly inputs: readonly [{
|
|
1285
|
-
readonly name: "role";
|
|
1286
|
-
readonly type: "bytes32";
|
|
1287
|
-
readonly internalType: "bytes32";
|
|
1288
|
-
}, {
|
|
1289
|
-
readonly name: "account";
|
|
1290
|
-
readonly type: "address";
|
|
1291
|
-
readonly internalType: "address";
|
|
1292
|
-
}];
|
|
1293
|
-
readonly outputs: readonly [];
|
|
1294
|
-
readonly stateMutability: "nonpayable";
|
|
1295
|
-
}, {
|
|
1296
|
-
readonly type: "function";
|
|
1297
|
-
readonly name: "setGlobalSaleDetails";
|
|
1298
|
-
readonly inputs: readonly [{
|
|
1299
|
-
readonly name: "cost";
|
|
1300
|
-
readonly type: "uint256";
|
|
1301
|
-
readonly internalType: "uint256";
|
|
1302
|
-
}, {
|
|
1303
|
-
readonly name: "supplyCap";
|
|
1304
|
-
readonly type: "uint256";
|
|
1305
|
-
readonly internalType: "uint256";
|
|
1306
|
-
}, {
|
|
1307
|
-
readonly name: "startTime";
|
|
1308
|
-
readonly type: "uint64";
|
|
1309
|
-
readonly internalType: "uint64";
|
|
1310
|
-
}, {
|
|
1311
|
-
readonly name: "endTime";
|
|
1312
|
-
readonly type: "uint64";
|
|
1313
|
-
readonly internalType: "uint64";
|
|
1314
|
-
}, {
|
|
1315
|
-
readonly name: "merkleRoot";
|
|
1316
|
-
readonly type: "bytes32";
|
|
1317
|
-
readonly internalType: "bytes32";
|
|
1318
|
-
}];
|
|
1319
|
-
readonly outputs: readonly [];
|
|
1320
|
-
readonly stateMutability: "nonpayable";
|
|
1321
|
-
}, {
|
|
1322
|
-
readonly type: "function";
|
|
1323
|
-
readonly name: "setPaymentToken";
|
|
1324
|
-
readonly inputs: readonly [{
|
|
1325
|
-
readonly name: "paymentTokenAddr";
|
|
1326
|
-
readonly type: "address";
|
|
1327
|
-
readonly internalType: "address";
|
|
1328
|
-
}];
|
|
1329
|
-
readonly outputs: readonly [];
|
|
1330
|
-
readonly stateMutability: "nonpayable";
|
|
1331
|
-
}, {
|
|
1332
|
-
readonly type: "function";
|
|
1333
|
-
readonly name: "setTokenSaleDetails";
|
|
1334
|
-
readonly inputs: readonly [{
|
|
1335
|
-
readonly name: "tokenId";
|
|
1336
|
-
readonly type: "uint256";
|
|
1337
|
-
readonly internalType: "uint256";
|
|
1338
|
-
}, {
|
|
1339
|
-
readonly name: "cost";
|
|
1340
|
-
readonly type: "uint256";
|
|
1341
|
-
readonly internalType: "uint256";
|
|
1342
|
-
}, {
|
|
1343
|
-
readonly name: "supplyCap";
|
|
1344
|
-
readonly type: "uint256";
|
|
1345
|
-
readonly internalType: "uint256";
|
|
1346
|
-
}, {
|
|
1347
|
-
readonly name: "startTime";
|
|
1348
|
-
readonly type: "uint64";
|
|
1349
|
-
readonly internalType: "uint64";
|
|
1350
|
-
}, {
|
|
1351
|
-
readonly name: "endTime";
|
|
1352
|
-
readonly type: "uint64";
|
|
1353
|
-
readonly internalType: "uint64";
|
|
1354
|
-
}, {
|
|
1355
|
-
readonly name: "merkleRoot";
|
|
1356
|
-
readonly type: "bytes32";
|
|
1357
|
-
readonly internalType: "bytes32";
|
|
1358
|
-
}];
|
|
1359
|
-
readonly outputs: readonly [];
|
|
1360
|
-
readonly stateMutability: "nonpayable";
|
|
1361
|
-
}, {
|
|
1362
|
-
readonly type: "function";
|
|
1363
|
-
readonly name: "setTokenSaleDetailsBatch";
|
|
1364
|
-
readonly inputs: readonly [{
|
|
1365
|
-
readonly name: "tokenIds";
|
|
1366
|
-
readonly type: "uint256[]";
|
|
1367
|
-
readonly internalType: "uint256[]";
|
|
1368
|
-
}, {
|
|
1369
|
-
readonly name: "costs";
|
|
1370
|
-
readonly type: "uint256[]";
|
|
1371
|
-
readonly internalType: "uint256[]";
|
|
1372
|
-
}, {
|
|
1373
|
-
readonly name: "supplyCaps";
|
|
1374
|
-
readonly type: "uint256[]";
|
|
1375
|
-
readonly internalType: "uint256[]";
|
|
1376
|
-
}, {
|
|
1377
|
-
readonly name: "startTimes";
|
|
1378
|
-
readonly type: "uint64[]";
|
|
1379
|
-
readonly internalType: "uint64[]";
|
|
1380
|
-
}, {
|
|
1381
|
-
readonly name: "endTimes";
|
|
1382
|
-
readonly type: "uint64[]";
|
|
1383
|
-
readonly internalType: "uint64[]";
|
|
1384
|
-
}, {
|
|
1385
|
-
readonly name: "merkleRoots";
|
|
1386
|
-
readonly type: "bytes32[]";
|
|
1387
|
-
readonly internalType: "bytes32[]";
|
|
1388
|
-
}];
|
|
1389
|
-
readonly outputs: readonly [];
|
|
1390
|
-
readonly stateMutability: "nonpayable";
|
|
1391
|
-
}, {
|
|
1392
|
-
readonly type: "function";
|
|
1393
|
-
readonly name: "supportsInterface";
|
|
1394
|
-
readonly inputs: readonly [{
|
|
1395
|
-
readonly name: "interfaceId";
|
|
1396
|
-
readonly type: "bytes4";
|
|
1397
|
-
readonly internalType: "bytes4";
|
|
1398
|
-
}];
|
|
1399
|
-
readonly outputs: readonly [{
|
|
1400
|
-
readonly name: "";
|
|
1401
|
-
readonly type: "bool";
|
|
1402
|
-
readonly internalType: "bool";
|
|
1403
|
-
}];
|
|
1404
|
-
readonly stateMutability: "view";
|
|
1405
|
-
}, {
|
|
1406
|
-
readonly type: "function";
|
|
1407
|
-
readonly name: "tokenSaleDetails";
|
|
1
|
+
//#region src/utils/abi/marketplace/EIP2981.d.ts
|
|
2
|
+
declare const EIP2981_ABI: readonly [{
|
|
1408
3
|
readonly inputs: readonly [{
|
|
1409
|
-
readonly name: "tokenId";
|
|
1410
|
-
readonly type: "uint256";
|
|
1411
4
|
readonly internalType: "uint256";
|
|
1412
|
-
}];
|
|
1413
|
-
readonly outputs: readonly [{
|
|
1414
|
-
readonly name: "";
|
|
1415
|
-
readonly type: "tuple";
|
|
1416
|
-
readonly internalType: "struct IERC1155SaleFunctions.SaleDetails";
|
|
1417
|
-
readonly components: readonly [{
|
|
1418
|
-
readonly name: "cost";
|
|
1419
|
-
readonly type: "uint256";
|
|
1420
|
-
readonly internalType: "uint256";
|
|
1421
|
-
}, {
|
|
1422
|
-
readonly name: "supplyCap";
|
|
1423
|
-
readonly type: "uint256";
|
|
1424
|
-
readonly internalType: "uint256";
|
|
1425
|
-
}, {
|
|
1426
|
-
readonly name: "startTime";
|
|
1427
|
-
readonly type: "uint64";
|
|
1428
|
-
readonly internalType: "uint64";
|
|
1429
|
-
}, {
|
|
1430
|
-
readonly name: "endTime";
|
|
1431
|
-
readonly type: "uint64";
|
|
1432
|
-
readonly internalType: "uint64";
|
|
1433
|
-
}, {
|
|
1434
|
-
readonly name: "merkleRoot";
|
|
1435
|
-
readonly type: "bytes32";
|
|
1436
|
-
readonly internalType: "bytes32";
|
|
1437
|
-
}];
|
|
1438
|
-
}];
|
|
1439
|
-
readonly stateMutability: "view";
|
|
1440
|
-
}, {
|
|
1441
|
-
readonly type: "function";
|
|
1442
|
-
readonly name: "tokenSaleDetailsBatch";
|
|
1443
|
-
readonly inputs: readonly [{
|
|
1444
|
-
readonly name: "tokenIds";
|
|
1445
|
-
readonly type: "uint256[]";
|
|
1446
|
-
readonly internalType: "uint256[]";
|
|
1447
|
-
}];
|
|
1448
|
-
readonly outputs: readonly [{
|
|
1449
5
|
readonly name: "";
|
|
1450
|
-
readonly type: "tuple[]";
|
|
1451
|
-
readonly internalType: "struct IERC1155SaleFunctions.SaleDetails[]";
|
|
1452
|
-
readonly components: readonly [{
|
|
1453
|
-
readonly name: "cost";
|
|
1454
|
-
readonly type: "uint256";
|
|
1455
|
-
readonly internalType: "uint256";
|
|
1456
|
-
}, {
|
|
1457
|
-
readonly name: "supplyCap";
|
|
1458
|
-
readonly type: "uint256";
|
|
1459
|
-
readonly internalType: "uint256";
|
|
1460
|
-
}, {
|
|
1461
|
-
readonly name: "startTime";
|
|
1462
|
-
readonly type: "uint64";
|
|
1463
|
-
readonly internalType: "uint64";
|
|
1464
|
-
}, {
|
|
1465
|
-
readonly name: "endTime";
|
|
1466
|
-
readonly type: "uint64";
|
|
1467
|
-
readonly internalType: "uint64";
|
|
1468
|
-
}, {
|
|
1469
|
-
readonly name: "merkleRoot";
|
|
1470
|
-
readonly type: "bytes32";
|
|
1471
|
-
readonly internalType: "bytes32";
|
|
1472
|
-
}];
|
|
1473
|
-
}];
|
|
1474
|
-
readonly stateMutability: "view";
|
|
1475
|
-
}, {
|
|
1476
|
-
readonly type: "function";
|
|
1477
|
-
readonly name: "withdrawERC20";
|
|
1478
|
-
readonly inputs: readonly [{
|
|
1479
|
-
readonly name: "token";
|
|
1480
|
-
readonly type: "address";
|
|
1481
|
-
readonly internalType: "address";
|
|
1482
|
-
}, {
|
|
1483
|
-
readonly name: "to";
|
|
1484
|
-
readonly type: "address";
|
|
1485
|
-
readonly internalType: "address";
|
|
1486
|
-
}, {
|
|
1487
|
-
readonly name: "value";
|
|
1488
6
|
readonly type: "uint256";
|
|
1489
|
-
readonly internalType: "uint256";
|
|
1490
|
-
}];
|
|
1491
|
-
readonly outputs: readonly [];
|
|
1492
|
-
readonly stateMutability: "nonpayable";
|
|
1493
|
-
}, {
|
|
1494
|
-
readonly type: "function";
|
|
1495
|
-
readonly name: "withdrawETH";
|
|
1496
|
-
readonly inputs: readonly [{
|
|
1497
|
-
readonly name: "to";
|
|
1498
|
-
readonly type: "address";
|
|
1499
|
-
readonly internalType: "address";
|
|
1500
7
|
}, {
|
|
1501
|
-
readonly name: "value";
|
|
1502
|
-
readonly type: "uint256";
|
|
1503
|
-
readonly internalType: "uint256";
|
|
1504
|
-
}];
|
|
1505
|
-
readonly outputs: readonly [];
|
|
1506
|
-
readonly stateMutability: "nonpayable";
|
|
1507
|
-
}, {
|
|
1508
|
-
readonly type: "event";
|
|
1509
|
-
readonly name: "GlobalSaleDetailsUpdated";
|
|
1510
|
-
readonly inputs: readonly [{
|
|
1511
|
-
readonly name: "cost";
|
|
1512
|
-
readonly type: "uint256";
|
|
1513
|
-
readonly indexed: false;
|
|
1514
8
|
readonly internalType: "uint256";
|
|
1515
|
-
|
|
1516
|
-
readonly name: "supplyCap";
|
|
9
|
+
readonly name: "_saleCost";
|
|
1517
10
|
readonly type: "uint256";
|
|
1518
|
-
readonly indexed: false;
|
|
1519
|
-
readonly internalType: "uint256";
|
|
1520
|
-
}, {
|
|
1521
|
-
readonly name: "startTime";
|
|
1522
|
-
readonly type: "uint64";
|
|
1523
|
-
readonly indexed: false;
|
|
1524
|
-
readonly internalType: "uint64";
|
|
1525
|
-
}, {
|
|
1526
|
-
readonly name: "endTime";
|
|
1527
|
-
readonly type: "uint64";
|
|
1528
|
-
readonly indexed: false;
|
|
1529
|
-
readonly internalType: "uint64";
|
|
1530
|
-
}, {
|
|
1531
|
-
readonly name: "merkleRoot";
|
|
1532
|
-
readonly type: "bytes32";
|
|
1533
|
-
readonly indexed: false;
|
|
1534
|
-
readonly internalType: "bytes32";
|
|
1535
|
-
}];
|
|
1536
|
-
readonly anonymous: false;
|
|
1537
|
-
}, {
|
|
1538
|
-
readonly type: "event";
|
|
1539
|
-
readonly name: "ItemsMinted";
|
|
1540
|
-
readonly inputs: readonly [{
|
|
1541
|
-
readonly name: "to";
|
|
1542
|
-
readonly type: "address";
|
|
1543
|
-
readonly indexed: false;
|
|
1544
|
-
readonly internalType: "address";
|
|
1545
|
-
}, {
|
|
1546
|
-
readonly name: "tokenIds";
|
|
1547
|
-
readonly type: "uint256[]";
|
|
1548
|
-
readonly indexed: false;
|
|
1549
|
-
readonly internalType: "uint256[]";
|
|
1550
|
-
}, {
|
|
1551
|
-
readonly name: "amounts";
|
|
1552
|
-
readonly type: "uint256[]";
|
|
1553
|
-
readonly indexed: false;
|
|
1554
|
-
readonly internalType: "uint256[]";
|
|
1555
|
-
}];
|
|
1556
|
-
readonly anonymous: false;
|
|
1557
|
-
}, {
|
|
1558
|
-
readonly type: "event";
|
|
1559
|
-
readonly name: "RoleAdminChanged";
|
|
1560
|
-
readonly inputs: readonly [{
|
|
1561
|
-
readonly name: "role";
|
|
1562
|
-
readonly type: "bytes32";
|
|
1563
|
-
readonly indexed: true;
|
|
1564
|
-
readonly internalType: "bytes32";
|
|
1565
|
-
}, {
|
|
1566
|
-
readonly name: "previousAdminRole";
|
|
1567
|
-
readonly type: "bytes32";
|
|
1568
|
-
readonly indexed: true;
|
|
1569
|
-
readonly internalType: "bytes32";
|
|
1570
|
-
}, {
|
|
1571
|
-
readonly name: "newAdminRole";
|
|
1572
|
-
readonly type: "bytes32";
|
|
1573
|
-
readonly indexed: true;
|
|
1574
|
-
readonly internalType: "bytes32";
|
|
1575
11
|
}];
|
|
1576
|
-
readonly
|
|
1577
|
-
|
|
1578
|
-
readonly type: "event";
|
|
1579
|
-
readonly name: "RoleGranted";
|
|
1580
|
-
readonly inputs: readonly [{
|
|
1581
|
-
readonly name: "role";
|
|
1582
|
-
readonly type: "bytes32";
|
|
1583
|
-
readonly indexed: true;
|
|
1584
|
-
readonly internalType: "bytes32";
|
|
1585
|
-
}, {
|
|
1586
|
-
readonly name: "account";
|
|
1587
|
-
readonly type: "address";
|
|
1588
|
-
readonly indexed: true;
|
|
1589
|
-
readonly internalType: "address";
|
|
1590
|
-
}, {
|
|
1591
|
-
readonly name: "sender";
|
|
1592
|
-
readonly type: "address";
|
|
1593
|
-
readonly indexed: true;
|
|
1594
|
-
readonly internalType: "address";
|
|
1595
|
-
}];
|
|
1596
|
-
readonly anonymous: false;
|
|
1597
|
-
}, {
|
|
1598
|
-
readonly type: "event";
|
|
1599
|
-
readonly name: "RoleRevoked";
|
|
1600
|
-
readonly inputs: readonly [{
|
|
1601
|
-
readonly name: "role";
|
|
1602
|
-
readonly type: "bytes32";
|
|
1603
|
-
readonly indexed: true;
|
|
1604
|
-
readonly internalType: "bytes32";
|
|
1605
|
-
}, {
|
|
1606
|
-
readonly name: "account";
|
|
1607
|
-
readonly type: "address";
|
|
1608
|
-
readonly indexed: true;
|
|
12
|
+
readonly name: "royaltyInfo";
|
|
13
|
+
readonly outputs: readonly [{
|
|
1609
14
|
readonly internalType: "address";
|
|
1610
|
-
|
|
1611
|
-
readonly name: "sender";
|
|
15
|
+
readonly name: "receiver";
|
|
1612
16
|
readonly type: "address";
|
|
1613
|
-
readonly indexed: true;
|
|
1614
|
-
readonly internalType: "address";
|
|
1615
|
-
}];
|
|
1616
|
-
readonly anonymous: false;
|
|
1617
|
-
}, {
|
|
1618
|
-
readonly type: "event";
|
|
1619
|
-
readonly name: "TokenSaleDetailsUpdated";
|
|
1620
|
-
readonly inputs: readonly [{
|
|
1621
|
-
readonly name: "tokenId";
|
|
1622
|
-
readonly type: "uint256";
|
|
1623
|
-
readonly indexed: false;
|
|
1624
|
-
readonly internalType: "uint256";
|
|
1625
17
|
}, {
|
|
1626
|
-
readonly name: "cost";
|
|
1627
|
-
readonly type: "uint256";
|
|
1628
|
-
readonly indexed: false;
|
|
1629
18
|
readonly internalType: "uint256";
|
|
1630
|
-
|
|
1631
|
-
readonly name: "supplyCap";
|
|
19
|
+
readonly name: "royaltyAmount";
|
|
1632
20
|
readonly type: "uint256";
|
|
1633
|
-
readonly indexed: false;
|
|
1634
|
-
readonly internalType: "uint256";
|
|
1635
|
-
}, {
|
|
1636
|
-
readonly name: "startTime";
|
|
1637
|
-
readonly type: "uint64";
|
|
1638
|
-
readonly indexed: false;
|
|
1639
|
-
readonly internalType: "uint64";
|
|
1640
|
-
}, {
|
|
1641
|
-
readonly name: "endTime";
|
|
1642
|
-
readonly type: "uint64";
|
|
1643
|
-
readonly indexed: false;
|
|
1644
|
-
readonly internalType: "uint64";
|
|
1645
|
-
}, {
|
|
1646
|
-
readonly name: "merkleRoot";
|
|
1647
|
-
readonly type: "bytes32";
|
|
1648
|
-
readonly indexed: false;
|
|
1649
|
-
readonly internalType: "bytes32";
|
|
1650
21
|
}];
|
|
1651
|
-
readonly
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
readonly type: "error";
|
|
1658
|
-
readonly name: "InsufficientPayment";
|
|
22
|
+
readonly stateMutability: "view";
|
|
23
|
+
readonly type: "function";
|
|
24
|
+
}];
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/utils/abi/marketplace/sequence-marketplace-v1.d.ts
|
|
27
|
+
declare const SequenceMarketplaceV1_ABI: readonly [{
|
|
1659
28
|
readonly inputs: readonly [{
|
|
1660
|
-
readonly name: "currency";
|
|
1661
|
-
readonly type: "address";
|
|
1662
29
|
readonly internalType: "address";
|
|
1663
|
-
|
|
1664
|
-
readonly
|
|
1665
|
-
readonly type: "uint256";
|
|
1666
|
-
readonly internalType: "uint256";
|
|
1667
|
-
}, {
|
|
1668
|
-
readonly name: "actual";
|
|
1669
|
-
readonly type: "uint256";
|
|
1670
|
-
readonly internalType: "uint256";
|
|
1671
|
-
}];
|
|
1672
|
-
}, {
|
|
1673
|
-
readonly type: "error";
|
|
1674
|
-
readonly name: "InsufficientSupply";
|
|
1675
|
-
readonly inputs: readonly [{
|
|
1676
|
-
readonly name: "currentSupply";
|
|
1677
|
-
readonly type: "uint256";
|
|
1678
|
-
readonly internalType: "uint256";
|
|
1679
|
-
}, {
|
|
1680
|
-
readonly name: "requestedAmount";
|
|
1681
|
-
readonly type: "uint256";
|
|
1682
|
-
readonly internalType: "uint256";
|
|
1683
|
-
}, {
|
|
1684
|
-
readonly name: "maxSupply";
|
|
1685
|
-
readonly type: "uint256";
|
|
1686
|
-
readonly internalType: "uint256";
|
|
30
|
+
readonly name: "_owner";
|
|
31
|
+
readonly type: "address";
|
|
1687
32
|
}];
|
|
33
|
+
readonly stateMutability: "nonpayable";
|
|
34
|
+
readonly type: "constructor";
|
|
1688
35
|
}, {
|
|
1689
|
-
readonly type: "error";
|
|
1690
|
-
readonly name: "InvalidInitialization";
|
|
1691
36
|
readonly inputs: readonly [];
|
|
1692
|
-
|
|
37
|
+
readonly name: "InvalidAdditionalFees";
|
|
1693
38
|
readonly type: "error";
|
|
1694
|
-
readonly name: "InvalidSaleDetails";
|
|
1695
|
-
readonly inputs: readonly [];
|
|
1696
39
|
}, {
|
|
1697
|
-
readonly type: "error";
|
|
1698
|
-
readonly name: "InvalidTokenIds";
|
|
1699
40
|
readonly inputs: readonly [];
|
|
1700
|
-
|
|
1701
|
-
readonly type: "error";
|
|
1702
|
-
readonly name: "MerkleProofInvalid";
|
|
1703
|
-
readonly inputs: readonly [{
|
|
1704
|
-
readonly name: "root";
|
|
1705
|
-
readonly type: "bytes32";
|
|
1706
|
-
readonly internalType: "bytes32";
|
|
1707
|
-
}, {
|
|
1708
|
-
readonly name: "proof";
|
|
1709
|
-
readonly type: "bytes32[]";
|
|
1710
|
-
readonly internalType: "bytes32[]";
|
|
1711
|
-
}, {
|
|
1712
|
-
readonly name: "addr";
|
|
1713
|
-
readonly type: "address";
|
|
1714
|
-
readonly internalType: "address";
|
|
1715
|
-
}, {
|
|
1716
|
-
readonly name: "salt";
|
|
1717
|
-
readonly type: "bytes32";
|
|
1718
|
-
readonly internalType: "bytes32";
|
|
1719
|
-
}];
|
|
1720
|
-
}, {
|
|
41
|
+
readonly name: "InvalidBatchRequest";
|
|
1721
42
|
readonly type: "error";
|
|
1722
|
-
readonly name: "SaleInactive";
|
|
1723
|
-
readonly inputs: readonly [{
|
|
1724
|
-
readonly name: "tokenId";
|
|
1725
|
-
readonly type: "uint256";
|
|
1726
|
-
readonly internalType: "uint256";
|
|
1727
|
-
}];
|
|
1728
43
|
}, {
|
|
1729
|
-
readonly type: "error";
|
|
1730
|
-
readonly name: "WithdrawFailed";
|
|
1731
|
-
readonly inputs: readonly [];
|
|
1732
|
-
}];
|
|
1733
|
-
//#endregion
|
|
1734
|
-
//#region src/utils/abi/primary-sale/sequence-1155-sales-contract-v1.d.ts
|
|
1735
|
-
declare const ERC1155_SALES_CONTRACT_ABI_V1: readonly [{
|
|
1736
44
|
readonly inputs: readonly [];
|
|
1737
|
-
readonly name: "
|
|
45
|
+
readonly name: "InvalidCurrency";
|
|
1738
46
|
readonly type: "error";
|
|
1739
47
|
}, {
|
|
1740
48
|
readonly inputs: readonly [{
|
|
@@ -1743,727 +51,573 @@ declare const ERC1155_SALES_CONTRACT_ABI_V1: readonly [{
|
|
|
1743
51
|
readonly type: "address";
|
|
1744
52
|
}, {
|
|
1745
53
|
readonly internalType: "uint256";
|
|
1746
|
-
readonly name: "
|
|
1747
|
-
readonly type: "uint256";
|
|
1748
|
-
}, {
|
|
1749
|
-
readonly internalType: "uint256";
|
|
1750
|
-
readonly name: "actual";
|
|
1751
|
-
readonly type: "uint256";
|
|
1752
|
-
}];
|
|
1753
|
-
readonly name: "InsufficientPayment";
|
|
1754
|
-
readonly type: "error";
|
|
1755
|
-
}, {
|
|
1756
|
-
readonly inputs: readonly [{
|
|
1757
|
-
readonly internalType: "uint256";
|
|
1758
|
-
readonly name: "remainingSupply";
|
|
54
|
+
readonly name: "quantity";
|
|
1759
55
|
readonly type: "uint256";
|
|
1760
56
|
}, {
|
|
1761
|
-
readonly internalType: "
|
|
1762
|
-
readonly name: "
|
|
1763
|
-
readonly type: "
|
|
57
|
+
readonly internalType: "address";
|
|
58
|
+
readonly name: "owner";
|
|
59
|
+
readonly type: "address";
|
|
1764
60
|
}];
|
|
1765
|
-
readonly name: "
|
|
61
|
+
readonly name: "InvalidCurrencyApproval";
|
|
1766
62
|
readonly type: "error";
|
|
1767
63
|
}, {
|
|
1768
64
|
readonly inputs: readonly [];
|
|
1769
|
-
readonly name: "
|
|
65
|
+
readonly name: "InvalidExpiry";
|
|
1770
66
|
readonly type: "error";
|
|
1771
67
|
}, {
|
|
1772
68
|
readonly inputs: readonly [];
|
|
1773
|
-
readonly name: "
|
|
1774
|
-
readonly type: "error";
|
|
1775
|
-
}, {
|
|
1776
|
-
readonly inputs: readonly [];
|
|
1777
|
-
readonly name: "
|
|
1778
|
-
readonly type: "error";
|
|
1779
|
-
}, {
|
|
1780
|
-
readonly inputs: readonly [{
|
|
1781
|
-
readonly internalType: "bytes32";
|
|
1782
|
-
readonly name: "root";
|
|
1783
|
-
readonly type: "bytes32";
|
|
1784
|
-
}, {
|
|
1785
|
-
readonly internalType: "bytes32[]";
|
|
1786
|
-
readonly name: "proof";
|
|
1787
|
-
readonly type: "bytes32[]";
|
|
1788
|
-
}, {
|
|
1789
|
-
readonly internalType: "address";
|
|
1790
|
-
readonly name: "addr";
|
|
1791
|
-
readonly type: "address";
|
|
1792
|
-
}, {
|
|
1793
|
-
readonly internalType: "bytes32";
|
|
1794
|
-
readonly name: "salt";
|
|
1795
|
-
readonly type: "bytes32";
|
|
1796
|
-
}];
|
|
1797
|
-
readonly name: "MerkleProofInvalid";
|
|
69
|
+
readonly name: "InvalidPrice";
|
|
70
|
+
readonly type: "error";
|
|
71
|
+
}, {
|
|
72
|
+
readonly inputs: readonly [];
|
|
73
|
+
readonly name: "InvalidQuantity";
|
|
1798
74
|
readonly type: "error";
|
|
1799
75
|
}, {
|
|
1800
76
|
readonly inputs: readonly [{
|
|
1801
77
|
readonly internalType: "uint256";
|
|
1802
|
-
readonly name: "
|
|
78
|
+
readonly name: "requestId";
|
|
1803
79
|
readonly type: "uint256";
|
|
1804
80
|
}];
|
|
1805
|
-
readonly name: "
|
|
81
|
+
readonly name: "InvalidRequestId";
|
|
1806
82
|
readonly type: "error";
|
|
1807
83
|
}, {
|
|
1808
84
|
readonly inputs: readonly [];
|
|
1809
|
-
readonly name: "
|
|
85
|
+
readonly name: "InvalidRoyalty";
|
|
1810
86
|
readonly type: "error";
|
|
1811
87
|
}, {
|
|
1812
|
-
readonly anonymous: false;
|
|
1813
88
|
readonly inputs: readonly [{
|
|
1814
|
-
readonly
|
|
1815
|
-
readonly
|
|
1816
|
-
readonly
|
|
1817
|
-
readonly type: "uint256";
|
|
1818
|
-
}, {
|
|
1819
|
-
readonly indexed: false;
|
|
1820
|
-
readonly internalType: "uint256";
|
|
1821
|
-
readonly name: "maxTokenId";
|
|
1822
|
-
readonly type: "uint256";
|
|
89
|
+
readonly internalType: "address";
|
|
90
|
+
readonly name: "tokenContract";
|
|
91
|
+
readonly type: "address";
|
|
1823
92
|
}, {
|
|
1824
|
-
readonly indexed: false;
|
|
1825
93
|
readonly internalType: "uint256";
|
|
1826
|
-
readonly name: "
|
|
94
|
+
readonly name: "tokenId";
|
|
1827
95
|
readonly type: "uint256";
|
|
1828
96
|
}, {
|
|
1829
|
-
readonly indexed: false;
|
|
1830
97
|
readonly internalType: "uint256";
|
|
1831
|
-
readonly name: "
|
|
98
|
+
readonly name: "quantity";
|
|
1832
99
|
readonly type: "uint256";
|
|
1833
100
|
}, {
|
|
1834
|
-
readonly
|
|
1835
|
-
readonly
|
|
1836
|
-
readonly
|
|
1837
|
-
readonly type: "uint64";
|
|
1838
|
-
}, {
|
|
1839
|
-
readonly indexed: false;
|
|
1840
|
-
readonly internalType: "uint64";
|
|
1841
|
-
readonly name: "endTime";
|
|
1842
|
-
readonly type: "uint64";
|
|
1843
|
-
}, {
|
|
1844
|
-
readonly indexed: false;
|
|
1845
|
-
readonly internalType: "bytes32";
|
|
1846
|
-
readonly name: "merkleRoot";
|
|
1847
|
-
readonly type: "bytes32";
|
|
101
|
+
readonly internalType: "address";
|
|
102
|
+
readonly name: "owner";
|
|
103
|
+
readonly type: "address";
|
|
1848
104
|
}];
|
|
1849
|
-
readonly name: "
|
|
1850
|
-
readonly type: "
|
|
105
|
+
readonly name: "InvalidTokenApproval";
|
|
106
|
+
readonly type: "error";
|
|
1851
107
|
}, {
|
|
1852
|
-
readonly anonymous: false;
|
|
1853
108
|
readonly inputs: readonly [{
|
|
1854
|
-
readonly indexed: false;
|
|
1855
109
|
readonly internalType: "address";
|
|
1856
|
-
readonly name: "
|
|
110
|
+
readonly name: "contractAddress";
|
|
1857
111
|
readonly type: "address";
|
|
1858
112
|
}, {
|
|
1859
|
-
readonly
|
|
1860
|
-
readonly
|
|
1861
|
-
readonly
|
|
1862
|
-
readonly type: "uint256[]";
|
|
1863
|
-
}, {
|
|
1864
|
-
readonly indexed: false;
|
|
1865
|
-
readonly internalType: "uint256[]";
|
|
1866
|
-
readonly name: "amounts";
|
|
1867
|
-
readonly type: "uint256[]";
|
|
113
|
+
readonly internalType: "bytes4";
|
|
114
|
+
readonly name: "interfaceId";
|
|
115
|
+
readonly type: "bytes4";
|
|
1868
116
|
}];
|
|
1869
|
-
readonly name: "
|
|
1870
|
-
readonly type: "
|
|
117
|
+
readonly name: "UnsupportedContractInterface";
|
|
118
|
+
readonly type: "error";
|
|
1871
119
|
}, {
|
|
1872
120
|
readonly anonymous: false;
|
|
1873
121
|
readonly inputs: readonly [{
|
|
1874
122
|
readonly indexed: true;
|
|
1875
|
-
readonly internalType: "
|
|
1876
|
-
readonly name: "
|
|
1877
|
-
readonly type: "
|
|
123
|
+
readonly internalType: "address";
|
|
124
|
+
readonly name: "tokenContract";
|
|
125
|
+
readonly type: "address";
|
|
1878
126
|
}, {
|
|
1879
|
-
readonly indexed:
|
|
1880
|
-
readonly internalType: "
|
|
1881
|
-
readonly name: "
|
|
1882
|
-
readonly type: "
|
|
127
|
+
readonly indexed: false;
|
|
128
|
+
readonly internalType: "address";
|
|
129
|
+
readonly name: "recipient";
|
|
130
|
+
readonly type: "address";
|
|
1883
131
|
}, {
|
|
1884
|
-
readonly indexed:
|
|
1885
|
-
readonly internalType: "
|
|
1886
|
-
readonly name: "
|
|
1887
|
-
readonly type: "
|
|
132
|
+
readonly indexed: false;
|
|
133
|
+
readonly internalType: "uint96";
|
|
134
|
+
readonly name: "fee";
|
|
135
|
+
readonly type: "uint96";
|
|
1888
136
|
}];
|
|
1889
|
-
readonly name: "
|
|
137
|
+
readonly name: "CustomRoyaltyChanged";
|
|
1890
138
|
readonly type: "event";
|
|
1891
139
|
}, {
|
|
1892
140
|
readonly anonymous: false;
|
|
1893
141
|
readonly inputs: readonly [{
|
|
1894
|
-
readonly indexed: true;
|
|
1895
|
-
readonly internalType: "bytes32";
|
|
1896
|
-
readonly name: "role";
|
|
1897
|
-
readonly type: "bytes32";
|
|
1898
|
-
}, {
|
|
1899
142
|
readonly indexed: true;
|
|
1900
143
|
readonly internalType: "address";
|
|
1901
|
-
readonly name: "
|
|
144
|
+
readonly name: "previousOwner";
|
|
1902
145
|
readonly type: "address";
|
|
1903
146
|
}, {
|
|
1904
147
|
readonly indexed: true;
|
|
1905
148
|
readonly internalType: "address";
|
|
1906
|
-
readonly name: "
|
|
149
|
+
readonly name: "newOwner";
|
|
1907
150
|
readonly type: "address";
|
|
1908
151
|
}];
|
|
1909
|
-
readonly name: "
|
|
152
|
+
readonly name: "OwnershipTransferred";
|
|
1910
153
|
readonly type: "event";
|
|
1911
154
|
}, {
|
|
1912
155
|
readonly anonymous: false;
|
|
1913
156
|
readonly inputs: readonly [{
|
|
1914
157
|
readonly indexed: true;
|
|
1915
|
-
readonly internalType: "
|
|
1916
|
-
readonly name: "
|
|
1917
|
-
readonly type: "
|
|
158
|
+
readonly internalType: "uint256";
|
|
159
|
+
readonly name: "requestId";
|
|
160
|
+
readonly type: "uint256";
|
|
1918
161
|
}, {
|
|
1919
162
|
readonly indexed: true;
|
|
1920
163
|
readonly internalType: "address";
|
|
1921
|
-
readonly name: "
|
|
164
|
+
readonly name: "buyer";
|
|
1922
165
|
readonly type: "address";
|
|
1923
166
|
}, {
|
|
1924
167
|
readonly indexed: true;
|
|
1925
168
|
readonly internalType: "address";
|
|
1926
|
-
readonly name: "
|
|
169
|
+
readonly name: "tokenContract";
|
|
1927
170
|
readonly type: "address";
|
|
1928
|
-
}
|
|
1929
|
-
readonly name: "RoleRevoked";
|
|
1930
|
-
readonly type: "event";
|
|
1931
|
-
}, {
|
|
1932
|
-
readonly anonymous: false;
|
|
1933
|
-
readonly inputs: readonly [{
|
|
171
|
+
}, {
|
|
1934
172
|
readonly indexed: false;
|
|
1935
|
-
readonly internalType: "
|
|
1936
|
-
readonly name: "
|
|
1937
|
-
readonly type: "
|
|
173
|
+
readonly internalType: "address";
|
|
174
|
+
readonly name: "receiver";
|
|
175
|
+
readonly type: "address";
|
|
1938
176
|
}, {
|
|
1939
177
|
readonly indexed: false;
|
|
1940
178
|
readonly internalType: "uint256";
|
|
1941
|
-
readonly name: "
|
|
179
|
+
readonly name: "quantity";
|
|
1942
180
|
readonly type: "uint256";
|
|
1943
181
|
}, {
|
|
1944
182
|
readonly indexed: false;
|
|
1945
183
|
readonly internalType: "uint256";
|
|
1946
|
-
readonly name: "
|
|
184
|
+
readonly name: "quantityRemaining";
|
|
1947
185
|
readonly type: "uint256";
|
|
1948
|
-
}, {
|
|
1949
|
-
readonly indexed: false;
|
|
1950
|
-
readonly internalType: "uint64";
|
|
1951
|
-
readonly name: "startTime";
|
|
1952
|
-
readonly type: "uint64";
|
|
1953
|
-
}, {
|
|
1954
|
-
readonly indexed: false;
|
|
1955
|
-
readonly internalType: "uint64";
|
|
1956
|
-
readonly name: "endTime";
|
|
1957
|
-
readonly type: "uint64";
|
|
1958
|
-
}, {
|
|
1959
|
-
readonly indexed: false;
|
|
1960
|
-
readonly internalType: "bytes32";
|
|
1961
|
-
readonly name: "merkleRoot";
|
|
1962
|
-
readonly type: "bytes32";
|
|
1963
186
|
}];
|
|
1964
|
-
readonly name: "
|
|
187
|
+
readonly name: "RequestAccepted";
|
|
1965
188
|
readonly type: "event";
|
|
1966
189
|
}, {
|
|
1967
|
-
readonly
|
|
1968
|
-
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
1969
|
-
readonly outputs: readonly [{
|
|
1970
|
-
readonly internalType: "bytes32";
|
|
1971
|
-
readonly name: "";
|
|
1972
|
-
readonly type: "bytes32";
|
|
1973
|
-
}];
|
|
1974
|
-
readonly stateMutability: "view";
|
|
1975
|
-
readonly type: "function";
|
|
1976
|
-
}, {
|
|
190
|
+
readonly anonymous: false;
|
|
1977
191
|
readonly inputs: readonly [{
|
|
192
|
+
readonly indexed: true;
|
|
193
|
+
readonly internalType: "uint256";
|
|
194
|
+
readonly name: "requestId";
|
|
195
|
+
readonly type: "uint256";
|
|
196
|
+
}, {
|
|
197
|
+
readonly indexed: true;
|
|
1978
198
|
readonly internalType: "address";
|
|
1979
|
-
readonly name: "
|
|
199
|
+
readonly name: "tokenContract";
|
|
1980
200
|
readonly type: "address";
|
|
1981
|
-
}, {
|
|
1982
|
-
readonly components: readonly [{
|
|
1983
|
-
readonly internalType: "address";
|
|
1984
|
-
readonly name: "approvedSigner";
|
|
1985
|
-
readonly type: "address";
|
|
1986
|
-
}, {
|
|
1987
|
-
readonly internalType: "bytes4";
|
|
1988
|
-
readonly name: "identityType";
|
|
1989
|
-
readonly type: "bytes4";
|
|
1990
|
-
}, {
|
|
1991
|
-
readonly internalType: "bytes32";
|
|
1992
|
-
readonly name: "issuerHash";
|
|
1993
|
-
readonly type: "bytes32";
|
|
1994
|
-
}, {
|
|
1995
|
-
readonly internalType: "bytes32";
|
|
1996
|
-
readonly name: "audienceHash";
|
|
1997
|
-
readonly type: "bytes32";
|
|
1998
|
-
}, {
|
|
1999
|
-
readonly internalType: "bytes";
|
|
2000
|
-
readonly name: "applicationData";
|
|
2001
|
-
readonly type: "bytes";
|
|
2002
|
-
}, {
|
|
2003
|
-
readonly components: readonly [{
|
|
2004
|
-
readonly internalType: "string";
|
|
2005
|
-
readonly name: "redirectUrl";
|
|
2006
|
-
readonly type: "string";
|
|
2007
|
-
}, {
|
|
2008
|
-
readonly internalType: "uint64";
|
|
2009
|
-
readonly name: "issuedAt";
|
|
2010
|
-
readonly type: "uint64";
|
|
2011
|
-
}];
|
|
2012
|
-
readonly internalType: "struct AuthData";
|
|
2013
|
-
readonly name: "authData";
|
|
2014
|
-
readonly type: "tuple";
|
|
2015
|
-
}];
|
|
2016
|
-
readonly internalType: "struct Attestation";
|
|
2017
|
-
readonly name: "attestation";
|
|
2018
|
-
readonly type: "tuple";
|
|
2019
|
-
}, {
|
|
2020
|
-
readonly components: readonly [{
|
|
2021
|
-
readonly internalType: "address";
|
|
2022
|
-
readonly name: "to";
|
|
2023
|
-
readonly type: "address";
|
|
2024
|
-
}, {
|
|
2025
|
-
readonly internalType: "uint256";
|
|
2026
|
-
readonly name: "value";
|
|
2027
|
-
readonly type: "uint256";
|
|
2028
|
-
}, {
|
|
2029
|
-
readonly internalType: "bytes";
|
|
2030
|
-
readonly name: "data";
|
|
2031
|
-
readonly type: "bytes";
|
|
2032
|
-
}, {
|
|
2033
|
-
readonly internalType: "uint256";
|
|
2034
|
-
readonly name: "gasLimit";
|
|
2035
|
-
readonly type: "uint256";
|
|
2036
|
-
}, {
|
|
2037
|
-
readonly internalType: "bool";
|
|
2038
|
-
readonly name: "delegateCall";
|
|
2039
|
-
readonly type: "bool";
|
|
2040
|
-
}, {
|
|
2041
|
-
readonly internalType: "bool";
|
|
2042
|
-
readonly name: "onlyFallback";
|
|
2043
|
-
readonly type: "bool";
|
|
2044
|
-
}, {
|
|
2045
|
-
readonly internalType: "uint256";
|
|
2046
|
-
readonly name: "behaviorOnError";
|
|
2047
|
-
readonly type: "uint256";
|
|
2048
|
-
}];
|
|
2049
|
-
readonly internalType: "struct Payload.Call";
|
|
2050
|
-
readonly name: "call";
|
|
2051
|
-
readonly type: "tuple";
|
|
2052
|
-
}];
|
|
2053
|
-
readonly name: "acceptImplicitRequest";
|
|
2054
|
-
readonly outputs: readonly [{
|
|
2055
|
-
readonly internalType: "bytes32";
|
|
2056
|
-
readonly name: "";
|
|
2057
|
-
readonly type: "bytes32";
|
|
2058
201
|
}];
|
|
2059
|
-
readonly
|
|
2060
|
-
readonly type: "
|
|
202
|
+
readonly name: "RequestCancelled";
|
|
203
|
+
readonly type: "event";
|
|
2061
204
|
}, {
|
|
205
|
+
readonly anonymous: false;
|
|
2062
206
|
readonly inputs: readonly [{
|
|
2063
|
-
readonly
|
|
2064
|
-
readonly
|
|
2065
|
-
readonly
|
|
207
|
+
readonly indexed: true;
|
|
208
|
+
readonly internalType: "uint256";
|
|
209
|
+
readonly name: "requestId";
|
|
210
|
+
readonly type: "uint256";
|
|
2066
211
|
}, {
|
|
2067
|
-
readonly
|
|
2068
|
-
readonly
|
|
2069
|
-
readonly
|
|
212
|
+
readonly indexed: true;
|
|
213
|
+
readonly internalType: "address";
|
|
214
|
+
readonly name: "creator";
|
|
215
|
+
readonly type: "address";
|
|
2070
216
|
}, {
|
|
217
|
+
readonly indexed: true;
|
|
2071
218
|
readonly internalType: "address";
|
|
2072
|
-
readonly name: "
|
|
219
|
+
readonly name: "tokenContract";
|
|
2073
220
|
readonly type: "address";
|
|
2074
221
|
}, {
|
|
2075
|
-
readonly
|
|
2076
|
-
readonly
|
|
2077
|
-
readonly
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
222
|
+
readonly indexed: false;
|
|
223
|
+
readonly internalType: "uint256";
|
|
224
|
+
readonly name: "tokenId";
|
|
225
|
+
readonly type: "uint256";
|
|
226
|
+
}, {
|
|
227
|
+
readonly indexed: false;
|
|
2081
228
|
readonly internalType: "bool";
|
|
2082
|
-
readonly name: "";
|
|
229
|
+
readonly name: "isListing";
|
|
2083
230
|
readonly type: "bool";
|
|
2084
|
-
}];
|
|
2085
|
-
readonly stateMutability: "view";
|
|
2086
|
-
readonly type: "function";
|
|
2087
|
-
}, {
|
|
2088
|
-
readonly inputs: readonly [{
|
|
2089
|
-
readonly internalType: "bytes32";
|
|
2090
|
-
readonly name: "role";
|
|
2091
|
-
readonly type: "bytes32";
|
|
2092
|
-
}];
|
|
2093
|
-
readonly name: "getRoleAdmin";
|
|
2094
|
-
readonly outputs: readonly [{
|
|
2095
|
-
readonly internalType: "bytes32";
|
|
2096
|
-
readonly name: "";
|
|
2097
|
-
readonly type: "bytes32";
|
|
2098
|
-
}];
|
|
2099
|
-
readonly stateMutability: "view";
|
|
2100
|
-
readonly type: "function";
|
|
2101
|
-
}, {
|
|
2102
|
-
readonly inputs: readonly [{
|
|
2103
|
-
readonly internalType: "bytes32";
|
|
2104
|
-
readonly name: "role";
|
|
2105
|
-
readonly type: "bytes32";
|
|
2106
231
|
}, {
|
|
232
|
+
readonly indexed: false;
|
|
2107
233
|
readonly internalType: "uint256";
|
|
2108
|
-
readonly name: "
|
|
234
|
+
readonly name: "quantity";
|
|
2109
235
|
readonly type: "uint256";
|
|
2110
|
-
}
|
|
2111
|
-
|
|
2112
|
-
readonly outputs: readonly [{
|
|
236
|
+
}, {
|
|
237
|
+
readonly indexed: false;
|
|
2113
238
|
readonly internalType: "address";
|
|
2114
|
-
readonly name: "";
|
|
239
|
+
readonly name: "currency";
|
|
2115
240
|
readonly type: "address";
|
|
2116
|
-
}
|
|
2117
|
-
|
|
2118
|
-
readonly type: "function";
|
|
2119
|
-
}, {
|
|
2120
|
-
readonly inputs: readonly [{
|
|
2121
|
-
readonly internalType: "bytes32";
|
|
2122
|
-
readonly name: "role";
|
|
2123
|
-
readonly type: "bytes32";
|
|
2124
|
-
}];
|
|
2125
|
-
readonly name: "getRoleMemberCount";
|
|
2126
|
-
readonly outputs: readonly [{
|
|
241
|
+
}, {
|
|
242
|
+
readonly indexed: false;
|
|
2127
243
|
readonly internalType: "uint256";
|
|
2128
|
-
readonly name: "";
|
|
244
|
+
readonly name: "pricePerToken";
|
|
2129
245
|
readonly type: "uint256";
|
|
2130
|
-
}];
|
|
2131
|
-
readonly stateMutability: "view";
|
|
2132
|
-
readonly type: "function";
|
|
2133
|
-
}, {
|
|
2134
|
-
readonly inputs: readonly [];
|
|
2135
|
-
readonly name: "globalSaleDetails";
|
|
2136
|
-
readonly outputs: readonly [{
|
|
2137
|
-
readonly components: readonly [{
|
|
2138
|
-
readonly internalType: "uint256";
|
|
2139
|
-
readonly name: "minTokenId";
|
|
2140
|
-
readonly type: "uint256";
|
|
2141
|
-
}, {
|
|
2142
|
-
readonly internalType: "uint256";
|
|
2143
|
-
readonly name: "maxTokenId";
|
|
2144
|
-
readonly type: "uint256";
|
|
2145
|
-
}, {
|
|
2146
|
-
readonly internalType: "uint256";
|
|
2147
|
-
readonly name: "cost";
|
|
2148
|
-
readonly type: "uint256";
|
|
2149
|
-
}, {
|
|
2150
|
-
readonly internalType: "uint256";
|
|
2151
|
-
readonly name: "remainingSupply";
|
|
2152
|
-
readonly type: "uint256";
|
|
2153
|
-
}, {
|
|
2154
|
-
readonly internalType: "uint64";
|
|
2155
|
-
readonly name: "startTime";
|
|
2156
|
-
readonly type: "uint64";
|
|
2157
|
-
}, {
|
|
2158
|
-
readonly internalType: "uint64";
|
|
2159
|
-
readonly name: "endTime";
|
|
2160
|
-
readonly type: "uint64";
|
|
2161
|
-
}, {
|
|
2162
|
-
readonly internalType: "bytes32";
|
|
2163
|
-
readonly name: "merkleRoot";
|
|
2164
|
-
readonly type: "bytes32";
|
|
2165
|
-
}];
|
|
2166
|
-
readonly internalType: "struct IERC1155SaleFunctions.GlobalSaleDetails";
|
|
2167
|
-
readonly name: "";
|
|
2168
|
-
readonly type: "tuple";
|
|
2169
|
-
}];
|
|
2170
|
-
readonly stateMutability: "view";
|
|
2171
|
-
readonly type: "function";
|
|
2172
|
-
}, {
|
|
2173
|
-
readonly inputs: readonly [{
|
|
2174
|
-
readonly internalType: "bytes32";
|
|
2175
|
-
readonly name: "role";
|
|
2176
|
-
readonly type: "bytes32";
|
|
2177
246
|
}, {
|
|
2178
|
-
readonly
|
|
2179
|
-
readonly
|
|
2180
|
-
readonly
|
|
247
|
+
readonly indexed: false;
|
|
248
|
+
readonly internalType: "uint256";
|
|
249
|
+
readonly name: "expiry";
|
|
250
|
+
readonly type: "uint256";
|
|
2181
251
|
}];
|
|
2182
|
-
readonly name: "
|
|
2183
|
-
readonly
|
|
2184
|
-
readonly stateMutability: "nonpayable";
|
|
2185
|
-
readonly type: "function";
|
|
252
|
+
readonly name: "RequestCreated";
|
|
253
|
+
readonly type: "event";
|
|
2186
254
|
}, {
|
|
2187
255
|
readonly inputs: readonly [{
|
|
2188
|
-
readonly internalType: "
|
|
2189
|
-
readonly name: "
|
|
2190
|
-
readonly type: "
|
|
256
|
+
readonly internalType: "uint256";
|
|
257
|
+
readonly name: "requestId";
|
|
258
|
+
readonly type: "uint256";
|
|
2191
259
|
}, {
|
|
2192
|
-
readonly internalType: "
|
|
2193
|
-
readonly name: "
|
|
2194
|
-
readonly type: "
|
|
2195
|
-
}];
|
|
2196
|
-
readonly name: "hasRole";
|
|
2197
|
-
readonly outputs: readonly [{
|
|
2198
|
-
readonly internalType: "bool";
|
|
2199
|
-
readonly name: "";
|
|
2200
|
-
readonly type: "bool";
|
|
2201
|
-
}];
|
|
2202
|
-
readonly stateMutability: "view";
|
|
2203
|
-
readonly type: "function";
|
|
2204
|
-
}, {
|
|
2205
|
-
readonly inputs: readonly [{
|
|
2206
|
-
readonly internalType: "address";
|
|
2207
|
-
readonly name: "owner";
|
|
2208
|
-
readonly type: "address";
|
|
260
|
+
readonly internalType: "uint256";
|
|
261
|
+
readonly name: "quantity";
|
|
262
|
+
readonly type: "uint256";
|
|
2209
263
|
}, {
|
|
2210
264
|
readonly internalType: "address";
|
|
2211
|
-
readonly name: "
|
|
265
|
+
readonly name: "receiver";
|
|
2212
266
|
readonly type: "address";
|
|
2213
267
|
}, {
|
|
2214
|
-
readonly internalType: "
|
|
2215
|
-
readonly name: "
|
|
2216
|
-
readonly type: "
|
|
268
|
+
readonly internalType: "uint256[]";
|
|
269
|
+
readonly name: "additionalFees";
|
|
270
|
+
readonly type: "uint256[]";
|
|
2217
271
|
}, {
|
|
2218
|
-
readonly internalType: "
|
|
2219
|
-
readonly name: "
|
|
2220
|
-
readonly type: "
|
|
272
|
+
readonly internalType: "address[]";
|
|
273
|
+
readonly name: "additionalFeeReceivers";
|
|
274
|
+
readonly type: "address[]";
|
|
2221
275
|
}];
|
|
2222
|
-
readonly name: "
|
|
276
|
+
readonly name: "acceptRequest";
|
|
2223
277
|
readonly outputs: readonly [];
|
|
2224
278
|
readonly stateMutability: "nonpayable";
|
|
2225
279
|
readonly type: "function";
|
|
2226
280
|
}, {
|
|
2227
281
|
readonly inputs: readonly [{
|
|
2228
|
-
readonly internalType: "address";
|
|
2229
|
-
readonly name: "to";
|
|
2230
|
-
readonly type: "address";
|
|
2231
|
-
}, {
|
|
2232
282
|
readonly internalType: "uint256[]";
|
|
2233
|
-
readonly name: "
|
|
283
|
+
readonly name: "requestIds";
|
|
2234
284
|
readonly type: "uint256[]";
|
|
2235
285
|
}, {
|
|
2236
286
|
readonly internalType: "uint256[]";
|
|
2237
|
-
readonly name: "
|
|
287
|
+
readonly name: "quantities";
|
|
2238
288
|
readonly type: "uint256[]";
|
|
2239
289
|
}, {
|
|
2240
|
-
readonly internalType: "
|
|
2241
|
-
readonly name: "
|
|
2242
|
-
readonly type: "
|
|
2243
|
-
}, {
|
|
2244
|
-
readonly internalType: "address";
|
|
2245
|
-
readonly name: "expectedPaymentToken";
|
|
2246
|
-
readonly type: "address";
|
|
290
|
+
readonly internalType: "address[]";
|
|
291
|
+
readonly name: "receivers";
|
|
292
|
+
readonly type: "address[]";
|
|
2247
293
|
}, {
|
|
2248
|
-
readonly internalType: "uint256";
|
|
2249
|
-
readonly name: "
|
|
2250
|
-
readonly type: "uint256";
|
|
294
|
+
readonly internalType: "uint256[]";
|
|
295
|
+
readonly name: "additionalFees";
|
|
296
|
+
readonly type: "uint256[]";
|
|
2251
297
|
}, {
|
|
2252
|
-
readonly internalType: "
|
|
2253
|
-
readonly name: "
|
|
2254
|
-
readonly type: "
|
|
298
|
+
readonly internalType: "address[]";
|
|
299
|
+
readonly name: "additionalFeeReceivers";
|
|
300
|
+
readonly type: "address[]";
|
|
2255
301
|
}];
|
|
2256
|
-
readonly name: "
|
|
302
|
+
readonly name: "acceptRequestBatch";
|
|
2257
303
|
readonly outputs: readonly [];
|
|
2258
|
-
readonly stateMutability: "
|
|
2259
|
-
readonly type: "function";
|
|
2260
|
-
}, {
|
|
2261
|
-
readonly inputs: readonly [];
|
|
2262
|
-
readonly name: "paymentToken";
|
|
2263
|
-
readonly outputs: readonly [{
|
|
2264
|
-
readonly internalType: "address";
|
|
2265
|
-
readonly name: "";
|
|
2266
|
-
readonly type: "address";
|
|
2267
|
-
}];
|
|
2268
|
-
readonly stateMutability: "view";
|
|
304
|
+
readonly stateMutability: "nonpayable";
|
|
2269
305
|
readonly type: "function";
|
|
2270
306
|
}, {
|
|
2271
307
|
readonly inputs: readonly [{
|
|
2272
|
-
readonly internalType: "
|
|
2273
|
-
readonly name: "
|
|
2274
|
-
readonly type: "
|
|
2275
|
-
}, {
|
|
2276
|
-
readonly internalType: "address";
|
|
2277
|
-
readonly name: "account";
|
|
2278
|
-
readonly type: "address";
|
|
308
|
+
readonly internalType: "uint256";
|
|
309
|
+
readonly name: "requestId";
|
|
310
|
+
readonly type: "uint256";
|
|
2279
311
|
}];
|
|
2280
|
-
readonly name: "
|
|
312
|
+
readonly name: "cancelRequest";
|
|
2281
313
|
readonly outputs: readonly [];
|
|
2282
314
|
readonly stateMutability: "nonpayable";
|
|
2283
315
|
readonly type: "function";
|
|
2284
316
|
}, {
|
|
2285
317
|
readonly inputs: readonly [{
|
|
2286
|
-
readonly internalType: "
|
|
2287
|
-
readonly name: "
|
|
2288
|
-
readonly type: "
|
|
2289
|
-
}, {
|
|
2290
|
-
readonly internalType: "address";
|
|
2291
|
-
readonly name: "account";
|
|
2292
|
-
readonly type: "address";
|
|
318
|
+
readonly internalType: "uint256[]";
|
|
319
|
+
readonly name: "requestIds";
|
|
320
|
+
readonly type: "uint256[]";
|
|
2293
321
|
}];
|
|
2294
|
-
readonly name: "
|
|
322
|
+
readonly name: "cancelRequestBatch";
|
|
2295
323
|
readonly outputs: readonly [];
|
|
2296
324
|
readonly stateMutability: "nonpayable";
|
|
2297
325
|
readonly type: "function";
|
|
2298
326
|
}, {
|
|
2299
327
|
readonly inputs: readonly [{
|
|
328
|
+
readonly components: readonly [{
|
|
329
|
+
readonly internalType: "bool";
|
|
330
|
+
readonly name: "isListing";
|
|
331
|
+
readonly type: "bool";
|
|
332
|
+
}, {
|
|
333
|
+
readonly internalType: "bool";
|
|
334
|
+
readonly name: "isERC1155";
|
|
335
|
+
readonly type: "bool";
|
|
336
|
+
}, {
|
|
337
|
+
readonly internalType: "address";
|
|
338
|
+
readonly name: "tokenContract";
|
|
339
|
+
readonly type: "address";
|
|
340
|
+
}, {
|
|
341
|
+
readonly internalType: "uint256";
|
|
342
|
+
readonly name: "tokenId";
|
|
343
|
+
readonly type: "uint256";
|
|
344
|
+
}, {
|
|
345
|
+
readonly internalType: "uint256";
|
|
346
|
+
readonly name: "quantity";
|
|
347
|
+
readonly type: "uint256";
|
|
348
|
+
}, {
|
|
349
|
+
readonly internalType: "uint96";
|
|
350
|
+
readonly name: "expiry";
|
|
351
|
+
readonly type: "uint96";
|
|
352
|
+
}, {
|
|
353
|
+
readonly internalType: "address";
|
|
354
|
+
readonly name: "currency";
|
|
355
|
+
readonly type: "address";
|
|
356
|
+
}, {
|
|
357
|
+
readonly internalType: "uint256";
|
|
358
|
+
readonly name: "pricePerToken";
|
|
359
|
+
readonly type: "uint256";
|
|
360
|
+
}];
|
|
361
|
+
readonly internalType: "struct ISequenceMarketStorage.RequestParams";
|
|
362
|
+
readonly name: "request";
|
|
363
|
+
readonly type: "tuple";
|
|
364
|
+
}];
|
|
365
|
+
readonly name: "createRequest";
|
|
366
|
+
readonly outputs: readonly [{
|
|
2300
367
|
readonly internalType: "uint256";
|
|
2301
|
-
readonly name: "
|
|
2302
|
-
readonly type: "uint256";
|
|
2303
|
-
}, {
|
|
2304
|
-
readonly internalType: "uint256";
|
|
2305
|
-
readonly name: "maxTokenId";
|
|
2306
|
-
readonly type: "uint256";
|
|
2307
|
-
}, {
|
|
2308
|
-
readonly internalType: "uint256";
|
|
2309
|
-
readonly name: "cost";
|
|
2310
|
-
readonly type: "uint256";
|
|
2311
|
-
}, {
|
|
2312
|
-
readonly internalType: "uint256";
|
|
2313
|
-
readonly name: "remainingSupply";
|
|
368
|
+
readonly name: "requestId";
|
|
2314
369
|
readonly type: "uint256";
|
|
2315
|
-
}, {
|
|
2316
|
-
readonly internalType: "uint64";
|
|
2317
|
-
readonly name: "startTime";
|
|
2318
|
-
readonly type: "uint64";
|
|
2319
|
-
}, {
|
|
2320
|
-
readonly internalType: "uint64";
|
|
2321
|
-
readonly name: "endTime";
|
|
2322
|
-
readonly type: "uint64";
|
|
2323
|
-
}, {
|
|
2324
|
-
readonly internalType: "bytes32";
|
|
2325
|
-
readonly name: "merkleRoot";
|
|
2326
|
-
readonly type: "bytes32";
|
|
2327
370
|
}];
|
|
2328
|
-
readonly name: "setGlobalSaleDetails";
|
|
2329
|
-
readonly outputs: readonly [];
|
|
2330
371
|
readonly stateMutability: "nonpayable";
|
|
2331
372
|
readonly type: "function";
|
|
2332
373
|
}, {
|
|
2333
374
|
readonly inputs: readonly [{
|
|
2334
|
-
readonly
|
|
2335
|
-
|
|
2336
|
-
|
|
375
|
+
readonly components: readonly [{
|
|
376
|
+
readonly internalType: "bool";
|
|
377
|
+
readonly name: "isListing";
|
|
378
|
+
readonly type: "bool";
|
|
379
|
+
}, {
|
|
380
|
+
readonly internalType: "bool";
|
|
381
|
+
readonly name: "isERC1155";
|
|
382
|
+
readonly type: "bool";
|
|
383
|
+
}, {
|
|
384
|
+
readonly internalType: "address";
|
|
385
|
+
readonly name: "tokenContract";
|
|
386
|
+
readonly type: "address";
|
|
387
|
+
}, {
|
|
388
|
+
readonly internalType: "uint256";
|
|
389
|
+
readonly name: "tokenId";
|
|
390
|
+
readonly type: "uint256";
|
|
391
|
+
}, {
|
|
392
|
+
readonly internalType: "uint256";
|
|
393
|
+
readonly name: "quantity";
|
|
394
|
+
readonly type: "uint256";
|
|
395
|
+
}, {
|
|
396
|
+
readonly internalType: "uint96";
|
|
397
|
+
readonly name: "expiry";
|
|
398
|
+
readonly type: "uint96";
|
|
399
|
+
}, {
|
|
400
|
+
readonly internalType: "address";
|
|
401
|
+
readonly name: "currency";
|
|
402
|
+
readonly type: "address";
|
|
403
|
+
}, {
|
|
404
|
+
readonly internalType: "uint256";
|
|
405
|
+
readonly name: "pricePerToken";
|
|
406
|
+
readonly type: "uint256";
|
|
407
|
+
}];
|
|
408
|
+
readonly internalType: "struct ISequenceMarketStorage.RequestParams[]";
|
|
409
|
+
readonly name: "requests";
|
|
410
|
+
readonly type: "tuple[]";
|
|
411
|
+
}];
|
|
412
|
+
readonly name: "createRequestBatch";
|
|
413
|
+
readonly outputs: readonly [{
|
|
414
|
+
readonly internalType: "uint256[]";
|
|
415
|
+
readonly name: "requestIds";
|
|
416
|
+
readonly type: "uint256[]";
|
|
2337
417
|
}];
|
|
2338
|
-
readonly name: "setImplicitModeProjectId";
|
|
2339
|
-
readonly outputs: readonly [];
|
|
2340
418
|
readonly stateMutability: "nonpayable";
|
|
2341
419
|
readonly type: "function";
|
|
2342
420
|
}, {
|
|
2343
421
|
readonly inputs: readonly [{
|
|
2344
422
|
readonly internalType: "address";
|
|
2345
|
-
readonly name: "
|
|
423
|
+
readonly name: "";
|
|
2346
424
|
readonly type: "address";
|
|
2347
425
|
}];
|
|
2348
|
-
readonly name: "
|
|
2349
|
-
readonly outputs: readonly [
|
|
2350
|
-
readonly stateMutability: "nonpayable";
|
|
2351
|
-
readonly type: "function";
|
|
2352
|
-
}, {
|
|
2353
|
-
readonly inputs: readonly [{
|
|
426
|
+
readonly name: "customRoyalties";
|
|
427
|
+
readonly outputs: readonly [{
|
|
2354
428
|
readonly internalType: "address";
|
|
2355
|
-
readonly name: "
|
|
429
|
+
readonly name: "recipient";
|
|
2356
430
|
readonly type: "address";
|
|
431
|
+
}, {
|
|
432
|
+
readonly internalType: "uint96";
|
|
433
|
+
readonly name: "fee";
|
|
434
|
+
readonly type: "uint96";
|
|
2357
435
|
}];
|
|
2358
|
-
readonly
|
|
2359
|
-
readonly outputs: readonly [];
|
|
2360
|
-
readonly stateMutability: "nonpayable";
|
|
436
|
+
readonly stateMutability: "view";
|
|
2361
437
|
readonly type: "function";
|
|
2362
438
|
}, {
|
|
2363
439
|
readonly inputs: readonly [{
|
|
2364
440
|
readonly internalType: "uint256";
|
|
2365
|
-
readonly name: "
|
|
2366
|
-
readonly type: "uint256";
|
|
2367
|
-
}, {
|
|
2368
|
-
readonly internalType: "uint256";
|
|
2369
|
-
readonly name: "cost";
|
|
2370
|
-
readonly type: "uint256";
|
|
2371
|
-
}, {
|
|
2372
|
-
readonly internalType: "uint256";
|
|
2373
|
-
readonly name: "remainingSupply";
|
|
441
|
+
readonly name: "requestId";
|
|
2374
442
|
readonly type: "uint256";
|
|
2375
|
-
}, {
|
|
2376
|
-
readonly internalType: "uint64";
|
|
2377
|
-
readonly name: "startTime";
|
|
2378
|
-
readonly type: "uint64";
|
|
2379
|
-
}, {
|
|
2380
|
-
readonly internalType: "uint64";
|
|
2381
|
-
readonly name: "endTime";
|
|
2382
|
-
readonly type: "uint64";
|
|
2383
|
-
}, {
|
|
2384
|
-
readonly internalType: "bytes32";
|
|
2385
|
-
readonly name: "merkleRoot";
|
|
2386
|
-
readonly type: "bytes32";
|
|
2387
443
|
}];
|
|
2388
|
-
readonly name: "
|
|
2389
|
-
readonly outputs: readonly [
|
|
2390
|
-
|
|
444
|
+
readonly name: "getRequest";
|
|
445
|
+
readonly outputs: readonly [{
|
|
446
|
+
readonly components: readonly [{
|
|
447
|
+
readonly internalType: "address";
|
|
448
|
+
readonly name: "creator";
|
|
449
|
+
readonly type: "address";
|
|
450
|
+
}, {
|
|
451
|
+
readonly internalType: "bool";
|
|
452
|
+
readonly name: "isListing";
|
|
453
|
+
readonly type: "bool";
|
|
454
|
+
}, {
|
|
455
|
+
readonly internalType: "bool";
|
|
456
|
+
readonly name: "isERC1155";
|
|
457
|
+
readonly type: "bool";
|
|
458
|
+
}, {
|
|
459
|
+
readonly internalType: "address";
|
|
460
|
+
readonly name: "tokenContract";
|
|
461
|
+
readonly type: "address";
|
|
462
|
+
}, {
|
|
463
|
+
readonly internalType: "uint256";
|
|
464
|
+
readonly name: "tokenId";
|
|
465
|
+
readonly type: "uint256";
|
|
466
|
+
}, {
|
|
467
|
+
readonly internalType: "uint256";
|
|
468
|
+
readonly name: "quantity";
|
|
469
|
+
readonly type: "uint256";
|
|
470
|
+
}, {
|
|
471
|
+
readonly internalType: "uint96";
|
|
472
|
+
readonly name: "expiry";
|
|
473
|
+
readonly type: "uint96";
|
|
474
|
+
}, {
|
|
475
|
+
readonly internalType: "address";
|
|
476
|
+
readonly name: "currency";
|
|
477
|
+
readonly type: "address";
|
|
478
|
+
}, {
|
|
479
|
+
readonly internalType: "uint256";
|
|
480
|
+
readonly name: "pricePerToken";
|
|
481
|
+
readonly type: "uint256";
|
|
482
|
+
}];
|
|
483
|
+
readonly internalType: "struct ISequenceMarketStorage.Request";
|
|
484
|
+
readonly name: "request";
|
|
485
|
+
readonly type: "tuple";
|
|
486
|
+
}];
|
|
487
|
+
readonly stateMutability: "view";
|
|
2391
488
|
readonly type: "function";
|
|
2392
489
|
}, {
|
|
2393
490
|
readonly inputs: readonly [{
|
|
2394
491
|
readonly internalType: "uint256[]";
|
|
2395
|
-
readonly name: "
|
|
2396
|
-
readonly type: "uint256[]";
|
|
2397
|
-
}, {
|
|
2398
|
-
readonly internalType: "uint256[]";
|
|
2399
|
-
readonly name: "costs";
|
|
492
|
+
readonly name: "requestIds";
|
|
2400
493
|
readonly type: "uint256[]";
|
|
2401
|
-
}, {
|
|
2402
|
-
readonly internalType: "uint256[]";
|
|
2403
|
-
readonly name: "remainingSupplies";
|
|
2404
|
-
readonly type: "uint256[]";
|
|
2405
|
-
}, {
|
|
2406
|
-
readonly internalType: "uint64[]";
|
|
2407
|
-
readonly name: "startTimes";
|
|
2408
|
-
readonly type: "uint64[]";
|
|
2409
|
-
}, {
|
|
2410
|
-
readonly internalType: "uint64[]";
|
|
2411
|
-
readonly name: "endTimes";
|
|
2412
|
-
readonly type: "uint64[]";
|
|
2413
|
-
}, {
|
|
2414
|
-
readonly internalType: "bytes32[]";
|
|
2415
|
-
readonly name: "merkleRoots";
|
|
2416
|
-
readonly type: "bytes32[]";
|
|
2417
494
|
}];
|
|
2418
|
-
readonly name: "
|
|
2419
|
-
readonly outputs: readonly [
|
|
2420
|
-
|
|
495
|
+
readonly name: "getRequestBatch";
|
|
496
|
+
readonly outputs: readonly [{
|
|
497
|
+
readonly components: readonly [{
|
|
498
|
+
readonly internalType: "address";
|
|
499
|
+
readonly name: "creator";
|
|
500
|
+
readonly type: "address";
|
|
501
|
+
}, {
|
|
502
|
+
readonly internalType: "bool";
|
|
503
|
+
readonly name: "isListing";
|
|
504
|
+
readonly type: "bool";
|
|
505
|
+
}, {
|
|
506
|
+
readonly internalType: "bool";
|
|
507
|
+
readonly name: "isERC1155";
|
|
508
|
+
readonly type: "bool";
|
|
509
|
+
}, {
|
|
510
|
+
readonly internalType: "address";
|
|
511
|
+
readonly name: "tokenContract";
|
|
512
|
+
readonly type: "address";
|
|
513
|
+
}, {
|
|
514
|
+
readonly internalType: "uint256";
|
|
515
|
+
readonly name: "tokenId";
|
|
516
|
+
readonly type: "uint256";
|
|
517
|
+
}, {
|
|
518
|
+
readonly internalType: "uint256";
|
|
519
|
+
readonly name: "quantity";
|
|
520
|
+
readonly type: "uint256";
|
|
521
|
+
}, {
|
|
522
|
+
readonly internalType: "uint96";
|
|
523
|
+
readonly name: "expiry";
|
|
524
|
+
readonly type: "uint96";
|
|
525
|
+
}, {
|
|
526
|
+
readonly internalType: "address";
|
|
527
|
+
readonly name: "currency";
|
|
528
|
+
readonly type: "address";
|
|
529
|
+
}, {
|
|
530
|
+
readonly internalType: "uint256";
|
|
531
|
+
readonly name: "pricePerToken";
|
|
532
|
+
readonly type: "uint256";
|
|
533
|
+
}];
|
|
534
|
+
readonly internalType: "struct ISequenceMarketStorage.Request[]";
|
|
535
|
+
readonly name: "requests";
|
|
536
|
+
readonly type: "tuple[]";
|
|
537
|
+
}];
|
|
538
|
+
readonly stateMutability: "view";
|
|
2421
539
|
readonly type: "function";
|
|
2422
540
|
}, {
|
|
2423
541
|
readonly inputs: readonly [{
|
|
2424
|
-
readonly internalType: "
|
|
2425
|
-
readonly name: "
|
|
2426
|
-
readonly type: "
|
|
542
|
+
readonly internalType: "address";
|
|
543
|
+
readonly name: "tokenContract";
|
|
544
|
+
readonly type: "address";
|
|
545
|
+
}, {
|
|
546
|
+
readonly internalType: "uint256";
|
|
547
|
+
readonly name: "tokenId";
|
|
548
|
+
readonly type: "uint256";
|
|
549
|
+
}, {
|
|
550
|
+
readonly internalType: "uint256";
|
|
551
|
+
readonly name: "cost";
|
|
552
|
+
readonly type: "uint256";
|
|
2427
553
|
}];
|
|
2428
|
-
readonly name: "
|
|
554
|
+
readonly name: "getRoyaltyInfo";
|
|
2429
555
|
readonly outputs: readonly [{
|
|
2430
|
-
readonly internalType: "
|
|
2431
|
-
readonly name: "";
|
|
2432
|
-
readonly type: "
|
|
556
|
+
readonly internalType: "address";
|
|
557
|
+
readonly name: "recipient";
|
|
558
|
+
readonly type: "address";
|
|
559
|
+
}, {
|
|
560
|
+
readonly internalType: "uint256";
|
|
561
|
+
readonly name: "royalty";
|
|
562
|
+
readonly type: "uint256";
|
|
2433
563
|
}];
|
|
2434
564
|
readonly stateMutability: "view";
|
|
2435
565
|
readonly type: "function";
|
|
2436
566
|
}, {
|
|
2437
567
|
readonly inputs: readonly [{
|
|
2438
568
|
readonly internalType: "uint256";
|
|
2439
|
-
readonly name: "
|
|
569
|
+
readonly name: "requestId";
|
|
570
|
+
readonly type: "uint256";
|
|
571
|
+
}, {
|
|
572
|
+
readonly internalType: "uint256";
|
|
573
|
+
readonly name: "quantity";
|
|
2440
574
|
readonly type: "uint256";
|
|
2441
575
|
}];
|
|
2442
|
-
readonly name: "
|
|
576
|
+
readonly name: "isRequestValid";
|
|
2443
577
|
readonly outputs: readonly [{
|
|
578
|
+
readonly internalType: "bool";
|
|
579
|
+
readonly name: "valid";
|
|
580
|
+
readonly type: "bool";
|
|
581
|
+
}, {
|
|
2444
582
|
readonly components: readonly [{
|
|
583
|
+
readonly internalType: "address";
|
|
584
|
+
readonly name: "creator";
|
|
585
|
+
readonly type: "address";
|
|
586
|
+
}, {
|
|
587
|
+
readonly internalType: "bool";
|
|
588
|
+
readonly name: "isListing";
|
|
589
|
+
readonly type: "bool";
|
|
590
|
+
}, {
|
|
591
|
+
readonly internalType: "bool";
|
|
592
|
+
readonly name: "isERC1155";
|
|
593
|
+
readonly type: "bool";
|
|
594
|
+
}, {
|
|
595
|
+
readonly internalType: "address";
|
|
596
|
+
readonly name: "tokenContract";
|
|
597
|
+
readonly type: "address";
|
|
598
|
+
}, {
|
|
2445
599
|
readonly internalType: "uint256";
|
|
2446
|
-
readonly name: "
|
|
600
|
+
readonly name: "tokenId";
|
|
2447
601
|
readonly type: "uint256";
|
|
2448
602
|
}, {
|
|
2449
603
|
readonly internalType: "uint256";
|
|
2450
|
-
readonly name: "
|
|
604
|
+
readonly name: "quantity";
|
|
2451
605
|
readonly type: "uint256";
|
|
2452
606
|
}, {
|
|
2453
|
-
readonly internalType: "
|
|
2454
|
-
readonly name: "
|
|
2455
|
-
readonly type: "
|
|
607
|
+
readonly internalType: "uint96";
|
|
608
|
+
readonly name: "expiry";
|
|
609
|
+
readonly type: "uint96";
|
|
2456
610
|
}, {
|
|
2457
|
-
readonly internalType: "
|
|
2458
|
-
readonly name: "
|
|
2459
|
-
readonly type: "
|
|
611
|
+
readonly internalType: "address";
|
|
612
|
+
readonly name: "currency";
|
|
613
|
+
readonly type: "address";
|
|
2460
614
|
}, {
|
|
2461
|
-
readonly internalType: "
|
|
2462
|
-
readonly name: "
|
|
2463
|
-
readonly type: "
|
|
615
|
+
readonly internalType: "uint256";
|
|
616
|
+
readonly name: "pricePerToken";
|
|
617
|
+
readonly type: "uint256";
|
|
2464
618
|
}];
|
|
2465
|
-
readonly internalType: "struct
|
|
2466
|
-
readonly name: "";
|
|
619
|
+
readonly internalType: "struct ISequenceMarketStorage.Request";
|
|
620
|
+
readonly name: "request";
|
|
2467
621
|
readonly type: "tuple";
|
|
2468
622
|
}];
|
|
2469
623
|
readonly stateMutability: "view";
|
|
@@ -2471,71 +625,185 @@ declare const ERC1155_SALES_CONTRACT_ABI_V1: readonly [{
|
|
|
2471
625
|
}, {
|
|
2472
626
|
readonly inputs: readonly [{
|
|
2473
627
|
readonly internalType: "uint256[]";
|
|
2474
|
-
readonly name: "
|
|
628
|
+
readonly name: "requestIds";
|
|
629
|
+
readonly type: "uint256[]";
|
|
630
|
+
}, {
|
|
631
|
+
readonly internalType: "uint256[]";
|
|
632
|
+
readonly name: "quantities";
|
|
2475
633
|
readonly type: "uint256[]";
|
|
2476
634
|
}];
|
|
2477
|
-
readonly name: "
|
|
635
|
+
readonly name: "isRequestValidBatch";
|
|
2478
636
|
readonly outputs: readonly [{
|
|
637
|
+
readonly internalType: "bool[]";
|
|
638
|
+
readonly name: "valid";
|
|
639
|
+
readonly type: "bool[]";
|
|
640
|
+
}, {
|
|
2479
641
|
readonly components: readonly [{
|
|
642
|
+
readonly internalType: "address";
|
|
643
|
+
readonly name: "creator";
|
|
644
|
+
readonly type: "address";
|
|
645
|
+
}, {
|
|
646
|
+
readonly internalType: "bool";
|
|
647
|
+
readonly name: "isListing";
|
|
648
|
+
readonly type: "bool";
|
|
649
|
+
}, {
|
|
650
|
+
readonly internalType: "bool";
|
|
651
|
+
readonly name: "isERC1155";
|
|
652
|
+
readonly type: "bool";
|
|
653
|
+
}, {
|
|
654
|
+
readonly internalType: "address";
|
|
655
|
+
readonly name: "tokenContract";
|
|
656
|
+
readonly type: "address";
|
|
657
|
+
}, {
|
|
2480
658
|
readonly internalType: "uint256";
|
|
2481
|
-
readonly name: "
|
|
659
|
+
readonly name: "tokenId";
|
|
2482
660
|
readonly type: "uint256";
|
|
2483
661
|
}, {
|
|
2484
662
|
readonly internalType: "uint256";
|
|
2485
|
-
readonly name: "
|
|
663
|
+
readonly name: "quantity";
|
|
2486
664
|
readonly type: "uint256";
|
|
2487
665
|
}, {
|
|
2488
|
-
readonly internalType: "
|
|
2489
|
-
readonly name: "
|
|
2490
|
-
readonly type: "
|
|
666
|
+
readonly internalType: "uint96";
|
|
667
|
+
readonly name: "expiry";
|
|
668
|
+
readonly type: "uint96";
|
|
2491
669
|
}, {
|
|
2492
|
-
readonly internalType: "
|
|
2493
|
-
readonly name: "
|
|
2494
|
-
readonly type: "
|
|
670
|
+
readonly internalType: "address";
|
|
671
|
+
readonly name: "currency";
|
|
672
|
+
readonly type: "address";
|
|
2495
673
|
}, {
|
|
2496
|
-
readonly internalType: "
|
|
2497
|
-
readonly name: "
|
|
2498
|
-
readonly type: "
|
|
674
|
+
readonly internalType: "uint256";
|
|
675
|
+
readonly name: "pricePerToken";
|
|
676
|
+
readonly type: "uint256";
|
|
2499
677
|
}];
|
|
2500
|
-
readonly internalType: "struct
|
|
2501
|
-
readonly name: "";
|
|
678
|
+
readonly internalType: "struct ISequenceMarketStorage.Request[]";
|
|
679
|
+
readonly name: "requests";
|
|
2502
680
|
readonly type: "tuple[]";
|
|
2503
681
|
}];
|
|
2504
682
|
readonly stateMutability: "view";
|
|
2505
683
|
readonly type: "function";
|
|
684
|
+
}, {
|
|
685
|
+
readonly inputs: readonly [];
|
|
686
|
+
readonly name: "owner";
|
|
687
|
+
readonly outputs: readonly [{
|
|
688
|
+
readonly internalType: "address";
|
|
689
|
+
readonly name: "";
|
|
690
|
+
readonly type: "address";
|
|
691
|
+
}];
|
|
692
|
+
readonly stateMutability: "view";
|
|
693
|
+
readonly type: "function";
|
|
694
|
+
}, {
|
|
695
|
+
readonly inputs: readonly [];
|
|
696
|
+
readonly name: "renounceOwnership";
|
|
697
|
+
readonly outputs: readonly [];
|
|
698
|
+
readonly stateMutability: "nonpayable";
|
|
699
|
+
readonly type: "function";
|
|
2506
700
|
}, {
|
|
2507
701
|
readonly inputs: readonly [{
|
|
2508
702
|
readonly internalType: "address";
|
|
2509
|
-
readonly name: "
|
|
703
|
+
readonly name: "tokenContract";
|
|
2510
704
|
readonly type: "address";
|
|
2511
705
|
}, {
|
|
2512
706
|
readonly internalType: "address";
|
|
2513
|
-
readonly name: "
|
|
707
|
+
readonly name: "recipient";
|
|
2514
708
|
readonly type: "address";
|
|
2515
709
|
}, {
|
|
2516
|
-
readonly internalType: "
|
|
2517
|
-
readonly name: "
|
|
2518
|
-
readonly type: "
|
|
710
|
+
readonly internalType: "uint96";
|
|
711
|
+
readonly name: "fee";
|
|
712
|
+
readonly type: "uint96";
|
|
2519
713
|
}];
|
|
2520
|
-
readonly name: "
|
|
714
|
+
readonly name: "setRoyaltyInfo";
|
|
2521
715
|
readonly outputs: readonly [];
|
|
2522
716
|
readonly stateMutability: "nonpayable";
|
|
2523
717
|
readonly type: "function";
|
|
2524
718
|
}, {
|
|
2525
719
|
readonly inputs: readonly [{
|
|
2526
720
|
readonly internalType: "address";
|
|
2527
|
-
readonly name: "
|
|
721
|
+
readonly name: "newOwner";
|
|
2528
722
|
readonly type: "address";
|
|
2529
|
-
}, {
|
|
2530
|
-
readonly internalType: "uint256";
|
|
2531
|
-
readonly name: "value";
|
|
2532
|
-
readonly type: "uint256";
|
|
2533
723
|
}];
|
|
2534
|
-
readonly name: "
|
|
724
|
+
readonly name: "transferOwnership";
|
|
2535
725
|
readonly outputs: readonly [];
|
|
2536
726
|
readonly stateMutability: "nonpayable";
|
|
2537
727
|
readonly type: "function";
|
|
2538
728
|
}];
|
|
2539
729
|
//#endregion
|
|
2540
|
-
|
|
730
|
+
//#region src/utils/abi/marketplace/sequence-marketplace-v2.d.ts
|
|
731
|
+
declare const SequenceMarketplaceV2_ABI: ({
|
|
732
|
+
type: string;
|
|
733
|
+
inputs: never[];
|
|
734
|
+
stateMutability: string;
|
|
735
|
+
name?: undefined;
|
|
736
|
+
outputs?: undefined;
|
|
737
|
+
anonymous?: undefined;
|
|
738
|
+
} | {
|
|
739
|
+
type: string;
|
|
740
|
+
name: string;
|
|
741
|
+
inputs: {
|
|
742
|
+
name: string;
|
|
743
|
+
type: string;
|
|
744
|
+
internalType: string;
|
|
745
|
+
components: {
|
|
746
|
+
name: string;
|
|
747
|
+
type: string;
|
|
748
|
+
internalType: string;
|
|
749
|
+
}[];
|
|
750
|
+
}[];
|
|
751
|
+
outputs: {
|
|
752
|
+
name: string;
|
|
753
|
+
type: string;
|
|
754
|
+
internalType: string;
|
|
755
|
+
}[];
|
|
756
|
+
stateMutability: string;
|
|
757
|
+
anonymous?: undefined;
|
|
758
|
+
} | {
|
|
759
|
+
type: string;
|
|
760
|
+
name: string;
|
|
761
|
+
inputs: {
|
|
762
|
+
name: string;
|
|
763
|
+
type: string;
|
|
764
|
+
internalType: string;
|
|
765
|
+
}[];
|
|
766
|
+
outputs: ({
|
|
767
|
+
name: string;
|
|
768
|
+
type: string;
|
|
769
|
+
internalType: string;
|
|
770
|
+
components?: undefined;
|
|
771
|
+
} | {
|
|
772
|
+
name: string;
|
|
773
|
+
type: string;
|
|
774
|
+
internalType: string;
|
|
775
|
+
components: {
|
|
776
|
+
name: string;
|
|
777
|
+
type: string;
|
|
778
|
+
internalType: string;
|
|
779
|
+
}[];
|
|
780
|
+
})[];
|
|
781
|
+
stateMutability: string;
|
|
782
|
+
anonymous?: undefined;
|
|
783
|
+
} | {
|
|
784
|
+
type: string;
|
|
785
|
+
name: string;
|
|
786
|
+
inputs: {
|
|
787
|
+
name: string;
|
|
788
|
+
type: string;
|
|
789
|
+
indexed: boolean;
|
|
790
|
+
internalType: string;
|
|
791
|
+
}[];
|
|
792
|
+
anonymous: boolean;
|
|
793
|
+
stateMutability?: undefined;
|
|
794
|
+
outputs?: undefined;
|
|
795
|
+
} | {
|
|
796
|
+
type: string;
|
|
797
|
+
name: string;
|
|
798
|
+
inputs: {
|
|
799
|
+
name: string;
|
|
800
|
+
type: string;
|
|
801
|
+
internalType: string;
|
|
802
|
+
}[];
|
|
803
|
+
stateMutability?: undefined;
|
|
804
|
+
outputs?: undefined;
|
|
805
|
+
anonymous?: undefined;
|
|
806
|
+
})[];
|
|
807
|
+
//#endregion
|
|
808
|
+
export { SequenceMarketplaceV1_ABI as n, EIP2981_ABI as r, SequenceMarketplaceV2_ABI as t };
|
|
2541
809
|
//# sourceMappingURL=index5.d.ts.map
|