3land_sdk 1.0.3 → 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 +2 -1
@@ -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.CreatorRegistry = void 0;
|
30
|
+
const web3_js_1 = require("@solana/web3.js");
|
31
|
+
const bn_js_1 = __importDefault(require("bn.js")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
32
|
+
const borsh = __importStar(require("@coral-xyz/borsh")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
33
|
+
const types = __importStar(require("../types")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
34
|
+
const programId_1 = require("../programId");
|
35
|
+
class CreatorRegistry {
|
36
|
+
constructor(fields) {
|
37
|
+
this.class = fields.class;
|
38
|
+
this.storeHash = fields.storeHash;
|
39
|
+
this.currency = fields.currency;
|
40
|
+
this.creator = fields.creator;
|
41
|
+
this.donations = fields.donations;
|
42
|
+
this.date = new types.IndexDate({ ...fields.date });
|
43
|
+
this.filters = fields.filters;
|
44
|
+
this.track = new types.SaleTrack({ ...fields.track });
|
45
|
+
this.lut = fields.lut;
|
46
|
+
}
|
47
|
+
static async fetch(c, address, programId = programId_1.PROGRAM_ID) {
|
48
|
+
const info = await c.getAccountInfo(address);
|
49
|
+
if (info === null) {
|
50
|
+
return null;
|
51
|
+
}
|
52
|
+
if (!info.owner.equals(programId)) {
|
53
|
+
throw new Error("account doesn't belong to this program");
|
54
|
+
}
|
55
|
+
return this.decode(info.data);
|
56
|
+
}
|
57
|
+
static async fetchMultiple(c, addresses, programId = programId_1.PROGRAM_ID) {
|
58
|
+
const infos = await c.getMultipleAccountsInfo(addresses);
|
59
|
+
return infos.map((info) => {
|
60
|
+
if (info === null) {
|
61
|
+
return null;
|
62
|
+
}
|
63
|
+
if (!info.owner.equals(programId)) {
|
64
|
+
throw new Error("account doesn't belong to this program");
|
65
|
+
}
|
66
|
+
return this.decode(info.data);
|
67
|
+
});
|
68
|
+
}
|
69
|
+
static decode(data) {
|
70
|
+
if (!data.slice(0, 8).equals(CreatorRegistry.discriminator)) {
|
71
|
+
throw new Error("invalid account discriminator");
|
72
|
+
}
|
73
|
+
const dec = CreatorRegistry.layout.decode(data.slice(8));
|
74
|
+
return new CreatorRegistry({
|
75
|
+
class: types.AccountClass.fromDecoded(dec.class),
|
76
|
+
storeHash: dec.storeHash,
|
77
|
+
currency: dec.currency,
|
78
|
+
creator: dec.creator,
|
79
|
+
donations: dec.donations,
|
80
|
+
date: types.IndexDate.fromDecoded(dec.date),
|
81
|
+
filters: dec.filters,
|
82
|
+
track: types.SaleTrack.fromDecoded(dec.track),
|
83
|
+
lut: dec.lut,
|
84
|
+
});
|
85
|
+
}
|
86
|
+
toJSON() {
|
87
|
+
return {
|
88
|
+
class: this.class.toJSON(),
|
89
|
+
storeHash: this.storeHash.toString(),
|
90
|
+
currency: this.currency.toString(),
|
91
|
+
creator: this.creator.toString(),
|
92
|
+
donations: this.donations.toString(),
|
93
|
+
date: this.date.toJSON(),
|
94
|
+
filters: this.filters,
|
95
|
+
track: this.track.toJSON(),
|
96
|
+
lut: this.lut.toString(),
|
97
|
+
};
|
98
|
+
}
|
99
|
+
static fromJSON(obj) {
|
100
|
+
return new CreatorRegistry({
|
101
|
+
class: types.AccountClass.fromJSON(obj.class),
|
102
|
+
storeHash: new bn_js_1.default(obj.storeHash),
|
103
|
+
currency: new web3_js_1.PublicKey(obj.currency),
|
104
|
+
creator: new web3_js_1.PublicKey(obj.creator),
|
105
|
+
donations: new bn_js_1.default(obj.donations),
|
106
|
+
date: types.IndexDate.fromJSON(obj.date),
|
107
|
+
filters: obj.filters,
|
108
|
+
track: types.SaleTrack.fromJSON(obj.track),
|
109
|
+
lut: new web3_js_1.PublicKey(obj.lut),
|
110
|
+
});
|
111
|
+
}
|
112
|
+
}
|
113
|
+
exports.CreatorRegistry = CreatorRegistry;
|
114
|
+
CreatorRegistry.discriminator = Buffer.from([
|
115
|
+
14, 189, 133, 111, 190, 233, 2, 236,
|
116
|
+
]);
|
117
|
+
CreatorRegistry.layout = borsh.struct([
|
118
|
+
types.AccountClass.layout("class"),
|
119
|
+
borsh.u64("storeHash"),
|
120
|
+
borsh.publicKey("currency"),
|
121
|
+
borsh.publicKey("creator"),
|
122
|
+
borsh.u64("donations"),
|
123
|
+
types.IndexDate.layout("date"),
|
124
|
+
borsh.array(borsh.u8(), 8, "filters"),
|
125
|
+
types.SaleTrack.layout("track"),
|
126
|
+
borsh.publicKey("lut"),
|
127
|
+
]);
|
128
|
+
//# sourceMappingURL=CreatorRegistry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CreatorRegistry.js","sourceRoot":"","sources":["../../../src/types/accounts/CreatorRegistry.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAuD;AACvD,kDAAsB,CAAC,wDAAwD;A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mBAAS,CAAC,GAAG,CAAC,GAAG,CAAC;SAC5B,CAAC,CAAA;IACJ,CAAC;;AAzHH,0CA0HC;AA/GiB,6BAAa,GAAG,MAAM,CAAC,IAAI,CAAC;IAC1C,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG;CACpC,CAAC,CAAA;AAEc,sBAAM,GAAG,KAAK,CAAC,MAAM,CAAC;IACpC,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC;IAClC,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC;IACtB,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC;IAC3B,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC;IACtB,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC;IAC9B,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,SAAS,CAAC;IACrC,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,OAAO,CAAC;IAC/B,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC;CACvB,CAAC,CAAA"}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { PublicKey, Connection } from "@solana/web3.js";
|
2
|
+
import BN from "bn.js";
|
3
|
+
export interface CurrencyArtistProofFields {
|
4
|
+
proofHash: BN;
|
5
|
+
amount: BN;
|
6
|
+
currencyVerifier: number;
|
7
|
+
artistVerifier: number;
|
8
|
+
}
|
9
|
+
export interface CurrencyArtistProofJSON {
|
10
|
+
proofHash: string;
|
11
|
+
amount: string;
|
12
|
+
currencyVerifier: number;
|
13
|
+
artistVerifier: number;
|
14
|
+
}
|
15
|
+
export declare class CurrencyArtistProof {
|
16
|
+
readonly proofHash: BN;
|
17
|
+
readonly amount: BN;
|
18
|
+
readonly currencyVerifier: number;
|
19
|
+
readonly artistVerifier: number;
|
20
|
+
static readonly discriminator: Buffer;
|
21
|
+
static readonly layout: any;
|
22
|
+
constructor(fields: CurrencyArtistProofFields);
|
23
|
+
static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<CurrencyArtistProof | null>;
|
24
|
+
static fetchMultiple(c: Connection, addresses: PublicKey[], programId?: PublicKey): Promise<Array<CurrencyArtistProof | null>>;
|
25
|
+
static decode(data: Buffer): CurrencyArtistProof;
|
26
|
+
toJSON(): CurrencyArtistProofJSON;
|
27
|
+
static fromJSON(obj: CurrencyArtistProofJSON): CurrencyArtistProof;
|
28
|
+
}
|
29
|
+
//# sourceMappingURL=CurrencyArtistProof.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CurrencyArtistProof.d.ts","sourceRoot":"","sources":["../../../src/types/accounts/CurrencyArtistProof.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACvD,OAAO,EAAE,MAAM,OAAO,CAAA;AAKtB,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,EAAE,CAAA;IACb,MAAM,EAAE,EAAE,CAAA;IACV,gBAAgB,EAAE,MAAM,CAAA;IACxB,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,gBAAgB,EAAE,MAAM,CAAA;IACxB,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,qBAAa,mBAAmB;IAC9B,QAAQ,CAAC,SAAS,EAAE,EAAE,CAAA;IACtB,QAAQ,CAAC,MAAM,EAAE,EAAE,CAAA;IACnB,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAA;IACjC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAA;IAE/B,MAAM,CAAC,QAAQ,CAAC,aAAa,SAE3B;IAEF,MAAM,CAAC,QAAQ,CAAC,MAAM,MAKpB;gBAEU,MAAM,EAAE,yBAAyB;WAOhC,KAAK,CAChB,CAAC,EAAE,UAAU,EACb,OAAO,EAAE,SAAS,EAClB,SAAS,GAAE,SAAsB,GAChC,OAAO,CAAC,mBAAmB,GAAG,IAAI,CAAC;WAazB,aAAa,CACxB,CAAC,EAAE,UAAU,EACb,SAAS,EAAE,SAAS,EAAE,EACtB,SAAS,GAAE,SAAsB,GAChC,OAAO,CAAC,KAAK,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;IAe7C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,mBAAmB;IAehD,MAAM,IAAI,uBAAuB;IASjC,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,uBAAuB,GAAG,mBAAmB;CAQnE"}
|
@@ -0,0 +1,101 @@
|
|
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.CurrencyArtistProof = 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")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
32
|
+
const programId_1 = require("../programId");
|
33
|
+
class CurrencyArtistProof {
|
34
|
+
constructor(fields) {
|
35
|
+
this.proofHash = fields.proofHash;
|
36
|
+
this.amount = fields.amount;
|
37
|
+
this.currencyVerifier = fields.currencyVerifier;
|
38
|
+
this.artistVerifier = fields.artistVerifier;
|
39
|
+
}
|
40
|
+
static async fetch(c, address, programId = programId_1.PROGRAM_ID) {
|
41
|
+
const info = await c.getAccountInfo(address);
|
42
|
+
if (info === null) {
|
43
|
+
return null;
|
44
|
+
}
|
45
|
+
if (!info.owner.equals(programId)) {
|
46
|
+
throw new Error("account doesn't belong to this program");
|
47
|
+
}
|
48
|
+
return this.decode(info.data);
|
49
|
+
}
|
50
|
+
static async fetchMultiple(c, addresses, programId = programId_1.PROGRAM_ID) {
|
51
|
+
const infos = await c.getMultipleAccountsInfo(addresses);
|
52
|
+
return infos.map((info) => {
|
53
|
+
if (info === null) {
|
54
|
+
return null;
|
55
|
+
}
|
56
|
+
if (!info.owner.equals(programId)) {
|
57
|
+
throw new Error("account doesn't belong to this program");
|
58
|
+
}
|
59
|
+
return this.decode(info.data);
|
60
|
+
});
|
61
|
+
}
|
62
|
+
static decode(data) {
|
63
|
+
if (!data.slice(0, 8).equals(CurrencyArtistProof.discriminator)) {
|
64
|
+
throw new Error("invalid account discriminator");
|
65
|
+
}
|
66
|
+
const dec = CurrencyArtistProof.layout.decode(data.slice(8));
|
67
|
+
return new CurrencyArtistProof({
|
68
|
+
proofHash: dec.proofHash,
|
69
|
+
amount: dec.amount,
|
70
|
+
currencyVerifier: dec.currencyVerifier,
|
71
|
+
artistVerifier: dec.artistVerifier,
|
72
|
+
});
|
73
|
+
}
|
74
|
+
toJSON() {
|
75
|
+
return {
|
76
|
+
proofHash: this.proofHash.toString(),
|
77
|
+
amount: this.amount.toString(),
|
78
|
+
currencyVerifier: this.currencyVerifier,
|
79
|
+
artistVerifier: this.artistVerifier,
|
80
|
+
};
|
81
|
+
}
|
82
|
+
static fromJSON(obj) {
|
83
|
+
return new CurrencyArtistProof({
|
84
|
+
proofHash: new bn_js_1.default(obj.proofHash),
|
85
|
+
amount: new bn_js_1.default(obj.amount),
|
86
|
+
currencyVerifier: obj.currencyVerifier,
|
87
|
+
artistVerifier: obj.artistVerifier,
|
88
|
+
});
|
89
|
+
}
|
90
|
+
}
|
91
|
+
exports.CurrencyArtistProof = CurrencyArtistProof;
|
92
|
+
CurrencyArtistProof.discriminator = Buffer.from([
|
93
|
+
11, 32, 176, 50, 245, 55, 208, 119,
|
94
|
+
]);
|
95
|
+
CurrencyArtistProof.layout = borsh.struct([
|
96
|
+
borsh.u64("proofHash"),
|
97
|
+
borsh.u64("amount"),
|
98
|
+
borsh.u32("currencyVerifier"),
|
99
|
+
borsh.u32("artistVerifier"),
|
100
|
+
]);
|
101
|
+
//# sourceMappingURL=CurrencyArtistProof.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CurrencyArtistProof.js","sourceRoot":"","sources":["../../../src/types/accounts/CurrencyArtistProof.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAAsB,CAAC,wDAAwD;AAC/E,wDAAyC,CAAC,wDAAwD;AAElG,4CAAyC;AAgBzC,MAAa,mBAAmB;IAiB9B,YAAY,MAAiC;QAC3C,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAA;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CA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AW,CAAC;IACtB,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC;IACnB,KAAK,CAAC,GAAG,CAAC,kBAAkB,CAAC;IAC7B,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC;CAC5B,CAAC,CAAA"}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
import { PublicKey, Connection } from "@solana/web3.js";
|
2
|
+
import BN from "bn.js";
|
3
|
+
import * as types from "../types";
|
4
|
+
export interface GenericUserFields {
|
5
|
+
class: types.AccountClassKind;
|
6
|
+
subApp: BN;
|
7
|
+
holderHash: BN;
|
8
|
+
category: BN;
|
9
|
+
creator: PublicKey;
|
10
|
+
lutAccount: PublicKey;
|
11
|
+
subWallets: Array<PublicKey>;
|
12
|
+
extended: number;
|
13
|
+
flags: Array<number>;
|
14
|
+
username: string;
|
15
|
+
genericStore: Array<types.GenericStoreFields>;
|
16
|
+
extra: Array<number>;
|
17
|
+
}
|
18
|
+
export interface GenericUserJSON {
|
19
|
+
class: types.AccountClassJSON;
|
20
|
+
subApp: string;
|
21
|
+
holderHash: string;
|
22
|
+
category: string;
|
23
|
+
creator: string;
|
24
|
+
lutAccount: string;
|
25
|
+
subWallets: Array<string>;
|
26
|
+
extended: number;
|
27
|
+
flags: Array<number>;
|
28
|
+
username: string;
|
29
|
+
genericStore: Array<types.GenericStoreJSON>;
|
30
|
+
extra: Array<number>;
|
31
|
+
}
|
32
|
+
export declare class GenericUser {
|
33
|
+
readonly class: types.AccountClassKind;
|
34
|
+
readonly subApp: BN;
|
35
|
+
readonly holderHash: BN;
|
36
|
+
readonly category: BN;
|
37
|
+
readonly creator: PublicKey;
|
38
|
+
readonly lutAccount: PublicKey;
|
39
|
+
readonly subWallets: Array<PublicKey>;
|
40
|
+
readonly extended: number;
|
41
|
+
readonly flags: Array<number>;
|
42
|
+
readonly username: string;
|
43
|
+
readonly genericStore: Array<types.GenericStore>;
|
44
|
+
readonly extra: Array<number>;
|
45
|
+
static readonly discriminator: Buffer;
|
46
|
+
static readonly layout: any;
|
47
|
+
constructor(fields: GenericUserFields);
|
48
|
+
static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<GenericUser | null>;
|
49
|
+
static fetchMultiple(c: Connection, addresses: PublicKey[], programId?: PublicKey): Promise<Array<GenericUser | null>>;
|
50
|
+
static decode(data: Buffer): GenericUser;
|
51
|
+
toJSON(): GenericUserJSON;
|
52
|
+
static fromJSON(obj: GenericUserJSON): GenericUser;
|
53
|
+
}
|
54
|
+
//# sourceMappingURL=GenericUser.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"GenericUser.d.ts","sourceRoot":"","sources":["../../../src/types/accounts/GenericUser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACvD,OAAO,EAAE,MAAM,OAAO,CAAA;AAEtB,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,KAAK,CAAC,gBAAgB,CAAA;IAC7B,MAAM,EAAE,EAAE,CAAA;IACV,UAAU,EAAE,EAAE,CAAA;IACd,QAAQ,EAAE,EAAE,CAAA;IACZ,OAAO,EAAE,SAAS,CAAA;IAClB,UAAU,EAAE,SAAS,CAAA;IACrB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;IAC5B,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAA;IAC7C,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,KAAK,CAAC,gBAAgB,CAAA;IAC7B,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,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AAC;WAajB,aAAa,CACxB,CAAC,EAAE,UAAU,EACb,SAAS,EAAE,SAAS,EAAE,EACtB,SAAS,GAAE,SAAsB,GAChC,OAAO,CAAC,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAerC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW;IA2BxC,MAAM,IAAI,eAAe;IAiBzB,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,eAAe,GAAG,WAAW;CAkBnD"}
|
@@ -0,0 +1,143 @@
|
|
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.GenericUser = void 0;
|
30
|
+
const web3_js_1 = require("@solana/web3.js");
|
31
|
+
const bn_js_1 = __importDefault(require("bn.js")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
32
|
+
const borsh = __importStar(require("@coral-xyz/borsh")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
33
|
+
const types = __importStar(require("../types")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
34
|
+
const programId_1 = require("../programId");
|
35
|
+
class GenericUser {
|
36
|
+
constructor(fields) {
|
37
|
+
this.class = fields.class;
|
38
|
+
this.subApp = fields.subApp;
|
39
|
+
this.holderHash = fields.holderHash;
|
40
|
+
this.category = fields.category;
|
41
|
+
this.creator = fields.creator;
|
42
|
+
this.lutAccount = fields.lutAccount;
|
43
|
+
this.subWallets = fields.subWallets;
|
44
|
+
this.extended = fields.extended;
|
45
|
+
this.flags = fields.flags;
|
46
|
+
this.username = fields.username;
|
47
|
+
this.genericStore = fields.genericStore.map((item) => new types.GenericStore({ ...item }));
|
48
|
+
this.extra = fields.extra;
|
49
|
+
}
|
50
|
+
static async fetch(c, address, programId = programId_1.PROGRAM_ID) {
|
51
|
+
const info = await c.getAccountInfo(address);
|
52
|
+
if (info === null) {
|
53
|
+
return null;
|
54
|
+
}
|
55
|
+
if (!info.owner.equals(programId)) {
|
56
|
+
throw new Error("account doesn't belong to this program");
|
57
|
+
}
|
58
|
+
return this.decode(info.data);
|
59
|
+
}
|
60
|
+
static async fetchMultiple(c, addresses, programId = programId_1.PROGRAM_ID) {
|
61
|
+
const infos = await c.getMultipleAccountsInfo(addresses);
|
62
|
+
return infos.map((info) => {
|
63
|
+
if (info === null) {
|
64
|
+
return null;
|
65
|
+
}
|
66
|
+
if (!info.owner.equals(programId)) {
|
67
|
+
throw new Error("account doesn't belong to this program");
|
68
|
+
}
|
69
|
+
return this.decode(info.data);
|
70
|
+
});
|
71
|
+
}
|
72
|
+
static decode(data) {
|
73
|
+
if (!data.slice(0, 8).equals(GenericUser.discriminator)) {
|
74
|
+
throw new Error("invalid account discriminator");
|
75
|
+
}
|
76
|
+
const dec = GenericUser.layout.decode(data.slice(8));
|
77
|
+
return new GenericUser({
|
78
|
+
class: types.AccountClass.fromDecoded(dec.class),
|
79
|
+
subApp: dec.subApp,
|
80
|
+
holderHash: dec.holderHash,
|
81
|
+
category: dec.category,
|
82
|
+
creator: dec.creator,
|
83
|
+
lutAccount: dec.lutAccount,
|
84
|
+
subWallets: dec.subWallets,
|
85
|
+
extended: dec.extended,
|
86
|
+
flags: dec.flags,
|
87
|
+
username: dec.username,
|
88
|
+
genericStore: dec.genericStore.map((item /* eslint-disable-line @typescript-eslint/no-explicit-any */) => types.GenericStore.fromDecoded(item)),
|
89
|
+
extra: dec.extra,
|
90
|
+
});
|
91
|
+
}
|
92
|
+
toJSON() {
|
93
|
+
return {
|
94
|
+
class: this.class.toJSON(),
|
95
|
+
subApp: this.subApp.toString(),
|
96
|
+
holderHash: this.holderHash.toString(),
|
97
|
+
category: this.category.toString(),
|
98
|
+
creator: this.creator.toString(),
|
99
|
+
lutAccount: this.lutAccount.toString(),
|
100
|
+
subWallets: this.subWallets.map((item) => item.toString()),
|
101
|
+
extended: this.extended,
|
102
|
+
flags: this.flags,
|
103
|
+
username: this.username,
|
104
|
+
genericStore: this.genericStore.map((item) => item.toJSON()),
|
105
|
+
extra: this.extra,
|
106
|
+
};
|
107
|
+
}
|
108
|
+
static fromJSON(obj) {
|
109
|
+
return new GenericUser({
|
110
|
+
class: types.AccountClass.fromJSON(obj.class),
|
111
|
+
subApp: new bn_js_1.default(obj.subApp),
|
112
|
+
holderHash: new bn_js_1.default(obj.holderHash),
|
113
|
+
category: new bn_js_1.default(obj.category),
|
114
|
+
creator: new web3_js_1.PublicKey(obj.creator),
|
115
|
+
lutAccount: new web3_js_1.PublicKey(obj.lutAccount),
|
116
|
+
subWallets: obj.subWallets.map((item) => new web3_js_1.PublicKey(item)),
|
117
|
+
extended: obj.extended,
|
118
|
+
flags: obj.flags,
|
119
|
+
username: obj.username,
|
120
|
+
genericStore: obj.genericStore.map((item) => types.GenericStore.fromJSON(item)),
|
121
|
+
extra: obj.extra,
|
122
|
+
});
|
123
|
+
}
|
124
|
+
}
|
125
|
+
exports.GenericUser = GenericUser;
|
126
|
+
GenericUser.discriminator = Buffer.from([
|
127
|
+
222, 233, 191, 5, 55, 3, 237, 241,
|
128
|
+
]);
|
129
|
+
GenericUser.layout = borsh.struct([
|
130
|
+
types.AccountClass.layout("class"),
|
131
|
+
borsh.u64("subApp"),
|
132
|
+
borsh.u64("holderHash"),
|
133
|
+
borsh.u64("category"),
|
134
|
+
borsh.publicKey("creator"),
|
135
|
+
borsh.publicKey("lutAccount"),
|
136
|
+
borsh.vec(borsh.publicKey(), "subWallets"),
|
137
|
+
borsh.u8("extended"),
|
138
|
+
borsh.array(borsh.u8(), 8, "flags"),
|
139
|
+
borsh.str("username"),
|
140
|
+
borsh.vec(types.GenericStore.layout(), "genericStore"),
|
141
|
+
borsh.array(borsh.u8(), 32, "extra"),
|
142
|
+
]);
|
143
|
+
//# sourceMappingURL=GenericUser.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"GenericUser.js","sourceRoot":"","sources":["../../../src/types/accounts/GenericUser.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAuD;AACvD,kDAAsB,CAAC,wDAAwD;AAC/E,wDAAyC,CAAC,wDAAwD;AAClG,gDAAiC,CAAC,wDAAwD;AAC1F,4CAAyC;AAgCzC,MAAa,WAAW;IAiCtB,YAAY,MAAyB;QACnC,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;QACzB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAA;QAC3B,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAAA;QACnC,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAA;QAC/B,IAAI,CAAC,OAA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AC,GAAG,CAAC,KAAK,CAAC,YAAY,CAAC,MAAM,EAAE,EAAE,cAAc,CAAC;IACtD,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,CAAC;CACrC,CAAC,CAAA"}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
import { PublicKey, Connection } from "@solana/web3.js";
|
2
|
+
import BN from "bn.js";
|
3
|
+
import * as types from "../types";
|
4
|
+
export interface ItemArchiveFields {
|
5
|
+
class: types.AccountClassKind;
|
6
|
+
globalState: types.GlobalStateKind;
|
7
|
+
holder: PublicKey;
|
8
|
+
creator: PublicKey;
|
9
|
+
dates: types.IndexDatesFields;
|
10
|
+
category: types.CategoryFields;
|
11
|
+
superCategory: types.SuperCategoryFields;
|
12
|
+
eventCategory: number;
|
13
|
+
trackType: types.TrackRegistryKind;
|
14
|
+
mainCurrencyHash: BN;
|
15
|
+
state: types.ItemStateKind;
|
16
|
+
collection: PublicKey;
|
17
|
+
cnft: PublicKey;
|
18
|
+
identifier: BN;
|
19
|
+
hash: BN;
|
20
|
+
supply: BN;
|
21
|
+
volume: Array<types.FakeVolumeTrackFields>;
|
22
|
+
}
|
23
|
+
export interface ItemArchiveJSON {
|
24
|
+
class: types.AccountClassJSON;
|
25
|
+
globalState: types.GlobalStateJSON;
|
26
|
+
holder: string;
|
27
|
+
creator: string;
|
28
|
+
dates: types.IndexDatesJSON;
|
29
|
+
category: types.CategoryJSON;
|
30
|
+
superCategory: types.SuperCategoryJSON;
|
31
|
+
eventCategory: number;
|
32
|
+
trackType: types.TrackRegistryJSON;
|
33
|
+
mainCurrencyHash: string;
|
34
|
+
state: types.ItemStateJSON;
|
35
|
+
collection: string;
|
36
|
+
cnft: string;
|
37
|
+
identifier: string;
|
38
|
+
hash: string;
|
39
|
+
supply: string;
|
40
|
+
volume: Array<types.FakeVolumeTrackJSON>;
|
41
|
+
}
|
42
|
+
export declare class ItemArchive {
|
43
|
+
readonly class: types.AccountClassKind;
|
44
|
+
readonly globalState: types.GlobalStateKind;
|
45
|
+
readonly holder: PublicKey;
|
46
|
+
readonly creator: PublicKey;
|
47
|
+
readonly dates: types.IndexDates;
|
48
|
+
readonly category: types.Category;
|
49
|
+
readonly superCategory: types.SuperCategory;
|
50
|
+
readonly eventCategory: number;
|
51
|
+
readonly trackType: types.TrackRegistryKind;
|
52
|
+
readonly mainCurrencyHash: BN;
|
53
|
+
readonly state: types.ItemStateKind;
|
54
|
+
readonly collection: PublicKey;
|
55
|
+
readonly cnft: PublicKey;
|
56
|
+
readonly identifier: BN;
|
57
|
+
readonly hash: BN;
|
58
|
+
readonly supply: BN;
|
59
|
+
readonly volume: Array<types.FakeVolumeTrack>;
|
60
|
+
static readonly discriminator: Buffer;
|
61
|
+
static readonly layout: any;
|
62
|
+
constructor(fields: ItemArchiveFields);
|
63
|
+
static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<ItemArchive | null>;
|
64
|
+
static fetchMultiple(c: Connection, addresses: PublicKey[], programId?: PublicKey): Promise<Array<ItemArchive | null>>;
|
65
|
+
static decode(data: Buffer): ItemArchive;
|
66
|
+
toJSON(): ItemArchiveJSON;
|
67
|
+
static fromJSON(obj: ItemArchiveJSON): ItemArchive;
|
68
|
+
}
|
69
|
+
//# sourceMappingURL=ItemArchive.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ItemArchive.d.ts","sourceRoot":"","sources":["../../../src/types/accounts/ItemArchive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACvD,OAAO,EAAE,MAAM,OAAO,CAAA;AAEtB,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,KAAK,CAAC,gBAAgB,CAAA;IAC7B,WAAW,EAAE,KAAK,CAAC,eAAe,CAAA;IAClC,MAAM,EAAE,SAAS,CAAA;IACjB,OA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