3land_sdk 1.0.4 → 1.0.6
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 +68 -0
- package/dist/index.js.map +1 -0
- package/dist/library/Irys/irys.d.ts +79 -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 +377 -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 +389 -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 +28 -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
- package/src/index.ts +9 -5
- package/src/library/Irys/irys.ts +3 -3
- package/src/library/Store.ts +20 -2
- package/src/library/implementation/storeImplementation.ts +97 -29
- package/src/types/implementation/implementationTypes.ts +4 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TraitType.js","sourceRoot":"","sources":["../../../src/types/types/TraitType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmLA,kCAmCC;AAED,4BAwBC;AAED,wBAwBC;AAzQD,kDAAsB,CAAC,wDAAwD;AAC/E,gDAAiC,CAAC,wDAAwD;AAC1F,wDAAyC;AAyBzC,MAAa,YAAY;IAOvB,YAAY,KAAyB;QAJ5B,kBAAa,GAAG,CAAC,CAAA;QACjB,SAAI,GAAG,cAAc,CAAA;QAI5B,IAAI,CAAC,KAAK,GAAG;YACX,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,KAAK,EAAE,KAAK,CAAC,KAAK;SACnB,CAAA;IACH,CAAC;IAED,MAAM;QACJ,OAAO;YACL,IAAI,EAAE,cAAc;YACpB,KAAK,EAAE;gBACL,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE;gBAChC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK;gBACvB,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,EAAE;gBACpC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE;aACnC;SACF,CAAA;IACH,CAAC;IAED,WAAW;QACT,OAAO;YACL,YAAY,EAAE;gBACZ,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI;gBACrB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK;gBACvB,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM;gBACzB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK;aACxB;SACF,CAAA;IACH,CAAC;;AArCH,oCAsCC;AArCiB,0BAAa,GAAG,CAAC,AAAJ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AA;IAChC,CAAC;IACD,OAAO,GAAG,CAAA;AACZ,CAAC"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import BN from "bn.js";
|
2
|
+
import * as types from "../types";
|
3
|
+
export interface TraitValueFields {
|
4
|
+
hash: BN;
|
5
|
+
count: number;
|
6
|
+
supply: BN;
|
7
|
+
}
|
8
|
+
export interface TraitValueJSON {
|
9
|
+
hash: string;
|
10
|
+
count: number;
|
11
|
+
supply: string;
|
12
|
+
}
|
13
|
+
export declare class TraitValue {
|
14
|
+
readonly hash: BN;
|
15
|
+
readonly count: number;
|
16
|
+
readonly supply: BN;
|
17
|
+
constructor(fields: TraitValueFields);
|
18
|
+
static layout(property?: string): any;
|
19
|
+
static fromDecoded(obj: any): types.TraitValue;
|
20
|
+
static toEncodable(fields: TraitValueFields): {
|
21
|
+
hash: BN;
|
22
|
+
count: number;
|
23
|
+
supply: BN;
|
24
|
+
};
|
25
|
+
toJSON(): TraitValueJSON;
|
26
|
+
static fromJSON(obj: TraitValueJSON): TraitValue;
|
27
|
+
toEncodable(): {
|
28
|
+
hash: BN;
|
29
|
+
count: number;
|
30
|
+
supply: BN;
|
31
|
+
};
|
32
|
+
}
|
33
|
+
//# sourceMappingURL=TraitValue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TraitValue.d.ts","sourceRoot":"","sources":["../../../src/types/types/TraitValue.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,OAAO,CAAA;AACtB,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,EAAE,CAAA;IACR,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,EAAE,CAAA;CACX;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAED,qBAAa,UAAU;IACrB,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAA;IACjB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,MAAM,EAAE,EAAE,CAAA;gBAEP,MAAM,EAAE,gBAAgB;IAMpC,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM;IAQ/B,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG;IAQ3B,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,gBAAgB;;;;;IAQ3C,MAAM,IAAI,cAAc;IAQxB,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,cAAc,GAAG,UAAU;IAQhD,WAAW;;;;;CAGZ"}
|
@@ -0,0 +1,75 @@
|
|
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.TraitValue = void 0;
|
30
|
+
const bn_js_1 = __importDefault(require("bn.js")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
31
|
+
const borsh = __importStar(require("@coral-xyz/borsh"));
|
32
|
+
class TraitValue {
|
33
|
+
constructor(fields) {
|
34
|
+
this.hash = fields.hash;
|
35
|
+
this.count = fields.count;
|
36
|
+
this.supply = fields.supply;
|
37
|
+
}
|
38
|
+
static layout(property) {
|
39
|
+
return borsh.struct([borsh.u64("hash"), borsh.u32("count"), borsh.u64("supply")], property);
|
40
|
+
}
|
41
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
42
|
+
static fromDecoded(obj) {
|
43
|
+
return new TraitValue({
|
44
|
+
hash: obj.hash,
|
45
|
+
count: obj.count,
|
46
|
+
supply: obj.supply,
|
47
|
+
});
|
48
|
+
}
|
49
|
+
static toEncodable(fields) {
|
50
|
+
return {
|
51
|
+
hash: fields.hash,
|
52
|
+
count: fields.count,
|
53
|
+
supply: fields.supply,
|
54
|
+
};
|
55
|
+
}
|
56
|
+
toJSON() {
|
57
|
+
return {
|
58
|
+
hash: this.hash.toString(),
|
59
|
+
count: this.count,
|
60
|
+
supply: this.supply.toString(),
|
61
|
+
};
|
62
|
+
}
|
63
|
+
static fromJSON(obj) {
|
64
|
+
return new TraitValue({
|
65
|
+
hash: new bn_js_1.default(obj.hash),
|
66
|
+
count: obj.count,
|
67
|
+
supply: new bn_js_1.default(obj.supply),
|
68
|
+
});
|
69
|
+
}
|
70
|
+
toEncodable() {
|
71
|
+
return TraitValue.toEncodable(this);
|
72
|
+
}
|
73
|
+
}
|
74
|
+
exports.TraitValue = TraitValue;
|
75
|
+
//# sourceMappingURL=TraitValue.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TraitValue.js","sourceR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,CAAC;YACpB,IAAI,EAAE,IAAI,eAAE,CAAC,GAAG,CAAC,IAAI,CAAC;YACtB,KAAK,EAAE,GAAG,CAAC,KAAK;YAChB,MAAM,EAAE,IAAI,eAAE,CAAC,GAAG,CAAC,MAAM,CAAC;SAC3B,CAAC,CAAA;IACJ,CAAC;IAED,WAAW;QACT,OAAO,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;IACrC,CAAC;CACF;AAtDD,gCAsDC"}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
import * as types from "../types";
|
2
|
+
import * as borsh from "@coral-xyz/borsh";
|
3
|
+
export interface MintingOutJSON {
|
4
|
+
kind: "MintingOut";
|
5
|
+
}
|
6
|
+
export declare class MintingOut {
|
7
|
+
static readonly discriminator = 0;
|
8
|
+
static readonly kind = "MintingOut";
|
9
|
+
readonly discriminator = 0;
|
10
|
+
readonly kind = "MintingOut";
|
11
|
+
toJSON(): MintingOutJSON;
|
12
|
+
toEncodable(): {
|
13
|
+
MintingOut: {};
|
14
|
+
};
|
15
|
+
}
|
16
|
+
export type SupplyFields = {
|
17
|
+
limit: number;
|
18
|
+
};
|
19
|
+
export type SupplyValue = {
|
20
|
+
limit: number;
|
21
|
+
};
|
22
|
+
export interface SupplyJSON {
|
23
|
+
kind: "Supply";
|
24
|
+
value: {
|
25
|
+
limit: number;
|
26
|
+
};
|
27
|
+
}
|
28
|
+
export declare class Supply {
|
29
|
+
static readonly discriminator = 1;
|
30
|
+
static readonly kind = "Supply";
|
31
|
+
readonly discriminator = 1;
|
32
|
+
readonly kind = "Supply";
|
33
|
+
readonly value: SupplyValue;
|
34
|
+
constructor(value: SupplyFields);
|
35
|
+
toJSON(): SupplyJSON;
|
36
|
+
toEncodable(): {
|
37
|
+
Supply: {
|
38
|
+
limit: number;
|
39
|
+
};
|
40
|
+
};
|
41
|
+
}
|
42
|
+
export type HoursFields = {
|
43
|
+
hours: number;
|
44
|
+
};
|
45
|
+
export type HoursValue = {
|
46
|
+
hours: number;
|
47
|
+
};
|
48
|
+
export interface HoursJSON {
|
49
|
+
kind: "Hours";
|
50
|
+
value: {
|
51
|
+
hours: number;
|
52
|
+
};
|
53
|
+
}
|
54
|
+
export declare class Hours {
|
55
|
+
static readonly discriminator = 2;
|
56
|
+
static readonly kind = "Hours";
|
57
|
+
readonly discriminator = 2;
|
58
|
+
readonly kind = "Hours";
|
59
|
+
readonly value: HoursValue;
|
60
|
+
constructor(value: HoursFields);
|
61
|
+
toJSON(): HoursJSON;
|
62
|
+
toEncodable(): {
|
63
|
+
Hours: {
|
64
|
+
hours: number;
|
65
|
+
};
|
66
|
+
};
|
67
|
+
}
|
68
|
+
export declare function fromDecoded(obj: any): types.UnlocksAfterKind;
|
69
|
+
export declare function fromJSON(obj: types.UnlocksAfterJSON): types.UnlocksAfterKind;
|
70
|
+
export declare function layout(property?: string): borsh.EnumLayout<unknown>;
|
71
|
+
//# sourceMappingURL=UnlocksAfter.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UnlocksAfter.d.ts","sourceRoot":"","sources":["../../../src/types/types/UnlocksAfter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AACjC,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAA;AAEzC,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,qBAAa,UAAU;IACrB,MAAM,CAAC,QAAQ,CAAC,aAAa,KAAI;IACjC,MAAM,CAAC,QAAQ,CAAC,IAAI,gBAAe;IACnC,QAAQ,CAAC,aAAa,KAAI;IAC1B,QAAQ,CAAC,IAAI,gBAAe;IAE5B,MAAM,IAAI,cAAc;IAMxB,WAAW;;;CAKZ;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AACD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,WAAW,U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) || (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.Hours = exports.Supply = exports.MintingOut = void 0;
|
27
|
+
exports.fromDecoded = fromDecoded;
|
28
|
+
exports.fromJSON = fromJSON;
|
29
|
+
exports.layout = layout;
|
30
|
+
const borsh = __importStar(require("@coral-xyz/borsh"));
|
31
|
+
class MintingOut {
|
32
|
+
constructor() {
|
33
|
+
this.discriminator = 0;
|
34
|
+
this.kind = "MintingOut";
|
35
|
+
}
|
36
|
+
toJSON() {
|
37
|
+
return {
|
38
|
+
kind: "MintingOut",
|
39
|
+
};
|
40
|
+
}
|
41
|
+
toEncodable() {
|
42
|
+
return {
|
43
|
+
MintingOut: {},
|
44
|
+
};
|
45
|
+
}
|
46
|
+
}
|
47
|
+
exports.MintingOut = MintingOut;
|
48
|
+
MintingOut.discriminator = 0;
|
49
|
+
MintingOut.kind = "MintingOut";
|
50
|
+
class Supply {
|
51
|
+
constructor(value) {
|
52
|
+
this.discriminator = 1;
|
53
|
+
this.kind = "Supply";
|
54
|
+
this.value = {
|
55
|
+
limit: value.limit,
|
56
|
+
};
|
57
|
+
}
|
58
|
+
toJSON() {
|
59
|
+
return {
|
60
|
+
kind: "Supply",
|
61
|
+
value: {
|
62
|
+
limit: this.value.limit,
|
63
|
+
},
|
64
|
+
};
|
65
|
+
}
|
66
|
+
toEncodable() {
|
67
|
+
return {
|
68
|
+
Supply: {
|
69
|
+
limit: this.value.limit,
|
70
|
+
},
|
71
|
+
};
|
72
|
+
}
|
73
|
+
}
|
74
|
+
exports.Supply = Supply;
|
75
|
+
Supply.discriminator = 1;
|
76
|
+
Supply.kind = "Supply";
|
77
|
+
class Hours {
|
78
|
+
constructor(value) {
|
79
|
+
this.discriminator = 2;
|
80
|
+
this.kind = "Hours";
|
81
|
+
this.value = {
|
82
|
+
hours: value.hours,
|
83
|
+
};
|
84
|
+
}
|
85
|
+
toJSON() {
|
86
|
+
return {
|
87
|
+
kind: "Hours",
|
88
|
+
value: {
|
89
|
+
hours: this.value.hours,
|
90
|
+
},
|
91
|
+
};
|
92
|
+
}
|
93
|
+
toEncodable() {
|
94
|
+
return {
|
95
|
+
Hours: {
|
96
|
+
hours: this.value.hours,
|
97
|
+
},
|
98
|
+
};
|
99
|
+
}
|
100
|
+
}
|
101
|
+
exports.Hours = Hours;
|
102
|
+
Hours.discriminator = 2;
|
103
|
+
Hours.kind = "Hours";
|
104
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
105
|
+
function fromDecoded(obj) {
|
106
|
+
if (typeof obj !== "object") {
|
107
|
+
throw new Error("Invalid enum object");
|
108
|
+
}
|
109
|
+
if ("MintingOut" in obj) {
|
110
|
+
return new MintingOut();
|
111
|
+
}
|
112
|
+
if ("Supply" in obj) {
|
113
|
+
const val = obj["Supply"];
|
114
|
+
return new Supply({
|
115
|
+
limit: val["limit"],
|
116
|
+
});
|
117
|
+
}
|
118
|
+
if ("Hours" in obj) {
|
119
|
+
const val = obj["Hours"];
|
120
|
+
return new Hours({
|
121
|
+
hours: val["hours"],
|
122
|
+
});
|
123
|
+
}
|
124
|
+
throw new Error("Invalid enum object");
|
125
|
+
}
|
126
|
+
function fromJSON(obj) {
|
127
|
+
switch (obj.kind) {
|
128
|
+
case "MintingOut": {
|
129
|
+
return new MintingOut();
|
130
|
+
}
|
131
|
+
case "Supply": {
|
132
|
+
return new Supply({
|
133
|
+
limit: obj.value.limit,
|
134
|
+
});
|
135
|
+
}
|
136
|
+
case "Hours": {
|
137
|
+
return new Hours({
|
138
|
+
hours: obj.value.hours,
|
139
|
+
});
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
function layout(property) {
|
144
|
+
const ret = borsh.rustEnum([
|
145
|
+
borsh.struct([], "MintingOut"),
|
146
|
+
borsh.struct([borsh.u32("limit")], "Supply"),
|
147
|
+
borsh.struct([borsh.u16("hours")], "Hours"),
|
148
|
+
]);
|
149
|
+
if (property !== undefined) {
|
150
|
+
return ret.replicate(property);
|
151
|
+
}
|
152
|
+
return ret;
|
153
|
+
}
|
154
|
+
//# sourceMappingURL=UnlocksAfter.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UnlocksAfter.js","sourceRoot":"","sources":["../../../src/types/types/UnlocksAfter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAuHA,kCAsBC;AAED,4BAgBC;AAED,wBAUC;AAxKD,wDAAyC;AAMzC,MAAa,UAAU;IAAvB;QAGW,kBAAa,GAAG,CAAC,CAAA;QACjB,SAAI,GAAG,YAAY,CAAA;IAa9B,CAAC;IAXC,MAAM;QACJ,OAAO;YACL,IAAI,EAAE,YAAY;SACnB,CAAA;IACH,CAAC;IAED,WAAW;QACT,OAAO;YACL,UAAU,EAAE,EAAE;SACf,CAAA;IACH,CAAC;;AAhBH,gCAi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AY,CAAC;QAC9B,KAAK,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,EAAE,QAAQ,CAAC;QAC5C,KAAK,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,EAAE,OAAO,CAAC;KAC5C,CAAC,CAAA;IACF,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC3B,OAAO,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAA;IAChC,CAAC;IACD,OAAO,GAAG,CAAA;AACZ,CAAC"}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
import { PublicKey } from "@solana/web3.js";
|
2
|
+
import BN from "bn.js";
|
3
|
+
import * as types from "../types";
|
4
|
+
export interface UnwrapMetadataFields {
|
5
|
+
wrappedAmount: BN;
|
6
|
+
decimals: number;
|
7
|
+
traitHash: BN;
|
8
|
+
name: string;
|
9
|
+
arweave: string;
|
10
|
+
edition: number;
|
11
|
+
leafIndex: number;
|
12
|
+
cardIndex: number | null;
|
13
|
+
royalty: number;
|
14
|
+
creators: Array<types.ShortCreatorFields>;
|
15
|
+
bumps: Array<number>;
|
16
|
+
}
|
17
|
+
export interface UnwrapMetadataJSON {
|
18
|
+
wrappedAmount: string;
|
19
|
+
decimals: number;
|
20
|
+
traitHash: string;
|
21
|
+
name: string;
|
22
|
+
arweave: string;
|
23
|
+
edition: number;
|
24
|
+
leafIndex: number;
|
25
|
+
cardIndex: number | null;
|
26
|
+
royalty: number;
|
27
|
+
creators: Array<types.ShortCreatorJSON>;
|
28
|
+
bumps: Array<number>;
|
29
|
+
}
|
30
|
+
export declare class UnwrapMetadata {
|
31
|
+
readonly wrappedAmount: BN;
|
32
|
+
readonly decimals: number;
|
33
|
+
readonly traitHash: BN;
|
34
|
+
readonly name: string;
|
35
|
+
readonly arweave: string;
|
36
|
+
readonly edition: number;
|
37
|
+
readonly leafIndex: number;
|
38
|
+
readonly cardIndex: number | null;
|
39
|
+
readonly royalty: number;
|
40
|
+
readonly creators: Array<types.ShortCreator>;
|
41
|
+
readonly bumps: Array<number>;
|
42
|
+
constructor(fields: UnwrapMetadataFields);
|
43
|
+
static layout(property?: string): any;
|
44
|
+
static fromDecoded(obj: any): types.UnwrapMetadata;
|
45
|
+
static toEncodable(fields: UnwrapMetadataFields): {
|
46
|
+
wrappedAmount: BN;
|
47
|
+
decimals: number;
|
48
|
+
traitHash: BN;
|
49
|
+
name: string;
|
50
|
+
arweave: string;
|
51
|
+
edition: number;
|
52
|
+
leafIndex: number;
|
53
|
+
cardIndex: number | null;
|
54
|
+
royalty: number;
|
55
|
+
creators: {
|
56
|
+
address: PublicKey;
|
57
|
+
share: number;
|
58
|
+
}[];
|
59
|
+
bumps: number[];
|
60
|
+
};
|
61
|
+
toJSON(): UnwrapMetadataJSON;
|
62
|
+
static fromJSON(obj: UnwrapMetadataJSON): UnwrapMetadata;
|
63
|
+
toEncodable(): {
|
64
|
+
wrappedAmount: BN;
|
65
|
+
decimals: number;
|
66
|
+
traitHash: BN;
|
67
|
+
name: string;
|
68
|
+
arweave: string;
|
69
|
+
edition: number;
|
70
|
+
leafIndex: number;
|
71
|
+
cardIndex: number | null;
|
72
|
+
royalty: number;
|
73
|
+
creators: {
|
74
|
+
address: PublicKey;
|
75
|
+
share: number;
|
76
|
+
}[];
|
77
|
+
bumps: number[];
|
78
|
+
};
|
79
|
+
}
|
80
|
+
//# sourceMappingURL=UnwrapMetadata.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UnwrapMetadata.d.ts","sourceRoot":"","sources":["../../../src/types/types/UnwrapMetadata.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,oBAAoB;IACnC,aAAa,EAAE,EAAE,CAAA;IACj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AQ,EAAE,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,CAAA;IAC5C,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;gBAEjB,MAAM,EAAE,oBAAoB;IAgBxC,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM;IAoB/B,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG;IAoB3B,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,oBAAoB;;;;;;;;;;;;;;;;IAkB/C,MAAM,IAAI,kBAAkB;IAgB5B,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,kBAAkB,GAAG,cAAc;IAgBxD,WAAW;;;;;;;;;;;;;;;;CAGZ"}
|
@@ -0,0 +1,128 @@
|
|
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.UnwrapMetadata = void 0;
|
30
|
+
const bn_js_1 = __importDefault(require("bn.js")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
31
|
+
const types = __importStar(require("../types")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
32
|
+
const borsh = __importStar(require("@coral-xyz/borsh"));
|
33
|
+
class UnwrapMetadata {
|
34
|
+
constructor(fields) {
|
35
|
+
this.wrappedAmount = fields.wrappedAmount;
|
36
|
+
this.decimals = fields.decimals;
|
37
|
+
this.traitHash = fields.traitHash;
|
38
|
+
this.name = fields.name;
|
39
|
+
this.arweave = fields.arweave;
|
40
|
+
this.edition = fields.edition;
|
41
|
+
this.leafIndex = fields.leafIndex;
|
42
|
+
this.cardIndex = fields.cardIndex;
|
43
|
+
this.royalty = fields.royalty;
|
44
|
+
this.creators = fields.creators.map((item) => new types.ShortCreator({ ...item }));
|
45
|
+
this.bumps = fields.bumps;
|
46
|
+
}
|
47
|
+
static layout(property) {
|
48
|
+
return borsh.struct([
|
49
|
+
borsh.u64("wrappedAmount"),
|
50
|
+
borsh.u8("decimals"),
|
51
|
+
borsh.u64("traitHash"),
|
52
|
+
borsh.str("name"),
|
53
|
+
borsh.str("arweave"),
|
54
|
+
borsh.u32("edition"),
|
55
|
+
borsh.u32("leafIndex"),
|
56
|
+
borsh.option(borsh.u32(), "cardIndex"),
|
57
|
+
borsh.u16("royalty"),
|
58
|
+
borsh.vec(types.ShortCreator.layout(), "creators"),
|
59
|
+
borsh.array(borsh.u8(), 2, "bumps"),
|
60
|
+
], property);
|
61
|
+
}
|
62
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
63
|
+
static fromDecoded(obj) {
|
64
|
+
return new UnwrapMetadata({
|
65
|
+
wrappedAmount: obj.wrappedAmount,
|
66
|
+
decimals: obj.decimals,
|
67
|
+
traitHash: obj.traitHash,
|
68
|
+
name: obj.name,
|
69
|
+
arweave: obj.arweave,
|
70
|
+
edition: obj.edition,
|
71
|
+
leafIndex: obj.leafIndex,
|
72
|
+
cardIndex: obj.cardIndex,
|
73
|
+
royalty: obj.royalty,
|
74
|
+
creators: obj.creators.map((item /* eslint-disable-line @typescript-eslint/no-explicit-any */) => types.ShortCreator.fromDecoded(item)),
|
75
|
+
bumps: obj.bumps,
|
76
|
+
});
|
77
|
+
}
|
78
|
+
static toEncodable(fields) {
|
79
|
+
return {
|
80
|
+
wrappedAmount: fields.wrappedAmount,
|
81
|
+
decimals: fields.decimals,
|
82
|
+
traitHash: fields.traitHash,
|
83
|
+
name: fields.name,
|
84
|
+
arweave: fields.arweave,
|
85
|
+
edition: fields.edition,
|
86
|
+
leafIndex: fields.leafIndex,
|
87
|
+
cardIndex: fields.cardIndex,
|
88
|
+
royalty: fields.royalty,
|
89
|
+
creators: fields.creators.map((item) => types.ShortCreator.toEncodable(item)),
|
90
|
+
bumps: fields.bumps,
|
91
|
+
};
|
92
|
+
}
|
93
|
+
toJSON() {
|
94
|
+
return {
|
95
|
+
wrappedAmount: this.wrappedAmount.toString(),
|
96
|
+
decimals: this.decimals,
|
97
|
+
traitHash: this.traitHash.toString(),
|
98
|
+
name: this.name,
|
99
|
+
arweave: this.arweave,
|
100
|
+
edition: this.edition,
|
101
|
+
leafIndex: this.leafIndex,
|
102
|
+
cardIndex: this.cardIndex,
|
103
|
+
royalty: this.royalty,
|
104
|
+
creators: this.creators.map((item) => item.toJSON()),
|
105
|
+
bumps: this.bumps,
|
106
|
+
};
|
107
|
+
}
|
108
|
+
static fromJSON(obj) {
|
109
|
+
return new UnwrapMetadata({
|
110
|
+
wrappedAmount: new bn_js_1.default(obj.wrappedAmount),
|
111
|
+
decimals: obj.decimals,
|
112
|
+
traitHash: new bn_js_1.default(obj.traitHash),
|
113
|
+
name: obj.name,
|
114
|
+
arweave: obj.arweave,
|
115
|
+
edition: obj.edition,
|
116
|
+
leafIndex: obj.leafIndex,
|
117
|
+
cardIndex: obj.cardIndex,
|
118
|
+
royalty: obj.royalty,
|
119
|
+
creators: obj.creators.map((item) => types.ShortCreator.fromJSON(item)),
|
120
|
+
bumps: obj.bumps,
|
121
|
+
});
|
122
|
+
}
|
123
|
+
toEncodable() {
|
124
|
+
return UnwrapMetadata.toEncodable(this);
|
125
|
+
}
|
126
|
+
}
|
127
|
+
exports.UnwrapMetadata = UnwrapMetadata;
|
128
|
+
//# sourceMappingURL=UnwrapMetadata.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UnwrapMetadata.js","sourceRoot":"","sources":["../../../src/types/types/UnwrapMetadata.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAAsB,CAAC,wDAAwD;AAC/E,gDAAiC,CAAC,wDAAwD;AAC1F,wDAAyC;AA8BzC,MAAa,cAAc;IAazB,YAAY,MAA4B;QACtC,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC,aAAa,CAAA;QACzC,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAA;QAC/B,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAA;QACjC,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAA;QACvB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAA;QAC7B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAA;QAC7B,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAA;QACjC,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAA;QACjC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAA;QAC7B,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,GAAG,CACjC,CAAC,IAAI,EAAE,EAAE,CAAC,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AC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;YACpD,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAA;IACH,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,GAAuB;QACrC,OAAO,IAAI,cAAc,CAAC;YACxB,aAAa,EAAE,IAAI,eAAE,CAAC,GAAG,CAAC,aAAa,CAAC;YACxC,QAAQ,EAAE,GAAG,CAAC,QAAQ;YACtB,SAAS,EAAE,IAAI,eAAE,CAAC,GAAG,CAAC,SAAS,CAAC;YAChC,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,OAAO,EAAE,GAAG,CAAC,OAAO;YACpB,OAAO,EAAE,GAAG,CAAC,OAAO;YACpB,SAAS,EAAE,GAAG,CAAC,SAAS;YACxB,SAAS,EAAE,GAAG,CAAC,SAAS;YACxB,OAAO,EAAE,GAAG,CAAC,OAAO;YACpB,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACvE,KAAK,EAAE,GAAG,CAAC,KAAK;SACjB,CAAC,CAAA;IACJ,CAAC;IAED,WAAW;QACT,OAAO,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;IACzC,CAAC;CACF;AA1HD,wCA0HC"}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import * as types from "../types";
|
2
|
+
import * as borsh from "@coral-xyz/borsh";
|
3
|
+
export interface BurnJSON {
|
4
|
+
kind: "Burn";
|
5
|
+
}
|
6
|
+
export declare class Burn {
|
7
|
+
static readonly discriminator = 0;
|
8
|
+
static readonly kind = "Burn";
|
9
|
+
readonly discriminator = 0;
|
10
|
+
readonly kind = "Burn";
|
11
|
+
toJSON(): BurnJSON;
|
12
|
+
toEncodable(): {
|
13
|
+
Burn: {};
|
14
|
+
};
|
15
|
+
}
|
16
|
+
export interface MultipleJSON {
|
17
|
+
kind: "Multiple";
|
18
|
+
}
|
19
|
+
export declare class Multiple {
|
20
|
+
static readonly discriminator = 1;
|
21
|
+
static readonly kind = "Multiple";
|
22
|
+
readonly discriminator = 1;
|
23
|
+
readonly kind = "Multiple";
|
24
|
+
toJSON(): MultipleJSON;
|
25
|
+
toEncodable(): {
|
26
|
+
Multiple: {};
|
27
|
+
};
|
28
|
+
}
|
29
|
+
export interface SingleJSON {
|
30
|
+
kind: "Single";
|
31
|
+
}
|
32
|
+
export declare class Single {
|
33
|
+
static readonly discriminator = 2;
|
34
|
+
static readonly kind = "Single";
|
35
|
+
readonly discriminator = 2;
|
36
|
+
readonly kind = "Single";
|
37
|
+
toJSON(): SingleJSON;
|
38
|
+
toEncodable(): {
|
39
|
+
Single: {};
|
40
|
+
};
|
41
|
+
}
|
42
|
+
export declare function fromDecoded(obj: any): types.UseMethodKind;
|
43
|
+
export declare function fromJSON(obj: types.UseMethodJSON): types.UseMethodKind;
|
44
|
+
export declare function layout(property?: string): borsh.EnumLayout<unknown>;
|
45
|
+
//# sourceMappingURL=UseMethod.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UseMethod.d.ts","sourceRoot":"","sources":["../../../src/types/types/UseMethod.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AACjC,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAA;AAEzC,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,qBAAa,IAAI;IACf,MAAM,CAAC,QAAQ,CAAC,aAAa,KAAI;IACjC,MAAM,CAAC,QAAQ,CAAC,IAAI,UAAS;IAC7B,QAAQ,CAAC,aAAa,KAAI;IAC1B,QAAQ,CAAC,IAAI,UAAS;IAEtB,MAAM,IAAI,QAAQ;IAMlB,WAAW;;;CAKZ;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,UAAU,CAAA;CAC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