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,62 +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.TraitPass = void 0;
|
27
|
-
const types = __importStar(require("../types")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
28
|
-
const borsh = __importStar(require("@coral-xyz/borsh"));
|
29
|
-
class TraitPass {
|
30
|
-
constructor(fields) {
|
31
|
-
this.list = fields.list;
|
32
|
-
}
|
33
|
-
static layout(property) {
|
34
|
-
return borsh.struct([borsh.vec(types.TraitPassType.layout(), "list")], property);
|
35
|
-
}
|
36
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
37
|
-
static fromDecoded(obj) {
|
38
|
-
return new TraitPass({
|
39
|
-
list: obj.list.map((item /* eslint-disable-line @typescript-eslint/no-explicit-any */) => types.TraitPassType.fromDecoded(item)),
|
40
|
-
});
|
41
|
-
}
|
42
|
-
static toEncodable(fields) {
|
43
|
-
return {
|
44
|
-
list: fields.list.map((item) => item.toEncodable()),
|
45
|
-
};
|
46
|
-
}
|
47
|
-
toJSON() {
|
48
|
-
return {
|
49
|
-
list: this.list.map((item) => item.toJSON()),
|
50
|
-
};
|
51
|
-
}
|
52
|
-
static fromJSON(obj) {
|
53
|
-
return new TraitPass({
|
54
|
-
list: obj.list.map((item) => types.TraitPassType.fromJSON(item)),
|
55
|
-
});
|
56
|
-
}
|
57
|
-
toEncodable() {
|
58
|
-
return TraitPass.toEncodable(this);
|
59
|
-
}
|
60
|
-
}
|
61
|
-
exports.TraitPass = TraitPass;
|
62
|
-
//# sourceMappingURL=TraitPass.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"TraitPass.js","sourceRoot":"","sources":["../../../src/types/types/TraitPass.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,gDAAiC,CAAC,wDAAwD;AAC1F,wDAAyC;AAUzC,MAAa,SAAS;IAGpB,YAAY,MAAuB;QACjC,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAA;IACzB,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,QAAiB;QAC7B,OAAO,KAAK,CAAC,MAAM,CACjB,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,aAAa,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,CAAC,EACjD,QAAQ,CACT,CAAA;IACH,CAAC;IAED,8DAA8D;IAC9D,MAAM,CAAC,WAAW,CAAC,GAAQ;QACzB,OAAO,IAAI,SAAS,CAAC;YACnB,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC,GAAG,CAChB,CACE,IAAS,CAAC,4DAA4D,EACtE,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,IAAI,CAAC,CAC3C;SACF,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,MAAuB;QACxC,OAAO;YACL,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;SACpD,CAAA;IACH,CAAC;IAED,MAAM;QACJ,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;SAC7C,CAAA;IACH,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,GAAkB;QAChC,OAAO,IAAI,SAAS,CAAC;YACnB,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;SACjE,CAAC,CAAA;IACJ,CAAC;IAED,WAAW;QACT,OAAO,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;IACpC,CAAC;CACF;AA9CD,8BA8CC"}
|
@@ -1,97 +0,0 @@
|
|
1
|
-
import BN from "bn.js";
|
2
|
-
import * as types from "../types";
|
3
|
-
import * as borsh from "@coral-xyz/borsh";
|
4
|
-
export type SemiFungibleFields = {
|
5
|
-
typeId: number;
|
6
|
-
amount: BN;
|
7
|
-
};
|
8
|
-
export type SemiFungibleValue = {
|
9
|
-
typeId: number;
|
10
|
-
amount: BN;
|
11
|
-
};
|
12
|
-
export interface SemiFungibleJSON {
|
13
|
-
kind: "SemiFungible";
|
14
|
-
value: {
|
15
|
-
typeId: number;
|
16
|
-
amount: string;
|
17
|
-
};
|
18
|
-
}
|
19
|
-
export declare class SemiFungible {
|
20
|
-
static readonly discriminator = 0;
|
21
|
-
static readonly kind = "SemiFungible";
|
22
|
-
readonly discriminator = 0;
|
23
|
-
readonly kind = "SemiFungible";
|
24
|
-
readonly value: SemiFungibleValue;
|
25
|
-
constructor(value: SemiFungibleFields);
|
26
|
-
toJSON(): SemiFungibleJSON;
|
27
|
-
toEncodable(): {
|
28
|
-
SemiFungible: {
|
29
|
-
typeId: number;
|
30
|
-
amount: BN;
|
31
|
-
};
|
32
|
-
};
|
33
|
-
}
|
34
|
-
export type DateFields = {
|
35
|
-
typeId: number;
|
36
|
-
date: number;
|
37
|
-
};
|
38
|
-
export type DateValue = {
|
39
|
-
typeId: number;
|
40
|
-
date: number;
|
41
|
-
};
|
42
|
-
export interface DateJSON {
|
43
|
-
kind: "Date";
|
44
|
-
value: {
|
45
|
-
typeId: number;
|
46
|
-
date: number;
|
47
|
-
};
|
48
|
-
}
|
49
|
-
export declare class Date {
|
50
|
-
static readonly discriminator = 1;
|
51
|
-
static readonly kind = "Date";
|
52
|
-
readonly discriminator = 1;
|
53
|
-
readonly kind = "Date";
|
54
|
-
readonly value: DateValue;
|
55
|
-
constructor(value: DateFields);
|
56
|
-
toJSON(): DateJSON;
|
57
|
-
toEncodable(): {
|
58
|
-
Date: {
|
59
|
-
typeId: number;
|
60
|
-
date: number;
|
61
|
-
};
|
62
|
-
};
|
63
|
-
}
|
64
|
-
export type NonFungibleFields = {
|
65
|
-
typeId: number;
|
66
|
-
valueId: number;
|
67
|
-
};
|
68
|
-
export type NonFungibleValue = {
|
69
|
-
typeId: number;
|
70
|
-
valueId: number;
|
71
|
-
};
|
72
|
-
export interface NonFungibleJSON {
|
73
|
-
kind: "NonFungible";
|
74
|
-
value: {
|
75
|
-
typeId: number;
|
76
|
-
valueId: number;
|
77
|
-
};
|
78
|
-
}
|
79
|
-
export declare class NonFungible {
|
80
|
-
static readonly discriminator = 2;
|
81
|
-
static readonly kind = "NonFungible";
|
82
|
-
readonly discriminator = 2;
|
83
|
-
readonly kind = "NonFungible";
|
84
|
-
readonly value: NonFungibleValue;
|
85
|
-
constructor(value: NonFungibleFields);
|
86
|
-
toJSON(): NonFungibleJSON;
|
87
|
-
toEncodable(): {
|
88
|
-
NonFungible: {
|
89
|
-
typeId: number;
|
90
|
-
valueId: number;
|
91
|
-
};
|
92
|
-
};
|
93
|
-
}
|
94
|
-
export declare function fromDecoded(obj: any): types.TraitPassTypeKind;
|
95
|
-
export declare function fromJSON(obj: types.TraitPassTypeJSON): types.TraitPassTypeKind;
|
96
|
-
export declare function layout(property?: string): borsh.EnumLayout<unknown>;
|
97
|
-
//# sourceMappingURL=TraitPassType.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"TraitPassType.d.ts","sourceRoot":"","sources":["../../../src/types/types/TraitPassType.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,OAAO,CAAA;AACtB,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AACjC,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAA;AAEzC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,EAAE,CAAA;CACX,CAAA;AACD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,EAAE,CAAA;CACX,CAAA;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,cAAc,CAAA;IACpB,KAAK,EAAE;QACL,MAAM,EAAE,MAAM,CAAA;QACd,MAAM,EAAE,MAAM,CAAA;KACf,CAAA;CACF;AAED,qBAAa,YAAY;IACvB,MAAM,CAAC,QAAQ,CAAC,aAAa,KAAI;IACjC,MAAM,CAAC,QAAQ,CAAC,IAAI,kBAAiB;IACrC,QAAQ,CAAC,aAAa,KAAI;IAC1B,QAAQ,CAAC,IAAI,kBAAiB;IAC9B,QAAQ,CAAC,KAAK,EAAE,iBAAiB,CAAA;gBAErB,KAAK,EAAE,kBAAkB;IAOrC,MAAM,IAAI,gBAAgB;IAU1B,WAAW;;;;;;CAQZ;AAED,MAAM,MAAM,UAAU,GAAG;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IAUzB,WAAW;;;;;;CAQZ;AAGD,wBAAgB,WAAW,CAAC,GAAG,EAAE,GAAG,GAAG,KAAK,CAAC,iBAAiB,CA4B7D;AAED,wBAAgB,QAAQ,CACtB,GAAG,EAAE,KAAK,CAAC,iBAAiB,GAC3B,KAAK,CAAC,iBAAiB,CAqBzB;AAED,wBAAgB,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,6BAUvC"}
|
@@ -1,186 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
-
}) : function(o, v) {
|
16
|
-
o["default"] = v;
|
17
|
-
});
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
-
if (mod && mod.__esModule) return mod;
|
20
|
-
var result = {};
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
-
__setModuleDefault(result, mod);
|
23
|
-
return result;
|
24
|
-
};
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
27
|
-
};
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.NonFungible = exports.Date = exports.SemiFungible = void 0;
|
30
|
-
exports.fromDecoded = fromDecoded;
|
31
|
-
exports.fromJSON = fromJSON;
|
32
|
-
exports.layout = layout;
|
33
|
-
const bn_js_1 = __importDefault(require("bn.js")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
34
|
-
const borsh = __importStar(require("@coral-xyz/borsh"));
|
35
|
-
class SemiFungible {
|
36
|
-
constructor(value) {
|
37
|
-
this.discriminator = 0;
|
38
|
-
this.kind = "SemiFungible";
|
39
|
-
this.value = {
|
40
|
-
typeId: value.typeId,
|
41
|
-
amount: value.amount,
|
42
|
-
};
|
43
|
-
}
|
44
|
-
toJSON() {
|
45
|
-
return {
|
46
|
-
kind: "SemiFungible",
|
47
|
-
value: {
|
48
|
-
typeId: this.value.typeId,
|
49
|
-
amount: this.value.amount.toString(),
|
50
|
-
},
|
51
|
-
};
|
52
|
-
}
|
53
|
-
toEncodable() {
|
54
|
-
return {
|
55
|
-
SemiFungible: {
|
56
|
-
typeId: this.value.typeId,
|
57
|
-
amount: this.value.amount,
|
58
|
-
},
|
59
|
-
};
|
60
|
-
}
|
61
|
-
}
|
62
|
-
exports.SemiFungible = SemiFungible;
|
63
|
-
SemiFungible.discriminator = 0;
|
64
|
-
SemiFungible.kind = "SemiFungible";
|
65
|
-
class Date {
|
66
|
-
constructor(value) {
|
67
|
-
this.discriminator = 1;
|
68
|
-
this.kind = "Date";
|
69
|
-
this.value = {
|
70
|
-
typeId: value.typeId,
|
71
|
-
date: value.date,
|
72
|
-
};
|
73
|
-
}
|
74
|
-
toJSON() {
|
75
|
-
return {
|
76
|
-
kind: "Date",
|
77
|
-
value: {
|
78
|
-
typeId: this.value.typeId,
|
79
|
-
date: this.value.date,
|
80
|
-
},
|
81
|
-
};
|
82
|
-
}
|
83
|
-
toEncodable() {
|
84
|
-
return {
|
85
|
-
Date: {
|
86
|
-
typeId: this.value.typeId,
|
87
|
-
date: this.value.date,
|
88
|
-
},
|
89
|
-
};
|
90
|
-
}
|
91
|
-
}
|
92
|
-
exports.Date = Date;
|
93
|
-
Date.discriminator = 1;
|
94
|
-
Date.kind = "Date";
|
95
|
-
class NonFungible {
|
96
|
-
constructor(value) {
|
97
|
-
this.discriminator = 2;
|
98
|
-
this.kind = "NonFungible";
|
99
|
-
this.value = {
|
100
|
-
typeId: value.typeId,
|
101
|
-
valueId: value.valueId,
|
102
|
-
};
|
103
|
-
}
|
104
|
-
toJSON() {
|
105
|
-
return {
|
106
|
-
kind: "NonFungible",
|
107
|
-
value: {
|
108
|
-
typeId: this.value.typeId,
|
109
|
-
valueId: this.value.valueId,
|
110
|
-
},
|
111
|
-
};
|
112
|
-
}
|
113
|
-
toEncodable() {
|
114
|
-
return {
|
115
|
-
NonFungible: {
|
116
|
-
typeId: this.value.typeId,
|
117
|
-
valueId: this.value.valueId,
|
118
|
-
},
|
119
|
-
};
|
120
|
-
}
|
121
|
-
}
|
122
|
-
exports.NonFungible = NonFungible;
|
123
|
-
NonFungible.discriminator = 2;
|
124
|
-
NonFungible.kind = "NonFungible";
|
125
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
126
|
-
function fromDecoded(obj) {
|
127
|
-
if (typeof obj !== "object") {
|
128
|
-
throw new Error("Invalid enum object");
|
129
|
-
}
|
130
|
-
if ("SemiFungible" in obj) {
|
131
|
-
const val = obj["SemiFungible"];
|
132
|
-
return new SemiFungible({
|
133
|
-
typeId: val["typeId"],
|
134
|
-
amount: val["amount"],
|
135
|
-
});
|
136
|
-
}
|
137
|
-
if ("Date" in obj) {
|
138
|
-
const val = obj["Date"];
|
139
|
-
return new Date({
|
140
|
-
typeId: val["typeId"],
|
141
|
-
date: val["date"],
|
142
|
-
});
|
143
|
-
}
|
144
|
-
if ("NonFungible" in obj) {
|
145
|
-
const val = obj["NonFungible"];
|
146
|
-
return new NonFungible({
|
147
|
-
typeId: val["typeId"],
|
148
|
-
valueId: val["valueId"],
|
149
|
-
});
|
150
|
-
}
|
151
|
-
throw new Error("Invalid enum object");
|
152
|
-
}
|
153
|
-
function fromJSON(obj) {
|
154
|
-
switch (obj.kind) {
|
155
|
-
case "SemiFungible": {
|
156
|
-
return new SemiFungible({
|
157
|
-
typeId: obj.value.typeId,
|
158
|
-
amount: new bn_js_1.default(obj.value.amount),
|
159
|
-
});
|
160
|
-
}
|
161
|
-
case "Date": {
|
162
|
-
return new Date({
|
163
|
-
typeId: obj.value.typeId,
|
164
|
-
date: obj.value.date,
|
165
|
-
});
|
166
|
-
}
|
167
|
-
case "NonFungible": {
|
168
|
-
return new NonFungible({
|
169
|
-
typeId: obj.value.typeId,
|
170
|
-
valueId: obj.value.valueId,
|
171
|
-
});
|
172
|
-
}
|
173
|
-
}
|
174
|
-
}
|
175
|
-
function layout(property) {
|
176
|
-
const ret = borsh.rustEnum([
|
177
|
-
borsh.struct([borsh.u16("typeId"), borsh.u64("amount")], "SemiFungible"),
|
178
|
-
borsh.struct([borsh.u16("typeId"), borsh.u32("date")], "Date"),
|
179
|
-
borsh.struct([borsh.u16("typeId"), borsh.u16("valueId")], "NonFungible"),
|
180
|
-
]);
|
181
|
-
if (property !== undefined) {
|
182
|
-
return ret.replicate(property);
|
183
|
-
}
|
184
|
-
return ret;
|
185
|
-
}
|
186
|
-
//# sourceMappingURL=TraitPassType.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"TraitPassType.js","sourceRoot":"","sources":["../../../src/types/types/TraitPassType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+JA,kCA4BC;AAED,4BAuBC;AAED,wBAUC;AA/ND,kDAAsB,CAAC,wDAAwD;AAE/E,wDAAyC;AAmBzC,MAAa,YAAY;IAOvB,YAAY,KAAyB;QAJ5B,kBAAa,GAAG,CAAC,CAAA;QACjB,SAAI,GAAG,cAAc,CAAA;QAI5B,IAAI,CAAC,KAAK,GAAG;YACX,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,MAAM,EAAE,KAAK,CAAC,MAAM;SACrB,CAAA;IACH,CAAC;IAED,MAAM;QACJ,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AAK,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC;QAC9D,KAAK,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,EAAE,aAAa,CAAC;KACzE,CAAC,CAAA;IACF,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC3B,OAAO,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAA;IAChC,CAAC;IACD,OAAO,GAAG,CAAA;AACZ,CAAC"}
|
@@ -1,113 +0,0 @@
|
|
1
|
-
import BN from "bn.js";
|
2
|
-
import * as types from "../types";
|
3
|
-
import * as borsh from "@coral-xyz/borsh";
|
4
|
-
export type SemiFungibleFields = {
|
5
|
-
hash: BN;
|
6
|
-
count: number;
|
7
|
-
supply: BN;
|
8
|
-
total: BN;
|
9
|
-
};
|
10
|
-
export type SemiFungibleValue = {
|
11
|
-
hash: BN;
|
12
|
-
count: number;
|
13
|
-
supply: BN;
|
14
|
-
total: BN;
|
15
|
-
};
|
16
|
-
export interface SemiFungibleJSON {
|
17
|
-
kind: "SemiFungible";
|
18
|
-
value: {
|
19
|
-
hash: string;
|
20
|
-
count: number;
|
21
|
-
supply: string;
|
22
|
-
total: string;
|
23
|
-
};
|
24
|
-
}
|
25
|
-
export declare class SemiFungible {
|
26
|
-
static readonly discriminator = 0;
|
27
|
-
static readonly kind = "SemiFungible";
|
28
|
-
readonly discriminator = 0;
|
29
|
-
readonly kind = "SemiFungible";
|
30
|
-
readonly value: SemiFungibleValue;
|
31
|
-
constructor(value: SemiFungibleFields);
|
32
|
-
toJSON(): SemiFungibleJSON;
|
33
|
-
toEncodable(): {
|
34
|
-
SemiFungible: {
|
35
|
-
hash: BN;
|
36
|
-
count: number;
|
37
|
-
supply: BN;
|
38
|
-
total: BN;
|
39
|
-
};
|
40
|
-
};
|
41
|
-
}
|
42
|
-
export type DateFields = {
|
43
|
-
hash: BN;
|
44
|
-
count: number;
|
45
|
-
supply: BN;
|
46
|
-
};
|
47
|
-
export type DateValue = {
|
48
|
-
hash: BN;
|
49
|
-
count: number;
|
50
|
-
supply: BN;
|
51
|
-
};
|
52
|
-
export interface DateJSON {
|
53
|
-
kind: "Date";
|
54
|
-
value: {
|
55
|
-
hash: string;
|
56
|
-
count: number;
|
57
|
-
supply: string;
|
58
|
-
};
|
59
|
-
}
|
60
|
-
export declare class Date {
|
61
|
-
static readonly discriminator = 1;
|
62
|
-
static readonly kind = "Date";
|
63
|
-
readonly discriminator = 1;
|
64
|
-
readonly kind = "Date";
|
65
|
-
readonly value: DateValue;
|
66
|
-
constructor(value: DateFields);
|
67
|
-
toJSON(): DateJSON;
|
68
|
-
toEncodable(): {
|
69
|
-
Date: {
|
70
|
-
hash: BN;
|
71
|
-
count: number;
|
72
|
-
supply: BN;
|
73
|
-
};
|
74
|
-
};
|
75
|
-
}
|
76
|
-
export type NonFungibleFields = {
|
77
|
-
hash: BN;
|
78
|
-
values: Array<types.TraitValueFields>;
|
79
|
-
};
|
80
|
-
export type NonFungibleValue = {
|
81
|
-
hash: BN;
|
82
|
-
values: Array<types.TraitValue>;
|
83
|
-
};
|
84
|
-
export interface NonFungibleJSON {
|
85
|
-
kind: "NonFungible";
|
86
|
-
value: {
|
87
|
-
hash: string;
|
88
|
-
values: Array<types.TraitValueJSON>;
|
89
|
-
};
|
90
|
-
}
|
91
|
-
export declare class NonFungible {
|
92
|
-
static readonly discriminator = 2;
|
93
|
-
static readonly kind = "NonFungible";
|
94
|
-
readonly discriminator = 2;
|
95
|
-
readonly kind = "NonFungible";
|
96
|
-
readonly value: NonFungibleValue;
|
97
|
-
constructor(value: NonFungibleFields);
|
98
|
-
toJSON(): NonFungibleJSON;
|
99
|
-
toEncodable(): {
|
100
|
-
NonFungible: {
|
101
|
-
hash: BN;
|
102
|
-
values: {
|
103
|
-
hash: BN;
|
104
|
-
count: number;
|
105
|
-
supply: BN;
|
106
|
-
}[];
|
107
|
-
};
|
108
|
-
};
|
109
|
-
}
|
110
|
-
export declare function fromDecoded(obj: any): types.TraitTypeKind;
|
111
|
-
export declare function fromJSON(obj: types.TraitTypeJSON): types.TraitTypeKind;
|
112
|
-
export declare function layout(property?: string): borsh.EnumLayout<unknown>;
|
113
|
-
//# sourceMappingURL=TraitType.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"TraitType.d.ts","sourceRoot":"","sources":["../../../src/types/types/TraitType.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,OAAO,CAAA;AACtB,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AACjC,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAA;AAEzC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,EAAE,CAAA;IACR,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,EAAE,CAAA;IACV,KAAK,EAAE,EAAE,CAAA;CACV,CAAA;AACD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,EAAE,CAAA;IACR,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,EAAE,CAAA;IACV,KAAK,EAAE,EAAE,CAAA;CACV,CAAA;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,cAAc,CAAA;IACpB,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,EAAE,MAAM,CAAA;QACb,MAAM,EAAE,MAAM,CAAA;QACd,KAAK,EAAE,MAAM,CAAA;KACd,CAAA;CACF;AAED,qBAAa,YAAY;IACvB,MAAM,CAAC,QAAQ,CAAC,aAAa,KAAI;IACjC,MAAM,CAAC,QAAQ,CAAC,IAAI,kBAAiB;IACrC,QAAQ,CAAC,aAAa,KAAI;IAC1B,QAAQ,CAAC,IAAI,kBAAiB;IAC9B,Q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KAAK,CAAC,KAAK,CAAC,cAAc,CAAC,CAAA;KACpC,CAAA;CACF;AAED,qBAAa,WAAW;IACtB,MAAM,CAAC,QAAQ,CAAC,aAAa,KAAI;IACjC,MAAM,CAAC,QAAQ,CAAC,IAAI,iBAAgB;IACpC,QAAQ,CAAC,aAAa,KAAI;IAC1B,QAAQ,CAAC,IAAI,iBAAgB;IAC7B,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAA;gBAEpB,KAAK,EAAE,iBAAiB;IAOpC,MAAM,IAAI,eAAe;IAUzB,WAAW;;;;;;;;;;CAUZ;AAGD,wBAAgB,WAAW,CAAC,GAAG,EAAE,GAAG,GAAG,KAAK,CAAC,aAAa,CAmCzD;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,KAAK,CAAC,aAAa,GAAG,KAAK,CAAC,aAAa,CAwBtE;AAED,wBAAgB,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,6BAwBvC"}
|
@@ -1,207 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
-
}) : function(o, v) {
|
16
|
-
o["default"] = v;
|
17
|
-
});
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
-
if (mod && mod.__esModule) return mod;
|
20
|
-
var result = {};
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
-
__setModuleDefault(result, mod);
|
23
|
-
return result;
|
24
|
-
};
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
27
|
-
};
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.NonFungible = exports.Date = exports.SemiFungible = void 0;
|
30
|
-
exports.fromDecoded = fromDecoded;
|
31
|
-
exports.fromJSON = fromJSON;
|
32
|
-
exports.layout = layout;
|
33
|
-
const bn_js_1 = __importDefault(require("bn.js")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
34
|
-
const types = __importStar(require("../types")); // eslint-disable-line @typescript-eslint/no-unused-vars
|
35
|
-
const borsh = __importStar(require("@coral-xyz/borsh"));
|
36
|
-
class SemiFungible {
|
37
|
-
constructor(value) {
|
38
|
-
this.discriminator = 0;
|
39
|
-
this.kind = "SemiFungible";
|
40
|
-
this.value = {
|
41
|
-
hash: value.hash,
|
42
|
-
count: value.count,
|
43
|
-
supply: value.supply,
|
44
|
-
total: value.total,
|
45
|
-
};
|
46
|
-
}
|
47
|
-
toJSON() {
|
48
|
-
return {
|
49
|
-
kind: "SemiFungible",
|
50
|
-
value: {
|
51
|
-
hash: this.value.hash.toString(),
|
52
|
-
count: this.value.count,
|
53
|
-
supply: this.value.supply.toString(),
|
54
|
-
total: this.value.total.toString(),
|
55
|
-
},
|
56
|
-
};
|
57
|
-
}
|
58
|
-
toEncodable() {
|
59
|
-
return {
|
60
|
-
SemiFungible: {
|
61
|
-
hash: this.value.hash,
|
62
|
-
count: this.value.count,
|
63
|
-
supply: this.value.supply,
|
64
|
-
total: this.value.total,
|
65
|
-
},
|
66
|
-
};
|
67
|
-
}
|
68
|
-
}
|
69
|
-
exports.SemiFungible = SemiFungible;
|
70
|
-
SemiFungible.discriminator = 0;
|
71
|
-
SemiFungible.kind = "SemiFungible";
|
72
|
-
class Date {
|
73
|
-
constructor(value) {
|
74
|
-
this.discriminator = 1;
|
75
|
-
this.kind = "Date";
|
76
|
-
this.value = {
|
77
|
-
hash: value.hash,
|
78
|
-
count: value.count,
|
79
|
-
supply: value.supply,
|
80
|
-
};
|
81
|
-
}
|
82
|
-
toJSON() {
|
83
|
-
return {
|
84
|
-
kind: "Date",
|
85
|
-
value: {
|
86
|
-
hash: this.value.hash.toString(),
|
87
|
-
count: this.value.count,
|
88
|
-
supply: this.value.supply.toString(),
|
89
|
-
},
|
90
|
-
};
|
91
|
-
}
|
92
|
-
toEncodable() {
|
93
|
-
return {
|
94
|
-
Date: {
|
95
|
-
hash: this.value.hash,
|
96
|
-
count: this.value.count,
|
97
|
-
supply: this.value.supply,
|
98
|
-
},
|
99
|
-
};
|
100
|
-
}
|
101
|
-
}
|
102
|
-
exports.Date = Date;
|
103
|
-
Date.discriminator = 1;
|
104
|
-
Date.kind = "Date";
|
105
|
-
class NonFungible {
|
106
|
-
constructor(value) {
|
107
|
-
this.discriminator = 2;
|
108
|
-
this.kind = "NonFungible";
|
109
|
-
this.value = {
|
110
|
-
hash: value.hash,
|
111
|
-
values: value.values.map((item) => new types.TraitValue({ ...item })),
|
112
|
-
};
|
113
|
-
}
|
114
|
-
toJSON() {
|
115
|
-
return {
|
116
|
-
kind: "NonFungible",
|
117
|
-
value: {
|
118
|
-
hash: this.value.hash.toString(),
|
119
|
-
values: this.value.values.map((item) => item.toJSON()),
|
120
|
-
},
|
121
|
-
};
|
122
|
-
}
|
123
|
-
toEncodable() {
|
124
|
-
return {
|
125
|
-
NonFungible: {
|
126
|
-
hash: this.value.hash,
|
127
|
-
values: this.value.values.map((item) => types.TraitValue.toEncodable(item)),
|
128
|
-
},
|
129
|
-
};
|
130
|
-
}
|
131
|
-
}
|
132
|
-
exports.NonFungible = NonFungible;
|
133
|
-
NonFungible.discriminator = 2;
|
134
|
-
NonFungible.kind = "NonFungible";
|
135
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
136
|
-
function fromDecoded(obj) {
|
137
|
-
if (typeof obj !== "object") {
|
138
|
-
throw new Error("Invalid enum object");
|
139
|
-
}
|
140
|
-
if ("SemiFungible" in obj) {
|
141
|
-
const val = obj["SemiFungible"];
|
142
|
-
return new SemiFungible({
|
143
|
-
hash: val["hash"],
|
144
|
-
count: val["count"],
|
145
|
-
supply: val["supply"],
|
146
|
-
total: val["total"],
|
147
|
-
});
|
148
|
-
}
|
149
|
-
if ("Date" in obj) {
|
150
|
-
const val = obj["Date"];
|
151
|
-
return new Date({
|
152
|
-
hash: val["hash"],
|
153
|
-
count: val["count"],
|
154
|
-
supply: val["supply"],
|
155
|
-
});
|
156
|
-
}
|
157
|
-
if ("NonFungible" in obj) {
|
158
|
-
const val = obj["NonFungible"];
|
159
|
-
return new NonFungible({
|
160
|
-
hash: val["hash"],
|
161
|
-
values: val["values"].map((item /* eslint-disable-line @typescript-eslint/no-explicit-any */) => types.TraitValue.fromDecoded(item)),
|
162
|
-
});
|
163
|
-
}
|
164
|
-
throw new Error("Invalid enum object");
|
165
|
-
}
|
166
|
-
function fromJSON(obj) {
|
167
|
-
switch (obj.kind) {
|
168
|
-
case "SemiFungible": {
|
169
|
-
return new SemiFungible({
|
170
|
-
hash: new bn_js_1.default(obj.value.hash),
|
171
|
-
count: obj.value.count,
|
172
|
-
supply: new bn_js_1.default(obj.value.supply),
|
173
|
-
total: new bn_js_1.default(obj.value.total),
|
174
|
-
});
|
175
|
-
}
|
176
|
-
case "Date": {
|
177
|
-
return new Date({
|
178
|
-
hash: new bn_js_1.default(obj.value.hash),
|
179
|
-
count: obj.value.count,
|
180
|
-
supply: new bn_js_1.default(obj.value.supply),
|
181
|
-
});
|
182
|
-
}
|
183
|
-
case "NonFungible": {
|
184
|
-
return new NonFungible({
|
185
|
-
hash: new bn_js_1.default(obj.value.hash),
|
186
|
-
values: obj.value.values.map((item) => types.TraitValue.fromJSON(item)),
|
187
|
-
});
|
188
|
-
}
|
189
|
-
}
|
190
|
-
}
|
191
|
-
function layout(property) {
|
192
|
-
const ret = borsh.rustEnum([
|
193
|
-
borsh.struct([
|
194
|
-
borsh.u64("hash"),
|
195
|
-
borsh.u32("count"),
|
196
|
-
borsh.u64("supply"),
|
197
|
-
borsh.u64("total"),
|
198
|
-
], "SemiFungible"),
|
199
|
-
borsh.struct([borsh.u64("hash"), borsh.u32("count"), borsh.u64("supply")], "Date"),
|
200
|
-
borsh.struct([borsh.u64("hash"), borsh.vec(types.TraitValue.layout(), "values")], "NonFungible"),
|
201
|
-
]);
|
202
|
-
if (property !== undefined) {
|
203
|
-
return ret.replicate(property);
|
204
|
-
}
|
205
|
-
return ret;
|
206
|
-
}
|
207
|
-
//# sourceMappingURL=TraitType.js.map
|