3land_sdk 1.0.4 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (906) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +68 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/library/Irys/irys.d.ts +79 -0
  6. package/dist/library/Irys/irys.d.ts.map +1 -0
  7. package/dist/library/Irys/irys.js +317 -0
  8. package/dist/library/Irys/irys.js.map +1 -0
  9. package/dist/library/Store.d.ts +19 -0
  10. package/dist/library/Store.d.ts.map +1 -0
  11. package/dist/library/Store.js +377 -0
  12. package/dist/library/Store.js.map +1 -0
  13. package/dist/library/implementation/storeImplementation.d.ts +20 -0
  14. package/dist/library/implementation/storeImplementation.d.ts.map +1 -0
  15. package/dist/library/implementation/storeImplementation.js +389 -0
  16. package/dist/library/implementation/storeImplementation.js.map +1 -0
  17. package/dist/library/instructions/store/buySingleEdition.d.ts +17 -0
  18. package/dist/library/instructions/store/buySingleEdition.d.ts.map +1 -0
  19. package/dist/library/instructions/store/buySingleEdition.js +154 -0
  20. package/dist/library/instructions/store/buySingleEdition.js.map +1 -0
  21. package/dist/library/instructions/store/createSingleEdition.d.ts +4 -0
  22. package/dist/library/instructions/store/createSingleEdition.d.ts.map +1 -0
  23. package/dist/library/instructions/store/createSingleEdition.js +31 -0
  24. package/dist/library/instructions/store/createSingleEdition.js.map +1 -0
  25. package/dist/library/instructions/store/createStore.d.ts +4 -0
  26. package/dist/library/instructions/store/createStore.d.ts.map +1 -0
  27. package/dist/library/instructions/store/createStore.js +10 -0
  28. package/dist/library/instructions/store/createStore.js.map +1 -0
  29. package/dist/library/instructions/store/idl.d.ts +508 -0
  30. package/dist/library/instructions/store/idl.d.ts.map +1 -0
  31. package/dist/library/instructions/store/idl.js +7622 -0
  32. package/dist/library/instructions/store/idl.js.map +1 -0
  33. package/dist/library/instructions/store/uploadFilesIryis.d.ts +13 -0
  34. package/dist/library/instructions/store/uploadFilesIryis.d.ts.map +1 -0
  35. package/dist/library/instructions/store/uploadFilesIryis.js +99 -0
  36. package/dist/library/instructions/store/uploadFilesIryis.js.map +1 -0
  37. package/dist/types/accounts/ArchiveDeposit.d.ts +63 -0
  38. package/dist/types/accounts/ArchiveDeposit.d.ts.map +1 -0
  39. package/dist/types/accounts/ArchiveDeposit.js +158 -0
  40. package/dist/types/accounts/ArchiveDeposit.js.map +1 -0
  41. package/dist/types/accounts/Authority.d.ts +16 -0
  42. package/dist/types/accounts/Authority.d.ts.map +1 -0
  43. package/dist/types/accounts/Authority.js +72 -0
  44. package/dist/types/accounts/Authority.js.map +1 -0
  45. package/dist/types/accounts/BurnDeposit.d.ts +26 -0
  46. package/dist/types/accounts/BurnDeposit.d.ts.map +1 -0
  47. package/dist/types/accounts/BurnDeposit.js +93 -0
  48. package/dist/types/accounts/BurnDeposit.js.map +1 -0
  49. package/dist/types/accounts/BurnProgress.d.ts +22 -0
  50. package/dist/types/accounts/BurnProgress.d.ts.map +1 -0
  51. package/dist/types/accounts/BurnProgress.js +88 -0
  52. package/dist/types/accounts/BurnProgress.js.map +1 -0
  53. package/dist/types/accounts/BuyHistory.d.ts +32 -0
  54. package/dist/types/accounts/BuyHistory.d.ts.map +1 -0
  55. package/dist/types/accounts/BuyHistory.js +104 -0
  56. package/dist/types/accounts/BuyHistory.js.map +1 -0
  57. package/dist/types/accounts/BuyTrack.d.ts +22 -0
  58. package/dist/types/accounts/BuyTrack.d.ts.map +1 -0
  59. package/dist/types/accounts/BuyTrack.js +84 -0
  60. package/dist/types/accounts/BuyTrack.js.map +1 -0
  61. package/dist/types/accounts/Card.d.ts +57 -0
  62. package/dist/types/accounts/Card.d.ts.map +1 -0
  63. package/dist/types/accounts/Card.js +148 -0
  64. package/dist/types/accounts/Card.js.map +1 -0
  65. package/dist/types/accounts/CollectionRegistry.d.ts +42 -0
  66. package/dist/types/accounts/CollectionRegistry.d.ts.map +1 -0
  67. package/dist/types/accounts/CollectionRegistry.js +123 -0
  68. package/dist/types/accounts/CollectionRegistry.js.map +1 -0
  69. package/dist/types/accounts/CollectorRegistry.d.ts +42 -0
  70. package/dist/types/accounts/CollectorRegistry.d.ts.map +1 -0
  71. package/dist/types/accounts/CollectorRegistry.js +123 -0
  72. package/dist/types/accounts/CollectorRegistry.js.map +1 -0
  73. package/dist/types/accounts/CreatorRegistry.d.ts +45 -0
  74. package/dist/types/accounts/CreatorRegistry.d.ts.map +1 -0
  75. package/dist/types/accounts/CreatorRegistry.js +128 -0
  76. package/dist/types/accounts/CreatorRegistry.js.map +1 -0
  77. package/dist/types/accounts/CurrencyArtistProof.d.ts +29 -0
  78. package/dist/types/accounts/CurrencyArtistProof.d.ts.map +1 -0
  79. package/dist/types/accounts/CurrencyArtistProof.js +101 -0
  80. package/dist/types/accounts/CurrencyArtistProof.js.map +1 -0
  81. package/dist/types/accounts/GenericUser.d.ts +54 -0
  82. package/dist/types/accounts/GenericUser.d.ts.map +1 -0
  83. package/dist/types/accounts/GenericUser.js +143 -0
  84. package/dist/types/accounts/GenericUser.js.map +1 -0
  85. package/dist/types/accounts/ItemArchive.d.ts +69 -0
  86. package/dist/types/accounts/ItemArchive.d.ts.map +1 -0
  87. package/dist/types/accounts/ItemArchive.js +168 -0
  88. package/dist/types/accounts/ItemArchive.js.map +1 -0
  89. package/dist/types/accounts/ItemReserveList.d.ts +19 -0
  90. package/dist/types/accounts/ItemReserveList.d.ts.map +1 -0
  91. package/dist/types/accounts/ItemReserveList.js +81 -0
  92. package/dist/types/accounts/ItemReserveList.js.map +1 -0
  93. package/dist/types/accounts/ItemReserveList2.d.ts +16 -0
  94. package/dist/types/accounts/ItemReserveList2.d.ts.map +1 -0
  95. package/dist/types/accounts/ItemReserveList2.js +72 -0
  96. package/dist/types/accounts/ItemReserveList2.js.map +1 -0
  97. package/dist/types/accounts/LutVault.d.ts +22 -0
  98. package/dist/types/accounts/LutVault.d.ts.map +1 -0
  99. package/dist/types/accounts/LutVault.js +88 -0
  100. package/dist/types/accounts/LutVault.js.map +1 -0
  101. package/dist/types/accounts/Pack.d.ts +123 -0
  102. package/dist/types/accounts/Pack.d.ts.map +1 -0
  103. package/dist/types/accounts/Pack.js +258 -0
  104. package/dist/types/accounts/Pack.js.map +1 -0
  105. package/dist/types/accounts/PackContent.d.ts +23 -0
  106. package/dist/types/accounts/PackContent.d.ts.map +1 -0
  107. package/dist/types/accounts/PackContent.js +89 -0
  108. package/dist/types/accounts/PackContent.js.map +1 -0
  109. package/dist/types/accounts/PackOpenHolder.d.ts +38 -0
  110. package/dist/types/accounts/PackOpenHolder.d.ts.map +1 -0
  111. package/dist/types/accounts/PackOpenHolder.js +114 -0
  112. package/dist/types/accounts/PackOpenHolder.js.map +1 -0
  113. package/dist/types/accounts/PackReceipt.d.ts +42 -0
  114. package/dist/types/accounts/PackReceipt.d.ts.map +1 -0
  115. package/dist/types/accounts/PackReceipt.js +123 -0
  116. package/dist/types/accounts/PackReceipt.js.map +1 -0
  117. package/dist/types/accounts/PackTraits.d.ts +23 -0
  118. package/dist/types/accounts/PackTraits.d.ts.map +1 -0
  119. package/dist/types/accounts/PackTraits.js +88 -0
  120. package/dist/types/accounts/PackTraits.js.map +1 -0
  121. package/dist/types/accounts/Payment.d.ts +23 -0
  122. package/dist/types/accounts/Payment.d.ts.map +1 -0
  123. package/dist/types/accounts/Payment.js +88 -0
  124. package/dist/types/accounts/Payment.js.map +1 -0
  125. package/dist/types/accounts/PoolVault.d.ts +54 -0
  126. package/dist/types/accounts/PoolVault.d.ts.map +1 -0
  127. package/dist/types/accounts/PoolVault.js +143 -0
  128. package/dist/types/accounts/PoolVault.js.map +1 -0
  129. package/dist/types/accounts/RevealForMe.d.ts +38 -0
  130. package/dist/types/accounts/RevealForMe.d.ts.map +1 -0
  131. package/dist/types/accounts/RevealForMe.js +112 -0
  132. package/dist/types/accounts/RevealForMe.js.map +1 -0
  133. package/dist/types/accounts/SecureHolder.d.ts +23 -0
  134. package/dist/types/accounts/SecureHolder.d.ts.map +1 -0
  135. package/dist/types/accounts/SecureHolder.js +88 -0
  136. package/dist/types/accounts/SecureHolder.js.map +1 -0
  137. package/dist/types/accounts/Single.d.ts +99 -0
  138. package/dist/types/accounts/Single.d.ts.map +1 -0
  139. package/dist/types/accounts/Single.js +216 -0
  140. package/dist/types/accounts/Single.js.map +1 -0
  141. package/dist/types/accounts/Store.d.ts +54 -0
  142. package/dist/types/accounts/Store.d.ts.map +1 -0
  143. package/dist/types/accounts/Store.js +144 -0
  144. package/dist/types/accounts/Store.js.map +1 -0
  145. package/dist/types/accounts/StoresHolder.d.ts +33 -0
  146. package/dist/types/accounts/StoresHolder.d.ts.map +1 -0
  147. package/dist/types/accounts/StoresHolder.js +115 -0
  148. package/dist/types/accounts/StoresHolder.js.map +1 -0
  149. package/dist/types/accounts/ThreeId.d.ts +57 -0
  150. package/dist/types/accounts/ThreeId.d.ts.map +1 -0
  151. package/dist/types/accounts/ThreeId.js +146 -0
  152. package/dist/types/accounts/ThreeId.js.map +1 -0
  153. package/dist/types/accounts/TokenManager.d.ts +69 -0
  154. package/dist/types/accounts/TokenManager.d.ts.map +1 -0
  155. package/dist/types/accounts/TokenManager.js +168 -0
  156. package/dist/types/accounts/TokenManager.js.map +1 -0
  157. package/dist/types/accounts/ZeroCard.d.ts +16 -0
  158. package/dist/types/accounts/ZeroCard.d.ts.map +1 -0
  159. package/dist/types/accounts/ZeroCard.js +72 -0
  160. package/dist/types/accounts/ZeroCard.js.map +1 -0
  161. package/dist/types/accounts/ZeroContent.d.ts +19 -0
  162. package/dist/types/accounts/ZeroContent.d.ts.map +1 -0
  163. package/dist/types/accounts/ZeroContent.js +82 -0
  164. package/dist/types/accounts/ZeroContent.js.map +1 -0
  165. package/dist/types/accounts/ZeroOpenHolder.d.ts +51 -0
  166. package/dist/types/accounts/ZeroOpenHolder.d.ts.map +1 -0
  167. package/dist/types/accounts/ZeroOpenHolder.js +144 -0
  168. package/dist/types/accounts/ZeroOpenHolder.js.map +1 -0
  169. package/dist/types/accounts/index.d.ts +67 -0
  170. package/dist/types/accounts/index.d.ts.map +1 -0
  171. package/dist/types/accounts/index.js +70 -0
  172. package/dist/types/accounts/index.js.map +1 -0
  173. package/dist/types/errors/anchor.d.ts +435 -0
  174. package/dist/types/errors/anchor.d.ts.map +1 -0
  175. package/dist/types/errors/anchor.js +713 -0
  176. package/dist/types/errors/anchor.js.map +1 -0
  177. package/dist/types/errors/index.d.ts +5 -0
  178. package/dist/types/errors/index.d.ts.map +1 -0
  179. package/dist/types/errors/index.js +67 -0
  180. package/dist/types/errors/index.js.map +1 -0
  181. package/dist/types/implementation/implementationTypes.d.ts +28 -0
  182. package/dist/types/implementation/implementationTypes.d.ts.map +1 -0
  183. package/dist/types/implementation/implementationTypes.js +3 -0
  184. package/dist/types/implementation/implementationTypes.js.map +1 -0
  185. package/dist/types/instructions/addBurn.d.ts +20 -0
  186. package/dist/types/instructions/addBurn.d.ts.map +1 -0
  187. package/dist/types/instructions/addBurn.js +57 -0
  188. package/dist/types/instructions/addBurn.js.map +1 -0
  189. package/dist/types/instructions/adjustDepositBurn.d.ts +12 -0
  190. package/dist/types/instructions/adjustDepositBurn.d.ts.map +1 -0
  191. package/dist/types/instructions/adjustDepositBurn.js +20 -0
  192. package/dist/types/instructions/adjustDepositBurn.js.map +1 -0
  193. package/dist/types/instructions/archiveItem.d.ts +22 -0
  194. package/dist/types/instructions/archiveItem.d.ts.map +1 -0
  195. package/dist/types/instructions/archiveItem.js +57 -0
  196. package/dist/types/instructions/archiveItem.js.map +1 -0
  197. package/dist/types/instructions/assignPackDelegate.d.ts +10 -0
  198. package/dist/types/instructions/assignPackDelegate.d.ts.map +1 -0
  199. package/dist/types/instructions/assignPackDelegate.js +19 -0
  200. package/dist/types/instructions/assignPackDelegate.js.map +1 -0
  201. package/dist/types/instructions/burnPay.d.ts +19 -0
  202. package/dist/types/instructions/burnPay.d.ts.map +1 -0
  203. package/dist/types/instructions/burnPay.js +56 -0
  204. package/dist/types/instructions/burnPay.js.map +1 -0
  205. package/dist/types/instructions/buyPack.d.ts +25 -0
  206. package/dist/types/instructions/buyPack.d.ts.map +1 -0
  207. package/dist/types/instructions/buyPack.js +65 -0
  208. package/dist/types/instructions/buyPack.js.map +1 -0
  209. package/dist/types/instructions/buyPay.d.ts +19 -0
  210. package/dist/types/instructions/buyPay.d.ts.map +1 -0
  211. package/dist/types/instructions/buyPay.js +66 -0
  212. package/dist/types/instructions/buyPay.js.map +1 -0
  213. package/dist/types/instructions/buyToken.d.ts +21 -0
  214. package/dist/types/instructions/buyToken.d.ts.map +1 -0
  215. package/dist/types/instructions/buyToken.js +63 -0
  216. package/dist/types/instructions/buyToken.js.map +1 -0
  217. package/dist/types/instructions/claimZeroCard.d.ts +40 -0
  218. package/dist/types/instructions/claimZeroCard.d.ts.map +1 -0
  219. package/dist/types/instructions/claimZeroCard.js +87 -0
  220. package/dist/types/instructions/claimZeroCard.js.map +1 -0
  221. package/dist/types/instructions/closeDepositBurn.d.ts +17 -0
  222. package/dist/types/instructions/closeDepositBurn.d.ts.map +1 -0
  223. package/dist/types/instructions/closeDepositBurn.js +50 -0
  224. package/dist/types/instructions/closeDepositBurn.js.map +1 -0
  225. package/dist/types/instructions/closeRegisterTraits.d.ts +9 -0
  226. package/dist/types/instructions/closeRegisterTraits.d.ts.map +1 -0
  227. package/dist/types/instructions/closeRegisterTraits.js +18 -0
  228. package/dist/types/instructions/closeRegisterTraits.js.map +1 -0
  229. package/dist/types/instructions/createCard.d.ts +19 -0
  230. package/dist/types/instructions/createCard.d.ts.map +1 -0
  231. package/dist/types/instructions/createCard.js +58 -0
  232. package/dist/types/instructions/createCard.js.map +1 -0
  233. package/dist/types/instructions/createCollection.d.ts +22 -0
  234. package/dist/types/instructions/createCollection.d.ts.map +1 -0
  235. package/dist/types/instructions/createCollection.js +67 -0
  236. package/dist/types/instructions/createCollection.js.map +1 -0
  237. package/dist/types/instructions/createPack.d.ts +25 -0
  238. package/dist/types/instructions/createPack.d.ts.map +1 -0
  239. package/dist/types/instructions/createPack.js +68 -0
  240. package/dist/types/instructions/createPack.js.map +1 -0
  241. package/dist/types/instructions/createSingle.d.ts +25 -0
  242. package/dist/types/instructions/createSingle.d.ts.map +1 -0
  243. package/dist/types/instructions/createSingle.js +68 -0
  244. package/dist/types/instructions/createSingle.js.map +1 -0
  245. package/dist/types/instructions/createStore.d.ts +16 -0
  246. package/dist/types/instructions/createStore.d.ts.map +1 -0
  247. package/dist/types/instructions/createStore.js +55 -0
  248. package/dist/types/instructions/createStore.js.map +1 -0
  249. package/dist/types/instructions/createTokenLauncher.d.ts +28 -0
  250. package/dist/types/instructions/createTokenLauncher.d.ts.map +1 -0
  251. package/dist/types/instructions/createTokenLauncher.js +76 -0
  252. package/dist/types/instructions/createTokenLauncher.js.map +1 -0
  253. package/dist/types/instructions/createZeroCard.d.ts +25 -0
  254. package/dist/types/instructions/createZeroCard.d.ts.map +1 -0
  255. package/dist/types/instructions/createZeroCard.js +69 -0
  256. package/dist/types/instructions/createZeroCard.js.map +1 -0
  257. package/dist/types/instructions/deleteCard.d.ts +11 -0
  258. package/dist/types/instructions/deleteCard.d.ts.map +1 -0
  259. package/dist/types/instructions/deleteCard.js +20 -0
  260. package/dist/types/instructions/deleteCard.js.map +1 -0
  261. package/dist/types/instructions/deletePack.d.ts +15 -0
  262. package/dist/types/instructions/deletePack.d.ts.map +1 -0
  263. package/dist/types/instructions/deletePack.js +24 -0
  264. package/dist/types/instructions/deletePack.js.map +1 -0
  265. package/dist/types/instructions/deleteSingle.d.ts +13 -0
  266. package/dist/types/instructions/deleteSingle.d.ts.map +1 -0
  267. package/dist/types/instructions/deleteSingle.js +22 -0
  268. package/dist/types/instructions/deleteSingle.js.map +1 -0
  269. package/dist/types/instructions/deleteTokenLauncher.d.ts +12 -0
  270. package/dist/types/instructions/deleteTokenLauncher.d.ts.map +1 -0
  271. package/dist/types/instructions/deleteTokenLauncher.js +25 -0
  272. package/dist/types/instructions/deleteTokenLauncher.js.map +1 -0
  273. package/dist/types/instructions/depositBurn.d.ts +22 -0
  274. package/dist/types/instructions/depositBurn.d.ts.map +1 -0
  275. package/dist/types/instructions/depositBurn.js +54 -0
  276. package/dist/types/instructions/depositBurn.js.map +1 -0
  277. package/dist/types/instructions/donateUser.d.ts +30 -0
  278. package/dist/types/instructions/donateUser.d.ts.map +1 -0
  279. package/dist/types/instructions/donateUser.js +75 -0
  280. package/dist/types/instructions/donateUser.js.map +1 -0
  281. package/dist/types/instructions/feedPool.d.ts +21 -0
  282. package/dist/types/instructions/feedPool.d.ts.map +1 -0
  283. package/dist/types/instructions/feedPool.js +60 -0
  284. package/dist/types/instructions/feedPool.js.map +1 -0
  285. package/dist/types/instructions/feedTraits.d.ts +15 -0
  286. package/dist/types/instructions/feedTraits.d.ts.map +1 -0
  287. package/dist/types/instructions/feedTraits.js +50 -0
  288. package/dist/types/instructions/feedTraits.js.map +1 -0
  289. package/dist/types/instructions/feedTree.d.ts +21 -0
  290. package/dist/types/instructions/feedTree.d.ts.map +1 -0
  291. package/dist/types/instructions/feedTree.js +61 -0
  292. package/dist/types/instructions/feedTree.js.map +1 -0
  293. package/dist/types/instructions/flagPack.d.ts +16 -0
  294. package/dist/types/instructions/flagPack.d.ts.map +1 -0
  295. package/dist/types/instructions/flagPack.js +55 -0
  296. package/dist/types/instructions/flagPack.js.map +1 -0
  297. package/dist/types/instructions/flagSingle.d.ts +15 -0
  298. package/dist/types/instructions/flagSingle.d.ts.map +1 -0
  299. package/dist/types/instructions/flagSingle.js +53 -0
  300. package/dist/types/instructions/flagSingle.js.map +1 -0
  301. package/dist/types/instructions/gatePay.d.ts +22 -0
  302. package/dist/types/instructions/gatePay.d.ts.map +1 -0
  303. package/dist/types/instructions/gatePay.js +58 -0
  304. package/dist/types/instructions/gatePay.js.map +1 -0
  305. package/dist/types/instructions/index.d.ts +105 -0
  306. package/dist/types/instructions/index.d.ts.map +1 -0
  307. package/dist/types/instructions/index.js +109 -0
  308. package/dist/types/instructions/index.js.map +1 -0
  309. package/dist/types/instructions/initialize.d.ts +15 -0
  310. package/dist/types/instructions/initialize.d.ts.map +1 -0
  311. package/dist/types/instructions/initialize.js +52 -0
  312. package/dist/types/instructions/initialize.js.map +1 -0
  313. package/dist/types/instructions/openPack.d.ts +29 -0
  314. package/dist/types/instructions/openPack.d.ts.map +1 -0
  315. package/dist/types/instructions/openPack.js +70 -0
  316. package/dist/types/instructions/openPack.js.map +1 -0
  317. package/dist/types/instructions/prepareCreator.d.ts +10 -0
  318. package/dist/types/instructions/prepareCreator.d.ts.map +1 -0
  319. package/dist/types/instructions/prepareCreator.js +19 -0
  320. package/dist/types/instructions/prepareCreator.js.map +1 -0
  321. package/dist/types/instructions/preparePack.d.ts +17 -0
  322. package/dist/types/instructions/preparePack.d.ts.map +1 -0
  323. package/dist/types/instructions/preparePack.js +54 -0
  324. package/dist/types/instructions/preparePack.js.map +1 -0
  325. package/dist/types/instructions/prepareTraits.d.ts +9 -0
  326. package/dist/types/instructions/prepareTraits.d.ts.map +1 -0
  327. package/dist/types/instructions/prepareTraits.js +18 -0
  328. package/dist/types/instructions/prepareTraits.js.map +1 -0
  329. package/dist/types/instructions/printPack.d.ts +38 -0
  330. package/dist/types/instructions/printPack.d.ts.map +1 -0
  331. package/dist/types/instructions/printPack.js +79 -0
  332. package/dist/types/instructions/printPack.js.map +1 -0
  333. package/dist/types/instructions/printSingle.d.ts +41 -0
  334. package/dist/types/instructions/printSingle.d.ts.map +1 -0
  335. package/dist/types/instructions/printSingle.js +87 -0
  336. package/dist/types/instructions/printSingle.js.map +1 -0
  337. package/dist/types/instructions/recoverDepositBurn.d.ts +34 -0
  338. package/dist/types/instructions/recoverDepositBurn.d.ts.map +1 -0
  339. package/dist/types/instructions/recoverDepositBurn.js +67 -0
  340. package/dist/types/instructions/recoverDepositBurn.js.map +1 -0
  341. package/dist/types/instructions/registerActivity.d.ts +14 -0
  342. package/dist/types/instructions/registerActivity.d.ts.map +1 -0
  343. package/dist/types/instructions/registerActivity.js +48 -0
  344. package/dist/types/instructions/registerActivity.js.map +1 -0
  345. package/dist/types/instructions/registerCollector.d.ts +17 -0
  346. package/dist/types/instructions/registerCollector.d.ts.map +1 -0
  347. package/dist/types/instructions/registerCollector.js +63 -0
  348. package/dist/types/instructions/registerCollector.js.map +1 -0
  349. package/dist/types/instructions/registerCreator.d.ts +15 -0
  350. package/dist/types/instructions/registerCreator.d.ts.map +1 -0
  351. package/dist/types/instructions/registerCreator.js +50 -0
  352. package/dist/types/instructions/registerCreator.js.map +1 -0
  353. package/dist/types/instructions/registerGenericUser.d.ts +32 -0
  354. package/dist/types/instructions/registerGenericUser.d.ts.map +1 -0
  355. package/dist/types/instructions/registerGenericUser.js +81 -0
  356. package/dist/types/instructions/registerGenericUser.js.map +1 -0
  357. package/dist/types/instructions/registerPackUploads.d.ts +14 -0
  358. package/dist/types/instructions/registerPackUploads.d.ts.map +1 -0
  359. package/dist/types/instructions/registerPackUploads.js +49 -0
  360. package/dist/types/instructions/registerPackUploads.js.map +1 -0
  361. package/dist/types/instructions/registerTraits.d.ts +13 -0
  362. package/dist/types/instructions/registerTraits.d.ts.map +1 -0
  363. package/dist/types/instructions/registerTraits.js +48 -0
  364. package/dist/types/instructions/registerTraits.js.map +1 -0
  365. package/dist/types/instructions/registerUser.d.ts +15 -0
  366. package/dist/types/instructions/registerUser.d.ts.map +1 -0
  367. package/dist/types/instructions/registerUser.js +54 -0
  368. package/dist/types/instructions/registerUser.js.map +1 -0
  369. package/dist/types/instructions/storeLutFor.d.ts +14 -0
  370. package/dist/types/instructions/storeLutFor.d.ts.map +1 -0
  371. package/dist/types/instructions/storeLutFor.js +49 -0
  372. package/dist/types/instructions/storeLutFor.js.map +1 -0
  373. package/dist/types/instructions/unwrapAndDestroy.d.ts +23 -0
  374. package/dist/types/instructions/unwrapAndDestroy.d.ts.map +1 -0
  375. package/dist/types/instructions/unwrapAndDestroy.js +54 -0
  376. package/dist/types/instructions/unwrapAndDestroy.js.map +1 -0
  377. package/dist/types/instructions/updateCard.d.ts +17 -0
  378. package/dist/types/instructions/updateCard.d.ts.map +1 -0
  379. package/dist/types/instructions/updateCard.js +57 -0
  380. package/dist/types/instructions/updateCard.js.map +1 -0
  381. package/dist/types/instructions/updatePack.d.ts +23 -0
  382. package/dist/types/instructions/updatePack.d.ts.map +1 -0
  383. package/dist/types/instructions/updatePack.js +67 -0
  384. package/dist/types/instructions/updatePack.js.map +1 -0
  385. package/dist/types/instructions/updateSingle.d.ts +21 -0
  386. package/dist/types/instructions/updateSingle.d.ts.map +1 -0
  387. package/dist/types/instructions/updateSingle.js +63 -0
  388. package/dist/types/instructions/updateSingle.js.map +1 -0
  389. package/dist/types/instructions/updateStore.d.ts +15 -0
  390. package/dist/types/instructions/updateStore.d.ts.map +1 -0
  391. package/dist/types/instructions/updateStore.js +53 -0
  392. package/dist/types/instructions/updateStore.js.map +1 -0
  393. package/dist/types/instructions/withdrawFromStore.d.ts +8 -0
  394. package/dist/types/instructions/withdrawFromStore.d.ts.map +1 -0
  395. package/dist/types/instructions/withdrawFromStore.js +17 -0
  396. package/dist/types/instructions/withdrawFromStore.js.map +1 -0
  397. package/dist/types/programId.d.ts +14 -0
  398. package/dist/types/programId.d.ts.map +1 -0
  399. package/dist/types/programId.js +20 -0
  400. package/dist/types/programId.js.map +1 -0
  401. package/dist/types/types/AccountClass.d.ts +370 -0
  402. package/dist/types/types/AccountClass.d.ts.map +1 -0
  403. package/dist/types/types/AccountClass.js +778 -0
  404. package/dist/types/types/AccountClass.js.map +1 -0
  405. package/dist/types/types/AccountHasher.d.ts +42 -0
  406. package/dist/types/types/AccountHasher.d.ts.map +1 -0
  407. package/dist/types/types/AccountHasher.js +83 -0
  408. package/dist/types/types/AccountHasher.js.map +1 -0
  409. package/dist/types/types/ActionAfter.d.ts +84 -0
  410. package/dist/types/types/ActionAfter.d.ts.map +1 -0
  411. package/dist/types/types/ActionAfter.js +180 -0
  412. package/dist/types/types/ActionAfter.js.map +1 -0
  413. package/dist/types/types/AllowedCurrencyArgs.d.ts +22 -0
  414. package/dist/types/types/AllowedCurrencyArgs.d.ts.map +1 -0
  415. package/dist/types/types/AllowedCurrencyArgs.js +61 -0
  416. package/dist/types/types/AllowedCurrencyArgs.js.map +1 -0
  417. package/dist/types/types/AuthorityGateTypes.d.ts +32 -0
  418. package/dist/types/types/AuthorityGateTypes.d.ts.map +1 -0
  419. package/dist/types/types/AuthorityGateTypes.js +102 -0
  420. package/dist/types/types/AuthorityGateTypes.js.map +1 -0
  421. package/dist/types/types/BurnCount.d.ts +55 -0
  422. package/dist/types/types/BurnCount.d.ts.map +1 -0
  423. package/dist/types/types/BurnCount.js +62 -0
  424. package/dist/types/types/BurnCount.js.map +1 -0
  425. package/dist/types/types/BurnState.d.ts +32 -0
  426. package/dist/types/types/BurnState.d.ts.map +1 -0
  427. package/dist/types/types/BurnState.js +102 -0
  428. package/dist/types/types/BurnState.js.map +1 -0
  429. package/dist/types/types/BurnTrack.d.ts +31 -0
  430. package/dist/types/types/BurnTrack.d.ts.map +1 -0
  431. package/dist/types/types/BurnTrack.js +67 -0
  432. package/dist/types/types/BurnTrack.js.map +1 -0
  433. package/dist/types/types/BurnType.d.ts +45 -0
  434. package/dist/types/types/BurnType.d.ts.map +1 -0
  435. package/dist/types/types/BurnType.js +128 -0
  436. package/dist/types/types/BurnType.js.map +1 -0
  437. package/dist/types/types/BurnTypeBurn.d.ts +19 -0
  438. package/dist/types/types/BurnTypeBurn.d.ts.map +1 -0
  439. package/dist/types/types/BurnTypeBurn.js +74 -0
  440. package/dist/types/types/BurnTypeBurn.js.map +1 -0
  441. package/dist/types/types/BuyHistoryClass.d.ts +32 -0
  442. package/dist/types/types/BuyHistoryClass.d.ts.map +1 -0
  443. package/dist/types/types/BuyHistoryClass.js +102 -0
  444. package/dist/types/types/BuyHistoryClass.js.map +1 -0
  445. package/dist/types/types/CardClass.d.ts +19 -0
  446. package/dist/types/types/CardClass.d.ts.map +1 -0
  447. package/dist/types/types/CardClass.js +74 -0
  448. package/dist/types/types/CardClass.js.map +1 -0
  449. package/dist/types/types/CardState.d.ts +97 -0
  450. package/dist/types/types/CardState.d.ts.map +1 -0
  451. package/dist/types/types/CardState.js +232 -0
  452. package/dist/types/types/CardState.js.map +1 -0
  453. package/dist/types/types/CardTrack.d.ts +60 -0
  454. package/dist/types/types/CardTrack.d.ts.map +1 -0
  455. package/dist/types/types/CardTrack.js +76 -0
  456. package/dist/types/types/CardTrack.js.map +1 -0
  457. package/dist/types/types/Category.d.ts +32 -0
  458. package/dist/types/types/Category.d.ts.map +1 -0
  459. package/dist/types/types/Category.js +71 -0
  460. package/dist/types/types/Category.js.map +1 -0
  461. package/dist/types/types/CnftData.d.ts +37 -0
  462. package/dist/types/types/CnftData.d.ts.map +1 -0
  463. package/dist/types/types/CnftData.js +81 -0
  464. package/dist/types/types/CnftData.js.map +1 -0
  465. package/dist/types/types/CollectTrack.d.ts +28 -0
  466. package/dist/types/types/CollectTrack.d.ts.map +1 -0
  467. package/dist/types/types/CollectTrack.js +70 -0
  468. package/dist/types/types/CollectTrack.js.map +1 -0
  469. package/dist/types/types/Collection.d.ts +28 -0
  470. package/dist/types/types/Collection.d.ts.map +1 -0
  471. package/dist/types/types/Collection.js +67 -0
  472. package/dist/types/types/Collection.js.map +1 -0
  473. package/dist/types/types/CompactCnftData.d.ts +32 -0
  474. package/dist/types/types/CompactCnftData.d.ts.map +1 -0
  475. package/dist/types/types/CompactCnftData.js +75 -0
  476. package/dist/types/types/CompactCnftData.js.map +1 -0
  477. package/dist/types/types/CoolTimePerAmountArgs.d.ts +32 -0
  478. package/dist/types/types/CoolTimePerAmountArgs.d.ts.map +1 -0
  479. package/dist/types/types/CoolTimePerAmountArgs.js +71 -0
  480. package/dist/types/types/CoolTimePerAmountArgs.js.map +1 -0
  481. package/dist/types/types/Creator.d.ts +33 -0
  482. package/dist/types/types/Creator.d.ts.map +1 -0
  483. package/dist/types/types/Creator.js +72 -0
  484. package/dist/types/types/Creator.js.map +1 -0
  485. package/dist/types/types/CreatorGateArgs.d.ts +23 -0
  486. package/dist/types/types/CreatorGateArgs.d.ts.map +1 -0
  487. package/dist/types/types/CreatorGateArgs.js +62 -0
  488. package/dist/types/types/CreatorGateArgs.js.map +1 -0
  489. package/dist/types/types/CurrencyArtistProof.d.ts +38 -0
  490. package/dist/types/types/CurrencyArtistProof.d.ts.map +1 -0
  491. package/dist/types/types/CurrencyArtistProof.js +85 -0
  492. package/dist/types/types/CurrencyArtistProof.js.map +1 -0
  493. package/dist/types/types/CurrencyType.d.ts +111 -0
  494. package/dist/types/types/CurrencyType.d.ts.map +1 -0
  495. package/dist/types/types/CurrencyType.js +220 -0
  496. package/dist/types/types/CurrencyType.js.map +1 -0
  497. package/dist/types/types/DateTraitInit.d.ts +28 -0
  498. package/dist/types/types/DateTraitInit.d.ts.map +1 -0
  499. package/dist/types/types/DateTraitInit.js +70 -0
  500. package/dist/types/types/DateTraitInit.js.map +1 -0
  501. package/dist/types/types/DateTraitInitMap.d.ts +33 -0
  502. package/dist/types/types/DateTraitInitMap.d.ts.map +1 -0
  503. package/dist/types/types/DateTraitInitMap.js +75 -0
  504. package/dist/types/types/DateTraitInitMap.js.map +1 -0
  505. package/dist/types/types/Deposit.d.ts +135 -0
  506. package/dist/types/types/Deposit.d.ts.map +1 -0
  507. package/dist/types/types/Deposit.js +86 -0
  508. package/dist/types/types/Deposit.js.map +1 -0
  509. package/dist/types/types/DepositFormat.d.ts +32 -0
  510. package/dist/types/types/DepositFormat.d.ts.map +1 -0
  511. package/dist/types/types/DepositFormat.js +102 -0
  512. package/dist/types/types/DepositFormat.js.map +1 -0
  513. package/dist/types/types/DepositState.d.ts +32 -0
  514. package/dist/types/types/DepositState.d.ts.map +1 -0
  515. package/dist/types/types/DepositState.js +102 -0
  516. package/dist/types/types/DepositState.js.map +1 -0
  517. package/dist/types/types/DepositSubtype.d.ts +32 -0
  518. package/dist/types/types/DepositSubtype.d.ts.map +1 -0
  519. package/dist/types/types/DepositSubtype.js +102 -0
  520. package/dist/types/types/DepositSubtype.js.map +1 -0
  521. package/dist/types/types/DepositTrack.d.ts +47 -0
  522. package/dist/types/types/DepositTrack.d.ts.map +1 -0
  523. package/dist/types/types/DepositTrack.js +70 -0
  524. package/dist/types/types/DepositTrack.js.map +1 -0
  525. package/dist/types/types/DepositTrackType.d.ts +45 -0
  526. package/dist/types/types/DepositTrackType.d.ts.map +1 -0
  527. package/dist/types/types/DepositTrackType.js +128 -0
  528. package/dist/types/types/DepositTrackType.js.map +1 -0
  529. package/dist/types/types/DepositType.d.ts +123 -0
  530. package/dist/types/types/DepositType.d.ts.map +1 -0
  531. package/dist/types/types/DepositType.js +184 -0
  532. package/dist/types/types/DepositType.js.map +1 -0
  533. package/dist/types/types/Earnings.d.ts +15 -0
  534. package/dist/types/types/Earnings.d.ts.map +1 -0
  535. package/dist/types/types/Earnings.js +51 -0
  536. package/dist/types/types/Earnings.js.map +1 -0
  537. package/dist/types/types/EditionStoreType.d.ts +45 -0
  538. package/dist/types/types/EditionStoreType.d.ts.map +1 -0
  539. package/dist/types/types/EditionStoreType.js +128 -0
  540. package/dist/types/types/EditionStoreType.js.map +1 -0
  541. package/dist/types/types/EncryptedPayload.d.ts +27 -0
  542. package/dist/types/types/EncryptedPayload.d.ts.map +1 -0
  543. package/dist/types/types/EncryptedPayload.js +66 -0
  544. package/dist/types/types/EncryptedPayload.js.map +1 -0
  545. package/dist/types/types/ExtraParameter.d.ts +45 -0
  546. package/dist/types/types/ExtraParameter.d.ts.map +1 -0
  547. package/dist/types/types/ExtraParameter.js +115 -0
  548. package/dist/types/types/ExtraParameter.js.map +1 -0
  549. package/dist/types/types/FakeBurnCount.d.ts +54 -0
  550. package/dist/types/types/FakeBurnCount.d.ts.map +1 -0
  551. package/dist/types/types/FakeBurnCount.js +71 -0
  552. package/dist/types/types/FakeBurnCount.js.map +1 -0
  553. package/dist/types/types/FakeDeposit.d.ts +64 -0
  554. package/dist/types/types/FakeDeposit.d.ts.map +1 -0
  555. package/dist/types/types/FakeDeposit.js +71 -0
  556. package/dist/types/types/FakeDeposit.js.map +1 -0
  557. package/dist/types/types/FakeTraitPair.d.ts +27 -0
  558. package/dist/types/types/FakeTraitPair.d.ts.map +1 -0
  559. package/dist/types/types/FakeTraitPair.js +66 -0
  560. package/dist/types/types/FakeTraitPair.js.map +1 -0
  561. package/dist/types/types/FakeTraitValue.d.ts +28 -0
  562. package/dist/types/types/FakeTraitValue.d.ts.map +1 -0
  563. package/dist/types/types/FakeTraitValue.js +70 -0
  564. package/dist/types/types/FakeTraitValue.js.map +1 -0
  565. package/dist/types/types/FakeVolumeTrack.d.ts +35 -0
  566. package/dist/types/types/FakeVolumeTrack.d.ts.map +1 -0
  567. package/dist/types/types/FakeVolumeTrack.js +68 -0
  568. package/dist/types/types/FakeVolumeTrack.js.map +1 -0
  569. package/dist/types/types/FeeType.d.ts +45 -0
  570. package/dist/types/types/FeeType.d.ts.map +1 -0
  571. package/dist/types/types/FeeType.js +128 -0
  572. package/dist/types/types/FeeType.js.map +1 -0
  573. package/dist/types/types/FeedingTraits.d.ts +49 -0
  574. package/dist/types/types/FeedingTraits.d.ts.map +1 -0
  575. package/dist/types/types/FeedingTraits.js +62 -0
  576. package/dist/types/types/FeedingTraits.js.map +1 -0
  577. package/dist/types/types/Filter.d.ts +35 -0
  578. package/dist/types/types/Filter.d.ts.map +1 -0
  579. package/dist/types/types/Filter.js +67 -0
  580. package/dist/types/types/Filter.js.map +1 -0
  581. package/dist/types/types/FilterType.d.ts +19 -0
  582. package/dist/types/types/FilterType.d.ts.map +1 -0
  583. package/dist/types/types/FilterType.js +74 -0
  584. package/dist/types/types/FilterType.js.map +1 -0
  585. package/dist/types/types/GeneralStore.d.ts +19 -0
  586. package/dist/types/types/GeneralStore.d.ts.map +1 -0
  587. package/dist/types/types/GeneralStore.js +74 -0
  588. package/dist/types/types/GeneralStore.js.map +1 -0
  589. package/dist/types/types/GenericStore.d.ts +49 -0
  590. package/dist/types/types/GenericStore.d.ts.map +1 -0
  591. package/dist/types/types/GenericStore.js +67 -0
  592. package/dist/types/types/GenericStore.js.map +1 -0
  593. package/dist/types/types/GenericValue.d.ts +73 -0
  594. package/dist/types/types/GenericValue.d.ts.map +1 -0
  595. package/dist/types/types/GenericValue.js +159 -0
  596. package/dist/types/types/GenericValue.js.map +1 -0
  597. package/dist/types/types/GlobalFee.d.ts +51 -0
  598. package/dist/types/types/GlobalFee.d.ts.map +1 -0
  599. package/dist/types/types/GlobalFee.js +87 -0
  600. package/dist/types/types/GlobalFee.js.map +1 -0
  601. package/dist/types/types/GlobalState.d.ts +58 -0
  602. package/dist/types/types/GlobalState.d.ts.map +1 -0
  603. package/dist/types/types/GlobalState.js +154 -0
  604. package/dist/types/types/GlobalState.js.map +1 -0
  605. package/dist/types/types/IndexDate.d.ts +42 -0
  606. package/dist/types/types/IndexDate.d.ts.map +1 -0
  607. package/dist/types/types/IndexDate.js +87 -0
  608. package/dist/types/types/IndexDate.js.map +1 -0
  609. package/dist/types/types/IndexDates.d.ts +51 -0
  610. package/dist/types/types/IndexDates.d.ts.map +1 -0
  611. package/dist/types/types/IndexDates.js +67 -0
  612. package/dist/types/types/IndexDates.js.map +1 -0
  613. package/dist/types/types/Item.d.ts +108 -0
  614. package/dist/types/types/Item.d.ts.map +1 -0
  615. package/dist/types/types/Item.js +62 -0
  616. package/dist/types/types/Item.js.map +1 -0
  617. package/dist/types/types/ItemClass.d.ts +32 -0
  618. package/dist/types/types/ItemClass.d.ts.map +1 -0
  619. package/dist/types/types/ItemClass.js +102 -0
  620. package/dist/types/types/ItemClass.js.map +1 -0
  621. package/dist/types/types/ItemState.d.ts +123 -0
  622. package/dist/types/types/ItemState.d.ts.map +1 -0
  623. package/dist/types/types/ItemState.js +284 -0
  624. package/dist/types/types/ItemState.js.map +1 -0
  625. package/dist/types/types/ItemTrack.d.ts +69 -0
  626. package/dist/types/types/ItemTrack.d.ts.map +1 -0
  627. package/dist/types/types/ItemTrack.js +80 -0
  628. package/dist/types/types/ItemTrack.js.map +1 -0
  629. package/dist/types/types/ListingPerWalletArgs.d.ts +22 -0
  630. package/dist/types/types/ListingPerWalletArgs.d.ts.map +1 -0
  631. package/dist/types/types/ListingPerWalletArgs.js +61 -0
  632. package/dist/types/types/ListingPerWalletArgs.js.map +1 -0
  633. package/dist/types/types/MemeVaultProof.d.ts +28 -0
  634. package/dist/types/types/MemeVaultProof.d.ts.map +1 -0
  635. package/dist/types/types/MemeVaultProof.js +70 -0
  636. package/dist/types/types/MemeVaultProof.js.map +1 -0
  637. package/dist/types/types/MetadataArgs.d.ts +161 -0
  638. package/dist/types/types/MetadataArgs.d.ts.map +1 -0
  639. package/dist/types/types/MetadataArgs.js +139 -0
  640. package/dist/types/types/MetadataArgs.js.map +1 -0
  641. package/dist/types/types/NonFungibleTraitInit.d.ts +28 -0
  642. package/dist/types/types/NonFungibleTraitInit.d.ts.map +1 -0
  643. package/dist/types/types/NonFungibleTraitInit.js +70 -0
  644. package/dist/types/types/NonFungibleTraitInit.js.map +1 -0
  645. package/dist/types/types/NonFungibleTraitInitMap.d.ts +39 -0
  646. package/dist/types/types/NonFungibleTraitInitMap.d.ts.map +1 -0
  647. package/dist/types/types/NonFungibleTraitInitMap.js +80 -0
  648. package/dist/types/types/NonFungibleTraitInitMap.js.map +1 -0
  649. package/dist/types/types/OnlyBetweenTimesArgs.d.ts +44 -0
  650. package/dist/types/types/OnlyBetweenTimesArgs.d.ts.map +1 -0
  651. package/dist/types/types/OnlyBetweenTimesArgs.js +76 -0
  652. package/dist/types/types/OnlyBetweenTimesArgs.js.map +1 -0
  653. package/dist/types/types/OnlyTheseDOWArgs.d.ts +22 -0
  654. package/dist/types/types/OnlyTheseDOWArgs.d.ts.map +1 -0
  655. package/dist/types/types/OnlyTheseDOWArgs.js +61 -0
  656. package/dist/types/types/OnlyTheseDOWArgs.js.map +1 -0
  657. package/dist/types/types/PackConfig.d.ts +63 -0
  658. package/dist/types/types/PackConfig.d.ts.map +1 -0
  659. package/dist/types/types/PackConfig.js +89 -0
  660. package/dist/types/types/PackConfig.js.map +1 -0
  661. package/dist/types/types/PackOpenHolderState.d.ts +45 -0
  662. package/dist/types/types/PackOpenHolderState.d.ts.map +1 -0
  663. package/dist/types/types/PackOpenHolderState.js +128 -0
  664. package/dist/types/types/PackOpenHolderState.js.map +1 -0
  665. package/dist/types/types/PackRule.d.ts +32 -0
  666. package/dist/types/types/PackRule.d.ts.map +1 -0
  667. package/dist/types/types/PackRule.js +89 -0
  668. package/dist/types/types/PackRule.js.map +1 -0
  669. package/dist/types/types/PackState.d.ts +45 -0
  670. package/dist/types/types/PackState.d.ts.map +1 -0
  671. package/dist/types/types/PackState.js +128 -0
  672. package/dist/types/types/PackState.js.map +1 -0
  673. package/dist/types/types/PackType.d.ts +45 -0
  674. package/dist/types/types/PackType.d.ts.map +1 -0
  675. package/dist/types/types/PackType.js +128 -0
  676. package/dist/types/types/PackType.js.map +1 -0
  677. package/dist/types/types/PaymentClass.d.ts +45 -0
  678. package/dist/types/types/PaymentClass.d.ts.map +1 -0
  679. package/dist/types/types/PaymentClass.js +128 -0
  680. package/dist/types/types/PaymentClass.js.map +1 -0
  681. package/dist/types/types/PoolAccess.d.ts +32 -0
  682. package/dist/types/types/PoolAccess.d.ts.map +1 -0
  683. package/dist/types/types/PoolAccess.js +102 -0
  684. package/dist/types/types/PoolAccess.js.map +1 -0
  685. package/dist/types/types/PoolState.d.ts +32 -0
  686. package/dist/types/types/PoolState.d.ts.map +1 -0
  687. package/dist/types/types/PoolState.js +102 -0
  688. package/dist/types/types/PoolState.js.map +1 -0
  689. package/dist/types/types/PoolType.d.ts +32 -0
  690. package/dist/types/types/PoolType.d.ts.map +1 -0
  691. package/dist/types/types/PoolType.js +102 -0
  692. package/dist/types/types/PoolType.js.map +1 -0
  693. package/dist/types/types/Popularity.d.ts +113 -0
  694. package/dist/types/types/Popularity.d.ts.map +1 -0
  695. package/dist/types/types/Popularity.js +80 -0
  696. package/dist/types/types/Popularity.js.map +1 -0
  697. package/dist/types/types/PopularityState.d.ts +266 -0
  698. package/dist/types/types/PopularityState.d.ts.map +1 -0
  699. package/dist/types/types/PopularityState.js +570 -0
  700. package/dist/types/types/PopularityState.js.map +1 -0
  701. package/dist/types/types/PreviousDonationRecord.d.ts +43 -0
  702. package/dist/types/types/PreviousDonationRecord.d.ts.map +1 -0
  703. package/dist/types/types/PreviousDonationRecord.js +80 -0
  704. package/dist/types/types/PreviousDonationRecord.js.map +1 -0
  705. package/dist/types/types/Price.d.ts +61 -0
  706. package/dist/types/types/Price.d.ts.map +1 -0
  707. package/dist/types/types/Price.js +71 -0
  708. package/dist/types/types/Price.js.map +1 -0
  709. package/dist/types/types/PriceRule.d.ts +88 -0
  710. package/dist/types/types/PriceRule.d.ts.map +1 -0
  711. package/dist/types/types/PriceRule.js +197 -0
  712. package/dist/types/types/PriceRule.js.map +1 -0
  713. package/dist/types/types/RecoverDeposit.d.ts +32 -0
  714. package/dist/types/types/RecoverDeposit.d.ts.map +1 -0
  715. package/dist/types/types/RecoverDeposit.js +62 -0
  716. package/dist/types/types/RecoverDeposit.js.map +1 -0
  717. package/dist/types/types/Rule.d.ts +115 -0
  718. package/dist/types/types/Rule.d.ts.map +1 -0
  719. package/dist/types/types/Rule.js +168 -0
  720. package/dist/types/types/Rule.js.map +1 -0
  721. package/dist/types/types/SaleConfig.d.ts +208 -0
  722. package/dist/types/types/SaleConfig.d.ts.map +1 -0
  723. package/dist/types/types/SaleConfig.js +88 -0
  724. package/dist/types/types/SaleConfig.js.map +1 -0
  725. package/dist/types/types/SaleTrack.d.ts +38 -0
  726. package/dist/types/types/SaleTrack.d.ts.map +1 -0
  727. package/dist/types/types/SaleTrack.js +85 -0
  728. package/dist/types/types/SaleTrack.js.map +1 -0
  729. package/dist/types/types/SaleType.d.ts +58 -0
  730. package/dist/types/types/SaleType.d.ts.map +1 -0
  731. package/dist/types/types/SaleType.js +154 -0
  732. package/dist/types/types/SaleType.js.map +1 -0
  733. package/dist/types/types/Seed.d.ts +22 -0
  734. package/dist/types/types/Seed.d.ts.map +1 -0
  735. package/dist/types/types/Seed.js +61 -0
  736. package/dist/types/types/Seed.js.map +1 -0
  737. package/dist/types/types/SelectedCard.d.ts +27 -0
  738. package/dist/types/types/SelectedCard.d.ts.map +1 -0
  739. package/dist/types/types/SelectedCard.js +66 -0
  740. package/dist/types/types/SelectedCard.js.map +1 -0
  741. package/dist/types/types/SelectedZeroCard.d.ts +27 -0
  742. package/dist/types/types/SelectedZeroCard.d.ts.map +1 -0
  743. package/dist/types/types/SelectedZeroCard.js +66 -0
  744. package/dist/types/types/SelectedZeroCard.js.map +1 -0
  745. package/dist/types/types/SemiFungibleTraitInit.d.ts +28 -0
  746. package/dist/types/types/SemiFungibleTraitInit.d.ts.map +1 -0
  747. package/dist/types/types/SemiFungibleTraitInit.js +70 -0
  748. package/dist/types/types/SemiFungibleTraitInit.js.map +1 -0
  749. package/dist/types/types/SemiFungibleTraitInitMap.d.ts +33 -0
  750. package/dist/types/types/SemiFungibleTraitInitMap.d.ts.map +1 -0
  751. package/dist/types/types/SemiFungibleTraitInitMap.js +75 -0
  752. package/dist/types/types/SemiFungibleTraitInitMap.js.map +1 -0
  753. package/dist/types/types/ShortCreator.d.ts +28 -0
  754. package/dist/types/types/ShortCreator.d.ts.map +1 -0
  755. package/dist/types/types/ShortCreator.js +67 -0
  756. package/dist/types/types/ShortCreator.js.map +1 -0
  757. package/dist/types/types/ShortMetadata.d.ts +99 -0
  758. package/dist/types/types/ShortMetadata.d.ts.map +1 -0
  759. package/dist/types/types/ShortMetadata.js +121 -0
  760. package/dist/types/types/ShortMetadata.js.map +1 -0
  761. package/dist/types/types/ShortMetadataArgs.d.ts +54 -0
  762. package/dist/types/types/ShortMetadataArgs.d.ts.map +1 -0
  763. package/dist/types/types/ShortMetadataArgs.js +95 -0
  764. package/dist/types/types/ShortMetadataArgs.js.map +1 -0
  765. package/dist/types/types/StoreConfig.d.ts +108 -0
  766. package/dist/types/types/StoreConfig.d.ts.map +1 -0
  767. package/dist/types/types/StoreConfig.js +93 -0
  768. package/dist/types/types/StoreConfig.js.map +1 -0
  769. package/dist/types/types/StoreRule.d.ts +77 -0
  770. package/dist/types/types/StoreRule.d.ts.map +1 -0
  771. package/dist/types/types/StoreRule.js +129 -0
  772. package/dist/types/types/StoreRule.js.map +1 -0
  773. package/dist/types/types/SuperCategory.d.ts +27 -0
  774. package/dist/types/types/SuperCategory.d.ts.map +1 -0
  775. package/dist/types/types/SuperCategory.js +66 -0
  776. package/dist/types/types/SuperCategory.js.map +1 -0
  777. package/dist/types/types/TightCardMetadata.d.ts +60 -0
  778. package/dist/types/types/TightCardMetadata.d.ts.map +1 -0
  779. package/dist/types/types/TightCardMetadata.js +105 -0
  780. package/dist/types/types/TightCardMetadata.js.map +1 -0
  781. package/dist/types/types/TimeRangeType.d.ts +45 -0
  782. package/dist/types/types/TimeRangeType.d.ts.map +1 -0
  783. package/dist/types/types/TimeRangeType.js +128 -0
  784. package/dist/types/types/TimeRangeType.js.map +1 -0
  785. package/dist/types/types/TimedPerWalletArgs.d.ts +22 -0
  786. package/dist/types/types/TimedPerWalletArgs.d.ts.map +1 -0
  787. package/dist/types/types/TimedPerWalletArgs.js +61 -0
  788. package/dist/types/types/TimedPerWalletArgs.js.map +1 -0
  789. package/dist/types/types/TokenMetadata.d.ts +32 -0
  790. package/dist/types/types/TokenMetadata.d.ts.map +1 -0
  791. package/dist/types/types/TokenMetadata.js +71 -0
  792. package/dist/types/types/TokenMetadata.js.map +1 -0
  793. package/dist/types/types/TokenProgramVersion.d.ts +32 -0
  794. package/dist/types/types/TokenProgramVersion.d.ts.map +1 -0
  795. package/dist/types/types/TokenProgramVersion.js +102 -0
  796. package/dist/types/types/TokenProgramVersion.js.map +1 -0
  797. package/dist/types/types/TokenStandard.d.ts +58 -0
  798. package/dist/types/types/TokenStandard.d.ts.map +1 -0
  799. package/dist/types/types/TokenStandard.js +154 -0
  800. package/dist/types/types/TokenStandard.js.map +1 -0
  801. package/dist/types/types/TokenState.d.ts +32 -0
  802. package/dist/types/types/TokenState.d.ts.map +1 -0
  803. package/dist/types/types/TokenState.js +102 -0
  804. package/dist/types/types/TokenState.js.map +1 -0
  805. package/dist/types/types/TokenType.d.ts +32 -0
  806. package/dist/types/types/TokenType.d.ts.map +1 -0
  807. package/dist/types/types/TokenType.js +102 -0
  808. package/dist/types/types/TokenType.js.map +1 -0
  809. package/dist/types/types/TotalPerTimeArgs.d.ts +37 -0
  810. package/dist/types/types/TotalPerTimeArgs.d.ts.map +1 -0
  811. package/dist/types/types/TotalPerTimeArgs.js +81 -0
  812. package/dist/types/types/TotalPerTimeArgs.js.map +1 -0
  813. package/dist/types/types/TotalPerTimeWalletArgs.d.ts +27 -0
  814. package/dist/types/types/TotalPerTimeWalletArgs.d.ts.map +1 -0
  815. package/dist/types/types/TotalPerTimeWalletArgs.js +66 -0
  816. package/dist/types/types/TotalPerTimeWalletArgs.js.map +1 -0
  817. package/dist/types/types/TrackRegistry.d.ts +32 -0
  818. package/dist/types/types/TrackRegistry.d.ts.map +1 -0
  819. package/dist/types/types/TrackRegistry.js +102 -0
  820. package/dist/types/types/TrackRegistry.js.map +1 -0
  821. package/dist/types/types/TraitInit.d.ts +89 -0
  822. package/dist/types/types/TraitInit.d.ts.map +1 -0
  823. package/dist/types/types/TraitInit.js +176 -0
  824. package/dist/types/types/TraitInit.js.map +1 -0
  825. package/dist/types/types/TraitPass.d.ts +53 -0
  826. package/dist/types/types/TraitPass.d.ts.map +1 -0
  827. package/dist/types/types/TraitPass.js +62 -0
  828. package/dist/types/types/TraitPass.js.map +1 -0
  829. package/dist/types/types/TraitPassType.d.ts +97 -0
  830. package/dist/types/types/TraitPassType.d.ts.map +1 -0
  831. package/dist/types/types/TraitPassType.js +186 -0
  832. package/dist/types/types/TraitPassType.js.map +1 -0
  833. package/dist/types/types/TraitType.d.ts +113 -0
  834. package/dist/types/types/TraitType.d.ts.map +1 -0
  835. package/dist/types/types/TraitType.js +207 -0
  836. package/dist/types/types/TraitType.js.map +1 -0
  837. package/dist/types/types/TraitValue.d.ts +33 -0
  838. package/dist/types/types/TraitValue.d.ts.map +1 -0
  839. package/dist/types/types/TraitValue.js +75 -0
  840. package/dist/types/types/TraitValue.js.map +1 -0
  841. package/dist/types/types/UnlocksAfter.d.ts +71 -0
  842. package/dist/types/types/UnlocksAfter.d.ts.map +1 -0
  843. package/dist/types/types/UnlocksAfter.js +154 -0
  844. package/dist/types/types/UnlocksAfter.js.map +1 -0
  845. package/dist/types/types/UnwrapMetadata.d.ts +80 -0
  846. package/dist/types/types/UnwrapMetadata.d.ts.map +1 -0
  847. package/dist/types/types/UnwrapMetadata.js +128 -0
  848. package/dist/types/types/UnwrapMetadata.js.map +1 -0
  849. package/dist/types/types/UseMethod.d.ts +45 -0
  850. package/dist/types/types/UseMethod.d.ts.map +1 -0
  851. package/dist/types/types/UseMethod.js +128 -0
  852. package/dist/types/types/UseMethod.js.map +1 -0
  853. package/dist/types/types/Uses.d.ts +45 -0
  854. package/dist/types/types/Uses.d.ts.map +1 -0
  855. package/dist/types/types/Uses.js +80 -0
  856. package/dist/types/types/Uses.js.map +1 -0
  857. package/dist/types/types/VerifyCollectionMetadata.d.ts +56 -0
  858. package/dist/types/types/VerifyCollectionMetadata.d.ts.map +1 -0
  859. package/dist/types/types/VerifyCollectionMetadata.js +94 -0
  860. package/dist/types/types/VerifyCollectionMetadata.js.map +1 -0
  861. package/dist/types/types/VolumeTrack.d.ts +28 -0
  862. package/dist/types/types/VolumeTrack.d.ts.map +1 -0
  863. package/dist/types/types/VolumeTrack.js +70 -0
  864. package/dist/types/types/VolumeTrack.js.map +1 -0
  865. package/dist/types/types/WrappedSource.d.ts +39 -0
  866. package/dist/types/types/WrappedSource.d.ts.map +1 -0
  867. package/dist/types/types/WrappedSource.js +86 -0
  868. package/dist/types/types/WrappedSource.js.map +1 -0
  869. package/dist/types/types/ZeroConfig.d.ts +37 -0
  870. package/dist/types/types/ZeroConfig.d.ts.map +1 -0
  871. package/dist/types/types/ZeroConfig.js +81 -0
  872. package/dist/types/types/ZeroConfig.js.map +1 -0
  873. package/dist/types/types/index.d.ts +333 -0
  874. package/dist/types/types/index.d.ts.map +1 -0
  875. package/dist/types/types/index.js +265 -0
  876. package/dist/types/types/index.js.map +1 -0
  877. package/dist/utility/Connection.d.ts +4 -0
  878. package/dist/utility/Connection.d.ts.map +1 -0
  879. package/dist/utility/Connection.js +12 -0
  880. package/dist/utility/Connection.js.map +1 -0
  881. package/dist/utility/Holders.d.ts +9 -0
  882. package/dist/utility/Holders.d.ts.map +1 -0
  883. package/dist/utility/Holders.js +12 -0
  884. package/dist/utility/Holders.js.map +1 -0
  885. package/dist/utility/PdaManager.d.ts +20 -0
  886. package/dist/utility/PdaManager.d.ts.map +1 -0
  887. package/dist/utility/PdaManager.js +175 -0
  888. package/dist/utility/PdaManager.js.map +1 -0
  889. package/dist/utility/config.d.ts +12 -0
  890. package/dist/utility/config.d.ts.map +1 -0
  891. package/dist/utility/config.js +24 -0
  892. package/dist/utility/config.js.map +1 -0
  893. package/dist/utility/utils.d.ts +14 -0
  894. package/dist/utility/utils.d.ts.map +1 -0
  895. package/dist/utility/utils.js +198 -0
  896. package/dist/utility/utils.js.map +1 -0
  897. package/dist/utility/validation.d.ts +13 -0
  898. package/dist/utility/validation.d.ts.map +1 -0
  899. package/dist/utility/validation.js +161 -0
  900. package/dist/utility/validation.js.map +1 -0
  901. package/package.json +1 -1
  902. package/src/index.ts +9 -5
  903. package/src/library/Irys/irys.ts +3 -3
  904. package/src/library/Store.ts +20 -2
  905. package/src/library/implementation/storeImplementation.ts +97 -29
  906. package/src/types/implementation/implementationTypes.ts +4 -0
