@ar.io/sdk 4.0.0-solana.9 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (533) hide show
  1. package/README.md +721 -673
  2. package/lib/esm/cli/cli.js +28 -152
  3. package/lib/esm/cli/commands/antCommands.js +5 -66
  4. package/lib/esm/cli/commands/arnsPurchaseCommands.js +7 -28
  5. package/lib/esm/cli/commands/escrowCommands.js +23 -4
  6. package/lib/esm/cli/commands/gatewayWriteCommands.js +15 -8
  7. package/lib/esm/cli/commands/pruneCommands.js +14 -26
  8. package/lib/esm/cli/commands/readCommands.js +12 -1
  9. package/lib/esm/cli/options.js +2 -75
  10. package/lib/esm/cli/utils.js +96 -209
  11. package/lib/esm/common/ant-registry.js +12 -160
  12. package/lib/esm/common/ant.js +40 -1208
  13. package/lib/esm/common/faucet.js +17 -6
  14. package/lib/esm/common/index.js +0 -4
  15. package/lib/esm/common/io.js +13 -1441
  16. package/lib/esm/constants.js +0 -18
  17. package/lib/esm/solana/ant-readable.js +391 -54
  18. package/lib/esm/solana/ant-registry-readable.js +15 -0
  19. package/lib/esm/solana/ant-registry-writeable.js +19 -4
  20. package/lib/esm/solana/ant-writeable.js +43 -11
  21. package/lib/esm/solana/ata.js +15 -0
  22. package/lib/esm/solana/canonical-message.js +45 -9
  23. package/lib/esm/solana/clusters.js +71 -22
  24. package/lib/esm/solana/constants.js +21 -5
  25. package/lib/esm/solana/delegation-math.js +49 -0
  26. package/lib/esm/solana/deserialize.js +263 -727
  27. package/lib/esm/solana/escrow.js +145 -103
  28. package/lib/esm/solana/events.js +20 -199
  29. package/lib/esm/solana/funding-plan.js +19 -2
  30. package/lib/esm/solana/index.js +53 -12
  31. package/lib/esm/solana/instruction.js +15 -0
  32. package/lib/esm/solana/io-readable.js +510 -58
  33. package/lib/esm/solana/io-writeable.js +1179 -183
  34. package/lib/esm/solana/json-rpc.js +20 -4
  35. package/lib/esm/solana/metadata.js +15 -0
  36. package/lib/esm/solana/mpl-core.js +55 -5
  37. package/lib/esm/solana/pda.js +15 -0
  38. package/lib/esm/solana/predict-prescribed-observers.js +110 -0
  39. package/lib/esm/solana/retry.js +117 -0
  40. package/lib/esm/solana/rpc-circuit-breaker.js +258 -0
  41. package/lib/esm/solana/send.js +258 -3
  42. package/lib/esm/solana/spawn-ant.js +16 -2
  43. package/lib/esm/types/ant.js +8 -8
  44. package/lib/esm/types/io.js +0 -10
  45. package/lib/esm/utils/ant.js +0 -64
  46. package/lib/esm/utils/index.js +0 -3
  47. package/lib/esm/version.js +1 -1
  48. package/lib/types/cli/commands/antCommands.d.ts +6 -9
  49. package/lib/types/cli/commands/arnsPurchaseCommands.d.ts +27 -13
  50. package/lib/types/cli/commands/escrowCommands.d.ts +6 -0
  51. package/lib/types/cli/commands/gatewayWriteCommands.d.ts +12 -11
  52. package/lib/types/cli/commands/pruneCommands.d.ts +11 -11
  53. package/lib/types/cli/commands/readCommands.d.ts +25 -22
  54. package/lib/types/cli/commands/transfer.d.ts +9 -9
  55. package/lib/types/cli/options.d.ts +0 -57
  56. package/lib/types/cli/types.d.ts +6 -14
  57. package/lib/types/cli/utils.d.ts +34 -32
  58. package/lib/types/common/ant-registry.d.ts +35 -74
  59. package/lib/types/common/ant.d.ts +52 -570
  60. package/lib/types/common/faucet.d.ts +20 -8
  61. package/lib/types/common/index.d.ts +0 -3
  62. package/lib/types/common/io.d.ts +56 -288
  63. package/lib/types/constants.d.ts +0 -17
  64. package/lib/types/solana/ant-readable.d.ts +65 -6
  65. package/lib/types/solana/ant-registry-readable.d.ts +17 -2
  66. package/lib/types/solana/ant-registry-writeable.d.ts +20 -5
  67. package/lib/types/solana/ant-writeable.d.ts +39 -24
  68. package/lib/types/solana/ata.d.ts +15 -0
  69. package/lib/types/solana/canonical-message.d.ts +44 -5
  70. package/lib/types/solana/clusters.d.ts +68 -21
  71. package/lib/types/solana/constants.d.ts +16 -0
  72. package/lib/types/solana/delegation-math.d.ts +25 -0
  73. package/lib/types/solana/deserialize.d.ts +28 -198
  74. package/lib/types/solana/escrow.d.ts +128 -51
  75. package/lib/types/solana/events.d.ts +26 -144
  76. package/lib/types/solana/funding-plan.d.ts +15 -0
  77. package/lib/types/solana/index.d.ts +27 -3
  78. package/lib/types/solana/instruction.d.ts +15 -0
  79. package/lib/types/solana/io-readable.d.ts +185 -46
  80. package/lib/types/solana/io-writeable.d.ts +450 -77
  81. package/lib/types/solana/json-rpc.d.ts +15 -0
  82. package/lib/types/solana/metadata.d.ts +15 -0
  83. package/lib/types/solana/mpl-core.d.ts +44 -0
  84. package/lib/types/solana/predict-prescribed-observers.d.ts +28 -0
  85. package/lib/types/solana/retry.d.ts +62 -0
  86. package/lib/types/solana/rpc-circuit-breaker.d.ts +78 -0
  87. package/lib/types/solana/send.d.ts +80 -2
  88. package/lib/types/solana/spawn-ant.d.ts +15 -0
  89. package/lib/types/solana/types.d.ts +15 -0
  90. package/lib/types/types/ant-registry.d.ts +4 -4
  91. package/lib/types/types/ant.d.ts +92 -92
  92. package/lib/types/types/common.d.ts +18 -74
  93. package/lib/types/types/faucet.d.ts +2 -2
  94. package/lib/types/types/io.d.ts +189 -158
  95. package/lib/types/types/token.d.ts +0 -12
  96. package/lib/types/utils/ant.d.ts +1 -12
  97. package/lib/types/utils/index.d.ts +0 -3
  98. package/lib/types/version.d.ts +1 -1
  99. package/package.json +23 -37
  100. package/lib/esm/common/ant-versions.js +0 -87
  101. package/lib/esm/common/arweave.js +0 -21
  102. package/lib/esm/common/contracts/ao-process.js +0 -218
  103. package/lib/esm/common/hyperbeam/hb.js +0 -169
  104. package/lib/esm/common/marketplace.js +0 -669
  105. package/lib/esm/common/turbo.js +0 -215
  106. package/lib/esm/node/index.js +0 -20
  107. package/lib/esm/solana/generated/ant/events/aclEntryAddedEvent.js +0 -21
  108. package/lib/esm/solana/generated/ant/events/aclEntryRemovedEvent.js +0 -21
  109. package/lib/esm/solana/generated/ant/events/antMetadataUpdatedEvent.js +0 -21
  110. package/lib/esm/solana/generated/ant/events/antReconciledEvent.js +0 -21
  111. package/lib/esm/solana/generated/ant/events/antTransferredEvent.js +0 -21
  112. package/lib/esm/solana/generated/ant/events/attributesClearedEvent.js +0 -21
  113. package/lib/esm/solana/generated/ant/events/attributesSyncedEvent.js +0 -21
  114. package/lib/esm/solana/generated/ant/events/controllerAddedEvent.js +0 -21
  115. package/lib/esm/solana/generated/ant/events/controllerRemovedEvent.js +0 -21
  116. package/lib/esm/solana/generated/ant/events/index.js +0 -16
  117. package/lib/esm/solana/generated/ant/events/recordMetadataPrunedEvent.js +0 -21
  118. package/lib/esm/solana/generated/ant/events/recordMetadataRemovedEvent.js +0 -21
  119. package/lib/esm/solana/generated/ant/events/recordMetadataUpdatedEvent.js +0 -21
  120. package/lib/esm/solana/generated/ant/events/recordRemovedEvent.js +0 -21
  121. package/lib/esm/solana/generated/ant/events/recordSetEvent.js +0 -21
  122. package/lib/esm/solana/generated/ant/events/recordTransferredEvent.js +0 -21
  123. package/lib/esm/solana/generated/ant-escrow/events/escrowCancelledEvent.js +0 -21
  124. package/lib/esm/solana/generated/ant-escrow/events/escrowClaimedEvent.js +0 -21
  125. package/lib/esm/solana/generated/ant-escrow/events/escrowDepositedEvent.js +0 -21
  126. package/lib/esm/solana/generated/ant-escrow/events/escrowRecipientUpdatedEvent.js +0 -21
  127. package/lib/esm/solana/generated/ant-escrow/events/index.js +0 -5
  128. package/lib/esm/solana/generated/arns/events/demandFactorUpdatedEvent.js +0 -21
  129. package/lib/esm/solana/generated/arns/events/index.js +0 -13
  130. package/lib/esm/solana/generated/arns/events/leaseExtendedEvent.js +0 -21
  131. package/lib/esm/solana/generated/arns/events/namePurchasedEvent.js +0 -21
  132. package/lib/esm/solana/generated/arns/events/nameReassignedEvent.js +0 -21
  133. package/lib/esm/solana/generated/arns/events/nameReleasedEvent.js +0 -21
  134. package/lib/esm/solana/generated/arns/events/nameReservedEvent.js +0 -21
  135. package/lib/esm/solana/generated/arns/events/nameUnreservedEvent.js +0 -21
  136. package/lib/esm/solana/generated/arns/events/nameUpgradedEvent.js +0 -21
  137. package/lib/esm/solana/generated/arns/events/namesPrunedEvent.js +0 -21
  138. package/lib/esm/solana/generated/arns/events/reservedNameClaimedEvent.js +0 -21
  139. package/lib/esm/solana/generated/arns/events/returnedNamePurchasedEvent.js +0 -21
  140. package/lib/esm/solana/generated/arns/events/undernameIncreasedEvent.js +0 -21
  141. package/lib/esm/solana/generated/core/events/configUpdatedEvent.js +0 -21
  142. package/lib/esm/solana/generated/core/events/coreMigrationFinalizedEvent.js +0 -21
  143. package/lib/esm/solana/generated/core/events/index.js +0 -14
  144. package/lib/esm/solana/generated/core/events/primaryNameRemovedEvent.js +0 -21
  145. package/lib/esm/solana/generated/core/events/primaryNameRequestExpiredEvent.js +0 -21
  146. package/lib/esm/solana/generated/core/events/primaryNameRequestedEvent.js +0 -21
  147. package/lib/esm/solana/generated/core/events/primaryNameSetEvent.js +0 -21
  148. package/lib/esm/solana/generated/core/events/supplyFinalizedEvent.js +0 -21
  149. package/lib/esm/solana/generated/core/events/transferEvent.js +0 -21
  150. package/lib/esm/solana/generated/core/events/vaultCreatedEvent.js +0 -21
  151. package/lib/esm/solana/generated/core/events/vaultExtendedEvent.js +0 -21
  152. package/lib/esm/solana/generated/core/events/vaultIncreasedEvent.js +0 -21
  153. package/lib/esm/solana/generated/core/events/vaultReleasedEvent.js +0 -21
  154. package/lib/esm/solana/generated/core/events/vaultRevokedEvent.js +0 -21
  155. package/lib/esm/solana/generated/gar/events/allowlistToggledEvent.js +0 -21
  156. package/lib/esm/solana/generated/gar/events/delegateAllowlistedEvent.js +0 -21
  157. package/lib/esm/solana/generated/gar/events/delegationClosedEvent.js +0 -21
  158. package/lib/esm/solana/generated/gar/events/delegationDecreasedEvent.js +0 -21
  159. package/lib/esm/solana/generated/gar/events/delegationEvent.js +0 -21
  160. package/lib/esm/solana/generated/gar/events/epochClosedEvent.js +0 -21
  161. package/lib/esm/solana/generated/gar/events/epochCreatedEvent.js +0 -21
  162. package/lib/esm/solana/generated/gar/events/epochDistributedEvent.js +0 -21
  163. package/lib/esm/solana/generated/gar/events/epochPrescribedEvent.js +0 -21
  164. package/lib/esm/solana/generated/gar/events/epochWeightsTalliedEvent.js +0 -21
  165. package/lib/esm/solana/generated/gar/events/epochsToggledEvent.js +0 -21
  166. package/lib/esm/solana/generated/gar/events/fundingPlanAppliedEvent.js +0 -21
  167. package/lib/esm/solana/generated/gar/events/garMigrationFinalizedEvent.js +0 -21
  168. package/lib/esm/solana/generated/gar/events/gatewayFinalizedEvent.js +0 -21
  169. package/lib/esm/solana/generated/gar/events/gatewayJoinedEvent.js +0 -21
  170. package/lib/esm/solana/generated/gar/events/gatewayLeavingEvent.js +0 -21
  171. package/lib/esm/solana/generated/gar/events/gatewayPrunedEvent.js +0 -21
  172. package/lib/esm/solana/generated/gar/events/gatewaySettingsUpdatedEvent.js +0 -21
  173. package/lib/esm/solana/generated/gar/events/index.js +0 -31
  174. package/lib/esm/solana/generated/gar/events/instantWithdrawalEvent.js +0 -21
  175. package/lib/esm/solana/generated/gar/events/observationSubmittedEvent.js +0 -21
  176. package/lib/esm/solana/generated/gar/events/observerAddressUpdatedEvent.js +0 -21
  177. package/lib/esm/solana/generated/gar/events/operatorStakeIncreasedEvent.js +0 -21
  178. package/lib/esm/solana/generated/gar/events/redelegationEvent.js +0 -21
  179. package/lib/esm/solana/generated/gar/events/residueVaultCreatedEvent.js +0 -21
  180. package/lib/esm/solana/generated/gar/events/rewardsCompoundedEvent.js +0 -21
  181. package/lib/esm/solana/generated/gar/events/stakePaymentEvent.js +0 -21
  182. package/lib/esm/solana/generated/gar/events/withdrawalCancelledEvent.js +0 -21
  183. package/lib/esm/solana/generated/gar/events/withdrawalClaimedEvent.js +0 -21
  184. package/lib/esm/solana/generated/gar/events/withdrawalCreatedEvent.js +0 -21
  185. package/lib/esm/solana/generated/gar/events/withdrawalPaymentEvent.js +0 -21
  186. package/lib/esm/solana/generated/mpl-core/accounts/assetV1.js +0 -42
  187. package/lib/esm/solana/generated/mpl-core/accounts/collectionV1.js +0 -42
  188. package/lib/esm/solana/generated/mpl-core/accounts/hashedAssetV1.js +0 -45
  189. package/lib/esm/solana/generated/mpl-core/accounts/index.js +0 -12
  190. package/lib/esm/solana/generated/mpl-core/accounts/pluginHeaderV1.js +0 -45
  191. package/lib/esm/solana/generated/mpl-core/accounts/pluginRegistryV1.js +0 -42
  192. package/lib/esm/solana/generated/mpl-core/errors/index.js +0 -8
  193. package/lib/esm/solana/generated/mpl-core/errors/mplCore.js +0 -136
  194. package/lib/esm/solana/generated/mpl-core/index.js +0 -8
  195. package/lib/esm/solana/generated/mpl-core/instructions/addCollectionExternalPluginAdapterV1.js +0 -53
  196. package/lib/esm/solana/generated/mpl-core/instructions/addCollectionPluginV1.js +0 -53
  197. package/lib/esm/solana/generated/mpl-core/instructions/addExternalPluginAdapterV1.js +0 -53
  198. package/lib/esm/solana/generated/mpl-core/instructions/addPluginV1.js +0 -53
  199. package/lib/esm/solana/generated/mpl-core/instructions/approveCollectionPluginAuthorityV1.js +0 -53
  200. package/lib/esm/solana/generated/mpl-core/instructions/approvePluginAuthorityV1.js +0 -53
  201. package/lib/esm/solana/generated/mpl-core/instructions/burnCollectionV1.js +0 -49
  202. package/lib/esm/solana/generated/mpl-core/instructions/burnV1.js +0 -49
  203. package/lib/esm/solana/generated/mpl-core/instructions/collect.js +0 -42
  204. package/lib/esm/solana/generated/mpl-core/instructions/compressV1.js +0 -50
  205. package/lib/esm/solana/generated/mpl-core/instructions/createCollectionV1.js +0 -53
  206. package/lib/esm/solana/generated/mpl-core/instructions/createCollectionV2.js +0 -53
  207. package/lib/esm/solana/generated/mpl-core/instructions/createV1.js +0 -53
  208. package/lib/esm/solana/generated/mpl-core/instructions/createV2.js +0 -53
  209. package/lib/esm/solana/generated/mpl-core/instructions/decompressV1.js +0 -53
  210. package/lib/esm/solana/generated/mpl-core/instructions/executeV1.js +0 -56
  211. package/lib/esm/solana/generated/mpl-core/instructions/index.js +0 -40
  212. package/lib/esm/solana/generated/mpl-core/instructions/removeCollectionExternalPluginAdapterV1.js +0 -53
  213. package/lib/esm/solana/generated/mpl-core/instructions/removeCollectionPluginV1.js +0 -53
  214. package/lib/esm/solana/generated/mpl-core/instructions/removeExternalPluginAdapterV1.js +0 -53
  215. package/lib/esm/solana/generated/mpl-core/instructions/removePluginV1.js +0 -53
  216. package/lib/esm/solana/generated/mpl-core/instructions/revokeCollectionPluginAuthorityV1.js +0 -53
  217. package/lib/esm/solana/generated/mpl-core/instructions/revokePluginAuthorityV1.js +0 -53
  218. package/lib/esm/solana/generated/mpl-core/instructions/transferV1.js +0 -49
  219. package/lib/esm/solana/generated/mpl-core/instructions/updateCollectionExternalPluginAdapterV1.js +0 -53
  220. package/lib/esm/solana/generated/mpl-core/instructions/updateCollectionInfoV1.js +0 -45
  221. package/lib/esm/solana/generated/mpl-core/instructions/updateCollectionPluginV1.js +0 -53
  222. package/lib/esm/solana/generated/mpl-core/instructions/updateCollectionV1.js +0 -52
  223. package/lib/esm/solana/generated/mpl-core/instructions/updateExternalPluginAdapterV1.js +0 -53
  224. package/lib/esm/solana/generated/mpl-core/instructions/updatePluginV1.js +0 -53
  225. package/lib/esm/solana/generated/mpl-core/instructions/updateV1.js +0 -53
  226. package/lib/esm/solana/generated/mpl-core/instructions/updateV2.js +0 -53
  227. package/lib/esm/solana/generated/mpl-core/instructions/writeCollectionExternalPluginAdapterDataV1.js +0 -53
  228. package/lib/esm/solana/generated/mpl-core/instructions/writeExternalPluginAdapterDataV1.js +0 -53
  229. package/lib/esm/solana/generated/mpl-core/program-address.js +0 -1
  230. package/lib/esm/solana/generated/mpl-core/types/addAssetsToGroupV1Args.js +0 -17
  231. package/lib/esm/solana/generated/mpl-core/types/addBlocker.js +0 -17
  232. package/lib/esm/solana/generated/mpl-core/types/addCollectionsToGroupV1Args.js +0 -17
  233. package/lib/esm/solana/generated/mpl-core/types/addGroupsToGroupV1Args.js +0 -17
  234. package/lib/esm/solana/generated/mpl-core/types/agentIdentity.js +0 -17
  235. package/lib/esm/solana/generated/mpl-core/types/agentIdentityInitInfo.js +0 -18
  236. package/lib/esm/solana/generated/mpl-core/types/agentIdentityUpdateInfo.js +0 -18
  237. package/lib/esm/solana/generated/mpl-core/types/appData.js +0 -18
  238. package/lib/esm/solana/generated/mpl-core/types/appDataInitInfo.js +0 -18
  239. package/lib/esm/solana/generated/mpl-core/types/appDataUpdateInfo.js +0 -18
  240. package/lib/esm/solana/generated/mpl-core/types/attribute.js +0 -17
  241. package/lib/esm/solana/generated/mpl-core/types/attributes.js +0 -18
  242. package/lib/esm/solana/generated/mpl-core/types/authority.js +0 -24
  243. package/lib/esm/solana/generated/mpl-core/types/autograph.js +0 -18
  244. package/lib/esm/solana/generated/mpl-core/types/autographSignature.js +0 -17
  245. package/lib/esm/solana/generated/mpl-core/types/bubblegumV2.js +0 -17
  246. package/lib/esm/solana/generated/mpl-core/types/burnDelegate.js +0 -17
  247. package/lib/esm/solana/generated/mpl-core/types/closeGroupV1Args.js +0 -17
  248. package/lib/esm/solana/generated/mpl-core/types/compressionProof.js +0 -18
  249. package/lib/esm/solana/generated/mpl-core/types/creator.js +0 -17
  250. package/lib/esm/solana/generated/mpl-core/types/dataSection.js +0 -18
  251. package/lib/esm/solana/generated/mpl-core/types/dataSectionInitInfo.js +0 -18
  252. package/lib/esm/solana/generated/mpl-core/types/dataSectionUpdateInfo.js +0 -17
  253. package/lib/esm/solana/generated/mpl-core/types/dataState.js +0 -23
  254. package/lib/esm/solana/generated/mpl-core/types/edition.js +0 -17
  255. package/lib/esm/solana/generated/mpl-core/types/externalCheckResult.js +0 -17
  256. package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapter.js +0 -25
  257. package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterInitInfo.js +0 -25
  258. package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterKey.js +0 -25
  259. package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterSchema.js +0 -24
  260. package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterType.js +0 -28
  261. package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterUpdateInfo.js +0 -25
  262. package/lib/esm/solana/generated/mpl-core/types/externalRegistryRecord.js +0 -18
  263. package/lib/esm/solana/generated/mpl-core/types/externalValidationResult.js +0 -24
  264. package/lib/esm/solana/generated/mpl-core/types/extraAccount.js +0 -25
  265. package/lib/esm/solana/generated/mpl-core/types/freezeDelegate.js +0 -17
  266. package/lib/esm/solana/generated/mpl-core/types/freezeExecute.js +0 -17
  267. package/lib/esm/solana/generated/mpl-core/types/groups.js +0 -17
  268. package/lib/esm/solana/generated/mpl-core/types/hashablePluginSchema.js +0 -18
  269. package/lib/esm/solana/generated/mpl-core/types/hashedAssetSchema.js +0 -17
  270. package/lib/esm/solana/generated/mpl-core/types/hookableLifecycleEvent.js +0 -26
  271. package/lib/esm/solana/generated/mpl-core/types/immutableMetadata.js +0 -17
  272. package/lib/esm/solana/generated/mpl-core/types/index.js +0 -89
  273. package/lib/esm/solana/generated/mpl-core/types/key.js +0 -28
  274. package/lib/esm/solana/generated/mpl-core/types/lifecycleHook.js +0 -18
  275. package/lib/esm/solana/generated/mpl-core/types/lifecycleHookInitInfo.js +0 -18
  276. package/lib/esm/solana/generated/mpl-core/types/lifecycleHookUpdateInfo.js +0 -18
  277. package/lib/esm/solana/generated/mpl-core/types/linkedAppData.js +0 -18
  278. package/lib/esm/solana/generated/mpl-core/types/linkedAppDataInitInfo.js +0 -18
  279. package/lib/esm/solana/generated/mpl-core/types/linkedAppDataUpdateInfo.js +0 -18
  280. package/lib/esm/solana/generated/mpl-core/types/linkedDataKey.js +0 -25
  281. package/lib/esm/solana/generated/mpl-core/types/linkedLifecycleHook.js +0 -18
  282. package/lib/esm/solana/generated/mpl-core/types/linkedLifecycleHookInitInfo.js +0 -18
  283. package/lib/esm/solana/generated/mpl-core/types/linkedLifecycleHookUpdateInfo.js +0 -18
  284. package/lib/esm/solana/generated/mpl-core/types/masterEdition.js +0 -17
  285. package/lib/esm/solana/generated/mpl-core/types/oracle.js +0 -18
  286. package/lib/esm/solana/generated/mpl-core/types/oracleInitInfo.js +0 -18
  287. package/lib/esm/solana/generated/mpl-core/types/oracleUpdateInfo.js +0 -18
  288. package/lib/esm/solana/generated/mpl-core/types/oracleValidation.js +0 -25
  289. package/lib/esm/solana/generated/mpl-core/types/permanentBurnDelegate.js +0 -17
  290. package/lib/esm/solana/generated/mpl-core/types/permanentFreezeDelegate.js +0 -17
  291. package/lib/esm/solana/generated/mpl-core/types/permanentFreezeExecute.js +0 -17
  292. package/lib/esm/solana/generated/mpl-core/types/permanentTransferDelegate.js +0 -17
  293. package/lib/esm/solana/generated/mpl-core/types/plugin.js +0 -25
  294. package/lib/esm/solana/generated/mpl-core/types/pluginAuthorityPair.js +0 -18
  295. package/lib/esm/solana/generated/mpl-core/types/pluginType.js +0 -40
  296. package/lib/esm/solana/generated/mpl-core/types/registryRecord.js +0 -18
  297. package/lib/esm/solana/generated/mpl-core/types/relationshipKind.js +0 -25
  298. package/lib/esm/solana/generated/mpl-core/types/removeAssetsFromGroupV1Args.js +0 -17
  299. package/lib/esm/solana/generated/mpl-core/types/removeCollectionsFromGroupV1Args.js +0 -17
  300. package/lib/esm/solana/generated/mpl-core/types/removeGroupsFromGroupV1Args.js +0 -17
  301. package/lib/esm/solana/generated/mpl-core/types/royalties.js +0 -18
  302. package/lib/esm/solana/generated/mpl-core/types/ruleSet.js +0 -24
  303. package/lib/esm/solana/generated/mpl-core/types/seed.js +0 -24
  304. package/lib/esm/solana/generated/mpl-core/types/transferDelegate.js +0 -17
  305. package/lib/esm/solana/generated/mpl-core/types/updateAuthority.js +0 -24
  306. package/lib/esm/solana/generated/mpl-core/types/updateDelegate.js +0 -17
  307. package/lib/esm/solana/generated/mpl-core/types/updateGroupV1Args.js +0 -17
  308. package/lib/esm/solana/generated/mpl-core/types/updateType.js +0 -24
  309. package/lib/esm/solana/generated/mpl-core/types/validationResult.js +0 -25
  310. package/lib/esm/solana/generated/mpl-core/types/validationResultsOffset.js +0 -24
  311. package/lib/esm/solana/generated/mpl-core/types/verifiedCreators.js +0 -18
  312. package/lib/esm/solana/generated/mpl-core/types/verifiedCreatorsSignature.js +0 -17
  313. package/lib/esm/utils/ao.js +0 -421
  314. package/lib/esm/utils/arweave.js +0 -271
  315. package/lib/esm/utils/processes.js +0 -167
  316. package/lib/esm/web/index.js +0 -20
  317. package/lib/types/common/ant-versions.d.ts +0 -39
  318. package/lib/types/common/arweave.d.ts +0 -17
  319. package/lib/types/common/contracts/ao-process.d.ts +0 -33
  320. package/lib/types/common/hyperbeam/hb.d.ts +0 -88
  321. package/lib/types/common/marketplace.d.ts +0 -556
  322. package/lib/types/common/turbo.d.ts +0 -61
  323. package/lib/types/node/index.d.ts +0 -20
  324. package/lib/types/solana/generated/ant/events/aclEntryAddedEvent.d.ts +0 -26
  325. package/lib/types/solana/generated/ant/events/aclEntryRemovedEvent.d.ts +0 -26
  326. package/lib/types/solana/generated/ant/events/antMetadataUpdatedEvent.d.ts +0 -28
  327. package/lib/types/solana/generated/ant/events/antReconciledEvent.d.ts +0 -28
  328. package/lib/types/solana/generated/ant/events/antTransferredEvent.d.ts +0 -26
  329. package/lib/types/solana/generated/ant/events/attributesClearedEvent.d.ts +0 -26
  330. package/lib/types/solana/generated/ant/events/attributesSyncedEvent.d.ts +0 -24
  331. package/lib/types/solana/generated/ant/events/controllerAddedEvent.d.ts +0 -26
  332. package/lib/types/solana/generated/ant/events/controllerRemovedEvent.d.ts +0 -26
  333. package/lib/types/solana/generated/ant/events/index.d.ts +0 -15
  334. package/lib/types/solana/generated/ant/events/recordMetadataPrunedEvent.d.ts +0 -26
  335. package/lib/types/solana/generated/ant/events/recordMetadataRemovedEvent.d.ts +0 -26
  336. package/lib/types/solana/generated/ant/events/recordMetadataUpdatedEvent.d.ts +0 -28
  337. package/lib/types/solana/generated/ant/events/recordRemovedEvent.d.ts +0 -26
  338. package/lib/types/solana/generated/ant/events/recordSetEvent.d.ts +0 -34
  339. package/lib/types/solana/generated/ant/events/recordTransferredEvent.d.ts +0 -30
  340. package/lib/types/solana/generated/ant-escrow/events/escrowCancelledEvent.d.ts +0 -28
  341. package/lib/types/solana/generated/ant-escrow/events/escrowClaimedEvent.d.ts +0 -32
  342. package/lib/types/solana/generated/ant-escrow/events/escrowDepositedEvent.d.ts +0 -36
  343. package/lib/types/solana/generated/ant-escrow/events/escrowRecipientUpdatedEvent.d.ts +0 -26
  344. package/lib/types/solana/generated/ant-escrow/events/index.d.ts +0 -4
  345. package/lib/types/solana/generated/arns/events/demandFactorUpdatedEvent.d.ts +0 -28
  346. package/lib/types/solana/generated/arns/events/index.d.ts +0 -12
  347. package/lib/types/solana/generated/arns/events/leaseExtendedEvent.d.ts +0 -32
  348. package/lib/types/solana/generated/arns/events/namePurchasedEvent.d.ts +0 -34
  349. package/lib/types/solana/generated/arns/events/nameReassignedEvent.d.ts +0 -28
  350. package/lib/types/solana/generated/arns/events/nameReleasedEvent.d.ts +0 -24
  351. package/lib/types/solana/generated/arns/events/nameReservedEvent.d.ts +0 -28
  352. package/lib/types/solana/generated/arns/events/nameUnreservedEvent.d.ts +0 -24
  353. package/lib/types/solana/generated/arns/events/nameUpgradedEvent.d.ts +0 -28
  354. package/lib/types/solana/generated/arns/events/namesPrunedEvent.d.ts +0 -26
  355. package/lib/types/solana/generated/arns/events/reservedNameClaimedEvent.d.ts +0 -24
  356. package/lib/types/solana/generated/arns/events/returnedNamePurchasedEvent.d.ts +0 -32
  357. package/lib/types/solana/generated/arns/events/undernameIncreasedEvent.d.ts +0 -32
  358. package/lib/types/solana/generated/core/events/configUpdatedEvent.d.ts +0 -26
  359. package/lib/types/solana/generated/core/events/coreMigrationFinalizedEvent.d.ts +0 -26
  360. package/lib/types/solana/generated/core/events/index.d.ts +0 -13
  361. package/lib/types/solana/generated/core/events/primaryNameRemovedEvent.d.ts +0 -26
  362. package/lib/types/solana/generated/core/events/primaryNameRequestExpiredEvent.d.ts +0 -26
  363. package/lib/types/solana/generated/core/events/primaryNameRequestedEvent.d.ts +0 -30
  364. package/lib/types/solana/generated/core/events/primaryNameSetEvent.d.ts +0 -24
  365. package/lib/types/solana/generated/core/events/supplyFinalizedEvent.d.ts +0 -26
  366. package/lib/types/solana/generated/core/events/transferEvent.d.ts +0 -26
  367. package/lib/types/solana/generated/core/events/vaultCreatedEvent.d.ts +0 -28
  368. package/lib/types/solana/generated/core/events/vaultExtendedEvent.d.ts +0 -26
  369. package/lib/types/solana/generated/core/events/vaultIncreasedEvent.d.ts +0 -28
  370. package/lib/types/solana/generated/core/events/vaultReleasedEvent.d.ts +0 -26
  371. package/lib/types/solana/generated/core/events/vaultRevokedEvent.d.ts +0 -28
  372. package/lib/types/solana/generated/gar/events/allowlistToggledEvent.d.ts +0 -24
  373. package/lib/types/solana/generated/gar/events/delegateAllowlistedEvent.d.ts +0 -26
  374. package/lib/types/solana/generated/gar/events/delegationClosedEvent.d.ts +0 -24
  375. package/lib/types/solana/generated/gar/events/delegationDecreasedEvent.d.ts +0 -28
  376. package/lib/types/solana/generated/gar/events/delegationEvent.d.ts +0 -28
  377. package/lib/types/solana/generated/gar/events/epochClosedEvent.d.ts +0 -24
  378. package/lib/types/solana/generated/gar/events/epochCreatedEvent.d.ts +0 -26
  379. package/lib/types/solana/generated/gar/events/epochDistributedEvent.d.ts +0 -26
  380. package/lib/types/solana/generated/gar/events/epochPrescribedEvent.d.ts +0 -28
  381. package/lib/types/solana/generated/gar/events/epochWeightsTalliedEvent.d.ts +0 -26
  382. package/lib/types/solana/generated/gar/events/epochsToggledEvent.d.ts +0 -24
  383. package/lib/types/solana/generated/gar/events/fundingPlanAppliedEvent.d.ts +0 -28
  384. package/lib/types/solana/generated/gar/events/garMigrationFinalizedEvent.d.ts +0 -26
  385. package/lib/types/solana/generated/gar/events/gatewayFinalizedEvent.d.ts +0 -24
  386. package/lib/types/solana/generated/gar/events/gatewayJoinedEvent.d.ts +0 -26
  387. package/lib/types/solana/generated/gar/events/gatewayLeavingEvent.d.ts +0 -22
  388. package/lib/types/solana/generated/gar/events/gatewayPrunedEvent.d.ts +0 -26
  389. package/lib/types/solana/generated/gar/events/gatewaySettingsUpdatedEvent.d.ts +0 -24
  390. package/lib/types/solana/generated/gar/events/index.d.ts +0 -30
  391. package/lib/types/solana/generated/gar/events/instantWithdrawalEvent.d.ts +0 -30
  392. package/lib/types/solana/generated/gar/events/observationSubmittedEvent.d.ts +0 -28
  393. package/lib/types/solana/generated/gar/events/observerAddressUpdatedEvent.d.ts +0 -24
  394. package/lib/types/solana/generated/gar/events/operatorStakeIncreasedEvent.d.ts +0 -26
  395. package/lib/types/solana/generated/gar/events/redelegationEvent.d.ts +0 -30
  396. package/lib/types/solana/generated/gar/events/residueVaultCreatedEvent.d.ts +0 -30
  397. package/lib/types/solana/generated/gar/events/rewardsCompoundedEvent.d.ts +0 -26
  398. package/lib/types/solana/generated/gar/events/stakePaymentEvent.d.ts +0 -28
  399. package/lib/types/solana/generated/gar/events/withdrawalCancelledEvent.d.ts +0 -30
  400. package/lib/types/solana/generated/gar/events/withdrawalClaimedEvent.d.ts +0 -26
  401. package/lib/types/solana/generated/gar/events/withdrawalCreatedEvent.d.ts +0 -28
  402. package/lib/types/solana/generated/gar/events/withdrawalPaymentEvent.d.ts +0 -28
  403. package/lib/types/solana/generated/mpl-core/accounts/assetV1.d.ts +0 -37
  404. package/lib/types/solana/generated/mpl-core/accounts/collectionV1.d.ts +0 -37
  405. package/lib/types/solana/generated/mpl-core/accounts/hashedAssetV1.d.ts +0 -30
  406. package/lib/types/solana/generated/mpl-core/accounts/index.d.ts +0 -12
  407. package/lib/types/solana/generated/mpl-core/accounts/pluginHeaderV1.d.ts +0 -30
  408. package/lib/types/solana/generated/mpl-core/accounts/pluginRegistryV1.d.ts +0 -31
  409. package/lib/types/solana/generated/mpl-core/errors/index.d.ts +0 -8
  410. package/lib/types/solana/generated/mpl-core/errors/mplCore.d.ts +0 -133
  411. package/lib/types/solana/generated/mpl-core/index.d.ts +0 -8
  412. package/lib/types/solana/generated/mpl-core/instructions/addCollectionExternalPluginAdapterV1.d.ts +0 -56
  413. package/lib/types/solana/generated/mpl-core/instructions/addCollectionPluginV1.d.ts +0 -59
  414. package/lib/types/solana/generated/mpl-core/instructions/addExternalPluginAdapterV1.d.ts +0 -60
  415. package/lib/types/solana/generated/mpl-core/instructions/addPluginV1.d.ts +0 -63
  416. package/lib/types/solana/generated/mpl-core/instructions/approveCollectionPluginAuthorityV1.d.ts +0 -59
  417. package/lib/types/solana/generated/mpl-core/instructions/approvePluginAuthorityV1.d.ts +0 -63
  418. package/lib/types/solana/generated/mpl-core/instructions/burnCollectionV1.d.ts +0 -52
  419. package/lib/types/solana/generated/mpl-core/instructions/burnV1.d.ts +0 -60
  420. package/lib/types/solana/generated/mpl-core/instructions/collect.d.ts +0 -39
  421. package/lib/types/solana/generated/mpl-core/instructions/compressV1.d.ts +0 -55
  422. package/lib/types/solana/generated/mpl-core/instructions/createCollectionV1.d.ts +0 -58
  423. package/lib/types/solana/generated/mpl-core/instructions/createCollectionV2.d.ts +0 -61
  424. package/lib/types/solana/generated/mpl-core/instructions/createV1.d.ts +0 -77
  425. package/lib/types/solana/generated/mpl-core/instructions/createV2.d.ts +0 -80
  426. package/lib/types/solana/generated/mpl-core/instructions/decompressV1.d.ts +0 -60
  427. package/lib/types/solana/generated/mpl-core/instructions/executeV1.d.ts +0 -63
  428. package/lib/types/solana/generated/mpl-core/instructions/index.d.ts +0 -40
  429. package/lib/types/solana/generated/mpl-core/instructions/removeCollectionExternalPluginAdapterV1.d.ts +0 -56
  430. package/lib/types/solana/generated/mpl-core/instructions/removeCollectionPluginV1.d.ts +0 -56
  431. package/lib/types/solana/generated/mpl-core/instructions/removeExternalPluginAdapterV1.d.ts +0 -60
  432. package/lib/types/solana/generated/mpl-core/instructions/removePluginV1.d.ts +0 -60
  433. package/lib/types/solana/generated/mpl-core/instructions/revokeCollectionPluginAuthorityV1.d.ts +0 -56
  434. package/lib/types/solana/generated/mpl-core/instructions/revokePluginAuthorityV1.d.ts +0 -60
  435. package/lib/types/solana/generated/mpl-core/instructions/transferV1.d.ts +0 -64
  436. package/lib/types/solana/generated/mpl-core/instructions/updateCollectionExternalPluginAdapterV1.d.ts +0 -59
  437. package/lib/types/solana/generated/mpl-core/instructions/updateCollectionInfoV1.d.ts +0 -47
  438. package/lib/types/solana/generated/mpl-core/instructions/updateCollectionPluginV1.d.ts +0 -56
  439. package/lib/types/solana/generated/mpl-core/instructions/updateCollectionV1.d.ts +0 -62
  440. package/lib/types/solana/generated/mpl-core/instructions/updateExternalPluginAdapterV1.d.ts +0 -63
  441. package/lib/types/solana/generated/mpl-core/instructions/updatePluginV1.d.ts +0 -60
  442. package/lib/types/solana/generated/mpl-core/instructions/updateV1.d.ts +0 -66
  443. package/lib/types/solana/generated/mpl-core/instructions/updateV2.d.ts +0 -70
  444. package/lib/types/solana/generated/mpl-core/instructions/writeCollectionExternalPluginAdapterDataV1.d.ts +0 -63
  445. package/lib/types/solana/generated/mpl-core/instructions/writeExternalPluginAdapterDataV1.d.ts +0 -67
  446. package/lib/types/solana/generated/mpl-core/program-address.d.ts +0 -7
  447. package/lib/types/solana/generated/mpl-core/types/addAssetsToGroupV1Args.d.ts +0 -13
  448. package/lib/types/solana/generated/mpl-core/types/addBlocker.d.ts +0 -13
  449. package/lib/types/solana/generated/mpl-core/types/addCollectionsToGroupV1Args.d.ts +0 -13
  450. package/lib/types/solana/generated/mpl-core/types/addGroupsToGroupV1Args.d.ts +0 -15
  451. package/lib/types/solana/generated/mpl-core/types/agentIdentity.d.ts +0 -15
  452. package/lib/types/solana/generated/mpl-core/types/agentIdentityInitInfo.d.ts +0 -22
  453. package/lib/types/solana/generated/mpl-core/types/agentIdentityUpdateInfo.d.ts +0 -20
  454. package/lib/types/solana/generated/mpl-core/types/appData.d.ts +0 -20
  455. package/lib/types/solana/generated/mpl-core/types/appDataInitInfo.d.ts +0 -22
  456. package/lib/types/solana/generated/mpl-core/types/appDataUpdateInfo.d.ts +0 -18
  457. package/lib/types/solana/generated/mpl-core/types/attribute.d.ts +0 -16
  458. package/lib/types/solana/generated/mpl-core/types/attributes.d.ts +0 -18
  459. package/lib/types/solana/generated/mpl-core/types/authority.d.ts +0 -29
  460. package/lib/types/solana/generated/mpl-core/types/autograph.d.ts +0 -18
  461. package/lib/types/solana/generated/mpl-core/types/autographSignature.d.ts +0 -16
  462. package/lib/types/solana/generated/mpl-core/types/bubblegumV2.d.ts +0 -13
  463. package/lib/types/solana/generated/mpl-core/types/burnDelegate.d.ts +0 -13
  464. package/lib/types/solana/generated/mpl-core/types/closeGroupV1Args.d.ts +0 -13
  465. package/lib/types/solana/generated/mpl-core/types/compressionProof.d.ts +0 -28
  466. package/lib/types/solana/generated/mpl-core/types/creator.d.ts +0 -16
  467. package/lib/types/solana/generated/mpl-core/types/dataSection.d.ts +0 -20
  468. package/lib/types/solana/generated/mpl-core/types/dataSectionInitInfo.d.ts +0 -20
  469. package/lib/types/solana/generated/mpl-core/types/dataSectionUpdateInfo.d.ts +0 -13
  470. package/lib/types/solana/generated/mpl-core/types/dataState.d.ts +0 -16
  471. package/lib/types/solana/generated/mpl-core/types/edition.d.ts +0 -15
  472. package/lib/types/solana/generated/mpl-core/types/externalCheckResult.d.ts +0 -15
  473. package/lib/types/solana/generated/mpl-core/types/externalPluginAdapter.d.ts +0 -66
  474. package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterInitInfo.d.ts +0 -66
  475. package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterKey.d.ts +0 -64
  476. package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterSchema.d.ts +0 -17
  477. package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterType.d.ts +0 -21
  478. package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterUpdateInfo.d.ts +0 -59
  479. package/lib/types/solana/generated/mpl-core/types/externalRegistryRecord.d.ts +0 -28
  480. package/lib/types/solana/generated/mpl-core/types/externalValidationResult.d.ts +0 -17
  481. package/lib/types/solana/generated/mpl-core/types/extraAccount.d.ts +0 -86
  482. package/lib/types/solana/generated/mpl-core/types/freezeDelegate.d.ts +0 -15
  483. package/lib/types/solana/generated/mpl-core/types/freezeExecute.d.ts +0 -15
  484. package/lib/types/solana/generated/mpl-core/types/groups.d.ts +0 -15
  485. package/lib/types/solana/generated/mpl-core/types/hashablePluginSchema.d.ts +0 -22
  486. package/lib/types/solana/generated/mpl-core/types/hashedAssetSchema.d.ts +0 -16
  487. package/lib/types/solana/generated/mpl-core/types/hookableLifecycleEvent.d.ts +0 -19
  488. package/lib/types/solana/generated/mpl-core/types/immutableMetadata.d.ts +0 -13
  489. package/lib/types/solana/generated/mpl-core/types/index.d.ts +0 -89
  490. package/lib/types/solana/generated/mpl-core/types/key.d.ts +0 -21
  491. package/lib/types/solana/generated/mpl-core/types/lifecycleHook.d.ts +0 -24
  492. package/lib/types/solana/generated/mpl-core/types/lifecycleHookInitInfo.d.ts +0 -28
  493. package/lib/types/solana/generated/mpl-core/types/lifecycleHookUpdateInfo.d.ts +0 -22
  494. package/lib/types/solana/generated/mpl-core/types/linkedAppData.d.ts +0 -20
  495. package/lib/types/solana/generated/mpl-core/types/linkedAppDataInitInfo.d.ts +0 -22
  496. package/lib/types/solana/generated/mpl-core/types/linkedAppDataUpdateInfo.d.ts +0 -18
  497. package/lib/types/solana/generated/mpl-core/types/linkedDataKey.d.ts +0 -31
  498. package/lib/types/solana/generated/mpl-core/types/linkedLifecycleHook.d.ts +0 -24
  499. package/lib/types/solana/generated/mpl-core/types/linkedLifecycleHookInitInfo.d.ts +0 -28
  500. package/lib/types/solana/generated/mpl-core/types/linkedLifecycleHookUpdateInfo.d.ts +0 -22
  501. package/lib/types/solana/generated/mpl-core/types/masterEdition.d.ts +0 -21
  502. package/lib/types/solana/generated/mpl-core/types/oracle.d.ts +0 -22
  503. package/lib/types/solana/generated/mpl-core/types/oracleInitInfo.d.ts +0 -26
  504. package/lib/types/solana/generated/mpl-core/types/oracleUpdateInfo.d.ts +0 -22
  505. package/lib/types/solana/generated/mpl-core/types/oracleValidation.d.ts +0 -35
  506. package/lib/types/solana/generated/mpl-core/types/permanentBurnDelegate.d.ts +0 -13
  507. package/lib/types/solana/generated/mpl-core/types/permanentFreezeDelegate.d.ts +0 -15
  508. package/lib/types/solana/generated/mpl-core/types/permanentFreezeExecute.d.ts +0 -15
  509. package/lib/types/solana/generated/mpl-core/types/permanentTransferDelegate.d.ts +0 -13
  510. package/lib/types/solana/generated/mpl-core/types/plugin.d.ts +0 -150
  511. package/lib/types/solana/generated/mpl-core/types/pluginAuthorityPair.d.ts +0 -20
  512. package/lib/types/solana/generated/mpl-core/types/pluginType.d.ts +0 -33
  513. package/lib/types/solana/generated/mpl-core/types/registryRecord.d.ts +0 -22
  514. package/lib/types/solana/generated/mpl-core/types/relationshipKind.d.ts +0 -18
  515. package/lib/types/solana/generated/mpl-core/types/removeAssetsFromGroupV1Args.d.ts +0 -15
  516. package/lib/types/solana/generated/mpl-core/types/removeCollectionsFromGroupV1Args.d.ts +0 -15
  517. package/lib/types/solana/generated/mpl-core/types/removeGroupsFromGroupV1Args.d.ts +0 -15
  518. package/lib/types/solana/generated/mpl-core/types/royalties.d.ts +0 -22
  519. package/lib/types/solana/generated/mpl-core/types/ruleSet.d.ts +0 -27
  520. package/lib/types/solana/generated/mpl-core/types/seed.d.ts +0 -36
  521. package/lib/types/solana/generated/mpl-core/types/transferDelegate.d.ts +0 -13
  522. package/lib/types/solana/generated/mpl-core/types/updateAuthority.d.ts +0 -27
  523. package/lib/types/solana/generated/mpl-core/types/updateDelegate.d.ts +0 -15
  524. package/lib/types/solana/generated/mpl-core/types/updateGroupV1Args.d.ts +0 -19
  525. package/lib/types/solana/generated/mpl-core/types/updateType.d.ts +0 -17
  526. package/lib/types/solana/generated/mpl-core/types/validationResult.d.ts +0 -18
  527. package/lib/types/solana/generated/mpl-core/types/validationResultsOffset.d.ts +0 -33
  528. package/lib/types/solana/generated/mpl-core/types/verifiedCreators.d.ts +0 -18
  529. package/lib/types/solana/generated/mpl-core/types/verifiedCreatorsSignature.d.ts +0 -16
  530. package/lib/types/utils/ao.d.ts +0 -80
  531. package/lib/types/utils/arweave.d.ts +0 -79
  532. package/lib/types/utils/processes.d.ts +0 -39
  533. package/lib/types/web/index.d.ts +0 -20
