@0xsequence/marketplace-sdk 0.8.12 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +91 -23
- package/dist/{CartIcon-Bll1rbxv.js → CalendarIcon-DbQ7Vxcw.js} +38 -38
- package/dist/CalendarIcon-DbQ7Vxcw.js.map +1 -0
- package/dist/{types-BIJOaL4j.d.ts → CollectibleCard-C8Ae64Ab.d.ts} +7 -4
- package/dist/{_internal-69NEWNUE.js → _internal-BgWcRIak.js} +2 -14
- package/dist/_internal-BgWcRIak.js.map +1 -0
- package/dist/{api-1KFxYh7o.js → api-DTIan01C.js} +73 -64
- package/dist/api-DTIan01C.js.map +1 -0
- package/dist/{builder-api-BQvzykoU.js → builder-api-BFuZNOaN.js} +2 -2
- package/dist/{builder-api-BQvzykoU.js.map → builder-api-BFuZNOaN.js.map} +1 -1
- package/dist/{builder-api-DoK3907S.d.ts → builder-api-C_zj5mr3.d.ts} +2 -2
- package/dist/{builder.gen-CxP9NT1p.js → builder.gen-B9wR2nvF.js} +1 -1
- package/dist/builder.gen-B9wR2nvF.js.map +1 -0
- package/dist/{index-Cl7PQOGu.d.ts → index-21LE7OhL.d.ts} +24 -24
- package/dist/{index-1bezgsFq.d.ts → index-BL9RUSEK.d.ts} +929 -255
- package/dist/index-BQsgAvtX.d.ts +2938 -0
- package/dist/{index-DafWjEb4.d.ts → index-BUVWziLP.d.ts} +9 -14
- package/dist/{index-BIMIpDiI.d.ts → index-ByznONYE.d.ts} +98 -99
- package/dist/{index-BjIwVzc4.d.ts → index-CLy8y5hm.d.ts} +238 -238
- package/dist/{index-CN8puQQJ.d.ts → index-COt10OgI.d.ts} +4 -4
- package/dist/index-DPNWNa7t.d.ts +414 -0
- package/dist/{index-BEYefG1G.d.ts → index-DaE5ZNHb.d.ts} +2 -2
- package/dist/{index-BfH21xmk.d.ts → index-DsfCs3-x.d.ts} +46 -41
- package/dist/{index-4-kfOFdx.d.ts → index-dUb6wb4Y.d.ts} +5 -5
- package/dist/index.css +14 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.js +7 -7
- package/dist/marketplace-logos-CSeGcPW4.js.map +1 -1
- package/dist/{marketplace.gen-Dqk8vRmD.js → marketplace.gen-BSDIX7NZ.js} +12 -3
- package/dist/marketplace.gen-BSDIX7NZ.js.map +1 -0
- package/dist/{marketplaceConfig-D2MYFqll.js → marketplaceConfig-C6X1SUik.js} +2 -2
- package/dist/marketplaceConfig-C6X1SUik.js.map +1 -0
- package/dist/{sdk-config-DJzxVPld.d.ts → new-marketplace-types-Bfis0U4J.d.ts} +65 -54
- package/dist/options-B4QN7Xou.js +0 -0
- package/dist/{primary-sale-Cw95phYC.js → primary-sale-C55ALnfQ.js} +279 -279
- package/dist/primary-sale-C55ALnfQ.js.map +1 -0
- package/dist/{queries-DPvwtnO7.js → queries-CUU65uYZ.js} +247 -134
- package/dist/queries-CUU65uYZ.js.map +1 -0
- package/dist/react/_internal/api/index.d.ts +4 -4
- package/dist/react/_internal/api/index.js +5 -5
- package/dist/react/_internal/databeat/index.d.ts +3 -3
- package/dist/react/_internal/databeat/index.js +15 -15
- package/dist/react/_internal/index.d.ts +7 -7
- package/dist/react/_internal/index.js +7 -7
- package/dist/react/_internal/wagmi/index.d.ts +3 -3
- package/dist/react/_internal/wagmi/index.js +2 -2
- package/dist/react/hooks/index.d.ts +15 -14
- package/dist/react/hooks/index.js +16 -16
- package/dist/react/hooks/options/index.d.ts +4 -5
- package/dist/react/hooks/options/index.js +9 -9
- package/dist/react/index.d.ts +15 -37
- package/dist/react/index.js +16 -16
- package/dist/react/queries/index.d.ts +8 -8
- package/dist/react/queries/index.js +12 -12
- package/dist/react/ssr/index.d.ts +6 -6
- package/dist/react/ssr/index.js +7 -7
- package/dist/react/ssr/index.js.map +1 -1
- package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +8 -9
- package/dist/react/ui/components/marketplace-collectible-card/index.js +15 -15
- package/dist/react/ui/components/marketplace-collectible-card/utils/index.d.ts +7 -7
- package/dist/react/ui/components/marketplace-collectible-card/utils/index.js +7 -7
- package/dist/react/ui/components/marketplace-logos/index.d.ts +21 -21
- package/dist/react/ui/icons/index.js +6 -6
- package/dist/react/ui/index.d.ts +8 -9
- package/dist/react/ui/index.js +15 -15
- package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +5 -5
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +15 -15
- package/dist/{react-BG7o4PId.js → react-DAIicQPT.js} +7422 -6835
- package/dist/react-DAIicQPT.js.map +1 -0
- package/dist/{token-CO5llIla.js → token-Da4TdyUk.js} +1540 -761
- package/dist/token-Da4TdyUk.js.map +1 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +2 -2
- package/dist/types-DwWE6xOF.js.map +1 -1
- package/dist/utils/abi/index.d.ts +3 -3
- package/dist/utils/abi/index.js +3 -3
- package/dist/utils/abi/primary-sale/index.d.ts +1 -1
- package/dist/utils/abi/primary-sale/index.js +1 -1
- package/dist/utils/abi/token/index.d.ts +2 -2
- package/dist/utils/abi/token/index.js +2 -2
- package/dist/utils/index.d.ts +6 -6
- package/dist/utils/index.js +6 -6
- package/dist/{utils-Cat9_pef.js → utils-BPYfgDSL.js} +2 -2
- package/dist/{utils-Cat9_pef.js.map → utils-BPYfgDSL.js.map} +1 -1
- package/dist/{utils-BFdxaToy.js → utils-CW2NA5KG.js} +87 -87
- package/dist/utils-CW2NA5KG.js.map +1 -0
- package/dist/{wagmi-DRctYEk6.js → wagmi-CDzEQbfk.js} +19 -12
- package/dist/wagmi-CDzEQbfk.js.map +1 -0
- package/eslint/use-client.js +0 -6
- package/package.json +30 -31
- package/src/index.ts +1 -1
- package/src/react/_internal/api/__mocks__/builder.msw.ts +5 -3
- package/src/react/_internal/api/__mocks__/indexer.msw.ts +8 -8
- package/src/react/_internal/api/__mocks__/marketplace.msw.ts +4 -6
- package/src/react/_internal/api/__mocks__/metadata.msw.ts +1 -1
- package/src/react/_internal/api/builder.gen.ts +6 -6
- package/src/react/_internal/api/get-query-client.ts +2 -2
- package/src/react/_internal/api/index.ts +2 -2
- package/src/react/_internal/api/marketplace.gen.ts +42 -4
- package/src/react/_internal/api/query-keys.ts +13 -6
- package/src/react/_internal/api/services.ts +28 -31
- package/src/react/_internal/index.ts +1 -1
- package/src/react/_internal/types.ts +10 -23
- package/src/react/_internal/utils.ts +1 -2
- package/src/react/_internal/wagmi/create-config.ts +20 -11
- package/src/react/_internal/wagmi/get-connectors.ts +9 -7
- package/src/react/_internal/wallet/__tests__/wallet.test.ts +1 -1
- package/src/react/_internal/wallet/wallet.ts +18 -18
- package/src/react/hooks/__tests__/__snapshots__/useListCollections.test.tsx.snap +20 -0
- package/src/react/hooks/__tests__/__snapshots__/useMarketplaceConfig.test.tsx.snap +12 -2
- package/src/react/hooks/__tests__/useAutoSelectFeeOption.test.tsx +1 -1
- package/src/react/hooks/__tests__/useBalanceOfCollectible.test.tsx +1 -1
- package/src/react/hooks/__tests__/useCancelOrder.test.tsx +4 -4
- package/src/react/hooks/__tests__/useCancelTransactionSteps.test.tsx +1 -1
- package/src/react/hooks/__tests__/useCollectible.test.tsx +14 -16
- package/src/react/hooks/__tests__/useCollection.test.tsx +4 -4
- package/src/react/hooks/__tests__/useCollectionBalanceDetails.test.tsx +1 -27
- package/src/react/hooks/__tests__/useCollectionDetails.test.tsx +1 -1
- package/src/react/hooks/__tests__/useCollectionDetailsPolling.test.tsx +1 -1
- package/src/react/hooks/__tests__/useComparePrices.test.tsx +7 -6
- package/src/react/hooks/__tests__/useConvertPriceToUSD.test.tsx +1 -1
- package/src/react/hooks/__tests__/useCountListingsForCollectible.test.tsx +2 -2
- package/src/react/hooks/__tests__/useCountOfCollectables.test.tsx +5 -5
- package/src/react/hooks/__tests__/useCountOffersForCollectible.test.tsx +2 -2
- package/src/react/hooks/__tests__/useCurrency.test.tsx +5 -3
- package/src/react/hooks/__tests__/useFilters.test.tsx +1 -1
- package/src/react/hooks/__tests__/useFloorOrder.test.tsx +4 -4
- package/src/react/hooks/__tests__/useGenerateCancelTransaction.test.tsx +3 -3
- package/src/react/hooks/__tests__/useGenerateListingTransaction.test.tsx +1 -1
- package/src/react/hooks/__tests__/useGenerateOfferTransaction.test.tsx +1 -1
- package/src/react/hooks/__tests__/useGenerateSellTransaction.test.tsx +1 -1
- package/src/react/hooks/__tests__/useGetTokenSuppliesMap.test.tsx +104 -0
- package/src/react/hooks/__tests__/useHighestOffer.test.tsx +4 -4
- package/src/react/hooks/__tests__/useInventory.test.tsx +1 -1
- package/src/react/hooks/__tests__/useListCollectibleActivities.test.tsx +11 -13
- package/src/react/hooks/__tests__/useListCollectibles.test.tsx +5 -5
- package/src/react/hooks/__tests__/useListCollectiblesPaginated.test.tsx +10 -15
- package/src/react/hooks/__tests__/useListCollectionActivities.test.tsx +13 -15
- package/src/react/hooks/__tests__/useListCollections.test.tsx +3 -3
- package/src/react/hooks/__tests__/useListListingsForCollectible.test.tsx +3 -2
- package/src/react/hooks/__tests__/useListMarketCardData.test.tsx +301 -0
- package/src/react/hooks/__tests__/useListOffersForCollectible.test.tsx +1 -1
- package/src/react/hooks/__tests__/useListTokenMetadata.test.tsx +111 -0
- package/src/react/hooks/__tests__/useLowestListing.test.tsx +1 -1
- package/src/react/hooks/__tests__/useMarketCurrencies.test.tsx +1 -1
- package/src/react/hooks/__tests__/useRoyalty.test.tsx +0 -23
- package/src/react/hooks/index.ts +27 -24
- package/src/react/hooks/options/index.ts +0 -1
- package/src/react/hooks/useAutoSelectFeeOption.tsx +1 -1
- package/src/react/hooks/useBalanceOfCollectible.tsx +1 -1
- package/src/react/hooks/useCancelTransactionSteps.tsx +2 -2
- package/src/react/hooks/useCheckoutOptionsSalesContract.tsx +1 -1
- package/src/react/hooks/useCollectible.tsx +64 -49
- package/src/react/hooks/useCollection.tsx +60 -11
- package/src/react/hooks/useCollectionBalanceDetails.tsx +20 -27
- package/src/react/hooks/useCollectionDetails.ts +69 -0
- package/src/react/hooks/useCollectionDetailsPolling.tsx +10 -2
- package/src/react/hooks/useComparePrices.tsx +18 -21
- package/src/react/hooks/useConvertPriceToUSD.tsx +20 -37
- package/src/react/hooks/useCountListingsForCollectible.tsx +64 -53
- package/src/react/hooks/useCountOfCollectables.tsx +60 -69
- package/src/react/hooks/useCountOfPrimarySaleItems.tsx +13 -0
- package/src/react/hooks/useCountOffersForCollectible.tsx +64 -53
- package/src/react/hooks/useCurrency.tsx +56 -64
- package/src/react/hooks/useFilterState.tsx +1 -2
- package/src/react/hooks/useFloorOrder.tsx +65 -40
- package/src/react/hooks/useGenerateCancelTransaction.tsx +5 -10
- package/src/react/hooks/useGenerateListingTransaction.tsx +1 -1
- package/src/react/hooks/useGenerateOfferTransaction.tsx +1 -1
- package/src/react/hooks/useGenerateSellTransaction.tsx +5 -10
- package/src/react/hooks/useGetReceiptFromHash.tsx +32 -3
- package/src/react/hooks/{useGetTokenSuppliesMap.ts → useGetTokenRanges.tsx} +15 -17
- package/src/react/hooks/useGetTokenSuppliesMap.tsx +73 -0
- package/src/react/hooks/useHighestOffer.tsx +68 -4
- package/src/react/hooks/useInventory.tsx +1 -1
- package/src/react/hooks/useList1155ShopCardData.tsx +55 -82
- package/src/react/hooks/useList721ShopCardData.tsx +93 -63
- package/src/react/hooks/useListBalances.tsx +1 -1
- package/src/react/hooks/useListCollectibleActivities.tsx +89 -50
- package/src/react/hooks/useListCollectibles.tsx +81 -16
- package/src/react/hooks/useListCollectiblesPaginated.tsx +96 -66
- package/src/react/hooks/useListCollectionActivities.tsx +84 -50
- package/src/react/hooks/useListCollections.tsx +72 -18
- package/src/react/hooks/useListListingsForCollectible.tsx +90 -50
- package/src/react/hooks/useListMarketCardData.tsx +1 -1
- package/src/react/hooks/useListOffersForCollectible.tsx +9 -14
- package/src/react/hooks/useListPrimarySaleItems.ts +72 -12
- package/src/react/hooks/useListShopCardData.tsx +70 -0
- package/src/react/hooks/useListTokenMetadata.tsx +73 -0
- package/src/react/hooks/useLowestListing.tsx +68 -4
- package/src/react/hooks/useMarketCurrencies.tsx +62 -5
- package/src/react/hooks/useRoyalty.tsx +57 -13
- package/src/react/hooks/useShopCollectibleSaleData.tsx +349 -0
- package/src/react/hooks/useTransferTokens.tsx +1 -1
- package/src/react/hooks/util/optimisticCancelUpdates.ts +5 -7
- package/src/react/index.ts +5 -3
- package/src/react/queries/balanceOfCollectible.ts +1 -1
- package/src/react/queries/collectible.ts +66 -0
- package/src/react/queries/collection.ts +55 -0
- package/src/react/queries/collectionDetails.ts +64 -0
- package/src/react/queries/countListingsForCollectible.ts +73 -0
- package/src/react/queries/countOfCollectables.ts +83 -0
- package/src/react/queries/countOfPrimarySaleItems.ts +48 -0
- package/src/react/queries/countOffersForCollectible.ts +73 -0
- package/src/react/queries/currency.ts +83 -0
- package/src/react/queries/floorOrder.ts +63 -0
- package/src/react/queries/getTokenSuppliesMap.ts +77 -0
- package/src/react/queries/highestOffer.ts +46 -40
- package/src/react/queries/index.ts +7 -4
- package/src/react/queries/inventory.ts +4 -4
- package/src/react/queries/listBalances.ts +1 -1
- package/src/react/queries/listCollectibleActivities.ts +97 -0
- package/src/react/queries/listCollectibles.ts +67 -50
- package/src/react/queries/listCollectiblesPaginated.ts +87 -0
- package/src/react/queries/listCollectionActivities.ts +95 -0
- package/src/react/queries/listCollections.ts +47 -8
- package/src/react/queries/listListingsForCollectible.ts +82 -0
- package/src/react/queries/listTokenMetadata.ts +47 -23
- package/src/react/queries/lowestListing.ts +46 -31
- package/src/react/queries/marketCurrencies.ts +42 -29
- package/src/react/queries/marketplaceConfig.ts +3 -3
- package/src/react/ssr/__tests__/__snapshots__/create-ssr-client.test.ts.snap +12 -2
- package/src/react/ssr/create-ssr-client.ts +1 -1
- package/src/react/types/query.ts +34 -0
- package/src/react/ui/components/ModelViewer.tsx +1 -1
- package/src/react/ui/components/_internals/action-button/__tests__/useActionButtonLogic.test.tsx +14 -8
- package/src/react/ui/components/_internals/action-button/hooks/useActionButtonLogic.ts +12 -15
- package/src/react/ui/components/_internals/action-button/store.ts +46 -18
- package/src/react/ui/components/marketplace-collectible-card/CollectibleCard.tsx +1 -1
- package/src/react/ui/components/marketplace-collectible-card/Footer.tsx +1 -1
- package/src/react/ui/components/marketplace-collectible-card/components/BaseCard.tsx +3 -0
- package/src/react/ui/components/marketplace-collectible-card/index.ts +1 -1
- package/src/react/ui/components/marketplace-collectible-card/types.ts +7 -4
- package/src/react/ui/components/marketplace-collectible-card/variants/MarketCard.tsx +3 -2
- package/src/react/ui/components/marketplace-collectible-card/variants/ShopCard.tsx +2 -5
- package/src/react/ui/components/marketplace-logos/marketplace-logos.tsx +1 -1
- package/src/react/ui/components/media/Media.tsx +5 -1
- package/src/react/ui/index.ts +8 -10
- package/src/react/ui/modals/BuyModal/__tests__/ERC1155ShopModal.test.tsx +94 -87
- package/src/react/ui/modals/BuyModal/__tests__/Modal1155.test.tsx +4 -4
- package/src/react/ui/modals/BuyModal/__tests__/store.test.ts +1 -1
- package/src/react/ui/modals/BuyModal/components/ERC1155QuantityModal.tsx +3 -4
- package/src/react/ui/modals/BuyModal/components/ERC1155ShopModal.tsx +1 -1
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useCheckoutOptions.test.tsx +1 -1
- package/src/react/ui/modals/BuyModal/hooks/useCheckoutOptions.ts +1 -1
- package/src/react/ui/modals/BuyModal/hooks/useERC721SalePaymentParams.ts +1 -1
- package/src/react/ui/modals/BuyModal/hooks/usePaymentModalParams.ts +3 -3
- package/src/react/ui/modals/CreateListingModal/Modal.tsx +1 -1
- package/src/react/ui/modals/CreateListingModal/__tests__/Modal.test.tsx +2 -2
- package/src/react/ui/modals/CreateListingModal/hooks/useCreateListing.tsx +0 -1
- package/src/react/ui/modals/CreateListingModal/hooks/useGetTokenApproval.ts +2 -2
- package/src/react/ui/modals/CreateListingModal/hooks/useTransactionSteps.tsx +7 -6
- package/src/react/ui/modals/CreateListingModal/index.tsx +1 -1
- package/src/react/ui/modals/MakeOfferModal/Modal.tsx +2 -2
- package/src/react/ui/modals/MakeOfferModal/__tests__/Modal.test.tsx +1 -1
- package/src/react/ui/modals/MakeOfferModal/hooks/useGetTokenApproval.tsx +1 -1
- package/src/react/ui/modals/MakeOfferModal/hooks/useMakeOffer.tsx +0 -1
- package/src/react/ui/modals/MakeOfferModal/hooks/useTransactionSteps.tsx +7 -7
- package/src/react/ui/modals/MakeOfferModal/index.tsx +1 -1
- package/src/react/ui/modals/SellModal/Modal.tsx +3 -3
- package/src/react/ui/modals/SellModal/__tests__/Modal.test.tsx +6 -4
- package/src/react/ui/modals/SellModal/hooks/useGetTokenApproval.tsx +1 -1
- package/src/react/ui/modals/SellModal/hooks/useSell.tsx +0 -1
- package/src/react/ui/modals/SellModal/hooks/useTransactionSteps.tsx +6 -6
- package/src/react/ui/modals/SuccessfulPurchaseModal/__tests__/Modal.test.tsx +1 -1
- package/src/react/ui/modals/TransferModal/_store.ts +1 -7
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/_components/TokenQuantityInput.tsx +2 -3
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/index.tsx +2 -2
- package/src/react/ui/modals/_internal/components/actionModal/ActionModal.test.tsx +1 -1
- package/src/react/ui/modals/_internal/components/actionModal/ActionModal.tsx +2 -4
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/__tests__/index.test.tsx +1 -1
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +0 -1
- package/src/react/ui/modals/_internal/components/floorPriceText/index.tsx +4 -4
- package/src/react/ui/modals/_internal/components/quantityInput/QuantityInputBase.tsx +166 -0
- package/src/react/ui/modals/_internal/components/quantityInput/index.tsx +12 -141
- package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/__tests__/SelectWaasFeeOptions.test.tsx +1 -1
- package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/_components/BalanceIndicator.tsx +1 -2
- package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/useWaasFeeOptionManager.tsx +0 -1
- package/src/react/ui/modals/_internal/components/transactionPreview/index.tsx +1 -1
- package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/TransactionStatusModal.test.tsx +1 -1
- package/src/react/ui/modals/_internal/components/transactionStatusModal/hooks/useTransactionStatus.ts +0 -1
- package/src/react/ui/modals/_internal/components/transactionStatusModal/store.ts +1 -1
- package/src/react/ui/modals/_internal/components/waasFeeOptionsSelect/WaasFeeOptionsSelect.tsx +1 -1
- package/src/react/ui/modals/modal-provider.tsx +2 -3
- package/src/types/api-types.ts +36 -36
- package/src/types/buyModalErrors.ts +1 -1
- package/src/types/index.ts +5 -5
- package/src/types/new-marketplace-types.ts +1 -1
- package/src/types/sdk-config.ts +2 -1
- package/src/types/types.ts +1 -0
- package/src/types/waas-types.ts +1 -1
- package/src/utils/abi/index.ts +1 -1
- package/src/utils/abi/primary-sale/index.ts +1 -1
- package/src/utils/abi/token/index.ts +2 -1
- package/src/utils/decode/erc20.ts +1 -1
- package/src/utils/index.ts +3 -3
- package/test/const.ts +3 -1
- package/test/mocks/wallet.ts +1 -1
- package/test/test-utils.tsx +3 -4
- package/.changeset/fluffy-jokes-lay.md +0 -5
- package/.changeset/wise-bugs-boil.md +0 -8
- package/dist/CartIcon-Bll1rbxv.js.map +0 -1
- package/dist/CollectibleCard-CLQTl0_6.d.ts +0 -8
- package/dist/_internal-69NEWNUE.js.map +0 -1
- package/dist/api-1KFxYh7o.js.map +0 -1
- package/dist/builder.gen-CxP9NT1p.js.map +0 -1
- package/dist/index-BHiSG-Yi.d.ts +0 -312
- package/dist/index-BQW0PUkQ.d.ts +0 -3973
- package/dist/marketplace.gen-Dqk8vRmD.js.map +0 -1
- package/dist/marketplaceConfig-D2MYFqll.js.map +0 -1
- package/dist/options-DCi6_23w.js +0 -34
- package/dist/options-DCi6_23w.js.map +0 -1
- package/dist/primary-sale-Cw95phYC.js.map +0 -1
- package/dist/queries-DPvwtnO7.js.map +0 -1
- package/dist/react-BG7o4PId.js.map +0 -1
- package/dist/token-CO5llIla.js.map +0 -1
- package/dist/useCollection-C-mclKU0.d.ts +0 -66
- package/dist/utils-BFdxaToy.js.map +0 -1
- package/dist/wagmi-DRctYEk6.js.map +0 -1
- package/src/react/_internal/api/zod-schema.ts +0 -678
- package/src/react/hooks/options/collectionOptions.ts +0 -41
- package/src/react/hooks/useCheckoutOptions.tsx +0 -66
- package/src/react/hooks/useCollectionDetails.tsx +0 -50
- package/src/react/hooks/useListTokenMetadata.ts +0 -19
- package/src/react/queries/getTokenSupplies.ts +0 -38
- package/tsconfig.tsbuildinfo +0 -1
- /package/dist/{index-ij9f8GAA.d.ts → index-DvpBZgor.d.ts} +0 -0
|
@@ -1,256 +1,3 @@
|
|
|
1
|
-
//#region src/utils/abi/token/ERC1155.d.ts
|
|
2
|
-
declare const ERC1155_ABI: readonly [{
|
|
3
|
-
readonly anonymous: false;
|
|
4
|
-
readonly inputs: readonly [{
|
|
5
|
-
readonly indexed: true;
|
|
6
|
-
readonly internalType: "address";
|
|
7
|
-
readonly name: "_owner";
|
|
8
|
-
readonly type: "address";
|
|
9
|
-
}, {
|
|
10
|
-
readonly indexed: true;
|
|
11
|
-
readonly internalType: "address";
|
|
12
|
-
readonly name: "_operator";
|
|
13
|
-
readonly type: "address";
|
|
14
|
-
}, {
|
|
15
|
-
readonly indexed: false;
|
|
16
|
-
readonly internalType: "bool";
|
|
17
|
-
readonly name: "_approved";
|
|
18
|
-
readonly type: "bool";
|
|
19
|
-
}];
|
|
20
|
-
readonly name: "ApprovalForAll";
|
|
21
|
-
readonly type: "event";
|
|
22
|
-
}, {
|
|
23
|
-
readonly anonymous: false;
|
|
24
|
-
readonly inputs: readonly [{
|
|
25
|
-
readonly indexed: true;
|
|
26
|
-
readonly internalType: "address";
|
|
27
|
-
readonly name: "_operator";
|
|
28
|
-
readonly type: "address";
|
|
29
|
-
}, {
|
|
30
|
-
readonly indexed: true;
|
|
31
|
-
readonly internalType: "address";
|
|
32
|
-
readonly name: "_from";
|
|
33
|
-
readonly type: "address";
|
|
34
|
-
}, {
|
|
35
|
-
readonly indexed: true;
|
|
36
|
-
readonly internalType: "address";
|
|
37
|
-
readonly name: "_to";
|
|
38
|
-
readonly type: "address";
|
|
39
|
-
}, {
|
|
40
|
-
readonly indexed: false;
|
|
41
|
-
readonly internalType: "uint256[]";
|
|
42
|
-
readonly name: "_ids";
|
|
43
|
-
readonly type: "uint256[]";
|
|
44
|
-
}, {
|
|
45
|
-
readonly indexed: false;
|
|
46
|
-
readonly internalType: "uint256[]";
|
|
47
|
-
readonly name: "_amounts";
|
|
48
|
-
readonly type: "uint256[]";
|
|
49
|
-
}];
|
|
50
|
-
readonly name: "TransferBatch";
|
|
51
|
-
readonly type: "event";
|
|
52
|
-
}, {
|
|
53
|
-
readonly anonymous: false;
|
|
54
|
-
readonly inputs: readonly [{
|
|
55
|
-
readonly indexed: true;
|
|
56
|
-
readonly internalType: "address";
|
|
57
|
-
readonly name: "_operator";
|
|
58
|
-
readonly type: "address";
|
|
59
|
-
}, {
|
|
60
|
-
readonly indexed: true;
|
|
61
|
-
readonly internalType: "address";
|
|
62
|
-
readonly name: "_from";
|
|
63
|
-
readonly type: "address";
|
|
64
|
-
}, {
|
|
65
|
-
readonly indexed: true;
|
|
66
|
-
readonly internalType: "address";
|
|
67
|
-
readonly name: "_to";
|
|
68
|
-
readonly type: "address";
|
|
69
|
-
}, {
|
|
70
|
-
readonly indexed: false;
|
|
71
|
-
readonly internalType: "uint256";
|
|
72
|
-
readonly name: "_id";
|
|
73
|
-
readonly type: "uint256";
|
|
74
|
-
}, {
|
|
75
|
-
readonly indexed: false;
|
|
76
|
-
readonly internalType: "uint256";
|
|
77
|
-
readonly name: "_amount";
|
|
78
|
-
readonly type: "uint256";
|
|
79
|
-
}];
|
|
80
|
-
readonly name: "TransferSingle";
|
|
81
|
-
readonly type: "event";
|
|
82
|
-
}, {
|
|
83
|
-
readonly inputs: readonly [{
|
|
84
|
-
readonly internalType: "address";
|
|
85
|
-
readonly name: "_owner";
|
|
86
|
-
readonly type: "address";
|
|
87
|
-
}, {
|
|
88
|
-
readonly internalType: "uint256";
|
|
89
|
-
readonly name: "_id";
|
|
90
|
-
readonly type: "uint256";
|
|
91
|
-
}];
|
|
92
|
-
readonly name: "balanceOf";
|
|
93
|
-
readonly outputs: readonly [{
|
|
94
|
-
readonly internalType: "uint256";
|
|
95
|
-
readonly name: "";
|
|
96
|
-
readonly type: "uint256";
|
|
97
|
-
}];
|
|
98
|
-
readonly stateMutability: "view";
|
|
99
|
-
readonly type: "function";
|
|
100
|
-
}, {
|
|
101
|
-
readonly inputs: readonly [{
|
|
102
|
-
readonly internalType: "address[]";
|
|
103
|
-
readonly name: "_owners";
|
|
104
|
-
readonly type: "address[]";
|
|
105
|
-
}, {
|
|
106
|
-
readonly internalType: "uint256[]";
|
|
107
|
-
readonly name: "_ids";
|
|
108
|
-
readonly type: "uint256[]";
|
|
109
|
-
}];
|
|
110
|
-
readonly name: "balanceOfBatch";
|
|
111
|
-
readonly outputs: readonly [{
|
|
112
|
-
readonly internalType: "uint256[]";
|
|
113
|
-
readonly name: "";
|
|
114
|
-
readonly type: "uint256[]";
|
|
115
|
-
}];
|
|
116
|
-
readonly stateMutability: "view";
|
|
117
|
-
readonly type: "function";
|
|
118
|
-
}, {
|
|
119
|
-
readonly inputs: readonly [{
|
|
120
|
-
readonly internalType: "uint256";
|
|
121
|
-
readonly name: "_id";
|
|
122
|
-
readonly type: "uint256";
|
|
123
|
-
}];
|
|
124
|
-
readonly name: "getIDBinIndex";
|
|
125
|
-
readonly outputs: readonly [{
|
|
126
|
-
readonly internalType: "uint256";
|
|
127
|
-
readonly name: "bin";
|
|
128
|
-
readonly type: "uint256";
|
|
129
|
-
}, {
|
|
130
|
-
readonly internalType: "uint256";
|
|
131
|
-
readonly name: "index";
|
|
132
|
-
readonly type: "uint256";
|
|
133
|
-
}];
|
|
134
|
-
readonly stateMutability: "pure";
|
|
135
|
-
readonly type: "function";
|
|
136
|
-
}, {
|
|
137
|
-
readonly inputs: readonly [{
|
|
138
|
-
readonly internalType: "uint256";
|
|
139
|
-
readonly name: "_binValues";
|
|
140
|
-
readonly type: "uint256";
|
|
141
|
-
}, {
|
|
142
|
-
readonly internalType: "uint256";
|
|
143
|
-
readonly name: "_index";
|
|
144
|
-
readonly type: "uint256";
|
|
145
|
-
}];
|
|
146
|
-
readonly name: "getValueInBin";
|
|
147
|
-
readonly outputs: readonly [{
|
|
148
|
-
readonly internalType: "uint256";
|
|
149
|
-
readonly name: "";
|
|
150
|
-
readonly type: "uint256";
|
|
151
|
-
}];
|
|
152
|
-
readonly stateMutability: "pure";
|
|
153
|
-
readonly type: "function";
|
|
154
|
-
}, {
|
|
155
|
-
readonly inputs: readonly [{
|
|
156
|
-
readonly internalType: "address";
|
|
157
|
-
readonly name: "_owner";
|
|
158
|
-
readonly type: "address";
|
|
159
|
-
}, {
|
|
160
|
-
readonly internalType: "address";
|
|
161
|
-
readonly name: "_operator";
|
|
162
|
-
readonly type: "address";
|
|
163
|
-
}];
|
|
164
|
-
readonly name: "isApprovedForAll";
|
|
165
|
-
readonly outputs: readonly [{
|
|
166
|
-
readonly internalType: "bool";
|
|
167
|
-
readonly name: "isOperator";
|
|
168
|
-
readonly type: "bool";
|
|
169
|
-
}];
|
|
170
|
-
readonly stateMutability: "view";
|
|
171
|
-
readonly type: "function";
|
|
172
|
-
}, {
|
|
173
|
-
readonly inputs: readonly [{
|
|
174
|
-
readonly internalType: "address";
|
|
175
|
-
readonly name: "_from";
|
|
176
|
-
readonly type: "address";
|
|
177
|
-
}, {
|
|
178
|
-
readonly internalType: "address";
|
|
179
|
-
readonly name: "_to";
|
|
180
|
-
readonly type: "address";
|
|
181
|
-
}, {
|
|
182
|
-
readonly internalType: "uint256[]";
|
|
183
|
-
readonly name: "_ids";
|
|
184
|
-
readonly type: "uint256[]";
|
|
185
|
-
}, {
|
|
186
|
-
readonly internalType: "uint256[]";
|
|
187
|
-
readonly name: "_amounts";
|
|
188
|
-
readonly type: "uint256[]";
|
|
189
|
-
}, {
|
|
190
|
-
readonly internalType: "bytes";
|
|
191
|
-
readonly name: "_data";
|
|
192
|
-
readonly type: "bytes";
|
|
193
|
-
}];
|
|
194
|
-
readonly name: "safeBatchTransferFrom";
|
|
195
|
-
readonly outputs: readonly [];
|
|
196
|
-
readonly stateMutability: "nonpayable";
|
|
197
|
-
readonly type: "function";
|
|
198
|
-
}, {
|
|
199
|
-
readonly inputs: readonly [{
|
|
200
|
-
readonly internalType: "address";
|
|
201
|
-
readonly name: "_from";
|
|
202
|
-
readonly type: "address";
|
|
203
|
-
}, {
|
|
204
|
-
readonly internalType: "address";
|
|
205
|
-
readonly name: "_to";
|
|
206
|
-
readonly type: "address";
|
|
207
|
-
}, {
|
|
208
|
-
readonly internalType: "uint256";
|
|
209
|
-
readonly name: "_id";
|
|
210
|
-
readonly type: "uint256";
|
|
211
|
-
}, {
|
|
212
|
-
readonly internalType: "uint256";
|
|
213
|
-
readonly name: "_amount";
|
|
214
|
-
readonly type: "uint256";
|
|
215
|
-
}, {
|
|
216
|
-
readonly internalType: "bytes";
|
|
217
|
-
readonly name: "_data";
|
|
218
|
-
readonly type: "bytes";
|
|
219
|
-
}];
|
|
220
|
-
readonly name: "safeTransferFrom";
|
|
221
|
-
readonly outputs: readonly [];
|
|
222
|
-
readonly stateMutability: "nonpayable";
|
|
223
|
-
readonly type: "function";
|
|
224
|
-
}, {
|
|
225
|
-
readonly inputs: readonly [{
|
|
226
|
-
readonly internalType: "address";
|
|
227
|
-
readonly name: "_operator";
|
|
228
|
-
readonly type: "address";
|
|
229
|
-
}, {
|
|
230
|
-
readonly internalType: "bool";
|
|
231
|
-
readonly name: "_approved";
|
|
232
|
-
readonly type: "bool";
|
|
233
|
-
}];
|
|
234
|
-
readonly name: "setApprovalForAll";
|
|
235
|
-
readonly outputs: readonly [];
|
|
236
|
-
readonly stateMutability: "nonpayable";
|
|
237
|
-
readonly type: "function";
|
|
238
|
-
}, {
|
|
239
|
-
readonly inputs: readonly [{
|
|
240
|
-
readonly internalType: "bytes4";
|
|
241
|
-
readonly name: "_interfaceID";
|
|
242
|
-
readonly type: "bytes4";
|
|
243
|
-
}];
|
|
244
|
-
readonly name: "supportsInterface";
|
|
245
|
-
readonly outputs: readonly [{
|
|
246
|
-
readonly internalType: "bool";
|
|
247
|
-
readonly name: "";
|
|
248
|
-
readonly type: "bool";
|
|
249
|
-
}];
|
|
250
|
-
readonly stateMutability: "pure";
|
|
251
|
-
readonly type: "function";
|
|
252
|
-
}];
|
|
253
|
-
//#endregion
|
|
254
1
|
//#region src/utils/abi/token/ERC20.d.ts
|
|
255
2
|
declare const ERC20_ABI: readonly [{
|
|
256
3
|
readonly anonymous: false;
|
|
@@ -1125,5 +872,932 @@ declare const ERC721_ABI: readonly [{
|
|
|
1125
872
|
readonly type: "function";
|
|
1126
873
|
}];
|
|
1127
874
|
//#endregion
|
|
1128
|
-
|
|
1129
|
-
|
|
875
|
+
//#region src/utils/abi/token/ERC1155.d.ts
|
|
876
|
+
declare const ERC1155_ABI: readonly [{
|
|
877
|
+
readonly anonymous: false;
|
|
878
|
+
readonly inputs: readonly [{
|
|
879
|
+
readonly indexed: true;
|
|
880
|
+
readonly internalType: "address";
|
|
881
|
+
readonly name: "_owner";
|
|
882
|
+
readonly type: "address";
|
|
883
|
+
}, {
|
|
884
|
+
readonly indexed: true;
|
|
885
|
+
readonly internalType: "address";
|
|
886
|
+
readonly name: "_operator";
|
|
887
|
+
readonly type: "address";
|
|
888
|
+
}, {
|
|
889
|
+
readonly indexed: false;
|
|
890
|
+
readonly internalType: "bool";
|
|
891
|
+
readonly name: "_approved";
|
|
892
|
+
readonly type: "bool";
|
|
893
|
+
}];
|
|
894
|
+
readonly name: "ApprovalForAll";
|
|
895
|
+
readonly type: "event";
|
|
896
|
+
}, {
|
|
897
|
+
readonly anonymous: false;
|
|
898
|
+
readonly inputs: readonly [{
|
|
899
|
+
readonly indexed: true;
|
|
900
|
+
readonly internalType: "address";
|
|
901
|
+
readonly name: "_operator";
|
|
902
|
+
readonly type: "address";
|
|
903
|
+
}, {
|
|
904
|
+
readonly indexed: true;
|
|
905
|
+
readonly internalType: "address";
|
|
906
|
+
readonly name: "_from";
|
|
907
|
+
readonly type: "address";
|
|
908
|
+
}, {
|
|
909
|
+
readonly indexed: true;
|
|
910
|
+
readonly internalType: "address";
|
|
911
|
+
readonly name: "_to";
|
|
912
|
+
readonly type: "address";
|
|
913
|
+
}, {
|
|
914
|
+
readonly indexed: false;
|
|
915
|
+
readonly internalType: "uint256[]";
|
|
916
|
+
readonly name: "_ids";
|
|
917
|
+
readonly type: "uint256[]";
|
|
918
|
+
}, {
|
|
919
|
+
readonly indexed: false;
|
|
920
|
+
readonly internalType: "uint256[]";
|
|
921
|
+
readonly name: "_amounts";
|
|
922
|
+
readonly type: "uint256[]";
|
|
923
|
+
}];
|
|
924
|
+
readonly name: "TransferBatch";
|
|
925
|
+
readonly type: "event";
|
|
926
|
+
}, {
|
|
927
|
+
readonly anonymous: false;
|
|
928
|
+
readonly inputs: readonly [{
|
|
929
|
+
readonly indexed: true;
|
|
930
|
+
readonly internalType: "address";
|
|
931
|
+
readonly name: "_operator";
|
|
932
|
+
readonly type: "address";
|
|
933
|
+
}, {
|
|
934
|
+
readonly indexed: true;
|
|
935
|
+
readonly internalType: "address";
|
|
936
|
+
readonly name: "_from";
|
|
937
|
+
readonly type: "address";
|
|
938
|
+
}, {
|
|
939
|
+
readonly indexed: true;
|
|
940
|
+
readonly internalType: "address";
|
|
941
|
+
readonly name: "_to";
|
|
942
|
+
readonly type: "address";
|
|
943
|
+
}, {
|
|
944
|
+
readonly indexed: false;
|
|
945
|
+
readonly internalType: "uint256";
|
|
946
|
+
readonly name: "_id";
|
|
947
|
+
readonly type: "uint256";
|
|
948
|
+
}, {
|
|
949
|
+
readonly indexed: false;
|
|
950
|
+
readonly internalType: "uint256";
|
|
951
|
+
readonly name: "_amount";
|
|
952
|
+
readonly type: "uint256";
|
|
953
|
+
}];
|
|
954
|
+
readonly name: "TransferSingle";
|
|
955
|
+
readonly type: "event";
|
|
956
|
+
}, {
|
|
957
|
+
readonly inputs: readonly [{
|
|
958
|
+
readonly internalType: "address";
|
|
959
|
+
readonly name: "_owner";
|
|
960
|
+
readonly type: "address";
|
|
961
|
+
}, {
|
|
962
|
+
readonly internalType: "uint256";
|
|
963
|
+
readonly name: "_id";
|
|
964
|
+
readonly type: "uint256";
|
|
965
|
+
}];
|
|
966
|
+
readonly name: "balanceOf";
|
|
967
|
+
readonly outputs: readonly [{
|
|
968
|
+
readonly internalType: "uint256";
|
|
969
|
+
readonly name: "";
|
|
970
|
+
readonly type: "uint256";
|
|
971
|
+
}];
|
|
972
|
+
readonly stateMutability: "view";
|
|
973
|
+
readonly type: "function";
|
|
974
|
+
}, {
|
|
975
|
+
readonly inputs: readonly [{
|
|
976
|
+
readonly internalType: "address[]";
|
|
977
|
+
readonly name: "_owners";
|
|
978
|
+
readonly type: "address[]";
|
|
979
|
+
}, {
|
|
980
|
+
readonly internalType: "uint256[]";
|
|
981
|
+
readonly name: "_ids";
|
|
982
|
+
readonly type: "uint256[]";
|
|
983
|
+
}];
|
|
984
|
+
readonly name: "balanceOfBatch";
|
|
985
|
+
readonly outputs: readonly [{
|
|
986
|
+
readonly internalType: "uint256[]";
|
|
987
|
+
readonly name: "";
|
|
988
|
+
readonly type: "uint256[]";
|
|
989
|
+
}];
|
|
990
|
+
readonly stateMutability: "view";
|
|
991
|
+
readonly type: "function";
|
|
992
|
+
}, {
|
|
993
|
+
readonly inputs: readonly [{
|
|
994
|
+
readonly internalType: "uint256";
|
|
995
|
+
readonly name: "_id";
|
|
996
|
+
readonly type: "uint256";
|
|
997
|
+
}];
|
|
998
|
+
readonly name: "getIDBinIndex";
|
|
999
|
+
readonly outputs: readonly [{
|
|
1000
|
+
readonly internalType: "uint256";
|
|
1001
|
+
readonly name: "bin";
|
|
1002
|
+
readonly type: "uint256";
|
|
1003
|
+
}, {
|
|
1004
|
+
readonly internalType: "uint256";
|
|
1005
|
+
readonly name: "index";
|
|
1006
|
+
readonly type: "uint256";
|
|
1007
|
+
}];
|
|
1008
|
+
readonly stateMutability: "pure";
|
|
1009
|
+
readonly type: "function";
|
|
1010
|
+
}, {
|
|
1011
|
+
readonly inputs: readonly [{
|
|
1012
|
+
readonly internalType: "uint256";
|
|
1013
|
+
readonly name: "_binValues";
|
|
1014
|
+
readonly type: "uint256";
|
|
1015
|
+
}, {
|
|
1016
|
+
readonly internalType: "uint256";
|
|
1017
|
+
readonly name: "_index";
|
|
1018
|
+
readonly type: "uint256";
|
|
1019
|
+
}];
|
|
1020
|
+
readonly name: "getValueInBin";
|
|
1021
|
+
readonly outputs: readonly [{
|
|
1022
|
+
readonly internalType: "uint256";
|
|
1023
|
+
readonly name: "";
|
|
1024
|
+
readonly type: "uint256";
|
|
1025
|
+
}];
|
|
1026
|
+
readonly stateMutability: "pure";
|
|
1027
|
+
readonly type: "function";
|
|
1028
|
+
}, {
|
|
1029
|
+
readonly inputs: readonly [{
|
|
1030
|
+
readonly internalType: "address";
|
|
1031
|
+
readonly name: "_owner";
|
|
1032
|
+
readonly type: "address";
|
|
1033
|
+
}, {
|
|
1034
|
+
readonly internalType: "address";
|
|
1035
|
+
readonly name: "_operator";
|
|
1036
|
+
readonly type: "address";
|
|
1037
|
+
}];
|
|
1038
|
+
readonly name: "isApprovedForAll";
|
|
1039
|
+
readonly outputs: readonly [{
|
|
1040
|
+
readonly internalType: "bool";
|
|
1041
|
+
readonly name: "isOperator";
|
|
1042
|
+
readonly type: "bool";
|
|
1043
|
+
}];
|
|
1044
|
+
readonly stateMutability: "view";
|
|
1045
|
+
readonly type: "function";
|
|
1046
|
+
}, {
|
|
1047
|
+
readonly inputs: readonly [{
|
|
1048
|
+
readonly internalType: "address";
|
|
1049
|
+
readonly name: "_from";
|
|
1050
|
+
readonly type: "address";
|
|
1051
|
+
}, {
|
|
1052
|
+
readonly internalType: "address";
|
|
1053
|
+
readonly name: "_to";
|
|
1054
|
+
readonly type: "address";
|
|
1055
|
+
}, {
|
|
1056
|
+
readonly internalType: "uint256[]";
|
|
1057
|
+
readonly name: "_ids";
|
|
1058
|
+
readonly type: "uint256[]";
|
|
1059
|
+
}, {
|
|
1060
|
+
readonly internalType: "uint256[]";
|
|
1061
|
+
readonly name: "_amounts";
|
|
1062
|
+
readonly type: "uint256[]";
|
|
1063
|
+
}, {
|
|
1064
|
+
readonly internalType: "bytes";
|
|
1065
|
+
readonly name: "_data";
|
|
1066
|
+
readonly type: "bytes";
|
|
1067
|
+
}];
|
|
1068
|
+
readonly name: "safeBatchTransferFrom";
|
|
1069
|
+
readonly outputs: readonly [];
|
|
1070
|
+
readonly stateMutability: "nonpayable";
|
|
1071
|
+
readonly type: "function";
|
|
1072
|
+
}, {
|
|
1073
|
+
readonly inputs: readonly [{
|
|
1074
|
+
readonly internalType: "address";
|
|
1075
|
+
readonly name: "_from";
|
|
1076
|
+
readonly type: "address";
|
|
1077
|
+
}, {
|
|
1078
|
+
readonly internalType: "address";
|
|
1079
|
+
readonly name: "_to";
|
|
1080
|
+
readonly type: "address";
|
|
1081
|
+
}, {
|
|
1082
|
+
readonly internalType: "uint256";
|
|
1083
|
+
readonly name: "_id";
|
|
1084
|
+
readonly type: "uint256";
|
|
1085
|
+
}, {
|
|
1086
|
+
readonly internalType: "uint256";
|
|
1087
|
+
readonly name: "_amount";
|
|
1088
|
+
readonly type: "uint256";
|
|
1089
|
+
}, {
|
|
1090
|
+
readonly internalType: "bytes";
|
|
1091
|
+
readonly name: "_data";
|
|
1092
|
+
readonly type: "bytes";
|
|
1093
|
+
}];
|
|
1094
|
+
readonly name: "safeTransferFrom";
|
|
1095
|
+
readonly outputs: readonly [];
|
|
1096
|
+
readonly stateMutability: "nonpayable";
|
|
1097
|
+
readonly type: "function";
|
|
1098
|
+
}, {
|
|
1099
|
+
readonly inputs: readonly [{
|
|
1100
|
+
readonly internalType: "address";
|
|
1101
|
+
readonly name: "_operator";
|
|
1102
|
+
readonly type: "address";
|
|
1103
|
+
}, {
|
|
1104
|
+
readonly internalType: "bool";
|
|
1105
|
+
readonly name: "_approved";
|
|
1106
|
+
readonly type: "bool";
|
|
1107
|
+
}];
|
|
1108
|
+
readonly name: "setApprovalForAll";
|
|
1109
|
+
readonly outputs: readonly [];
|
|
1110
|
+
readonly stateMutability: "nonpayable";
|
|
1111
|
+
readonly type: "function";
|
|
1112
|
+
}, {
|
|
1113
|
+
readonly inputs: readonly [{
|
|
1114
|
+
readonly internalType: "bytes4";
|
|
1115
|
+
readonly name: "_interfaceID";
|
|
1116
|
+
readonly type: "bytes4";
|
|
1117
|
+
}];
|
|
1118
|
+
readonly name: "supportsInterface";
|
|
1119
|
+
readonly outputs: readonly [{
|
|
1120
|
+
readonly internalType: "bool";
|
|
1121
|
+
readonly name: "";
|
|
1122
|
+
readonly type: "bool";
|
|
1123
|
+
}];
|
|
1124
|
+
readonly stateMutability: "pure";
|
|
1125
|
+
readonly type: "function";
|
|
1126
|
+
}];
|
|
1127
|
+
//#endregion
|
|
1128
|
+
//#region src/utils/abi/token/sequence-erc1155-items.d.ts
|
|
1129
|
+
declare const SEQUENCE_1155_ITEMS_ABI: readonly [{
|
|
1130
|
+
readonly type: "constructor";
|
|
1131
|
+
readonly inputs: readonly [];
|
|
1132
|
+
readonly stateMutability: "nonpayable";
|
|
1133
|
+
}, {
|
|
1134
|
+
readonly type: "function";
|
|
1135
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
1136
|
+
readonly inputs: readonly [];
|
|
1137
|
+
readonly outputs: readonly [{
|
|
1138
|
+
readonly name: "";
|
|
1139
|
+
readonly type: "bytes32";
|
|
1140
|
+
readonly internalType: "bytes32";
|
|
1141
|
+
}];
|
|
1142
|
+
readonly stateMutability: "view";
|
|
1143
|
+
}, {
|
|
1144
|
+
readonly type: "function";
|
|
1145
|
+
readonly name: "balanceOf";
|
|
1146
|
+
readonly inputs: readonly [{
|
|
1147
|
+
readonly name: "_owner";
|
|
1148
|
+
readonly type: "address";
|
|
1149
|
+
readonly internalType: "address";
|
|
1150
|
+
}, {
|
|
1151
|
+
readonly name: "_id";
|
|
1152
|
+
readonly type: "uint256";
|
|
1153
|
+
readonly internalType: "uint256";
|
|
1154
|
+
}];
|
|
1155
|
+
readonly outputs: readonly [{
|
|
1156
|
+
readonly name: "";
|
|
1157
|
+
readonly type: "uint256";
|
|
1158
|
+
readonly internalType: "uint256";
|
|
1159
|
+
}];
|
|
1160
|
+
readonly stateMutability: "view";
|
|
1161
|
+
}, {
|
|
1162
|
+
readonly type: "function";
|
|
1163
|
+
readonly name: "balanceOfBatch";
|
|
1164
|
+
readonly inputs: readonly [{
|
|
1165
|
+
readonly name: "_owners";
|
|
1166
|
+
readonly type: "address[]";
|
|
1167
|
+
readonly internalType: "address[]";
|
|
1168
|
+
}, {
|
|
1169
|
+
readonly name: "_ids";
|
|
1170
|
+
readonly type: "uint256[]";
|
|
1171
|
+
readonly internalType: "uint256[]";
|
|
1172
|
+
}];
|
|
1173
|
+
readonly outputs: readonly [{
|
|
1174
|
+
readonly name: "";
|
|
1175
|
+
readonly type: "uint256[]";
|
|
1176
|
+
readonly internalType: "uint256[]";
|
|
1177
|
+
}];
|
|
1178
|
+
readonly stateMutability: "view";
|
|
1179
|
+
}, {
|
|
1180
|
+
readonly type: "function";
|
|
1181
|
+
readonly name: "baseURI";
|
|
1182
|
+
readonly inputs: readonly [];
|
|
1183
|
+
readonly outputs: readonly [{
|
|
1184
|
+
readonly name: "";
|
|
1185
|
+
readonly type: "string";
|
|
1186
|
+
readonly internalType: "string";
|
|
1187
|
+
}];
|
|
1188
|
+
readonly stateMutability: "view";
|
|
1189
|
+
}, {
|
|
1190
|
+
readonly type: "function";
|
|
1191
|
+
readonly name: "batchBurn";
|
|
1192
|
+
readonly inputs: readonly [{
|
|
1193
|
+
readonly name: "tokenIds";
|
|
1194
|
+
readonly type: "uint256[]";
|
|
1195
|
+
readonly internalType: "uint256[]";
|
|
1196
|
+
}, {
|
|
1197
|
+
readonly name: "amounts";
|
|
1198
|
+
readonly type: "uint256[]";
|
|
1199
|
+
readonly internalType: "uint256[]";
|
|
1200
|
+
}];
|
|
1201
|
+
readonly outputs: readonly [];
|
|
1202
|
+
readonly stateMutability: "nonpayable";
|
|
1203
|
+
}, {
|
|
1204
|
+
readonly type: "function";
|
|
1205
|
+
readonly name: "batchMint";
|
|
1206
|
+
readonly inputs: readonly [{
|
|
1207
|
+
readonly name: "to";
|
|
1208
|
+
readonly type: "address";
|
|
1209
|
+
readonly internalType: "address";
|
|
1210
|
+
}, {
|
|
1211
|
+
readonly name: "tokenIds";
|
|
1212
|
+
readonly type: "uint256[]";
|
|
1213
|
+
readonly internalType: "uint256[]";
|
|
1214
|
+
}, {
|
|
1215
|
+
readonly name: "amounts";
|
|
1216
|
+
readonly type: "uint256[]";
|
|
1217
|
+
readonly internalType: "uint256[]";
|
|
1218
|
+
}, {
|
|
1219
|
+
readonly name: "data";
|
|
1220
|
+
readonly type: "bytes";
|
|
1221
|
+
readonly internalType: "bytes";
|
|
1222
|
+
}];
|
|
1223
|
+
readonly outputs: readonly [];
|
|
1224
|
+
readonly stateMutability: "nonpayable";
|
|
1225
|
+
}, {
|
|
1226
|
+
readonly type: "function";
|
|
1227
|
+
readonly name: "burn";
|
|
1228
|
+
readonly inputs: readonly [{
|
|
1229
|
+
readonly name: "tokenId";
|
|
1230
|
+
readonly type: "uint256";
|
|
1231
|
+
readonly internalType: "uint256";
|
|
1232
|
+
}, {
|
|
1233
|
+
readonly name: "amount";
|
|
1234
|
+
readonly type: "uint256";
|
|
1235
|
+
readonly internalType: "uint256";
|
|
1236
|
+
}];
|
|
1237
|
+
readonly outputs: readonly [];
|
|
1238
|
+
readonly stateMutability: "nonpayable";
|
|
1239
|
+
}, {
|
|
1240
|
+
readonly type: "function";
|
|
1241
|
+
readonly name: "contractURI";
|
|
1242
|
+
readonly inputs: readonly [];
|
|
1243
|
+
readonly outputs: readonly [{
|
|
1244
|
+
readonly name: "";
|
|
1245
|
+
readonly type: "string";
|
|
1246
|
+
readonly internalType: "string";
|
|
1247
|
+
}];
|
|
1248
|
+
readonly stateMutability: "view";
|
|
1249
|
+
}, {
|
|
1250
|
+
readonly type: "function";
|
|
1251
|
+
readonly name: "getRoleAdmin";
|
|
1252
|
+
readonly inputs: readonly [{
|
|
1253
|
+
readonly name: "role";
|
|
1254
|
+
readonly type: "bytes32";
|
|
1255
|
+
readonly internalType: "bytes32";
|
|
1256
|
+
}];
|
|
1257
|
+
readonly outputs: readonly [{
|
|
1258
|
+
readonly name: "";
|
|
1259
|
+
readonly type: "bytes32";
|
|
1260
|
+
readonly internalType: "bytes32";
|
|
1261
|
+
}];
|
|
1262
|
+
readonly stateMutability: "view";
|
|
1263
|
+
}, {
|
|
1264
|
+
readonly type: "function";
|
|
1265
|
+
readonly name: "getRoleMember";
|
|
1266
|
+
readonly inputs: readonly [{
|
|
1267
|
+
readonly name: "role";
|
|
1268
|
+
readonly type: "bytes32";
|
|
1269
|
+
readonly internalType: "bytes32";
|
|
1270
|
+
}, {
|
|
1271
|
+
readonly name: "index";
|
|
1272
|
+
readonly type: "uint256";
|
|
1273
|
+
readonly internalType: "uint256";
|
|
1274
|
+
}];
|
|
1275
|
+
readonly outputs: readonly [{
|
|
1276
|
+
readonly name: "";
|
|
1277
|
+
readonly type: "address";
|
|
1278
|
+
readonly internalType: "address";
|
|
1279
|
+
}];
|
|
1280
|
+
readonly stateMutability: "view";
|
|
1281
|
+
}, {
|
|
1282
|
+
readonly type: "function";
|
|
1283
|
+
readonly name: "getRoleMemberCount";
|
|
1284
|
+
readonly inputs: readonly [{
|
|
1285
|
+
readonly name: "role";
|
|
1286
|
+
readonly type: "bytes32";
|
|
1287
|
+
readonly internalType: "bytes32";
|
|
1288
|
+
}];
|
|
1289
|
+
readonly outputs: readonly [{
|
|
1290
|
+
readonly name: "";
|
|
1291
|
+
readonly type: "uint256";
|
|
1292
|
+
readonly internalType: "uint256";
|
|
1293
|
+
}];
|
|
1294
|
+
readonly stateMutability: "view";
|
|
1295
|
+
}, {
|
|
1296
|
+
readonly type: "function";
|
|
1297
|
+
readonly name: "grantRole";
|
|
1298
|
+
readonly inputs: readonly [{
|
|
1299
|
+
readonly name: "role";
|
|
1300
|
+
readonly type: "bytes32";
|
|
1301
|
+
readonly internalType: "bytes32";
|
|
1302
|
+
}, {
|
|
1303
|
+
readonly name: "account";
|
|
1304
|
+
readonly type: "address";
|
|
1305
|
+
readonly internalType: "address";
|
|
1306
|
+
}];
|
|
1307
|
+
readonly outputs: readonly [];
|
|
1308
|
+
readonly stateMutability: "nonpayable";
|
|
1309
|
+
}, {
|
|
1310
|
+
readonly type: "function";
|
|
1311
|
+
readonly name: "hasRole";
|
|
1312
|
+
readonly inputs: readonly [{
|
|
1313
|
+
readonly name: "role";
|
|
1314
|
+
readonly type: "bytes32";
|
|
1315
|
+
readonly internalType: "bytes32";
|
|
1316
|
+
}, {
|
|
1317
|
+
readonly name: "account";
|
|
1318
|
+
readonly type: "address";
|
|
1319
|
+
readonly internalType: "address";
|
|
1320
|
+
}];
|
|
1321
|
+
readonly outputs: readonly [{
|
|
1322
|
+
readonly name: "";
|
|
1323
|
+
readonly type: "bool";
|
|
1324
|
+
readonly internalType: "bool";
|
|
1325
|
+
}];
|
|
1326
|
+
readonly stateMutability: "view";
|
|
1327
|
+
}, {
|
|
1328
|
+
readonly type: "function";
|
|
1329
|
+
readonly name: "initialize";
|
|
1330
|
+
readonly inputs: readonly [{
|
|
1331
|
+
readonly name: "owner";
|
|
1332
|
+
readonly type: "address";
|
|
1333
|
+
readonly internalType: "address";
|
|
1334
|
+
}, {
|
|
1335
|
+
readonly name: "tokenName";
|
|
1336
|
+
readonly type: "string";
|
|
1337
|
+
readonly internalType: "string";
|
|
1338
|
+
}, {
|
|
1339
|
+
readonly name: "tokenBaseURI";
|
|
1340
|
+
readonly type: "string";
|
|
1341
|
+
readonly internalType: "string";
|
|
1342
|
+
}, {
|
|
1343
|
+
readonly name: "tokenContractURI";
|
|
1344
|
+
readonly type: "string";
|
|
1345
|
+
readonly internalType: "string";
|
|
1346
|
+
}, {
|
|
1347
|
+
readonly name: "royaltyReceiver";
|
|
1348
|
+
readonly type: "address";
|
|
1349
|
+
readonly internalType: "address";
|
|
1350
|
+
}, {
|
|
1351
|
+
readonly name: "royaltyFeeNumerator";
|
|
1352
|
+
readonly type: "uint96";
|
|
1353
|
+
readonly internalType: "uint96";
|
|
1354
|
+
}];
|
|
1355
|
+
readonly outputs: readonly [];
|
|
1356
|
+
readonly stateMutability: "nonpayable";
|
|
1357
|
+
}, {
|
|
1358
|
+
readonly type: "function";
|
|
1359
|
+
readonly name: "isApprovedForAll";
|
|
1360
|
+
readonly inputs: readonly [{
|
|
1361
|
+
readonly name: "_owner";
|
|
1362
|
+
readonly type: "address";
|
|
1363
|
+
readonly internalType: "address";
|
|
1364
|
+
}, {
|
|
1365
|
+
readonly name: "_operator";
|
|
1366
|
+
readonly type: "address";
|
|
1367
|
+
readonly internalType: "address";
|
|
1368
|
+
}];
|
|
1369
|
+
readonly outputs: readonly [{
|
|
1370
|
+
readonly name: "isOperator";
|
|
1371
|
+
readonly type: "bool";
|
|
1372
|
+
readonly internalType: "bool";
|
|
1373
|
+
}];
|
|
1374
|
+
readonly stateMutability: "view";
|
|
1375
|
+
}, {
|
|
1376
|
+
readonly type: "function";
|
|
1377
|
+
readonly name: "mint";
|
|
1378
|
+
readonly inputs: readonly [{
|
|
1379
|
+
readonly name: "to";
|
|
1380
|
+
readonly type: "address";
|
|
1381
|
+
readonly internalType: "address";
|
|
1382
|
+
}, {
|
|
1383
|
+
readonly name: "tokenId";
|
|
1384
|
+
readonly type: "uint256";
|
|
1385
|
+
readonly internalType: "uint256";
|
|
1386
|
+
}, {
|
|
1387
|
+
readonly name: "amount";
|
|
1388
|
+
readonly type: "uint256";
|
|
1389
|
+
readonly internalType: "uint256";
|
|
1390
|
+
}, {
|
|
1391
|
+
readonly name: "data";
|
|
1392
|
+
readonly type: "bytes";
|
|
1393
|
+
readonly internalType: "bytes";
|
|
1394
|
+
}];
|
|
1395
|
+
readonly outputs: readonly [];
|
|
1396
|
+
readonly stateMutability: "nonpayable";
|
|
1397
|
+
}, {
|
|
1398
|
+
readonly type: "function";
|
|
1399
|
+
readonly name: "name";
|
|
1400
|
+
readonly inputs: readonly [];
|
|
1401
|
+
readonly outputs: readonly [{
|
|
1402
|
+
readonly name: "";
|
|
1403
|
+
readonly type: "string";
|
|
1404
|
+
readonly internalType: "string";
|
|
1405
|
+
}];
|
|
1406
|
+
readonly stateMutability: "view";
|
|
1407
|
+
}, {
|
|
1408
|
+
readonly type: "function";
|
|
1409
|
+
readonly name: "renounceRole";
|
|
1410
|
+
readonly inputs: readonly [{
|
|
1411
|
+
readonly name: "role";
|
|
1412
|
+
readonly type: "bytes32";
|
|
1413
|
+
readonly internalType: "bytes32";
|
|
1414
|
+
}, {
|
|
1415
|
+
readonly name: "account";
|
|
1416
|
+
readonly type: "address";
|
|
1417
|
+
readonly internalType: "address";
|
|
1418
|
+
}];
|
|
1419
|
+
readonly outputs: readonly [];
|
|
1420
|
+
readonly stateMutability: "nonpayable";
|
|
1421
|
+
}, {
|
|
1422
|
+
readonly type: "function";
|
|
1423
|
+
readonly name: "revokeRole";
|
|
1424
|
+
readonly inputs: readonly [{
|
|
1425
|
+
readonly name: "role";
|
|
1426
|
+
readonly type: "bytes32";
|
|
1427
|
+
readonly internalType: "bytes32";
|
|
1428
|
+
}, {
|
|
1429
|
+
readonly name: "account";
|
|
1430
|
+
readonly type: "address";
|
|
1431
|
+
readonly internalType: "address";
|
|
1432
|
+
}];
|
|
1433
|
+
readonly outputs: readonly [];
|
|
1434
|
+
readonly stateMutability: "nonpayable";
|
|
1435
|
+
}, {
|
|
1436
|
+
readonly type: "function";
|
|
1437
|
+
readonly name: "royaltyInfo";
|
|
1438
|
+
readonly inputs: readonly [{
|
|
1439
|
+
readonly name: "tokenId";
|
|
1440
|
+
readonly type: "uint256";
|
|
1441
|
+
readonly internalType: "uint256";
|
|
1442
|
+
}, {
|
|
1443
|
+
readonly name: "salePrice";
|
|
1444
|
+
readonly type: "uint256";
|
|
1445
|
+
readonly internalType: "uint256";
|
|
1446
|
+
}];
|
|
1447
|
+
readonly outputs: readonly [{
|
|
1448
|
+
readonly name: "";
|
|
1449
|
+
readonly type: "address";
|
|
1450
|
+
readonly internalType: "address";
|
|
1451
|
+
}, {
|
|
1452
|
+
readonly name: "";
|
|
1453
|
+
readonly type: "uint256";
|
|
1454
|
+
readonly internalType: "uint256";
|
|
1455
|
+
}];
|
|
1456
|
+
readonly stateMutability: "view";
|
|
1457
|
+
}, {
|
|
1458
|
+
readonly type: "function";
|
|
1459
|
+
readonly name: "safeBatchTransferFrom";
|
|
1460
|
+
readonly inputs: readonly [{
|
|
1461
|
+
readonly name: "_from";
|
|
1462
|
+
readonly type: "address";
|
|
1463
|
+
readonly internalType: "address";
|
|
1464
|
+
}, {
|
|
1465
|
+
readonly name: "_to";
|
|
1466
|
+
readonly type: "address";
|
|
1467
|
+
readonly internalType: "address";
|
|
1468
|
+
}, {
|
|
1469
|
+
readonly name: "_ids";
|
|
1470
|
+
readonly type: "uint256[]";
|
|
1471
|
+
readonly internalType: "uint256[]";
|
|
1472
|
+
}, {
|
|
1473
|
+
readonly name: "_amounts";
|
|
1474
|
+
readonly type: "uint256[]";
|
|
1475
|
+
readonly internalType: "uint256[]";
|
|
1476
|
+
}, {
|
|
1477
|
+
readonly name: "_data";
|
|
1478
|
+
readonly type: "bytes";
|
|
1479
|
+
readonly internalType: "bytes";
|
|
1480
|
+
}];
|
|
1481
|
+
readonly outputs: readonly [];
|
|
1482
|
+
readonly stateMutability: "nonpayable";
|
|
1483
|
+
}, {
|
|
1484
|
+
readonly type: "function";
|
|
1485
|
+
readonly name: "safeTransferFrom";
|
|
1486
|
+
readonly inputs: readonly [{
|
|
1487
|
+
readonly name: "_from";
|
|
1488
|
+
readonly type: "address";
|
|
1489
|
+
readonly internalType: "address";
|
|
1490
|
+
}, {
|
|
1491
|
+
readonly name: "_to";
|
|
1492
|
+
readonly type: "address";
|
|
1493
|
+
readonly internalType: "address";
|
|
1494
|
+
}, {
|
|
1495
|
+
readonly name: "_id";
|
|
1496
|
+
readonly type: "uint256";
|
|
1497
|
+
readonly internalType: "uint256";
|
|
1498
|
+
}, {
|
|
1499
|
+
readonly name: "_amount";
|
|
1500
|
+
readonly type: "uint256";
|
|
1501
|
+
readonly internalType: "uint256";
|
|
1502
|
+
}, {
|
|
1503
|
+
readonly name: "_data";
|
|
1504
|
+
readonly type: "bytes";
|
|
1505
|
+
readonly internalType: "bytes";
|
|
1506
|
+
}];
|
|
1507
|
+
readonly outputs: readonly [];
|
|
1508
|
+
readonly stateMutability: "nonpayable";
|
|
1509
|
+
}, {
|
|
1510
|
+
readonly type: "function";
|
|
1511
|
+
readonly name: "setApprovalForAll";
|
|
1512
|
+
readonly inputs: readonly [{
|
|
1513
|
+
readonly name: "_operator";
|
|
1514
|
+
readonly type: "address";
|
|
1515
|
+
readonly internalType: "address";
|
|
1516
|
+
}, {
|
|
1517
|
+
readonly name: "_approved";
|
|
1518
|
+
readonly type: "bool";
|
|
1519
|
+
readonly internalType: "bool";
|
|
1520
|
+
}];
|
|
1521
|
+
readonly outputs: readonly [];
|
|
1522
|
+
readonly stateMutability: "nonpayable";
|
|
1523
|
+
}, {
|
|
1524
|
+
readonly type: "function";
|
|
1525
|
+
readonly name: "setBaseMetadataURI";
|
|
1526
|
+
readonly inputs: readonly [{
|
|
1527
|
+
readonly name: "tokenBaseURI";
|
|
1528
|
+
readonly type: "string";
|
|
1529
|
+
readonly internalType: "string";
|
|
1530
|
+
}];
|
|
1531
|
+
readonly outputs: readonly [];
|
|
1532
|
+
readonly stateMutability: "nonpayable";
|
|
1533
|
+
}, {
|
|
1534
|
+
readonly type: "function";
|
|
1535
|
+
readonly name: "setContractName";
|
|
1536
|
+
readonly inputs: readonly [{
|
|
1537
|
+
readonly name: "tokenName";
|
|
1538
|
+
readonly type: "string";
|
|
1539
|
+
readonly internalType: "string";
|
|
1540
|
+
}];
|
|
1541
|
+
readonly outputs: readonly [];
|
|
1542
|
+
readonly stateMutability: "nonpayable";
|
|
1543
|
+
}, {
|
|
1544
|
+
readonly type: "function";
|
|
1545
|
+
readonly name: "setContractURI";
|
|
1546
|
+
readonly inputs: readonly [{
|
|
1547
|
+
readonly name: "tokenContractURI";
|
|
1548
|
+
readonly type: "string";
|
|
1549
|
+
readonly internalType: "string";
|
|
1550
|
+
}];
|
|
1551
|
+
readonly outputs: readonly [];
|
|
1552
|
+
readonly stateMutability: "nonpayable";
|
|
1553
|
+
}, {
|
|
1554
|
+
readonly type: "function";
|
|
1555
|
+
readonly name: "setDefaultRoyalty";
|
|
1556
|
+
readonly inputs: readonly [{
|
|
1557
|
+
readonly name: "receiver";
|
|
1558
|
+
readonly type: "address";
|
|
1559
|
+
readonly internalType: "address";
|
|
1560
|
+
}, {
|
|
1561
|
+
readonly name: "feeNumerator";
|
|
1562
|
+
readonly type: "uint96";
|
|
1563
|
+
readonly internalType: "uint96";
|
|
1564
|
+
}];
|
|
1565
|
+
readonly outputs: readonly [];
|
|
1566
|
+
readonly stateMutability: "nonpayable";
|
|
1567
|
+
}, {
|
|
1568
|
+
readonly type: "function";
|
|
1569
|
+
readonly name: "setTokenRoyalty";
|
|
1570
|
+
readonly inputs: readonly [{
|
|
1571
|
+
readonly name: "tokenId";
|
|
1572
|
+
readonly type: "uint256";
|
|
1573
|
+
readonly internalType: "uint256";
|
|
1574
|
+
}, {
|
|
1575
|
+
readonly name: "receiver";
|
|
1576
|
+
readonly type: "address";
|
|
1577
|
+
readonly internalType: "address";
|
|
1578
|
+
}, {
|
|
1579
|
+
readonly name: "feeNumerator";
|
|
1580
|
+
readonly type: "uint96";
|
|
1581
|
+
readonly internalType: "uint96";
|
|
1582
|
+
}];
|
|
1583
|
+
readonly outputs: readonly [];
|
|
1584
|
+
readonly stateMutability: "nonpayable";
|
|
1585
|
+
}, {
|
|
1586
|
+
readonly type: "function";
|
|
1587
|
+
readonly name: "supportsInterface";
|
|
1588
|
+
readonly inputs: readonly [{
|
|
1589
|
+
readonly name: "interfaceId";
|
|
1590
|
+
readonly type: "bytes4";
|
|
1591
|
+
readonly internalType: "bytes4";
|
|
1592
|
+
}];
|
|
1593
|
+
readonly outputs: readonly [{
|
|
1594
|
+
readonly name: "";
|
|
1595
|
+
readonly type: "bool";
|
|
1596
|
+
readonly internalType: "bool";
|
|
1597
|
+
}];
|
|
1598
|
+
readonly stateMutability: "view";
|
|
1599
|
+
}, {
|
|
1600
|
+
readonly type: "function";
|
|
1601
|
+
readonly name: "tokenSupply";
|
|
1602
|
+
readonly inputs: readonly [{
|
|
1603
|
+
readonly name: "";
|
|
1604
|
+
readonly type: "uint256";
|
|
1605
|
+
readonly internalType: "uint256";
|
|
1606
|
+
}];
|
|
1607
|
+
readonly outputs: readonly [{
|
|
1608
|
+
readonly name: "";
|
|
1609
|
+
readonly type: "uint256";
|
|
1610
|
+
readonly internalType: "uint256";
|
|
1611
|
+
}];
|
|
1612
|
+
readonly stateMutability: "view";
|
|
1613
|
+
}, {
|
|
1614
|
+
readonly type: "function";
|
|
1615
|
+
readonly name: "totalSupply";
|
|
1616
|
+
readonly inputs: readonly [];
|
|
1617
|
+
readonly outputs: readonly [{
|
|
1618
|
+
readonly name: "";
|
|
1619
|
+
readonly type: "uint256";
|
|
1620
|
+
readonly internalType: "uint256";
|
|
1621
|
+
}];
|
|
1622
|
+
readonly stateMutability: "view";
|
|
1623
|
+
}, {
|
|
1624
|
+
readonly type: "function";
|
|
1625
|
+
readonly name: "uri";
|
|
1626
|
+
readonly inputs: readonly [{
|
|
1627
|
+
readonly name: "_id";
|
|
1628
|
+
readonly type: "uint256";
|
|
1629
|
+
readonly internalType: "uint256";
|
|
1630
|
+
}];
|
|
1631
|
+
readonly outputs: readonly [{
|
|
1632
|
+
readonly name: "";
|
|
1633
|
+
readonly type: "string";
|
|
1634
|
+
readonly internalType: "string";
|
|
1635
|
+
}];
|
|
1636
|
+
readonly stateMutability: "view";
|
|
1637
|
+
}, {
|
|
1638
|
+
readonly type: "event";
|
|
1639
|
+
readonly name: "ApprovalForAll";
|
|
1640
|
+
readonly inputs: readonly [{
|
|
1641
|
+
readonly name: "_owner";
|
|
1642
|
+
readonly type: "address";
|
|
1643
|
+
readonly indexed: true;
|
|
1644
|
+
readonly internalType: "address";
|
|
1645
|
+
}, {
|
|
1646
|
+
readonly name: "_operator";
|
|
1647
|
+
readonly type: "address";
|
|
1648
|
+
readonly indexed: true;
|
|
1649
|
+
readonly internalType: "address";
|
|
1650
|
+
}, {
|
|
1651
|
+
readonly name: "_approved";
|
|
1652
|
+
readonly type: "bool";
|
|
1653
|
+
readonly indexed: false;
|
|
1654
|
+
readonly internalType: "bool";
|
|
1655
|
+
}];
|
|
1656
|
+
readonly anonymous: false;
|
|
1657
|
+
}, {
|
|
1658
|
+
readonly type: "event";
|
|
1659
|
+
readonly name: "RoleAdminChanged";
|
|
1660
|
+
readonly inputs: readonly [{
|
|
1661
|
+
readonly name: "role";
|
|
1662
|
+
readonly type: "bytes32";
|
|
1663
|
+
readonly indexed: true;
|
|
1664
|
+
readonly internalType: "bytes32";
|
|
1665
|
+
}, {
|
|
1666
|
+
readonly name: "previousAdminRole";
|
|
1667
|
+
readonly type: "bytes32";
|
|
1668
|
+
readonly indexed: true;
|
|
1669
|
+
readonly internalType: "bytes32";
|
|
1670
|
+
}, {
|
|
1671
|
+
readonly name: "newAdminRole";
|
|
1672
|
+
readonly type: "bytes32";
|
|
1673
|
+
readonly indexed: true;
|
|
1674
|
+
readonly internalType: "bytes32";
|
|
1675
|
+
}];
|
|
1676
|
+
readonly anonymous: false;
|
|
1677
|
+
}, {
|
|
1678
|
+
readonly type: "event";
|
|
1679
|
+
readonly name: "RoleGranted";
|
|
1680
|
+
readonly inputs: readonly [{
|
|
1681
|
+
readonly name: "role";
|
|
1682
|
+
readonly type: "bytes32";
|
|
1683
|
+
readonly indexed: true;
|
|
1684
|
+
readonly internalType: "bytes32";
|
|
1685
|
+
}, {
|
|
1686
|
+
readonly name: "account";
|
|
1687
|
+
readonly type: "address";
|
|
1688
|
+
readonly indexed: true;
|
|
1689
|
+
readonly internalType: "address";
|
|
1690
|
+
}, {
|
|
1691
|
+
readonly name: "sender";
|
|
1692
|
+
readonly type: "address";
|
|
1693
|
+
readonly indexed: true;
|
|
1694
|
+
readonly internalType: "address";
|
|
1695
|
+
}];
|
|
1696
|
+
readonly anonymous: false;
|
|
1697
|
+
}, {
|
|
1698
|
+
readonly type: "event";
|
|
1699
|
+
readonly name: "RoleRevoked";
|
|
1700
|
+
readonly inputs: readonly [{
|
|
1701
|
+
readonly name: "role";
|
|
1702
|
+
readonly type: "bytes32";
|
|
1703
|
+
readonly indexed: true;
|
|
1704
|
+
readonly internalType: "bytes32";
|
|
1705
|
+
}, {
|
|
1706
|
+
readonly name: "account";
|
|
1707
|
+
readonly type: "address";
|
|
1708
|
+
readonly indexed: true;
|
|
1709
|
+
readonly internalType: "address";
|
|
1710
|
+
}, {
|
|
1711
|
+
readonly name: "sender";
|
|
1712
|
+
readonly type: "address";
|
|
1713
|
+
readonly indexed: true;
|
|
1714
|
+
readonly internalType: "address";
|
|
1715
|
+
}];
|
|
1716
|
+
readonly anonymous: false;
|
|
1717
|
+
}, {
|
|
1718
|
+
readonly type: "event";
|
|
1719
|
+
readonly name: "TransferBatch";
|
|
1720
|
+
readonly inputs: readonly [{
|
|
1721
|
+
readonly name: "_operator";
|
|
1722
|
+
readonly type: "address";
|
|
1723
|
+
readonly indexed: true;
|
|
1724
|
+
readonly internalType: "address";
|
|
1725
|
+
}, {
|
|
1726
|
+
readonly name: "_from";
|
|
1727
|
+
readonly type: "address";
|
|
1728
|
+
readonly indexed: true;
|
|
1729
|
+
readonly internalType: "address";
|
|
1730
|
+
}, {
|
|
1731
|
+
readonly name: "_to";
|
|
1732
|
+
readonly type: "address";
|
|
1733
|
+
readonly indexed: true;
|
|
1734
|
+
readonly internalType: "address";
|
|
1735
|
+
}, {
|
|
1736
|
+
readonly name: "_ids";
|
|
1737
|
+
readonly type: "uint256[]";
|
|
1738
|
+
readonly indexed: false;
|
|
1739
|
+
readonly internalType: "uint256[]";
|
|
1740
|
+
}, {
|
|
1741
|
+
readonly name: "_amounts";
|
|
1742
|
+
readonly type: "uint256[]";
|
|
1743
|
+
readonly indexed: false;
|
|
1744
|
+
readonly internalType: "uint256[]";
|
|
1745
|
+
}];
|
|
1746
|
+
readonly anonymous: false;
|
|
1747
|
+
}, {
|
|
1748
|
+
readonly type: "event";
|
|
1749
|
+
readonly name: "TransferSingle";
|
|
1750
|
+
readonly inputs: readonly [{
|
|
1751
|
+
readonly name: "_operator";
|
|
1752
|
+
readonly type: "address";
|
|
1753
|
+
readonly indexed: true;
|
|
1754
|
+
readonly internalType: "address";
|
|
1755
|
+
}, {
|
|
1756
|
+
readonly name: "_from";
|
|
1757
|
+
readonly type: "address";
|
|
1758
|
+
readonly indexed: true;
|
|
1759
|
+
readonly internalType: "address";
|
|
1760
|
+
}, {
|
|
1761
|
+
readonly name: "_to";
|
|
1762
|
+
readonly type: "address";
|
|
1763
|
+
readonly indexed: true;
|
|
1764
|
+
readonly internalType: "address";
|
|
1765
|
+
}, {
|
|
1766
|
+
readonly name: "_id";
|
|
1767
|
+
readonly type: "uint256";
|
|
1768
|
+
readonly indexed: false;
|
|
1769
|
+
readonly internalType: "uint256";
|
|
1770
|
+
}, {
|
|
1771
|
+
readonly name: "_amount";
|
|
1772
|
+
readonly type: "uint256";
|
|
1773
|
+
readonly indexed: false;
|
|
1774
|
+
readonly internalType: "uint256";
|
|
1775
|
+
}];
|
|
1776
|
+
readonly anonymous: false;
|
|
1777
|
+
}, {
|
|
1778
|
+
readonly type: "event";
|
|
1779
|
+
readonly name: "URI";
|
|
1780
|
+
readonly inputs: readonly [{
|
|
1781
|
+
readonly name: "_uri";
|
|
1782
|
+
readonly type: "string";
|
|
1783
|
+
readonly indexed: false;
|
|
1784
|
+
readonly internalType: "string";
|
|
1785
|
+
}, {
|
|
1786
|
+
readonly name: "_id";
|
|
1787
|
+
readonly type: "uint256";
|
|
1788
|
+
readonly indexed: true;
|
|
1789
|
+
readonly internalType: "uint256";
|
|
1790
|
+
}];
|
|
1791
|
+
readonly anonymous: false;
|
|
1792
|
+
}, {
|
|
1793
|
+
readonly type: "error";
|
|
1794
|
+
readonly name: "InvalidArrayLength";
|
|
1795
|
+
readonly inputs: readonly [];
|
|
1796
|
+
}, {
|
|
1797
|
+
readonly type: "error";
|
|
1798
|
+
readonly name: "InvalidInitialization";
|
|
1799
|
+
readonly inputs: readonly [];
|
|
1800
|
+
}];
|
|
1801
|
+
//#endregion
|
|
1802
|
+
export { ERC1155_ABI, ERC20_ABI, ERC721_ABI, SEQUENCE_1155_ITEMS_ABI };
|
|
1803
|
+
//# sourceMappingURL=index-BL9RUSEK.d.ts.map
|