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/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";
|
4
|
-
export interface CreatePackArgs {
|
5
|
-
metadata: types.MetadataArgsFields;
|
6
|
-
saleConfig: types.SaleConfigFields;
|
7
|
-
identifier: BN;
|
8
|
-
category: Array<number>;
|
9
|
-
superCategory: Array<number>;
|
10
|
-
eventCategory: number;
|
11
|
-
hashTraits: BN;
|
12
|
-
packConfig: types.PackConfigFields;
|
13
|
-
}
|
14
|
-
export interface CreatePackAccounts {
|
15
|
-
storeAccount: PublicKey;
|
16
|
-
creatorAuthority: PublicKey;
|
17
|
-
packAccount: PublicKey;
|
18
|
-
packReserveList: PublicKey;
|
19
|
-
creator: PublicKey;
|
20
|
-
payer: PublicKey;
|
21
|
-
systemProgram: PublicKey;
|
22
|
-
}
|
23
|
-
export declare const layout: any;
|
24
|
-
export declare function createPack(args: CreatePackArgs, accounts: CreatePackAccounts, programId?: PublicKey): TransactionInstruction;
|
25
|
-
//# sourceMappingURL=createPack.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"createPack.d.ts","sourceRoot":"","sources":["../../../src/types/instructions/createPack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,SAAS,EAAe,MAAM,iBAAiB,CAAA;AAChF,OAAO,EAAE,MAAM,OAAO,CAAA;AAEtB,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,KAAK,CAAC,kBAAkB,CAAA;IAClC,UAAU,EAAE,KAAK,CAAC,gBAAgB,CAAA;IAClC,UAAU,EAAE,EAAE,CAAA;IACd,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACvB,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAC5B,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,EAAE,CAAA;IACd,UAAU,EAAE,KAAK,CAAC,gBAAgB,CAAA;CACnC;AAED,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,SAAS,CAAA;IACvB,gBAAgB,EAAE,SAAS,CAAA;IAC3B,WAAW,EAAE,SAAS,CAAA;IACtB,eAAe,EAAE,SAAS,CAAA;IAC1B,OAAO,EAAE,SAAS,CAAA;IAClB,KAAK,EAAE,SAAS,CAAA;IAChB,aAAa,EAAE,SAAS,CAAA;CACzB;AAED,eAAO,MAAM,MAAM,KASjB,CAAA;AAEF,wBAAgB,UAAU,CACxB,IAAI,EAAE,cAAc,EACpB,QAAQ,EAAE,kBAAkB,EAC5B,SAAS,GAAE,SAAsB,0BA6BlC"}
|
@@ -1,68 +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.layout = void 0;
|
27
|
-
exports.createPack = createPack;
|
28
|
-
const web3_js_1 = require("@solana/web3.js"); // eslint-disable-line @typescript-eslint/no-unused-vars
|
29
|
-
const borsh = __importStar(require("@coral-xyz/borsh")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
30
|
-
const types = __importStar(require("../types")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
31
|
-
const programId_1 = require("../programId");
|
32
|
-
exports.layout = borsh.struct([
|
33
|
-
types.MetadataArgs.layout("metadata"),
|
34
|
-
types.SaleConfig.layout("saleConfig"),
|
35
|
-
borsh.u64("identifier"),
|
36
|
-
borsh.array(borsh.u16(), 3, "category"),
|
37
|
-
borsh.array(borsh.u8(), 2, "superCategory"),
|
38
|
-
borsh.u16("eventCategory"),
|
39
|
-
borsh.u64("hashTraits"),
|
40
|
-
types.PackConfig.layout("packConfig"),
|
41
|
-
]);
|
42
|
-
function createPack(args, accounts, programId = programId_1.PROGRAM_ID) {
|
43
|
-
const keys = [
|
44
|
-
{ pubkey: accounts.storeAccount, isSigner: false, isWritable: true },
|
45
|
-
{ pubkey: accounts.creatorAuthority, isSigner: false, isWritable: true },
|
46
|
-
{ pubkey: accounts.packAccount, isSigner: false, isWritable: true },
|
47
|
-
{ pubkey: accounts.packReserveList, isSigner: false, isWritable: true },
|
48
|
-
{ pubkey: accounts.creator, isSigner: false, isWritable: false },
|
49
|
-
{ pubkey: accounts.payer, isSigner: true, isWritable: true },
|
50
|
-
{ pubkey: accounts.systemProgram, isSigner: false, isWritable: false },
|
51
|
-
];
|
52
|
-
const identifier = Buffer.from([44, 61, 245, 51, 98, 247, 57, 174]);
|
53
|
-
const buffer = Buffer.alloc(1000);
|
54
|
-
const len = exports.layout.encode({
|
55
|
-
metadata: types.MetadataArgs.toEncodable(args.metadata),
|
56
|
-
saleConfig: types.SaleConfig.toEncodable(args.saleConfig),
|
57
|
-
identifier: args.identifier,
|
58
|
-
category: args.category,
|
59
|
-
superCategory: args.superCategory,
|
60
|
-
eventCategory: args.eventCategory,
|
61
|
-
hashTraits: args.hashTraits,
|
62
|
-
packConfig: types.PackConfig.toEncodable(args.packConfig),
|
63
|
-
}, buffer);
|
64
|
-
const data = Buffer.concat([identifier, buffer]).slice(0, 8 + len);
|
65
|
-
const ix = new web3_js_1.TransactionInstruction({ keys, programId, data });
|
66
|
-
return ix;
|
67
|
-
}
|
68
|
-
//# sourceMappingURL=createPack.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"createPack.js","sourceRoot":"","sources":["../../../src/types/instructions/createPack.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAsCA,gCAgCC;AAtED,6CAAgF,CAAC,wDAAwD;AAEzI,wDAAyC,CAAC,wDAAwD;AAClG,gDAAiC,CAAC,wDAAwD;AAC1F,4CAAyC;AAuB5B,QAAA,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;IACjC,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,UAAU,CAAC;IACrC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,YAAY,CAAC;IACrC,KAAK,CAAC,GAAG,CAAC,YAAY,CAAC;IACvB,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,UAAU,CAAC;IACvC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,eAAe,CAAC;IAC3C,KAAK,CAAC,GAAG,CAAC,eAAe,CAAC;IAC1B,KAAK,CAAC,GAAG,CAAC,YAAY,CAAC;IACvB,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,YAAY,CAAC;CACtC,CAAC,CAAA;AAEF,SAAgB,UAAU,CACxB,IAAoB,EACpB,QAA4B,EAC5B,YAAuB,sBAAU;IAEjC,MAAM,IAAI,GAAuB;QAC/B,EAAE,MAAM,EAAE,QAAQ,CAAC,YAAY,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE;QACpE,EAAE,MAAM,EAAE,QAAQ,CAAC,gBAAgB,EAAE,Q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,CAAC,UAAU,CAAC;KAC1D,EACD,MAAM,CACP,CAAA;IACD,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,CAAA;IAClE,MAAM,EAAE,GAAG,IAAI,gCAAsB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAA;IAChE,OAAO,EAAE,CAAA;AACX,CAAC"}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { TransactionInstruction, PublicKey } from "@solana/web3.js";
|
2
|
-
import BN from "bn.js";
|
3
|
-
import * as types from "../types";
|
4
|
-
export interface CreateSingleArgs {
|
5
|
-
supply: BN;
|
6
|
-
shortMetadata: types.ShortMetadataArgsFields;
|
7
|
-
saleConfig: types.SaleConfigFields;
|
8
|
-
identifier: BN;
|
9
|
-
category: Array<number>;
|
10
|
-
superCategory: Array<number>;
|
11
|
-
eventCategory: number;
|
12
|
-
hashTraits: BN;
|
13
|
-
}
|
14
|
-
export interface CreateSingleAccounts {
|
15
|
-
storeAccount: PublicKey;
|
16
|
-
itemAccount: PublicKey;
|
17
|
-
creatorAuthority: PublicKey;
|
18
|
-
itemReserveList: PublicKey;
|
19
|
-
creator: PublicKey;
|
20
|
-
payer: PublicKey;
|
21
|
-
systemProgram: PublicKey;
|
22
|
-
}
|
23
|
-
export declare const layout: any;
|
24
|
-
export declare function createSingle(args: CreateSingleArgs, accounts: CreateSingleAccounts, programId?: PublicKey): TransactionInstruction;
|
25
|
-
//# sourceMappingURL=createSingle.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"createSingle.d.ts","sourceRoot":"","sources":["../../../src/types/instructions/createSingle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,SAAS,EAAe,MAAM,iBAAiB,CAAA;AAChF,OAAO,EAAE,MAAM,OAAO,CAAA;AAEtB,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,EAAE,CAAA;IACV,aAAa,EAAE,KAAK,CAAC,uBAAuB,CAAA;IAC5C,UAAU,EAAE,KAAK,CAAC,gBAAgB,CAAA;IAClC,UAAU,EAAE,EAAE,CAAA;IACd,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACvB,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAC5B,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,EAAE,CAAA;CACf;AAED,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,SAAS,CAAA;IACvB,WAAW,EAAE,SAAS,CAAA;IACtB,gBAAgB,EAAE,SAAS,CAAA;IAC3B,eAAe,EAAE,SAAS,CAAA;IAC1B,OAAO,EAAE,SAAS,CAAA;IAClB,KAAK,EAAE,SAAS,CAAA;IAChB,aAAa,EAAE,SAAS,CAAA;CACzB;AAED,eAAO,MAAM,MAAM,KASjB,CAAA;AAEF,wBAAgB,YAAY,CAC1B,IAAI,EAAE,gBAAgB,EACtB,QAAQ,EAAE,oBAAoB,EAC9B,SAAS,GAAE,SAAsB,0BA6BlC"}
|
@@ -1,68 +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.layout = void 0;
|
27
|
-
exports.createSingle = createSingle;
|
28
|
-
const web3_js_1 = require("@solana/web3.js"); // eslint-disable-line @typescript-eslint/no-unused-vars
|
29
|
-
const borsh = __importStar(require("@coral-xyz/borsh")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
30
|
-
const types = __importStar(require("../types")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
31
|
-
const programId_1 = require("../programId");
|
32
|
-
exports.layout = borsh.struct([
|
33
|
-
borsh.u64("supply"),
|
34
|
-
types.ShortMetadataArgs.layout("shortMetadata"),
|
35
|
-
types.SaleConfig.layout("saleConfig"),
|
36
|
-
borsh.u64("identifier"),
|
37
|
-
borsh.array(borsh.u16(), 3, "category"),
|
38
|
-
borsh.array(borsh.u8(), 2, "superCategory"),
|
39
|
-
borsh.u16("eventCategory"),
|
40
|
-
borsh.u64("hashTraits"),
|
41
|
-
]);
|
42
|
-
function createSingle(args, accounts, programId = programId_1.PROGRAM_ID) {
|
43
|
-
const keys = [
|
44
|
-
{ pubkey: accounts.storeAccount, isSigner: false, isWritable: true },
|
45
|
-
{ pubkey: accounts.itemAccount, isSigner: false, isWritable: true },
|
46
|
-
{ pubkey: accounts.creatorAuthority, isSigner: false, isWritable: true },
|
47
|
-
{ pubkey: accounts.itemReserveList, isSigner: false, isWritable: true },
|
48
|
-
{ pubkey: accounts.creator, isSigner: false, isWritable: false },
|
49
|
-
{ pubkey: accounts.payer, isSigner: true, isWritable: true },
|
50
|
-
{ pubkey: accounts.systemProgram, isSigner: false, isWritable: false },
|
51
|
-
];
|
52
|
-
const identifier = Buffer.from([148, 238, 14, 208, 161, 59, 195, 11]);
|
53
|
-
const buffer = Buffer.alloc(1000);
|
54
|
-
const len = exports.layout.encode({
|
55
|
-
supply: args.supply,
|
56
|
-
shortMetadata: types.ShortMetadataArgs.toEncodable(args.shortMetadata),
|
57
|
-
saleConfig: types.SaleConfig.toEncodable(args.saleConfig),
|
58
|
-
identifier: args.identifier,
|
59
|
-
category: args.category,
|
60
|
-
superCategory: args.superCategory,
|
61
|
-
eventCategory: args.eventCategory,
|
62
|
-
hashTraits: args.hashTraits,
|
63
|
-
}, buffer);
|
64
|
-
const data = Buffer.concat([identifier, buffer]).slice(0, 8 + len);
|
65
|
-
const ix = new web3_js_1.TransactionInstruction({ keys, programId, data });
|
66
|
-
return ix;
|
67
|
-
}
|
68
|
-
//# sourceMappingURL=createSingle.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"createSingle.js","sourceRoot":"","sources":["../../../src/types/instructions/createSingle.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAsCA,oCAgCC;AAtED,6CAAgF,CAAC,wDAAwD;AAEzI,wDAAyC,CAAC,wDAAwD;AAClG,gDAAiC,CAAC,wDAAwD;AAC1F,4CAAyC;AAuB5B,QAAA,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;IACjC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC;IACnB,KAAK,CAAC,iBAAiB,CAAC,MAAM,CAAC,eAAe,CAAC;IAC/C,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,YAAY,CAAC;IACrC,KAAK,CAAC,GAAG,CAAC,YAAY,CAAC;IACvB,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,UAAU,CAAC;IACvC,K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AG,cAAM,CAAC,MAAM,CACvB;QACE,MAAM,EAAE,IAAI,CAAC,MAAM;QACnB,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,IAAI,CAAC,aAAa,CAAC;QACtE,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC;QACzD,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,UAAU,EAAE,IAAI,CAAC,UAAU;KAC5B,EACD,MAAM,CACP,CAAA;IACD,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,CAAA;IAClE,MAAM,EAAE,GAAG,IAAI,gCAAsB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAA;IAChE,OAAO,EAAE,CAAA;AACX,CAAC"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { TransactionInstruction, PublicKey } from "@solana/web3.js";
|
2
|
-
import * as types from "../types";
|
3
|
-
export interface CreateStoreArgs {
|
4
|
-
name: string;
|
5
|
-
storeConfig: types.StoreConfigFields;
|
6
|
-
storeId: number;
|
7
|
-
}
|
8
|
-
export interface CreateStoreAccounts {
|
9
|
-
holderAccount: PublicKey;
|
10
|
-
storeAccount: PublicKey;
|
11
|
-
creator: PublicKey;
|
12
|
-
systemProgram: PublicKey;
|
13
|
-
}
|
14
|
-
export declare const layout: any;
|
15
|
-
export declare function createStore(args: CreateStoreArgs, accounts: CreateStoreAccounts, programId?: PublicKey): TransactionInstruction;
|
16
|
-
//# sourceMappingURL=createStore.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"createStore.d.ts","sourceRoot":"","sources":["../../../src/types/instructions/createStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,SAAS,EAAe,MAAM,iBAAiB,CAAA;AAGhF,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,KAAK,CAAC,iBAAiB,CAAA;IACpC,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,mBAAmB;IAClC,aAAa,EAAE,SAAS,CAAA;IACxB,YAAY,EAAE,SAAS,CAAA;IACvB,OAAO,EAAE,SAAS,CAAA;IAClB,aAAa,EAAE,SAAS,CAAA;CACzB;AAED,eAAO,MAAM,MAAM,KAIjB,CAAA;AAEF,wBAAgB,WAAW,CACzB,IAAI,EAAE,eAAe,EACrB,QAAQ,EAAE,mBAAmB,EAC7B,SAAS,GAAE,SAAsB,0BAqBlC"}
|
@@ -1,55 +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.layout = void 0;
|
27
|
-
exports.createStore = createStore;
|
28
|
-
const web3_js_1 = require("@solana/web3.js"); // eslint-disable-line @typescript-eslint/no-unused-vars
|
29
|
-
const borsh = __importStar(require("@coral-xyz/borsh")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
30
|
-
const types = __importStar(require("../types")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
31
|
-
const programId_1 = require("../programId");
|
32
|
-
exports.layout = borsh.struct([
|
33
|
-
borsh.str("name"),
|
34
|
-
types.StoreConfig.layout("storeConfig"),
|
35
|
-
borsh.u16("storeId"),
|
36
|
-
]);
|
37
|
-
function createStore(args, accounts, programId = programId_1.PROGRAM_ID) {
|
38
|
-
const keys = [
|
39
|
-
{ pubkey: accounts.holderAccount, isSigner: false, isWritable: true },
|
40
|
-
{ pubkey: accounts.storeAccount, isSigner: false, isWritable: true },
|
41
|
-
{ pubkey: accounts.creator, isSigner: true, isWritable: true },
|
42
|
-
{ pubkey: accounts.systemProgram, isSigner: false, isWritable: false },
|
43
|
-
];
|
44
|
-
const identifier = Buffer.from([132, 152, 9, 27, 112, 19, 95, 83]);
|
45
|
-
const buffer = Buffer.alloc(1000);
|
46
|
-
const len = exports.layout.encode({
|
47
|
-
name: args.name,
|
48
|
-
storeConfig: types.StoreConfig.toEncodable(args.storeConfig),
|
49
|
-
storeId: args.storeId,
|
50
|
-
}, buffer);
|
51
|
-
const data = Buffer.concat([identifier, buffer]).slice(0, 8 + len);
|
52
|
-
const ix = new web3_js_1.TransactionInstruction({ keys, programId, data });
|
53
|
-
return ix;
|
54
|
-
}
|
55
|
-
//# sourceMappingURL=createStore.js.map
|
@@ -1 +0,0 @@
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E,IAAI,CAAC,IAAI;QACf,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC;QAC5D,OAAO,EAAE,IAAI,CAAC,OAAO;KACtB,EACD,MAAM,CACP,CAAA;IACD,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,CAAA;IAClE,MAAM,EAAE,GAAG,IAAI,gCAAsB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAA;IAChE,OAAO,EAAE,CAAA;AACX,CAAC"}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { TransactionInstruction, PublicKey } from "@solana/web3.js";
|
2
|
-
import BN from "bn.js";
|
3
|
-
import * as types from "../types";
|
4
|
-
export interface CreateTokenLauncherArgs {
|
5
|
-
price: BN;
|
6
|
-
decimals: number;
|
7
|
-
tokenMetadata: types.TokenMetadataFields;
|
8
|
-
share: number;
|
9
|
-
tokenType: types.TokenTypeKind;
|
10
|
-
}
|
11
|
-
export interface CreateTokenLauncherAccounts {
|
12
|
-
tokenManager: PublicKey;
|
13
|
-
metadata: PublicKey;
|
14
|
-
mint: PublicKey;
|
15
|
-
tokenAccount: PublicKey;
|
16
|
-
storeTokenAccount: PublicKey;
|
17
|
-
genericUser: PublicKey;
|
18
|
-
storeAccount: PublicKey;
|
19
|
-
payer: PublicKey;
|
20
|
-
tokenProgram: PublicKey;
|
21
|
-
associatedTokenProgram: PublicKey;
|
22
|
-
tokenMetadataProgram: PublicKey;
|
23
|
-
rent: PublicKey;
|
24
|
-
systemProgram: PublicKey;
|
25
|
-
}
|
26
|
-
export declare const layout: any;
|
27
|
-
export declare function createTokenLauncher(args: CreateTokenLauncherArgs, accounts: CreateTokenLauncherAccounts, programId?: PublicKey): TransactionInstruction;
|
28
|
-
//# sourceMappingURL=createTokenLauncher.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"createTokenLauncher.d.ts","sourceRoot":"","sources":["../../../src/types/instructions/createTokenLauncher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,SAAS,EAAe,MAAM,iBAAiB,CAAA;AAChF,OAAO,EAAE,MAAM,OAAO,CAAA;AAEtB,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,EAAE,CAAA;IACT,QAAQ,EAAE,MAAM,CAAA;IAChB,aAAa,EAAE,KAAK,CAAC,mBAAmB,CAAA;IACxC,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,KAAK,CAAC,aAAa,CAAA;CAC/B;AAED,MAAM,WAAW,2BAA2B;IAC1C,YAAY,EAAE,SAAS,CAAA;IACvB,QAAQ,EAAE,SAAS,CAAA;IACnB,IAAI,EAAE,SAAS,CAAA;IACf,YAAY,EAAE,SAAS,CAAA;IACvB,iBAAiB,EAAE,SAAS,CAAA;IAC5B,WAAW,EAAE,SAAS,CAAA;IACtB,YAAY,EAAE,SAAS,CAAA;IACvB,KAAK,EAAE,SAAS,CAAA;IAChB,YAAY,EAAE,SAAS,CAAA;IACvB,sBAAsB,EAAE,SAAS,CAAA;IACjC,oBAAoB,EAAE,SAAS,CAAA;IAC/B,IAAI,EAAE,SAAS,CAAA;IACf,aAAa,EAAE,SAAS,CAAA;CACzB;AAED,eAAO,MAAM,MAAM,KAMjB,CAAA;AAEF,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,uBAAuB,EAC7B,QAAQ,EAAE,2BAA2B,EACrC,SAAS,GAAE,SAAsB,0BAwClC"}
|
@@ -1,76 +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.layout = void 0;
|
27
|
-
exports.createTokenLauncher = createTokenLauncher;
|
28
|
-
const web3_js_1 = require("@solana/web3.js"); // eslint-disable-line @typescript-eslint/no-unused-vars
|
29
|
-
const borsh = __importStar(require("@coral-xyz/borsh")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
30
|
-
const types = __importStar(require("../types")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
31
|
-
const programId_1 = require("../programId");
|
32
|
-
exports.layout = borsh.struct([
|
33
|
-
borsh.u64("price"),
|
34
|
-
borsh.u8("decimals"),
|
35
|
-
types.TokenMetadata.layout("tokenMetadata"),
|
36
|
-
borsh.u16("share"),
|
37
|
-
types.TokenType.layout("tokenType"),
|
38
|
-
]);
|
39
|
-
function createTokenLauncher(args, accounts, programId = programId_1.PROGRAM_ID) {
|
40
|
-
const keys = [
|
41
|
-
{ pubkey: accounts.tokenManager, isSigner: false, isWritable: true },
|
42
|
-
{ pubkey: accounts.metadata, isSigner: false, isWritable: true },
|
43
|
-
{ pubkey: accounts.mint, isSigner: false, isWritable: true },
|
44
|
-
{ pubkey: accounts.tokenAccount, isSigner: false, isWritable: true },
|
45
|
-
{ pubkey: accounts.storeTokenAccount, isSigner: false, isWritable: true },
|
46
|
-
{ pubkey: accounts.genericUser, isSigner: false, isWritable: true },
|
47
|
-
{ pubkey: accounts.storeAccount, isSigner: false, isWritable: false },
|
48
|
-
{ pubkey: accounts.payer, isSigner: true, isWritable: true },
|
49
|
-
{ pubkey: accounts.tokenProgram, isSigner: false, isWritable: false },
|
50
|
-
{
|
51
|
-
pubkey: accounts.associatedTokenProgram,
|
52
|
-
isSigner: false,
|
53
|
-
isWritable: false,
|
54
|
-
},
|
55
|
-
{
|
56
|
-
pubkey: accounts.tokenMetadataProgram,
|
57
|
-
isSigner: false,
|
58
|
-
isWritable: false,
|
59
|
-
},
|
60
|
-
{ pubkey: accounts.rent, isSigner: false, isWritable: false },
|
61
|
-
{ pubkey: accounts.systemProgram, isSigner: false, isWritable: false },
|
62
|
-
];
|
63
|
-
const identifier = Buffer.from([190, 234, 150, 230, 47, 143, 184, 87]);
|
64
|
-
const buffer = Buffer.alloc(1000);
|
65
|
-
const len = exports.layout.encode({
|
66
|
-
price: args.price,
|
67
|
-
decimals: args.decimals,
|
68
|
-
tokenMetadata: types.TokenMetadata.toEncodable(args.tokenMetadata),
|
69
|
-
share: args.share,
|
70
|
-
tokenType: args.tokenType.toEncodable(),
|
71
|
-
}, buffer);
|
72
|
-
const data = Buffer.concat([identifier, buffer]).slice(0, 8 + len);
|
73
|
-
const ix = new web3_js_1.TransactionInstruction({ keys, programId, data });
|
74
|
-
return ix;
|
75
|
-
}
|
76
|
-
//# sourceMappingURL=createTokenLauncher.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"createTokenLauncher.js","sourceRoot":"","sources":["../../../src/types/instructions/createTokenLauncher.ts"],"names":[],"mappings":";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AM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,CAAA;IAClE,MAAM,EAAE,GAAG,IAAI,gCAAsB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAA;IAChE,OAAO,EAAE,CAAA;AACX,CAAC"}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { TransactionInstruction, PublicKey } from "@solana/web3.js";
|
2
|
-
import * as types from "../types";
|
3
|
-
export interface CreateZeroCardArgs {
|
4
|
-
metadatas: Array<types.ShortMetadataFields>;
|
5
|
-
bumps: Array<number>;
|
6
|
-
extras: Array<number>;
|
7
|
-
config: types.ZeroConfigFields | null;
|
8
|
-
}
|
9
|
-
export interface CreateZeroCardAccounts {
|
10
|
-
packAccount: PublicKey;
|
11
|
-
packTraits: PublicKey;
|
12
|
-
merkleTree: PublicKey;
|
13
|
-
merkleManager: PublicKey;
|
14
|
-
packContent: PublicKey;
|
15
|
-
treeAuthority: PublicKey;
|
16
|
-
logWrapper: PublicKey;
|
17
|
-
bubblegumProgram: PublicKey;
|
18
|
-
compressionProgram: PublicKey;
|
19
|
-
tokenMetadataProgram: PublicKey;
|
20
|
-
payer: PublicKey;
|
21
|
-
systemProgram: PublicKey;
|
22
|
-
}
|
23
|
-
export declare const layout: any;
|
24
|
-
export declare function createZeroCard(args: CreateZeroCardArgs, accounts: CreateZeroCardAccounts, programId?: PublicKey): TransactionInstruction;
|
25
|
-
//# sourceMappingURL=createZeroCard.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"createZeroCard.d.ts","sourceRoot":"","sources":["../../../src/types/instructions/createZeroCard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,SAAS,EAAe,MAAM,iBAAiB,CAAA;AAGhF,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,KAAK,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAA;IAC3C,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACpB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACrB,MAAM,EAAE,KAAK,CAAC,gBAAgB,GAAG,IAAI,CAAA;CACtC;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,SAAS,CAAA;IACtB,UAAU,EAAE,SAAS,CAAA;IACrB,UAAU,EAAE,SAAS,CAAA;IACrB,aAAa,EAAE,SAAS,CAAA;IACxB,WAAW,EAAE,SAAS,CAAA;IACtB,aAAa,EAAE,SAAS,CAAA;IACxB,UAAU,EAAE,SAAS,CAAA;IACrB,gBAAgB,EAAE,SAAS,CAAA;IAC3B,kBAAkB,EAAE,SAAS,CAAA;IAC7B,oBAAoB,EAAE,SAAS,CAAA;IAC/B,KAAK,EAAE,SAAS,CAAA;IAChB,aAAa,EAAE,SAAS,CAAA;CACzB;AAED,eAAO,MAAM,MAAM,KAKjB,CAAA;AAEF,wBAAgB,cAAc,CAC5B,IAAI,EAAE,kBAAkB,EACxB,QAAQ,EAAE,sBAAsB,EAChC,SAAS,GAAE,SAAsB,0BAqClC"}
|
@@ -1,69 +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.layout = void 0;
|
27
|
-
exports.createZeroCard = createZeroCard;
|
28
|
-
const web3_js_1 = require("@solana/web3.js"); // eslint-disable-line @typescript-eslint/no-unused-vars
|
29
|
-
const borsh = __importStar(require("@coral-xyz/borsh")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
30
|
-
const types = __importStar(require("../types")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
31
|
-
const programId_1 = require("../programId");
|
32
|
-
exports.layout = borsh.struct([
|
33
|
-
borsh.vec(types.ShortMetadata.layout(), "metadatas"),
|
34
|
-
borsh.array(borsh.u8(), 6, "bumps"),
|
35
|
-
borsh.array(borsh.u8(), 3, "extras"),
|
36
|
-
borsh.option(types.ZeroConfig.layout(), "config"),
|
37
|
-
]);
|
38
|
-
function createZeroCard(args, accounts, programId = programId_1.PROGRAM_ID) {
|
39
|
-
const keys = [
|
40
|
-
{ pubkey: accounts.packAccount, isSigner: false, isWritable: true },
|
41
|
-
{ pubkey: accounts.packTraits, isSigner: false, isWritable: true },
|
42
|
-
{ pubkey: accounts.merkleTree, isSigner: false, isWritable: true },
|
43
|
-
{ pubkey: accounts.merkleManager, isSigner: false, isWritable: true },
|
44
|
-
{ pubkey: accounts.packContent, isSigner: false, isWritable: true },
|
45
|
-
{ pubkey: accounts.treeAuthority, isSigner: false, isWritable: true },
|
46
|
-
{ pubkey: accounts.logWrapper, isSigner: false, isWritable: false },
|
47
|
-
{ pubkey: accounts.bubblegumProgram, isSigner: false, isWritable: false },
|
48
|
-
{ pubkey: accounts.compressionProgram, isSigner: false, isWritable: false },
|
49
|
-
{
|
50
|
-
pubkey: accounts.tokenMetadataProgram,
|
51
|
-
isSigner: false,
|
52
|
-
isWritable: false,
|
53
|
-
},
|
54
|
-
{ pubkey: accounts.payer, isSigner: true, isWritable: true },
|
55
|
-
{ pubkey: accounts.systemProgram, isSigner: false, isWritable: false },
|
56
|
-
];
|
57
|
-
const identifier = Buffer.from([202, 18, 212, 68, 22, 33, 133, 66]);
|
58
|
-
const buffer = Buffer.alloc(1000);
|
59
|
-
const len = exports.layout.encode({
|
60
|
-
metadatas: args.metadatas.map((item) => types.ShortMetadata.toEncodable(item)),
|
61
|
-
bumps: args.bumps,
|
62
|
-
extras: args.extras,
|
63
|
-
config: (args.config && types.ZeroConfig.toEncodable(args.config)) || null,
|
64
|
-
}, buffer);
|
65
|
-
const data = Buffer.concat([identifier, buffer]).slice(0, 8 + len);
|
66
|
-
const ix = new web3_js_1.TransactionInstruction({ keys, programId, data });
|
67
|
-
return ix;
|
68
|
-
}
|
69
|
-
//# sourceMappingURL=createZeroCard.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"createZeroCard.js","sourceRoot":"","sources":["../../../src/types/instructions/createZeroCard.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAmCA,wCAwCC;AA3ED,6CAAgF,CAAC,wDAAwD;AAEzI,wDAAyC,CAAC,wDAAwD;AAClG,gDAAiC,CAAC,wDAAwD;AAC1F,4CAAyC;AAwB5B,QAAA,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;IACjC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,aAAa,CAAC,MAAM,EAAE,EAAE,WAAW,CAAC;IACpD,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,OAAO,CAAC;IACnC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC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
-
packAccount: PublicKey;
|
4
|
-
packContent: PublicKey;
|
5
|
-
cardAccount: PublicKey;
|
6
|
-
manager: PublicKey;
|
7
|
-
payer: PublicKey;
|
8
|
-
systemProgram: PublicKey;
|
9
|
-
}
|
10
|
-
export declare function deleteCard(accounts: DeleteCardAccounts, programId?: PublicKey): TransactionInstruction;
|
11
|
-
//# sourceMappingURL=deleteCard.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"deleteCard.d.ts","sourceRoot":"","sources":["../../../src/types/instructions/deleteCard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,SAAS,EAAe,MAAM,iBAAiB,CAAA;AAMhF,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,SAAS,CAAA;IACtB,WAAW,EAAE,SAAS,CAAA;IACtB,WAAW,EAAE,SAAS,CAAA;IACtB,OAAO,EAAE,SAAS,CAAA;IAClB,KAAK,EAAE,SAAS,CAAA;IAChB,aAAa,EAAE,SAAS,CAAA;CACzB;AAED,wBAAgB,UAAU,CACxB,QAAQ,EAAE,kBAAkB,EAC5B,SAAS,GAAE,SAAsB,0BAclC"}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.deleteCard = deleteCard;
|
4
|
-
const web3_js_1 = require("@solana/web3.js"); // eslint-disable-line @typescript-eslint/no-unused-vars
|
5
|
-
const programId_1 = require("../programId");
|
6
|
-
function deleteCard(accounts, programId = programId_1.PROGRAM_ID) {
|
7
|
-
const keys = [
|
8
|
-
{ pubkey: accounts.packAccount, isSigner: false, isWritable: true },
|
9
|
-
{ pubkey: accounts.packContent, isSigner: false, isWritable: true },
|
10
|
-
{ pubkey: accounts.cardAccount, isSigner: false, isWritable: true },
|
11
|
-
{ pubkey: accounts.manager, isSigner: false, isWritable: true },
|
12
|
-
{ pubkey: accounts.payer, isSigner: true, isWritable: true },
|
13
|
-
{ pubkey: accounts.systemProgram, isSigner: false, isWritable: false },
|
14
|
-
];
|
15
|
-
const identifier = Buffer.from([199, 58, 181, 228, 23, 155, 200, 173]);
|
16
|
-
const data = identifier;
|
17
|
-
const ix = new web3_js_1.TransactionInstruction({ keys, programId, data });
|
18
|
-
return ix;
|
19
|
-
}
|
20
|
-
//# sourceMappingURL=deleteCard.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"deleteCard.js","sourceRoot":"","sources":["../../../src/types/instructions/deleteCard.ts"],"names":[],"mappings":";;AAeA,gCAgBC;AA/BD,6CAAgF,CAAC,wDAAwD;AAIzI,4CAAyC;AAWzC,SAAgB,UAAU,CACxB,QAA4B,EAC5B,YAAuB,sBAAU;IAEjC,MAAM,IAAI,GAAuB;QAC/B,EAAE,MAAM,EAAE,QAAQ,CAAC,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE;QACnE,EAAE,MAAM,EAAE,QAAQ,CAAC,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE;QACnE,EAAE,MAAM,EAAE,QAAQ,CAAC,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE;QACnE,EAAE,MAAM,EAAE,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE;QAC/D,EAAE,MAAM,EAAE,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE;QAC5D,EAAE,MAAM,EAAE,QAAQ,CAAC,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE;KACvE,CAAA;IACD,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAA;IACtE,MAAM,IAAI,GAAG,UAAU,CAAA;IACvB,MAAM,EAAE,GAAG,IAAI,gCAAsB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAA;IAChE,OAAO,EAAE,CAAA;AACX,CAAC"}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { TransactionInstruction, PublicKey } from "@solana/web3.js";
|
2
|
-
export interface DeletePackAccounts {
|
3
|
-
storeAccount: PublicKey;
|
4
|
-
packAccount: PublicKey;
|
5
|
-
packContent: PublicKey;
|
6
|
-
packTraits: PublicKey;
|
7
|
-
itemReserveList: PublicKey;
|
8
|
-
archiveDeposit: PublicKey;
|
9
|
-
creatorRegistry: PublicKey;
|
10
|
-
manager: PublicKey;
|
11
|
-
payer: PublicKey;
|
12
|
-
systemProgram: PublicKey;
|
13
|
-
}
|
14
|
-
export declare function deletePack(accounts: DeletePackAccounts, programId?: PublicKey): TransactionInstruction;
|
15
|
-
//# sourceMappingURL=deletePack.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"deletePack.d.ts","sourceRoot":"","sources":["../../../src/types/instructions/deletePack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,SAAS,EAAe,MAAM,iBAAiB,CAAA;AAMhF,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,SAAS,CAAA;IACvB,WAAW,EAAE,SAAS,CAAA;IACtB,WAAW,EAAE,SAAS,CAAA;IACtB,UAAU,EAAE,SAAS,CAAA;IACrB,eAAe,EAAE,SAAS,CAAA;IAC1B,cAAc,EAAE,SAAS,CAAA;IACzB,eAAe,EAAE,SAAS,CAAA;IAC1B,OAAO,EAAE,SAAS,CAAA;IAClB,KAAK,EAAE,SAAS,CAAA;IAChB,aAAa,EAAE,SAAS,CAAA;CACzB;AAED,wBAAgB,UAAU,CACxB,QAAQ,EAAE,kBAAkB,EAC5B,SAAS,GAAE,SAAsB,0BAkBlC"}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.deletePack = deletePack;
|
4
|
-
const web3_js_1 = require("@solana/web3.js"); // eslint-disable-line @typescript-eslint/no-unused-vars
|
5
|
-
const programId_1 = require("../programId");
|
6
|
-
function deletePack(accounts, programId = programId_1.PROGRAM_ID) {
|
7
|
-
const keys = [
|
8
|
-
{ pubkey: accounts.storeAccount, isSigner: false, isWritable: true },
|
9
|
-
{ pubkey: accounts.packAccount, isSigner: false, isWritable: true },
|
10
|
-
{ pubkey: accounts.packContent, isSigner: false, isWritable: true },
|
11
|
-
{ pubkey: accounts.packTraits, isSigner: false, isWritable: true },
|
12
|
-
{ pubkey: accounts.itemReserveList, isSigner: false, isWritable: true },
|
13
|
-
{ pubkey: accounts.archiveDeposit, isSigner: false, isWritable: true },
|
14
|
-
{ pubkey: accounts.creatorRegistry, isSigner: false, isWritable: true },
|
15
|
-
{ pubkey: accounts.manager, isSigner: false, isWritable: false },
|
16
|
-
{ pubkey: accounts.payer, isSigner: true, isWritable: true },
|
17
|
-
{ pubkey: accounts.systemProgram, isSigner: false, isWritable: false },
|
18
|
-
];
|
19
|
-
const identifier = Buffer.from([201, 182, 234, 209, 161, 107, 194, 55]);
|
20
|
-
const data = identifier;
|
21
|
-
const ix = new web3_js_1.TransactionInstruction({ keys, programId, data });
|
22
|
-
return ix;
|
23
|
-
}
|
24
|
-
//# sourceMappingURL=deletePack.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"deletePack.js","sourceRoot":"","sources":["../../../src/types/instructions/deletePack.ts"],"names":[],"mappings":";;AAmBA,gCAoBC;AAvCD,6CAAgF,CAAC,wDAAwD;AAIzI,4CAAyC;AAezC,SAAgB,UAAU,CACxB,QAA4B,EAC5B,YAAuB,sBAAU;IAEjC,MAAM,IAAI,GAAuB;QAC/B,EAAE,MAAM,EAAE,QAAQ,CAAC,YAAY,EAAE,Q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