3land_sdk 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +64 -0
- package/dist/index.js.map +1 -0
- package/dist/library/Irys/irys.d.ts +77 -0
- package/dist/library/Irys/irys.d.ts.map +1 -0
- package/dist/library/Irys/irys.js +317 -0
- package/dist/library/Irys/irys.js.map +1 -0
- package/dist/library/Store.d.ts +19 -0
- package/dist/library/Store.d.ts.map +1 -0
- package/dist/library/Store.js +363 -0
- package/dist/library/Store.js.map +1 -0
- package/dist/library/implementation/storeImplementation.d.ts +20 -0
- package/dist/library/implementation/storeImplementation.d.ts.map +1 -0
- package/dist/library/implementation/storeImplementation.js +324 -0
- package/dist/library/implementation/storeImplementation.js.map +1 -0
- package/dist/library/instructions/store/buySingleEdition.d.ts +17 -0
- package/dist/library/instructions/store/buySingleEdition.d.ts.map +1 -0
- package/dist/library/instructions/store/buySingleEdition.js +154 -0
- package/dist/library/instructions/store/buySingleEdition.js.map +1 -0
- package/dist/library/instructions/store/createSingleEdition.d.ts +4 -0
- package/dist/library/instructions/store/createSingleEdition.d.ts.map +1 -0
- package/dist/library/instructions/store/createSingleEdition.js +31 -0
- package/dist/library/instructions/store/createSingleEdition.js.map +1 -0
- package/dist/library/instructions/store/createStore.d.ts +4 -0
- package/dist/library/instructions/store/createStore.d.ts.map +1 -0
- package/dist/library/instructions/store/createStore.js +10 -0
- package/dist/library/instructions/store/createStore.js.map +1 -0
- package/dist/library/instructions/store/idl.d.ts +508 -0
- package/dist/library/instructions/store/idl.d.ts.map +1 -0
- package/dist/library/instructions/store/idl.js +7622 -0
- package/dist/library/instructions/store/idl.js.map +1 -0
- package/dist/library/instructions/store/uploadFilesIryis.d.ts +13 -0
- package/dist/library/instructions/store/uploadFilesIryis.d.ts.map +1 -0
- package/dist/library/instructions/store/uploadFilesIryis.js +99 -0
- package/dist/library/instructions/store/uploadFilesIryis.js.map +1 -0
- package/dist/types/accounts/ArchiveDeposit.d.ts +63 -0
- package/dist/types/accounts/ArchiveDeposit.d.ts.map +1 -0
- package/dist/types/accounts/ArchiveDeposit.js +158 -0
- package/dist/types/accounts/ArchiveDeposit.js.map +1 -0
- package/dist/types/accounts/Authority.d.ts +16 -0
- package/dist/types/accounts/Authority.d.ts.map +1 -0
- package/dist/types/accounts/Authority.js +72 -0
- package/dist/types/accounts/Authority.js.map +1 -0
- package/dist/types/accounts/BurnDeposit.d.ts +26 -0
- package/dist/types/accounts/BurnDeposit.d.ts.map +1 -0
- package/dist/types/accounts/BurnDeposit.js +93 -0
- package/dist/types/accounts/BurnDeposit.js.map +1 -0
- package/dist/types/accounts/BurnProgress.d.ts +22 -0
- package/dist/types/accounts/BurnProgress.d.ts.map +1 -0
- package/dist/types/accounts/BurnProgress.js +88 -0
- package/dist/types/accounts/BurnProgress.js.map +1 -0
- package/dist/types/accounts/BuyHistory.d.ts +32 -0
- package/dist/types/accounts/BuyHistory.d.ts.map +1 -0
- package/dist/types/accounts/BuyHistory.js +104 -0
- package/dist/types/accounts/BuyHistory.js.map +1 -0
- package/dist/types/accounts/BuyTrack.d.ts +22 -0
- package/dist/types/accounts/BuyTrack.d.ts.map +1 -0
- package/dist/types/accounts/BuyTrack.js +84 -0
- package/dist/types/accounts/BuyTrack.js.map +1 -0
- package/dist/types/accounts/Card.d.ts +57 -0
- package/dist/types/accounts/Card.d.ts.map +1 -0
- package/dist/types/accounts/Card.js +148 -0
- package/dist/types/accounts/Card.js.map +1 -0
- package/dist/types/accounts/CollectionRegistry.d.ts +42 -0
- package/dist/types/accounts/CollectionRegistry.d.ts.map +1 -0
- package/dist/types/accounts/CollectionRegistry.js +123 -0
- package/dist/types/accounts/CollectionRegistry.js.map +1 -0
- package/dist/types/accounts/CollectorRegistry.d.ts +42 -0
- package/dist/types/accounts/CollectorRegistry.d.ts.map +1 -0
- package/dist/types/accounts/CollectorRegistry.js +123 -0
- package/dist/types/accounts/CollectorRegistry.js.map +1 -0
- package/dist/types/accounts/CreatorRegistry.d.ts +45 -0
- package/dist/types/accounts/CreatorRegistry.d.ts.map +1 -0
- package/dist/types/accounts/CreatorRegistry.js +128 -0
- package/dist/types/accounts/CreatorRegistry.js.map +1 -0
- package/dist/types/accounts/CurrencyArtistProof.d.ts +29 -0
- package/dist/types/accounts/CurrencyArtistProof.d.ts.map +1 -0
- package/dist/types/accounts/CurrencyArtistProof.js +101 -0
- package/dist/types/accounts/CurrencyArtistProof.js.map +1 -0
- package/dist/types/accounts/GenericUser.d.ts +54 -0
- package/dist/types/accounts/GenericUser.d.ts.map +1 -0
- package/dist/types/accounts/GenericUser.js +143 -0
- package/dist/types/accounts/GenericUser.js.map +1 -0
- package/dist/types/accounts/ItemArchive.d.ts +69 -0
- package/dist/types/accounts/ItemArchive.d.ts.map +1 -0
- package/dist/types/accounts/ItemArchive.js +168 -0
- package/dist/types/accounts/ItemArchive.js.map +1 -0
- package/dist/types/accounts/ItemReserveList.d.ts +19 -0
- package/dist/types/accounts/ItemReserveList.d.ts.map +1 -0
- package/dist/types/accounts/ItemReserveList.js +81 -0
- package/dist/types/accounts/ItemReserveList.js.map +1 -0
- package/dist/types/accounts/ItemReserveList2.d.ts +16 -0
- package/dist/types/accounts/ItemReserveList2.d.ts.map +1 -0
- package/dist/types/accounts/ItemReserveList2.js +72 -0
- package/dist/types/accounts/ItemReserveList2.js.map +1 -0
- package/dist/types/accounts/LutVault.d.ts +22 -0
- package/dist/types/accounts/LutVault.d.ts.map +1 -0
- package/dist/types/accounts/LutVault.js +88 -0
- package/dist/types/accounts/LutVault.js.map +1 -0
- package/dist/types/accounts/Pack.d.ts +123 -0
- package/dist/types/accounts/Pack.d.ts.map +1 -0
- package/dist/types/accounts/Pack.js +258 -0
- package/dist/types/accounts/Pack.js.map +1 -0
- package/dist/types/accounts/PackContent.d.ts +23 -0
- package/dist/types/accounts/PackContent.d.ts.map +1 -0
- package/dist/types/accounts/PackContent.js +89 -0
- package/dist/types/accounts/PackContent.js.map +1 -0
- package/dist/types/accounts/PackOpenHolder.d.ts +38 -0
- package/dist/types/accounts/PackOpenHolder.d.ts.map +1 -0
- package/dist/types/accounts/PackOpenHolder.js +114 -0
- package/dist/types/accounts/PackOpenHolder.js.map +1 -0
- package/dist/types/accounts/PackReceipt.d.ts +42 -0
- package/dist/types/accounts/PackReceipt.d.ts.map +1 -0
- package/dist/types/accounts/PackReceipt.js +123 -0
- package/dist/types/accounts/PackReceipt.js.map +1 -0
- package/dist/types/accounts/PackTraits.d.ts +23 -0
- package/dist/types/accounts/PackTraits.d.ts.map +1 -0
- package/dist/types/accounts/PackTraits.js +88 -0
- package/dist/types/accounts/PackTraits.js.map +1 -0
- package/dist/types/accounts/Payment.d.ts +23 -0
- package/dist/types/accounts/Payment.d.ts.map +1 -0
- package/dist/types/accounts/Payment.js +88 -0
- package/dist/types/accounts/Payment.js.map +1 -0
- package/dist/types/accounts/PoolVault.d.ts +54 -0
- package/dist/types/accounts/PoolVault.d.ts.map +1 -0
- package/dist/types/accounts/PoolVault.js +143 -0
- package/dist/types/accounts/PoolVault.js.map +1 -0
- package/dist/types/accounts/RevealForMe.d.ts +38 -0
- package/dist/types/accounts/RevealForMe.d.ts.map +1 -0
- package/dist/types/accounts/RevealForMe.js +112 -0
- package/dist/types/accounts/RevealForMe.js.map +1 -0
- package/dist/types/accounts/SecureHolder.d.ts +23 -0
- package/dist/types/accounts/SecureHolder.d.ts.map +1 -0
- package/dist/types/accounts/SecureHolder.js +88 -0
- package/dist/types/accounts/SecureHolder.js.map +1 -0
- package/dist/types/accounts/Single.d.ts +99 -0
- package/dist/types/accounts/Single.d.ts.map +1 -0
- package/dist/types/accounts/Single.js +216 -0
- package/dist/types/accounts/Single.js.map +1 -0
- package/dist/types/accounts/Store.d.ts +54 -0
- package/dist/types/accounts/Store.d.ts.map +1 -0
- package/dist/types/accounts/Store.js +144 -0
- package/dist/types/accounts/Store.js.map +1 -0
- package/dist/types/accounts/StoresHolder.d.ts +33 -0
- package/dist/types/accounts/StoresHolder.d.ts.map +1 -0
- package/dist/types/accounts/StoresHolder.js +115 -0
- package/dist/types/accounts/StoresHolder.js.map +1 -0
- package/dist/types/accounts/ThreeId.d.ts +57 -0
- package/dist/types/accounts/ThreeId.d.ts.map +1 -0
- package/dist/types/accounts/ThreeId.js +146 -0
- package/dist/types/accounts/ThreeId.js.map +1 -0
- package/dist/types/accounts/TokenManager.d.ts +69 -0
- package/dist/types/accounts/TokenManager.d.ts.map +1 -0
- package/dist/types/accounts/TokenManager.js +168 -0
- package/dist/types/accounts/TokenManager.js.map +1 -0
- package/dist/types/accounts/ZeroCard.d.ts +16 -0
- package/dist/types/accounts/ZeroCard.d.ts.map +1 -0
- package/dist/types/accounts/ZeroCard.js +72 -0
- package/dist/types/accounts/ZeroCard.js.map +1 -0
- package/dist/types/accounts/ZeroContent.d.ts +19 -0
- package/dist/types/accounts/ZeroContent.d.ts.map +1 -0
- package/dist/types/accounts/ZeroContent.js +82 -0
- package/dist/types/accounts/ZeroContent.js.map +1 -0
- package/dist/types/accounts/ZeroOpenHolder.d.ts +51 -0
- package/dist/types/accounts/ZeroOpenHolder.d.ts.map +1 -0
- package/dist/types/accounts/ZeroOpenHolder.js +144 -0
- package/dist/types/accounts/ZeroOpenHolder.js.map +1 -0
- package/dist/types/accounts/index.d.ts +67 -0
- package/dist/types/accounts/index.d.ts.map +1 -0
- package/dist/types/accounts/index.js +70 -0
- package/dist/types/accounts/index.js.map +1 -0
- package/dist/types/errors/anchor.d.ts +435 -0
- package/dist/types/errors/anchor.d.ts.map +1 -0
- package/dist/types/errors/anchor.js +713 -0
- package/dist/types/errors/anchor.js.map +1 -0
- package/dist/types/errors/index.d.ts +5 -0
- package/dist/types/errors/index.d.ts.map +1 -0
- package/dist/types/errors/index.js +67 -0
- package/dist/types/errors/index.js.map +1 -0
- package/dist/types/implementation/implementationTypes.d.ts +24 -0
- package/dist/types/implementation/implementationTypes.d.ts.map +1 -0
- package/dist/types/implementation/implementationTypes.js +3 -0
- package/dist/types/implementation/implementationTypes.js.map +1 -0
- package/dist/types/instructions/addBurn.d.ts +20 -0
- package/dist/types/instructions/addBurn.d.ts.map +1 -0
- package/dist/types/instructions/addBurn.js +57 -0
- package/dist/types/instructions/addBurn.js.map +1 -0
- package/dist/types/instructions/adjustDepositBurn.d.ts +12 -0
- package/dist/types/instructions/adjustDepositBurn.d.ts.map +1 -0
- package/dist/types/instructions/adjustDepositBurn.js +20 -0
- package/dist/types/instructions/adjustDepositBurn.js.map +1 -0
- package/dist/types/instructions/archiveItem.d.ts +22 -0
- package/dist/types/instructions/archiveItem.d.ts.map +1 -0
- package/dist/types/instructions/archiveItem.js +57 -0
- package/dist/types/instructions/archiveItem.js.map +1 -0
- package/dist/types/instructions/assignPackDelegate.d.ts +10 -0
- package/dist/types/instructions/assignPackDelegate.d.ts.map +1 -0
- package/dist/types/instructions/assignPackDelegate.js +19 -0
- package/dist/types/instructions/assignPackDelegate.js.map +1 -0
- package/dist/types/instructions/burnPay.d.ts +19 -0
- package/dist/types/instructions/burnPay.d.ts.map +1 -0
- package/dist/types/instructions/burnPay.js +56 -0
- package/dist/types/instructions/burnPay.js.map +1 -0
- package/dist/types/instructions/buyPack.d.ts +25 -0
- package/dist/types/instructions/buyPack.d.ts.map +1 -0
- package/dist/types/instructions/buyPack.js +65 -0
- package/dist/types/instructions/buyPack.js.map +1 -0
- package/dist/types/instructions/buyPay.d.ts +19 -0
- package/dist/types/instructions/buyPay.d.ts.map +1 -0
- package/dist/types/instructions/buyPay.js +66 -0
- package/dist/types/instructions/buyPay.js.map +1 -0
- package/dist/types/instructions/buyToken.d.ts +21 -0
- package/dist/types/instructions/buyToken.d.ts.map +1 -0
- package/dist/types/instructions/buyToken.js +63 -0
- package/dist/types/instructions/buyToken.js.map +1 -0
- package/dist/types/instructions/claimZeroCard.d.ts +40 -0
- package/dist/types/instructions/claimZeroCard.d.ts.map +1 -0
- package/dist/types/instructions/claimZeroCard.js +87 -0
- package/dist/types/instructions/claimZeroCard.js.map +1 -0
- package/dist/types/instructions/closeDepositBurn.d.ts +17 -0
- package/dist/types/instructions/closeDepositBurn.d.ts.map +1 -0
- package/dist/types/instructions/closeDepositBurn.js +50 -0
- package/dist/types/instructions/closeDepositBurn.js.map +1 -0
- package/dist/types/instructions/closeRegisterTraits.d.ts +9 -0
- package/dist/types/instructions/closeRegisterTraits.d.ts.map +1 -0
- package/dist/types/instructions/closeRegisterTraits.js +18 -0
- package/dist/types/instructions/closeRegisterTraits.js.map +1 -0
- package/dist/types/instructions/createCard.d.ts +19 -0
- package/dist/types/instructions/createCard.d.ts.map +1 -0
- package/dist/types/instructions/createCard.js +58 -0
- package/dist/types/instructions/createCard.js.map +1 -0
- package/dist/types/instructions/createCollection.d.ts +22 -0
- package/dist/types/instructions/createCollection.d.ts.map +1 -0
- package/dist/types/instructions/createCollection.js +67 -0
- package/dist/types/instructions/createCollection.js.map +1 -0
- package/dist/types/instructions/createPack.d.ts +25 -0
- package/dist/types/instructions/createPack.d.ts.map +1 -0
- package/dist/types/instructions/createPack.js +68 -0
- package/dist/types/instructions/createPack.js.map +1 -0
- package/dist/types/instructions/createSingle.d.ts +25 -0
- package/dist/types/instructions/createSingle.d.ts.map +1 -0
- package/dist/types/instructions/createSingle.js +68 -0
- package/dist/types/instructions/createSingle.js.map +1 -0
- package/dist/types/instructions/createStore.d.ts +16 -0
- package/dist/types/instructions/createStore.d.ts.map +1 -0
- package/dist/types/instructions/createStore.js +55 -0
- package/dist/types/instructions/createStore.js.map +1 -0
- package/dist/types/instructions/createTokenLauncher.d.ts +28 -0
- package/dist/types/instructions/createTokenLauncher.d.ts.map +1 -0
- package/dist/types/instructions/createTokenLauncher.js +76 -0
- package/dist/types/instructions/createTokenLauncher.js.map +1 -0
- package/dist/types/instructions/createZeroCard.d.ts +25 -0
- package/dist/types/instructions/createZeroCard.d.ts.map +1 -0
- package/dist/types/instructions/createZeroCard.js +69 -0
- package/dist/types/instructions/createZeroCard.js.map +1 -0
- package/dist/types/instructions/deleteCard.d.ts +11 -0
- package/dist/types/instructions/deleteCard.d.ts.map +1 -0
- package/dist/types/instructions/deleteCard.js +20 -0
- package/dist/types/instructions/deleteCard.js.map +1 -0
- package/dist/types/instructions/deletePack.d.ts +15 -0
- package/dist/types/instructions/deletePack.d.ts.map +1 -0
- package/dist/types/instructions/deletePack.js +24 -0
- package/dist/types/instructions/deletePack.js.map +1 -0
- package/dist/types/instructions/deleteSingle.d.ts +13 -0
- package/dist/types/instructions/deleteSingle.d.ts.map +1 -0
- package/dist/types/instructions/deleteSingle.js +22 -0
- package/dist/types/instructions/deleteSingle.js.map +1 -0
- package/dist/types/instructions/deleteTokenLauncher.d.ts +12 -0
- package/dist/types/instructions/deleteTokenLauncher.d.ts.map +1 -0
- package/dist/types/instructions/deleteTokenLauncher.js +25 -0
- package/dist/types/instructions/deleteTokenLauncher.js.map +1 -0
- package/dist/types/instructions/depositBurn.d.ts +22 -0
- package/dist/types/instructions/depositBurn.d.ts.map +1 -0
- package/dist/types/instructions/depositBurn.js +54 -0
- package/dist/types/instructions/depositBurn.js.map +1 -0
- package/dist/types/instructions/donateUser.d.ts +30 -0
- package/dist/types/instructions/donateUser.d.ts.map +1 -0
- package/dist/types/instructions/donateUser.js +75 -0
- package/dist/types/instructions/donateUser.js.map +1 -0
- package/dist/types/instructions/feedPool.d.ts +21 -0
- package/dist/types/instructions/feedPool.d.ts.map +1 -0
- package/dist/types/instructions/feedPool.js +60 -0
- package/dist/types/instructions/feedPool.js.map +1 -0
- package/dist/types/instructions/feedTraits.d.ts +15 -0
- package/dist/types/instructions/feedTraits.d.ts.map +1 -0
- package/dist/types/instructions/feedTraits.js +50 -0
- package/dist/types/instructions/feedTraits.js.map +1 -0
- package/dist/types/instructions/feedTree.d.ts +21 -0
- package/dist/types/instructions/feedTree.d.ts.map +1 -0
- package/dist/types/instructions/feedTree.js +61 -0
- package/dist/types/instructions/feedTree.js.map +1 -0
- package/dist/types/instructions/flagPack.d.ts +16 -0
- package/dist/types/instructions/flagPack.d.ts.map +1 -0
- package/dist/types/instructions/flagPack.js +55 -0
- package/dist/types/instructions/flagPack.js.map +1 -0
- package/dist/types/instructions/flagSingle.d.ts +15 -0
- package/dist/types/instructions/flagSingle.d.ts.map +1 -0
- package/dist/types/instructions/flagSingle.js +53 -0
- package/dist/types/instructions/flagSingle.js.map +1 -0
- package/dist/types/instructions/gatePay.d.ts +22 -0
- package/dist/types/instructions/gatePay.d.ts.map +1 -0
- package/dist/types/instructions/gatePay.js +58 -0
- package/dist/types/instructions/gatePay.js.map +1 -0
- package/dist/types/instructions/index.d.ts +105 -0
- package/dist/types/instructions/index.d.ts.map +1 -0
- package/dist/types/instructions/index.js +109 -0
- package/dist/types/instructions/index.js.map +1 -0
- package/dist/types/instructions/initialize.d.ts +15 -0
- package/dist/types/instructions/initialize.d.ts.map +1 -0
- package/dist/types/instructions/initialize.js +52 -0
- package/dist/types/instructions/initialize.js.map +1 -0
- package/dist/types/instructions/openPack.d.ts +29 -0
- package/dist/types/instructions/openPack.d.ts.map +1 -0
- package/dist/types/instructions/openPack.js +70 -0
- package/dist/types/instructions/openPack.js.map +1 -0
- package/dist/types/instructions/prepareCreator.d.ts +10 -0
- package/dist/types/instructions/prepareCreator.d.ts.map +1 -0
- package/dist/types/instructions/prepareCreator.js +19 -0
- package/dist/types/instructions/prepareCreator.js.map +1 -0
- package/dist/types/instructions/preparePack.d.ts +17 -0
- package/dist/types/instructions/preparePack.d.ts.map +1 -0
- package/dist/types/instructions/preparePack.js +54 -0
- package/dist/types/instructions/preparePack.js.map +1 -0
- package/dist/types/instructions/prepareTraits.d.ts +9 -0
- package/dist/types/instructions/prepareTraits.d.ts.map +1 -0
- package/dist/types/instructions/prepareTraits.js +18 -0
- package/dist/types/instructions/prepareTraits.js.map +1 -0
- package/dist/types/instructions/printPack.d.ts +38 -0
- package/dist/types/instructions/printPack.d.ts.map +1 -0
- package/dist/types/instructions/printPack.js +79 -0
- package/dist/types/instructions/printPack.js.map +1 -0
- package/dist/types/instructions/printSingle.d.ts +41 -0
- package/dist/types/instructions/printSingle.d.ts.map +1 -0
- package/dist/types/instructions/printSingle.js +87 -0
- package/dist/types/instructions/printSingle.js.map +1 -0
- package/dist/types/instructions/recoverDepositBurn.d.ts +34 -0
- package/dist/types/instructions/recoverDepositBurn.d.ts.map +1 -0
- package/dist/types/instructions/recoverDepositBurn.js +67 -0
- package/dist/types/instructions/recoverDepositBurn.js.map +1 -0
- package/dist/types/instructions/registerActivity.d.ts +14 -0
- package/dist/types/instructions/registerActivity.d.ts.map +1 -0
- package/dist/types/instructions/registerActivity.js +48 -0
- package/dist/types/instructions/registerActivity.js.map +1 -0
- package/dist/types/instructions/registerCollector.d.ts +17 -0
- package/dist/types/instructions/registerCollector.d.ts.map +1 -0
- package/dist/types/instructions/registerCollector.js +63 -0
- package/dist/types/instructions/registerCollector.js.map +1 -0
- package/dist/types/instructions/registerCreator.d.ts +15 -0
- package/dist/types/instructions/registerCreator.d.ts.map +1 -0
- package/dist/types/instructions/registerCreator.js +50 -0
- package/dist/types/instructions/registerCreator.js.map +1 -0
- package/dist/types/instructions/registerGenericUser.d.ts +32 -0
- package/dist/types/instructions/registerGenericUser.d.ts.map +1 -0
- package/dist/types/instructions/registerGenericUser.js +81 -0
- package/dist/types/instructions/registerGenericUser.js.map +1 -0
- package/dist/types/instructions/registerPackUploads.d.ts +14 -0
- package/dist/types/instructions/registerPackUploads.d.ts.map +1 -0
- package/dist/types/instructions/registerPackUploads.js +49 -0
- package/dist/types/instructions/registerPackUploads.js.map +1 -0
- package/dist/types/instructions/registerTraits.d.ts +13 -0
- package/dist/types/instructions/registerTraits.d.ts.map +1 -0
- package/dist/types/instructions/registerTraits.js +48 -0
- package/dist/types/instructions/registerTraits.js.map +1 -0
- package/dist/types/instructions/registerUser.d.ts +15 -0
- package/dist/types/instructions/registerUser.d.ts.map +1 -0
- package/dist/types/instructions/registerUser.js +54 -0
- package/dist/types/instructions/registerUser.js.map +1 -0
- package/dist/types/instructions/storeLutFor.d.ts +14 -0
- package/dist/types/instructions/storeLutFor.d.ts.map +1 -0
- package/dist/types/instructions/storeLutFor.js +49 -0
- package/dist/types/instructions/storeLutFor.js.map +1 -0
- package/dist/types/instructions/unwrapAndDestroy.d.ts +23 -0
- package/dist/types/instructions/unwrapAndDestroy.d.ts.map +1 -0
- package/dist/types/instructions/unwrapAndDestroy.js +54 -0
- package/dist/types/instructions/unwrapAndDestroy.js.map +1 -0
- package/dist/types/instructions/updateCard.d.ts +17 -0
- package/dist/types/instructions/updateCard.d.ts.map +1 -0
- package/dist/types/instructions/updateCard.js +57 -0
- package/dist/types/instructions/updateCard.js.map +1 -0
- package/dist/types/instructions/updatePack.d.ts +23 -0
- package/dist/types/instructions/updatePack.d.ts.map +1 -0
- package/dist/types/instructions/updatePack.js +67 -0
- package/dist/types/instructions/updatePack.js.map +1 -0
- package/dist/types/instructions/updateSingle.d.ts +21 -0
- package/dist/types/instructions/updateSingle.d.ts.map +1 -0
- package/dist/types/instructions/updateSingle.js +63 -0
- package/dist/types/instructions/updateSingle.js.map +1 -0
- package/dist/types/instructions/updateStore.d.ts +15 -0
- package/dist/types/instructions/updateStore.d.ts.map +1 -0
- package/dist/types/instructions/updateStore.js +53 -0
- package/dist/types/instructions/updateStore.js.map +1 -0
- package/dist/types/instructions/withdrawFromStore.d.ts +8 -0
- package/dist/types/instructions/withdrawFromStore.d.ts.map +1 -0
- package/dist/types/instructions/withdrawFromStore.js +17 -0
- package/dist/types/instructions/withdrawFromStore.js.map +1 -0
- package/dist/types/programId.d.ts +14 -0
- package/dist/types/programId.d.ts.map +1 -0
- package/dist/types/programId.js +20 -0
- package/dist/types/programId.js.map +1 -0
- package/dist/types/types/AccountClass.d.ts +370 -0
- package/dist/types/types/AccountClass.d.ts.map +1 -0
- package/dist/types/types/AccountClass.js +778 -0
- package/dist/types/types/AccountClass.js.map +1 -0
- package/dist/types/types/AccountHasher.d.ts +42 -0
- package/dist/types/types/AccountHasher.d.ts.map +1 -0
- package/dist/types/types/AccountHasher.js +83 -0
- package/dist/types/types/AccountHasher.js.map +1 -0
- package/dist/types/types/ActionAfter.d.ts +84 -0
- package/dist/types/types/ActionAfter.d.ts.map +1 -0
- package/dist/types/types/ActionAfter.js +180 -0
- package/dist/types/types/ActionAfter.js.map +1 -0
- package/dist/types/types/AllowedCurrencyArgs.d.ts +22 -0
- package/dist/types/types/AllowedCurrencyArgs.d.ts.map +1 -0
- package/dist/types/types/AllowedCurrencyArgs.js +61 -0
- package/dist/types/types/AllowedCurrencyArgs.js.map +1 -0
- package/dist/types/types/AuthorityGateTypes.d.ts +32 -0
- package/dist/types/types/AuthorityGateTypes.d.ts.map +1 -0
- package/dist/types/types/AuthorityGateTypes.js +102 -0
- package/dist/types/types/AuthorityGateTypes.js.map +1 -0
- package/dist/types/types/BurnCount.d.ts +55 -0
- package/dist/types/types/BurnCount.d.ts.map +1 -0
- package/dist/types/types/BurnCount.js +62 -0
- package/dist/types/types/BurnCount.js.map +1 -0
- package/dist/types/types/BurnState.d.ts +32 -0
- package/dist/types/types/BurnState.d.ts.map +1 -0
- package/dist/types/types/BurnState.js +102 -0
- package/dist/types/types/BurnState.js.map +1 -0
- package/dist/types/types/BurnTrack.d.ts +31 -0
- package/dist/types/types/BurnTrack.d.ts.map +1 -0
- package/dist/types/types/BurnTrack.js +67 -0
- package/dist/types/types/BurnTrack.js.map +1 -0
- package/dist/types/types/BurnType.d.ts +45 -0
- package/dist/types/types/BurnType.d.ts.map +1 -0
- package/dist/types/types/BurnType.js +128 -0
- package/dist/types/types/BurnType.js.map +1 -0
- package/dist/types/types/BurnTypeBurn.d.ts +19 -0
- package/dist/types/types/BurnTypeBurn.d.ts.map +1 -0
- package/dist/types/types/BurnTypeBurn.js +74 -0
- package/dist/types/types/BurnTypeBurn.js.map +1 -0
- package/dist/types/types/BuyHistoryClass.d.ts +32 -0
- package/dist/types/types/BuyHistoryClass.d.ts.map +1 -0
- package/dist/types/types/BuyHistoryClass.js +102 -0
- package/dist/types/types/BuyHistoryClass.js.map +1 -0
- package/dist/types/types/CardClass.d.ts +19 -0
- package/dist/types/types/CardClass.d.ts.map +1 -0
- package/dist/types/types/CardClass.js +74 -0
- package/dist/types/types/CardClass.js.map +1 -0
- package/dist/types/types/CardState.d.ts +97 -0
- package/dist/types/types/CardState.d.ts.map +1 -0
- package/dist/types/types/CardState.js +232 -0
- package/dist/types/types/CardState.js.map +1 -0
- package/dist/types/types/CardTrack.d.ts +60 -0
- package/dist/types/types/CardTrack.d.ts.map +1 -0
- package/dist/types/types/CardTrack.js +76 -0
- package/dist/types/types/CardTrack.js.map +1 -0
- package/dist/types/types/Category.d.ts +32 -0
- package/dist/types/types/Category.d.ts.map +1 -0
- package/dist/types/types/Category.js +71 -0
- package/dist/types/types/Category.js.map +1 -0
- package/dist/types/types/CnftData.d.ts +37 -0
- package/dist/types/types/CnftData.d.ts.map +1 -0
- package/dist/types/types/CnftData.js +81 -0
- package/dist/types/types/CnftData.js.map +1 -0
- package/dist/types/types/CollectTrack.d.ts +28 -0
- package/dist/types/types/CollectTrack.d.ts.map +1 -0
- package/dist/types/types/CollectTrack.js +70 -0
- package/dist/types/types/CollectTrack.js.map +1 -0
- package/dist/types/types/Collection.d.ts +28 -0
- package/dist/types/types/Collection.d.ts.map +1 -0
- package/dist/types/types/Collection.js +67 -0
- package/dist/types/types/Collection.js.map +1 -0
- package/dist/types/types/CompactCnftData.d.ts +32 -0
- package/dist/types/types/CompactCnftData.d.ts.map +1 -0
- package/dist/types/types/CompactCnftData.js +75 -0
- package/dist/types/types/CompactCnftData.js.map +1 -0
- package/dist/types/types/CoolTimePerAmountArgs.d.ts +32 -0
- package/dist/types/types/CoolTimePerAmountArgs.d.ts.map +1 -0
- package/dist/types/types/CoolTimePerAmountArgs.js +71 -0
- package/dist/types/types/CoolTimePerAmountArgs.js.map +1 -0
- package/dist/types/types/Creator.d.ts +33 -0
- package/dist/types/types/Creator.d.ts.map +1 -0
- package/dist/types/types/Creator.js +72 -0
- package/dist/types/types/Creator.js.map +1 -0
- package/dist/types/types/CreatorGateArgs.d.ts +23 -0
- package/dist/types/types/CreatorGateArgs.d.ts.map +1 -0
- package/dist/types/types/CreatorGateArgs.js +62 -0
- package/dist/types/types/CreatorGateArgs.js.map +1 -0
- package/dist/types/types/CurrencyArtistProof.d.ts +38 -0
- package/dist/types/types/CurrencyArtistProof.d.ts.map +1 -0
- package/dist/types/types/CurrencyArtistProof.js +85 -0
- package/dist/types/types/CurrencyArtistProof.js.map +1 -0
- package/dist/types/types/CurrencyType.d.ts +111 -0
- package/dist/types/types/CurrencyType.d.ts.map +1 -0
- package/dist/types/types/CurrencyType.js +220 -0
- package/dist/types/types/CurrencyType.js.map +1 -0
- package/dist/types/types/DateTraitInit.d.ts +28 -0
- package/dist/types/types/DateTraitInit.d.ts.map +1 -0
- package/dist/types/types/DateTraitInit.js +70 -0
- package/dist/types/types/DateTraitInit.js.map +1 -0
- package/dist/types/types/DateTraitInitMap.d.ts +33 -0
- package/dist/types/types/DateTraitInitMap.d.ts.map +1 -0
- package/dist/types/types/DateTraitInitMap.js +75 -0
- package/dist/types/types/DateTraitInitMap.js.map +1 -0
- package/dist/types/types/Deposit.d.ts +135 -0
- package/dist/types/types/Deposit.d.ts.map +1 -0
- package/dist/types/types/Deposit.js +86 -0
- package/dist/types/types/Deposit.js.map +1 -0
- package/dist/types/types/DepositFormat.d.ts +32 -0
- package/dist/types/types/DepositFormat.d.ts.map +1 -0
- package/dist/types/types/DepositFormat.js +102 -0
- package/dist/types/types/DepositFormat.js.map +1 -0
- package/dist/types/types/DepositState.d.ts +32 -0
- package/dist/types/types/DepositState.d.ts.map +1 -0
- package/dist/types/types/DepositState.js +102 -0
- package/dist/types/types/DepositState.js.map +1 -0
- package/dist/types/types/DepositSubtype.d.ts +32 -0
- package/dist/types/types/DepositSubtype.d.ts.map +1 -0
- package/dist/types/types/DepositSubtype.js +102 -0
- package/dist/types/types/DepositSubtype.js.map +1 -0
- package/dist/types/types/DepositTrack.d.ts +47 -0
- package/dist/types/types/DepositTrack.d.ts.map +1 -0
- package/dist/types/types/DepositTrack.js +70 -0
- package/dist/types/types/DepositTrack.js.map +1 -0
- package/dist/types/types/DepositTrackType.d.ts +45 -0
- package/dist/types/types/DepositTrackType.d.ts.map +1 -0
- package/dist/types/types/DepositTrackType.js +128 -0
- package/dist/types/types/DepositTrackType.js.map +1 -0
- package/dist/types/types/DepositType.d.ts +123 -0
- package/dist/types/types/DepositType.d.ts.map +1 -0
- package/dist/types/types/DepositType.js +184 -0
- package/dist/types/types/DepositType.js.map +1 -0
- package/dist/types/types/Earnings.d.ts +15 -0
- package/dist/types/types/Earnings.d.ts.map +1 -0
- package/dist/types/types/Earnings.js +51 -0
- package/dist/types/types/Earnings.js.map +1 -0
- package/dist/types/types/EditionStoreType.d.ts +45 -0
- package/dist/types/types/EditionStoreType.d.ts.map +1 -0
- package/dist/types/types/EditionStoreType.js +128 -0
- package/dist/types/types/EditionStoreType.js.map +1 -0
- package/dist/types/types/EncryptedPayload.d.ts +27 -0
- package/dist/types/types/EncryptedPayload.d.ts.map +1 -0
- package/dist/types/types/EncryptedPayload.js +66 -0
- package/dist/types/types/EncryptedPayload.js.map +1 -0
- package/dist/types/types/ExtraParameter.d.ts +45 -0
- package/dist/types/types/ExtraParameter.d.ts.map +1 -0
- package/dist/types/types/ExtraParameter.js +115 -0
- package/dist/types/types/ExtraParameter.js.map +1 -0
- package/dist/types/types/FakeBurnCount.d.ts +54 -0
- package/dist/types/types/FakeBurnCount.d.ts.map +1 -0
- package/dist/types/types/FakeBurnCount.js +71 -0
- package/dist/types/types/FakeBurnCount.js.map +1 -0
- package/dist/types/types/FakeDeposit.d.ts +64 -0
- package/dist/types/types/FakeDeposit.d.ts.map +1 -0
- package/dist/types/types/FakeDeposit.js +71 -0
- package/dist/types/types/FakeDeposit.js.map +1 -0
- package/dist/types/types/FakeTraitPair.d.ts +27 -0
- package/dist/types/types/FakeTraitPair.d.ts.map +1 -0
- package/dist/types/types/FakeTraitPair.js +66 -0
- package/dist/types/types/FakeTraitPair.js.map +1 -0
- package/dist/types/types/FakeTraitValue.d.ts +28 -0
- package/dist/types/types/FakeTraitValue.d.ts.map +1 -0
- package/dist/types/types/FakeTraitValue.js +70 -0
- package/dist/types/types/FakeTraitValue.js.map +1 -0
- package/dist/types/types/FakeVolumeTrack.d.ts +35 -0
- package/dist/types/types/FakeVolumeTrack.d.ts.map +1 -0
- package/dist/types/types/FakeVolumeTrack.js +68 -0
- package/dist/types/types/FakeVolumeTrack.js.map +1 -0
- package/dist/types/types/FeeType.d.ts +45 -0
- package/dist/types/types/FeeType.d.ts.map +1 -0
- package/dist/types/types/FeeType.js +128 -0
- package/dist/types/types/FeeType.js.map +1 -0
- package/dist/types/types/FeedingTraits.d.ts +49 -0
- package/dist/types/types/FeedingTraits.d.ts.map +1 -0
- package/dist/types/types/FeedingTraits.js +62 -0
- package/dist/types/types/FeedingTraits.js.map +1 -0
- package/dist/types/types/Filter.d.ts +35 -0
- package/dist/types/types/Filter.d.ts.map +1 -0
- package/dist/types/types/Filter.js +67 -0
- package/dist/types/types/Filter.js.map +1 -0
- package/dist/types/types/FilterType.d.ts +19 -0
- package/dist/types/types/FilterType.d.ts.map +1 -0
- package/dist/types/types/FilterType.js +74 -0
- package/dist/types/types/FilterType.js.map +1 -0
- package/dist/types/types/GeneralStore.d.ts +19 -0
- package/dist/types/types/GeneralStore.d.ts.map +1 -0
- package/dist/types/types/GeneralStore.js +74 -0
- package/dist/types/types/GeneralStore.js.map +1 -0
- package/dist/types/types/GenericStore.d.ts +49 -0
- package/dist/types/types/GenericStore.d.ts.map +1 -0
- package/dist/types/types/GenericStore.js +67 -0
- package/dist/types/types/GenericStore.js.map +1 -0
- package/dist/types/types/GenericValue.d.ts +73 -0
- package/dist/types/types/GenericValue.d.ts.map +1 -0
- package/dist/types/types/GenericValue.js +159 -0
- package/dist/types/types/GenericValue.js.map +1 -0
- package/dist/types/types/GlobalFee.d.ts +51 -0
- package/dist/types/types/GlobalFee.d.ts.map +1 -0
- package/dist/types/types/GlobalFee.js +87 -0
- package/dist/types/types/GlobalFee.js.map +1 -0
- package/dist/types/types/GlobalState.d.ts +58 -0
- package/dist/types/types/GlobalState.d.ts.map +1 -0
- package/dist/types/types/GlobalState.js +154 -0
- package/dist/types/types/GlobalState.js.map +1 -0
- package/dist/types/types/IndexDate.d.ts +42 -0
- package/dist/types/types/IndexDate.d.ts.map +1 -0
- package/dist/types/types/IndexDate.js +87 -0
- package/dist/types/types/IndexDate.js.map +1 -0
- package/dist/types/types/IndexDates.d.ts +51 -0
- package/dist/types/types/IndexDates.d.ts.map +1 -0
- package/dist/types/types/IndexDates.js +67 -0
- package/dist/types/types/IndexDates.js.map +1 -0
- package/dist/types/types/Item.d.ts +108 -0
- package/dist/types/types/Item.d.ts.map +1 -0
- package/dist/types/types/Item.js +62 -0
- package/dist/types/types/Item.js.map +1 -0
- package/dist/types/types/ItemClass.d.ts +32 -0
- package/dist/types/types/ItemClass.d.ts.map +1 -0
- package/dist/types/types/ItemClass.js +102 -0
- package/dist/types/types/ItemClass.js.map +1 -0
- package/dist/types/types/ItemState.d.ts +123 -0
- package/dist/types/types/ItemState.d.ts.map +1 -0
- package/dist/types/types/ItemState.js +284 -0
- package/dist/types/types/ItemState.js.map +1 -0
- package/dist/types/types/ItemTrack.d.ts +69 -0
- package/dist/types/types/ItemTrack.d.ts.map +1 -0
- package/dist/types/types/ItemTrack.js +80 -0
- package/dist/types/types/ItemTrack.js.map +1 -0
- package/dist/types/types/ListingPerWalletArgs.d.ts +22 -0
- package/dist/types/types/ListingPerWalletArgs.d.ts.map +1 -0
- package/dist/types/types/ListingPerWalletArgs.js +61 -0
- package/dist/types/types/ListingPerWalletArgs.js.map +1 -0
- package/dist/types/types/MemeVaultProof.d.ts +28 -0
- package/dist/types/types/MemeVaultProof.d.ts.map +1 -0
- package/dist/types/types/MemeVaultProof.js +70 -0
- package/dist/types/types/MemeVaultProof.js.map +1 -0
- package/dist/types/types/MetadataArgs.d.ts +161 -0
- package/dist/types/types/MetadataArgs.d.ts.map +1 -0
- package/dist/types/types/MetadataArgs.js +139 -0
- package/dist/types/types/MetadataArgs.js.map +1 -0
- package/dist/types/types/NonFungibleTraitInit.d.ts +28 -0
- package/dist/types/types/NonFungibleTraitInit.d.ts.map +1 -0
- package/dist/types/types/NonFungibleTraitInit.js +70 -0
- package/dist/types/types/NonFungibleTraitInit.js.map +1 -0
- package/dist/types/types/NonFungibleTraitInitMap.d.ts +39 -0
- package/dist/types/types/NonFungibleTraitInitMap.d.ts.map +1 -0
- package/dist/types/types/NonFungibleTraitInitMap.js +80 -0
- package/dist/types/types/NonFungibleTraitInitMap.js.map +1 -0
- package/dist/types/types/OnlyBetweenTimesArgs.d.ts +44 -0
- package/dist/types/types/OnlyBetweenTimesArgs.d.ts.map +1 -0
- package/dist/types/types/OnlyBetweenTimesArgs.js +76 -0
- package/dist/types/types/OnlyBetweenTimesArgs.js.map +1 -0
- package/dist/types/types/OnlyTheseDOWArgs.d.ts +22 -0
- package/dist/types/types/OnlyTheseDOWArgs.d.ts.map +1 -0
- package/dist/types/types/OnlyTheseDOWArgs.js +61 -0
- package/dist/types/types/OnlyTheseDOWArgs.js.map +1 -0
- package/dist/types/types/PackConfig.d.ts +63 -0
- package/dist/types/types/PackConfig.d.ts.map +1 -0
- package/dist/types/types/PackConfig.js +89 -0
- package/dist/types/types/PackConfig.js.map +1 -0
- package/dist/types/types/PackOpenHolderState.d.ts +45 -0
- package/dist/types/types/PackOpenHolderState.d.ts.map +1 -0
- package/dist/types/types/PackOpenHolderState.js +128 -0
- package/dist/types/types/PackOpenHolderState.js.map +1 -0
- package/dist/types/types/PackRule.d.ts +32 -0
- package/dist/types/types/PackRule.d.ts.map +1 -0
- package/dist/types/types/PackRule.js +89 -0
- package/dist/types/types/PackRule.js.map +1 -0
- package/dist/types/types/PackState.d.ts +45 -0
- package/dist/types/types/PackState.d.ts.map +1 -0
- package/dist/types/types/PackState.js +128 -0
- package/dist/types/types/PackState.js.map +1 -0
- package/dist/types/types/PackType.d.ts +45 -0
- package/dist/types/types/PackType.d.ts.map +1 -0
- package/dist/types/types/PackType.js +128 -0
- package/dist/types/types/PackType.js.map +1 -0
- package/dist/types/types/PaymentClass.d.ts +45 -0
- package/dist/types/types/PaymentClass.d.ts.map +1 -0
- package/dist/types/types/PaymentClass.js +128 -0
- package/dist/types/types/PaymentClass.js.map +1 -0
- package/dist/types/types/PoolAccess.d.ts +32 -0
- package/dist/types/types/PoolAccess.d.ts.map +1 -0
- package/dist/types/types/PoolAccess.js +102 -0
- package/dist/types/types/PoolAccess.js.map +1 -0
- package/dist/types/types/PoolState.d.ts +32 -0
- package/dist/types/types/PoolState.d.ts.map +1 -0
- package/dist/types/types/PoolState.js +102 -0
- package/dist/types/types/PoolState.js.map +1 -0
- package/dist/types/types/PoolType.d.ts +32 -0
- package/dist/types/types/PoolType.d.ts.map +1 -0
- package/dist/types/types/PoolType.js +102 -0
- package/dist/types/types/PoolType.js.map +1 -0
- package/dist/types/types/Popularity.d.ts +113 -0
- package/dist/types/types/Popularity.d.ts.map +1 -0
- package/dist/types/types/Popularity.js +80 -0
- package/dist/types/types/Popularity.js.map +1 -0
- package/dist/types/types/PopularityState.d.ts +266 -0
- package/dist/types/types/PopularityState.d.ts.map +1 -0
- package/dist/types/types/PopularityState.js +570 -0
- package/dist/types/types/PopularityState.js.map +1 -0
- package/dist/types/types/PreviousDonationRecord.d.ts +43 -0
- package/dist/types/types/PreviousDonationRecord.d.ts.map +1 -0
- package/dist/types/types/PreviousDonationRecord.js +80 -0
- package/dist/types/types/PreviousDonationRecord.js.map +1 -0
- package/dist/types/types/Price.d.ts +61 -0
- package/dist/types/types/Price.d.ts.map +1 -0
- package/dist/types/types/Price.js +71 -0
- package/dist/types/types/Price.js.map +1 -0
- package/dist/types/types/PriceRule.d.ts +88 -0
- package/dist/types/types/PriceRule.d.ts.map +1 -0
- package/dist/types/types/PriceRule.js +197 -0
- package/dist/types/types/PriceRule.js.map +1 -0
- package/dist/types/types/RecoverDeposit.d.ts +32 -0
- package/dist/types/types/RecoverDeposit.d.ts.map +1 -0
- package/dist/types/types/RecoverDeposit.js +62 -0
- package/dist/types/types/RecoverDeposit.js.map +1 -0
- package/dist/types/types/Rule.d.ts +115 -0
- package/dist/types/types/Rule.d.ts.map +1 -0
- package/dist/types/types/Rule.js +168 -0
- package/dist/types/types/Rule.js.map +1 -0
- package/dist/types/types/SaleConfig.d.ts +208 -0
- package/dist/types/types/SaleConfig.d.ts.map +1 -0
- package/dist/types/types/SaleConfig.js +88 -0
- package/dist/types/types/SaleConfig.js.map +1 -0
- package/dist/types/types/SaleTrack.d.ts +38 -0
- package/dist/types/types/SaleTrack.d.ts.map +1 -0
- package/dist/types/types/SaleTrack.js +85 -0
- package/dist/types/types/SaleTrack.js.map +1 -0
- package/dist/types/types/SaleType.d.ts +58 -0
- package/dist/types/types/SaleType.d.ts.map +1 -0
- package/dist/types/types/SaleType.js +154 -0
- package/dist/types/types/SaleType.js.map +1 -0
- package/dist/types/types/Seed.d.ts +22 -0
- package/dist/types/types/Seed.d.ts.map +1 -0
- package/dist/types/types/Seed.js +61 -0
- package/dist/types/types/Seed.js.map +1 -0
- package/dist/types/types/SelectedCard.d.ts +27 -0
- package/dist/types/types/SelectedCard.d.ts.map +1 -0
- package/dist/types/types/SelectedCard.js +66 -0
- package/dist/types/types/SelectedCard.js.map +1 -0
- package/dist/types/types/SelectedZeroCard.d.ts +27 -0
- package/dist/types/types/SelectedZeroCard.d.ts.map +1 -0
- package/dist/types/types/SelectedZeroCard.js +66 -0
- package/dist/types/types/SelectedZeroCard.js.map +1 -0
- package/dist/types/types/SemiFungibleTraitInit.d.ts +28 -0
- package/dist/types/types/SemiFungibleTraitInit.d.ts.map +1 -0
- package/dist/types/types/SemiFungibleTraitInit.js +70 -0
- package/dist/types/types/SemiFungibleTraitInit.js.map +1 -0
- package/dist/types/types/SemiFungibleTraitInitMap.d.ts +33 -0
- package/dist/types/types/SemiFungibleTraitInitMap.d.ts.map +1 -0
- package/dist/types/types/SemiFungibleTraitInitMap.js +75 -0
- package/dist/types/types/SemiFungibleTraitInitMap.js.map +1 -0
- package/dist/types/types/ShortCreator.d.ts +28 -0
- package/dist/types/types/ShortCreator.d.ts.map +1 -0
- package/dist/types/types/ShortCreator.js +67 -0
- package/dist/types/types/ShortCreator.js.map +1 -0
- package/dist/types/types/ShortMetadata.d.ts +99 -0
- package/dist/types/types/ShortMetadata.d.ts.map +1 -0
- package/dist/types/types/ShortMetadata.js +121 -0
- package/dist/types/types/ShortMetadata.js.map +1 -0
- package/dist/types/types/ShortMetadataArgs.d.ts +54 -0
- package/dist/types/types/ShortMetadataArgs.d.ts.map +1 -0
- package/dist/types/types/ShortMetadataArgs.js +95 -0
- package/dist/types/types/ShortMetadataArgs.js.map +1 -0
- package/dist/types/types/StoreConfig.d.ts +108 -0
- package/dist/types/types/StoreConfig.d.ts.map +1 -0
- package/dist/types/types/StoreConfig.js +93 -0
- package/dist/types/types/StoreConfig.js.map +1 -0
- package/dist/types/types/StoreRule.d.ts +77 -0
- package/dist/types/types/StoreRule.d.ts.map +1 -0
- package/dist/types/types/StoreRule.js +129 -0
- package/dist/types/types/StoreRule.js.map +1 -0
- package/dist/types/types/SuperCategory.d.ts +27 -0
- package/dist/types/types/SuperCategory.d.ts.map +1 -0
- package/dist/types/types/SuperCategory.js +66 -0
- package/dist/types/types/SuperCategory.js.map +1 -0
- package/dist/types/types/TightCardMetadata.d.ts +60 -0
- package/dist/types/types/TightCardMetadata.d.ts.map +1 -0
- package/dist/types/types/TightCardMetadata.js +105 -0
- package/dist/types/types/TightCardMetadata.js.map +1 -0
- package/dist/types/types/TimeRangeType.d.ts +45 -0
- package/dist/types/types/TimeRangeType.d.ts.map +1 -0
- package/dist/types/types/TimeRangeType.js +128 -0
- package/dist/types/types/TimeRangeType.js.map +1 -0
- package/dist/types/types/TimedPerWalletArgs.d.ts +22 -0
- package/dist/types/types/TimedPerWalletArgs.d.ts.map +1 -0
- package/dist/types/types/TimedPerWalletArgs.js +61 -0
- package/dist/types/types/TimedPerWalletArgs.js.map +1 -0
- package/dist/types/types/TokenMetadata.d.ts +32 -0
- package/dist/types/types/TokenMetadata.d.ts.map +1 -0
- package/dist/types/types/TokenMetadata.js +71 -0
- package/dist/types/types/TokenMetadata.js.map +1 -0
- package/dist/types/types/TokenProgramVersion.d.ts +32 -0
- package/dist/types/types/TokenProgramVersion.d.ts.map +1 -0
- package/dist/types/types/TokenProgramVersion.js +102 -0
- package/dist/types/types/TokenProgramVersion.js.map +1 -0
- package/dist/types/types/TokenStandard.d.ts +58 -0
- package/dist/types/types/TokenStandard.d.ts.map +1 -0
- package/dist/types/types/TokenStandard.js +154 -0
- package/dist/types/types/TokenStandard.js.map +1 -0
- package/dist/types/types/TokenState.d.ts +32 -0
- package/dist/types/types/TokenState.d.ts.map +1 -0
- package/dist/types/types/TokenState.js +102 -0
- package/dist/types/types/TokenState.js.map +1 -0
- package/dist/types/types/TokenType.d.ts +32 -0
- package/dist/types/types/TokenType.d.ts.map +1 -0
- package/dist/types/types/TokenType.js +102 -0
- package/dist/types/types/TokenType.js.map +1 -0
- package/dist/types/types/TotalPerTimeArgs.d.ts +37 -0
- package/dist/types/types/TotalPerTimeArgs.d.ts.map +1 -0
- package/dist/types/types/TotalPerTimeArgs.js +81 -0
- package/dist/types/types/TotalPerTimeArgs.js.map +1 -0
- package/dist/types/types/TotalPerTimeWalletArgs.d.ts +27 -0
- package/dist/types/types/TotalPerTimeWalletArgs.d.ts.map +1 -0
- package/dist/types/types/TotalPerTimeWalletArgs.js +66 -0
- package/dist/types/types/TotalPerTimeWalletArgs.js.map +1 -0
- package/dist/types/types/TrackRegistry.d.ts +32 -0
- package/dist/types/types/TrackRegistry.d.ts.map +1 -0
- package/dist/types/types/TrackRegistry.js +102 -0
- package/dist/types/types/TrackRegistry.js.map +1 -0
- package/dist/types/types/TraitInit.d.ts +89 -0
- package/dist/types/types/TraitInit.d.ts.map +1 -0
- package/dist/types/types/TraitInit.js +176 -0
- package/dist/types/types/TraitInit.js.map +1 -0
- package/dist/types/types/TraitPass.d.ts +53 -0
- package/dist/types/types/TraitPass.d.ts.map +1 -0
- package/dist/types/types/TraitPass.js +62 -0
- package/dist/types/types/TraitPass.js.map +1 -0
- package/dist/types/types/TraitPassType.d.ts +97 -0
- package/dist/types/types/TraitPassType.d.ts.map +1 -0
- package/dist/types/types/TraitPassType.js +186 -0
- package/dist/types/types/TraitPassType.js.map +1 -0
- package/dist/types/types/TraitType.d.ts +113 -0
- package/dist/types/types/TraitType.d.ts.map +1 -0
- package/dist/types/types/TraitType.js +207 -0
- package/dist/types/types/TraitType.js.map +1 -0
- package/dist/types/types/TraitValue.d.ts +33 -0
- package/dist/types/types/TraitValue.d.ts.map +1 -0
- package/dist/types/types/TraitValue.js +75 -0
- package/dist/types/types/TraitValue.js.map +1 -0
- package/dist/types/types/UnlocksAfter.d.ts +71 -0
- package/dist/types/types/UnlocksAfter.d.ts.map +1 -0
- package/dist/types/types/UnlocksAfter.js +154 -0
- package/dist/types/types/UnlocksAfter.js.map +1 -0
- package/dist/types/types/UnwrapMetadata.d.ts +80 -0
- package/dist/types/types/UnwrapMetadata.d.ts.map +1 -0
- package/dist/types/types/UnwrapMetadata.js +128 -0
- package/dist/types/types/UnwrapMetadata.js.map +1 -0
- package/dist/types/types/UseMethod.d.ts +45 -0
- package/dist/types/types/UseMethod.d.ts.map +1 -0
- package/dist/types/types/UseMethod.js +128 -0
- package/dist/types/types/UseMethod.js.map +1 -0
- package/dist/types/types/Uses.d.ts +45 -0
- package/dist/types/types/Uses.d.ts.map +1 -0
- package/dist/types/types/Uses.js +80 -0
- package/dist/types/types/Uses.js.map +1 -0
- package/dist/types/types/VerifyCollectionMetadata.d.ts +56 -0
- package/dist/types/types/VerifyCollectionMetadata.d.ts.map +1 -0
- package/dist/types/types/VerifyCollectionMetadata.js +94 -0
- package/dist/types/types/VerifyCollectionMetadata.js.map +1 -0
- package/dist/types/types/VolumeTrack.d.ts +28 -0
- package/dist/types/types/VolumeTrack.d.ts.map +1 -0
- package/dist/types/types/VolumeTrack.js +70 -0
- package/dist/types/types/VolumeTrack.js.map +1 -0
- package/dist/types/types/WrappedSource.d.ts +39 -0
- package/dist/types/types/WrappedSource.d.ts.map +1 -0
- package/dist/types/types/WrappedSource.js +86 -0
- package/dist/types/types/WrappedSource.js.map +1 -0
- package/dist/types/types/ZeroConfig.d.ts +37 -0
- package/dist/types/types/ZeroConfig.d.ts.map +1 -0
- package/dist/types/types/ZeroConfig.js +81 -0
- package/dist/types/types/ZeroConfig.js.map +1 -0
- package/dist/types/types/index.d.ts +333 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/dist/types/types/index.js +265 -0
- package/dist/types/types/index.js.map +1 -0
- package/dist/utility/Connection.d.ts +4 -0
- package/dist/utility/Connection.d.ts.map +1 -0
- package/dist/utility/Connection.js +12 -0
- package/dist/utility/Connection.js.map +1 -0
- package/dist/utility/Holders.d.ts +9 -0
- package/dist/utility/Holders.d.ts.map +1 -0
- package/dist/utility/Holders.js +12 -0
- package/dist/utility/Holders.js.map +1 -0
- package/dist/utility/PdaManager.d.ts +20 -0
- package/dist/utility/PdaManager.d.ts.map +1 -0
- package/dist/utility/PdaManager.js +175 -0
- package/dist/utility/PdaManager.js.map +1 -0
- package/dist/utility/config.d.ts +12 -0
- package/dist/utility/config.d.ts.map +1 -0
- package/dist/utility/config.js +24 -0
- package/dist/utility/config.js.map +1 -0
- package/dist/utility/utils.d.ts +14 -0
- package/dist/utility/utils.d.ts.map +1 -0
- package/dist/utility/utils.js +198 -0
- package/dist/utility/utils.js.map +1 -0
- package/dist/utility/validation.d.ts +13 -0
- package/dist/utility/validation.d.ts.map +1 -0
- package/dist/utility/validation.js +161 -0
- package/dist/utility/validation.js.map +1 -0
- package/package.json +1 -1
@@ -0,0 +1,95 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
+
exports.ShortMetadataArgs = void 0;
|
27
|
+
const web3_js_1 = require("@solana/web3.js"); // eslint-disable-line @typescript-eslint/no-unused-vars
|
28
|
+
const types = __importStar(require("../types")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
29
|
+
const borsh = __importStar(require("@coral-xyz/borsh"));
|
30
|
+
class ShortMetadataArgs {
|
31
|
+
constructor(fields) {
|
32
|
+
this.name = fields.name;
|
33
|
+
this.uri = fields.uri;
|
34
|
+
this.uriType = fields.uriType;
|
35
|
+
this.sellerFeeBasisPoints = fields.sellerFeeBasisPoints;
|
36
|
+
this.collection = fields.collection;
|
37
|
+
this.creators = fields.creators.map((item) => new types.ShortCreator({ ...item }));
|
38
|
+
}
|
39
|
+
static layout(property) {
|
40
|
+
return borsh.struct([
|
41
|
+
borsh.str("name"),
|
42
|
+
borsh.str("uri"),
|
43
|
+
borsh.u8("uriType"),
|
44
|
+
borsh.u16("sellerFeeBasisPoints"),
|
45
|
+
borsh.publicKey("collection"),
|
46
|
+
borsh.vec(types.ShortCreator.layout(), "creators"),
|
47
|
+
], property);
|
48
|
+
}
|
49
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
50
|
+
static fromDecoded(obj) {
|
51
|
+
return new ShortMetadataArgs({
|
52
|
+
name: obj.name,
|
53
|
+
uri: obj.uri,
|
54
|
+
uriType: obj.uriType,
|
55
|
+
sellerFeeBasisPoints: obj.sellerFeeBasisPoints,
|
56
|
+
collection: obj.collection,
|
57
|
+
creators: obj.creators.map((item /* eslint-disable-line @typescript-eslint/no-explicit-any */) => types.ShortCreator.fromDecoded(item)),
|
58
|
+
});
|
59
|
+
}
|
60
|
+
static toEncodable(fields) {
|
61
|
+
return {
|
62
|
+
name: fields.name,
|
63
|
+
uri: fields.uri,
|
64
|
+
uriType: fields.uriType,
|
65
|
+
sellerFeeBasisPoints: fields.sellerFeeBasisPoints,
|
66
|
+
collection: fields.collection,
|
67
|
+
creators: fields.creators.map((item) => types.ShortCreator.toEncodable(item)),
|
68
|
+
};
|
69
|
+
}
|
70
|
+
toJSON() {
|
71
|
+
return {
|
72
|
+
name: this.name,
|
73
|
+
uri: this.uri,
|
74
|
+
uriType: this.uriType,
|
75
|
+
sellerFeeBasisPoints: this.sellerFeeBasisPoints,
|
76
|
+
collection: this.collection.toString(),
|
77
|
+
creators: this.creators.map((item) => item.toJSON()),
|
78
|
+
};
|
79
|
+
}
|
80
|
+
static fromJSON(obj) {
|
81
|
+
return new ShortMetadataArgs({
|
82
|
+
name: obj.name,
|
83
|
+
uri: obj.uri,
|
84
|
+
uriType: obj.uriType,
|
85
|
+
sellerFeeBasisPoints: obj.sellerFeeBasisPoints,
|
86
|
+
collection: new web3_js_1.PublicKey(obj.collection),
|
87
|
+
creators: obj.creators.map((item) => types.ShortCreator.fromJSON(item)),
|
88
|
+
});
|
89
|
+
}
|
90
|
+
toEncodable() {
|
91
|
+
return ShortMetadataArgs.toEncodable(this);
|
92
|
+
}
|
93
|
+
}
|
94
|
+
exports.ShortMetadataArgs = ShortMetadataArgs;
|
95
|
+
//# sourceMappingURL=ShortMetadataArgs.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ShortMetadataArgs.js","sourceRoot":"","sources":["../../../src/types/types/ShortMetadataArgs.ts"],"names":[],"mappings":"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"}
|
@@ -0,0 +1,108 @@
|
|
1
|
+
import { PublicKey } from "@solana/web3.js";
|
2
|
+
import BN from "bn.js";
|
3
|
+
import * as types from "../types";
|
4
|
+
export interface StoreConfigFields {
|
5
|
+
fee: BN;
|
6
|
+
feePercentage: number;
|
7
|
+
feeType: types.FeeTypeKind;
|
8
|
+
trust: PublicKey;
|
9
|
+
rules: Array<types.StoreRuleKind>;
|
10
|
+
}
|
11
|
+
export interface StoreConfigJSON {
|
12
|
+
fee: string;
|
13
|
+
feePercentage: number;
|
14
|
+
feeType: types.FeeTypeJSON;
|
15
|
+
trust: string;
|
16
|
+
rules: Array<types.StoreRuleJSON>;
|
17
|
+
}
|
18
|
+
export declare class StoreConfig {
|
19
|
+
readonly fee: BN;
|
20
|
+
readonly feePercentage: number;
|
21
|
+
readonly feeType: types.FeeTypeKind;
|
22
|
+
readonly trust: PublicKey;
|
23
|
+
readonly rules: Array<types.StoreRuleKind>;
|
24
|
+
constructor(fields: StoreConfigFields);
|
25
|
+
static layout(property?: string): any;
|
26
|
+
static fromDecoded(obj: any): types.StoreConfig;
|
27
|
+
static toEncodable(fields: StoreConfigFields): {
|
28
|
+
fee: BN;
|
29
|
+
feePercentage: number;
|
30
|
+
feeType: {
|
31
|
+
AllMints: {};
|
32
|
+
} | {
|
33
|
+
PricedMintsOnly: {};
|
34
|
+
} | {
|
35
|
+
SkipBurnMints: {};
|
36
|
+
};
|
37
|
+
trust: PublicKey;
|
38
|
+
rules: ({
|
39
|
+
ListingPerWallet: {
|
40
|
+
config: {
|
41
|
+
amount: number;
|
42
|
+
};
|
43
|
+
};
|
44
|
+
} | {
|
45
|
+
AllowedCurrency: {
|
46
|
+
config: {
|
47
|
+
Native: {};
|
48
|
+
} | {
|
49
|
+
Spl: {
|
50
|
+
id: PublicKey;
|
51
|
+
};
|
52
|
+
} | {
|
53
|
+
Collection: {
|
54
|
+
id: PublicKey;
|
55
|
+
};
|
56
|
+
} | {
|
57
|
+
Creator: {
|
58
|
+
id: PublicKey;
|
59
|
+
};
|
60
|
+
} | {
|
61
|
+
None: {};
|
62
|
+
};
|
63
|
+
};
|
64
|
+
})[];
|
65
|
+
};
|
66
|
+
toJSON(): StoreConfigJSON;
|
67
|
+
static fromJSON(obj: StoreConfigJSON): StoreConfig;
|
68
|
+
toEncodable(): {
|
69
|
+
fee: BN;
|
70
|
+
feePercentage: number;
|
71
|
+
feeType: {
|
72
|
+
AllMints: {};
|
73
|
+
} | {
|
74
|
+
PricedMintsOnly: {};
|
75
|
+
} | {
|
76
|
+
SkipBurnMints: {};
|
77
|
+
};
|
78
|
+
trust: PublicKey;
|
79
|
+
rules: ({
|
80
|
+
ListingPerWallet: {
|
81
|
+
config: {
|
82
|
+
amount: number;
|
83
|
+
};
|
84
|
+
};
|
85
|
+
} | {
|
86
|
+
AllowedCurrency: {
|
87
|
+
config: {
|
88
|
+
Native: {};
|
89
|
+
} | {
|
90
|
+
Spl: {
|
91
|
+
id: PublicKey;
|
92
|
+
};
|
93
|
+
} | {
|
94
|
+
Collection: {
|
95
|
+
id: PublicKey;
|
96
|
+
};
|
97
|
+
} | {
|
98
|
+
Creator: {
|
99
|
+
id: PublicKey;
|
100
|
+
};
|
101
|
+
} | {
|
102
|
+
None: {};
|
103
|
+
};
|
104
|
+
};
|
105
|
+
})[];
|
106
|
+
};
|
107
|
+
}
|
108
|
+
//# sourceMappingURL=StoreConfig.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"StoreConfig.d.ts","sourceRoot":"","sources":["../../../src/types/types/StoreConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,MAAM,OAAO,CAAA;AACtB,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,EAAE,CAAA;IACP,aAAa,EAAE,MAAM,CAAA;IACrB,OAAO,EAAE,KAAK,CAAC,WAAW,CAAA;IAC1B,KAAK,EAAE,SAAS,CAAA;IAChB,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,CAAA;CAClC;AAED,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAA;IACX,aAAa,EAAE,MAAM,CAAA;IACrB,OAAO,EAAE,KAAK,CAAC,WAAW,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,CAAA;CAClC;AAED,qBAAa,WAAW;IACtB,QAAQ,CAAC,GAAG,EAAE,EAAE,CAAA;IAChB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAA;IAC9B,QAAQ,CAAC,OAAO,EAAE,KAAK,CAAC,WAAW,CAAA;IACnC,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAA;IACzB,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,CAAA;gBAE9B,MAAM,EAAE,iBAAiB;IAQrC,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM;IAc/B,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG;IAc3B,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAU5C,MAAM,IAAI,eAAe;IAUzB,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,eAAe,GAAG,WAAW;IAUlD,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGZ"}
|
@@ -0,0 +1,93 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.StoreConfig = void 0;
|
30
|
+
const web3_js_1 = require("@solana/web3.js"); // eslint-disable-line @typescript-eslint/no-unused-vars
|
31
|
+
const bn_js_1 = __importDefault(require("bn.js")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
32
|
+
const types = __importStar(require("../types")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
33
|
+
const borsh = __importStar(require("@coral-xyz/borsh"));
|
34
|
+
class StoreConfig {
|
35
|
+
constructor(fields) {
|
36
|
+
this.fee = fields.fee;
|
37
|
+
this.feePercentage = fields.feePercentage;
|
38
|
+
this.feeType = fields.feeType;
|
39
|
+
this.trust = fields.trust;
|
40
|
+
this.rules = fields.rules;
|
41
|
+
}
|
42
|
+
static layout(property) {
|
43
|
+
return borsh.struct([
|
44
|
+
borsh.u64("fee"),
|
45
|
+
borsh.u16("feePercentage"),
|
46
|
+
types.FeeType.layout("feeType"),
|
47
|
+
borsh.publicKey("trust"),
|
48
|
+
borsh.vec(types.StoreRule.layout(), "rules"),
|
49
|
+
], property);
|
50
|
+
}
|
51
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
52
|
+
static fromDecoded(obj) {
|
53
|
+
return new StoreConfig({
|
54
|
+
fee: obj.fee,
|
55
|
+
feePercentage: obj.feePercentage,
|
56
|
+
feeType: types.FeeType.fromDecoded(obj.feeType),
|
57
|
+
trust: obj.trust,
|
58
|
+
rules: obj.rules.map((item /* eslint-disable-line @typescript-eslint/no-explicit-any */) => types.StoreRule.fromDecoded(item)),
|
59
|
+
});
|
60
|
+
}
|
61
|
+
static toEncodable(fields) {
|
62
|
+
return {
|
63
|
+
fee: fields.fee,
|
64
|
+
feePercentage: fields.feePercentage,
|
65
|
+
feeType: fields.feeType.toEncodable(),
|
66
|
+
trust: fields.trust,
|
67
|
+
rules: fields.rules.map((item) => item.toEncodable()),
|
68
|
+
};
|
69
|
+
}
|
70
|
+
toJSON() {
|
71
|
+
return {
|
72
|
+
fee: this.fee.toString(),
|
73
|
+
feePercentage: this.feePercentage,
|
74
|
+
feeType: this.feeType.toJSON(),
|
75
|
+
trust: this.trust.toString(),
|
76
|
+
rules: this.rules.map((item) => item.toJSON()),
|
77
|
+
};
|
78
|
+
}
|
79
|
+
static fromJSON(obj) {
|
80
|
+
return new StoreConfig({
|
81
|
+
fee: new bn_js_1.default(obj.fee),
|
82
|
+
feePercentage: obj.feePercentage,
|
83
|
+
feeType: types.FeeType.fromJSON(obj.feeType),
|
84
|
+
trust: new web3_js_1.PublicKey(obj.trust),
|
85
|
+
rules: obj.rules.map((item) => types.StoreRule.fromJSON(item)),
|
86
|
+
});
|
87
|
+
}
|
88
|
+
toEncodable() {
|
89
|
+
return StoreConfig.toEncodable(this);
|
90
|
+
}
|
91
|
+
}
|
92
|
+
exports.StoreConfig = StoreConfig;
|
93
|
+
//# sourceMappingURL=StoreConfig.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"StoreConfig.js","sourceRoot":"","sources":["../../../src/types/types/StoreConfig.ts"],"names":[],"mappings":"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"}
|
@@ -0,0 +1,77 @@
|
|
1
|
+
import { PublicKey } from "@solana/web3.js";
|
2
|
+
import * as types from "../types";
|
3
|
+
import * as borsh from "@coral-xyz/borsh";
|
4
|
+
export type ListingPerWalletFields = {
|
5
|
+
config: types.ListingPerWalletArgsFields;
|
6
|
+
};
|
7
|
+
export type ListingPerWalletValue = {
|
8
|
+
config: types.ListingPerWalletArgs;
|
9
|
+
};
|
10
|
+
export interface ListingPerWalletJSON {
|
11
|
+
kind: "ListingPerWallet";
|
12
|
+
value: {
|
13
|
+
config: types.ListingPerWalletArgsJSON;
|
14
|
+
};
|
15
|
+
}
|
16
|
+
export declare class ListingPerWallet {
|
17
|
+
static readonly discriminator = 0;
|
18
|
+
static readonly kind = "ListingPerWallet";
|
19
|
+
readonly discriminator = 0;
|
20
|
+
readonly kind = "ListingPerWallet";
|
21
|
+
readonly value: ListingPerWalletValue;
|
22
|
+
constructor(value: ListingPerWalletFields);
|
23
|
+
toJSON(): ListingPerWalletJSON;
|
24
|
+
toEncodable(): {
|
25
|
+
ListingPerWallet: {
|
26
|
+
config: {
|
27
|
+
amount: number;
|
28
|
+
};
|
29
|
+
};
|
30
|
+
};
|
31
|
+
}
|
32
|
+
export type AllowedCurrencyFields = {
|
33
|
+
config: types.CurrencyTypeKind;
|
34
|
+
};
|
35
|
+
export type AllowedCurrencyValue = {
|
36
|
+
config: types.CurrencyTypeKind;
|
37
|
+
};
|
38
|
+
export interface AllowedCurrencyJSON {
|
39
|
+
kind: "AllowedCurrency";
|
40
|
+
value: {
|
41
|
+
config: types.CurrencyTypeJSON;
|
42
|
+
};
|
43
|
+
}
|
44
|
+
export declare class AllowedCurrency {
|
45
|
+
static readonly discriminator = 1;
|
46
|
+
static readonly kind = "AllowedCurrency";
|
47
|
+
readonly discriminator = 1;
|
48
|
+
readonly kind = "AllowedCurrency";
|
49
|
+
readonly value: AllowedCurrencyValue;
|
50
|
+
constructor(value: AllowedCurrencyFields);
|
51
|
+
toJSON(): AllowedCurrencyJSON;
|
52
|
+
toEncodable(): {
|
53
|
+
AllowedCurrency: {
|
54
|
+
config: {
|
55
|
+
Native: {};
|
56
|
+
} | {
|
57
|
+
Spl: {
|
58
|
+
id: PublicKey;
|
59
|
+
};
|
60
|
+
} | {
|
61
|
+
Collection: {
|
62
|
+
id: PublicKey;
|
63
|
+
};
|
64
|
+
} | {
|
65
|
+
Creator: {
|
66
|
+
id: PublicKey;
|
67
|
+
};
|
68
|
+
} | {
|
69
|
+
None: {};
|
70
|
+
};
|
71
|
+
};
|
72
|
+
};
|
73
|
+
}
|
74
|
+
export declare function fromDecoded(obj: any): types.StoreRuleKind;
|
75
|
+
export declare function fromJSON(obj: types.StoreRuleJSON): types.StoreRuleKind;
|
76
|
+
export declare function layout(property?: string): borsh.EnumLayout<unknown>;
|
77
|
+
//# sourceMappingURL=StoreRule.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"StoreRule.d.ts","sourceRoot":"","sources":["../../../src/types/types/StoreRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAE3C,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AACjC,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAA;AAEzC,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,KAAK,CAAC,0BAA0B,CAAA;CACzC,CAAA;AACD,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,KAAK,CAAC,oBAAoB,CAAA;CACnC,CAAA;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,kBAAkB,CAAA;IACxB,KAAK,EAAE;QACL,MAAM,EAAE,KAAK,CAAC,wBAAwB,CAAA;KACvC,CAAA;CACF;AAED,qBAAa,gBAAgB;IAC3B,MAAM,CAAC,QAAQ,CAAC,aAAa,KAAI;IACjC,MAAM,CAAC,QAAQ,CAAC,IAAI,sBAAqB;IACzC,QAAQ,CAAC,aAAa,KAAI;IAC1B,QAAQ,CAAC,IAAI,sBAAqB;IAClC,QAAQ,CAAC,KAAK,EAAE,qBAAqB,CAAA;gBAEzB,KAAK,EAAE,sBAAsB;IAMzC,MAAM,IAAI,oBAAoB;IAS9B,WAAW;;;;;;;CAOZ;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,KAAK,CAAC,gBAAgB,CAAA;CAC/B,CAAA;AACD,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,EAAE,KAAK,CAAC,gBAAgB,CAAA;CAC/B,CAAA;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,iBAAiB,CAAA;IACvB,KAAK,EAAE;QACL,MAAM,EAAE,KAAK,CAAC,gBAAgB,CAAA;KAC/B,CAAA;CACF;AAED,qBAAa,eAAe;IAC1B,MAAM,CAAC,QAAQ,CAAC,aAAa,KAAI;IACjC,MAAM,CAAC,QAAQ,CAAC,IAAI,qBAAoB;IACxC,QAAQ,CAAC,aAAa,KAAI;IAC1B,QAAQ,CAAC,IAAI,qBAAoB;IACjC,QAAQ,CAAC,KAAK,EAAE,oBAAoB,CAAA;gBAExB,KAAK,EAAE,qBAAqB;IAMxC,MAAM,IAAI,mBAAmB;IAS7B,WAAW;;;;;;;;;;;;;;;;;;;;;CAOZ;AAGD,wBAAgB,WAAW,CAAC,GAAG,EAAE,GAAG,GAAG,KAAK,CAAC,aAAa,CAmBzD;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,KAAK,CAAC,aAAa,GAAG,KAAK,CAAC,aAAa,CAatE;AAED,wBAAgB,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,6BAYvC"}
|
@@ -0,0 +1,129 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
+
exports.AllowedCurrency = exports.ListingPerWallet = void 0;
|
27
|
+
exports.fromDecoded = fromDecoded;
|
28
|
+
exports.fromJSON = fromJSON;
|
29
|
+
exports.layout = layout;
|
30
|
+
const types = __importStar(require("../types")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
31
|
+
const borsh = __importStar(require("@coral-xyz/borsh"));
|
32
|
+
class ListingPerWallet {
|
33
|
+
constructor(value) {
|
34
|
+
this.discriminator = 0;
|
35
|
+
this.kind = "ListingPerWallet";
|
36
|
+
this.value = {
|
37
|
+
config: new types.ListingPerWalletArgs({ ...value.config }),
|
38
|
+
};
|
39
|
+
}
|
40
|
+
toJSON() {
|
41
|
+
return {
|
42
|
+
kind: "ListingPerWallet",
|
43
|
+
value: {
|
44
|
+
config: this.value.config.toJSON(),
|
45
|
+
},
|
46
|
+
};
|
47
|
+
}
|
48
|
+
toEncodable() {
|
49
|
+
return {
|
50
|
+
ListingPerWallet: {
|
51
|
+
config: types.ListingPerWalletArgs.toEncodable(this.value.config),
|
52
|
+
},
|
53
|
+
};
|
54
|
+
}
|
55
|
+
}
|
56
|
+
exports.ListingPerWallet = ListingPerWallet;
|
57
|
+
ListingPerWallet.discriminator = 0;
|
58
|
+
ListingPerWallet.kind = "ListingPerWallet";
|
59
|
+
class AllowedCurrency {
|
60
|
+
constructor(value) {
|
61
|
+
this.discriminator = 1;
|
62
|
+
this.kind = "AllowedCurrency";
|
63
|
+
this.value = {
|
64
|
+
config: value.config,
|
65
|
+
};
|
66
|
+
}
|
67
|
+
toJSON() {
|
68
|
+
return {
|
69
|
+
kind: "AllowedCurrency",
|
70
|
+
value: {
|
71
|
+
config: this.value.config.toJSON(),
|
72
|
+
},
|
73
|
+
};
|
74
|
+
}
|
75
|
+
toEncodable() {
|
76
|
+
return {
|
77
|
+
AllowedCurrency: {
|
78
|
+
config: this.value.config.toEncodable(),
|
79
|
+
},
|
80
|
+
};
|
81
|
+
}
|
82
|
+
}
|
83
|
+
exports.AllowedCurrency = AllowedCurrency;
|
84
|
+
AllowedCurrency.discriminator = 1;
|
85
|
+
AllowedCurrency.kind = "AllowedCurrency";
|
86
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
87
|
+
function fromDecoded(obj) {
|
88
|
+
if (typeof obj !== "object") {
|
89
|
+
throw new Error("Invalid enum object");
|
90
|
+
}
|
91
|
+
if ("ListingPerWallet" in obj) {
|
92
|
+
const val = obj["ListingPerWallet"];
|
93
|
+
return new ListingPerWallet({
|
94
|
+
config: types.ListingPerWalletArgs.fromDecoded(val["config"]),
|
95
|
+
});
|
96
|
+
}
|
97
|
+
if ("AllowedCurrency" in obj) {
|
98
|
+
const val = obj["AllowedCurrency"];
|
99
|
+
return new AllowedCurrency({
|
100
|
+
config: types.CurrencyType.fromDecoded(val["config"]),
|
101
|
+
});
|
102
|
+
}
|
103
|
+
throw new Error("Invalid enum object");
|
104
|
+
}
|
105
|
+
function fromJSON(obj) {
|
106
|
+
switch (obj.kind) {
|
107
|
+
case "ListingPerWallet": {
|
108
|
+
return new ListingPerWallet({
|
109
|
+
config: types.ListingPerWalletArgs.fromJSON(obj.value.config),
|
110
|
+
});
|
111
|
+
}
|
112
|
+
case "AllowedCurrency": {
|
113
|
+
return new AllowedCurrency({
|
114
|
+
config: types.CurrencyType.fromJSON(obj.value.config),
|
115
|
+
});
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
function layout(property) {
|
120
|
+
const ret = borsh.rustEnum([
|
121
|
+
borsh.struct([types.ListingPerWalletArgs.layout("config")], "ListingPerWallet"),
|
122
|
+
borsh.struct([types.CurrencyType.layout("config")], "AllowedCurrency"),
|
123
|
+
]);
|
124
|
+
if (property !== undefined) {
|
125
|
+
return ret.replicate(property);
|
126
|
+
}
|
127
|
+
return ret;
|
128
|
+
}
|
129
|
+
//# sourceMappingURL=StoreRule.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"StoreRule.js","sourceRoot":"","sources":["../../../src/types/types/StoreRule.ts"],"names":[],"mappings":"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"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import * as types from "../types";
|
2
|
+
export interface SuperCategoryFields {
|
3
|
+
cat1: number;
|
4
|
+
cat2: number;
|
5
|
+
}
|
6
|
+
export interface SuperCategoryJSON {
|
7
|
+
cat1: number;
|
8
|
+
cat2: number;
|
9
|
+
}
|
10
|
+
export declare class SuperCategory {
|
11
|
+
readonly cat1: number;
|
12
|
+
readonly cat2: number;
|
13
|
+
constructor(fields: SuperCategoryFields);
|
14
|
+
static layout(property?: string): any;
|
15
|
+
static fromDecoded(obj: any): types.SuperCategory;
|
16
|
+
static toEncodable(fields: SuperCategoryFields): {
|
17
|
+
cat1: number;
|
18
|
+
cat2: number;
|
19
|
+
};
|
20
|
+
toJSON(): SuperCategoryJSON;
|
21
|
+
static fromJSON(obj: SuperCategoryJSON): SuperCategory;
|
22
|
+
toEncodable(): {
|
23
|
+
cat1: number;
|
24
|
+
cat2: number;
|
25
|
+
};
|
26
|
+
}
|
27
|
+
//# sourceMappingURL=SuperCategory.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SuperCategory.d.ts","sourceRoot":"","sources":["../../../src/types/types/SuperCategory.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb;AAED,qBAAa,aAAa;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;gBAET,MAAM,EAAE,mBAAmB;IAKvC,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM;IAK/B,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG;IAO3B,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,mBAAmB;;;;IAO9C,MAAM,IAAI,iBAAiB;IAO3B,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,iBAAiB,GAAG,aAAa;IAOtD,WAAW;;;;CAGZ"}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
+
exports.SuperCategory = void 0;
|
27
|
+
const borsh = __importStar(require("@coral-xyz/borsh"));
|
28
|
+
class SuperCategory {
|
29
|
+
constructor(fields) {
|
30
|
+
this.cat1 = fields.cat1;
|
31
|
+
this.cat2 = fields.cat2;
|
32
|
+
}
|
33
|
+
static layout(property) {
|
34
|
+
return borsh.struct([borsh.u8("cat1"), borsh.u8("cat2")], property);
|
35
|
+
}
|
36
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
37
|
+
static fromDecoded(obj) {
|
38
|
+
return new SuperCategory({
|
39
|
+
cat1: obj.cat1,
|
40
|
+
cat2: obj.cat2,
|
41
|
+
});
|
42
|
+
}
|
43
|
+
static toEncodable(fields) {
|
44
|
+
return {
|
45
|
+
cat1: fields.cat1,
|
46
|
+
cat2: fields.cat2,
|
47
|
+
};
|
48
|
+
}
|
49
|
+
toJSON() {
|
50
|
+
return {
|
51
|
+
cat1: this.cat1,
|
52
|
+
cat2: this.cat2,
|
53
|
+
};
|
54
|
+
}
|
55
|
+
static fromJSON(obj) {
|
56
|
+
return new SuperCategory({
|
57
|
+
cat1: obj.cat1,
|
58
|
+
cat2: obj.cat2,
|
59
|
+
});
|
60
|
+
}
|
61
|
+
toEncodable() {
|
62
|
+
return SuperCategory.toEncodable(this);
|
63
|
+
}
|
64
|
+
}
|
65
|
+
exports.SuperCategory = SuperCategory;
|
66
|
+
//# sourceMappingURL=SuperCategory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SuperCategory.js","sourceRoot":"","sources":["../../../src/types/types/SuperCategory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wDAAyC;AAYzC,MAAa,aAAa;IAIxB,YAAY,MAA2B;QACrC,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAA;QACvB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAA;IACzB,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,QAAiB;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAA;IACrE,CAAC;IAED,8DAA8D;IAC9D,MAAM,CAAC,WAAW,CAAC,GAAQ;QACzB,OAAO,IAAI,aAAa,CAAC;YACvB,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,IAAI,EAAE,GAAG,CAAC,IAAI;SACf,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,MAA2B;QAC5C,OAAO;YACL,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,IAAI,EAAE,MAAM,CAAC,IAAI;SAClB,CAAA;IACH,CAAC;IAED,MAAM;QACJ,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,IAAI,EAAE,IAAI,CAAC,IAAI;SAChB,CAAA;IACH,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,GAAsB;QACpC,OAAO,IAAI,aAAa,CAAC;YACvB,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,IAAI,EAAE,GAAG,CAAC,IAAI;SACf,CAAC,CAAA;IACJ,CAAC;IAED,WAAW;QACT,OAAO,aAAa,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;IACxC,CAAC;CACF;AA7CD,sCA6CC"}
|