@ar.io/sdk 4.0.0-solana.8 → 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 +1198 -197
  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 +28 -38
  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,30 +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 { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from '@solana/kit';
9
- export declare const REDELEGATION_EVENT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
- export declare function getRedelegationEventDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
11
- export type RedelegationEvent = {
12
- discriminator: ReadonlyUint8Array;
13
- delegator: Address;
14
- fromGateway: Address;
15
- toGateway: Address;
16
- amount: bigint;
17
- fee: bigint;
18
- timestamp: bigint;
19
- };
20
- export type RedelegationEventArgs = {
21
- delegator: Address;
22
- fromGateway: Address;
23
- toGateway: Address;
24
- amount: number | bigint;
25
- fee: number | bigint;
26
- timestamp: number | bigint;
27
- };
28
- export declare function getRedelegationEventEncoder(): FixedSizeEncoder<RedelegationEventArgs>;
29
- export declare function getRedelegationEventDecoder(): FixedSizeDecoder<RedelegationEvent>;
30
- export declare function getRedelegationEventCodec(): FixedSizeCodec<RedelegationEventArgs, RedelegationEvent>;
@@ -1,30 +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 { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from '@solana/kit';
9
- export declare const RESIDUE_VAULT_CREATED_EVENT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
- export declare function getResidueVaultCreatedEventDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
11
- export type ResidueVaultCreatedEvent = {
12
- discriminator: ReadonlyUint8Array;
13
- owner: Address;
14
- withdrawalId: bigint;
15
- gateway: Address;
16
- amount: bigint;
17
- availableAt: bigint;
18
- timestamp: bigint;
19
- };
20
- export type ResidueVaultCreatedEventArgs = {
21
- owner: Address;
22
- withdrawalId: number | bigint;
23
- gateway: Address;
24
- amount: number | bigint;
25
- availableAt: number | bigint;
26
- timestamp: number | bigint;
27
- };
28
- export declare function getResidueVaultCreatedEventEncoder(): FixedSizeEncoder<ResidueVaultCreatedEventArgs>;
29
- export declare function getResidueVaultCreatedEventDecoder(): FixedSizeDecoder<ResidueVaultCreatedEvent>;
30
- export declare function getResidueVaultCreatedEventCodec(): FixedSizeCodec<ResidueVaultCreatedEventArgs, ResidueVaultCreatedEvent>;
@@ -1,26 +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 { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from '@solana/kit';
9
- export declare const REWARDS_COMPOUNDED_EVENT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
- export declare function getRewardsCompoundedEventDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
11
- export type RewardsCompoundedEvent = {
12
- discriminator: ReadonlyUint8Array;
13
- delegator: Address;
14
- gateway: Address;
15
- compounded: bigint;
16
- timestamp: bigint;
17
- };
18
- export type RewardsCompoundedEventArgs = {
19
- delegator: Address;
20
- gateway: Address;
21
- compounded: number | bigint;
22
- timestamp: number | bigint;
23
- };
24
- export declare function getRewardsCompoundedEventEncoder(): FixedSizeEncoder<RewardsCompoundedEventArgs>;
25
- export declare function getRewardsCompoundedEventDecoder(): FixedSizeDecoder<RewardsCompoundedEvent>;
26
- export declare function getRewardsCompoundedEventCodec(): FixedSizeCodec<RewardsCompoundedEventArgs, RewardsCompoundedEvent>;
@@ -1,28 +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 { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from '@solana/kit';
9
- export declare const STAKE_PAYMENT_EVENT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
- export declare function getStakePaymentEventDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
11
- export type StakePaymentEvent = {
12
- discriminator: ReadonlyUint8Array;
13
- payer: Address;
14
- gateway: Address;
15
- amount: bigint;
16
- isDelegate: boolean;
17
- timestamp: bigint;
18
- };
19
- export type StakePaymentEventArgs = {
20
- payer: Address;
21
- gateway: Address;
22
- amount: number | bigint;
23
- isDelegate: boolean;
24
- timestamp: number | bigint;
25
- };
26
- export declare function getStakePaymentEventEncoder(): FixedSizeEncoder<StakePaymentEventArgs>;
27
- export declare function getStakePaymentEventDecoder(): FixedSizeDecoder<StakePaymentEvent>;
28
- export declare function getStakePaymentEventCodec(): FixedSizeCodec<StakePaymentEventArgs, StakePaymentEvent>;
@@ -1,30 +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 { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from '@solana/kit';
9
- export declare const WITHDRAWAL_CANCELLED_EVENT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
- export declare function getWithdrawalCancelledEventDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
11
- export type WithdrawalCancelledEvent = {
12
- discriminator: ReadonlyUint8Array;
13
- owner: Address;
14
- gateway: Address;
15
- withdrawalId: bigint;
16
- amount: bigint;
17
- isDelegate: boolean;
18
- timestamp: bigint;
19
- };
20
- export type WithdrawalCancelledEventArgs = {
21
- owner: Address;
22
- gateway: Address;
23
- withdrawalId: number | bigint;
24
- amount: number | bigint;
25
- isDelegate: boolean;
26
- timestamp: number | bigint;
27
- };
28
- export declare function getWithdrawalCancelledEventEncoder(): FixedSizeEncoder<WithdrawalCancelledEventArgs>;
29
- export declare function getWithdrawalCancelledEventDecoder(): FixedSizeDecoder<WithdrawalCancelledEvent>;
30
- export declare function getWithdrawalCancelledEventCodec(): FixedSizeCodec<WithdrawalCancelledEventArgs, WithdrawalCancelledEvent>;
@@ -1,26 +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 { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from '@solana/kit';
9
- export declare const WITHDRAWAL_CLAIMED_EVENT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
- export declare function getWithdrawalClaimedEventDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
11
- export type WithdrawalClaimedEvent = {
12
- discriminator: ReadonlyUint8Array;
13
- owner: Address;
14
- withdrawalId: bigint;
15
- amount: bigint;
16
- timestamp: bigint;
17
- };
18
- export type WithdrawalClaimedEventArgs = {
19
- owner: Address;
20
- withdrawalId: number | bigint;
21
- amount: number | bigint;
22
- timestamp: number | bigint;
23
- };
24
- export declare function getWithdrawalClaimedEventEncoder(): FixedSizeEncoder<WithdrawalClaimedEventArgs>;
25
- export declare function getWithdrawalClaimedEventDecoder(): FixedSizeDecoder<WithdrawalClaimedEvent>;
26
- export declare function getWithdrawalClaimedEventCodec(): FixedSizeCodec<WithdrawalClaimedEventArgs, WithdrawalClaimedEvent>;
@@ -1,28 +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 { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from '@solana/kit';
9
- export declare const WITHDRAWAL_CREATED_EVENT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
- export declare function getWithdrawalCreatedEventDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
11
- export type WithdrawalCreatedEvent = {
12
- discriminator: ReadonlyUint8Array;
13
- owner: Address;
14
- withdrawalId: bigint;
15
- amount: bigint;
16
- availableAt: bigint;
17
- timestamp: bigint;
18
- };
19
- export type WithdrawalCreatedEventArgs = {
20
- owner: Address;
21
- withdrawalId: number | bigint;
22
- amount: number | bigint;
23
- availableAt: number | bigint;
24
- timestamp: number | bigint;
25
- };
26
- export declare function getWithdrawalCreatedEventEncoder(): FixedSizeEncoder<WithdrawalCreatedEventArgs>;
27
- export declare function getWithdrawalCreatedEventDecoder(): FixedSizeDecoder<WithdrawalCreatedEvent>;
28
- export declare function getWithdrawalCreatedEventCodec(): FixedSizeCodec<WithdrawalCreatedEventArgs, WithdrawalCreatedEvent>;
@@ -1,28 +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 { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from '@solana/kit';
9
- export declare const WITHDRAWAL_PAYMENT_EVENT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
- export declare function getWithdrawalPaymentEventDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
11
- export type WithdrawalPaymentEvent = {
12
- discriminator: ReadonlyUint8Array;
13
- owner: Address;
14
- withdrawalId: bigint;
15
- amount: bigint;
16
- residue: bigint;
17
- timestamp: bigint;
18
- };
19
- export type WithdrawalPaymentEventArgs = {
20
- owner: Address;
21
- withdrawalId: number | bigint;
22
- amount: number | bigint;
23
- residue: number | bigint;
24
- timestamp: number | bigint;
25
- };
26
- export declare function getWithdrawalPaymentEventEncoder(): FixedSizeEncoder<WithdrawalPaymentEventArgs>;
27
- export declare function getWithdrawalPaymentEventDecoder(): FixedSizeDecoder<WithdrawalPaymentEvent>;
28
- export declare function getWithdrawalPaymentEventCodec(): FixedSizeCodec<WithdrawalPaymentEventArgs, WithdrawalPaymentEvent>;
@@ -1,37 +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 { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type Codec, type Decoder, type EncodedAccount, type Encoder, type FetchAccountConfig, type FetchAccountsConfig, type MaybeAccount, type MaybeEncodedAccount, type Option, type OptionOrNullable } from '@solana/kit';
9
- import { type Key, type KeyArgs, type UpdateAuthority, type UpdateAuthorityArgs } from '../types/index.js';
10
- export type AssetV1 = {
11
- key: Key;
12
- owner: Address;
13
- updateAuthority: UpdateAuthority;
14
- name: string;
15
- uri: string;
16
- seq: Option<bigint>;
17
- };
18
- export type AssetV1Args = {
19
- key: KeyArgs;
20
- owner: Address;
21
- updateAuthority: UpdateAuthorityArgs;
22
- name: string;
23
- uri: string;
24
- seq: OptionOrNullable<number | bigint>;
25
- };
26
- /** Gets the encoder for {@link AssetV1Args} account data. */
27
- export declare function getAssetV1Encoder(): Encoder<AssetV1Args>;
28
- /** Gets the decoder for {@link AssetV1} account data. */
29
- export declare function getAssetV1Decoder(): Decoder<AssetV1>;
30
- /** Gets the codec for {@link AssetV1} account data. */
31
- export declare function getAssetV1Codec(): Codec<AssetV1Args, AssetV1>;
32
- export declare function decodeAssetV1<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<AssetV1, TAddress>;
33
- export declare function decodeAssetV1<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<AssetV1, TAddress>;
34
- export declare function fetchAssetV1<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<AssetV1, TAddress>>;
35
- export declare function fetchMaybeAssetV1<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<AssetV1, TAddress>>;
36
- export declare function fetchAllAssetV1(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<AssetV1>[]>;
37
- export declare function fetchAllMaybeAssetV1(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<AssetV1>[]>;
@@ -1,37 +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 { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type Codec, type Decoder, type EncodedAccount, type Encoder, type FetchAccountConfig, type FetchAccountsConfig, type MaybeAccount, type MaybeEncodedAccount } from '@solana/kit';
9
- import { type Key, type KeyArgs } from '../types/index.js';
10
- export type CollectionV1 = {
11
- key: Key;
12
- updateAuthority: Address;
13
- name: string;
14
- uri: string;
15
- numMinted: number;
16
- currentSize: number;
17
- };
18
- export type CollectionV1Args = {
19
- key: KeyArgs;
20
- updateAuthority: Address;
21
- name: string;
22
- uri: string;
23
- numMinted: number;
24
- currentSize: number;
25
- };
26
- /** Gets the encoder for {@link CollectionV1Args} account data. */
27
- export declare function getCollectionV1Encoder(): Encoder<CollectionV1Args>;
28
- /** Gets the decoder for {@link CollectionV1} account data. */
29
- export declare function getCollectionV1Decoder(): Decoder<CollectionV1>;
30
- /** Gets the codec for {@link CollectionV1} account data. */
31
- export declare function getCollectionV1Codec(): Codec<CollectionV1Args, CollectionV1>;
32
- export declare function decodeCollectionV1<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<CollectionV1, TAddress>;
33
- export declare function decodeCollectionV1<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<CollectionV1, TAddress>;
34
- export declare function fetchCollectionV1<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<CollectionV1, TAddress>>;
35
- export declare function fetchMaybeCollectionV1<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<CollectionV1, TAddress>>;
36
- export declare function fetchAllCollectionV1(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<CollectionV1>[]>;
37
- export declare function fetchAllMaybeCollectionV1(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<CollectionV1>[]>;
@@ -1,30 +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 { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
9
- import { type Key, type KeyArgs } from '../types/index.js';
10
- export type HashedAssetV1 = {
11
- key: Key;
12
- hash: ReadonlyUint8Array;
13
- };
14
- export type HashedAssetV1Args = {
15
- key: KeyArgs;
16
- hash: ReadonlyUint8Array;
17
- };
18
- /** Gets the encoder for {@link HashedAssetV1Args} account data. */
19
- export declare function getHashedAssetV1Encoder(): FixedSizeEncoder<HashedAssetV1Args>;
20
- /** Gets the decoder for {@link HashedAssetV1} account data. */
21
- export declare function getHashedAssetV1Decoder(): FixedSizeDecoder<HashedAssetV1>;
22
- /** Gets the codec for {@link HashedAssetV1} account data. */
23
- export declare function getHashedAssetV1Codec(): FixedSizeCodec<HashedAssetV1Args, HashedAssetV1>;
24
- export declare function decodeHashedAssetV1<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<HashedAssetV1, TAddress>;
25
- export declare function decodeHashedAssetV1<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<HashedAssetV1, TAddress>;
26
- export declare function fetchHashedAssetV1<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<HashedAssetV1, TAddress>>;
27
- export declare function fetchMaybeHashedAssetV1<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<HashedAssetV1, TAddress>>;
28
- export declare function fetchAllHashedAssetV1(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<HashedAssetV1>[]>;
29
- export declare function fetchAllMaybeHashedAssetV1(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<HashedAssetV1>[]>;
30
- export declare function getHashedAssetV1Size(): number;
@@ -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,30 +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 { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount } from '@solana/kit';
9
- import { type Key, type KeyArgs } from '../types/index.js';
10
- export type PluginHeaderV1 = {
11
- key: Key;
12
- pluginRegistryOffset: bigint;
13
- };
14
- export type PluginHeaderV1Args = {
15
- key: KeyArgs;
16
- pluginRegistryOffset: number | bigint;
17
- };
18
- /** Gets the encoder for {@link PluginHeaderV1Args} account data. */
19
- export declare function getPluginHeaderV1Encoder(): FixedSizeEncoder<PluginHeaderV1Args>;
20
- /** Gets the decoder for {@link PluginHeaderV1} account data. */
21
- export declare function getPluginHeaderV1Decoder(): FixedSizeDecoder<PluginHeaderV1>;
22
- /** Gets the codec for {@link PluginHeaderV1} account data. */
23
- export declare function getPluginHeaderV1Codec(): FixedSizeCodec<PluginHeaderV1Args, PluginHeaderV1>;
24
- export declare function decodePluginHeaderV1<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<PluginHeaderV1, TAddress>;
25
- export declare function decodePluginHeaderV1<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<PluginHeaderV1, TAddress>;
26
- export declare function fetchPluginHeaderV1<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<PluginHeaderV1, TAddress>>;
27
- export declare function fetchMaybePluginHeaderV1<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<PluginHeaderV1, TAddress>>;
28
- export declare function fetchAllPluginHeaderV1(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<PluginHeaderV1>[]>;
29
- export declare function fetchAllMaybePluginHeaderV1(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<PluginHeaderV1>[]>;
30
- export declare function getPluginHeaderV1Size(): number;
@@ -1,31 +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 { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type Codec, type Decoder, type EncodedAccount, type Encoder, type FetchAccountConfig, type FetchAccountsConfig, type MaybeAccount, type MaybeEncodedAccount } from '@solana/kit';
9
- import { type ExternalRegistryRecord, type ExternalRegistryRecordArgs, type Key, type KeyArgs, type RegistryRecord, type RegistryRecordArgs } from '../types/index.js';
10
- export type PluginRegistryV1 = {
11
- key: Key;
12
- registry: Array<RegistryRecord>;
13
- externalRegistry: Array<ExternalRegistryRecord>;
14
- };
15
- export type PluginRegistryV1Args = {
16
- key: KeyArgs;
17
- registry: Array<RegistryRecordArgs>;
18
- externalRegistry: Array<ExternalRegistryRecordArgs>;
19
- };
20
- /** Gets the encoder for {@link PluginRegistryV1Args} account data. */
21
- export declare function getPluginRegistryV1Encoder(): Encoder<PluginRegistryV1Args>;
22
- /** Gets the decoder for {@link PluginRegistryV1} account data. */
23
- export declare function getPluginRegistryV1Decoder(): Decoder<PluginRegistryV1>;
24
- /** Gets the codec for {@link PluginRegistryV1} account data. */
25
- export declare function getPluginRegistryV1Codec(): Codec<PluginRegistryV1Args, PluginRegistryV1>;
26
- export declare function decodePluginRegistryV1<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<PluginRegistryV1, TAddress>;
27
- export declare function decodePluginRegistryV1<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<PluginRegistryV1, TAddress>;
28
- export declare function fetchPluginRegistryV1<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<PluginRegistryV1, TAddress>>;
29
- export declare function fetchMaybePluginRegistryV1<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<PluginRegistryV1, TAddress>>;
30
- export declare function fetchAllPluginRegistryV1(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<PluginRegistryV1>[]>;
31
- export declare function fetchAllMaybePluginRegistryV1(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<PluginRegistryV1>[]>;
@@ -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,133 +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 { type Address, type SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, type SolanaError } from '@solana/kit';
9
- /** InvalidSystemProgram: Invalid System Program */
10
- export declare const MPL_CORE_ERROR__INVALID_SYSTEM_PROGRAM = 0;
11
- /** DeserializationError: Error deserializing account */
12
- export declare const MPL_CORE_ERROR__DESERIALIZATION_ERROR = 1;
13
- /** SerializationError: Error serializing account */
14
- export declare const MPL_CORE_ERROR__SERIALIZATION_ERROR = 2;
15
- /** PluginsNotInitialized: Plugins not initialized */
16
- export declare const MPL_CORE_ERROR__PLUGINS_NOT_INITIALIZED = 3;
17
- /** PluginNotFound: Plugin not found */
18
- export declare const MPL_CORE_ERROR__PLUGIN_NOT_FOUND = 4;
19
- /** NumericalOverflow: Numerical Overflow */
20
- export declare const MPL_CORE_ERROR__NUMERICAL_OVERFLOW = 5;
21
- /** IncorrectAccount: Incorrect account */
22
- export declare const MPL_CORE_ERROR__INCORRECT_ACCOUNT = 6;
23
- /** IncorrectAssetHash: Incorrect asset hash */
24
- export declare const MPL_CORE_ERROR__INCORRECT_ASSET_HASH = 7;
25
- /** InvalidPlugin: Invalid Plugin */
26
- export declare const MPL_CORE_ERROR__INVALID_PLUGIN = 8;
27
- /** InvalidAuthority: Invalid Authority */
28
- export declare const MPL_CORE_ERROR__INVALID_AUTHORITY = 9;
29
- /** AssetIsFrozen: Cannot transfer a frozen asset */
30
- export declare const MPL_CORE_ERROR__ASSET_IS_FROZEN = 10;
31
- /** MissingCompressionProof: Missing compression proof */
32
- export declare const MPL_CORE_ERROR__MISSING_COMPRESSION_PROOF = 11;
33
- /** CannotMigrateMasterWithSupply: Cannot migrate a master edition used for prints */
34
- export declare const MPL_CORE_ERROR__CANNOT_MIGRATE_MASTER_WITH_SUPPLY = 12;
35
- /** CannotMigratePrints: Cannot migrate a print edition */
36
- export declare const MPL_CORE_ERROR__CANNOT_MIGRATE_PRINTS = 13;
37
- /** CannotBurnCollection: Cannot burn a collection NFT */
38
- export declare const MPL_CORE_ERROR__CANNOT_BURN_COLLECTION = 14;
39
- /** PluginAlreadyExists: Plugin already exists */
40
- export declare const MPL_CORE_ERROR__PLUGIN_ALREADY_EXISTS = 15;
41
- /** NumericalOverflowError: Numerical overflow */
42
- export declare const MPL_CORE_ERROR__NUMERICAL_OVERFLOW_ERROR = 16;
43
- /** AlreadyCompressed: Already compressed account */
44
- export declare const MPL_CORE_ERROR__ALREADY_COMPRESSED = 17;
45
- /** AlreadyDecompressed: Already decompressed account */
46
- export declare const MPL_CORE_ERROR__ALREADY_DECOMPRESSED = 18;
47
- /** InvalidCollection: Invalid Collection passed in */
48
- export declare const MPL_CORE_ERROR__INVALID_COLLECTION = 19;
49
- /** MissingUpdateAuthority: Missing update authority */
50
- export declare const MPL_CORE_ERROR__MISSING_UPDATE_AUTHORITY = 20;
51
- /** MissingNewOwner: Missing new owner */
52
- export declare const MPL_CORE_ERROR__MISSING_NEW_OWNER = 21;
53
- /** MissingSystemProgram: Missing system program */
54
- export declare const MPL_CORE_ERROR__MISSING_SYSTEM_PROGRAM = 22;
55
- /** NotAvailable: Feature not available */
56
- export declare const MPL_CORE_ERROR__NOT_AVAILABLE = 23;
57
- /** InvalidAsset: Invalid Asset passed in */
58
- export declare const MPL_CORE_ERROR__INVALID_ASSET = 24;
59
- /** MissingCollection: Missing collection */
60
- export declare const MPL_CORE_ERROR__MISSING_COLLECTION = 25;
61
- /** NoApprovals: Neither the asset or any plugins have approved this operation */
62
- export declare const MPL_CORE_ERROR__NO_APPROVALS = 26;
63
- /** CannotRedelegate: Plugin Manager cannot redelegate a delegated plugin without revoking first */
64
- export declare const MPL_CORE_ERROR__CANNOT_REDELEGATE = 27;
65
- /** InvalidPluginSetting: Invalid setting for plugin */
66
- export declare const MPL_CORE_ERROR__INVALID_PLUGIN_SETTING = 28;
67
- /** ConflictingAuthority: Cannot specify both an update authority and collection on an asset */
68
- export declare const MPL_CORE_ERROR__CONFLICTING_AUTHORITY = 29;
69
- /** InvalidLogWrapperProgram: Invalid Log Wrapper Program */
70
- export declare const MPL_CORE_ERROR__INVALID_LOG_WRAPPER_PROGRAM = 30;
71
- /** ExternalPluginAdapterNotFound: External Plugin Adapter not found */
72
- export declare const MPL_CORE_ERROR__EXTERNAL_PLUGIN_ADAPTER_NOT_FOUND = 31;
73
- /** ExternalPluginAdapterAlreadyExists: External Plugin Adapter already exists */
74
- export declare const MPL_CORE_ERROR__EXTERNAL_PLUGIN_ADAPTER_ALREADY_EXISTS = 32;
75
- /** MissingAsset: Missing asset needed for extra account PDA derivation */
76
- export declare const MPL_CORE_ERROR__MISSING_ASSET = 33;
77
- /** MissingExternalPluginAdapterAccount: Missing account needed for external plugin adapter */
78
- export declare const MPL_CORE_ERROR__MISSING_EXTERNAL_PLUGIN_ADAPTER_ACCOUNT = 34;
79
- /** OracleCanRejectOnly: Oracle external plugin adapter can only be configured to reject */
80
- export declare const MPL_CORE_ERROR__ORACLE_CAN_REJECT_ONLY = 35;
81
- /** RequiresLifecycleCheck: External plugin adapter must have at least one lifecycle check */
82
- export declare const MPL_CORE_ERROR__REQUIRES_LIFECYCLE_CHECK = 36;
83
- /** DuplicateLifecycleChecks: Duplicate lifecycle checks were provided for external plugin adapter */
84
- export declare const MPL_CORE_ERROR__DUPLICATE_LIFECYCLE_CHECKS = 37;
85
- /** InvalidOracleAccountData: Could not read from oracle account */
86
- export declare const MPL_CORE_ERROR__INVALID_ORACLE_ACCOUNT_DATA = 38;
87
- /** UninitializedOracleAccount: Oracle account is uninitialized */
88
- export declare const MPL_CORE_ERROR__UNINITIALIZED_ORACLE_ACCOUNT = 39;
89
- /** MissingSigner: Missing required signer for operation */
90
- export declare const MPL_CORE_ERROR__MISSING_SIGNER = 40;
91
- /** InvalidPluginOperation: Invalid plugin operation */
92
- export declare const MPL_CORE_ERROR__INVALID_PLUGIN_OPERATION = 41;
93
- /** CollectionMustBeEmpty: Collection must be empty to be burned */
94
- export declare const MPL_CORE_ERROR__COLLECTION_MUST_BE_EMPTY = 42;
95
- /** TwoDataSources: Two data sources provided, only one is allowed */
96
- export declare const MPL_CORE_ERROR__TWO_DATA_SOURCES = 43;
97
- /** UnsupportedOperation: External Plugin does not support this operation */
98
- export declare const MPL_CORE_ERROR__UNSUPPORTED_OPERATION = 44;
99
- /** NoDataSources: No data sources provided, one is required */
100
- export declare const MPL_CORE_ERROR__NO_DATA_SOURCES = 45;
101
- /** InvalidPluginAdapterTarget: This plugin adapter cannot be added to an Asset */
102
- export declare const MPL_CORE_ERROR__INVALID_PLUGIN_ADAPTER_TARGET = 46;
103
- /** CannotAddDataSection: Cannot add a Data Section without a linked external plugin */
104
- export declare const MPL_CORE_ERROR__CANNOT_ADD_DATA_SECTION = 47;
105
- /** PermanentDelegatesPreventMove: Cannot move asset to collection with permanent delegates */
106
- export declare const MPL_CORE_ERROR__PERMANENT_DELEGATES_PREVENT_MOVE = 48;
107
- /** InvalidExecutePda: Invalid Signing PDA for Asset or Collection Execute */
108
- export declare const MPL_CORE_ERROR__INVALID_EXECUTE_PDA = 49;
109
- /** BlockedByBubblegumV2: Bubblegum V2 Plugin limits other plugins */
110
- export declare const MPL_CORE_ERROR__BLOCKED_BY_BUBBLEGUM_V2 = 50;
111
- /** AgentIdentityMustSign: Agent Identity Program must sign */
112
- export declare const MPL_CORE_ERROR__AGENT_IDENTITY_MUST_SIGN = 51;
113
- /** GroupMustBeEmpty: Group must be empty to be closed */
114
- export declare const MPL_CORE_ERROR__GROUP_MUST_BE_EMPTY = 52;
115
- /** DuplicateEntry: Duplicate entry provided when adding relationships to a group */
116
- export declare const MPL_CORE_ERROR__DUPLICATE_ENTRY = 53;
117
- /** GroupVectorFull: Group vector is at maximum capacity */
118
- export declare const MPL_CORE_ERROR__GROUP_VECTOR_FULL = 54;
119
- /** GroupNestingDepthExceeded: Group nesting depth exceeded */
120
- export declare const MPL_CORE_ERROR__GROUP_NESTING_DEPTH_EXCEEDED = 55;
121
- /** InconsistentGroupRelationship: Bidirectional group relationship is inconsistent */
122
- export declare const MPL_CORE_ERROR__INCONSISTENT_GROUP_RELATIONSHIP = 56;
123
- export type MplCoreError = typeof MPL_CORE_ERROR__AGENT_IDENTITY_MUST_SIGN | typeof MPL_CORE_ERROR__ALREADY_COMPRESSED | typeof MPL_CORE_ERROR__ALREADY_DECOMPRESSED | typeof MPL_CORE_ERROR__ASSET_IS_FROZEN | typeof MPL_CORE_ERROR__BLOCKED_BY_BUBBLEGUM_V2 | typeof MPL_CORE_ERROR__CANNOT_ADD_DATA_SECTION | typeof MPL_CORE_ERROR__CANNOT_BURN_COLLECTION | typeof MPL_CORE_ERROR__CANNOT_MIGRATE_MASTER_WITH_SUPPLY | typeof MPL_CORE_ERROR__CANNOT_MIGRATE_PRINTS | typeof MPL_CORE_ERROR__CANNOT_REDELEGATE | typeof MPL_CORE_ERROR__COLLECTION_MUST_BE_EMPTY | typeof MPL_CORE_ERROR__CONFLICTING_AUTHORITY | typeof MPL_CORE_ERROR__DESERIALIZATION_ERROR | typeof MPL_CORE_ERROR__DUPLICATE_ENTRY | typeof MPL_CORE_ERROR__DUPLICATE_LIFECYCLE_CHECKS | typeof MPL_CORE_ERROR__EXTERNAL_PLUGIN_ADAPTER_ALREADY_EXISTS | typeof MPL_CORE_ERROR__EXTERNAL_PLUGIN_ADAPTER_NOT_FOUND | typeof MPL_CORE_ERROR__GROUP_MUST_BE_EMPTY | typeof MPL_CORE_ERROR__GROUP_NESTING_DEPTH_EXCEEDED | typeof MPL_CORE_ERROR__GROUP_VECTOR_FULL | typeof MPL_CORE_ERROR__INCONSISTENT_GROUP_RELATIONSHIP | typeof MPL_CORE_ERROR__INCORRECT_ACCOUNT | typeof MPL_CORE_ERROR__INCORRECT_ASSET_HASH | typeof MPL_CORE_ERROR__INVALID_ASSET | typeof MPL_CORE_ERROR__INVALID_AUTHORITY | typeof MPL_CORE_ERROR__INVALID_COLLECTION | typeof MPL_CORE_ERROR__INVALID_EXECUTE_PDA | typeof MPL_CORE_ERROR__INVALID_LOG_WRAPPER_PROGRAM | typeof MPL_CORE_ERROR__INVALID_ORACLE_ACCOUNT_DATA | typeof MPL_CORE_ERROR__INVALID_PLUGIN | typeof MPL_CORE_ERROR__INVALID_PLUGIN_ADAPTER_TARGET | typeof MPL_CORE_ERROR__INVALID_PLUGIN_OPERATION | typeof MPL_CORE_ERROR__INVALID_PLUGIN_SETTING | typeof MPL_CORE_ERROR__INVALID_SYSTEM_PROGRAM | typeof MPL_CORE_ERROR__MISSING_ASSET | typeof MPL_CORE_ERROR__MISSING_COLLECTION | typeof MPL_CORE_ERROR__MISSING_COMPRESSION_PROOF | typeof MPL_CORE_ERROR__MISSING_EXTERNAL_PLUGIN_ADAPTER_ACCOUNT | typeof MPL_CORE_ERROR__MISSING_NEW_OWNER | typeof MPL_CORE_ERROR__MISSING_SIGNER | typeof MPL_CORE_ERROR__MISSING_SYSTEM_PROGRAM | typeof MPL_CORE_ERROR__MISSING_UPDATE_AUTHORITY | typeof MPL_CORE_ERROR__NO_APPROVALS | typeof MPL_CORE_ERROR__NO_DATA_SOURCES | typeof MPL_CORE_ERROR__NOT_AVAILABLE | typeof MPL_CORE_ERROR__NUMERICAL_OVERFLOW | typeof MPL_CORE_ERROR__NUMERICAL_OVERFLOW_ERROR | typeof MPL_CORE_ERROR__ORACLE_CAN_REJECT_ONLY | typeof MPL_CORE_ERROR__PERMANENT_DELEGATES_PREVENT_MOVE | typeof MPL_CORE_ERROR__PLUGIN_ALREADY_EXISTS | typeof MPL_CORE_ERROR__PLUGIN_NOT_FOUND | typeof MPL_CORE_ERROR__PLUGINS_NOT_INITIALIZED | typeof MPL_CORE_ERROR__REQUIRES_LIFECYCLE_CHECK | typeof MPL_CORE_ERROR__SERIALIZATION_ERROR | typeof MPL_CORE_ERROR__TWO_DATA_SOURCES | typeof MPL_CORE_ERROR__UNINITIALIZED_ORACLE_ACCOUNT | typeof MPL_CORE_ERROR__UNSUPPORTED_OPERATION;
124
- export declare function getMplCoreErrorMessage(code: MplCoreError): string;
125
- export declare function isMplCoreError<TProgramErrorCode extends MplCoreError>(error: unknown, transactionMessage: {
126
- instructions: Record<number, {
127
- programAddress: Address;
128
- }>;
129
- }, code?: TProgramErrorCode): error is SolanaError<typeof SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM> & Readonly<{
130
- context: Readonly<{
131
- code: TProgramErrorCode;
132
- }>;
133
- }>;
@@ -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';