@@ -1,21 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED by sdk/scripts/events-codegen.mjs.
3
- * Please DO NOT EDIT THIS FILE — re-run `yarn codegen` instead.
4
- *
5
- * Decoder for the Anchor `#[event] OperatorStakeIncreasedEvent` emit. The
6
- * 8-byte discriminator is sha256("event:OperatorStakeIncreasedEvent")[..8].
7
- */
8
- import { combineCodec, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBytesDecoder, getBytesEncoder, getI64Decoder, getI64Encoder, getStructDecoder, getStructEncoder, getU64Decoder, getU64Encoder, transformEncoder } from '@solana/kit';
9
- export const OPERATOR_STAKE_INCREASED_EVENT_DISCRIMINATOR = new Uint8Array([198, 94, 192, 211, 15, 92, 64, 9]);
10
- export function getOperatorStakeIncreasedEventDiscriminatorBytes() {
11
- return fixEncoderSize(getBytesEncoder(), 8).encode(OPERATOR_STAKE_INCREASED_EVENT_DISCRIMINATOR);
12
- }
13
- export function getOperatorStakeIncreasedEventEncoder() {
14
- return transformEncoder(getStructEncoder([['discriminator', fixEncoderSize(getBytesEncoder(), 8)], ['operator', getAddressEncoder()], ['added', getU64Encoder()], ['newTotal', getU64Encoder()], ['timestamp', getI64Encoder()]]), (value) => ({ ...value, discriminator: OPERATOR_STAKE_INCREASED_EVENT_DISCRIMINATOR }));
15
- }
16
- export function getOperatorStakeIncreasedEventDecoder() {
17
- return getStructDecoder([['discriminator', fixDecoderSize(getBytesDecoder(), 8)], ['operator', getAddressDecoder()], ['added', getU64Decoder()], ['newTotal', getU64Decoder()], ['timestamp', getI64Decoder()]]);
18
- }
19
- export function getOperatorStakeIncreasedEventCodec() {
20
- return combineCodec(getOperatorStakeIncreasedEventEncoder(), getOperatorStakeIncreasedEventDecoder());
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED by sdk/scripts/events-codegen.mjs.
3
- * Please DO NOT EDIT THIS FILE — re-run `yarn codegen` instead.
4
- *
5
- * Decoder for the Anchor `#[event] RedelegationEvent` emit. The
6
- * 8-byte discriminator is sha256("event:RedelegationEvent")[..8].
7
- */
8
- import { combineCodec, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBytesDecoder, getBytesEncoder, getI64Decoder, getI64Encoder, getStructDecoder, getStructEncoder, getU64Decoder, getU64Encoder, transformEncoder } from '@solana/kit';
9
- export const REDELEGATION_EVENT_DISCRIMINATOR = new Uint8Array([64, 133, 89, 6, 101, 5, 120, 177]);
10
- export function getRedelegationEventDiscriminatorBytes() {
11
- return fixEncoderSize(getBytesEncoder(), 8).encode(REDELEGATION_EVENT_DISCRIMINATOR);
12
- }
13
- export function getRedelegationEventEncoder() {
14
- return transformEncoder(getStructEncoder([['discriminator', fixEncoderSize(getBytesEncoder(), 8)], ['delegator', getAddressEncoder()], ['fromGateway', getAddressEncoder()], ['toGateway', getAddressEncoder()], ['amount', getU64Encoder()], ['fee', getU64Encoder()], ['timestamp', getI64Encoder()]]), (value) => ({ ...value, discriminator: REDELEGATION_EVENT_DISCRIMINATOR }));
15
- }
16
- export function getRedelegationEventDecoder() {
17
- return getStructDecoder([['discriminator', fixDecoderSize(getBytesDecoder(), 8)], ['delegator', getAddressDecoder()], ['fromGateway', getAddressDecoder()], ['toGateway', getAddressDecoder()], ['amount', getU64Decoder()], ['fee', getU64Decoder()], ['timestamp', getI64Decoder()]]);
18
- }
19
- export function getRedelegationEventCodec() {
20
- return combineCodec(getRedelegationEventEncoder(), getRedelegationEventDecoder());
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED by sdk/scripts/events-codegen.mjs.
3
- * Please DO NOT EDIT THIS FILE — re-run `yarn codegen` instead.
4
- *
5
- * Decoder for the Anchor `#[event] ResidueVaultCreatedEvent` emit. The
6
- * 8-byte discriminator is sha256("event:ResidueVaultCreatedEvent")[..8].
7
- */
8
- import { combineCodec, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBytesDecoder, getBytesEncoder, getI64Decoder, getI64Encoder, getStructDecoder, getStructEncoder, getU64Decoder, getU64Encoder, transformEncoder } from '@solana/kit';
9
- export const RESIDUE_VAULT_CREATED_EVENT_DISCRIMINATOR = new Uint8Array([17, 116, 103, 92, 169, 105, 253, 31]);
10
- export function getResidueVaultCreatedEventDiscriminatorBytes() {
11
- return fixEncoderSize(getBytesEncoder(), 8).encode(RESIDUE_VAULT_CREATED_EVENT_DISCRIMINATOR);
12
- }
13
- export function getResidueVaultCreatedEventEncoder() {
14
- return transformEncoder(getStructEncoder([['discriminator', fixEncoderSize(getBytesEncoder(), 8)], ['owner', getAddressEncoder()], ['withdrawalId', getU64Encoder()], ['gateway', getAddressEncoder()], ['amount', getU64Encoder()], ['availableAt', getI64Encoder()], ['timestamp', getI64Encoder()]]), (value) => ({ ...value, discriminator: RESIDUE_VAULT_CREATED_EVENT_DISCRIMINATOR }));
15
- }
16
- export function getResidueVaultCreatedEventDecoder() {
17
- return getStructDecoder([['discriminator', fixDecoderSize(getBytesDecoder(), 8)], ['owner', getAddressDecoder()], ['withdrawalId', getU64Decoder()], ['gateway', getAddressDecoder()], ['amount', getU64Decoder()], ['availableAt', getI64Decoder()], ['timestamp', getI64Decoder()]]);
18
- }
19
- export function getResidueVaultCreatedEventCodec() {
20
- return combineCodec(getResidueVaultCreatedEventEncoder(), getResidueVaultCreatedEventDecoder());
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED by sdk/scripts/events-codegen.mjs.
3
- * Please DO NOT EDIT THIS FILE — re-run `yarn codegen` instead.
4
- *
5
- * Decoder for the Anchor `#[event] RewardsCompoundedEvent` emit. The
6
- * 8-byte discriminator is sha256("event:RewardsCompoundedEvent")[..8].
7
- */
8
- import { combineCodec, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBytesDecoder, getBytesEncoder, getI64Decoder, getI64Encoder, getStructDecoder, getStructEncoder, getU64Decoder, getU64Encoder, transformEncoder } from '@solana/kit';
9
- export const REWARDS_COMPOUNDED_EVENT_DISCRIMINATOR = new Uint8Array([13, 249, 30, 35, 73, 151, 186, 66]);
10
- export function getRewardsCompoundedEventDiscriminatorBytes() {
11
- return fixEncoderSize(getBytesEncoder(), 8).encode(REWARDS_COMPOUNDED_EVENT_DISCRIMINATOR);
12
- }
13
- export function getRewardsCompoundedEventEncoder() {
14
- return transformEncoder(getStructEncoder([['discriminator', fixEncoderSize(getBytesEncoder(), 8)], ['delegator', getAddressEncoder()], ['gateway', getAddressEncoder()], ['compounded', getU64Encoder()], ['timestamp', getI64Encoder()]]), (value) => ({ ...value, discriminator: REWARDS_COMPOUNDED_EVENT_DISCRIMINATOR }));
15
- }
16
- export function getRewardsCompoundedEventDecoder() {
17
- return getStructDecoder([['discriminator', fixDecoderSize(getBytesDecoder(), 8)], ['delegator', getAddressDecoder()], ['gateway', getAddressDecoder()], ['compounded', getU64Decoder()], ['timestamp', getI64Decoder()]]);
18
- }
19
- export function getRewardsCompoundedEventCodec() {
20
- return combineCodec(getRewardsCompoundedEventEncoder(), getRewardsCompoundedEventDecoder());
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED by sdk/scripts/events-codegen.mjs.
3
- * Please DO NOT EDIT THIS FILE — re-run `yarn codegen` instead.
4
- *
5
- * Decoder for the Anchor `#[event] StakePaymentEvent` emit. The
6
- * 8-byte discriminator is sha256("event:StakePaymentEvent")[..8].
7
- */
8
- import { combineCodec, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBooleanDecoder, getBooleanEncoder, getBytesDecoder, getBytesEncoder, getI64Decoder, getI64Encoder, getStructDecoder, getStructEncoder, getU64Decoder, getU64Encoder, transformEncoder } from '@solana/kit';
9
- export const STAKE_PAYMENT_EVENT_DISCRIMINATOR = new Uint8Array([11, 219, 152, 247, 11, 11, 18, 93]);
10
- export function getStakePaymentEventDiscriminatorBytes() {
11
- return fixEncoderSize(getBytesEncoder(), 8).encode(STAKE_PAYMENT_EVENT_DISCRIMINATOR);
12
- }
13
- export function getStakePaymentEventEncoder() {
14
- return transformEncoder(getStructEncoder([['discriminator', fixEncoderSize(getBytesEncoder(), 8)], ['payer', getAddressEncoder()], ['gateway', getAddressEncoder()], ['amount', getU64Encoder()], ['isDelegate', getBooleanEncoder()], ['timestamp', getI64Encoder()]]), (value) => ({ ...value, discriminator: STAKE_PAYMENT_EVENT_DISCRIMINATOR }));
15
- }
16
- export function getStakePaymentEventDecoder() {
17
- return getStructDecoder([['discriminator', fixDecoderSize(getBytesDecoder(), 8)], ['payer', getAddressDecoder()], ['gateway', getAddressDecoder()], ['amount', getU64Decoder()], ['isDelegate', getBooleanDecoder()], ['timestamp', getI64Decoder()]]);
18
- }
19
- export function getStakePaymentEventCodec() {
20
- return combineCodec(getStakePaymentEventEncoder(), getStakePaymentEventDecoder());
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED by sdk/scripts/events-codegen.mjs.
3
- * Please DO NOT EDIT THIS FILE — re-run `yarn codegen` instead.
4
- *
5
- * Decoder for the Anchor `#[event] WithdrawalCancelledEvent` emit. The
6
- * 8-byte discriminator is sha256("event:WithdrawalCancelledEvent")[..8].
7
- */
8
- import { combineCodec, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBooleanDecoder, getBooleanEncoder, getBytesDecoder, getBytesEncoder, getI64Decoder, getI64Encoder, getStructDecoder, getStructEncoder, getU64Decoder, getU64Encoder, transformEncoder } from '@solana/kit';
9
- export const WITHDRAWAL_CANCELLED_EVENT_DISCRIMINATOR = new Uint8Array([40, 218, 165, 230, 31, 49, 238, 127]);
10
- export function getWithdrawalCancelledEventDiscriminatorBytes() {
11
- return fixEncoderSize(getBytesEncoder(), 8).encode(WITHDRAWAL_CANCELLED_EVENT_DISCRIMINATOR);
12
- }
13
- export function getWithdrawalCancelledEventEncoder() {
14
- return transformEncoder(getStructEncoder([['discriminator', fixEncoderSize(getBytesEncoder(), 8)], ['owner', getAddressEncoder()], ['gateway', getAddressEncoder()], ['withdrawalId', getU64Encoder()], ['amount', getU64Encoder()], ['isDelegate', getBooleanEncoder()], ['timestamp', getI64Encoder()]]), (value) => ({ ...value, discriminator: WITHDRAWAL_CANCELLED_EVENT_DISCRIMINATOR }));
15
- }
16
- export function getWithdrawalCancelledEventDecoder() {
17
- return getStructDecoder([['discriminator', fixDecoderSize(getBytesDecoder(), 8)], ['owner', getAddressDecoder()], ['gateway', getAddressDecoder()], ['withdrawalId', getU64Decoder()], ['amount', getU64Decoder()], ['isDelegate', getBooleanDecoder()], ['timestamp', getI64Decoder()]]);
18
- }
19
- export function getWithdrawalCancelledEventCodec() {
20
- return combineCodec(getWithdrawalCancelledEventEncoder(), getWithdrawalCancelledEventDecoder());
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED by sdk/scripts/events-codegen.mjs.
3
- * Please DO NOT EDIT THIS FILE — re-run `yarn codegen` instead.
4
- *
5
- * Decoder for the Anchor `#[event] WithdrawalClaimedEvent` emit. The
6
- * 8-byte discriminator is sha256("event:WithdrawalClaimedEvent")[..8].
7
- */
8
- import { combineCodec, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBytesDecoder, getBytesEncoder, getI64Decoder, getI64Encoder, getStructDecoder, getStructEncoder, getU64Decoder, getU64Encoder, transformEncoder } from '@solana/kit';
9
- export const WITHDRAWAL_CLAIMED_EVENT_DISCRIMINATOR = new Uint8Array([112, 246, 33, 174, 230, 205, 121, 26]);
10
- export function getWithdrawalClaimedEventDiscriminatorBytes() {
11
- return fixEncoderSize(getBytesEncoder(), 8).encode(WITHDRAWAL_CLAIMED_EVENT_DISCRIMINATOR);
12
- }
13
- export function getWithdrawalClaimedEventEncoder() {
14
- return transformEncoder(getStructEncoder([['discriminator', fixEncoderSize(getBytesEncoder(), 8)], ['owner', getAddressEncoder()], ['withdrawalId', getU64Encoder()], ['amount', getU64Encoder()], ['timestamp', getI64Encoder()]]), (value) => ({ ...value, discriminator: WITHDRAWAL_CLAIMED_EVENT_DISCRIMINATOR }));
15
- }
16
- export function getWithdrawalClaimedEventDecoder() {
17
- return getStructDecoder([['discriminator', fixDecoderSize(getBytesDecoder(), 8)], ['owner', getAddressDecoder()], ['withdrawalId', getU64Decoder()], ['amount', getU64Decoder()], ['timestamp', getI64Decoder()]]);
18
- }
19
- export function getWithdrawalClaimedEventCodec() {
20
- return combineCodec(getWithdrawalClaimedEventEncoder(), getWithdrawalClaimedEventDecoder());
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED by sdk/scripts/events-codegen.mjs.
3
- * Please DO NOT EDIT THIS FILE — re-run `yarn codegen` instead.
4
- *
5
- * Decoder for the Anchor `#[event] WithdrawalCreatedEvent` emit. The
6
- * 8-byte discriminator is sha256("event:WithdrawalCreatedEvent")[..8].
7
- */
8
- import { combineCodec, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBytesDecoder, getBytesEncoder, getI64Decoder, getI64Encoder, getStructDecoder, getStructEncoder, getU64Decoder, getU64Encoder, transformEncoder } from '@solana/kit';
9
- export const WITHDRAWAL_CREATED_EVENT_DISCRIMINATOR = new Uint8Array([173, 205, 34, 150, 97, 42, 211, 30]);
10
- export function getWithdrawalCreatedEventDiscriminatorBytes() {
11
- return fixEncoderSize(getBytesEncoder(), 8).encode(WITHDRAWAL_CREATED_EVENT_DISCRIMINATOR);
12
- }
13
- export function getWithdrawalCreatedEventEncoder() {
14
- return transformEncoder(getStructEncoder([['discriminator', fixEncoderSize(getBytesEncoder(), 8)], ['owner', getAddressEncoder()], ['withdrawalId', getU64Encoder()], ['amount', getU64Encoder()], ['availableAt', getI64Encoder()], ['timestamp', getI64Encoder()]]), (value) => ({ ...value, discriminator: WITHDRAWAL_CREATED_EVENT_DISCRIMINATOR }));
15
- }
16
- export function getWithdrawalCreatedEventDecoder() {
17
- return getStructDecoder([['discriminator', fixDecoderSize(getBytesDecoder(), 8)], ['owner', getAddressDecoder()], ['withdrawalId', getU64Decoder()], ['amount', getU64Decoder()], ['availableAt', getI64Decoder()], ['timestamp', getI64Decoder()]]);
18
- }
19
- export function getWithdrawalCreatedEventCodec() {
20
- return combineCodec(getWithdrawalCreatedEventEncoder(), getWithdrawalCreatedEventDecoder());
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED by sdk/scripts/events-codegen.mjs.
3
- * Please DO NOT EDIT THIS FILE — re-run `yarn codegen` instead.
4
- *
5
- * Decoder for the Anchor `#[event] WithdrawalPaymentEvent` emit. The
6
- * 8-byte discriminator is sha256("event:WithdrawalPaymentEvent")[..8].
7
- */
8
- import { combineCodec, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBytesDecoder, getBytesEncoder, getI64Decoder, getI64Encoder, getStructDecoder, getStructEncoder, getU64Decoder, getU64Encoder, transformEncoder } from '@solana/kit';
9
- export const WITHDRAWAL_PAYMENT_EVENT_DISCRIMINATOR = new Uint8Array([58, 7, 105, 48, 99, 164, 154, 51]);
10
- export function getWithdrawalPaymentEventDiscriminatorBytes() {
11
- return fixEncoderSize(getBytesEncoder(), 8).encode(WITHDRAWAL_PAYMENT_EVENT_DISCRIMINATOR);
12
- }
13
- export function getWithdrawalPaymentEventEncoder() {
14
- return transformEncoder(getStructEncoder([['discriminator', fixEncoderSize(getBytesEncoder(), 8)], ['owner', getAddressEncoder()], ['withdrawalId', getU64Encoder()], ['amount', getU64Encoder()], ['residue', getU64Encoder()], ['timestamp', getI64Encoder()]]), (value) => ({ ...value, discriminator: WITHDRAWAL_PAYMENT_EVENT_DISCRIMINATOR }));
15
- }
16
- export function getWithdrawalPaymentEventDecoder() {
17
- return getStructDecoder([['discriminator', fixDecoderSize(getBytesDecoder(), 8)], ['owner', getAddressDecoder()], ['withdrawalId', getU64Decoder()], ['amount', getU64Decoder()], ['residue', getU64Decoder()], ['timestamp', getI64Decoder()]]);
18
- }
19
- export function getWithdrawalPaymentEventCodec() {
20
- return combineCodec(getWithdrawalPaymentEventEncoder(), getWithdrawalPaymentEventDecoder());
21
- }
@@ -1,42 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED using the Codama library.
3
- * Please DO NOT EDIT THIS FILE, instead use visitors
4
- * to add features, then rerun Codama to update it.
5
- *
6
- * @see https://github.com/codama-idl/codama
7
- */
8
- import { addDecoderSizePrefix, addEncoderSizePrefix, assertAccountExists, assertAccountsExist, combineCodec, decodeAccount, fetchEncodedAccount, fetchEncodedAccounts, getAddressDecoder, getAddressEncoder, getOptionDecoder, getOptionEncoder, getStructDecoder, getStructEncoder, getU32Decoder, getU32Encoder, getU64Decoder, getU64Encoder, getUtf8Decoder, getUtf8Encoder } from '@solana/kit';
9
- import { getKeyDecoder, getKeyEncoder, getUpdateAuthorityDecoder, getUpdateAuthorityEncoder } from '../types/index.js';
10
- /** Gets the encoder for {@link AssetV1Args} account data. */
11
- export function getAssetV1Encoder() {
12
- return getStructEncoder([['key', getKeyEncoder()], ['owner', getAddressEncoder()], ['updateAuthority', getUpdateAuthorityEncoder()], ['name', addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())], ['uri', addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())], ['seq', getOptionEncoder(getU64Encoder())]]);
13
- }
14
- /** Gets the decoder for {@link AssetV1} account data. */
15
- export function getAssetV1Decoder() {
16
- return getStructDecoder([['key', getKeyDecoder()], ['owner', getAddressDecoder()], ['updateAuthority', getUpdateAuthorityDecoder()], ['name', addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder())], ['uri', addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder())], ['seq', getOptionDecoder(getU64Decoder())]]);
17
- }
18
- /** Gets the codec for {@link AssetV1} account data. */
19
- export function getAssetV1Codec() {
20
- return combineCodec(getAssetV1Encoder(), getAssetV1Decoder());
21
- }
22
- export function decodeAssetV1(encodedAccount) {
23
- return decodeAccount(encodedAccount, getAssetV1Decoder());
24
- }
25
- export async function fetchAssetV1(rpc, address, config) {
26
- const maybeAccount = await fetchMaybeAssetV1(rpc, address, config);
27
- assertAccountExists(maybeAccount);
28
- return maybeAccount;
29
- }
30
- export async function fetchMaybeAssetV1(rpc, address, config) {
31
- const maybeAccount = await fetchEncodedAccount(rpc, address, config);
32
- return decodeAssetV1(maybeAccount);
33
- }
34
- export async function fetchAllAssetV1(rpc, addresses, config) {
35
- const maybeAccounts = await fetchAllMaybeAssetV1(rpc, addresses, config);
36
- assertAccountsExist(maybeAccounts);
37
- return maybeAccounts;
38
- }
39
- export async function fetchAllMaybeAssetV1(rpc, addresses, config) {
40
- const maybeAccounts = await fetchEncodedAccounts(rpc, addresses, config);
41
- return maybeAccounts.map((maybeAccount) => decodeAssetV1(maybeAccount));
42
- }
@@ -1,42 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED using the Codama library.
3
- * Please DO NOT EDIT THIS FILE, instead use visitors
4
- * to add features, then rerun Codama to update it.
5
- *
6
- * @see https://github.com/codama-idl/codama
7
- */
8
- import { addDecoderSizePrefix, addEncoderSizePrefix, assertAccountExists, assertAccountsExist, combineCodec, decodeAccount, fetchEncodedAccount, fetchEncodedAccounts, getAddressDecoder, getAddressEncoder, getStructDecoder, getStructEncoder, getU32Decoder, getU32Encoder, getUtf8Decoder, getUtf8Encoder } from '@solana/kit';
9
- import { getKeyDecoder, getKeyEncoder } from '../types/index.js';
10
- /** Gets the encoder for {@link CollectionV1Args} account data. */
11
- export function getCollectionV1Encoder() {
12
- return getStructEncoder([['key', getKeyEncoder()], ['updateAuthority', getAddressEncoder()], ['name', addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())], ['uri', addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())], ['numMinted', getU32Encoder()], ['currentSize', getU32Encoder()]]);
13
- }
14
- /** Gets the decoder for {@link CollectionV1} account data. */
15
- export function getCollectionV1Decoder() {
16
- return getStructDecoder([['key', getKeyDecoder()], ['updateAuthority', getAddressDecoder()], ['name', addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder())], ['uri', addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder())], ['numMinted', getU32Decoder()], ['currentSize', getU32Decoder()]]);
17
- }
18
- /** Gets the codec for {@link CollectionV1} account data. */
19
- export function getCollectionV1Codec() {
20
- return combineCodec(getCollectionV1Encoder(), getCollectionV1Decoder());
21
- }
22
- export function decodeCollectionV1(encodedAccount) {
23
- return decodeAccount(encodedAccount, getCollectionV1Decoder());
24
- }
25
- export async function fetchCollectionV1(rpc, address, config) {
26
- const maybeAccount = await fetchMaybeCollectionV1(rpc, address, config);
27
- assertAccountExists(maybeAccount);
28
- return maybeAccount;
29
- }
30
- export async function fetchMaybeCollectionV1(rpc, address, config) {
31
- const maybeAccount = await fetchEncodedAccount(rpc, address, config);
32
- return decodeCollectionV1(maybeAccount);
33
- }
34
- export async function fetchAllCollectionV1(rpc, addresses, config) {
35
- const maybeAccounts = await fetchAllMaybeCollectionV1(rpc, addresses, config);
36
- assertAccountsExist(maybeAccounts);
37
- return maybeAccounts;
38
- }
39
- export async function fetchAllMaybeCollectionV1(rpc, addresses, config) {
40
- const maybeAccounts = await fetchEncodedAccounts(rpc, addresses, config);
41
- return maybeAccounts.map((maybeAccount) => decodeCollectionV1(maybeAccount));
42
- }
@@ -1,45 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED using the Codama library.
3
- * Please DO NOT EDIT THIS FILE, instead use visitors
4
- * to add features, then rerun Codama to update it.
5
- *
6
- * @see https://github.com/codama-idl/codama
7
- */
8
- import { assertAccountExists, assertAccountsExist, combineCodec, decodeAccount, fetchEncodedAccount, fetchEncodedAccounts, fixDecoderSize, fixEncoderSize, getBytesDecoder, getBytesEncoder, getStructDecoder, getStructEncoder } from '@solana/kit';
9
- import { getKeyDecoder, getKeyEncoder } from '../types/index.js';
10
- /** Gets the encoder for {@link HashedAssetV1Args} account data. */
11
- export function getHashedAssetV1Encoder() {
12
- return getStructEncoder([['key', getKeyEncoder()], ['hash', fixEncoderSize(getBytesEncoder(), 32)]]);
13
- }
14
- /** Gets the decoder for {@link HashedAssetV1} account data. */
15
- export function getHashedAssetV1Decoder() {
16
- return getStructDecoder([['key', getKeyDecoder()], ['hash', fixDecoderSize(getBytesDecoder(), 32)]]);
17
- }
18
- /** Gets the codec for {@link HashedAssetV1} account data. */
19
- export function getHashedAssetV1Codec() {
20
- return combineCodec(getHashedAssetV1Encoder(), getHashedAssetV1Decoder());
21
- }
22
- export function decodeHashedAssetV1(encodedAccount) {
23
- return decodeAccount(encodedAccount, getHashedAssetV1Decoder());
24
- }
25
- export async function fetchHashedAssetV1(rpc, address, config) {
26
- const maybeAccount = await fetchMaybeHashedAssetV1(rpc, address, config);
27
- assertAccountExists(maybeAccount);
28
- return maybeAccount;
29
- }
30
- export async function fetchMaybeHashedAssetV1(rpc, address, config) {
31
- const maybeAccount = await fetchEncodedAccount(rpc, address, config);
32
- return decodeHashedAssetV1(maybeAccount);
33
- }
34
- export async function fetchAllHashedAssetV1(rpc, addresses, config) {
35
- const maybeAccounts = await fetchAllMaybeHashedAssetV1(rpc, addresses, config);
36
- assertAccountsExist(maybeAccounts);
37
- return maybeAccounts;
38
- }
39
- export async function fetchAllMaybeHashedAssetV1(rpc, addresses, config) {
40
- const maybeAccounts = await fetchEncodedAccounts(rpc, addresses, config);
41
- return maybeAccounts.map((maybeAccount) => decodeHashedAssetV1(maybeAccount));
42
- }
43
- export function getHashedAssetV1Size() {
44
- return 33;
45
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED using the Codama library.
3
- * Please DO NOT EDIT THIS FILE, instead use visitors
4
- * to add features, then rerun Codama to update it.
5
- *
6
- * @see https://github.com/codama-idl/codama
7
- */
8
- export * from './assetV1.js';
9
- export * from './collectionV1.js';
10
- export * from './hashedAssetV1.js';
11
- export * from './pluginHeaderV1.js';
12
- export * from './pluginRegistryV1.js';
@@ -1,45 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED using the Codama library.
3
- * Please DO NOT EDIT THIS FILE, instead use visitors
4
- * to add features, then rerun Codama to update it.
5
- *
6
- * @see https://github.com/codama-idl/codama
7
- */
8
- import { assertAccountExists, assertAccountsExist, combineCodec, decodeAccount, fetchEncodedAccount, fetchEncodedAccounts, getStructDecoder, getStructEncoder, getU64Decoder, getU64Encoder } from '@solana/kit';
9
- import { getKeyDecoder, getKeyEncoder } from '../types/index.js';
10
- /** Gets the encoder for {@link PluginHeaderV1Args} account data. */
11
- export function getPluginHeaderV1Encoder() {
12
- return getStructEncoder([['key', getKeyEncoder()], ['pluginRegistryOffset', getU64Encoder()]]);
13
- }
14
- /** Gets the decoder for {@link PluginHeaderV1} account data. */
15
- export function getPluginHeaderV1Decoder() {
16
- return getStructDecoder([['key', getKeyDecoder()], ['pluginRegistryOffset', getU64Decoder()]]);
17
- }
18
- /** Gets the codec for {@link PluginHeaderV1} account data. */
19
- export function getPluginHeaderV1Codec() {
20
- return combineCodec(getPluginHeaderV1Encoder(), getPluginHeaderV1Decoder());
21
- }
22
- export function decodePluginHeaderV1(encodedAccount) {
23
- return decodeAccount(encodedAccount, getPluginHeaderV1Decoder());
24
- }
25
- export async function fetchPluginHeaderV1(rpc, address, config) {
26
- const maybeAccount = await fetchMaybePluginHeaderV1(rpc, address, config);
27
- assertAccountExists(maybeAccount);
28
- return maybeAccount;
29
- }
30
- export async function fetchMaybePluginHeaderV1(rpc, address, config) {
31
- const maybeAccount = await fetchEncodedAccount(rpc, address, config);
32
- return decodePluginHeaderV1(maybeAccount);
33
- }
34
- export async function fetchAllPluginHeaderV1(rpc, addresses, config) {
35
- const maybeAccounts = await fetchAllMaybePluginHeaderV1(rpc, addresses, config);
36
- assertAccountsExist(maybeAccounts);
37
- return maybeAccounts;
38
- }
39
- export async function fetchAllMaybePluginHeaderV1(rpc, addresses, config) {
40
- const maybeAccounts = await fetchEncodedAccounts(rpc, addresses, config);
41
- return maybeAccounts.map((maybeAccount) => decodePluginHeaderV1(maybeAccount));
42
- }
43
- export function getPluginHeaderV1Size() {
44
- return 9;
45
- }
@@ -1,42 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED using the Codama library.
3
- * Please DO NOT EDIT THIS FILE, instead use visitors
4
- * to add features, then rerun Codama to update it.
5
- *
6
- * @see https://github.com/codama-idl/codama
7
- */
8
- import { assertAccountExists, assertAccountsExist, combineCodec, decodeAccount, fetchEncodedAccount, fetchEncodedAccounts, getArrayDecoder, getArrayEncoder, getStructDecoder, getStructEncoder } from '@solana/kit';
9
- import { getExternalRegistryRecordDecoder, getExternalRegistryRecordEncoder, getKeyDecoder, getKeyEncoder, getRegistryRecordDecoder, getRegistryRecordEncoder } from '../types/index.js';
10
- /** Gets the encoder for {@link PluginRegistryV1Args} account data. */
11
- export function getPluginRegistryV1Encoder() {
12
- return getStructEncoder([['key', getKeyEncoder()], ['registry', getArrayEncoder(getRegistryRecordEncoder())], ['externalRegistry', getArrayEncoder(getExternalRegistryRecordEncoder())]]);
13
- }
14
- /** Gets the decoder for {@link PluginRegistryV1} account data. */
15
- export function getPluginRegistryV1Decoder() {
16
- return getStructDecoder([['key', getKeyDecoder()], ['registry', getArrayDecoder(getRegistryRecordDecoder())], ['externalRegistry', getArrayDecoder(getExternalRegistryRecordDecoder())]]);
17
- }
18
- /** Gets the codec for {@link PluginRegistryV1} account data. */
19
- export function getPluginRegistryV1Codec() {
20
- return combineCodec(getPluginRegistryV1Encoder(), getPluginRegistryV1Decoder());
21
- }
22
- export function decodePluginRegistryV1(encodedAccount) {
23
- return decodeAccount(encodedAccount, getPluginRegistryV1Decoder());
24
- }
25
- export async function fetchPluginRegistryV1(rpc, address, config) {
26
- const maybeAccount = await fetchMaybePluginRegistryV1(rpc, address, config);
27
- assertAccountExists(maybeAccount);
28
- return maybeAccount;
29
- }
30
- export async function fetchMaybePluginRegistryV1(rpc, address, config) {
31
- const maybeAccount = await fetchEncodedAccount(rpc, address, config);
32
- return decodePluginRegistryV1(maybeAccount);
33
- }
34
- export async function fetchAllPluginRegistryV1(rpc, addresses, config) {
35
- const maybeAccounts = await fetchAllMaybePluginRegistryV1(rpc, addresses, config);
36
- assertAccountsExist(maybeAccounts);
37
- return maybeAccounts;
38
- }
39
- export async function fetchAllMaybePluginRegistryV1(rpc, addresses, config) {
40
- const maybeAccounts = await fetchEncodedAccounts(rpc, addresses, config);
41
- return maybeAccounts.map((maybeAccount) => decodePluginRegistryV1(maybeAccount));
42
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED using the Codama library.
3
- * Please DO NOT EDIT THIS FILE, instead use visitors
4
- * to add features, then rerun Codama to update it.
5
- *
6
- * @see https://github.com/codama-idl/codama
7
- */
8
- export * from './mplCore.js';
@@ -1,136 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED using the Codama library.
3
- * Please DO NOT EDIT THIS FILE, instead use visitors
4
- * to add features, then rerun Codama to update it.
5
- *
6
- * @see https://github.com/codama-idl/codama
7
- */
8
- import { isProgramError } from '@solana/kit';
9
- import { MPL_CORE_PROGRAM_ADDRESS } from '../program-address.js';
10
- /** InvalidSystemProgram: Invalid System Program */
11
- export const MPL_CORE_ERROR__INVALID_SYSTEM_PROGRAM = 0x0; // 0
12
- /** DeserializationError: Error deserializing account */
13
- export const MPL_CORE_ERROR__DESERIALIZATION_ERROR = 0x1; // 1
14
- /** SerializationError: Error serializing account */
15
- export const MPL_CORE_ERROR__SERIALIZATION_ERROR = 0x2; // 2
16
- /** PluginsNotInitialized: Plugins not initialized */
17
- export const MPL_CORE_ERROR__PLUGINS_NOT_INITIALIZED = 0x3; // 3
18
- /** PluginNotFound: Plugin not found */
19
- export const MPL_CORE_ERROR__PLUGIN_NOT_FOUND = 0x4; // 4
20
- /** NumericalOverflow: Numerical Overflow */
21
- export const MPL_CORE_ERROR__NUMERICAL_OVERFLOW = 0x5; // 5
22
- /** IncorrectAccount: Incorrect account */
23
- export const MPL_CORE_ERROR__INCORRECT_ACCOUNT = 0x6; // 6
24
- /** IncorrectAssetHash: Incorrect asset hash */
25
- export const MPL_CORE_ERROR__INCORRECT_ASSET_HASH = 0x7; // 7
26
- /** InvalidPlugin: Invalid Plugin */
27
- export const MPL_CORE_ERROR__INVALID_PLUGIN = 0x8; // 8
28
- /** InvalidAuthority: Invalid Authority */
29
- export const MPL_CORE_ERROR__INVALID_AUTHORITY = 0x9; // 9
30
- /** AssetIsFrozen: Cannot transfer a frozen asset */
31
- export const MPL_CORE_ERROR__ASSET_IS_FROZEN = 0xa; // 10
32
- /** MissingCompressionProof: Missing compression proof */
33
- export const MPL_CORE_ERROR__MISSING_COMPRESSION_PROOF = 0xb; // 11
34
- /** CannotMigrateMasterWithSupply: Cannot migrate a master edition used for prints */
35
- export const MPL_CORE_ERROR__CANNOT_MIGRATE_MASTER_WITH_SUPPLY = 0xc; // 12
36
- /** CannotMigratePrints: Cannot migrate a print edition */
37
- export const MPL_CORE_ERROR__CANNOT_MIGRATE_PRINTS = 0xd; // 13
38
- /** CannotBurnCollection: Cannot burn a collection NFT */
39
- export const MPL_CORE_ERROR__CANNOT_BURN_COLLECTION = 0xe; // 14
40
- /** PluginAlreadyExists: Plugin already exists */
41
- export const MPL_CORE_ERROR__PLUGIN_ALREADY_EXISTS = 0xf; // 15
42
- /** NumericalOverflowError: Numerical overflow */
43
- export const MPL_CORE_ERROR__NUMERICAL_OVERFLOW_ERROR = 0x10; // 16
44
- /** AlreadyCompressed: Already compressed account */
45
- export const MPL_CORE_ERROR__ALREADY_COMPRESSED = 0x11; // 17
46
- /** AlreadyDecompressed: Already decompressed account */
47
- export const MPL_CORE_ERROR__ALREADY_DECOMPRESSED = 0x12; // 18
48
- /** InvalidCollection: Invalid Collection passed in */
49
- export const MPL_CORE_ERROR__INVALID_COLLECTION = 0x13; // 19
50
- /** MissingUpdateAuthority: Missing update authority */
51
- export const MPL_CORE_ERROR__MISSING_UPDATE_AUTHORITY = 0x14; // 20
52
- /** MissingNewOwner: Missing new owner */
53
- export const MPL_CORE_ERROR__MISSING_NEW_OWNER = 0x15; // 21
54
- /** MissingSystemProgram: Missing system program */
55
- export const MPL_CORE_ERROR__MISSING_SYSTEM_PROGRAM = 0x16; // 22
56
- /** NotAvailable: Feature not available */
57
- export const MPL_CORE_ERROR__NOT_AVAILABLE = 0x17; // 23
58
- /** InvalidAsset: Invalid Asset passed in */
59
- export const MPL_CORE_ERROR__INVALID_ASSET = 0x18; // 24
60
- /** MissingCollection: Missing collection */
61
- export const MPL_CORE_ERROR__MISSING_COLLECTION = 0x19; // 25
62
- /** NoApprovals: Neither the asset or any plugins have approved this operation */
63
- export const MPL_CORE_ERROR__NO_APPROVALS = 0x1a; // 26
64
- /** CannotRedelegate: Plugin Manager cannot redelegate a delegated plugin without revoking first */
65
- export const MPL_CORE_ERROR__CANNOT_REDELEGATE = 0x1b; // 27
66
- /** InvalidPluginSetting: Invalid setting for plugin */
67
- export const MPL_CORE_ERROR__INVALID_PLUGIN_SETTING = 0x1c; // 28
68
- /** ConflictingAuthority: Cannot specify both an update authority and collection on an asset */
69
- export const MPL_CORE_ERROR__CONFLICTING_AUTHORITY = 0x1d; // 29
70
- /** InvalidLogWrapperProgram: Invalid Log Wrapper Program */
71
- export const MPL_CORE_ERROR__INVALID_LOG_WRAPPER_PROGRAM = 0x1e; // 30
72
- /** ExternalPluginAdapterNotFound: External Plugin Adapter not found */
73
- export const MPL_CORE_ERROR__EXTERNAL_PLUGIN_ADAPTER_NOT_FOUND = 0x1f; // 31
74
- /** ExternalPluginAdapterAlreadyExists: External Plugin Adapter already exists */
75
- export const MPL_CORE_ERROR__EXTERNAL_PLUGIN_ADAPTER_ALREADY_EXISTS = 0x20; // 32
76
- /** MissingAsset: Missing asset needed for extra account PDA derivation */
77
- export const MPL_CORE_ERROR__MISSING_ASSET = 0x21; // 33
78
- /** MissingExternalPluginAdapterAccount: Missing account needed for external plugin adapter */
79
- export const MPL_CORE_ERROR__MISSING_EXTERNAL_PLUGIN_ADAPTER_ACCOUNT = 0x22; // 34
80
- /** OracleCanRejectOnly: Oracle external plugin adapter can only be configured to reject */
81
- export const MPL_CORE_ERROR__ORACLE_CAN_REJECT_ONLY = 0x23; // 35
82
- /** RequiresLifecycleCheck: External plugin adapter must have at least one lifecycle check */
83
- export const MPL_CORE_ERROR__REQUIRES_LIFECYCLE_CHECK = 0x24; // 36
84
- /** DuplicateLifecycleChecks: Duplicate lifecycle checks were provided for external plugin adapter */
85
- export const MPL_CORE_ERROR__DUPLICATE_LIFECYCLE_CHECKS = 0x25; // 37
86
- /** InvalidOracleAccountData: Could not read from oracle account */
87
- export const MPL_CORE_ERROR__INVALID_ORACLE_ACCOUNT_DATA = 0x26; // 38
88
- /** UninitializedOracleAccount: Oracle account is uninitialized */
89
- export const MPL_CORE_ERROR__UNINITIALIZED_ORACLE_ACCOUNT = 0x27; // 39
90
- /** MissingSigner: Missing required signer for operation */
91
- export const MPL_CORE_ERROR__MISSING_SIGNER = 0x28; // 40
92
- /** InvalidPluginOperation: Invalid plugin operation */
93
- export const MPL_CORE_ERROR__INVALID_PLUGIN_OPERATION = 0x29; // 41
94
- /** CollectionMustBeEmpty: Collection must be empty to be burned */
95
- export const MPL_CORE_ERROR__COLLECTION_MUST_BE_EMPTY = 0x2a; // 42
96
- /** TwoDataSources: Two data sources provided, only one is allowed */
97
- export const MPL_CORE_ERROR__TWO_DATA_SOURCES = 0x2b; // 43
98
- /** UnsupportedOperation: External Plugin does not support this operation */
99
- export const MPL_CORE_ERROR__UNSUPPORTED_OPERATION = 0x2c; // 44
100
- /** NoDataSources: No data sources provided, one is required */
101
- export const MPL_CORE_ERROR__NO_DATA_SOURCES = 0x2d; // 45
102
- /** InvalidPluginAdapterTarget: This plugin adapter cannot be added to an Asset */
103
- export const MPL_CORE_ERROR__INVALID_PLUGIN_ADAPTER_TARGET = 0x2e; // 46
104
- /** CannotAddDataSection: Cannot add a Data Section without a linked external plugin */
105
- export const MPL_CORE_ERROR__CANNOT_ADD_DATA_SECTION = 0x2f; // 47
106
- /** PermanentDelegatesPreventMove: Cannot move asset to collection with permanent delegates */
107
- export const MPL_CORE_ERROR__PERMANENT_DELEGATES_PREVENT_MOVE = 0x30; // 48
108
- /** InvalidExecutePda: Invalid Signing PDA for Asset or Collection Execute */
109
- export const MPL_CORE_ERROR__INVALID_EXECUTE_PDA = 0x31; // 49
110
- /** BlockedByBubblegumV2: Bubblegum V2 Plugin limits other plugins */
111
- export const MPL_CORE_ERROR__BLOCKED_BY_BUBBLEGUM_V2 = 0x32; // 50
112
- /** AgentIdentityMustSign: Agent Identity Program must sign */
113
- export const MPL_CORE_ERROR__AGENT_IDENTITY_MUST_SIGN = 0x33; // 51
114
- /** GroupMustBeEmpty: Group must be empty to be closed */
115
- export const MPL_CORE_ERROR__GROUP_MUST_BE_EMPTY = 0x34; // 52
116
- /** DuplicateEntry: Duplicate entry provided when adding relationships to a group */
117
- export const MPL_CORE_ERROR__DUPLICATE_ENTRY = 0x35; // 53
118
- /** GroupVectorFull: Group vector is at maximum capacity */
119
- export const MPL_CORE_ERROR__GROUP_VECTOR_FULL = 0x36; // 54
120
- /** GroupNestingDepthExceeded: Group nesting depth exceeded */
121
- export const MPL_CORE_ERROR__GROUP_NESTING_DEPTH_EXCEEDED = 0x37; // 55
122
- /** InconsistentGroupRelationship: Bidirectional group relationship is inconsistent */
123
- export const MPL_CORE_ERROR__INCONSISTENT_GROUP_RELATIONSHIP = 0x38; // 56
124
- let mplCoreErrorMessages;
125
- if (process.env.NODE_ENV !== 'production') {
126
- mplCoreErrorMessages = { [MPL_CORE_ERROR__AGENT_IDENTITY_MUST_SIGN]: `Agent Identity Program must sign`, [MPL_CORE_ERROR__ALREADY_COMPRESSED]: `Already compressed account`, [MPL_CORE_ERROR__ALREADY_DECOMPRESSED]: `Already decompressed account`, [MPL_CORE_ERROR__ASSET_IS_FROZEN]: `Cannot transfer a frozen asset`, [MPL_CORE_ERROR__BLOCKED_BY_BUBBLEGUM_V2]: `Bubblegum V2 Plugin limits other plugins`, [MPL_CORE_ERROR__CANNOT_ADD_DATA_SECTION]: `Cannot add a Data Section without a linked external plugin`, [MPL_CORE_ERROR__CANNOT_BURN_COLLECTION]: `Cannot burn a collection NFT`, [MPL_CORE_ERROR__CANNOT_MIGRATE_MASTER_WITH_SUPPLY]: `Cannot migrate a master edition used for prints`, [MPL_CORE_ERROR__CANNOT_MIGRATE_PRINTS]: `Cannot migrate a print edition`, [MPL_CORE_ERROR__CANNOT_REDELEGATE]: `Plugin Manager cannot redelegate a delegated plugin without revoking first`, [MPL_CORE_ERROR__COLLECTION_MUST_BE_EMPTY]: `Collection must be empty to be burned`, [MPL_CORE_ERROR__CONFLICTING_AUTHORITY]: `Cannot specify both an update authority and collection on an asset`, [MPL_CORE_ERROR__DESERIALIZATION_ERROR]: `Error deserializing account`, [MPL_CORE_ERROR__DUPLICATE_ENTRY]: `Duplicate entry provided when adding relationships to a group`, [MPL_CORE_ERROR__DUPLICATE_LIFECYCLE_CHECKS]: `Duplicate lifecycle checks were provided for external plugin adapter `, [MPL_CORE_ERROR__EXTERNAL_PLUGIN_ADAPTER_ALREADY_EXISTS]: `External Plugin Adapter already exists`, [MPL_CORE_ERROR__EXTERNAL_PLUGIN_ADAPTER_NOT_FOUND]: `External Plugin Adapter not found`, [MPL_CORE_ERROR__GROUP_MUST_BE_EMPTY]: `Group must be empty to be closed`, [MPL_CORE_ERROR__GROUP_NESTING_DEPTH_EXCEEDED]: `Group nesting depth exceeded`, [MPL_CORE_ERROR__GROUP_VECTOR_FULL]: `Group vector is at maximum capacity`, [MPL_CORE_ERROR__INCONSISTENT_GROUP_RELATIONSHIP]: `Bidirectional group relationship is inconsistent`, [MPL_CORE_ERROR__INCORRECT_ACCOUNT]: `Incorrect account`, [MPL_CORE_ERROR__INCORRECT_ASSET_HASH]: `Incorrect asset hash`, [MPL_CORE_ERROR__INVALID_ASSET]: `Invalid Asset passed in`, [MPL_CORE_ERROR__INVALID_AUTHORITY]: `Invalid Authority`, [MPL_CORE_ERROR__INVALID_COLLECTION]: `Invalid Collection passed in`, [MPL_CORE_ERROR__INVALID_EXECUTE_PDA]: `Invalid Signing PDA for Asset or Collection Execute`, [MPL_CORE_ERROR__INVALID_LOG_WRAPPER_PROGRAM]: `Invalid Log Wrapper Program`, [MPL_CORE_ERROR__INVALID_ORACLE_ACCOUNT_DATA]: `Could not read from oracle account`, [MPL_CORE_ERROR__INVALID_PLUGIN]: `Invalid Plugin`, [MPL_CORE_ERROR__INVALID_PLUGIN_ADAPTER_TARGET]: `This plugin adapter cannot be added to an Asset`, [MPL_CORE_ERROR__INVALID_PLUGIN_OPERATION]: `Invalid plugin operation`, [MPL_CORE_ERROR__INVALID_PLUGIN_SETTING]: `Invalid setting for plugin`, [MPL_CORE_ERROR__INVALID_SYSTEM_PROGRAM]: `Invalid System Program`, [MPL_CORE_ERROR__MISSING_ASSET]: `Missing asset needed for extra account PDA derivation`, [MPL_CORE_ERROR__MISSING_COLLECTION]: `Missing collection`, [MPL_CORE_ERROR__MISSING_COMPRESSION_PROOF]: `Missing compression proof`, [MPL_CORE_ERROR__MISSING_EXTERNAL_PLUGIN_ADAPTER_ACCOUNT]: `Missing account needed for external plugin adapter`, [MPL_CORE_ERROR__MISSING_NEW_OWNER]: `Missing new owner`, [MPL_CORE_ERROR__MISSING_SIGNER]: `Missing required signer for operation`, [MPL_CORE_ERROR__MISSING_SYSTEM_PROGRAM]: `Missing system program`, [MPL_CORE_ERROR__MISSING_UPDATE_AUTHORITY]: `Missing update authority`, [MPL_CORE_ERROR__NO_APPROVALS]: `Neither the asset or any plugins have approved this operation`, [MPL_CORE_ERROR__NO_DATA_SOURCES]: `No data sources provided, one is required`, [MPL_CORE_ERROR__NOT_AVAILABLE]: `Feature not available`, [MPL_CORE_ERROR__NUMERICAL_OVERFLOW]: `Numerical Overflow`, [MPL_CORE_ERROR__NUMERICAL_OVERFLOW_ERROR]: `Numerical overflow`, [MPL_CORE_ERROR__ORACLE_CAN_REJECT_ONLY]: `Oracle external plugin adapter can only be configured to reject`, [MPL_CORE_ERROR__PERMANENT_DELEGATES_PREVENT_MOVE]: `Cannot move asset to collection with permanent delegates`, [MPL_CORE_ERROR__PLUGIN_ALREADY_EXISTS]: `Plugin already exists`, [MPL_CORE_ERROR__PLUGIN_NOT_FOUND]: `Plugin not found`, [MPL_CORE_ERROR__PLUGINS_NOT_INITIALIZED]: `Plugins not initialized`, [MPL_CORE_ERROR__REQUIRES_LIFECYCLE_CHECK]: `External plugin adapter must have at least one lifecycle check`, [MPL_CORE_ERROR__SERIALIZATION_ERROR]: `Error serializing account`, [MPL_CORE_ERROR__TWO_DATA_SOURCES]: `Two data sources provided, only one is allowed`, [MPL_CORE_ERROR__UNINITIALIZED_ORACLE_ACCOUNT]: `Oracle account is uninitialized`, [MPL_CORE_ERROR__UNSUPPORTED_OPERATION]: `External Plugin does not support this operation` };
127
- }
128
- export function getMplCoreErrorMessage(code) {
129
- if (process.env.NODE_ENV !== 'production') {
130
- return mplCoreErrorMessages[code];
131
- }
132
- return 'Error message not available in production bundles.';
133
- }
134
- export function isMplCoreError(error, transactionMessage, code) {
135
- return isProgramError(error, transactionMessage, MPL_CORE_PROGRAM_ADDRESS, code);
136
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * AUTOGENERATED by sdk/scripts/codegen.mjs.
3
- * Do not edit by hand — re-run `yarn codegen`.
4
- */
5
- export * from './accounts/index.js';
6
- export * from './instructions/index.js';
7
- export * from './errors/index.js';
8
- export * from './program-address.js';