3land_sdk 1.0.6 → 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 +10 -6
- package/src/library/Irys/irys.ts +1 -1
- package/src/library/Store.ts +5 -1
- package/src/library/implementation/storeImplementation.ts +39 -13
- package/src/types/implementation/implementationTypes.ts +2 -1
- 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 -317
- 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 -377
- 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,72 +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.Authority = void 0;
|
27
|
-
const borsh = __importStar(require("@coral-xyz/borsh")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
28
|
-
const programId_1 = require("../programId");
|
29
|
-
class Authority {
|
30
|
-
constructor(fields) { }
|
31
|
-
static async fetch(c, address, programId = programId_1.PROGRAM_ID) {
|
32
|
-
const info = await c.getAccountInfo(address);
|
33
|
-
if (info === null) {
|
34
|
-
return null;
|
35
|
-
}
|
36
|
-
if (!info.owner.equals(programId)) {
|
37
|
-
throw new Error("account doesn't belong to this program");
|
38
|
-
}
|
39
|
-
return this.decode(info.data);
|
40
|
-
}
|
41
|
-
static async fetchMultiple(c, addresses, programId = programId_1.PROGRAM_ID) {
|
42
|
-
const infos = await c.getMultipleAccountsInfo(addresses);
|
43
|
-
return infos.map((info) => {
|
44
|
-
if (info === null) {
|
45
|
-
return null;
|
46
|
-
}
|
47
|
-
if (!info.owner.equals(programId)) {
|
48
|
-
throw new Error("account doesn't belong to this program");
|
49
|
-
}
|
50
|
-
return this.decode(info.data);
|
51
|
-
});
|
52
|
-
}
|
53
|
-
static decode(data) {
|
54
|
-
if (!data.slice(0, 8).equals(Authority.discriminator)) {
|
55
|
-
throw new Error("invalid account discriminator");
|
56
|
-
}
|
57
|
-
const dec = Authority.layout.decode(data.slice(8));
|
58
|
-
return new Authority({});
|
59
|
-
}
|
60
|
-
toJSON() {
|
61
|
-
return {};
|
62
|
-
}
|
63
|
-
static fromJSON(obj) {
|
64
|
-
return new Authority({});
|
65
|
-
}
|
66
|
-
}
|
67
|
-
exports.Authority = Authority;
|
68
|
-
Authority.discriminator = Buffer.from([
|
69
|
-
36, 108, 254, 18, 167, 144, 27, 36,
|
70
|
-
]);
|
71
|
-
Authority.layout = borsh.struct([]);
|
72
|
-
//# sourceMappingURL=Authority.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Authority.js","sourceRoot":"","sources":["../../../src/types/accounts/Authority.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wDAAyC,CAAC,wDAAwD;AAElG,4CAAyC;AAMzC,MAAa,SAAS;IAOpB,YAAY,MAAuB,IAAG,CAAC;IAEvC,MAAM,CAAC,KAAK,CAAC,KAAK,CAChB,CAAa,EACb,OAAkB,EAClB,YAAuB,sBAAU;QAEjC,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA;QAE5C,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;YAClB,OAAO,IAAI,CAAA;QACb,CAAC;QACD,IAAI,CA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AAS,CAAC,EAAE,CAAC,CAAA;IAC1B,CAAC;;AA7DH,8BA8DC;AA7DiB,uBAAa,GAAG,MAAM,CAAC,IAAI,CAAC;IAC1C,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE;CACnC,CAAC,CAAA;AAEc,gBAAM,GAAG,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA"}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import { PublicKey, Connection } from "@solana/web3.js";
|
2
|
-
import * as types from "../types";
|
3
|
-
export interface BurnDepositFields {
|
4
|
-
class: types.AccountClassKind;
|
5
|
-
state: types.BurnStateKind;
|
6
|
-
deposits: Array<types.FakeDepositFields>;
|
7
|
-
}
|
8
|
-
export interface BurnDepositJSON {
|
9
|
-
class: types.AccountClassJSON;
|
10
|
-
state: types.BurnStateJSON;
|
11
|
-
deposits: Array<types.FakeDepositJSON>;
|
12
|
-
}
|
13
|
-
export declare class BurnDeposit {
|
14
|
-
readonly class: types.AccountClassKind;
|
15
|
-
readonly state: types.BurnStateKind;
|
16
|
-
readonly deposits: Array<types.FakeDeposit>;
|
17
|
-
static readonly discriminator: Buffer;
|
18
|
-
static readonly layout: any;
|
19
|
-
constructor(fields: BurnDepositFields);
|
20
|
-
static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<BurnDeposit | null>;
|
21
|
-
static fetchMultiple(c: Connection, addresses: PublicKey[], programId?: PublicKey): Promise<Array<BurnDeposit | null>>;
|
22
|
-
static decode(data: Buffer): BurnDeposit;
|
23
|
-
toJSON(): BurnDepositJSON;
|
24
|
-
static fromJSON(obj: BurnDepositJSON): BurnDeposit;
|
25
|
-
}
|
26
|
-
//# sourceMappingURL=BurnDeposit.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"BurnDeposit.d.ts","sourceRoot":"","sources":["../../../src/types/accounts/BurnDeposit.ts"],"names":[],"mappings":"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
|
@@ -1,93 +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.BurnDeposit = void 0;
|
27
|
-
const borsh = __importStar(require("@coral-xyz/borsh")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
28
|
-
const types = __importStar(require("../types")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
29
|
-
const programId_1 = require("../programId");
|
30
|
-
class BurnDeposit {
|
31
|
-
constructor(fields) {
|
32
|
-
this.class = fields.class;
|
33
|
-
this.state = fields.state;
|
34
|
-
this.deposits = fields.deposits.map((item) => new types.FakeDeposit({ ...item }));
|
35
|
-
}
|
36
|
-
static async fetch(c, address, programId = programId_1.PROGRAM_ID) {
|
37
|
-
const info = await c.getAccountInfo(address);
|
38
|
-
if (info === null) {
|
39
|
-
return null;
|
40
|
-
}
|
41
|
-
if (!info.owner.equals(programId)) {
|
42
|
-
throw new Error("account doesn't belong to this program");
|
43
|
-
}
|
44
|
-
return this.decode(info.data);
|
45
|
-
}
|
46
|
-
static async fetchMultiple(c, addresses, programId = programId_1.PROGRAM_ID) {
|
47
|
-
const infos = await c.getMultipleAccountsInfo(addresses);
|
48
|
-
return infos.map((info) => {
|
49
|
-
if (info === null) {
|
50
|
-
return null;
|
51
|
-
}
|
52
|
-
if (!info.owner.equals(programId)) {
|
53
|
-
throw new Error("account doesn't belong to this program");
|
54
|
-
}
|
55
|
-
return this.decode(info.data);
|
56
|
-
});
|
57
|
-
}
|
58
|
-
static decode(data) {
|
59
|
-
if (!data.slice(0, 8).equals(BurnDeposit.discriminator)) {
|
60
|
-
throw new Error("invalid account discriminator");
|
61
|
-
}
|
62
|
-
const dec = BurnDeposit.layout.decode(data.slice(8));
|
63
|
-
return new BurnDeposit({
|
64
|
-
class: types.AccountClass.fromDecoded(dec.class),
|
65
|
-
state: types.BurnState.fromDecoded(dec.state),
|
66
|
-
deposits: dec.deposits.map((item /* eslint-disable-line @typescript-eslint/no-explicit-any */) => types.FakeDeposit.fromDecoded(item)),
|
67
|
-
});
|
68
|
-
}
|
69
|
-
toJSON() {
|
70
|
-
return {
|
71
|
-
class: this.class.toJSON(),
|
72
|
-
state: this.state.toJSON(),
|
73
|
-
deposits: this.deposits.map((item) => item.toJSON()),
|
74
|
-
};
|
75
|
-
}
|
76
|
-
static fromJSON(obj) {
|
77
|
-
return new BurnDeposit({
|
78
|
-
class: types.AccountClass.fromJSON(obj.class),
|
79
|
-
state: types.BurnState.fromJSON(obj.state),
|
80
|
-
deposits: obj.deposits.map((item) => types.FakeDeposit.fromJSON(item)),
|
81
|
-
});
|
82
|
-
}
|
83
|
-
}
|
84
|
-
exports.BurnDeposit = BurnDeposit;
|
85
|
-
BurnDeposit.discriminator = Buffer.from([
|
86
|
-
219, 80, 192, 1, 224, 111, 166, 242,
|
87
|
-
]);
|
88
|
-
BurnDeposit.layout = borsh.struct([
|
89
|
-
types.AccountClass.layout("class"),
|
90
|
-
types.BurnState.layout("state"),
|
91
|
-
borsh.vec(types.FakeDeposit.layout(), "deposits"),
|
92
|
-
]);
|
93
|
-
//# sourceMappingURL=BurnDeposit.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"BurnDeposit.js","sourceRoot":"","sources":["../../../src/types/accounts/BurnDeposit.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wDAAyC,CAAC,wDAAwD;AAClG,gDAAiC,CAAC,wDAAwD;AAC1F,4CAAyC;AAczC,MAAa,WAAW;IAetB,YAAY,MAAyB;QACnC,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;QACzB,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;QACzB,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,GAAG,CACjC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC,CAC7C,CAAA;IACH,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,KAAK,CAChB,CAAa,EACb,OAAkB,EAClB,YAAuB,sBAAU;QAEjC,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA;QAE5C,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;YAClB,OAAO,IAAI,CAAA;QACb,CAAC;QACD,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC;YAClC,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAA;QAC3D,CAAC;QAED,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC/B,CAAC;IAED,MAAM,CAAC,KAAK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
-
export interface BurnProgressJSON {
|
7
|
-
id: number;
|
8
|
-
burns: string;
|
9
|
-
}
|
10
|
-
export declare class BurnProgress {
|
11
|
-
readonly id: number;
|
12
|
-
readonly burns: PublicKey;
|
13
|
-
static readonly discriminator: Buffer;
|
14
|
-
static readonly layout: any;
|
15
|
-
constructor(fields: BurnProgressFields);
|
16
|
-
static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<BurnProgress | null>;
|
17
|
-
static fetchMultiple(c: Connection, addresses: PublicKey[], programId?: PublicKey): Promise<Array<BurnProgress | null>>;
|
18
|
-
static decode(data: Buffer): BurnProgress;
|
19
|
-
toJSON(): BurnProgressJSON;
|
20
|
-
static fromJSON(obj: BurnProgressJSON): BurnProgress;
|
21
|
-
}
|
22
|
-
//# sourceMappingURL=BurnProgress.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"BurnProgress.d.ts","sourceRoot":"","sources":["../../../src/types/accounts/BurnProgress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAMvD,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,SAAS,CAAA;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;CACd;AAED,qBAAa,YAAY;IACvB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAA;IAEzB,MAAM,CAAC,QAAQ,CAAC,aAAa,SAE3B;IAEF,MAAM,CAAC,QAAQ,CAAC,MAAM,MAGpB;gBAEU,MAAM,EAAE,kBAAkB;WAKzB,KAAK,CAChB,CAAC,EAAE,UAAU,EACb,OAAO,EAAE,SAAS,EAClB,SAAS,GAAE,SAAsB,GAChC,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC;WAalB,aAAa,CACxB,CAAC,EAAE,UAAU,EACb,SAAS,EAAE,SAAS,EAAE,EACtB,SAAS,GAAE,SAAsB,GAChC,OAAO,CAAC,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC,CAAC;IAetC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY;IAazC,MAAM,IAAI,gBAAgB;IAO1B,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,gBAAgB,GAAG,YAAY;CAMrD"}
|
@@ -1,88 +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.BurnProgress = void 0;
|
27
|
-
const web3_js_1 = require("@solana/web3.js");
|
28
|
-
const borsh = __importStar(require("@coral-xyz/borsh")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
29
|
-
const programId_1 = require("../programId");
|
30
|
-
class BurnProgress {
|
31
|
-
constructor(fields) {
|
32
|
-
this.id = fields.id;
|
33
|
-
this.burns = fields.burns;
|
34
|
-
}
|
35
|
-
static async fetch(c, address, programId = programId_1.PROGRAM_ID) {
|
36
|
-
const info = await c.getAccountInfo(address);
|
37
|
-
if (info === null) {
|
38
|
-
return null;
|
39
|
-
}
|
40
|
-
if (!info.owner.equals(programId)) {
|
41
|
-
throw new Error("account doesn't belong to this program");
|
42
|
-
}
|
43
|
-
return this.decode(info.data);
|
44
|
-
}
|
45
|
-
static async fetchMultiple(c, addresses, programId = programId_1.PROGRAM_ID) {
|
46
|
-
const infos = await c.getMultipleAccountsInfo(addresses);
|
47
|
-
return infos.map((info) => {
|
48
|
-
if (info === null) {
|
49
|
-
return null;
|
50
|
-
}
|
51
|
-
if (!info.owner.equals(programId)) {
|
52
|
-
throw new Error("account doesn't belong to this program");
|
53
|
-
}
|
54
|
-
return this.decode(info.data);
|
55
|
-
});
|
56
|
-
}
|
57
|
-
static decode(data) {
|
58
|
-
if (!data.slice(0, 8).equals(BurnProgress.discriminator)) {
|
59
|
-
throw new Error("invalid account discriminator");
|
60
|
-
}
|
61
|
-
const dec = BurnProgress.layout.decode(data.slice(8));
|
62
|
-
return new BurnProgress({
|
63
|
-
id: dec.id,
|
64
|
-
burns: dec.burns,
|
65
|
-
});
|
66
|
-
}
|
67
|
-
toJSON() {
|
68
|
-
return {
|
69
|
-
id: this.id,
|
70
|
-
burns: this.burns.toString(),
|
71
|
-
};
|
72
|
-
}
|
73
|
-
static fromJSON(obj) {
|
74
|
-
return new BurnProgress({
|
75
|
-
id: obj.id,
|
76
|
-
burns: new web3_js_1.PublicKey(obj.burns),
|
77
|
-
});
|
78
|
-
}
|
79
|
-
}
|
80
|
-
exports.BurnProgress = BurnProgress;
|
81
|
-
BurnProgress.discriminator = Buffer.from([
|
82
|
-
12, 198, 91, 240, 229, 209, 22, 141,
|
83
|
-
]);
|
84
|
-
BurnProgress.layout = borsh.struct([
|
85
|
-
borsh.u16("id"),
|
86
|
-
borsh.publicKey("burns"),
|
87
|
-
]);
|
88
|
-
//# sourceMappingURL=BurnProgress.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"BurnProgress.js","sourceRoot":"","sources":["../../../src/types/accounts/BurnProgress.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAuD;AAEvD,wDAAyC,CAAC,wDAAwD;AAElG,4CAAyC;AAYzC,MAAa,YAAY;IAavB,YAAY,MAA0B;QACpC,IAAI,CAAC,EAAE,GAAG,MAAM,CAAC,EAAE,CAAA;QACnB,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;IAC3B,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,KAAK,CAChB,CAAa,EACb,OAAkB,EAClB,YAAuB,sBAAU;QAEjC,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA;QAE5C,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;YAClB,OAAO,IAAI,CAAA;QACb,CAAC;QACD,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC;YAClC,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAA;QAC3D,CAAC;QAED,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC/B,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,aAAa,CACxB,CAAa,EACb,SAAsB,EACtB,YAAuB,sBAAU;QAEjC,MAAM,KAAK,GAAG,MAAM,CAAC,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAA;QAExD,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;YACxB,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;gBAClB,OAAO,IAAI,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BAAM,GAAG,KAAK,CAAC,MAAM,CAAC;IACpC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;IACf,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC;CACzB,CAAC,CAAA"}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
import { PublicKey, Connection } from "@solana/web3.js";
|
2
|
-
import * as types from "../types";
|
3
|
-
export interface BuyHistoryFields {
|
4
|
-
class: types.AccountClassKind;
|
5
|
-
buyType: types.BuyHistoryClassKind;
|
6
|
-
owner: PublicKey;
|
7
|
-
item: PublicKey;
|
8
|
-
store: PublicKey;
|
9
|
-
}
|
10
|
-
export interface BuyHistoryJSON {
|
11
|
-
class: types.AccountClassJSON;
|
12
|
-
buyType: types.BuyHistoryClassJSON;
|
13
|
-
owner: string;
|
14
|
-
item: string;
|
15
|
-
store: string;
|
16
|
-
}
|
17
|
-
export declare class BuyHistory {
|
18
|
-
readonly class: types.AccountClassKind;
|
19
|
-
readonly buyType: types.BuyHistoryClassKind;
|
20
|
-
readonly owner: PublicKey;
|
21
|
-
readonly item: PublicKey;
|
22
|
-
readonly store: PublicKey;
|
23
|
-
static readonly discriminator: Buffer;
|
24
|
-
static readonly layout: any;
|
25
|
-
constructor(fields: BuyHistoryFields);
|
26
|
-
static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<BuyHistory | null>;
|
27
|
-
static fetchMultiple(c: Connection, addresses: PublicKey[], programId?: PublicKey): Promise<Array<BuyHistory | null>>;
|
28
|
-
static decode(data: Buffer): BuyHistory;
|
29
|
-
toJSON(): BuyHistoryJSON;
|
30
|
-
static fromJSON(obj: BuyHistoryJSON): BuyHistory;
|
31
|
-
}
|
32
|
-
//# sourceMappingURL=BuyHistory.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"BuyHistory.d.ts","sourceRoot":"","sources":["../../../src/types/accounts/BuyHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM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xB,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,cAAc,GAAG,UAAU;CASjD"}
|
@@ -1,104 +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.BuyHistory = void 0;
|
27
|
-
const web3_js_1 = require("@solana/web3.js");
|
28
|
-
const borsh = __importStar(require("@coral-xyz/borsh")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
29
|
-
const types = __importStar(require("../types")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
30
|
-
const programId_1 = require("../programId");
|
31
|
-
class BuyHistory {
|
32
|
-
constructor(fields) {
|
33
|
-
this.class = fields.class;
|
34
|
-
this.buyType = fields.buyType;
|
35
|
-
this.owner = fields.owner;
|
36
|
-
this.item = fields.item;
|
37
|
-
this.store = fields.store;
|
38
|
-
}
|
39
|
-
static async fetch(c, address, programId = programId_1.PROGRAM_ID) {
|
40
|
-
const info = await c.getAccountInfo(address);
|
41
|
-
if (info === null) {
|
42
|
-
return null;
|
43
|
-
}
|
44
|
-
if (!info.owner.equals(programId)) {
|
45
|
-
throw new Error("account doesn't belong to this program");
|
46
|
-
}
|
47
|
-
return this.decode(info.data);
|
48
|
-
}
|
49
|
-
static async fetchMultiple(c, addresses, programId = programId_1.PROGRAM_ID) {
|
50
|
-
const infos = await c.getMultipleAccountsInfo(addresses);
|
51
|
-
return infos.map((info) => {
|
52
|
-
if (info === null) {
|
53
|
-
return null;
|
54
|
-
}
|
55
|
-
if (!info.owner.equals(programId)) {
|
56
|
-
throw new Error("account doesn't belong to this program");
|
57
|
-
}
|
58
|
-
return this.decode(info.data);
|
59
|
-
});
|
60
|
-
}
|
61
|
-
static decode(data) {
|
62
|
-
if (!data.slice(0, 8).equals(BuyHistory.discriminator)) {
|
63
|
-
throw new Error("invalid account discriminator");
|
64
|
-
}
|
65
|
-
const dec = BuyHistory.layout.decode(data.slice(8));
|
66
|
-
return new BuyHistory({
|
67
|
-
class: types.AccountClass.fromDecoded(dec.class),
|
68
|
-
buyType: types.BuyHistoryClass.fromDecoded(dec.buyType),
|
69
|
-
owner: dec.owner,
|
70
|
-
item: dec.item,
|
71
|
-
store: dec.store,
|
72
|
-
});
|
73
|
-
}
|
74
|
-
toJSON() {
|
75
|
-
return {
|
76
|
-
class: this.class.toJSON(),
|
77
|
-
buyType: this.buyType.toJSON(),
|
78
|
-
owner: this.owner.toString(),
|
79
|
-
item: this.item.toString(),
|
80
|
-
store: this.store.toString(),
|
81
|
-
};
|
82
|
-
}
|
83
|
-
static fromJSON(obj) {
|
84
|
-
return new BuyHistory({
|
85
|
-
class: types.AccountClass.fromJSON(obj.class),
|
86
|
-
buyType: types.BuyHistoryClass.fromJSON(obj.buyType),
|
87
|
-
owner: new web3_js_1.PublicKey(obj.owner),
|
88
|
-
item: new web3_js_1.PublicKey(obj.item),
|
89
|
-
store: new web3_js_1.PublicKey(obj.store),
|
90
|
-
});
|
91
|
-
}
|
92
|
-
}
|
93
|
-
exports.BuyHistory = BuyHistory;
|
94
|
-
BuyHistory.discriminator = Buffer.from([
|
95
|
-
10, 217, 83, 243, 244, 164, 203, 202,
|
96
|
-
]);
|
97
|
-
BuyHistory.layout = borsh.struct([
|
98
|
-
types.AccountClass.layout("class"),
|
99
|
-
types.BuyHistoryClass.layout("buyType"),
|
100
|
-
borsh.publicKey("owner"),
|
101
|
-
borsh.publicKey("item"),
|
102
|
-
borsh.publicKey("store"),
|
103
|
-
]);
|
104
|
-
//# sourceMappingURL=BuyHistory.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"BuyHistory.js","sourceRoot":"","sources":["../../../src/types/accounts/BuyHistory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAuD;AAEvD,wDAAyC,CAAC,wDAAwD;AAClG,gDAAiC,CAAC,wDAAwD;AAC1F,4CAAyC;AAkBzC,MAAa,UAAU;IAmBrB,YAAY,MAAwB;QAClC,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;QACzB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAA;QAC7B,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;QACzB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAA;QACvB,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;IAC3B,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,KAAK,CAChB,CAAa,EACb,OAAkB,EAClB,YAAuB,sBAAU;QAEjC,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA;QAE5C,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;YAClB,OAAO,IAAI,CAAA;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ClC,KAAK,CAAC,eAAe,CAAC,MAAM,CAAC,SAAS,CAAC;IACvC,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC;IACxB,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC;IACvB,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC;CACzB,CAAC,CAAA"}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { PublicKey, Connection } from "@solana/web3.js";
|
2
|
-
export interface BuyTrackFields {
|
3
|
-
count: number;
|
4
|
-
time: number;
|
5
|
-
}
|
6
|
-
export interface BuyTrackJSON {
|
7
|
-
count: number;
|
8
|
-
time: number;
|
9
|
-
}
|
10
|
-
export declare class BuyTrack {
|
11
|
-
readonly count: number;
|
12
|
-
readonly time: number;
|
13
|
-
static readonly discriminator: Buffer;
|
14
|
-
static readonly layout: any;
|
15
|
-
constructor(fields: BuyTrackFields);
|
16
|
-
static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<BuyTrack | null>;
|
17
|
-
static fetchMultiple(c: Connection, addresses: PublicKey[], programId?: PublicKey): Promise<Array<BuyTrack | null>>;
|
18
|
-
static decode(data: Buffer): BuyTrack;
|
19
|
-
toJSON(): BuyTrackJSON;
|
20
|
-
static fromJSON(obj: BuyTrackJSON): BuyTrack;
|
21
|
-
}
|
22
|
-
//# sourceMappingURL=BuyTrack.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"BuyTrack.d.ts","sourceRoot":"","sources":["../../../src/types/accounts/BuyTrack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAMvD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;CACb;AAED,qBAAa,QAAQ;IACnB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IAErB,MAAM,CAAC,QAAQ,CAAC,aAAa,SAE3B;IAEF,MAAM,CAAC,QAAQ,CAAC,MAAM,MAAwD;gBAElE,MAAM,EAAE,cAAc;WAKrB,KAAK,CAChB,CAAC,EAAE,UAAU,EACb,OAAO,EAAE,SAAS,EAClB,SAAS,GAAE,SAAsB,GAChC,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;WAad,aAAa,CACxB,CAAC,EAAE,UAAU,EACb,SAAS,EAAE,SAAS,EAAE,EACtB,SAAS,GAAE,SAAsB,GAChC,OAAO,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC;IAelC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ;IAarC,MAAM,IAAI,YAAY;IAOtB,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,YAAY,GAAG,QAAQ;CAM7C"}
|
@@ -1,84 +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.BuyTrack = void 0;
|
27
|
-
const borsh = __importStar(require("@coral-xyz/borsh")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
28
|
-
const programId_1 = require("../programId");
|
29
|
-
class BuyTrack {
|
30
|
-
constructor(fields) {
|
31
|
-
this.count = fields.count;
|
32
|
-
this.time = fields.time;
|
33
|
-
}
|
34
|
-
static async fetch(c, address, programId = programId_1.PROGRAM_ID) {
|
35
|
-
const info = await c.getAccountInfo(address);
|
36
|
-
if (info === null) {
|
37
|
-
return null;
|
38
|
-
}
|
39
|
-
if (!info.owner.equals(programId)) {
|
40
|
-
throw new Error("account doesn't belong to this program");
|
41
|
-
}
|
42
|
-
return this.decode(info.data);
|
43
|
-
}
|
44
|
-
static async fetchMultiple(c, addresses, programId = programId_1.PROGRAM_ID) {
|
45
|
-
const infos = await c.getMultipleAccountsInfo(addresses);
|
46
|
-
return infos.map((info) => {
|
47
|
-
if (info === null) {
|
48
|
-
return null;
|
49
|
-
}
|
50
|
-
if (!info.owner.equals(programId)) {
|
51
|
-
throw new Error("account doesn't belong to this program");
|
52
|
-
}
|
53
|
-
return this.decode(info.data);
|
54
|
-
});
|
55
|
-
}
|
56
|
-
static decode(data) {
|
57
|
-
if (!data.slice(0, 8).equals(BuyTrack.discriminator)) {
|
58
|
-
throw new Error("invalid account discriminator");
|
59
|
-
}
|
60
|
-
const dec = BuyTrack.layout.decode(data.slice(8));
|
61
|
-
return new BuyTrack({
|
62
|
-
count: dec.count,
|
63
|
-
time: dec.time,
|
64
|
-
});
|
65
|
-
}
|
66
|
-
toJSON() {
|
67
|
-
return {
|
68
|
-
count: this.count,
|
69
|
-
time: this.time,
|
70
|
-
};
|
71
|
-
}
|
72
|
-
static fromJSON(obj) {
|
73
|
-
return new BuyTrack({
|
74
|
-
count: obj.count,
|
75
|
-
time: obj.time,
|
76
|
-
});
|
77
|
-
}
|
78
|
-
}
|
79
|
-
exports.BuyTrack = BuyTrack;
|
80
|
-
BuyTrack.discriminator = Buffer.from([
|
81
|
-
127, 195, 236, 128, 20, 28, 179, 140,
|
82
|
-
]);
|
83
|
-
BuyTrack.layout = borsh.struct([borsh.u32("count"), borsh.u32("time")]);
|
84
|
-
//# sourceMappingURL=BuyTrack.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"BuyTrack.js","sourceRoot":"","sources":["../../../src/types/accounts/BuyTrack.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wDAAyC,CAAC,wDAAwD;AAElG,4CAAyC;AAYzC,MAAa,QAAQ;IAUnB,YAAY,MAAsB;QAChC,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;QACzB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAA;IACzB,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,KAAK,CAChB,CAAa,EACb,OAAkB,EAClB,YAAuB,sBAAU;QAEjC,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA;QAE5C,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;YAClB,OAAO,IAAI,CAAA;QACb,CAAC;QACD,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC;YAClC,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAA;QAC3D,CAAC;QAED,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC/B,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,aAAa,CACxB,CAAa,EACb,SAAsB,EACtB,YAAuB,sB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EiB,sBAAa,GAAG,MAAM,CAAC,IAAI,CAAC;IAC1C,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG;CACrC,CAAC,CAAA;AAEc,eAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA"}
|
@@ -1,57 +0,0 @@
|
|
1
|
-
import { PublicKey, Connection } from "@solana/web3.js";
|
2
|
-
import BN from "bn.js";
|
3
|
-
import * as types from "../types";
|
4
|
-
export interface CardFields {
|
5
|
-
class: types.AccountClassKind;
|
6
|
-
globalState: types.GlobalStateKind;
|
7
|
-
store: PublicKey;
|
8
|
-
creator: PublicKey;
|
9
|
-
holder: PublicKey;
|
10
|
-
hash: BN;
|
11
|
-
page: BN;
|
12
|
-
manager: PublicKey;
|
13
|
-
index: number;
|
14
|
-
hashTraits: BN;
|
15
|
-
created: number;
|
16
|
-
reserved: Array<number>;
|
17
|
-
item: types.ItemFields;
|
18
|
-
}
|
19
|
-
export interface CardJSON {
|
20
|
-
class: types.AccountClassJSON;
|
21
|
-
globalState: types.GlobalStateJSON;
|
22
|
-
store: string;
|
23
|
-
creator: string;
|
24
|
-
holder: string;
|
25
|
-
hash: string;
|
26
|
-
page: string;
|
27
|
-
manager: string;
|
28
|
-
index: number;
|
29
|
-
hashTraits: string;
|
30
|
-
created: number;
|
31
|
-
reserved: Array<number>;
|
32
|
-
item: types.ItemJSON;
|
33
|
-
}
|
34
|
-
export declare class Card {
|
35
|
-
readonly class: types.AccountClassKind;
|
36
|
-
readonly globalState: types.GlobalStateKind;
|
37
|
-
readonly store: PublicKey;
|
38
|
-
readonly creator: PublicKey;
|
39
|
-
readonly holder: PublicKey;
|
40
|
-
readonly hash: BN;
|
41
|
-
readonly page: BN;
|
42
|
-
readonly manager: PublicKey;
|
43
|
-
readonly index: number;
|
44
|
-
readonly hashTraits: BN;
|
45
|
-
readonly created: number;
|
46
|
-
readonly reserved: Array<number>;
|
47
|
-
readonly item: types.Item;
|
48
|
-
static readonly discriminator: Buffer;
|
49
|
-
static readonly layout: any;
|
50
|
-
constructor(fields: CardFields);
|
51
|
-
static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<Card | null>;
|
52
|
-
static fetchMultiple(c: Connection, addresses: PublicKey[], programId?: PublicKey): Promise<Array<Card | null>>;
|
53
|
-
static decode(data: Buffer): Card;
|
54
|
-
toJSON(): CardJSON;
|
55
|
-
static fromJSON(obj: CardJSON): Card;
|
56
|
-
}
|
57
|
-
//# sourceMappingURL=Card.d.ts.map
|