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,102 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
+
exports.Token2022 = exports.Original = void 0;
|
27
|
+
exports.fromDecoded = fromDecoded;
|
28
|
+
exports.fromJSON = fromJSON;
|
29
|
+
exports.layout = layout;
|
30
|
+
const borsh = __importStar(require("@coral-xyz/borsh"));
|
31
|
+
class Original {
|
32
|
+
constructor() {
|
33
|
+
this.discriminator = 0;
|
34
|
+
this.kind = "Original";
|
35
|
+
}
|
36
|
+
toJSON() {
|
37
|
+
return {
|
38
|
+
kind: "Original",
|
39
|
+
};
|
40
|
+
}
|
41
|
+
toEncodable() {
|
42
|
+
return {
|
43
|
+
Original: {},
|
44
|
+
};
|
45
|
+
}
|
46
|
+
}
|
47
|
+
exports.Original = Original;
|
48
|
+
Original.discriminator = 0;
|
49
|
+
Original.kind = "Original";
|
50
|
+
class Token2022 {
|
51
|
+
constructor() {
|
52
|
+
this.discriminator = 1;
|
53
|
+
this.kind = "Token2022";
|
54
|
+
}
|
55
|
+
toJSON() {
|
56
|
+
return {
|
57
|
+
kind: "Token2022",
|
58
|
+
};
|
59
|
+
}
|
60
|
+
toEncodable() {
|
61
|
+
return {
|
62
|
+
Token2022: {},
|
63
|
+
};
|
64
|
+
}
|
65
|
+
}
|
66
|
+
exports.Token2022 = Token2022;
|
67
|
+
Token2022.discriminator = 1;
|
68
|
+
Token2022.kind = "Token2022";
|
69
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
70
|
+
function fromDecoded(obj) {
|
71
|
+
if (typeof obj !== "object") {
|
72
|
+
throw new Error("Invalid enum object");
|
73
|
+
}
|
74
|
+
if ("Original" in obj) {
|
75
|
+
return new Original();
|
76
|
+
}
|
77
|
+
if ("Token2022" in obj) {
|
78
|
+
return new Token2022();
|
79
|
+
}
|
80
|
+
throw new Error("Invalid enum object");
|
81
|
+
}
|
82
|
+
function fromJSON(obj) {
|
83
|
+
switch (obj.kind) {
|
84
|
+
case "Original": {
|
85
|
+
return new Original();
|
86
|
+
}
|
87
|
+
case "Token2022": {
|
88
|
+
return new Token2022();
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
function layout(property) {
|
93
|
+
const ret = borsh.rustEnum([
|
94
|
+
borsh.struct([], "Original"),
|
95
|
+
borsh.struct([], "Token2022"),
|
96
|
+
]);
|
97
|
+
if (property !== undefined) {
|
98
|
+
return ret.replicate(property);
|
99
|
+
}
|
100
|
+
return ret;
|
101
|
+
}
|
102
|
+
//# sourceMappingURL=TokenProgramVersion.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TokenProgramVersion.js","sourceRoot":"","sources":["../../../src/types/types/TokenProgramVersion.ts"],"names":[],"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;QACjB,KAAK,UAAU,CAAC,CAAC,CAAC;YAChB,OAAO,IAAI,QAAQ,EAAE,CAAA;QACvB,CAAC;QACD,KAAK,WAAW,CAAC,CAAC,CAAC;YACjB,OAAO,IAAI,SAAS,EAAE,CAAA;QACxB,CAAC;IACH,CAAC;AACH,CAAC;AAED,SAAgB,MAAM,CAAC,QAAiB;IACtC,MAAM,GAAG,GAAG,KAAK,CAAC,QAAQ,CAAC;QACzB,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,UAAU,CAAC;QAC5B,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,WAAW,CAAC;KAC9B,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,58 @@
|
|
1
|
+
import * as types from "../types";
|
2
|
+
import * as borsh from "@coral-xyz/borsh";
|
3
|
+
export interface NonFungibleJSON {
|
4
|
+
kind: "NonFungible";
|
5
|
+
}
|
6
|
+
export declare class NonFungible {
|
7
|
+
static readonly discriminator = 0;
|
8
|
+
static readonly kind = "NonFungible";
|
9
|
+
readonly discriminator = 0;
|
10
|
+
readonly kind = "NonFungible";
|
11
|
+
toJSON(): NonFungibleJSON;
|
12
|
+
toEncodable(): {
|
13
|
+
NonFungible: {};
|
14
|
+
};
|
15
|
+
}
|
16
|
+
export interface FungibleAssetJSON {
|
17
|
+
kind: "FungibleAsset";
|
18
|
+
}
|
19
|
+
export declare class FungibleAsset {
|
20
|
+
static readonly discriminator = 1;
|
21
|
+
static readonly kind = "FungibleAsset";
|
22
|
+
readonly discriminator = 1;
|
23
|
+
readonly kind = "FungibleAsset";
|
24
|
+
toJSON(): FungibleAssetJSON;
|
25
|
+
toEncodable(): {
|
26
|
+
FungibleAsset: {};
|
27
|
+
};
|
28
|
+
}
|
29
|
+
export interface FungibleJSON {
|
30
|
+
kind: "Fungible";
|
31
|
+
}
|
32
|
+
export declare class Fungible {
|
33
|
+
static readonly discriminator = 2;
|
34
|
+
static readonly kind = "Fungible";
|
35
|
+
readonly discriminator = 2;
|
36
|
+
readonly kind = "Fungible";
|
37
|
+
toJSON(): FungibleJSON;
|
38
|
+
toEncodable(): {
|
39
|
+
Fungible: {};
|
40
|
+
};
|
41
|
+
}
|
42
|
+
export interface NonFungibleEditionJSON {
|
43
|
+
kind: "NonFungibleEdition";
|
44
|
+
}
|
45
|
+
export declare class NonFungibleEdition {
|
46
|
+
static readonly discriminator = 3;
|
47
|
+
static readonly kind = "NonFungibleEdition";
|
48
|
+
readonly discriminator = 3;
|
49
|
+
readonly kind = "NonFungibleEdition";
|
50
|
+
toJSON(): NonFungibleEditionJSON;
|
51
|
+
toEncodable(): {
|
52
|
+
NonFungibleEdition: {};
|
53
|
+
};
|
54
|
+
}
|
55
|
+
export declare function fromDecoded(obj: any): types.TokenStandardKind;
|
56
|
+
export declare function fromJSON(obj: types.TokenStandardJSON): types.TokenStandardKind;
|
57
|
+
export declare function layout(property?: string): borsh.EnumLayout<unknown>;
|
58
|
+
//# sourceMappingURL=TokenStandard.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TokenStandard.d.ts","sourceRoot":"","sources":["../../../src/types/types/TokenStandard.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AACjC,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAA;AAEzC,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,aAAa,CAAA;CACpB;AAED,qBAAa,WAAW;IACtB,MAAM,CAAC,QAAQ,CAAC,aAAa,KAAI;IACjC,MAAM,CAAC,QAAQ,CAAC,IAAI,iBAAgB;IACpC,QAAQ,CAAC,aAAa,KAAI;IAC1B,QAAQ,CAAC,IAAI,iBAAgB;IAE7B,MAAM,IAAI,eAAe;IAMzB,WAAW;;;CAKZ;AAED,M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OwnPropertyDescriptor(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.NonFungibleEdition = exports.Fungible = exports.FungibleAsset = exports.NonFungible = void 0;
|
27
|
+
exports.fromDecoded = fromDecoded;
|
28
|
+
exports.fromJSON = fromJSON;
|
29
|
+
exports.layout = layout;
|
30
|
+
const borsh = __importStar(require("@coral-xyz/borsh"));
|
31
|
+
class NonFungible {
|
32
|
+
constructor() {
|
33
|
+
this.discriminator = 0;
|
34
|
+
this.kind = "NonFungible";
|
35
|
+
}
|
36
|
+
toJSON() {
|
37
|
+
return {
|
38
|
+
kind: "NonFungible",
|
39
|
+
};
|
40
|
+
}
|
41
|
+
toEncodable() {
|
42
|
+
return {
|
43
|
+
NonFungible: {},
|
44
|
+
};
|
45
|
+
}
|
46
|
+
}
|
47
|
+
exports.NonFungible = NonFungible;
|
48
|
+
NonFungible.discriminator = 0;
|
49
|
+
NonFungible.kind = "NonFungible";
|
50
|
+
class FungibleAsset {
|
51
|
+
constructor() {
|
52
|
+
this.discriminator = 1;
|
53
|
+
this.kind = "FungibleAsset";
|
54
|
+
}
|
55
|
+
toJSON() {
|
56
|
+
return {
|
57
|
+
kind: "FungibleAsset",
|
58
|
+
};
|
59
|
+
}
|
60
|
+
toEncodable() {
|
61
|
+
return {
|
62
|
+
FungibleAsset: {},
|
63
|
+
};
|
64
|
+
}
|
65
|
+
}
|
66
|
+
exports.FungibleAsset = FungibleAsset;
|
67
|
+
FungibleAsset.discriminator = 1;
|
68
|
+
FungibleAsset.kind = "FungibleAsset";
|
69
|
+
class Fungible {
|
70
|
+
constructor() {
|
71
|
+
this.discriminator = 2;
|
72
|
+
this.kind = "Fungible";
|
73
|
+
}
|
74
|
+
toJSON() {
|
75
|
+
return {
|
76
|
+
kind: "Fungible",
|
77
|
+
};
|
78
|
+
}
|
79
|
+
toEncodable() {
|
80
|
+
return {
|
81
|
+
Fungible: {},
|
82
|
+
};
|
83
|
+
}
|
84
|
+
}
|
85
|
+
exports.Fungible = Fungible;
|
86
|
+
Fungible.discriminator = 2;
|
87
|
+
Fungible.kind = "Fungible";
|
88
|
+
class NonFungibleEdition {
|
89
|
+
constructor() {
|
90
|
+
this.discriminator = 3;
|
91
|
+
this.kind = "NonFungibleEdition";
|
92
|
+
}
|
93
|
+
toJSON() {
|
94
|
+
return {
|
95
|
+
kind: "NonFungibleEdition",
|
96
|
+
};
|
97
|
+
}
|
98
|
+
toEncodable() {
|
99
|
+
return {
|
100
|
+
NonFungibleEdition: {},
|
101
|
+
};
|
102
|
+
}
|
103
|
+
}
|
104
|
+
exports.NonFungibleEdition = NonFungibleEdition;
|
105
|
+
NonFungibleEdition.discriminator = 3;
|
106
|
+
NonFungibleEdition.kind = "NonFungibleEdition";
|
107
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
108
|
+
function fromDecoded(obj) {
|
109
|
+
if (typeof obj !== "object") {
|
110
|
+
throw new Error("Invalid enum object");
|
111
|
+
}
|
112
|
+
if ("NonFungible" in obj) {
|
113
|
+
return new NonFungible();
|
114
|
+
}
|
115
|
+
if ("FungibleAsset" in obj) {
|
116
|
+
return new FungibleAsset();
|
117
|
+
}
|
118
|
+
if ("Fungible" in obj) {
|
119
|
+
return new Fungible();
|
120
|
+
}
|
121
|
+
if ("NonFungibleEdition" in obj) {
|
122
|
+
return new NonFungibleEdition();
|
123
|
+
}
|
124
|
+
throw new Error("Invalid enum object");
|
125
|
+
}
|
126
|
+
function fromJSON(obj) {
|
127
|
+
switch (obj.kind) {
|
128
|
+
case "NonFungible": {
|
129
|
+
return new NonFungible();
|
130
|
+
}
|
131
|
+
case "FungibleAsset": {
|
132
|
+
return new FungibleAsset();
|
133
|
+
}
|
134
|
+
case "Fungible": {
|
135
|
+
return new Fungible();
|
136
|
+
}
|
137
|
+
case "NonFungibleEdition": {
|
138
|
+
return new NonFungibleEdition();
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
function layout(property) {
|
143
|
+
const ret = borsh.rustEnum([
|
144
|
+
borsh.struct([], "NonFungible"),
|
145
|
+
borsh.struct([], "FungibleAsset"),
|
146
|
+
borsh.struct([], "Fungible"),
|
147
|
+
borsh.struct([], "NonFungibleEdition"),
|
148
|
+
]);
|
149
|
+
if (property !== undefined) {
|
150
|
+
return ret.replicate(property);
|
151
|
+
}
|
152
|
+
return ret;
|
153
|
+
}
|
154
|
+
//# sourceMappingURL=TokenStandard.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TokenStandard.js","sourceRoot":"","sources":["../../../src/types/types/TokenStandard.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAkGA,kCAmBC;AAED,4BAiBC;AAED,wBAWC;AAlJD,wDAAyC;AAMzC,MAAa,WAAW;IAAxB;QAGW,kBAAa,GAAG,CAAC,CAAA;QACjB,SAAI,GAAG,aAAa,CAAA;IAa/B,CAAC;IAXC,MAAM;QACJ,OAAO;YACL,IAAI,EAAE,aAAa;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EAAE,UAAU,CAAC;QAC5B,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,oBAAoB,CAAC;KACvC,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,32 @@
|
|
1
|
+
import * as types from "../types";
|
2
|
+
import * as borsh from "@coral-xyz/borsh";
|
3
|
+
export interface NewJSON {
|
4
|
+
kind: "New";
|
5
|
+
}
|
6
|
+
export declare class New {
|
7
|
+
static readonly discriminator = 0;
|
8
|
+
static readonly kind = "New";
|
9
|
+
readonly discriminator = 0;
|
10
|
+
readonly kind = "New";
|
11
|
+
toJSON(): NewJSON;
|
12
|
+
toEncodable(): {
|
13
|
+
New: {};
|
14
|
+
};
|
15
|
+
}
|
16
|
+
export interface ActiveJSON {
|
17
|
+
kind: "Active";
|
18
|
+
}
|
19
|
+
export declare class Active {
|
20
|
+
static readonly discriminator = 1;
|
21
|
+
static readonly kind = "Active";
|
22
|
+
readonly discriminator = 1;
|
23
|
+
readonly kind = "Active";
|
24
|
+
toJSON(): ActiveJSON;
|
25
|
+
toEncodable(): {
|
26
|
+
Active: {};
|
27
|
+
};
|
28
|
+
}
|
29
|
+
export declare function fromDecoded(obj: any): types.TokenStateKind;
|
30
|
+
export declare function fromJSON(obj: types.TokenStateJSON): types.TokenStateKind;
|
31
|
+
export declare function layout(property?: string): borsh.EnumLayout<unknown>;
|
32
|
+
//# sourceMappingURL=TokenState.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TokenState.d.ts","sourceRoot":"","sources":["../../../src/types/types/TokenState.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AACjC,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAA;AAEzC,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,KAAK,CAAA;CACZ;AAED,qBAAa,GAAG;IACd,MAAM,CAAC,QAAQ,CAAC,aAAa,KAAI;IACjC,MAAM,CAAC,QAAQ,CAAC,IAAI,SAAQ;IAC5B,QAAQ,CAAC,aAAa,KAAI;IAC1B,QAAQ,CAAC,IAAI,SAAQ;IAErB,MAAM,IAAI,OAAO;IAMjB,WAAW;;;CAKZ;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,QAAQ,CAAA;CACf;AAED,qBAAa,MAAM;IACjB,MAAM,CAAC,QAAQ,CAAC,aAAa,KAAI;IACjC,MAAM,CAAC,QAAQ,CAAC,IAAI,YAAW;IAC/B,QAAQ,CAAC,aAAa,KAAI;IAC1B,QAAQ,CAAC,IAAI,YAAW;IAExB,MAAM,IAAI,UAAU;IAMpB,WAAW;;;CAKZ;AAGD,wBAAgB,WAAW,CAAC,GAAG,EAAE,GAAG,GAAG,KAAK,CAAC,cAAc,CAa1D;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,KAAK,CAAC,cAAc,GAAG,KAAK,CAAC,cAAc,CASxE;AAED,wBAAgB,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,6BASvC"}
|
@@ -0,0 +1,102 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
+
exports.Active = exports.New = void 0;
|
27
|
+
exports.fromDecoded = fromDecoded;
|
28
|
+
exports.fromJSON = fromJSON;
|
29
|
+
exports.layout = layout;
|
30
|
+
const borsh = __importStar(require("@coral-xyz/borsh"));
|
31
|
+
class New {
|
32
|
+
constructor() {
|
33
|
+
this.discriminator = 0;
|
34
|
+
this.kind = "New";
|
35
|
+
}
|
36
|
+
toJSON() {
|
37
|
+
return {
|
38
|
+
kind: "New",
|
39
|
+
};
|
40
|
+
}
|
41
|
+
toEncodable() {
|
42
|
+
return {
|
43
|
+
New: {},
|
44
|
+
};
|
45
|
+
}
|
46
|
+
}
|
47
|
+
exports.New = New;
|
48
|
+
New.discriminator = 0;
|
49
|
+
New.kind = "New";
|
50
|
+
class Active {
|
51
|
+
constructor() {
|
52
|
+
this.discriminator = 1;
|
53
|
+
this.kind = "Active";
|
54
|
+
}
|
55
|
+
toJSON() {
|
56
|
+
return {
|
57
|
+
kind: "Active",
|
58
|
+
};
|
59
|
+
}
|
60
|
+
toEncodable() {
|
61
|
+
return {
|
62
|
+
Active: {},
|
63
|
+
};
|
64
|
+
}
|
65
|
+
}
|
66
|
+
exports.Active = Active;
|
67
|
+
Active.discriminator = 1;
|
68
|
+
Active.kind = "Active";
|
69
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
70
|
+
function fromDecoded(obj) {
|
71
|
+
if (typeof obj !== "object") {
|
72
|
+
throw new Error("Invalid enum object");
|
73
|
+
}
|
74
|
+
if ("New" in obj) {
|
75
|
+
return new New();
|
76
|
+
}
|
77
|
+
if ("Active" in obj) {
|
78
|
+
return new Active();
|
79
|
+
}
|
80
|
+
throw new Error("Invalid enum object");
|
81
|
+
}
|
82
|
+
function fromJSON(obj) {
|
83
|
+
switch (obj.kind) {
|
84
|
+
case "New": {
|
85
|
+
return new New();
|
86
|
+
}
|
87
|
+
case "Active": {
|
88
|
+
return new Active();
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
function layout(property) {
|
93
|
+
const ret = borsh.rustEnum([
|
94
|
+
borsh.struct([], "New"),
|
95
|
+
borsh.struct([], "Active"),
|
96
|
+
]);
|
97
|
+
if (property !== undefined) {
|
98
|
+
return ret.replicate(property);
|
99
|
+
}
|
100
|
+
return ret;
|
101
|
+
}
|
102
|
+
//# sourceMappingURL=TokenState.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TokenState.js","sourceRoot":"","sources":["../../../src/types/types/TokenState.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAoDA,kCAaC;AAED,4BASC;AAED,wBASC;AApFD,wDAAyC;AAMzC,MAAa,GAAG;IAAhB;QAGW,kBAAa,GAAG,CAAC,CAAA;QACjB,SAAI,GAAG,KAAK,CAAA;IAavB,CAAC;IAXC,MAAM;QACJ,OAAO;YACL,IAAI,EAAE,KAAK;SACZ,CAAA;IACH,CAAC;IAED,WAAW;QACT,OAAO;YACL,GAAG,EAAE,EAAE;SACR,CAAA;IACH,CAAC;;AAhBH,kBAiBC;AAhBiB,iBAAa,GAAG,CAAC,AAAJ,CAAI;AACjB,QAAI,GAAG,KAAK,AAAR,CAAQ;AAqB9B,MAAa,MAAM;IAAnB;QAGW,kBAAa,GAAG,CAAC,CAAA;QACjB,SAAI,GAAG,QAAQ,CAAA;IAa1B,CAAC;IAXC,MAAM;QACJ,OAAO;YACL,IAAI,EAAE,QAAQ;SACf,CAAA;IAC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types from "../types";
|
2
|
+
import * as borsh from "@coral-xyz/borsh";
|
3
|
+
export interface BasicJSON {
|
4
|
+
kind: "Basic";
|
5
|
+
}
|
6
|
+
export declare class Basic {
|
7
|
+
static readonly discriminator = 0;
|
8
|
+
static readonly kind = "Basic";
|
9
|
+
readonly discriminator = 0;
|
10
|
+
readonly kind = "Basic";
|
11
|
+
toJSON(): BasicJSON;
|
12
|
+
toEncodable(): {
|
13
|
+
Basic: {};
|
14
|
+
};
|
15
|
+
}
|
16
|
+
export interface OnlyUpJSON {
|
17
|
+
kind: "OnlyUp";
|
18
|
+
}
|
19
|
+
export declare class OnlyUp {
|
20
|
+
static readonly discriminator = 1;
|
21
|
+
static readonly kind = "OnlyUp";
|
22
|
+
readonly discriminator = 1;
|
23
|
+
readonly kind = "OnlyUp";
|
24
|
+
toJSON(): OnlyUpJSON;
|
25
|
+
toEncodable(): {
|
26
|
+
OnlyUp: {};
|
27
|
+
};
|
28
|
+
}
|
29
|
+
export declare function fromDecoded(obj: any): types.TokenTypeKind;
|
30
|
+
export declare function fromJSON(obj: types.TokenTypeJSON): types.TokenTypeKind;
|
31
|
+
export declare function layout(property?: string): borsh.EnumLayout<unknown>;
|
32
|
+
//# sourceMappingURL=TokenType.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TokenType.d.ts","sourceRoot":"","sources":["../../../src/types/types/TokenType.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AACjC,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAA;AAEzC,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,OAAO,CAAA;CACd;AAED,qBAAa,KAAK;IAChB,MAAM,CAAC,QAAQ,CAAC,aAAa,KAAI;IACjC,MAAM,CAAC,QAAQ,CAAC,IAAI,WAAU;IAC9B,QAAQ,CAAC,aAAa,KAAI;IAC1B,QAAQ,CAAC,IAAI,WAAU;IAEvB,MAAM,IAAI,SAAS;IAMnB,WAAW;;;CAKZ;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,QAAQ,CAAA;CACf;AAED,qBAAa,MAAM;IACjB,MAAM,CAAC,QAAQ,CAAC,aAAa,KAAI;IACjC,MAAM,CAAC,QAAQ,CAAC,IAAI,YAAW;IAC/B,QAAQ,CAAC,aAAa,KAAI;IAC1B,QAAQ,CAAC,IAAI,YAAW;IAExB,MAAM,IAAI,UAAU;IAMpB,WAAW;;;CAKZ;AAGD,wBAAgB,WAAW,CAAC,GAAG,EAAE,GAAG,GAAG,KAAK,CAAC,aAAa,CAazD;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,KAAK,CAAC,aAAa,GAAG,KAAK,CAAC,aAAa,CAStE;AAED,wBAAgB,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,6BASvC"}
|
@@ -0,0 +1,102 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
+
exports.OnlyUp = exports.Basic = void 0;
|
27
|
+
exports.fromDecoded = fromDecoded;
|
28
|
+
exports.fromJSON = fromJSON;
|
29
|
+
exports.layout = layout;
|
30
|
+
const borsh = __importStar(require("@coral-xyz/borsh"));
|
31
|
+
class Basic {
|
32
|
+
constructor() {
|
33
|
+
this.discriminator = 0;
|
34
|
+
this.kind = "Basic";
|
35
|
+
}
|
36
|
+
toJSON() {
|
37
|
+
return {
|
38
|
+
kind: "Basic",
|
39
|
+
};
|
40
|
+
}
|
41
|
+
toEncodable() {
|
42
|
+
return {
|
43
|
+
Basic: {},
|
44
|
+
};
|
45
|
+
}
|
46
|
+
}
|
47
|
+
exports.Basic = Basic;
|
48
|
+
Basic.discriminator = 0;
|
49
|
+
Basic.kind = "Basic";
|
50
|
+
class OnlyUp {
|
51
|
+
constructor() {
|
52
|
+
this.discriminator = 1;
|
53
|
+
this.kind = "OnlyUp";
|
54
|
+
}
|
55
|
+
toJSON() {
|
56
|
+
return {
|
57
|
+
kind: "OnlyUp",
|
58
|
+
};
|
59
|
+
}
|
60
|
+
toEncodable() {
|
61
|
+
return {
|
62
|
+
OnlyUp: {},
|
63
|
+
};
|
64
|
+
}
|
65
|
+
}
|
66
|
+
exports.OnlyUp = OnlyUp;
|
67
|
+
OnlyUp.discriminator = 1;
|
68
|
+
OnlyUp.kind = "OnlyUp";
|
69
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
70
|
+
function fromDecoded(obj) {
|
71
|
+
if (typeof obj !== "object") {
|
72
|
+
throw new Error("Invalid enum object");
|
73
|
+
}
|
74
|
+
if ("Basic" in obj) {
|
75
|
+
return new Basic();
|
76
|
+
}
|
77
|
+
if ("OnlyUp" in obj) {
|
78
|
+
return new OnlyUp();
|
79
|
+
}
|
80
|
+
throw new Error("Invalid enum object");
|
81
|
+
}
|
82
|
+
function fromJSON(obj) {
|
83
|
+
switch (obj.kind) {
|
84
|
+
case "Basic": {
|
85
|
+
return new Basic();
|
86
|
+
}
|
87
|
+
case "OnlyUp": {
|
88
|
+
return new OnlyUp();
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
function layout(property) {
|
93
|
+
const ret = borsh.rustEnum([
|
94
|
+
borsh.struct([], "Basic"),
|
95
|
+
borsh.struct([], "OnlyUp"),
|
96
|
+
]);
|
97
|
+
if (property !== undefined) {
|
98
|
+
return ret.replicate(property);
|
99
|
+
}
|
100
|
+
return ret;
|
101
|
+
}
|
102
|
+
//# sourceMappingURL=TokenType.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TokenType.js","sourceRoot":"","sources":["../../../src/types/types/TokenType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAoDA,kCAaC;AAED,4BASC;AAED,wBASC;AApFD,wDAAyC;AAMzC,MAAa,KAAK;IAAlB;QAGW,kBAAa,GAAG,CAAC,CAAA;QACjB,SAAI,GAAG,OAAO,CAAA;IAazB,CAAC;IAXC,MAAM;QACJ,OAAO;YACL,IAAI,EAAE,OAAO;SACd,CAAA;IACH,CAAC;IAED,WAAW;QACT,OAAO;YACL,KAAK,EAAE,EAAE;SACV,CAAA;IACH,CAAC;;AAhBH,sBAiBC;AAhBiB,mBAAa,GAAG,CAAC,AAAJ,CAAI;AACjB,UAAI,GAAG,OAAO,AAAV,CAAU;AAqBhC,MAAa,MAAM;IAAnB;QAGW,kBAAa,GAAG,CAAC,CAAA;QACjB,SAAI,GAAG,QAAQ,CAAA;IAa1B,CAAC;IAXC,MAAM;QACJ,OAAO;YACL,IAAI,EAAE,QAAQ;SACf,CAAA;IACH,CAAC;IAED,WAAW;QACT,OAAO;YACL,MAAM,EAAE,EAAE;SACX,CAAA;IACH,CAAC;;AAhBH,wBAiBC;AAhBiB,oBAAa,GAAG,CAAC,AAAJ,CAAI;AACjB,WAAI,GAAG,QAAQ,AAAX,CAAW;AAiBjC,8DAA8D;AAC9D,SAAgB,WAAW,CAAC,GAAQ;IAClC,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE,CAAC;QAC5B,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAA;IACxC,CAAC;IAED,IAAI,OAAO,IAAI,GAAG,EAAE,CAAC;QACnB,OAAO,IAAI,KAAK,EAAE,CAAA;IACpB,CAAC;IACD,IAAI,QAAQ,IAAI,GAAG,EAAE,CAAC;QACpB,OAAO,IAAI,MAAM,EAAE,CAAA;IACrB,CAAC;IAED,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAA;AACxC,CAAC;AAED,SAAgB,QAAQ,CAAC,GAAwB;IAC/C,QAAQ,GAAG,CAAC,IAAI,EAAE,CAAC;QACjB,KAAK,OAAO,CAAC,CAAC,CAAC;YACb,OAAO,IAAI,KAAK,EAAE,CAAA;QACpB,CAAC;QACD,KAAK,QAAQ,CAAC,CAAC,CAAC;YACd,OAAO,IAAI,MAAM,EAAE,CAAA;QACrB,CAAC;IACH,CAAC;AACH,CAAC;AAED,SAAgB,MAAM,CAAC,QAAiB;IACtC,MAAM,GAAG,GAAG,KAAK,CAAC,QAAQ,CAAC;QACzB,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC;QACzB,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,CAAC;KAC3B,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,37 @@
|
|
1
|
+
import * as types from "../types";
|
2
|
+
export interface TotalPerTimeArgsFields {
|
3
|
+
count: number;
|
4
|
+
amount: number;
|
5
|
+
time: number;
|
6
|
+
lastTimeReset: number;
|
7
|
+
}
|
8
|
+
export interface TotalPerTimeArgsJSON {
|
9
|
+
count: number;
|
10
|
+
amount: number;
|
11
|
+
time: number;
|
12
|
+
lastTimeReset: number;
|
13
|
+
}
|
14
|
+
export declare class TotalPerTimeArgs {
|
15
|
+
readonly count: number;
|
16
|
+
readonly amount: number;
|
17
|
+
readonly time: number;
|
18
|
+
readonly lastTimeReset: number;
|
19
|
+
constructor(fields: TotalPerTimeArgsFields);
|
20
|
+
static layout(property?: string): any;
|
21
|
+
static fromDecoded(obj: any): types.TotalPerTimeArgs;
|
22
|
+
static toEncodable(fields: TotalPerTimeArgsFields): {
|
23
|
+
count: number;
|
24
|
+
amount: number;
|
25
|
+
time: number;
|
26
|
+
lastTimeReset: number;
|
27
|
+
};
|
28
|
+
toJSON(): TotalPerTimeArgsJSON;
|
29
|
+
static fromJSON(obj: TotalPerTimeArgsJSON): TotalPerTimeArgs;
|
30
|
+
toEncodable(): {
|
31
|
+
count: number;
|
32
|
+
amount: number;
|
33
|
+
time: number;
|
34
|
+
lastTimeReset: number;
|
35
|
+
};
|
36
|
+
}
|
37
|
+
//# sourceMappingURL=TotalPerTimeArgs.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TotalPerTimeArgs.d.ts","sourceRoot":"","sources":["../../../src/types/types/TotalPerTimeArgs.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;CACtB;AAED,qBAAa,gBAAgB;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAA;gBAElB,MAAM,EAAE,sBAAsB;IAO1C,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM;IAa/B,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG;IAS3B,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,sBAAsB;;;;;;IASjD,MAAM,IAAI,oBAAoB;IAS9B,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,oBAAoB,GAAG,gBAAgB;IAS5D,WAAW;;;;;;CAGZ"}
|