@@ -0,0 +1,168 @@
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.ItemArchive = void 0;
30
+ const web3_js_1 = require("@solana/web3.js");
31
+ const bn_js_1 = __importDefault(require("bn.js")); // eslint-disable-line @typescript-eslint/no-unused-vars
32
+ const borsh = __importStar(require("@coral-xyz/borsh")); // eslint-disable-line @typescript-eslint/no-unused-vars
33
+ const types = __importStar(require("../types")); // eslint-disable-line @typescript-eslint/no-unused-vars
34
+ const programId_1 = require("../programId");
35
+ class ItemArchive {
36
+ constructor(fields) {
37
+ this.class = fields.class;
38
+ this.globalState = fields.globalState;
39
+ this.holder = fields.holder;
40
+ this.creator = fields.creator;
41
+ this.dates = new types.IndexDates({ ...fields.dates });
42
+ this.category = new types.Category({ ...fields.category });
43
+ this.superCategory = new types.SuperCategory({ ...fields.superCategory });
44
+ this.eventCategory = fields.eventCategory;
45
+ this.trackType = fields.trackType;
46
+ this.mainCurrencyHash = fields.mainCurrencyHash;
47
+ this.state = fields.state;
48
+ this.collection = fields.collection;
49
+ this.cnft = fields.cnft;
50
+ this.identifier = fields.identifier;
51
+ this.hash = fields.hash;
52
+ this.supply = fields.supply;
53
+ this.volume = fields.volume.map((item) => new types.FakeVolumeTrack({ ...item }));
54
+ }
55
+ static async fetch(c, address, programId = programId_1.PROGRAM_ID) {
56
+ const info = await c.getAccountInfo(address);
57
+ if (info === null) {
58
+ return null;
59
+ }
60
+ if (!info.owner.equals(programId)) {
61
+ throw new Error("account doesn't belong to this program");
62
+ }
63
+ return this.decode(info.data);
64
+ }
65
+ static async fetchMultiple(c, addresses, programId = programId_1.PROGRAM_ID) {
66
+ const infos = await c.getMultipleAccountsInfo(addresses);
67
+ return infos.map((info) => {
68
+ if (info === null) {
69
+ return null;
70
+ }
71
+ if (!info.owner.equals(programId)) {
72
+ throw new Error("account doesn't belong to this program");
73
+ }
74
+ return this.decode(info.data);
75
+ });
76
+ }
77
+ static decode(data) {
78
+ if (!data.slice(0, 8).equals(ItemArchive.discriminator)) {
79
+ throw new Error("invalid account discriminator");
80
+ }
81
+ const dec = ItemArchive.layout.decode(data.slice(8));
82
+ return new ItemArchive({
83
+ class: types.AccountClass.fromDecoded(dec.class),
84
+ globalState: types.GlobalState.fromDecoded(dec.globalState),
85
+ holder: dec.holder,
86
+ creator: dec.creator,
87
+ dates: types.IndexDates.fromDecoded(dec.dates),
88
+ category: types.Category.fromDecoded(dec.category),
89
+ superCategory: types.SuperCategory.fromDecoded(dec.superCategory),
90
+ eventCategory: dec.eventCategory,
91
+ trackType: types.TrackRegistry.fromDecoded(dec.trackType),
92
+ mainCurrencyHash: dec.mainCurrencyHash,
93
+ state: types.ItemState.fromDecoded(dec.state),
94
+ collection: dec.collection,
95
+ cnft: dec.cnft,
96
+ identifier: dec.identifier,
97
+ hash: dec.hash,
98
+ supply: dec.supply,
99
+ volume: dec.volume.map((item /* eslint-disable-line @typescript-eslint/no-explicit-any */) => types.FakeVolumeTrack.fromDecoded(item)),
100
+ });
101
+ }
102
+ toJSON() {
103
+ return {
104
+ class: this.class.toJSON(),
105
+ globalState: this.globalState.toJSON(),
106
+ holder: this.holder.toString(),
107
+ creator: this.creator.toString(),
108
+ dates: this.dates.toJSON(),
109
+ category: this.category.toJSON(),
110
+ superCategory: this.superCategory.toJSON(),
111
+ eventCategory: this.eventCategory,
112
+ trackType: this.trackType.toJSON(),
113
+ mainCurrencyHash: this.mainCurrencyHash.toString(),
114
+ state: this.state.toJSON(),
115
+ collection: this.collection.toString(),
116
+ cnft: this.cnft.toString(),
117
+ identifier: this.identifier.toString(),
118
+ hash: this.hash.toString(),
119
+ supply: this.supply.toString(),
120
+ volume: this.volume.map((item) => item.toJSON()),
121
+ };
122
+ }
123
+ static fromJSON(obj) {
124
+ return new ItemArchive({
125
+ class: types.AccountClass.fromJSON(obj.class),
126
+ globalState: types.GlobalState.fromJSON(obj.globalState),
127
+ holder: new web3_js_1.PublicKey(obj.holder),
128
+ creator: new web3_js_1.PublicKey(obj.creator),
129
+ dates: types.IndexDates.fromJSON(obj.dates),
130
+ category: types.Category.fromJSON(obj.category),
131
+ superCategory: types.SuperCategory.fromJSON(obj.superCategory),
132
+ eventCategory: obj.eventCategory,
133
+ trackType: types.TrackRegistry.fromJSON(obj.trackType),
134
+ mainCurrencyHash: new bn_js_1.default(obj.mainCurrencyHash),
135
+ state: types.ItemState.fromJSON(obj.state),
136
+ collection: new web3_js_1.PublicKey(obj.collection),
137
+ cnft: new web3_js_1.PublicKey(obj.cnft),
138
+ identifier: new bn_js_1.default(obj.identifier),
139
+ hash: new bn_js_1.default(obj.hash),
140
+ supply: new bn_js_1.default(obj.supply),
141
+ volume: obj.volume.map((item) => types.FakeVolumeTrack.fromJSON(item)),
142
+ });
143
+ }
144
+ }
145
+ exports.ItemArchive = ItemArchive;
146
+ ItemArchive.discriminator = Buffer.from([
147
+ 11, 87, 59, 106, 157, 209, 221, 195,
148
+ ]);
149
+ ItemArchive.layout = borsh.struct([
150
+ types.AccountClass.layout("class"),
151
+ types.GlobalState.layout("globalState"),
152
+ borsh.publicKey("holder"),
153
+ borsh.publicKey("creator"),
154
+ types.IndexDates.layout("dates"),
155
+ types.Category.layout("category"),
156
+ types.SuperCategory.layout("superCategory"),
157
+ borsh.u16("eventCategory"),
158
+ types.TrackRegistry.layout("trackType"),
159
+ borsh.u64("mainCurrencyHash"),
160
+ types.ItemState.layout("state"),
161
+ borsh.publicKey("collection"),
162
+ borsh.publicKey("cnft"),
163
+ borsh.u64("identifier"),
164
+ borsh.u64("hash"),
165
+ borsh.u64("supply"),
166
+ borsh.vec(types.FakeVolumeTrack.layout(), "volume"),
167
+ ]);
168
+ //# sourceMappingURL=ItemArchive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemArchive.js","sourceRoot":"","sources":["../../../src/types/accounts/ItemArchive.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAuD;AACvD,kDAAsB,CAAC,wDAAwD;AAC/E,wDAAyC,CAAC,wDAAwD;AAClG,gDAAiC,CAAC,wDAAwD;AAC1F,4CAAyC;AA0CzC,MAAa,WAAW;IA2CtB,YAAY,MAAyB;QACnC,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;QACzB,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAA;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAA;QAC3B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAA;QAC7B,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,CAAC,UAAU,CAAC,EAAE,GAAG,MAAM,CAAC,KAAK,EAAE,CAAC,CAAA;QACtD,IAAI,CAAC,QAAQ,GAAG,IAAI,KAAK,CAAC,QAAQ,CAAC,EAAE,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAA;QAC1D,IAAI,CAAC,aAAa,GAAG,IAAI,KAAK,CAAC,aAAa,CAAC,EAAE,GAAG,MAAM,CAAC,aAAa,EAAE,CAAC,CAAA;QACzE,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC,aAAa,CAAA;QACzC,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAA;Q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AC;IAC7B,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC;IACvB,KAAK,CAAC,GAAG,CAAC,YAAY,CAAC;IACvB,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC;IACjB,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC;IACnB,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,QAAQ,CAAC;CACpD,CAAC,CAAA"}
@@ -0,0 +1,19 @@
1
+ import { PublicKey, Connection } from "@solana/web3.js";
2
+ export interface ItemReserveListFields {
3
+ queue: PublicKey;
4
+ }
5
+ export interface ItemReserveListJSON {
6
+ queue: string;
7
+ }
8
+ export declare class ItemReserveList {
9
+ readonly queue: PublicKey;
10
+ static readonly discriminator: Buffer;
11
+ static readonly layout: any;
12
+ constructor(fields: ItemReserveListFields);
13
+ static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<ItemReserveList | null>;
14
+ static fetchMultiple(c: Connection, addresses: PublicKey[], programId?: PublicKey): Promise<Array<ItemReserveList | null>>;
15
+ static decode(data: Buffer): ItemReserveList;
16
+ toJSON(): ItemReserveListJSON;
17
+ static fromJSON(obj: ItemReserveListJSON): ItemReserveList;
18
+ }
19
+ //# sourceMappingURL=ItemReserveList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemReserveList.d.ts","sourceRoot":"","sources":["../../../src/types/accounts/ItemReserveList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAMvD,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,SAAS,CAAA;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAA;CACd;AAED,qBAAa,eAAe;IAC1B,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAA;IAEzB,MAAM,CAAC,QAAQ,CAAC,aAAa,SAE3B;IAEF,MAAM,CAAC,QAAQ,CAAC,MAAM,MAA2C;gBAErD,MAAM,EAAE,qBAAqB;WAI5B,KAAK,CAChB,CAAC,EAAE,UAAU,EACb,OAAO,EAAE,SAAS,EAClB,SAAS,GAAE,SAAsB,GAChC,OAAO,CAAC,eAAe,GAAG,IAAI,CAAC;WAarB,aAAa,CACxB,CAAC,EAAE,UAAU,EACb,SAAS,EAAE,SAAS,EAAE,EACtB,SAAS,GAAE,SAAsB,GAChC,OAAO,CAAC,KAAK,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;IAezC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe;IAY5C,MAAM,IAAI,mBAAmB;IAM7B,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,mBAAmB,GAAG,eAAe;CAK3D"}
@@ -0,0 +1,81 @@
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.ItemReserveList = 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 ItemReserveList {
31
+ constructor(fields) {
32
+ this.queue = fields.queue;
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(ItemReserveList.discriminator)) {
58
+ throw new Error("invalid account discriminator");
59
+ }
60
+ const dec = ItemReserveList.layout.decode(data.slice(8));
61
+ return new ItemReserveList({
62
+ queue: dec.queue,
63
+ });
64
+ }
65
+ toJSON() {
66
+ return {
67
+ queue: this.queue.toString(),
68
+ };
69
+ }
70
+ static fromJSON(obj) {
71
+ return new ItemReserveList({
72
+ queue: new web3_js_1.PublicKey(obj.queue),
73
+ });
74
+ }
75
+ }
76
+ exports.ItemReserveList = ItemReserveList;
77
+ ItemReserveList.discriminator = Buffer.from([
78
+ 91, 20, 28, 149, 203, 38, 189, 82,
79
+ ]);
80
+ ItemReserveList.layout = borsh.struct([borsh.publicKey("queue")]);
81
+ //# sourceMappingURL=ItemReserveList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemReserveList.js","sourceRoot":"","sources":["../../../src/types/accounts/ItemReserveList.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAuD;AAEvD,wDAAyC,CAAC,wDAA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eAAe,CAAC,aAAa,CAAC,EAAE,CAAC;YAC5D,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAA;QAClD,CAAC;QAED,MAAM,GAAG,GAAG,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;QAExD,OAAO,IAAI,eAAe,CAAC;YACzB,KAAK,EAAE,GAAG,CAAC,KAAK;SACjB,CAAC,CAAA;IACJ,CAAC;IAED,MAAM;QACJ,OAAO;YACL,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;SAC7B,CAAA;IACH,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,GAAwB;QACtC,OAAO,IAAI,eAAe,CAAC;YACzB,KAAK,EAAE,IAAI,mBAAS,CAAC,GAAG,CAAC,KAAK,CAAC;SAChC,CAAC,CAAA;IACJ,CAAC;;AAvEH,0CAwEC;AArEiB,6BAAa,GAAG,MAAM,CAAC,IAAI,CAAC;IAC1C,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE;CAClC,CAAC,CAAA;AAEc,sBAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA"}
@@ -0,0 +1,16 @@
1
+ import { PublicKey, Connection } from "@solana/web3.js";
2
+ export interface ItemReserveList2Fields {
3
+ }
4
+ export interface ItemReserveList2JSON {
5
+ }
6
+ export declare class ItemReserveList2 {
7
+ static readonly discriminator: Buffer;
8
+ static readonly layout: any;
9
+ constructor(fields: ItemReserveList2Fields);
10
+ static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<ItemReserveList2 | null>;
11
+ static fetchMultiple(c: Connection, addresses: PublicKey[], programId?: PublicKey): Promise<Array<ItemReserveList2 | null>>;
12
+ static decode(data: Buffer): ItemReserveList2;
13
+ toJSON(): ItemReserveList2JSON;
14
+ static fromJSON(obj: ItemReserveList2JSON): ItemReserveList2;
15
+ }
16
+ //# sourceMappingURL=ItemReserveList2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemReserveList2.d.ts","sourceRoot":"","sources":["../../../src/types/accounts/ItemReserveList2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAMvD,MAAM,WAAW,sBAAsB;CAAG;AAE1C,MAAM,WAAW,oBAAoB;CAAG;AAExC,qBAAa,gBAAgB;IAC3B,MAAM,CAAC,QAAQ,CAAC,aAAa,SAE3B;IAEF,MAAM,CAAC,QAAQ,CAAC,MAAM,MAAmB;gBAE7B,MAAM,EAAE,sBAAsB;WAE7B,KAAK,CAChB,CAAC,EAAE,UAAU,EACb,OAAO,EAAE,SAAS,EAClB,SAAS,GAAE,SAAsB,GAChC,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;WAatB,aAAa,CACxB,CAAC,EAAE,UAAU,EACb,SAAS,EAAE,SAAS,EAAE,EACtB,SAAS,GAAE,SAAsB,GAChC,OAAO,CAAC,KAAK,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IAe1C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB;IAU7C,MAAM,IAAI,oBAAoB;IAI9B,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,oBAAoB,GAAG,gBAAgB;CAG7D"}
@@ -0,0 +1,72 @@
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.ItemReserveList2 = 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 ItemReserveList2 {
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(ItemReserveList2.discriminator)) {
55
+ throw new Error("invalid account discriminator");
56
+ }
57
+ const dec = ItemReserveList2.layout.decode(data.slice(8));
58
+ return new ItemReserveList2({});
59
+ }
60
+ toJSON() {
61
+ return {};
62
+ }
63
+ static fromJSON(obj) {
64
+ return new ItemReserveList2({});
65
+ }
66
+ }
67
+ exports.ItemReserveList2 = ItemReserveList2;
68
+ ItemReserveList2.discriminator = Buffer.from([
69
+ 228, 108, 231, 95, 72, 92, 29, 53,
70
+ ]);
71
+ ItemReserveList2.layout = borsh.struct([]);
72
+ //# sourceMappingURL=ItemReserveList2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemReserveList2.js","sourceRoot":"","sources":["../../../src/types/accounts/ItemReserveList2.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wDAAyC,CAAC,wDAAwD;AAElG,4CAAyC;AAMzC,MAAa,gBAAgB;IAO3B,YAAY,MAA8B,IAAG,CAAC;IAE9C,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,CAAA;YACb,CAAC;YACD,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC;gBAClC,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAA;YAC3D,CAAC;YAED,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAC/B,CAAC,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,IAAY;QACxB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,aAAa,CAAC,EAAE,CAAC;YAC7D,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAA;QAClD,CAAC;QAED,MAAM,GAAG,GAAG,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;QAEzD,OAAO,IAAI,gBAAgB,CAAC,EAAE,CAAC,CAAA;IACjC,CAAC;IAED,MAAM;QACJ,OAAO,EAAE,CAAA;IACX,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,GAAyB;QACvC,OAAO,IAAI,gBAAgB,CAAC,EAAE,CAAC,CAAA;IACjC,CAAC;;AA7DH,4CA8DC;AA7DiB,8BAAa,GAAG,MAAM,CAAC,IAAI,CAAC;IAC1C,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;CAClC,CAAC,CAAA;AAEc,uBAAM,GAAG,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { PublicKey, Connection } from "@solana/web3.js";
2
+ export interface LutVaultFields {
3
+ address: PublicKey;
4
+ creator: PublicKey;
5
+ }
6
+ export interface LutVaultJSON {
7
+ address: string;
8
+ creator: string;
9
+ }
10
+ export declare class LutVault {
11
+ readonly address: PublicKey;
12
+ readonly creator: PublicKey;
13
+ static readonly discriminator: Buffer;
14
+ static readonly layout: any;
15
+ constructor(fields: LutVaultFields);
16
+ static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<LutVault | null>;
17
+ static fetchMultiple(c: Connection, addresses: PublicKey[], programId?: PublicKey): Promise<Array<LutVault | null>>;
18
+ static decode(data: Buffer): LutVault;
19
+ toJSON(): LutVaultJSON;
20
+ static fromJSON(obj: LutVaultJSON): LutVault;
21
+ }
22
+ //# sourceMappingURL=LutVault.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LutVault.d.ts","sourceRoot":"","sources":["../../../src/types/accounts/LutVault.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAMvD,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,SAAS,CAAA;IAClB,OAAO,EAAE,SAAS,CAAA;CACnB;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,qBAAa,QAAQ;IACnB,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAA;IAC3B,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAA;IAE3B,MAAM,CAAC,QAAQ,CAAC,aAAa,SAE3B;IAEF,MAAM,CAAC,QAAQ,CAAC,MAAM,MAGpB;gBAEU,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"}
@@ -0,0 +1,88 @@
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.LutVault = 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 LutVault {
31
+ constructor(fields) {
32
+ this.address = fields.address;
33
+ this.creator = fields.creator;
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(LutVault.discriminator)) {
59
+ throw new Error("invalid account discriminator");
60
+ }
61
+ const dec = LutVault.layout.decode(data.slice(8));
62
+ return new LutVault({
63
+ address: dec.address,
64
+ creator: dec.creator,
65
+ });
66
+ }
67
+ toJSON() {
68
+ return {
69
+ address: this.address.toString(),
70
+ creator: this.creator.toString(),
71
+ };
72
+ }
73
+ static fromJSON(obj) {
74
+ return new LutVault({
75
+ address: new web3_js_1.PublicKey(obj.address),
76
+ creator: new web3_js_1.PublicKey(obj.creator),
77
+ });
78
+ }
79
+ }
80
+ exports.LutVault = LutVault;
81
+ LutVault.discriminator = Buffer.from([
82
+ 156, 232, 87, 247, 4, 41, 107, 182,
83
+ ]);
84
+ LutVault.layout = borsh.struct([
85
+ borsh.publicKey("address"),
86
+ borsh.publicKey("creator"),
87
+ ]);
88
+ //# sourceMappingURL=LutVault.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LutVault.js","sourceRoot":"","sources":["../../../src/types/accounts/LutVault.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAuD;AAEvD,wDAAyC,CAAC,wDAAwD;AAElG,4CAAyC;AAYzC,MAAa,QAAQ;IAanB,YAAY,MAAsB;QAChC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAA;QAC7B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAA;IAC/B,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,IAA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EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE;YAChC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE;SACjC,CAAA;IACH,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,GAAiB;QAC/B,OAAO,IAAI,QAAQ,CAAC;YAClB,OAAO,EAAE,IAAI,mBAAS,CAAC,GAAG,CAAC,OAAO,CAAC;YACnC,OAAO,EAAE,IAAI,mBAAS,CAAC,GAAG,CAAC,OAAO,CAAC;SACpC,CAAC,CAAA;IACJ,CAAC;;AA/EH,4BAgFC;AA5EiB,sBAAa,GAAG,MAAM,CAAC,IAAI,CAAC;IAC1C,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG;CACnC,CAAC,CAAA;AAEc,eAAM,GAAG,KAAK,CAAC,MAAM,CAAC;IACpC,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC;CAC3B,CAAC,CAAA"}
@@ -0,0 +1,123 @@
1
+ import { PublicKey, Connection } from "@solana/web3.js";
2
+ import BN from "bn.js";
3
+ import * as types from "../types";
4
+ export interface PackFields {
5
+ class: types.AccountClassKind;
6
+ globalState: types.GlobalStateKind;
7
+ holder: PublicKey;
8
+ creator: PublicKey;
9
+ dates: types.IndexDatesFields;
10
+ category: types.CategoryFields;
11
+ superCategory: types.SuperCategoryFields;
12
+ eventCategory: number;
13
+ trackType: types.TrackRegistryKind;
14
+ mainCurrencyHash: BN;
15
+ track: types.ItemTrackFields;
16
+ popularity: types.PopularityFields;
17
+ filtering: types.FilterFields;
18
+ page: BN;
19
+ manager: PublicKey;
20
+ isServerless: number;
21
+ availableOption: number;
22
+ hasWrappedTokens: number;
23
+ burntPieces: number;
24
+ flag: Array<number>;
25
+ item: types.ItemFields;
26
+ count: BN;
27
+ live: BN;
28
+ available: BN;
29
+ printed: BN;
30
+ saleConfig: types.SaleConfigFields;
31
+ opened: BN;
32
+ owed: BN;
33
+ identifier: BN;
34
+ hash: BN;
35
+ hashTraits: BN;
36
+ packConfig: types.PackConfigFields;
37
+ volume: Array<types.FakeVolumeTrackFields>;
38
+ delegate: Array<PublicKey>;
39
+ extra: Array<number>;
40
+ }
41
+ export interface PackJSON {
42
+ class: types.AccountClassJSON;
43
+ globalState: types.GlobalStateJSON;
44
+ holder: string;
45
+ creator: string;
46
+ dates: types.IndexDatesJSON;
47
+ category: types.CategoryJSON;
48
+ superCategory: types.SuperCategoryJSON;
49
+ eventCategory: number;
50
+ trackType: types.TrackRegistryJSON;
51
+ mainCurrencyHash: string;
52
+ track: types.ItemTrackJSON;
53
+ popularity: types.PopularityJSON;
54
+ filtering: types.FilterJSON;
55
+ page: string;
56
+ manager: string;
57
+ isServerless: number;
58
+ availableOption: number;
59
+ hasWrappedTokens: number;
60
+ burntPieces: number;
61
+ flag: Array<number>;
62
+ item: types.ItemJSON;
63
+ count: string;
64
+ live: string;
65
+ available: string;
66
+ printed: string;
67
+ saleConfig: types.SaleConfigJSON;
68
+ opened: string;
69
+ owed: string;
70
+ identifier: string;
71
+ hash: string;
72
+ hashTraits: string;
73
+ packConfig: types.PackConfigJSON;
74
+ volume: Array<types.FakeVolumeTrackJSON>;
75
+ delegate: Array<string>;
76
+ extra: Array<number>;
77
+ }
78
+ export declare class Pack {
79
+ readonly class: types.AccountClassKind;
80
+ readonly globalState: types.GlobalStateKind;
81
+ readonly holder: PublicKey;
82
+ readonly creator: PublicKey;
83
+ readonly dates: types.IndexDates;
84
+ readonly category: types.Category;
85
+ readonly superCategory: types.SuperCategory;
86
+ readonly eventCategory: number;
87
+ readonly trackType: types.TrackRegistryKind;
88
+ readonly mainCurrencyHash: BN;
89
+ readonly track: types.ItemTrack;
90
+ readonly popularity: types.Popularity;
91
+ readonly filtering: types.Filter;
92
+ readonly page: BN;
93
+ readonly manager: PublicKey;
94
+ readonly isServerless: number;
95
+ readonly availableOption: number;
96
+ readonly hasWrappedTokens: number;
97
+ readonly burntPieces: number;
98
+ readonly flag: Array<number>;
99
+ readonly item: types.Item;
100
+ readonly count: BN;
101
+ readonly live: BN;
102
+ readonly available: BN;
103
+ readonly printed: BN;
104
+ readonly saleConfig: types.SaleConfig;
105
+ readonly opened: BN;
106
+ readonly owed: BN;
107
+ readonly identifier: BN;
108
+ readonly hash: BN;
109
+ readonly hashTraits: BN;
110
+ readonly packConfig: types.PackConfig;
111
+ readonly volume: Array<types.FakeVolumeTrack>;
112
+ readonly delegate: Array<PublicKey>;
113
+ readonly extra: Array<number>;
114
+ static readonly discriminator: Buffer;
115
+ static readonly layout: any;
116
+ constructor(fields: PackFields);
117
+ static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<Pack | null>;
118
+ static fetchMultiple(c: Connection, addresses: PublicKey[], programId?: PublicKey): Promise<Array<Pack | null>>;
119
+ static decode(data: Buffer): Pack;
120
+ toJSON(): PackJSON;
121
+ static fromJSON(obj: PackJSON): Pack;
122
+ }
123
+ //# sourceMappingURL=Pack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pack.d.ts","sourceRoot":"","sources":["../../../src/types/accounts/Pack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACvD,OAAO,EAAE,MAAM,OAAO,CAAA;AAEtB,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,KAAK,CAAC,gBAAgB,CAAA;IAC7B,WAAW,EAAE,KAAK,CAAC,eAAe,CAAA;IAClC,MAAM,EAAE,SAAS,CAAA;IACjB,OAAO,EAAE,SAAS,CAAA;IAClB,KAAK,EAAE,KAAK,CAAC,gBAAgB,CAAA;IAC7B,QAAQ,EAAE,KAAK,CAAC,cAAc,CAAA;IAC9B,aAAa,EAAE,KAAK,CAAC,mBAAmB,CAAA;IACxC,aAAa,EAAE,M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