3land_sdk 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/index.ts +13 -9
- package/src/library/Store.ts +4 -1
- package/src/library/implementation/storeImplementation.ts +39 -13
- package/src/types/implementation/implementationTypes.ts +1 -0
- package/src/utility/validation.ts +11 -11
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -68
- package/dist/index.js.map +0 -1
- package/dist/library/Irys/irys.d.ts +0 -79
- package/dist/library/Irys/irys.d.ts.map +0 -1
- package/dist/library/Irys/irys.js +0 -318
- package/dist/library/Irys/irys.js.map +0 -1
- package/dist/library/Store.d.ts +0 -19
- package/dist/library/Store.d.ts.map +0 -1
- package/dist/library/Store.js +0 -378
- package/dist/library/Store.js.map +0 -1
- package/dist/library/implementation/storeImplementation.d.ts +0 -20
- package/dist/library/implementation/storeImplementation.d.ts.map +0 -1
- package/dist/library/implementation/storeImplementation.js +0 -389
- package/dist/library/implementation/storeImplementation.js.map +0 -1
- package/dist/library/instructions/store/buySingleEdition.d.ts +0 -17
- package/dist/library/instructions/store/buySingleEdition.d.ts.map +0 -1
- package/dist/library/instructions/store/buySingleEdition.js +0 -154
- package/dist/library/instructions/store/buySingleEdition.js.map +0 -1
- package/dist/library/instructions/store/createSingleEdition.d.ts +0 -4
- package/dist/library/instructions/store/createSingleEdition.d.ts.map +0 -1
- package/dist/library/instructions/store/createSingleEdition.js +0 -31
- package/dist/library/instructions/store/createSingleEdition.js.map +0 -1
- package/dist/library/instructions/store/createStore.d.ts +0 -4
- package/dist/library/instructions/store/createStore.d.ts.map +0 -1
- package/dist/library/instructions/store/createStore.js +0 -10
- package/dist/library/instructions/store/createStore.js.map +0 -1
- package/dist/library/instructions/store/idl.d.ts +0 -508
- package/dist/library/instructions/store/idl.d.ts.map +0 -1
- package/dist/library/instructions/store/idl.js +0 -7622
- package/dist/library/instructions/store/idl.js.map +0 -1
- package/dist/library/instructions/store/uploadFilesIryis.d.ts +0 -13
- package/dist/library/instructions/store/uploadFilesIryis.d.ts.map +0 -1
- package/dist/library/instructions/store/uploadFilesIryis.js +0 -99
- package/dist/library/instructions/store/uploadFilesIryis.js.map +0 -1
- package/dist/types/accounts/ArchiveDeposit.d.ts +0 -63
- package/dist/types/accounts/ArchiveDeposit.d.ts.map +0 -1
- package/dist/types/accounts/ArchiveDeposit.js +0 -158
- package/dist/types/accounts/ArchiveDeposit.js.map +0 -1
- package/dist/types/accounts/Authority.d.ts +0 -16
- package/dist/types/accounts/Authority.d.ts.map +0 -1
- package/dist/types/accounts/Authority.js +0 -72
- package/dist/types/accounts/Authority.js.map +0 -1
- package/dist/types/accounts/BurnDeposit.d.ts +0 -26
- package/dist/types/accounts/BurnDeposit.d.ts.map +0 -1
- package/dist/types/accounts/BurnDeposit.js +0 -93
- package/dist/types/accounts/BurnDeposit.js.map +0 -1
- package/dist/types/accounts/BurnProgress.d.ts +0 -22
- package/dist/types/accounts/BurnProgress.d.ts.map +0 -1
- package/dist/types/accounts/BurnProgress.js +0 -88
- package/dist/types/accounts/BurnProgress.js.map +0 -1
- package/dist/types/accounts/BuyHistory.d.ts +0 -32
- package/dist/types/accounts/BuyHistory.d.ts.map +0 -1
- package/dist/types/accounts/BuyHistory.js +0 -104
- package/dist/types/accounts/BuyHistory.js.map +0 -1
- package/dist/types/accounts/BuyTrack.d.ts +0 -22
- package/dist/types/accounts/BuyTrack.d.ts.map +0 -1
- package/dist/types/accounts/BuyTrack.js +0 -84
- package/dist/types/accounts/BuyTrack.js.map +0 -1
- package/dist/types/accounts/Card.d.ts +0 -57
- package/dist/types/accounts/Card.d.ts.map +0 -1
- package/dist/types/accounts/Card.js +0 -148
- package/dist/types/accounts/Card.js.map +0 -1
- package/dist/types/accounts/CollectionRegistry.d.ts +0 -42
- package/dist/types/accounts/CollectionRegistry.d.ts.map +0 -1
- package/dist/types/accounts/CollectionRegistry.js +0 -123
- package/dist/types/accounts/CollectionRegistry.js.map +0 -1
- package/dist/types/accounts/CollectorRegistry.d.ts +0 -42
- package/dist/types/accounts/CollectorRegistry.d.ts.map +0 -1
- package/dist/types/accounts/CollectorRegistry.js +0 -123
- package/dist/types/accounts/CollectorRegistry.js.map +0 -1
- package/dist/types/accounts/CreatorRegistry.d.ts +0 -45
- package/dist/types/accounts/CreatorRegistry.d.ts.map +0 -1
- package/dist/types/accounts/CreatorRegistry.js +0 -128
- package/dist/types/accounts/CreatorRegistry.js.map +0 -1
- package/dist/types/accounts/CurrencyArtistProof.d.ts +0 -29
- package/dist/types/accounts/CurrencyArtistProof.d.ts.map +0 -1
- package/dist/types/accounts/CurrencyArtistProof.js +0 -101
- package/dist/types/accounts/CurrencyArtistProof.js.map +0 -1
- package/dist/types/accounts/GenericUser.d.ts +0 -54
- package/dist/types/accounts/GenericUser.d.ts.map +0 -1
- package/dist/types/accounts/GenericUser.js +0 -143
- package/dist/types/accounts/GenericUser.js.map +0 -1
- package/dist/types/accounts/ItemArchive.d.ts +0 -69
- package/dist/types/accounts/ItemArchive.d.ts.map +0 -1
- package/dist/types/accounts/ItemArchive.js +0 -168
- package/dist/types/accounts/ItemArchive.js.map +0 -1
- package/dist/types/accounts/ItemReserveList.d.ts +0 -19
- package/dist/types/accounts/ItemReserveList.d.ts.map +0 -1
- package/dist/types/accounts/ItemReserveList.js +0 -81
- package/dist/types/accounts/ItemReserveList.js.map +0 -1
- package/dist/types/accounts/ItemReserveList2.d.ts +0 -16
- package/dist/types/accounts/ItemReserveList2.d.ts.map +0 -1
- package/dist/types/accounts/ItemReserveList2.js +0 -72
- package/dist/types/accounts/ItemReserveList2.js.map +0 -1
- package/dist/types/accounts/LutVault.d.ts +0 -22
- package/dist/types/accounts/LutVault.d.ts.map +0 -1
- package/dist/types/accounts/LutVault.js +0 -88
- package/dist/types/accounts/LutVault.js.map +0 -1
- package/dist/types/accounts/Pack.d.ts +0 -123
- package/dist/types/accounts/Pack.d.ts.map +0 -1
- package/dist/types/accounts/Pack.js +0 -258
- package/dist/types/accounts/Pack.js.map +0 -1
- package/dist/types/accounts/PackContent.d.ts +0 -23
- package/dist/types/accounts/PackContent.d.ts.map +0 -1
- package/dist/types/accounts/PackContent.js +0 -89
- package/dist/types/accounts/PackContent.js.map +0 -1
- package/dist/types/accounts/PackOpenHolder.d.ts +0 -38
- package/dist/types/accounts/PackOpenHolder.d.ts.map +0 -1
- package/dist/types/accounts/PackOpenHolder.js +0 -114
- package/dist/types/accounts/PackOpenHolder.js.map +0 -1
- package/dist/types/accounts/PackReceipt.d.ts +0 -42
- package/dist/types/accounts/PackReceipt.d.ts.map +0 -1
- package/dist/types/accounts/PackReceipt.js +0 -123
- package/dist/types/accounts/PackReceipt.js.map +0 -1
- package/dist/types/accounts/PackTraits.d.ts +0 -23
- package/dist/types/accounts/PackTraits.d.ts.map +0 -1
- package/dist/types/accounts/PackTraits.js +0 -88
- package/dist/types/accounts/PackTraits.js.map +0 -1
- package/dist/types/accounts/Payment.d.ts +0 -23
- package/dist/types/accounts/Payment.d.ts.map +0 -1
- package/dist/types/accounts/Payment.js +0 -88
- package/dist/types/accounts/Payment.js.map +0 -1
- package/dist/types/accounts/PoolVault.d.ts +0 -54
- package/dist/types/accounts/PoolVault.d.ts.map +0 -1
- package/dist/types/accounts/PoolVault.js +0 -143
- package/dist/types/accounts/PoolVault.js.map +0 -1
- package/dist/types/accounts/RevealForMe.d.ts +0 -38
- package/dist/types/accounts/RevealForMe.d.ts.map +0 -1
- package/dist/types/accounts/RevealForMe.js +0 -112
- package/dist/types/accounts/RevealForMe.js.map +0 -1
- package/dist/types/accounts/SecureHolder.d.ts +0 -23
- package/dist/types/accounts/SecureHolder.d.ts.map +0 -1
- package/dist/types/accounts/SecureHolder.js +0 -88
- package/dist/types/accounts/SecureHolder.js.map +0 -1
- package/dist/types/accounts/Single.d.ts +0 -99
- package/dist/types/accounts/Single.d.ts.map +0 -1
- package/dist/types/accounts/Single.js +0 -216
- package/dist/types/accounts/Single.js.map +0 -1
- package/dist/types/accounts/Store.d.ts +0 -54
- package/dist/types/accounts/Store.d.ts.map +0 -1
- package/dist/types/accounts/Store.js +0 -144
- package/dist/types/accounts/Store.js.map +0 -1
- package/dist/types/accounts/StoresHolder.d.ts +0 -33
- package/dist/types/accounts/StoresHolder.d.ts.map +0 -1
- package/dist/types/accounts/StoresHolder.js +0 -115
- package/dist/types/accounts/StoresHolder.js.map +0 -1
- package/dist/types/accounts/ThreeId.d.ts +0 -57
- package/dist/types/accounts/ThreeId.d.ts.map +0 -1
- package/dist/types/accounts/ThreeId.js +0 -146
- package/dist/types/accounts/ThreeId.js.map +0 -1
- package/dist/types/accounts/TokenManager.d.ts +0 -69
- package/dist/types/accounts/TokenManager.d.ts.map +0 -1
- package/dist/types/accounts/TokenManager.js +0 -168
- package/dist/types/accounts/TokenManager.js.map +0 -1
- package/dist/types/accounts/ZeroCard.d.ts +0 -16
- package/dist/types/accounts/ZeroCard.d.ts.map +0 -1
- package/dist/types/accounts/ZeroCard.js +0 -72
- package/dist/types/accounts/ZeroCard.js.map +0 -1
- package/dist/types/accounts/ZeroContent.d.ts +0 -19
- package/dist/types/accounts/ZeroContent.d.ts.map +0 -1
- package/dist/types/accounts/ZeroContent.js +0 -82
- package/dist/types/accounts/ZeroContent.js.map +0 -1
- package/dist/types/accounts/ZeroOpenHolder.d.ts +0 -51
- package/dist/types/accounts/ZeroOpenHolder.d.ts.map +0 -1
- package/dist/types/accounts/ZeroOpenHolder.js +0 -144
- package/dist/types/accounts/ZeroOpenHolder.js.map +0 -1
- package/dist/types/accounts/index.d.ts +0 -67
- package/dist/types/accounts/index.d.ts.map +0 -1
- package/dist/types/accounts/index.js +0 -70
- package/dist/types/accounts/index.js.map +0 -1
- package/dist/types/errors/anchor.d.ts +0 -435
- package/dist/types/errors/anchor.d.ts.map +0 -1
- package/dist/types/errors/anchor.js +0 -713
- package/dist/types/errors/anchor.js.map +0 -1
- package/dist/types/errors/index.d.ts +0 -5
- package/dist/types/errors/index.d.ts.map +0 -1
- package/dist/types/errors/index.js +0 -67
- package/dist/types/errors/index.js.map +0 -1
- package/dist/types/implementation/implementationTypes.d.ts +0 -28
- package/dist/types/implementation/implementationTypes.d.ts.map +0 -1
- package/dist/types/implementation/implementationTypes.js +0 -3
- package/dist/types/implementation/implementationTypes.js.map +0 -1
- package/dist/types/instructions/addBurn.d.ts +0 -20
- package/dist/types/instructions/addBurn.d.ts.map +0 -1
- package/dist/types/instructions/addBurn.js +0 -57
- package/dist/types/instructions/addBurn.js.map +0 -1
- package/dist/types/instructions/adjustDepositBurn.d.ts +0 -12
- package/dist/types/instructions/adjustDepositBurn.d.ts.map +0 -1
- package/dist/types/instructions/adjustDepositBurn.js +0 -20
- package/dist/types/instructions/adjustDepositBurn.js.map +0 -1
- package/dist/types/instructions/archiveItem.d.ts +0 -22
- package/dist/types/instructions/archiveItem.d.ts.map +0 -1
- package/dist/types/instructions/archiveItem.js +0 -57
- package/dist/types/instructions/archiveItem.js.map +0 -1
- package/dist/types/instructions/assignPackDelegate.d.ts +0 -10
- package/dist/types/instructions/assignPackDelegate.d.ts.map +0 -1
- package/dist/types/instructions/assignPackDelegate.js +0 -19
- package/dist/types/instructions/assignPackDelegate.js.map +0 -1
- package/dist/types/instructions/burnPay.d.ts +0 -19
- package/dist/types/instructions/burnPay.d.ts.map +0 -1
- package/dist/types/instructions/burnPay.js +0 -56
- package/dist/types/instructions/burnPay.js.map +0 -1
- package/dist/types/instructions/buyPack.d.ts +0 -25
- package/dist/types/instructions/buyPack.d.ts.map +0 -1
- package/dist/types/instructions/buyPack.js +0 -65
- package/dist/types/instructions/buyPack.js.map +0 -1
- package/dist/types/instructions/buyPay.d.ts +0 -19
- package/dist/types/instructions/buyPay.d.ts.map +0 -1
- package/dist/types/instructions/buyPay.js +0 -66
- package/dist/types/instructions/buyPay.js.map +0 -1
- package/dist/types/instructions/buyToken.d.ts +0 -21
- package/dist/types/instructions/buyToken.d.ts.map +0 -1
- package/dist/types/instructions/buyToken.js +0 -63
- package/dist/types/instructions/buyToken.js.map +0 -1
- package/dist/types/instructions/claimZeroCard.d.ts +0 -40
- package/dist/types/instructions/claimZeroCard.d.ts.map +0 -1
- package/dist/types/instructions/claimZeroCard.js +0 -87
- package/dist/types/instructions/claimZeroCard.js.map +0 -1
- package/dist/types/instructions/closeDepositBurn.d.ts +0 -17
- package/dist/types/instructions/closeDepositBurn.d.ts.map +0 -1
- package/dist/types/instructions/closeDepositBurn.js +0 -50
- package/dist/types/instructions/closeDepositBurn.js.map +0 -1
- package/dist/types/instructions/closeRegisterTraits.d.ts +0 -9
- package/dist/types/instructions/closeRegisterTraits.d.ts.map +0 -1
- package/dist/types/instructions/closeRegisterTraits.js +0 -18
- package/dist/types/instructions/closeRegisterTraits.js.map +0 -1
- package/dist/types/instructions/createCard.d.ts +0 -19
- package/dist/types/instructions/createCard.d.ts.map +0 -1
- package/dist/types/instructions/createCard.js +0 -58
- package/dist/types/instructions/createCard.js.map +0 -1
- package/dist/types/instructions/createCollection.d.ts +0 -22
- package/dist/types/instructions/createCollection.d.ts.map +0 -1
- package/dist/types/instructions/createCollection.js +0 -67
- package/dist/types/instructions/createCollection.js.map +0 -1
- package/dist/types/instructions/createPack.d.ts +0 -25
- package/dist/types/instructions/createPack.d.ts.map +0 -1
- package/dist/types/instructions/createPack.js +0 -68
- package/dist/types/instructions/createPack.js.map +0 -1
- package/dist/types/instructions/createSingle.d.ts +0 -25
- package/dist/types/instructions/createSingle.d.ts.map +0 -1
- package/dist/types/instructions/createSingle.js +0 -68
- package/dist/types/instructions/createSingle.js.map +0 -1
- package/dist/types/instructions/createStore.d.ts +0 -16
- package/dist/types/instructions/createStore.d.ts.map +0 -1
- package/dist/types/instructions/createStore.js +0 -55
- package/dist/types/instructions/createStore.js.map +0 -1
- package/dist/types/instructions/createTokenLauncher.d.ts +0 -28
- package/dist/types/instructions/createTokenLauncher.d.ts.map +0 -1
- package/dist/types/instructions/createTokenLauncher.js +0 -76
- package/dist/types/instructions/createTokenLauncher.js.map +0 -1
- package/dist/types/instructions/createZeroCard.d.ts +0 -25
- package/dist/types/instructions/createZeroCard.d.ts.map +0 -1
- package/dist/types/instructions/createZeroCard.js +0 -69
- package/dist/types/instructions/createZeroCard.js.map +0 -1
- package/dist/types/instructions/deleteCard.d.ts +0 -11
- package/dist/types/instructions/deleteCard.d.ts.map +0 -1
- package/dist/types/instructions/deleteCard.js +0 -20
- package/dist/types/instructions/deleteCard.js.map +0 -1
- package/dist/types/instructions/deletePack.d.ts +0 -15
- package/dist/types/instructions/deletePack.d.ts.map +0 -1
- package/dist/types/instructions/deletePack.js +0 -24
- package/dist/types/instructions/deletePack.js.map +0 -1
- package/dist/types/instructions/deleteSingle.d.ts +0 -13
- package/dist/types/instructions/deleteSingle.d.ts.map +0 -1
- package/dist/types/instructions/deleteSingle.js +0 -22
- package/dist/types/instructions/deleteSingle.js.map +0 -1
- package/dist/types/instructions/deleteTokenLauncher.d.ts +0 -12
- package/dist/types/instructions/deleteTokenLauncher.d.ts.map +0 -1
- package/dist/types/instructions/deleteTokenLauncher.js +0 -25
- package/dist/types/instructions/deleteTokenLauncher.js.map +0 -1
- package/dist/types/instructions/depositBurn.d.ts +0 -22
- package/dist/types/instructions/depositBurn.d.ts.map +0 -1
- package/dist/types/instructions/depositBurn.js +0 -54
- package/dist/types/instructions/depositBurn.js.map +0 -1
- package/dist/types/instructions/donateUser.d.ts +0 -30
- package/dist/types/instructions/donateUser.d.ts.map +0 -1
- package/dist/types/instructions/donateUser.js +0 -75
- package/dist/types/instructions/donateUser.js.map +0 -1
- package/dist/types/instructions/feedPool.d.ts +0 -21
- package/dist/types/instructions/feedPool.d.ts.map +0 -1
- package/dist/types/instructions/feedPool.js +0 -60
- package/dist/types/instructions/feedPool.js.map +0 -1
- package/dist/types/instructions/feedTraits.d.ts +0 -15
- package/dist/types/instructions/feedTraits.d.ts.map +0 -1
- package/dist/types/instructions/feedTraits.js +0 -50
- package/dist/types/instructions/feedTraits.js.map +0 -1
- package/dist/types/instructions/feedTree.d.ts +0 -21
- package/dist/types/instructions/feedTree.d.ts.map +0 -1
- package/dist/types/instructions/feedTree.js +0 -61
- package/dist/types/instructions/feedTree.js.map +0 -1
- package/dist/types/instructions/flagPack.d.ts +0 -16
- package/dist/types/instructions/flagPack.d.ts.map +0 -1
- package/dist/types/instructions/flagPack.js +0 -55
- package/dist/types/instructions/flagPack.js.map +0 -1
- package/dist/types/instructions/flagSingle.d.ts +0 -15
- package/dist/types/instructions/flagSingle.d.ts.map +0 -1
- package/dist/types/instructions/flagSingle.js +0 -53
- package/dist/types/instructions/flagSingle.js.map +0 -1
- package/dist/types/instructions/gatePay.d.ts +0 -22
- package/dist/types/instructions/gatePay.d.ts.map +0 -1
- package/dist/types/instructions/gatePay.js +0 -58
- package/dist/types/instructions/gatePay.js.map +0 -1
- package/dist/types/instructions/index.d.ts +0 -105
- package/dist/types/instructions/index.d.ts.map +0 -1
- package/dist/types/instructions/index.js +0 -109
- package/dist/types/instructions/index.js.map +0 -1
- package/dist/types/instructions/initialize.d.ts +0 -15
- package/dist/types/instructions/initialize.d.ts.map +0 -1
- package/dist/types/instructions/initialize.js +0 -52
- package/dist/types/instructions/initialize.js.map +0 -1
- package/dist/types/instructions/openPack.d.ts +0 -29
- package/dist/types/instructions/openPack.d.ts.map +0 -1
- package/dist/types/instructions/openPack.js +0 -70
- package/dist/types/instructions/openPack.js.map +0 -1
- package/dist/types/instructions/prepareCreator.d.ts +0 -10
- package/dist/types/instructions/prepareCreator.d.ts.map +0 -1
- package/dist/types/instructions/prepareCreator.js +0 -19
- package/dist/types/instructions/prepareCreator.js.map +0 -1
- package/dist/types/instructions/preparePack.d.ts +0 -17
- package/dist/types/instructions/preparePack.d.ts.map +0 -1
- package/dist/types/instructions/preparePack.js +0 -54
- package/dist/types/instructions/preparePack.js.map +0 -1
- package/dist/types/instructions/prepareTraits.d.ts +0 -9
- package/dist/types/instructions/prepareTraits.d.ts.map +0 -1
- package/dist/types/instructions/prepareTraits.js +0 -18
- package/dist/types/instructions/prepareTraits.js.map +0 -1
- package/dist/types/instructions/printPack.d.ts +0 -38
- package/dist/types/instructions/printPack.d.ts.map +0 -1
- package/dist/types/instructions/printPack.js +0 -79
- package/dist/types/instructions/printPack.js.map +0 -1
- package/dist/types/instructions/printSingle.d.ts +0 -41
- package/dist/types/instructions/printSingle.d.ts.map +0 -1
- package/dist/types/instructions/printSingle.js +0 -87
- package/dist/types/instructions/printSingle.js.map +0 -1
- package/dist/types/instructions/recoverDepositBurn.d.ts +0 -34
- package/dist/types/instructions/recoverDepositBurn.d.ts.map +0 -1
- package/dist/types/instructions/recoverDepositBurn.js +0 -67
- package/dist/types/instructions/recoverDepositBurn.js.map +0 -1
- package/dist/types/instructions/registerActivity.d.ts +0 -14
- package/dist/types/instructions/registerActivity.d.ts.map +0 -1
- package/dist/types/instructions/registerActivity.js +0 -48
- package/dist/types/instructions/registerActivity.js.map +0 -1
- package/dist/types/instructions/registerCollector.d.ts +0 -17
- package/dist/types/instructions/registerCollector.d.ts.map +0 -1
- package/dist/types/instructions/registerCollector.js +0 -63
- package/dist/types/instructions/registerCollector.js.map +0 -1
- package/dist/types/instructions/registerCreator.d.ts +0 -15
- package/dist/types/instructions/registerCreator.d.ts.map +0 -1
- package/dist/types/instructions/registerCreator.js +0 -50
- package/dist/types/instructions/registerCreator.js.map +0 -1
- package/dist/types/instructions/registerGenericUser.d.ts +0 -32
- package/dist/types/instructions/registerGenericUser.d.ts.map +0 -1
- package/dist/types/instructions/registerGenericUser.js +0 -81
- package/dist/types/instructions/registerGenericUser.js.map +0 -1
- package/dist/types/instructions/registerPackUploads.d.ts +0 -14
- package/dist/types/instructions/registerPackUploads.d.ts.map +0 -1
- package/dist/types/instructions/registerPackUploads.js +0 -49
- package/dist/types/instructions/registerPackUploads.js.map +0 -1
- package/dist/types/instructions/registerTraits.d.ts +0 -13
- package/dist/types/instructions/registerTraits.d.ts.map +0 -1
- package/dist/types/instructions/registerTraits.js +0 -48
- package/dist/types/instructions/registerTraits.js.map +0 -1
- package/dist/types/instructions/registerUser.d.ts +0 -15
- package/dist/types/instructions/registerUser.d.ts.map +0 -1
- package/dist/types/instructions/registerUser.js +0 -54
- package/dist/types/instructions/registerUser.js.map +0 -1
- package/dist/types/instructions/storeLutFor.d.ts +0 -14
- package/dist/types/instructions/storeLutFor.d.ts.map +0 -1
- package/dist/types/instructions/storeLutFor.js +0 -49
- package/dist/types/instructions/storeLutFor.js.map +0 -1
- package/dist/types/instructions/unwrapAndDestroy.d.ts +0 -23
- package/dist/types/instructions/unwrapAndDestroy.d.ts.map +0 -1
- package/dist/types/instructions/unwrapAndDestroy.js +0 -54
- package/dist/types/instructions/unwrapAndDestroy.js.map +0 -1
- package/dist/types/instructions/updateCard.d.ts +0 -17
- package/dist/types/instructions/updateCard.d.ts.map +0 -1
- package/dist/types/instructions/updateCard.js +0 -57
- package/dist/types/instructions/updateCard.js.map +0 -1
- package/dist/types/instructions/updatePack.d.ts +0 -23
- package/dist/types/instructions/updatePack.d.ts.map +0 -1
- package/dist/types/instructions/updatePack.js +0 -67
- package/dist/types/instructions/updatePack.js.map +0 -1
- package/dist/types/instructions/updateSingle.d.ts +0 -21
- package/dist/types/instructions/updateSingle.d.ts.map +0 -1
- package/dist/types/instructions/updateSingle.js +0 -63
- package/dist/types/instructions/updateSingle.js.map +0 -1
- package/dist/types/instructions/updateStore.d.ts +0 -15
- package/dist/types/instructions/updateStore.d.ts.map +0 -1
- package/dist/types/instructions/updateStore.js +0 -53
- package/dist/types/instructions/updateStore.js.map +0 -1
- package/dist/types/instructions/withdrawFromStore.d.ts +0 -8
- package/dist/types/instructions/withdrawFromStore.d.ts.map +0 -1
- package/dist/types/instructions/withdrawFromStore.js +0 -17
- package/dist/types/instructions/withdrawFromStore.js.map +0 -1
- package/dist/types/programId.d.ts +0 -14
- package/dist/types/programId.d.ts.map +0 -1
- package/dist/types/programId.js +0 -20
- package/dist/types/programId.js.map +0 -1
- package/dist/types/types/AccountClass.d.ts +0 -370
- package/dist/types/types/AccountClass.d.ts.map +0 -1
- package/dist/types/types/AccountClass.js +0 -778
- package/dist/types/types/AccountClass.js.map +0 -1
- package/dist/types/types/AccountHasher.d.ts +0 -42
- package/dist/types/types/AccountHasher.d.ts.map +0 -1
- package/dist/types/types/AccountHasher.js +0 -83
- package/dist/types/types/AccountHasher.js.map +0 -1
- package/dist/types/types/ActionAfter.d.ts +0 -84
- package/dist/types/types/ActionAfter.d.ts.map +0 -1
- package/dist/types/types/ActionAfter.js +0 -180
- package/dist/types/types/ActionAfter.js.map +0 -1
- package/dist/types/types/AllowedCurrencyArgs.d.ts +0 -22
- package/dist/types/types/AllowedCurrencyArgs.d.ts.map +0 -1
- package/dist/types/types/AllowedCurrencyArgs.js +0 -61
- package/dist/types/types/AllowedCurrencyArgs.js.map +0 -1
- package/dist/types/types/AuthorityGateTypes.d.ts +0 -32
- package/dist/types/types/AuthorityGateTypes.d.ts.map +0 -1
- package/dist/types/types/AuthorityGateTypes.js +0 -102
- package/dist/types/types/AuthorityGateTypes.js.map +0 -1
- package/dist/types/types/BurnCount.d.ts +0 -55
- package/dist/types/types/BurnCount.d.ts.map +0 -1
- package/dist/types/types/BurnCount.js +0 -62
- package/dist/types/types/BurnCount.js.map +0 -1
- package/dist/types/types/BurnState.d.ts +0 -32
- package/dist/types/types/BurnState.d.ts.map +0 -1
- package/dist/types/types/BurnState.js +0 -102
- package/dist/types/types/BurnState.js.map +0 -1
- package/dist/types/types/BurnTrack.d.ts +0 -31
- package/dist/types/types/BurnTrack.d.ts.map +0 -1
- package/dist/types/types/BurnTrack.js +0 -67
- package/dist/types/types/BurnTrack.js.map +0 -1
- package/dist/types/types/BurnType.d.ts +0 -45
- package/dist/types/types/BurnType.d.ts.map +0 -1
- package/dist/types/types/BurnType.js +0 -128
- package/dist/types/types/BurnType.js.map +0 -1
- package/dist/types/types/BurnTypeBurn.d.ts +0 -19
- package/dist/types/types/BurnTypeBurn.d.ts.map +0 -1
- package/dist/types/types/BurnTypeBurn.js +0 -74
- package/dist/types/types/BurnTypeBurn.js.map +0 -1
- package/dist/types/types/BuyHistoryClass.d.ts +0 -32
- package/dist/types/types/BuyHistoryClass.d.ts.map +0 -1
- package/dist/types/types/BuyHistoryClass.js +0 -102
- package/dist/types/types/BuyHistoryClass.js.map +0 -1
- package/dist/types/types/CardClass.d.ts +0 -19
- package/dist/types/types/CardClass.d.ts.map +0 -1
- package/dist/types/types/CardClass.js +0 -74
- package/dist/types/types/CardClass.js.map +0 -1
- package/dist/types/types/CardState.d.ts +0 -97
- package/dist/types/types/CardState.d.ts.map +0 -1
- package/dist/types/types/CardState.js +0 -232
- package/dist/types/types/CardState.js.map +0 -1
- package/dist/types/types/CardTrack.d.ts +0 -60
- package/dist/types/types/CardTrack.d.ts.map +0 -1
- package/dist/types/types/CardTrack.js +0 -76
- package/dist/types/types/CardTrack.js.map +0 -1
- package/dist/types/types/Category.d.ts +0 -32
- package/dist/types/types/Category.d.ts.map +0 -1
- package/dist/types/types/Category.js +0 -71
- package/dist/types/types/Category.js.map +0 -1
- package/dist/types/types/CnftData.d.ts +0 -37
- package/dist/types/types/CnftData.d.ts.map +0 -1
- package/dist/types/types/CnftData.js +0 -81
- package/dist/types/types/CnftData.js.map +0 -1
- package/dist/types/types/CollectTrack.d.ts +0 -28
- package/dist/types/types/CollectTrack.d.ts.map +0 -1
- package/dist/types/types/CollectTrack.js +0 -70
- package/dist/types/types/CollectTrack.js.map +0 -1
- package/dist/types/types/Collection.d.ts +0 -28
- package/dist/types/types/Collection.d.ts.map +0 -1
- package/dist/types/types/Collection.js +0 -67
- package/dist/types/types/Collection.js.map +0 -1
- package/dist/types/types/CompactCnftData.d.ts +0 -32
- package/dist/types/types/CompactCnftData.d.ts.map +0 -1
- package/dist/types/types/CompactCnftData.js +0 -75
- package/dist/types/types/CompactCnftData.js.map +0 -1
- package/dist/types/types/CoolTimePerAmountArgs.d.ts +0 -32
- package/dist/types/types/CoolTimePerAmountArgs.d.ts.map +0 -1
- package/dist/types/types/CoolTimePerAmountArgs.js +0 -71
- package/dist/types/types/CoolTimePerAmountArgs.js.map +0 -1
- package/dist/types/types/Creator.d.ts +0 -33
- package/dist/types/types/Creator.d.ts.map +0 -1
- package/dist/types/types/Creator.js +0 -72
- package/dist/types/types/Creator.js.map +0 -1
- package/dist/types/types/CreatorGateArgs.d.ts +0 -23
- package/dist/types/types/CreatorGateArgs.d.ts.map +0 -1
- package/dist/types/types/CreatorGateArgs.js +0 -62
- package/dist/types/types/CreatorGateArgs.js.map +0 -1
- package/dist/types/types/CurrencyArtistProof.d.ts +0 -38
- package/dist/types/types/CurrencyArtistProof.d.ts.map +0 -1
- package/dist/types/types/CurrencyArtistProof.js +0 -85
- package/dist/types/types/CurrencyArtistProof.js.map +0 -1
- package/dist/types/types/CurrencyType.d.ts +0 -111
- package/dist/types/types/CurrencyType.d.ts.map +0 -1
- package/dist/types/types/CurrencyType.js +0 -220
- package/dist/types/types/CurrencyType.js.map +0 -1
- package/dist/types/types/DateTraitInit.d.ts +0 -28
- package/dist/types/types/DateTraitInit.d.ts.map +0 -1
- package/dist/types/types/DateTraitInit.js +0 -70
- package/dist/types/types/DateTraitInit.js.map +0 -1
- package/dist/types/types/DateTraitInitMap.d.ts +0 -33
- package/dist/types/types/DateTraitInitMap.d.ts.map +0 -1
- package/dist/types/types/DateTraitInitMap.js +0 -75
- package/dist/types/types/DateTraitInitMap.js.map +0 -1
- package/dist/types/types/Deposit.d.ts +0 -135
- package/dist/types/types/Deposit.d.ts.map +0 -1
- package/dist/types/types/Deposit.js +0 -86
- package/dist/types/types/Deposit.js.map +0 -1
- package/dist/types/types/DepositFormat.d.ts +0 -32
- package/dist/types/types/DepositFormat.d.ts.map +0 -1
- package/dist/types/types/DepositFormat.js +0 -102
- package/dist/types/types/DepositFormat.js.map +0 -1
- package/dist/types/types/DepositState.d.ts +0 -32
- package/dist/types/types/DepositState.d.ts.map +0 -1
- package/dist/types/types/DepositState.js +0 -102
- package/dist/types/types/DepositState.js.map +0 -1
- package/dist/types/types/DepositSubtype.d.ts +0 -32
- package/dist/types/types/DepositSubtype.d.ts.map +0 -1
- package/dist/types/types/DepositSubtype.js +0 -102
- package/dist/types/types/DepositSubtype.js.map +0 -1
- package/dist/types/types/DepositTrack.d.ts +0 -47
- package/dist/types/types/DepositTrack.d.ts.map +0 -1
- package/dist/types/types/DepositTrack.js +0 -70
- package/dist/types/types/DepositTrack.js.map +0 -1
- package/dist/types/types/DepositTrackType.d.ts +0 -45
- package/dist/types/types/DepositTrackType.d.ts.map +0 -1
- package/dist/types/types/DepositTrackType.js +0 -128
- package/dist/types/types/DepositTrackType.js.map +0 -1
- package/dist/types/types/DepositType.d.ts +0 -123
- package/dist/types/types/DepositType.d.ts.map +0 -1
- package/dist/types/types/DepositType.js +0 -184
- package/dist/types/types/DepositType.js.map +0 -1
- package/dist/types/types/Earnings.d.ts +0 -15
- package/dist/types/types/Earnings.d.ts.map +0 -1
- package/dist/types/types/Earnings.js +0 -51
- package/dist/types/types/Earnings.js.map +0 -1
- package/dist/types/types/EditionStoreType.d.ts +0 -45
- package/dist/types/types/EditionStoreType.d.ts.map +0 -1
- package/dist/types/types/EditionStoreType.js +0 -128
- package/dist/types/types/EditionStoreType.js.map +0 -1
- package/dist/types/types/EncryptedPayload.d.ts +0 -27
- package/dist/types/types/EncryptedPayload.d.ts.map +0 -1
- package/dist/types/types/EncryptedPayload.js +0 -66
- package/dist/types/types/EncryptedPayload.js.map +0 -1
- package/dist/types/types/ExtraParameter.d.ts +0 -45
- package/dist/types/types/ExtraParameter.d.ts.map +0 -1
- package/dist/types/types/ExtraParameter.js +0 -115
- package/dist/types/types/ExtraParameter.js.map +0 -1
- package/dist/types/types/FakeBurnCount.d.ts +0 -54
- package/dist/types/types/FakeBurnCount.d.ts.map +0 -1
- package/dist/types/types/FakeBurnCount.js +0 -71
- package/dist/types/types/FakeBurnCount.js.map +0 -1
- package/dist/types/types/FakeDeposit.d.ts +0 -64
- package/dist/types/types/FakeDeposit.d.ts.map +0 -1
- package/dist/types/types/FakeDeposit.js +0 -71
- package/dist/types/types/FakeDeposit.js.map +0 -1
- package/dist/types/types/FakeTraitPair.d.ts +0 -27
- package/dist/types/types/FakeTraitPair.d.ts.map +0 -1
- package/dist/types/types/FakeTraitPair.js +0 -66
- package/dist/types/types/FakeTraitPair.js.map +0 -1
- package/dist/types/types/FakeTraitValue.d.ts +0 -28
- package/dist/types/types/FakeTraitValue.d.ts.map +0 -1
- package/dist/types/types/FakeTraitValue.js +0 -70
- package/dist/types/types/FakeTraitValue.js.map +0 -1
- package/dist/types/types/FakeVolumeTrack.d.ts +0 -35
- package/dist/types/types/FakeVolumeTrack.d.ts.map +0 -1
- package/dist/types/types/FakeVolumeTrack.js +0 -68
- package/dist/types/types/FakeVolumeTrack.js.map +0 -1
- package/dist/types/types/FeeType.d.ts +0 -45
- package/dist/types/types/FeeType.d.ts.map +0 -1
- package/dist/types/types/FeeType.js +0 -128
- package/dist/types/types/FeeType.js.map +0 -1
- package/dist/types/types/FeedingTraits.d.ts +0 -49
- package/dist/types/types/FeedingTraits.d.ts.map +0 -1
- package/dist/types/types/FeedingTraits.js +0 -62
- package/dist/types/types/FeedingTraits.js.map +0 -1
- package/dist/types/types/Filter.d.ts +0 -35
- package/dist/types/types/Filter.d.ts.map +0 -1
- package/dist/types/types/Filter.js +0 -67
- package/dist/types/types/Filter.js.map +0 -1
- package/dist/types/types/FilterType.d.ts +0 -19
- package/dist/types/types/FilterType.d.ts.map +0 -1
- package/dist/types/types/FilterType.js +0 -74
- package/dist/types/types/FilterType.js.map +0 -1
- package/dist/types/types/GeneralStore.d.ts +0 -19
- package/dist/types/types/GeneralStore.d.ts.map +0 -1
- package/dist/types/types/GeneralStore.js +0 -74
- package/dist/types/types/GeneralStore.js.map +0 -1
- package/dist/types/types/GenericStore.d.ts +0 -49
- package/dist/types/types/GenericStore.d.ts.map +0 -1
- package/dist/types/types/GenericStore.js +0 -67
- package/dist/types/types/GenericStore.js.map +0 -1
- package/dist/types/types/GenericValue.d.ts +0 -73
- package/dist/types/types/GenericValue.d.ts.map +0 -1
- package/dist/types/types/GenericValue.js +0 -159
- package/dist/types/types/GenericValue.js.map +0 -1
- package/dist/types/types/GlobalFee.d.ts +0 -51
- package/dist/types/types/GlobalFee.d.ts.map +0 -1
- package/dist/types/types/GlobalFee.js +0 -87
- package/dist/types/types/GlobalFee.js.map +0 -1
- package/dist/types/types/GlobalState.d.ts +0 -58
- package/dist/types/types/GlobalState.d.ts.map +0 -1
- package/dist/types/types/GlobalState.js +0 -154
- package/dist/types/types/GlobalState.js.map +0 -1
- package/dist/types/types/IndexDate.d.ts +0 -42
- package/dist/types/types/IndexDate.d.ts.map +0 -1
- package/dist/types/types/IndexDate.js +0 -87
- package/dist/types/types/IndexDate.js.map +0 -1
- package/dist/types/types/IndexDates.d.ts +0 -51
- package/dist/types/types/IndexDates.d.ts.map +0 -1
- package/dist/types/types/IndexDates.js +0 -67
- package/dist/types/types/IndexDates.js.map +0 -1
- package/dist/types/types/Item.d.ts +0 -108
- package/dist/types/types/Item.d.ts.map +0 -1
- package/dist/types/types/Item.js +0 -62
- package/dist/types/types/Item.js.map +0 -1
- package/dist/types/types/ItemClass.d.ts +0 -32
- package/dist/types/types/ItemClass.d.ts.map +0 -1
- package/dist/types/types/ItemClass.js +0 -102
- package/dist/types/types/ItemClass.js.map +0 -1
- package/dist/types/types/ItemState.d.ts +0 -123
- package/dist/types/types/ItemState.d.ts.map +0 -1
- package/dist/types/types/ItemState.js +0 -284
- package/dist/types/types/ItemState.js.map +0 -1
- package/dist/types/types/ItemTrack.d.ts +0 -69
- package/dist/types/types/ItemTrack.d.ts.map +0 -1
- package/dist/types/types/ItemTrack.js +0 -80
- package/dist/types/types/ItemTrack.js.map +0 -1
- package/dist/types/types/ListingPerWalletArgs.d.ts +0 -22
- package/dist/types/types/ListingPerWalletArgs.d.ts.map +0 -1
- package/dist/types/types/ListingPerWalletArgs.js +0 -61
- package/dist/types/types/ListingPerWalletArgs.js.map +0 -1
- package/dist/types/types/MemeVaultProof.d.ts +0 -28
- package/dist/types/types/MemeVaultProof.d.ts.map +0 -1
- package/dist/types/types/MemeVaultProof.js +0 -70
- package/dist/types/types/MemeVaultProof.js.map +0 -1
- package/dist/types/types/MetadataArgs.d.ts +0 -161
- package/dist/types/types/MetadataArgs.d.ts.map +0 -1
- package/dist/types/types/MetadataArgs.js +0 -139
- package/dist/types/types/MetadataArgs.js.map +0 -1
- package/dist/types/types/NonFungibleTraitInit.d.ts +0 -28
- package/dist/types/types/NonFungibleTraitInit.d.ts.map +0 -1
- package/dist/types/types/NonFungibleTraitInit.js +0 -70
- package/dist/types/types/NonFungibleTraitInit.js.map +0 -1
- package/dist/types/types/NonFungibleTraitInitMap.d.ts +0 -39
- package/dist/types/types/NonFungibleTraitInitMap.d.ts.map +0 -1
- package/dist/types/types/NonFungibleTraitInitMap.js +0 -80
- package/dist/types/types/NonFungibleTraitInitMap.js.map +0 -1
- package/dist/types/types/OnlyBetweenTimesArgs.d.ts +0 -44
- package/dist/types/types/OnlyBetweenTimesArgs.d.ts.map +0 -1
- package/dist/types/types/OnlyBetweenTimesArgs.js +0 -76
- package/dist/types/types/OnlyBetweenTimesArgs.js.map +0 -1
- package/dist/types/types/OnlyTheseDOWArgs.d.ts +0 -22
- package/dist/types/types/OnlyTheseDOWArgs.d.ts.map +0 -1
- package/dist/types/types/OnlyTheseDOWArgs.js +0 -61
- package/dist/types/types/OnlyTheseDOWArgs.js.map +0 -1
- package/dist/types/types/PackConfig.d.ts +0 -63
- package/dist/types/types/PackConfig.d.ts.map +0 -1
- package/dist/types/types/PackConfig.js +0 -89
- package/dist/types/types/PackConfig.js.map +0 -1
- package/dist/types/types/PackOpenHolderState.d.ts +0 -45
- package/dist/types/types/PackOpenHolderState.d.ts.map +0 -1
- package/dist/types/types/PackOpenHolderState.js +0 -128
- package/dist/types/types/PackOpenHolderState.js.map +0 -1
- package/dist/types/types/PackRule.d.ts +0 -32
- package/dist/types/types/PackRule.d.ts.map +0 -1
- package/dist/types/types/PackRule.js +0 -89
- package/dist/types/types/PackRule.js.map +0 -1
- package/dist/types/types/PackState.d.ts +0 -45
- package/dist/types/types/PackState.d.ts.map +0 -1
- package/dist/types/types/PackState.js +0 -128
- package/dist/types/types/PackState.js.map +0 -1
- package/dist/types/types/PackType.d.ts +0 -45
- package/dist/types/types/PackType.d.ts.map +0 -1
- package/dist/types/types/PackType.js +0 -128
- package/dist/types/types/PackType.js.map +0 -1
- package/dist/types/types/PaymentClass.d.ts +0 -45
- package/dist/types/types/PaymentClass.d.ts.map +0 -1
- package/dist/types/types/PaymentClass.js +0 -128
- package/dist/types/types/PaymentClass.js.map +0 -1
- package/dist/types/types/PoolAccess.d.ts +0 -32
- package/dist/types/types/PoolAccess.d.ts.map +0 -1
- package/dist/types/types/PoolAccess.js +0 -102
- package/dist/types/types/PoolAccess.js.map +0 -1
- package/dist/types/types/PoolState.d.ts +0 -32
- package/dist/types/types/PoolState.d.ts.map +0 -1
- package/dist/types/types/PoolState.js +0 -102
- package/dist/types/types/PoolState.js.map +0 -1
- package/dist/types/types/PoolType.d.ts +0 -32
- package/dist/types/types/PoolType.d.ts.map +0 -1
- package/dist/types/types/PoolType.js +0 -102
- package/dist/types/types/PoolType.js.map +0 -1
- package/dist/types/types/Popularity.d.ts +0 -113
- package/dist/types/types/Popularity.d.ts.map +0 -1
- package/dist/types/types/Popularity.js +0 -80
- package/dist/types/types/Popularity.js.map +0 -1
- package/dist/types/types/PopularityState.d.ts +0 -266
- package/dist/types/types/PopularityState.d.ts.map +0 -1
- package/dist/types/types/PopularityState.js +0 -570
- package/dist/types/types/PopularityState.js.map +0 -1
- package/dist/types/types/PreviousDonationRecord.d.ts +0 -43
- package/dist/types/types/PreviousDonationRecord.d.ts.map +0 -1
- package/dist/types/types/PreviousDonationRecord.js +0 -80
- package/dist/types/types/PreviousDonationRecord.js.map +0 -1
- package/dist/types/types/Price.d.ts +0 -61
- package/dist/types/types/Price.d.ts.map +0 -1
- package/dist/types/types/Price.js +0 -71
- package/dist/types/types/Price.js.map +0 -1
- package/dist/types/types/PriceRule.d.ts +0 -88
- package/dist/types/types/PriceRule.d.ts.map +0 -1
- package/dist/types/types/PriceRule.js +0 -197
- package/dist/types/types/PriceRule.js.map +0 -1
- package/dist/types/types/RecoverDeposit.d.ts +0 -32
- package/dist/types/types/RecoverDeposit.d.ts.map +0 -1
- package/dist/types/types/RecoverDeposit.js +0 -62
- package/dist/types/types/RecoverDeposit.js.map +0 -1
- package/dist/types/types/Rule.d.ts +0 -115
- package/dist/types/types/Rule.d.ts.map +0 -1
- package/dist/types/types/Rule.js +0 -168
- package/dist/types/types/Rule.js.map +0 -1
- package/dist/types/types/SaleConfig.d.ts +0 -208
- package/dist/types/types/SaleConfig.d.ts.map +0 -1
- package/dist/types/types/SaleConfig.js +0 -88
- package/dist/types/types/SaleConfig.js.map +0 -1
- package/dist/types/types/SaleTrack.d.ts +0 -38
- package/dist/types/types/SaleTrack.d.ts.map +0 -1
- package/dist/types/types/SaleTrack.js +0 -85
- package/dist/types/types/SaleTrack.js.map +0 -1
- package/dist/types/types/SaleType.d.ts +0 -58
- package/dist/types/types/SaleType.d.ts.map +0 -1
- package/dist/types/types/SaleType.js +0 -154
- package/dist/types/types/SaleType.js.map +0 -1
- package/dist/types/types/Seed.d.ts +0 -22
- package/dist/types/types/Seed.d.ts.map +0 -1
- package/dist/types/types/Seed.js +0 -61
- package/dist/types/types/Seed.js.map +0 -1
- package/dist/types/types/SelectedCard.d.ts +0 -27
- package/dist/types/types/SelectedCard.d.ts.map +0 -1
- package/dist/types/types/SelectedCard.js +0 -66
- package/dist/types/types/SelectedCard.js.map +0 -1
- package/dist/types/types/SelectedZeroCard.d.ts +0 -27
- package/dist/types/types/SelectedZeroCard.d.ts.map +0 -1
- package/dist/types/types/SelectedZeroCard.js +0 -66
- package/dist/types/types/SelectedZeroCard.js.map +0 -1
- package/dist/types/types/SemiFungibleTraitInit.d.ts +0 -28
- package/dist/types/types/SemiFungibleTraitInit.d.ts.map +0 -1
- package/dist/types/types/SemiFungibleTraitInit.js +0 -70
- package/dist/types/types/SemiFungibleTraitInit.js.map +0 -1
- package/dist/types/types/SemiFungibleTraitInitMap.d.ts +0 -33
- package/dist/types/types/SemiFungibleTraitInitMap.d.ts.map +0 -1
- package/dist/types/types/SemiFungibleTraitInitMap.js +0 -75
- package/dist/types/types/SemiFungibleTraitInitMap.js.map +0 -1
- package/dist/types/types/ShortCreator.d.ts +0 -28
- package/dist/types/types/ShortCreator.d.ts.map +0 -1
- package/dist/types/types/ShortCreator.js +0 -67
- package/dist/types/types/ShortCreator.js.map +0 -1
- package/dist/types/types/ShortMetadata.d.ts +0 -99
- package/dist/types/types/ShortMetadata.d.ts.map +0 -1
- package/dist/types/types/ShortMetadata.js +0 -121
- package/dist/types/types/ShortMetadata.js.map +0 -1
- package/dist/types/types/ShortMetadataArgs.d.ts +0 -54
- package/dist/types/types/ShortMetadataArgs.d.ts.map +0 -1
- package/dist/types/types/ShortMetadataArgs.js +0 -95
- package/dist/types/types/ShortMetadataArgs.js.map +0 -1
- package/dist/types/types/StoreConfig.d.ts +0 -108
- package/dist/types/types/StoreConfig.d.ts.map +0 -1
- package/dist/types/types/StoreConfig.js +0 -93
- package/dist/types/types/StoreConfig.js.map +0 -1
- package/dist/types/types/StoreRule.d.ts +0 -77
- package/dist/types/types/StoreRule.d.ts.map +0 -1
- package/dist/types/types/StoreRule.js +0 -129
- package/dist/types/types/StoreRule.js.map +0 -1
- package/dist/types/types/SuperCategory.d.ts +0 -27
- package/dist/types/types/SuperCategory.d.ts.map +0 -1
- package/dist/types/types/SuperCategory.js +0 -66
- package/dist/types/types/SuperCategory.js.map +0 -1
- package/dist/types/types/TightCardMetadata.d.ts +0 -60
- package/dist/types/types/TightCardMetadata.d.ts.map +0 -1
- package/dist/types/types/TightCardMetadata.js +0 -105
- package/dist/types/types/TightCardMetadata.js.map +0 -1
- package/dist/types/types/TimeRangeType.d.ts +0 -45
- package/dist/types/types/TimeRangeType.d.ts.map +0 -1
- package/dist/types/types/TimeRangeType.js +0 -128
- package/dist/types/types/TimeRangeType.js.map +0 -1
- package/dist/types/types/TimedPerWalletArgs.d.ts +0 -22
- package/dist/types/types/TimedPerWalletArgs.d.ts.map +0 -1
- package/dist/types/types/TimedPerWalletArgs.js +0 -61
- package/dist/types/types/TimedPerWalletArgs.js.map +0 -1
- package/dist/types/types/TokenMetadata.d.ts +0 -32
- package/dist/types/types/TokenMetadata.d.ts.map +0 -1
- package/dist/types/types/TokenMetadata.js +0 -71
- package/dist/types/types/TokenMetadata.js.map +0 -1
- package/dist/types/types/TokenProgramVersion.d.ts +0 -32
- package/dist/types/types/TokenProgramVersion.d.ts.map +0 -1
- package/dist/types/types/TokenProgramVersion.js +0 -102
- package/dist/types/types/TokenProgramVersion.js.map +0 -1
- package/dist/types/types/TokenStandard.d.ts +0 -58
- package/dist/types/types/TokenStandard.d.ts.map +0 -1
- package/dist/types/types/TokenStandard.js +0 -154
- package/dist/types/types/TokenStandard.js.map +0 -1
- package/dist/types/types/TokenState.d.ts +0 -32
- package/dist/types/types/TokenState.d.ts.map +0 -1
- package/dist/types/types/TokenState.js +0 -102
- package/dist/types/types/TokenState.js.map +0 -1
- package/dist/types/types/TokenType.d.ts +0 -32
- package/dist/types/types/TokenType.d.ts.map +0 -1
- package/dist/types/types/TokenType.js +0 -102
- package/dist/types/types/TokenType.js.map +0 -1
- package/dist/types/types/TotalPerTimeArgs.d.ts +0 -37
- package/dist/types/types/TotalPerTimeArgs.d.ts.map +0 -1
- package/dist/types/types/TotalPerTimeArgs.js +0 -81
- package/dist/types/types/TotalPerTimeArgs.js.map +0 -1
- package/dist/types/types/TotalPerTimeWalletArgs.d.ts +0 -27
- package/dist/types/types/TotalPerTimeWalletArgs.d.ts.map +0 -1
- package/dist/types/types/TotalPerTimeWalletArgs.js +0 -66
- package/dist/types/types/TotalPerTimeWalletArgs.js.map +0 -1
- package/dist/types/types/TrackRegistry.d.ts +0 -32
- package/dist/types/types/TrackRegistry.d.ts.map +0 -1
- package/dist/types/types/TrackRegistry.js +0 -102
- package/dist/types/types/TrackRegistry.js.map +0 -1
- package/dist/types/types/TraitInit.d.ts +0 -89
- package/dist/types/types/TraitInit.d.ts.map +0 -1
- package/dist/types/types/TraitInit.js +0 -176
- package/dist/types/types/TraitInit.js.map +0 -1
- package/dist/types/types/TraitPass.d.ts +0 -53
- package/dist/types/types/TraitPass.d.ts.map +0 -1
- package/dist/types/types/TraitPass.js +0 -62
- package/dist/types/types/TraitPass.js.map +0 -1
- package/dist/types/types/TraitPassType.d.ts +0 -97
- package/dist/types/types/TraitPassType.d.ts.map +0 -1
- package/dist/types/types/TraitPassType.js +0 -186
- package/dist/types/types/TraitPassType.js.map +0 -1
- package/dist/types/types/TraitType.d.ts +0 -113
- package/dist/types/types/TraitType.d.ts.map +0 -1
- package/dist/types/types/TraitType.js +0 -207
- package/dist/types/types/TraitType.js.map +0 -1
- package/dist/types/types/TraitValue.d.ts +0 -33
- package/dist/types/types/TraitValue.d.ts.map +0 -1
- package/dist/types/types/TraitValue.js +0 -75
- package/dist/types/types/TraitValue.js.map +0 -1
- package/dist/types/types/UnlocksAfter.d.ts +0 -71
- package/dist/types/types/UnlocksAfter.d.ts.map +0 -1
- package/dist/types/types/UnlocksAfter.js +0 -154
- package/dist/types/types/UnlocksAfter.js.map +0 -1
- package/dist/types/types/UnwrapMetadata.d.ts +0 -80
- package/dist/types/types/UnwrapMetadata.d.ts.map +0 -1
- package/dist/types/types/UnwrapMetadata.js +0 -128
- package/dist/types/types/UnwrapMetadata.js.map +0 -1
- package/dist/types/types/UseMethod.d.ts +0 -45
- package/dist/types/types/UseMethod.d.ts.map +0 -1
- package/dist/types/types/UseMethod.js +0 -128
- package/dist/types/types/UseMethod.js.map +0 -1
- package/dist/types/types/Uses.d.ts +0 -45
- package/dist/types/types/Uses.d.ts.map +0 -1
- package/dist/types/types/Uses.js +0 -80
- package/dist/types/types/Uses.js.map +0 -1
- package/dist/types/types/VerifyCollectionMetadata.d.ts +0 -56
- package/dist/types/types/VerifyCollectionMetadata.d.ts.map +0 -1
- package/dist/types/types/VerifyCollectionMetadata.js +0 -94
- package/dist/types/types/VerifyCollectionMetadata.js.map +0 -1
- package/dist/types/types/VolumeTrack.d.ts +0 -28
- package/dist/types/types/VolumeTrack.d.ts.map +0 -1
- package/dist/types/types/VolumeTrack.js +0 -70
- package/dist/types/types/VolumeTrack.js.map +0 -1
- package/dist/types/types/WrappedSource.d.ts +0 -39
- package/dist/types/types/WrappedSource.d.ts.map +0 -1
- package/dist/types/types/WrappedSource.js +0 -86
- package/dist/types/types/WrappedSource.js.map +0 -1
- package/dist/types/types/ZeroConfig.d.ts +0 -37
- package/dist/types/types/ZeroConfig.d.ts.map +0 -1
- package/dist/types/types/ZeroConfig.js +0 -81
- package/dist/types/types/ZeroConfig.js.map +0 -1
- package/dist/types/types/index.d.ts +0 -333
- package/dist/types/types/index.d.ts.map +0 -1
- package/dist/types/types/index.js +0 -265
- package/dist/types/types/index.js.map +0 -1
- package/dist/utility/Connection.d.ts +0 -4
- package/dist/utility/Connection.d.ts.map +0 -1
- package/dist/utility/Connection.js +0 -12
- package/dist/utility/Connection.js.map +0 -1
- package/dist/utility/Holders.d.ts +0 -9
- package/dist/utility/Holders.d.ts.map +0 -1
- package/dist/utility/Holders.js +0 -12
- package/dist/utility/Holders.js.map +0 -1
- package/dist/utility/PdaManager.d.ts +0 -20
- package/dist/utility/PdaManager.d.ts.map +0 -1
- package/dist/utility/PdaManager.js +0 -175
- package/dist/utility/PdaManager.js.map +0 -1
- package/dist/utility/config.d.ts +0 -12
- package/dist/utility/config.d.ts.map +0 -1
- package/dist/utility/config.js +0 -24
- package/dist/utility/config.js.map +0 -1
- package/dist/utility/utils.d.ts +0 -14
- package/dist/utility/utils.d.ts.map +0 -1
- package/dist/utility/utils.js +0 -198
- package/dist/utility/utils.js.map +0 -1
- package/dist/utility/validation.d.ts +0 -13
- package/dist/utility/validation.d.ts.map +0 -1
- package/dist/utility/validation.js +0 -161
- package/dist/utility/validation.js.map +0 -1
@@ -1,161 +0,0 @@
|
|
1
|
-
import { PublicKey } from "@solana/web3.js";
|
2
|
-
import BN from "bn.js";
|
3
|
-
import * as types from "../types";
|
4
|
-
export interface MetadataArgsFields {
|
5
|
-
/** The name of the asset */
|
6
|
-
name: string;
|
7
|
-
/** The symbol for the asset */
|
8
|
-
symbol: string;
|
9
|
-
/** URI pointing to JSON representing the asset */
|
10
|
-
uri: string;
|
11
|
-
/** Royalty basis points that goes to creators in secondary sales (0-10000) */
|
12
|
-
sellerFeeBasisPoints: number;
|
13
|
-
primarySaleHappened: boolean;
|
14
|
-
isMutable: boolean;
|
15
|
-
/** nonce for easy calculation of editions, if present */
|
16
|
-
editionNonce: number | null;
|
17
|
-
/** Since we cannot easily change Metadata, we add the new DataV2 fields here at the end. */
|
18
|
-
tokenStandard: types.TokenStandardKind | null;
|
19
|
-
/** Collection */
|
20
|
-
collection: types.CollectionFields | null;
|
21
|
-
/** Uses */
|
22
|
-
uses: types.UsesFields | null;
|
23
|
-
tokenProgramVersion: types.TokenProgramVersionKind;
|
24
|
-
creators: Array<types.CreatorFields>;
|
25
|
-
}
|
26
|
-
export interface MetadataArgsJSON {
|
27
|
-
/** The name of the asset */
|
28
|
-
name: string;
|
29
|
-
/** The symbol for the asset */
|
30
|
-
symbol: string;
|
31
|
-
/** URI pointing to JSON representing the asset */
|
32
|
-
uri: string;
|
33
|
-
/** Royalty basis points that goes to creators in secondary sales (0-10000) */
|
34
|
-
sellerFeeBasisPoints: number;
|
35
|
-
primarySaleHappened: boolean;
|
36
|
-
isMutable: boolean;
|
37
|
-
/** nonce for easy calculation of editions, if present */
|
38
|
-
editionNonce: number | null;
|
39
|
-
/** Since we cannot easily change Metadata, we add the new DataV2 fields here at the end. */
|
40
|
-
tokenStandard: types.TokenStandardJSON | null;
|
41
|
-
/** Collection */
|
42
|
-
collection: types.CollectionJSON | null;
|
43
|
-
/** Uses */
|
44
|
-
uses: types.UsesJSON | null;
|
45
|
-
tokenProgramVersion: types.TokenProgramVersionJSON;
|
46
|
-
creators: Array<types.CreatorJSON>;
|
47
|
-
}
|
48
|
-
export declare class MetadataArgs {
|
49
|
-
/** The name of the asset */
|
50
|
-
readonly name: string;
|
51
|
-
/** The symbol for the asset */
|
52
|
-
readonly symbol: string;
|
53
|
-
/** URI pointing to JSON representing the asset */
|
54
|
-
readonly uri: string;
|
55
|
-
/** Royalty basis points that goes to creators in secondary sales (0-10000) */
|
56
|
-
readonly sellerFeeBasisPoints: number;
|
57
|
-
readonly primarySaleHappened: boolean;
|
58
|
-
readonly isMutable: boolean;
|
59
|
-
/** nonce for easy calculation of editions, if present */
|
60
|
-
readonly editionNonce: number | null;
|
61
|
-
/** Since we cannot easily change Metadata, we add the new DataV2 fields here at the end. */
|
62
|
-
readonly tokenStandard: types.TokenStandardKind | null;
|
63
|
-
/** Collection */
|
64
|
-
readonly collection: types.Collection | null;
|
65
|
-
/** Uses */
|
66
|
-
readonly uses: types.Uses | null;
|
67
|
-
readonly tokenProgramVersion: types.TokenProgramVersionKind;
|
68
|
-
readonly creators: Array<types.Creator>;
|
69
|
-
constructor(fields: MetadataArgsFields);
|
70
|
-
static layout(property?: string): any;
|
71
|
-
static fromDecoded(obj: any): types.MetadataArgs;
|
72
|
-
static toEncodable(fields: MetadataArgsFields): {
|
73
|
-
name: string;
|
74
|
-
symbol: string;
|
75
|
-
uri: string;
|
76
|
-
sellerFeeBasisPoints: number;
|
77
|
-
primarySaleHappened: boolean;
|
78
|
-
isMutable: boolean;
|
79
|
-
editionNonce: number | null;
|
80
|
-
tokenStandard: {
|
81
|
-
NonFungible: {};
|
82
|
-
} | {
|
83
|
-
FungibleAsset: {};
|
84
|
-
} | {
|
85
|
-
Fungible: {};
|
86
|
-
} | {
|
87
|
-
NonFungibleEdition: {};
|
88
|
-
} | null;
|
89
|
-
collection: {
|
90
|
-
verified: boolean;
|
91
|
-
key: PublicKey;
|
92
|
-
} | null;
|
93
|
-
uses: {
|
94
|
-
useMethod: {
|
95
|
-
Burn: {};
|
96
|
-
} | {
|
97
|
-
Multiple: {};
|
98
|
-
} | {
|
99
|
-
Single: {};
|
100
|
-
};
|
101
|
-
remaining: BN;
|
102
|
-
total: BN;
|
103
|
-
} | null;
|
104
|
-
tokenProgramVersion: {
|
105
|
-
Original: {};
|
106
|
-
} | {
|
107
|
-
Token2022: {};
|
108
|
-
};
|
109
|
-
creators: {
|
110
|
-
address: PublicKey;
|
111
|
-
verified: boolean;
|
112
|
-
share: number;
|
113
|
-
}[];
|
114
|
-
};
|
115
|
-
toJSON(): MetadataArgsJSON;
|
116
|
-
static fromJSON(obj: MetadataArgsJSON): MetadataArgs;
|
117
|
-
toEncodable(): {
|
118
|
-
name: string;
|
119
|
-
symbol: string;
|
120
|
-
uri: string;
|
121
|
-
sellerFeeBasisPoints: number;
|
122
|
-
primarySaleHappened: boolean;
|
123
|
-
isMutable: boolean;
|
124
|
-
editionNonce: number | null;
|
125
|
-
tokenStandard: {
|
126
|
-
NonFungible: {};
|
127
|
-
} | {
|
128
|
-
FungibleAsset: {};
|
129
|
-
} | {
|
130
|
-
Fungible: {};
|
131
|
-
} | {
|
132
|
-
NonFungibleEdition: {};
|
133
|
-
} | null;
|
134
|
-
collection: {
|
135
|
-
verified: boolean;
|
136
|
-
key: PublicKey;
|
137
|
-
} | null;
|
138
|
-
uses: {
|
139
|
-
useMethod: {
|
140
|
-
Burn: {};
|
141
|
-
} | {
|
142
|
-
Multiple: {};
|
143
|
-
} | {
|
144
|
-
Single: {};
|
145
|
-
};
|
146
|
-
remaining: BN;
|
147
|
-
total: BN;
|
148
|
-
} | null;
|
149
|
-
tokenProgramVersion: {
|
150
|
-
Original: {};
|
151
|
-
} | {
|
152
|
-
Token2022: {};
|
153
|
-
};
|
154
|
-
creators: {
|
155
|
-
address: PublicKey;
|
156
|
-
verified: boolean;
|
157
|
-
share: number;
|
158
|
-
}[];
|
159
|
-
};
|
160
|
-
}
|
161
|
-
//# sourceMappingURL=MetadataArgs.d.ts.map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W,CAAC,GAAG,EAAE,GAAG;IA4B3B,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqB7C,MAAM,IAAI,gBAAgB;IAkB1B,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,gBAAgB,GAAG,YAAY;IAuBpD,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGZ"}
|
@@ -1,139 +0,0 @@
|
|
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.MetadataArgs = void 0;
|
27
|
-
const types = __importStar(require("../types")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
28
|
-
const borsh = __importStar(require("@coral-xyz/borsh"));
|
29
|
-
class MetadataArgs {
|
30
|
-
constructor(fields) {
|
31
|
-
this.name = fields.name;
|
32
|
-
this.symbol = fields.symbol;
|
33
|
-
this.uri = fields.uri;
|
34
|
-
this.sellerFeeBasisPoints = fields.sellerFeeBasisPoints;
|
35
|
-
this.primarySaleHappened = fields.primarySaleHappened;
|
36
|
-
this.isMutable = fields.isMutable;
|
37
|
-
this.editionNonce = fields.editionNonce;
|
38
|
-
this.tokenStandard = fields.tokenStandard;
|
39
|
-
this.collection =
|
40
|
-
(fields.collection && new types.Collection({ ...fields.collection })) ||
|
41
|
-
null;
|
42
|
-
this.uses = (fields.uses && new types.Uses({ ...fields.uses })) || null;
|
43
|
-
this.tokenProgramVersion = fields.tokenProgramVersion;
|
44
|
-
this.creators = fields.creators.map((item) => new types.Creator({ ...item }));
|
45
|
-
}
|
46
|
-
static layout(property) {
|
47
|
-
return borsh.struct([
|
48
|
-
borsh.str("name"),
|
49
|
-
borsh.str("symbol"),
|
50
|
-
borsh.str("uri"),
|
51
|
-
borsh.u16("sellerFeeBasisPoints"),
|
52
|
-
borsh.bool("primarySaleHappened"),
|
53
|
-
borsh.bool("isMutable"),
|
54
|
-
borsh.option(borsh.u8(), "editionNonce"),
|
55
|
-
borsh.option(types.TokenStandard.layout(), "tokenStandard"),
|
56
|
-
borsh.option(types.Collection.layout(), "collection"),
|
57
|
-
borsh.option(types.Uses.layout(), "uses"),
|
58
|
-
types.TokenProgramVersion.layout("tokenProgramVersion"),
|
59
|
-
borsh.vec(types.Creator.layout(), "creators"),
|
60
|
-
], property);
|
61
|
-
}
|
62
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
63
|
-
static fromDecoded(obj) {
|
64
|
-
return new MetadataArgs({
|
65
|
-
name: obj.name,
|
66
|
-
symbol: obj.symbol,
|
67
|
-
uri: obj.uri,
|
68
|
-
sellerFeeBasisPoints: obj.sellerFeeBasisPoints,
|
69
|
-
primarySaleHappened: obj.primarySaleHappened,
|
70
|
-
isMutable: obj.isMutable,
|
71
|
-
editionNonce: obj.editionNonce,
|
72
|
-
tokenStandard: (obj.tokenStandard &&
|
73
|
-
types.TokenStandard.fromDecoded(obj.tokenStandard)) ||
|
74
|
-
null,
|
75
|
-
collection: (obj.collection && types.Collection.fromDecoded(obj.collection)) ||
|
76
|
-
null,
|
77
|
-
uses: (obj.uses && types.Uses.fromDecoded(obj.uses)) || null,
|
78
|
-
tokenProgramVersion: types.TokenProgramVersion.fromDecoded(obj.tokenProgramVersion),
|
79
|
-
creators: obj.creators.map((item /* eslint-disable-line @typescript-eslint/no-explicit-any */) => types.Creator.fromDecoded(item)),
|
80
|
-
});
|
81
|
-
}
|
82
|
-
static toEncodable(fields) {
|
83
|
-
return {
|
84
|
-
name: fields.name,
|
85
|
-
symbol: fields.symbol,
|
86
|
-
uri: fields.uri,
|
87
|
-
sellerFeeBasisPoints: fields.sellerFeeBasisPoints,
|
88
|
-
primarySaleHappened: fields.primarySaleHappened,
|
89
|
-
isMutable: fields.isMutable,
|
90
|
-
editionNonce: fields.editionNonce,
|
91
|
-
tokenStandard: (fields.tokenStandard && fields.tokenStandard.toEncodable()) || null,
|
92
|
-
collection: (fields.collection &&
|
93
|
-
types.Collection.toEncodable(fields.collection)) ||
|
94
|
-
null,
|
95
|
-
uses: (fields.uses && types.Uses.toEncodable(fields.uses)) || null,
|
96
|
-
tokenProgramVersion: fields.tokenProgramVersion.toEncodable(),
|
97
|
-
creators: fields.creators.map((item) => types.Creator.toEncodable(item)),
|
98
|
-
};
|
99
|
-
}
|
100
|
-
toJSON() {
|
101
|
-
return {
|
102
|
-
name: this.name,
|
103
|
-
symbol: this.symbol,
|
104
|
-
uri: this.uri,
|
105
|
-
sellerFeeBasisPoints: this.sellerFeeBasisPoints,
|
106
|
-
primarySaleHappened: this.primarySaleHappened,
|
107
|
-
isMutable: this.isMutable,
|
108
|
-
editionNonce: this.editionNonce,
|
109
|
-
tokenStandard: (this.tokenStandard && this.tokenStandard.toJSON()) || null,
|
110
|
-
collection: (this.collection && this.collection.toJSON()) || null,
|
111
|
-
uses: (this.uses && this.uses.toJSON()) || null,
|
112
|
-
tokenProgramVersion: this.tokenProgramVersion.toJSON(),
|
113
|
-
creators: this.creators.map((item) => item.toJSON()),
|
114
|
-
};
|
115
|
-
}
|
116
|
-
static fromJSON(obj) {
|
117
|
-
return new MetadataArgs({
|
118
|
-
name: obj.name,
|
119
|
-
symbol: obj.symbol,
|
120
|
-
uri: obj.uri,
|
121
|
-
sellerFeeBasisPoints: obj.sellerFeeBasisPoints,
|
122
|
-
primarySaleHappened: obj.primarySaleHappened,
|
123
|
-
isMutable: obj.isMutable,
|
124
|
-
editionNonce: obj.editionNonce,
|
125
|
-
tokenStandard: (obj.tokenStandard &&
|
126
|
-
types.TokenStandard.fromJSON(obj.tokenStandard)) ||
|
127
|
-
null,
|
128
|
-
collection: (obj.collection && types.Collection.fromJSON(obj.collection)) || null,
|
129
|
-
uses: (obj.uses && types.Uses.fromJSON(obj.uses)) || null,
|
130
|
-
tokenProgramVersion: types.TokenProgramVersion.fromJSON(obj.tokenProgramVersion),
|
131
|
-
creators: obj.creators.map((item) => types.Creator.fromJSON(item)),
|
132
|
-
});
|
133
|
-
}
|
134
|
-
toEncodable() {
|
135
|
-
return MetadataArgs.toEncodable(this);
|
136
|
-
}
|
137
|
-
}
|
138
|
-
exports.MetadataArgs = MetadataArgs;
|
139
|
-
//# sourceMappingURL=MetadataArgs.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"MetadataArgs.js","sourceRoot":"","sources":["../../../src/types/types/MetadataArgs.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,gDAAiC,CAAC,wDAAwD;AAC1F,wDAAyC;AAgDzC,MAAa,YAAY;IAsBvB,YAAY,MAA0B;QACpC,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAA;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MA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C,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,IAAI,IAAI;YACvE,IAAI,EAAE,CAAC,GAAG,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI;YACzD,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,CAAC,QAAQ,CACrD,GAAG,CAAC,mBAAmB,CACxB;YACD,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;SACnE,CAAC,CAAA;IACJ,CAAC;IAED,WAAW;QACT,OAAO,YAAY,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;IACvC,CAAC;CACF;AA3JD,oCA2JC"}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import BN from "bn.js";
|
2
|
-
import * as types from "../types";
|
3
|
-
export interface NonFungibleTraitInitFields {
|
4
|
-
hash: BN;
|
5
|
-
values: Array<BN>;
|
6
|
-
}
|
7
|
-
export interface NonFungibleTraitInitJSON {
|
8
|
-
hash: string;
|
9
|
-
values: Array<string>;
|
10
|
-
}
|
11
|
-
export declare class NonFungibleTraitInit {
|
12
|
-
readonly hash: BN;
|
13
|
-
readonly values: Array<BN>;
|
14
|
-
constructor(fields: NonFungibleTraitInitFields);
|
15
|
-
static layout(property?: string): any;
|
16
|
-
static fromDecoded(obj: any): types.NonFungibleTraitInit;
|
17
|
-
static toEncodable(fields: NonFungibleTraitInitFields): {
|
18
|
-
hash: BN;
|
19
|
-
values: BN[];
|
20
|
-
};
|
21
|
-
toJSON(): NonFungibleTraitInitJSON;
|
22
|
-
static fromJSON(obj: NonFungibleTraitInitJSON): NonFungibleTraitInit;
|
23
|
-
toEncodable(): {
|
24
|
-
hash: BN;
|
25
|
-
values: BN[];
|
26
|
-
};
|
27
|
-
}
|
28
|
-
//# sourceMappingURL=NonFungibleTraitInit.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"NonFungibleTraitInit.d.ts","sourceRoot":"","sources":["../../../src/types/types/NonFungibleTraitInit.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,OAAO,CAAA;AACtB,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,CAAA;CAClB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;CACtB;AAED,qBAAa,oBAAoB;IAC/B,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAA;IACjB,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,CAAA;gBAEd,MAAM,EAAE,0BAA0B;IAK9C,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM;IAQ/B,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG;IAO3B,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,0BAA0B;;;;IAOrD,MAAM,IAAI,wBAAwB;IAOlC,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,wBAAwB,GAAG,oBAAoB;IAOpE,WAAW;;;;CAGZ"}
|
@@ -1,70 +0,0 @@
|
|
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.NonFungibleTraitInit = void 0;
|
30
|
-
const bn_js_1 = __importDefault(require("bn.js")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
31
|
-
const borsh = __importStar(require("@coral-xyz/borsh"));
|
32
|
-
class NonFungibleTraitInit {
|
33
|
-
constructor(fields) {
|
34
|
-
this.hash = fields.hash;
|
35
|
-
this.values = fields.values;
|
36
|
-
}
|
37
|
-
static layout(property) {
|
38
|
-
return borsh.struct([borsh.u64("hash"), borsh.vec(borsh.u64(), "values")], property);
|
39
|
-
}
|
40
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
41
|
-
static fromDecoded(obj) {
|
42
|
-
return new NonFungibleTraitInit({
|
43
|
-
hash: obj.hash,
|
44
|
-
values: obj.values,
|
45
|
-
});
|
46
|
-
}
|
47
|
-
static toEncodable(fields) {
|
48
|
-
return {
|
49
|
-
hash: fields.hash,
|
50
|
-
values: fields.values,
|
51
|
-
};
|
52
|
-
}
|
53
|
-
toJSON() {
|
54
|
-
return {
|
55
|
-
hash: this.hash.toString(),
|
56
|
-
values: this.values.map((item) => item.toString()),
|
57
|
-
};
|
58
|
-
}
|
59
|
-
static fromJSON(obj) {
|
60
|
-
return new NonFungibleTraitInit({
|
61
|
-
hash: new bn_js_1.default(obj.hash),
|
62
|
-
values: obj.values.map((item) => new bn_js_1.default(item)),
|
63
|
-
});
|
64
|
-
}
|
65
|
-
toEncodable() {
|
66
|
-
return NonFungibleTraitInit.toEncodable(this);
|
67
|
-
}
|
68
|
-
}
|
69
|
-
exports.NonFungibleTraitInit = NonFungibleTraitInit;
|
70
|
-
//# sourceMappingURL=NonFungibleTraitInit.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"NonFungibleTraitInit.js","sourceRoot":"","sources":["../../../src/types/types/NonFungibleTraitInit.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAAsB,CAAC,wDAAwD;AAE/E,wDAAyC;AAYzC,MAAa,oBAAoB;IAI/B,YAAY,MAAkC;QAC5C,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAA;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAA;IAC7B,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,QAAiB;QAC7B,OAAO,KAAK,CAAC,MAAM,CACjB,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,EAAE,EAAE,QAAQ,CAAC,CAAC,EACrD,QAAQ,CACT,CAAA;IACH,CAAC;IAED,8DAA8D;IAC9D,MAAM,CAAC,WAAW,CAAC,GAAQ;QACzB,OAAO,IAAI,oBAAoB,CAAC;YAC9B,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,MAAM,EAAE,GAAG,CAAC,MAAM;SACnB,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,MAAkC;QACnD,OAAO;YACL,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,MAAM,EAAE,MAAM,CAAC,MAAM;SACtB,CAAA;IACH,CAAC;IAED,MAAM;QACJ,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YAC1B,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;SACnD,CAAA;IACH,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,GAA6B;QAC3C,OAAO,IAAI,oBAAoB,CAAC;YAC9B,IAAI,EAAE,IAAI,eAAE,CAAC,GAAG,CAAC,IAAI,CAAC;YACtB,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,eAAE,CAAC,IAAI,CAAC,CAAC;SAC/C,CAAC,CAAA;IACJ,CAAC;IAED,WAAW;QACT,OAAO,oBAAoB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;IAC/C,CAAC;CACF;AAhDD,oDAgDC"}
|
@@ -1,39 +0,0 @@
|
|
1
|
-
import BN from "bn.js";
|
2
|
-
import * as types from "../types";
|
3
|
-
export interface NonFungibleTraitInitMapFields {
|
4
|
-
hash: BN;
|
5
|
-
values: Array<types.FakeTraitValueFields>;
|
6
|
-
index: number;
|
7
|
-
}
|
8
|
-
export interface NonFungibleTraitInitMapJSON {
|
9
|
-
hash: string;
|
10
|
-
values: Array<types.FakeTraitValueJSON>;
|
11
|
-
index: number;
|
12
|
-
}
|
13
|
-
export declare class NonFungibleTraitInitMap {
|
14
|
-
readonly hash: BN;
|
15
|
-
readonly values: Array<types.FakeTraitValue>;
|
16
|
-
readonly index: number;
|
17
|
-
constructor(fields: NonFungibleTraitInitMapFields);
|
18
|
-
static layout(property?: string): any;
|
19
|
-
static fromDecoded(obj: any): types.NonFungibleTraitInitMap;
|
20
|
-
static toEncodable(fields: NonFungibleTraitInitMapFields): {
|
21
|
-
hash: BN;
|
22
|
-
values: {
|
23
|
-
trait_value: BN;
|
24
|
-
state: number;
|
25
|
-
}[];
|
26
|
-
index: number;
|
27
|
-
};
|
28
|
-
toJSON(): NonFungibleTraitInitMapJSON;
|
29
|
-
static fromJSON(obj: NonFungibleTraitInitMapJSON): NonFungibleTraitInitMap;
|
30
|
-
toEncodable(): {
|
31
|
-
hash: BN;
|
32
|
-
values: {
|
33
|
-
trait_value: BN;
|
34
|
-
state: number;
|
35
|
-
}[];
|
36
|
-
index: number;
|
37
|
-
};
|
38
|
-
}
|
39
|
-
//# sourceMappingURL=NonFungibleTraitInitMap.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"NonFungibleTraitInitMap.d.ts","sourceRoot":"","sources":["../../../src/types/types/NonFungibleTraitInitMap.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,OAAO,CAAA;AACtB,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAA;IACzC,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAA;IACvC,KAAK,EAAE,MAAM,CAAA;CACd;AAED,qBAAa,uBAAuB;IAClC,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAA;IACjB,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,cAAc,CAAC,CAAA;IAC5C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;gBAEV,MAAM,EAAE,6BAA6B;IAQjD,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM;IAY/B,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG;IAY3B,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,6BAA6B;;;;;;;;IAUxD,MAAM,IAAI,2BAA2B;IAQrC,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,2BAA2B,GAAG,uBAAuB;IAQ1E,WAAW;;;;;;;;CAGZ"}
|
@@ -1,80 +0,0 @@
|
|
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.NonFungibleTraitInitMap = void 0;
|
30
|
-
const bn_js_1 = __importDefault(require("bn.js")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
31
|
-
const types = __importStar(require("../types")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
32
|
-
const borsh = __importStar(require("@coral-xyz/borsh"));
|
33
|
-
class NonFungibleTraitInitMap {
|
34
|
-
constructor(fields) {
|
35
|
-
this.hash = fields.hash;
|
36
|
-
this.values = fields.values.map((item) => new types.FakeTraitValue({ ...item }));
|
37
|
-
this.index = fields.index;
|
38
|
-
}
|
39
|
-
static layout(property) {
|
40
|
-
return borsh.struct([
|
41
|
-
borsh.u64("hash"),
|
42
|
-
borsh.vec(types.FakeTraitValue.layout(), "values"),
|
43
|
-
borsh.u32("index"),
|
44
|
-
], property);
|
45
|
-
}
|
46
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
47
|
-
static fromDecoded(obj) {
|
48
|
-
return new NonFungibleTraitInitMap({
|
49
|
-
hash: obj.hash,
|
50
|
-
values: obj.values.map((item /* eslint-disable-line @typescript-eslint/no-explicit-any */) => types.FakeTraitValue.fromDecoded(item)),
|
51
|
-
index: obj.index,
|
52
|
-
});
|
53
|
-
}
|
54
|
-
static toEncodable(fields) {
|
55
|
-
return {
|
56
|
-
hash: fields.hash,
|
57
|
-
values: fields.values.map((item) => types.FakeTraitValue.toEncodable(item)),
|
58
|
-
index: fields.index,
|
59
|
-
};
|
60
|
-
}
|
61
|
-
toJSON() {
|
62
|
-
return {
|
63
|
-
hash: this.hash.toString(),
|
64
|
-
values: this.values.map((item) => item.toJSON()),
|
65
|
-
index: this.index,
|
66
|
-
};
|
67
|
-
}
|
68
|
-
static fromJSON(obj) {
|
69
|
-
return new NonFungibleTraitInitMap({
|
70
|
-
hash: new bn_js_1.default(obj.hash),
|
71
|
-
values: obj.values.map((item) => types.FakeTraitValue.fromJSON(item)),
|
72
|
-
index: obj.index,
|
73
|
-
});
|
74
|
-
}
|
75
|
-
toEncodable() {
|
76
|
-
return NonFungibleTraitInitMap.toEncodable(this);
|
77
|
-
}
|
78
|
-
}
|
79
|
-
exports.NonFungibleTraitInitMap = NonFungibleTraitInitMap;
|
80
|
-
//# sourceMappingURL=NonFungibleTraitInitMap.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"NonFungibleTraitInitMap.js","sourceRoot":"","sources":["../../../src/types/types/NonFungibleTraitInitMap.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAAsB,CAAC,wDAAwD;AAC/E,gDAAiC,CAAC,wDAAwD;AAC1F,wDAAyC;AAczC,MAAa,uBAAuB;IAKlC,YAAY,MAAqC;QAC/C,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAA;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,CAC7B,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,CAAC,cAAc,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC,CAChD,CAAA;QACD,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;IAC3B,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,QAAiB;QAC7B,OAAO,KAAK,CAAC,MAAM,CACjB;YACE,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC;YACjB,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,EAAE,EAAE,QAAQ,CAAC;YAClD,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;SACnB,EACD,QAAQ,CACT,CAAA;IACH,CAAC;IAED,8DAA8D;IAC9D,MAAM,CAAC,WAAW,CAAC,GAAQ;QACzB,OAAO,IAAI,uBAAuB,CAAC;YACjC,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,CACpB,CACE,IAAS,CAAC,4DAA4D,EACtE,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,CAC5C;YACD,KAAK,EAAE,GAAG,CAAC,KAAK;SACjB,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,MAAqC;QACtD,OAAO;YACL,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CACjC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,CACvC;YACD,KAAK,EAAE,MAAM,CAAC,KAAK;SACpB,CAAA;IACH,CAAC;IAED,MAAM;QACJ,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YAC1B,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;YAChD,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAA;IACH,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,GAAgC;QAC9C,OAAO,IAAI,uBAAuB,CAAC;YACjC,IAAI,EAAE,IAAI,eAAE,CAAC,GAAG,CAAC,IAAI,CAAC;YACtB,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACrE,KAAK,EAAE,GAAG,CAAC,KAAK;SACjB,CAAC,CAAA;IACJ,CAAC;IAED,WAAW;QACT,OAAO,uBAAuB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;IAClD,CAAC;CACF;AAlED,0DAkEC"}
|
@@ -1,44 +0,0 @@
|
|
1
|
-
import * as types from "../types";
|
2
|
-
export interface OnlyBetweenTimesArgsFields {
|
3
|
-
start: number;
|
4
|
-
end: number;
|
5
|
-
rangeType: types.TimeRangeTypeKind;
|
6
|
-
}
|
7
|
-
export interface OnlyBetweenTimesArgsJSON {
|
8
|
-
start: number;
|
9
|
-
end: number;
|
10
|
-
rangeType: types.TimeRangeTypeJSON;
|
11
|
-
}
|
12
|
-
export declare class OnlyBetweenTimesArgs {
|
13
|
-
readonly start: number;
|
14
|
-
readonly end: number;
|
15
|
-
readonly rangeType: types.TimeRangeTypeKind;
|
16
|
-
constructor(fields: OnlyBetweenTimesArgsFields);
|
17
|
-
static layout(property?: string): any;
|
18
|
-
static fromDecoded(obj: any): types.OnlyBetweenTimesArgs;
|
19
|
-
static toEncodable(fields: OnlyBetweenTimesArgsFields): {
|
20
|
-
start: number;
|
21
|
-
end: number;
|
22
|
-
rangeType: {
|
23
|
-
BetweenHours: {};
|
24
|
-
} | {
|
25
|
-
BetweenDays: {};
|
26
|
-
} | {
|
27
|
-
BetweenHoursNegate: {};
|
28
|
-
};
|
29
|
-
};
|
30
|
-
toJSON(): OnlyBetweenTimesArgsJSON;
|
31
|
-
static fromJSON(obj: OnlyBetweenTimesArgsJSON): OnlyBetweenTimesArgs;
|
32
|
-
toEncodable(): {
|
33
|
-
start: number;
|
34
|
-
end: number;
|
35
|
-
rangeType: {
|
36
|
-
BetweenHours: {};
|
37
|
-
} | {
|
38
|
-
BetweenDays: {};
|
39
|
-
} | {
|
40
|
-
BetweenHoursNegate: {};
|
41
|
-
};
|
42
|
-
};
|
43
|
-
}
|
44
|
-
//# sourceMappingURL=OnlyBetweenTimesArgs.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"OnlyBetweenTimesArgs.d.ts","sourceRoot":"","sources":["../../../src/types/types/OnlyBetweenTimesArgs.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAA;CACnC;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAA;CACnC;AAED,qBAAa,oBAAoB;IAC/B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAA;gBAE/B,MAAM,EAAE,0BAA0B;IAM9C,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM;IAY/B,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG;IAQ3B,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,0BAA0B;;;;;;;;;;;IAQrD,MAAM,IAAI,wBAAwB;IAQlC,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,wBAAwB,GAAG,oBAAoB;IAQpE,WAAW;;;;;;;;;;;CAGZ"}
|