3land_sdk 1.0.7 → 1.0.8

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