@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.
- package/README.md +721 -673
- package/lib/esm/cli/cli.js +28 -152
- package/lib/esm/cli/commands/antCommands.js +5 -66
- package/lib/esm/cli/commands/arnsPurchaseCommands.js +7 -28
- package/lib/esm/cli/commands/escrowCommands.js +23 -4
- package/lib/esm/cli/commands/gatewayWriteCommands.js +15 -8
- package/lib/esm/cli/commands/pruneCommands.js +14 -26
- package/lib/esm/cli/commands/readCommands.js +12 -1
- package/lib/esm/cli/options.js +2 -75
- package/lib/esm/cli/utils.js +96 -209
- package/lib/esm/common/ant-registry.js +12 -160
- package/lib/esm/common/ant.js +40 -1208
- package/lib/esm/common/faucet.js +17 -6
- package/lib/esm/common/index.js +0 -4
- package/lib/esm/common/io.js +13 -1441
- package/lib/esm/constants.js +0 -18
- package/lib/esm/solana/ant-readable.js +391 -54
- package/lib/esm/solana/ant-registry-readable.js +15 -0
- package/lib/esm/solana/ant-registry-writeable.js +19 -4
- package/lib/esm/solana/ant-writeable.js +43 -11
- package/lib/esm/solana/ata.js +15 -0
- package/lib/esm/solana/canonical-message.js +45 -9
- package/lib/esm/solana/clusters.js +71 -22
- package/lib/esm/solana/constants.js +21 -5
- package/lib/esm/solana/delegation-math.js +49 -0
- package/lib/esm/solana/deserialize.js +263 -727
- package/lib/esm/solana/escrow.js +145 -103
- package/lib/esm/solana/events.js +20 -199
- package/lib/esm/solana/funding-plan.js +19 -2
- package/lib/esm/solana/index.js +53 -12
- package/lib/esm/solana/instruction.js +15 -0
- package/lib/esm/solana/io-readable.js +510 -58
- package/lib/esm/solana/io-writeable.js +1179 -183
- package/lib/esm/solana/json-rpc.js +20 -4
- package/lib/esm/solana/metadata.js +15 -0
- package/lib/esm/solana/mpl-core.js +55 -5
- package/lib/esm/solana/pda.js +15 -0
- package/lib/esm/solana/predict-prescribed-observers.js +110 -0
- package/lib/esm/solana/retry.js +117 -0
- package/lib/esm/solana/rpc-circuit-breaker.js +258 -0
- package/lib/esm/solana/send.js +258 -3
- package/lib/esm/solana/spawn-ant.js +16 -2
- package/lib/esm/types/ant.js +8 -8
- package/lib/esm/types/io.js +0 -10
- package/lib/esm/utils/ant.js +0 -64
- package/lib/esm/utils/index.js +0 -3
- package/lib/esm/version.js +1 -1
- package/lib/types/cli/commands/antCommands.d.ts +6 -9
- package/lib/types/cli/commands/arnsPurchaseCommands.d.ts +27 -13
- package/lib/types/cli/commands/escrowCommands.d.ts +6 -0
- package/lib/types/cli/commands/gatewayWriteCommands.d.ts +12 -11
- package/lib/types/cli/commands/pruneCommands.d.ts +11 -11
- package/lib/types/cli/commands/readCommands.d.ts +25 -22
- package/lib/types/cli/commands/transfer.d.ts +9 -9
- package/lib/types/cli/options.d.ts +0 -57
- package/lib/types/cli/types.d.ts +6 -14
- package/lib/types/cli/utils.d.ts +34 -32
- package/lib/types/common/ant-registry.d.ts +35 -74
- package/lib/types/common/ant.d.ts +52 -570
- package/lib/types/common/faucet.d.ts +20 -8
- package/lib/types/common/index.d.ts +0 -3
- package/lib/types/common/io.d.ts +56 -288
- package/lib/types/constants.d.ts +0 -17
- package/lib/types/solana/ant-readable.d.ts +65 -6
- package/lib/types/solana/ant-registry-readable.d.ts +17 -2
- package/lib/types/solana/ant-registry-writeable.d.ts +20 -5
- package/lib/types/solana/ant-writeable.d.ts +39 -24
- package/lib/types/solana/ata.d.ts +15 -0
- package/lib/types/solana/canonical-message.d.ts +44 -5
- package/lib/types/solana/clusters.d.ts +68 -21
- package/lib/types/solana/constants.d.ts +16 -0
- package/lib/types/solana/delegation-math.d.ts +25 -0
- package/lib/types/solana/deserialize.d.ts +28 -198
- package/lib/types/solana/escrow.d.ts +128 -51
- package/lib/types/solana/events.d.ts +26 -144
- package/lib/types/solana/funding-plan.d.ts +15 -0
- package/lib/types/solana/index.d.ts +27 -3
- package/lib/types/solana/instruction.d.ts +15 -0
- package/lib/types/solana/io-readable.d.ts +185 -46
- package/lib/types/solana/io-writeable.d.ts +450 -77
- package/lib/types/solana/json-rpc.d.ts +15 -0
- package/lib/types/solana/metadata.d.ts +15 -0
- package/lib/types/solana/mpl-core.d.ts +44 -0
- package/lib/types/solana/predict-prescribed-observers.d.ts +28 -0
- package/lib/types/solana/retry.d.ts +62 -0
- package/lib/types/solana/rpc-circuit-breaker.d.ts +78 -0
- package/lib/types/solana/send.d.ts +80 -2
- package/lib/types/solana/spawn-ant.d.ts +15 -0
- package/lib/types/solana/types.d.ts +15 -0
- package/lib/types/types/ant-registry.d.ts +4 -4
- package/lib/types/types/ant.d.ts +92 -92
- package/lib/types/types/common.d.ts +18 -74
- package/lib/types/types/faucet.d.ts +2 -2
- package/lib/types/types/io.d.ts +189 -158
- package/lib/types/types/token.d.ts +0 -12
- package/lib/types/utils/ant.d.ts +1 -12
- package/lib/types/utils/index.d.ts +0 -3
- package/lib/types/version.d.ts +1 -1
- package/package.json +23 -37
- package/lib/esm/common/ant-versions.js +0 -87
- package/lib/esm/common/arweave.js +0 -21
- package/lib/esm/common/contracts/ao-process.js +0 -218
- package/lib/esm/common/hyperbeam/hb.js +0 -169
- package/lib/esm/common/marketplace.js +0 -669
- package/lib/esm/common/turbo.js +0 -215
- package/lib/esm/node/index.js +0 -20
- package/lib/esm/solana/generated/ant/events/aclEntryAddedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/aclEntryRemovedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/antMetadataUpdatedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/antReconciledEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/antTransferredEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/attributesClearedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/attributesSyncedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/controllerAddedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/controllerRemovedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/index.js +0 -16
- package/lib/esm/solana/generated/ant/events/recordMetadataPrunedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/recordMetadataRemovedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/recordMetadataUpdatedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/recordRemovedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/recordSetEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/recordTransferredEvent.js +0 -21
- package/lib/esm/solana/generated/ant-escrow/events/escrowCancelledEvent.js +0 -21
- package/lib/esm/solana/generated/ant-escrow/events/escrowClaimedEvent.js +0 -21
- package/lib/esm/solana/generated/ant-escrow/events/escrowDepositedEvent.js +0 -21
- package/lib/esm/solana/generated/ant-escrow/events/escrowRecipientUpdatedEvent.js +0 -21
- package/lib/esm/solana/generated/ant-escrow/events/index.js +0 -5
- package/lib/esm/solana/generated/arns/events/demandFactorUpdatedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/index.js +0 -13
- package/lib/esm/solana/generated/arns/events/leaseExtendedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/namePurchasedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/nameReassignedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/nameReleasedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/nameReservedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/nameUnreservedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/nameUpgradedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/namesPrunedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/reservedNameClaimedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/returnedNamePurchasedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/undernameIncreasedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/configUpdatedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/coreMigrationFinalizedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/index.js +0 -14
- package/lib/esm/solana/generated/core/events/primaryNameRemovedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/primaryNameRequestExpiredEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/primaryNameRequestedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/primaryNameSetEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/supplyFinalizedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/transferEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/vaultCreatedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/vaultExtendedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/vaultIncreasedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/vaultReleasedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/vaultRevokedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/allowlistToggledEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/delegateAllowlistedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/delegationClosedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/delegationDecreasedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/delegationEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/epochClosedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/epochCreatedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/epochDistributedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/epochPrescribedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/epochWeightsTalliedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/epochsToggledEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/fundingPlanAppliedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/garMigrationFinalizedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/gatewayFinalizedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/gatewayJoinedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/gatewayLeavingEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/gatewayPrunedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/gatewaySettingsUpdatedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/index.js +0 -31
- package/lib/esm/solana/generated/gar/events/instantWithdrawalEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/observationSubmittedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/observerAddressUpdatedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/operatorStakeIncreasedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/redelegationEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/residueVaultCreatedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/rewardsCompoundedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/stakePaymentEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/withdrawalCancelledEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/withdrawalClaimedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/withdrawalCreatedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/withdrawalPaymentEvent.js +0 -21
- package/lib/esm/solana/generated/mpl-core/accounts/assetV1.js +0 -42
- package/lib/esm/solana/generated/mpl-core/accounts/collectionV1.js +0 -42
- package/lib/esm/solana/generated/mpl-core/accounts/hashedAssetV1.js +0 -45
- package/lib/esm/solana/generated/mpl-core/accounts/index.js +0 -12
- package/lib/esm/solana/generated/mpl-core/accounts/pluginHeaderV1.js +0 -45
- package/lib/esm/solana/generated/mpl-core/accounts/pluginRegistryV1.js +0 -42
- package/lib/esm/solana/generated/mpl-core/errors/index.js +0 -8
- package/lib/esm/solana/generated/mpl-core/errors/mplCore.js +0 -136
- package/lib/esm/solana/generated/mpl-core/index.js +0 -8
- package/lib/esm/solana/generated/mpl-core/instructions/addCollectionExternalPluginAdapterV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/addCollectionPluginV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/addExternalPluginAdapterV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/addPluginV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/approveCollectionPluginAuthorityV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/approvePluginAuthorityV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/burnCollectionV1.js +0 -49
- package/lib/esm/solana/generated/mpl-core/instructions/burnV1.js +0 -49
- package/lib/esm/solana/generated/mpl-core/instructions/collect.js +0 -42
- package/lib/esm/solana/generated/mpl-core/instructions/compressV1.js +0 -50
- package/lib/esm/solana/generated/mpl-core/instructions/createCollectionV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/createCollectionV2.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/createV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/createV2.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/decompressV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/executeV1.js +0 -56
- package/lib/esm/solana/generated/mpl-core/instructions/index.js +0 -40
- package/lib/esm/solana/generated/mpl-core/instructions/removeCollectionExternalPluginAdapterV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/removeCollectionPluginV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/removeExternalPluginAdapterV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/removePluginV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/revokeCollectionPluginAuthorityV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/revokePluginAuthorityV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/transferV1.js +0 -49
- package/lib/esm/solana/generated/mpl-core/instructions/updateCollectionExternalPluginAdapterV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/updateCollectionInfoV1.js +0 -45
- package/lib/esm/solana/generated/mpl-core/instructions/updateCollectionPluginV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/updateCollectionV1.js +0 -52
- package/lib/esm/solana/generated/mpl-core/instructions/updateExternalPluginAdapterV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/updatePluginV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/updateV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/updateV2.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/writeCollectionExternalPluginAdapterDataV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/writeExternalPluginAdapterDataV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/program-address.js +0 -1
- package/lib/esm/solana/generated/mpl-core/types/addAssetsToGroupV1Args.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/addBlocker.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/addCollectionsToGroupV1Args.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/addGroupsToGroupV1Args.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/agentIdentity.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/agentIdentityInitInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/agentIdentityUpdateInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/appData.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/appDataInitInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/appDataUpdateInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/attribute.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/attributes.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/authority.js +0 -24
- package/lib/esm/solana/generated/mpl-core/types/autograph.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/autographSignature.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/bubblegumV2.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/burnDelegate.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/closeGroupV1Args.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/compressionProof.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/creator.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/dataSection.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/dataSectionInitInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/dataSectionUpdateInfo.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/dataState.js +0 -23
- package/lib/esm/solana/generated/mpl-core/types/edition.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/externalCheckResult.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapter.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterInitInfo.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterKey.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterSchema.js +0 -24
- package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterType.js +0 -28
- package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterUpdateInfo.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/externalRegistryRecord.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/externalValidationResult.js +0 -24
- package/lib/esm/solana/generated/mpl-core/types/extraAccount.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/freezeDelegate.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/freezeExecute.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/groups.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/hashablePluginSchema.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/hashedAssetSchema.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/hookableLifecycleEvent.js +0 -26
- package/lib/esm/solana/generated/mpl-core/types/immutableMetadata.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/index.js +0 -89
- package/lib/esm/solana/generated/mpl-core/types/key.js +0 -28
- package/lib/esm/solana/generated/mpl-core/types/lifecycleHook.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/lifecycleHookInitInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/lifecycleHookUpdateInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/linkedAppData.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/linkedAppDataInitInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/linkedAppDataUpdateInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/linkedDataKey.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/linkedLifecycleHook.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/linkedLifecycleHookInitInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/linkedLifecycleHookUpdateInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/masterEdition.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/oracle.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/oracleInitInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/oracleUpdateInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/oracleValidation.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/permanentBurnDelegate.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/permanentFreezeDelegate.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/permanentFreezeExecute.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/permanentTransferDelegate.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/plugin.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/pluginAuthorityPair.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/pluginType.js +0 -40
- package/lib/esm/solana/generated/mpl-core/types/registryRecord.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/relationshipKind.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/removeAssetsFromGroupV1Args.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/removeCollectionsFromGroupV1Args.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/removeGroupsFromGroupV1Args.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/royalties.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/ruleSet.js +0 -24
- package/lib/esm/solana/generated/mpl-core/types/seed.js +0 -24
- package/lib/esm/solana/generated/mpl-core/types/transferDelegate.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/updateAuthority.js +0 -24
- package/lib/esm/solana/generated/mpl-core/types/updateDelegate.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/updateGroupV1Args.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/updateType.js +0 -24
- package/lib/esm/solana/generated/mpl-core/types/validationResult.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/validationResultsOffset.js +0 -24
- package/lib/esm/solana/generated/mpl-core/types/verifiedCreators.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/verifiedCreatorsSignature.js +0 -17
- package/lib/esm/utils/ao.js +0 -421
- package/lib/esm/utils/arweave.js +0 -271
- package/lib/esm/utils/processes.js +0 -167
- package/lib/esm/web/index.js +0 -20
- package/lib/types/common/ant-versions.d.ts +0 -39
- package/lib/types/common/arweave.d.ts +0 -17
- package/lib/types/common/contracts/ao-process.d.ts +0 -33
- package/lib/types/common/hyperbeam/hb.d.ts +0 -88
- package/lib/types/common/marketplace.d.ts +0 -556
- package/lib/types/common/turbo.d.ts +0 -61
- package/lib/types/node/index.d.ts +0 -20
- package/lib/types/solana/generated/ant/events/aclEntryAddedEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant/events/aclEntryRemovedEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant/events/antMetadataUpdatedEvent.d.ts +0 -28
- package/lib/types/solana/generated/ant/events/antReconciledEvent.d.ts +0 -28
- package/lib/types/solana/generated/ant/events/antTransferredEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant/events/attributesClearedEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant/events/attributesSyncedEvent.d.ts +0 -24
- package/lib/types/solana/generated/ant/events/controllerAddedEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant/events/controllerRemovedEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant/events/index.d.ts +0 -15
- package/lib/types/solana/generated/ant/events/recordMetadataPrunedEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant/events/recordMetadataRemovedEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant/events/recordMetadataUpdatedEvent.d.ts +0 -28
- package/lib/types/solana/generated/ant/events/recordRemovedEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant/events/recordSetEvent.d.ts +0 -34
- package/lib/types/solana/generated/ant/events/recordTransferredEvent.d.ts +0 -30
- package/lib/types/solana/generated/ant-escrow/events/escrowCancelledEvent.d.ts +0 -28
- package/lib/types/solana/generated/ant-escrow/events/escrowClaimedEvent.d.ts +0 -32
- package/lib/types/solana/generated/ant-escrow/events/escrowDepositedEvent.d.ts +0 -36
- package/lib/types/solana/generated/ant-escrow/events/escrowRecipientUpdatedEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant-escrow/events/index.d.ts +0 -4
- package/lib/types/solana/generated/arns/events/demandFactorUpdatedEvent.d.ts +0 -28
- package/lib/types/solana/generated/arns/events/index.d.ts +0 -12
- package/lib/types/solana/generated/arns/events/leaseExtendedEvent.d.ts +0 -32
- package/lib/types/solana/generated/arns/events/namePurchasedEvent.d.ts +0 -34
- package/lib/types/solana/generated/arns/events/nameReassignedEvent.d.ts +0 -28
- package/lib/types/solana/generated/arns/events/nameReleasedEvent.d.ts +0 -24
- package/lib/types/solana/generated/arns/events/nameReservedEvent.d.ts +0 -28
- package/lib/types/solana/generated/arns/events/nameUnreservedEvent.d.ts +0 -24
- package/lib/types/solana/generated/arns/events/nameUpgradedEvent.d.ts +0 -28
- package/lib/types/solana/generated/arns/events/namesPrunedEvent.d.ts +0 -26
- package/lib/types/solana/generated/arns/events/reservedNameClaimedEvent.d.ts +0 -24
- package/lib/types/solana/generated/arns/events/returnedNamePurchasedEvent.d.ts +0 -32
- package/lib/types/solana/generated/arns/events/undernameIncreasedEvent.d.ts +0 -32
- package/lib/types/solana/generated/core/events/configUpdatedEvent.d.ts +0 -26
- package/lib/types/solana/generated/core/events/coreMigrationFinalizedEvent.d.ts +0 -26
- package/lib/types/solana/generated/core/events/index.d.ts +0 -13
- package/lib/types/solana/generated/core/events/primaryNameRemovedEvent.d.ts +0 -26
- package/lib/types/solana/generated/core/events/primaryNameRequestExpiredEvent.d.ts +0 -26
- package/lib/types/solana/generated/core/events/primaryNameRequestedEvent.d.ts +0 -30
- package/lib/types/solana/generated/core/events/primaryNameSetEvent.d.ts +0 -24
- package/lib/types/solana/generated/core/events/supplyFinalizedEvent.d.ts +0 -26
- package/lib/types/solana/generated/core/events/transferEvent.d.ts +0 -26
- package/lib/types/solana/generated/core/events/vaultCreatedEvent.d.ts +0 -28
- package/lib/types/solana/generated/core/events/vaultExtendedEvent.d.ts +0 -26
- package/lib/types/solana/generated/core/events/vaultIncreasedEvent.d.ts +0 -28
- package/lib/types/solana/generated/core/events/vaultReleasedEvent.d.ts +0 -26
- package/lib/types/solana/generated/core/events/vaultRevokedEvent.d.ts +0 -28
- package/lib/types/solana/generated/gar/events/allowlistToggledEvent.d.ts +0 -24
- package/lib/types/solana/generated/gar/events/delegateAllowlistedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/delegationClosedEvent.d.ts +0 -24
- package/lib/types/solana/generated/gar/events/delegationDecreasedEvent.d.ts +0 -28
- package/lib/types/solana/generated/gar/events/delegationEvent.d.ts +0 -28
- package/lib/types/solana/generated/gar/events/epochClosedEvent.d.ts +0 -24
- package/lib/types/solana/generated/gar/events/epochCreatedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/epochDistributedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/epochPrescribedEvent.d.ts +0 -28
- package/lib/types/solana/generated/gar/events/epochWeightsTalliedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/epochsToggledEvent.d.ts +0 -24
- package/lib/types/solana/generated/gar/events/fundingPlanAppliedEvent.d.ts +0 -28
- package/lib/types/solana/generated/gar/events/garMigrationFinalizedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/gatewayFinalizedEvent.d.ts +0 -24
- package/lib/types/solana/generated/gar/events/gatewayJoinedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/gatewayLeavingEvent.d.ts +0 -22
- package/lib/types/solana/generated/gar/events/gatewayPrunedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/gatewaySettingsUpdatedEvent.d.ts +0 -24
- package/lib/types/solana/generated/gar/events/index.d.ts +0 -30
- package/lib/types/solana/generated/gar/events/instantWithdrawalEvent.d.ts +0 -30
- package/lib/types/solana/generated/gar/events/observationSubmittedEvent.d.ts +0 -28
- package/lib/types/solana/generated/gar/events/observerAddressUpdatedEvent.d.ts +0 -24
- package/lib/types/solana/generated/gar/events/operatorStakeIncreasedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/redelegationEvent.d.ts +0 -30
- package/lib/types/solana/generated/gar/events/residueVaultCreatedEvent.d.ts +0 -30
- package/lib/types/solana/generated/gar/events/rewardsCompoundedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/stakePaymentEvent.d.ts +0 -28
- package/lib/types/solana/generated/gar/events/withdrawalCancelledEvent.d.ts +0 -30
- package/lib/types/solana/generated/gar/events/withdrawalClaimedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/withdrawalCreatedEvent.d.ts +0 -28
- package/lib/types/solana/generated/gar/events/withdrawalPaymentEvent.d.ts +0 -28
- package/lib/types/solana/generated/mpl-core/accounts/assetV1.d.ts +0 -37
- package/lib/types/solana/generated/mpl-core/accounts/collectionV1.d.ts +0 -37
- package/lib/types/solana/generated/mpl-core/accounts/hashedAssetV1.d.ts +0 -30
- package/lib/types/solana/generated/mpl-core/accounts/index.d.ts +0 -12
- package/lib/types/solana/generated/mpl-core/accounts/pluginHeaderV1.d.ts +0 -30
- package/lib/types/solana/generated/mpl-core/accounts/pluginRegistryV1.d.ts +0 -31
- package/lib/types/solana/generated/mpl-core/errors/index.d.ts +0 -8
- package/lib/types/solana/generated/mpl-core/errors/mplCore.d.ts +0 -133
- package/lib/types/solana/generated/mpl-core/index.d.ts +0 -8
- package/lib/types/solana/generated/mpl-core/instructions/addCollectionExternalPluginAdapterV1.d.ts +0 -56
- package/lib/types/solana/generated/mpl-core/instructions/addCollectionPluginV1.d.ts +0 -59
- package/lib/types/solana/generated/mpl-core/instructions/addExternalPluginAdapterV1.d.ts +0 -60
- package/lib/types/solana/generated/mpl-core/instructions/addPluginV1.d.ts +0 -63
- package/lib/types/solana/generated/mpl-core/instructions/approveCollectionPluginAuthorityV1.d.ts +0 -59
- package/lib/types/solana/generated/mpl-core/instructions/approvePluginAuthorityV1.d.ts +0 -63
- package/lib/types/solana/generated/mpl-core/instructions/burnCollectionV1.d.ts +0 -52
- package/lib/types/solana/generated/mpl-core/instructions/burnV1.d.ts +0 -60
- package/lib/types/solana/generated/mpl-core/instructions/collect.d.ts +0 -39
- package/lib/types/solana/generated/mpl-core/instructions/compressV1.d.ts +0 -55
- package/lib/types/solana/generated/mpl-core/instructions/createCollectionV1.d.ts +0 -58
- package/lib/types/solana/generated/mpl-core/instructions/createCollectionV2.d.ts +0 -61
- package/lib/types/solana/generated/mpl-core/instructions/createV1.d.ts +0 -77
- package/lib/types/solana/generated/mpl-core/instructions/createV2.d.ts +0 -80
- package/lib/types/solana/generated/mpl-core/instructions/decompressV1.d.ts +0 -60
- package/lib/types/solana/generated/mpl-core/instructions/executeV1.d.ts +0 -63
- package/lib/types/solana/generated/mpl-core/instructions/index.d.ts +0 -40
- package/lib/types/solana/generated/mpl-core/instructions/removeCollectionExternalPluginAdapterV1.d.ts +0 -56
- package/lib/types/solana/generated/mpl-core/instructions/removeCollectionPluginV1.d.ts +0 -56
- package/lib/types/solana/generated/mpl-core/instructions/removeExternalPluginAdapterV1.d.ts +0 -60
- package/lib/types/solana/generated/mpl-core/instructions/removePluginV1.d.ts +0 -60
- package/lib/types/solana/generated/mpl-core/instructions/revokeCollectionPluginAuthorityV1.d.ts +0 -56
- package/lib/types/solana/generated/mpl-core/instructions/revokePluginAuthorityV1.d.ts +0 -60
- package/lib/types/solana/generated/mpl-core/instructions/transferV1.d.ts +0 -64
- package/lib/types/solana/generated/mpl-core/instructions/updateCollectionExternalPluginAdapterV1.d.ts +0 -59
- package/lib/types/solana/generated/mpl-core/instructions/updateCollectionInfoV1.d.ts +0 -47
- package/lib/types/solana/generated/mpl-core/instructions/updateCollectionPluginV1.d.ts +0 -56
- package/lib/types/solana/generated/mpl-core/instructions/updateCollectionV1.d.ts +0 -62
- package/lib/types/solana/generated/mpl-core/instructions/updateExternalPluginAdapterV1.d.ts +0 -63
- package/lib/types/solana/generated/mpl-core/instructions/updatePluginV1.d.ts +0 -60
- package/lib/types/solana/generated/mpl-core/instructions/updateV1.d.ts +0 -66
- package/lib/types/solana/generated/mpl-core/instructions/updateV2.d.ts +0 -70
- package/lib/types/solana/generated/mpl-core/instructions/writeCollectionExternalPluginAdapterDataV1.d.ts +0 -63
- package/lib/types/solana/generated/mpl-core/instructions/writeExternalPluginAdapterDataV1.d.ts +0 -67
- package/lib/types/solana/generated/mpl-core/program-address.d.ts +0 -7
- package/lib/types/solana/generated/mpl-core/types/addAssetsToGroupV1Args.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/addBlocker.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/addCollectionsToGroupV1Args.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/addGroupsToGroupV1Args.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/agentIdentity.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/agentIdentityInitInfo.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/agentIdentityUpdateInfo.d.ts +0 -20
- package/lib/types/solana/generated/mpl-core/types/appData.d.ts +0 -20
- package/lib/types/solana/generated/mpl-core/types/appDataInitInfo.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/appDataUpdateInfo.d.ts +0 -18
- package/lib/types/solana/generated/mpl-core/types/attribute.d.ts +0 -16
- package/lib/types/solana/generated/mpl-core/types/attributes.d.ts +0 -18
- package/lib/types/solana/generated/mpl-core/types/authority.d.ts +0 -29
- package/lib/types/solana/generated/mpl-core/types/autograph.d.ts +0 -18
- package/lib/types/solana/generated/mpl-core/types/autographSignature.d.ts +0 -16
- package/lib/types/solana/generated/mpl-core/types/bubblegumV2.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/burnDelegate.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/closeGroupV1Args.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/compressionProof.d.ts +0 -28
- package/lib/types/solana/generated/mpl-core/types/creator.d.ts +0 -16
- package/lib/types/solana/generated/mpl-core/types/dataSection.d.ts +0 -20
- package/lib/types/solana/generated/mpl-core/types/dataSectionInitInfo.d.ts +0 -20
- package/lib/types/solana/generated/mpl-core/types/dataSectionUpdateInfo.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/dataState.d.ts +0 -16
- package/lib/types/solana/generated/mpl-core/types/edition.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/externalCheckResult.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/externalPluginAdapter.d.ts +0 -66
- package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterInitInfo.d.ts +0 -66
- package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterKey.d.ts +0 -64
- package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterSchema.d.ts +0 -17
- package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterType.d.ts +0 -21
- package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterUpdateInfo.d.ts +0 -59
- package/lib/types/solana/generated/mpl-core/types/externalRegistryRecord.d.ts +0 -28
- package/lib/types/solana/generated/mpl-core/types/externalValidationResult.d.ts +0 -17
- package/lib/types/solana/generated/mpl-core/types/extraAccount.d.ts +0 -86
- package/lib/types/solana/generated/mpl-core/types/freezeDelegate.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/freezeExecute.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/groups.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/hashablePluginSchema.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/hashedAssetSchema.d.ts +0 -16
- package/lib/types/solana/generated/mpl-core/types/hookableLifecycleEvent.d.ts +0 -19
- package/lib/types/solana/generated/mpl-core/types/immutableMetadata.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/index.d.ts +0 -89
- package/lib/types/solana/generated/mpl-core/types/key.d.ts +0 -21
- package/lib/types/solana/generated/mpl-core/types/lifecycleHook.d.ts +0 -24
- package/lib/types/solana/generated/mpl-core/types/lifecycleHookInitInfo.d.ts +0 -28
- package/lib/types/solana/generated/mpl-core/types/lifecycleHookUpdateInfo.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/linkedAppData.d.ts +0 -20
- package/lib/types/solana/generated/mpl-core/types/linkedAppDataInitInfo.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/linkedAppDataUpdateInfo.d.ts +0 -18
- package/lib/types/solana/generated/mpl-core/types/linkedDataKey.d.ts +0 -31
- package/lib/types/solana/generated/mpl-core/types/linkedLifecycleHook.d.ts +0 -24
- package/lib/types/solana/generated/mpl-core/types/linkedLifecycleHookInitInfo.d.ts +0 -28
- package/lib/types/solana/generated/mpl-core/types/linkedLifecycleHookUpdateInfo.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/masterEdition.d.ts +0 -21
- package/lib/types/solana/generated/mpl-core/types/oracle.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/oracleInitInfo.d.ts +0 -26
- package/lib/types/solana/generated/mpl-core/types/oracleUpdateInfo.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/oracleValidation.d.ts +0 -35
- package/lib/types/solana/generated/mpl-core/types/permanentBurnDelegate.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/permanentFreezeDelegate.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/permanentFreezeExecute.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/permanentTransferDelegate.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/plugin.d.ts +0 -150
- package/lib/types/solana/generated/mpl-core/types/pluginAuthorityPair.d.ts +0 -20
- package/lib/types/solana/generated/mpl-core/types/pluginType.d.ts +0 -33
- package/lib/types/solana/generated/mpl-core/types/registryRecord.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/relationshipKind.d.ts +0 -18
- package/lib/types/solana/generated/mpl-core/types/removeAssetsFromGroupV1Args.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/removeCollectionsFromGroupV1Args.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/removeGroupsFromGroupV1Args.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/royalties.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/ruleSet.d.ts +0 -27
- package/lib/types/solana/generated/mpl-core/types/seed.d.ts +0 -36
- package/lib/types/solana/generated/mpl-core/types/transferDelegate.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/updateAuthority.d.ts +0 -27
- package/lib/types/solana/generated/mpl-core/types/updateDelegate.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/updateGroupV1Args.d.ts +0 -19
- package/lib/types/solana/generated/mpl-core/types/updateType.d.ts +0 -17
- package/lib/types/solana/generated/mpl-core/types/validationResult.d.ts +0 -18
- package/lib/types/solana/generated/mpl-core/types/validationResultsOffset.d.ts +0 -33
- package/lib/types/solana/generated/mpl-core/types/verifiedCreators.d.ts +0 -18
- package/lib/types/solana/generated/mpl-core/types/verifiedCreatorsSignature.d.ts +0 -16
- package/lib/types/utils/ao.d.ts +0 -80
- package/lib/types/utils/arweave.d.ts +0 -79
- package/lib/types/utils/processes.d.ts +0 -39
- package/lib/types/web/index.d.ts +0 -20
|
@@ -1,58 +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 AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type Option, type OptionOrNullable, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableSignerAccount } from '@solana/kit';
|
|
9
|
-
import { MPL_CORE_PROGRAM_ADDRESS } from '../program-address.js';
|
|
10
|
-
import { type PluginAuthorityPair, type PluginAuthorityPairArgs } from '../types/index.js';
|
|
11
|
-
export declare const CREATE_COLLECTION_V1_DISCRIMINATOR = 1;
|
|
12
|
-
export declare function getCreateCollectionV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type CreateCollectionV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountCollection extends string | AccountMeta<string> = string, TAccountUpdateAuthority extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountCollection extends string ? WritableSignerAccount<TAccountCollection> & AccountSignerMeta<TAccountCollection> : TAccountCollection, TAccountUpdateAuthority extends string ? ReadonlyAccount<TAccountUpdateAuthority> : TAccountUpdateAuthority, TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, ...TRemainingAccounts]>;
|
|
14
|
-
export type CreateCollectionV1InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
name: string;
|
|
17
|
-
uri: string;
|
|
18
|
-
plugins: Option<Array<PluginAuthorityPair>>;
|
|
19
|
-
};
|
|
20
|
-
export type CreateCollectionV1InstructionDataArgs = {
|
|
21
|
-
name: string;
|
|
22
|
-
uri: string;
|
|
23
|
-
plugins: OptionOrNullable<Array<PluginAuthorityPairArgs>>;
|
|
24
|
-
};
|
|
25
|
-
export declare function getCreateCollectionV1InstructionDataEncoder(): Encoder<CreateCollectionV1InstructionDataArgs>;
|
|
26
|
-
export declare function getCreateCollectionV1InstructionDataDecoder(): Decoder<CreateCollectionV1InstructionData>;
|
|
27
|
-
export declare function getCreateCollectionV1InstructionDataCodec(): Codec<CreateCollectionV1InstructionDataArgs, CreateCollectionV1InstructionData>;
|
|
28
|
-
export type CreateCollectionV1Input<TAccountCollection extends string = string, TAccountUpdateAuthority extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string> = {
|
|
29
|
-
/** The address of the new asset */
|
|
30
|
-
collection: TransactionSigner<TAccountCollection>;
|
|
31
|
-
/** The authority of the new asset */
|
|
32
|
-
updateAuthority?: Address<TAccountUpdateAuthority>;
|
|
33
|
-
/** The account paying for the storage fees */
|
|
34
|
-
payer: TransactionSigner<TAccountPayer>;
|
|
35
|
-
/** The system program */
|
|
36
|
-
systemProgram?: Address<TAccountSystemProgram>;
|
|
37
|
-
name: CreateCollectionV1InstructionDataArgs["name"];
|
|
38
|
-
uri: CreateCollectionV1InstructionDataArgs["uri"];
|
|
39
|
-
plugins: CreateCollectionV1InstructionDataArgs["plugins"];
|
|
40
|
-
};
|
|
41
|
-
export declare function getCreateCollectionV1Instruction<TAccountCollection extends string, TAccountUpdateAuthority extends string, TAccountPayer extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_ADDRESS>(input: CreateCollectionV1Input<TAccountCollection, TAccountUpdateAuthority, TAccountPayer, TAccountSystemProgram>, config?: {
|
|
42
|
-
programAddress?: TProgramAddress;
|
|
43
|
-
}): CreateCollectionV1Instruction<TProgramAddress, TAccountCollection, TAccountUpdateAuthority, TAccountPayer, TAccountSystemProgram>;
|
|
44
|
-
export type ParsedCreateCollectionV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
45
|
-
programAddress: Address<TProgram>;
|
|
46
|
-
accounts: {
|
|
47
|
-
/** The address of the new asset */
|
|
48
|
-
collection: TAccountMetas[0];
|
|
49
|
-
/** The authority of the new asset */
|
|
50
|
-
updateAuthority?: TAccountMetas[1] | undefined;
|
|
51
|
-
/** The account paying for the storage fees */
|
|
52
|
-
payer: TAccountMetas[2];
|
|
53
|
-
/** The system program */
|
|
54
|
-
systemProgram: TAccountMetas[3];
|
|
55
|
-
};
|
|
56
|
-
data: CreateCollectionV1InstructionData;
|
|
57
|
-
};
|
|
58
|
-
export declare function parseCreateCollectionV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateCollectionV1Instruction<TProgram, TAccountMetas>;
|
|
@@ -1,61 +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 AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type Option, type OptionOrNullable, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableSignerAccount } from '@solana/kit';
|
|
9
|
-
import { MPL_CORE_PROGRAM_ADDRESS } from '../program-address.js';
|
|
10
|
-
import { type ExternalPluginAdapterInitInfo, type ExternalPluginAdapterInitInfoArgs, type PluginAuthorityPair, type PluginAuthorityPairArgs } from '../types/index.js';
|
|
11
|
-
export declare const CREATE_COLLECTION_V2_DISCRIMINATOR = 21;
|
|
12
|
-
export declare function getCreateCollectionV2DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type CreateCollectionV2Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountCollection extends string | AccountMeta<string> = string, TAccountUpdateAuthority extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountCollection extends string ? WritableSignerAccount<TAccountCollection> & AccountSignerMeta<TAccountCollection> : TAccountCollection, TAccountUpdateAuthority extends string ? ReadonlyAccount<TAccountUpdateAuthority> : TAccountUpdateAuthority, TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, ...TRemainingAccounts]>;
|
|
14
|
-
export type CreateCollectionV2InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
name: string;
|
|
17
|
-
uri: string;
|
|
18
|
-
plugins: Option<Array<PluginAuthorityPair>>;
|
|
19
|
-
externalPluginAdapters: Option<Array<ExternalPluginAdapterInitInfo>>;
|
|
20
|
-
};
|
|
21
|
-
export type CreateCollectionV2InstructionDataArgs = {
|
|
22
|
-
name: string;
|
|
23
|
-
uri: string;
|
|
24
|
-
plugins: OptionOrNullable<Array<PluginAuthorityPairArgs>>;
|
|
25
|
-
externalPluginAdapters: OptionOrNullable<Array<ExternalPluginAdapterInitInfoArgs>>;
|
|
26
|
-
};
|
|
27
|
-
export declare function getCreateCollectionV2InstructionDataEncoder(): Encoder<CreateCollectionV2InstructionDataArgs>;
|
|
28
|
-
export declare function getCreateCollectionV2InstructionDataDecoder(): Decoder<CreateCollectionV2InstructionData>;
|
|
29
|
-
export declare function getCreateCollectionV2InstructionDataCodec(): Codec<CreateCollectionV2InstructionDataArgs, CreateCollectionV2InstructionData>;
|
|
30
|
-
export type CreateCollectionV2Input<TAccountCollection extends string = string, TAccountUpdateAuthority extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string> = {
|
|
31
|
-
/** The address of the new asset */
|
|
32
|
-
collection: TransactionSigner<TAccountCollection>;
|
|
33
|
-
/** The authority of the new asset */
|
|
34
|
-
updateAuthority?: Address<TAccountUpdateAuthority>;
|
|
35
|
-
/** The account paying for the storage fees */
|
|
36
|
-
payer: TransactionSigner<TAccountPayer>;
|
|
37
|
-
/** The system program */
|
|
38
|
-
systemProgram?: Address<TAccountSystemProgram>;
|
|
39
|
-
name: CreateCollectionV2InstructionDataArgs["name"];
|
|
40
|
-
uri: CreateCollectionV2InstructionDataArgs["uri"];
|
|
41
|
-
plugins: CreateCollectionV2InstructionDataArgs["plugins"];
|
|
42
|
-
externalPluginAdapters: CreateCollectionV2InstructionDataArgs["externalPluginAdapters"];
|
|
43
|
-
};
|
|
44
|
-
export declare function getCreateCollectionV2Instruction<TAccountCollection extends string, TAccountUpdateAuthority extends string, TAccountPayer extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_ADDRESS>(input: CreateCollectionV2Input<TAccountCollection, TAccountUpdateAuthority, TAccountPayer, TAccountSystemProgram>, config?: {
|
|
45
|
-
programAddress?: TProgramAddress;
|
|
46
|
-
}): CreateCollectionV2Instruction<TProgramAddress, TAccountCollection, TAccountUpdateAuthority, TAccountPayer, TAccountSystemProgram>;
|
|
47
|
-
export type ParsedCreateCollectionV2Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
48
|
-
programAddress: Address<TProgram>;
|
|
49
|
-
accounts: {
|
|
50
|
-
/** The address of the new asset */
|
|
51
|
-
collection: TAccountMetas[0];
|
|
52
|
-
/** The authority of the new asset */
|
|
53
|
-
updateAuthority?: TAccountMetas[1] | undefined;
|
|
54
|
-
/** The account paying for the storage fees */
|
|
55
|
-
payer: TAccountMetas[2];
|
|
56
|
-
/** The system program */
|
|
57
|
-
systemProgram: TAccountMetas[3];
|
|
58
|
-
};
|
|
59
|
-
data: CreateCollectionV2InstructionData;
|
|
60
|
-
};
|
|
61
|
-
export declare function parseCreateCollectionV2Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateCollectionV2Instruction<TProgram, TAccountMetas>;
|
|
@@ -1,77 +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 AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type Option, type OptionOrNullable, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
|
|
9
|
-
import { MPL_CORE_PROGRAM_ADDRESS } from '../program-address.js';
|
|
10
|
-
import { type DataState, type DataStateArgs, type PluginAuthorityPair, type PluginAuthorityPairArgs } from '../types/index.js';
|
|
11
|
-
export declare const CREATE_V1_DISCRIMINATOR = 0;
|
|
12
|
-
export declare function getCreateV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type CreateV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountAsset extends string | AccountMeta<string> = string, TAccountCollection extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountOwner extends string | AccountMeta<string> = string, TAccountUpdateAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountLogWrapper extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountAsset extends string ? WritableSignerAccount<TAccountAsset> & AccountSignerMeta<TAccountAsset> : TAccountAsset, TAccountCollection extends string ? WritableAccount<TAccountCollection> : TAccountCollection, TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority, TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountOwner extends string ? ReadonlyAccount<TAccountOwner> : TAccountOwner, TAccountUpdateAuthority extends string ? ReadonlyAccount<TAccountUpdateAuthority> : TAccountUpdateAuthority, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountLogWrapper extends string ? ReadonlyAccount<TAccountLogWrapper> : TAccountLogWrapper, ...TRemainingAccounts]>;
|
|
14
|
-
export type CreateV1InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
dataState: DataState;
|
|
17
|
-
name: string;
|
|
18
|
-
uri: string;
|
|
19
|
-
plugins: Option<Array<PluginAuthorityPair>>;
|
|
20
|
-
};
|
|
21
|
-
export type CreateV1InstructionDataArgs = {
|
|
22
|
-
dataState: DataStateArgs;
|
|
23
|
-
name: string;
|
|
24
|
-
uri: string;
|
|
25
|
-
plugins: OptionOrNullable<Array<PluginAuthorityPairArgs>>;
|
|
26
|
-
};
|
|
27
|
-
export declare function getCreateV1InstructionDataEncoder(): Encoder<CreateV1InstructionDataArgs>;
|
|
28
|
-
export declare function getCreateV1InstructionDataDecoder(): Decoder<CreateV1InstructionData>;
|
|
29
|
-
export declare function getCreateV1InstructionDataCodec(): Codec<CreateV1InstructionDataArgs, CreateV1InstructionData>;
|
|
30
|
-
export type CreateV1Input<TAccountAsset extends string = string, TAccountCollection extends string = string, TAccountAuthority extends string = string, TAccountPayer extends string = string, TAccountOwner extends string = string, TAccountUpdateAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountLogWrapper extends string = string> = {
|
|
31
|
-
/** The address of the new asset */
|
|
32
|
-
asset: TransactionSigner<TAccountAsset>;
|
|
33
|
-
/** The collection to which the asset belongs */
|
|
34
|
-
collection?: Address<TAccountCollection>;
|
|
35
|
-
/** The authority signing for creation */
|
|
36
|
-
authority?: TransactionSigner<TAccountAuthority>;
|
|
37
|
-
/** The account paying for the storage fees */
|
|
38
|
-
payer: TransactionSigner<TAccountPayer>;
|
|
39
|
-
/** The owner of the new asset. Defaults to the authority if not present. */
|
|
40
|
-
owner?: Address<TAccountOwner>;
|
|
41
|
-
/** The authority on the new asset */
|
|
42
|
-
updateAuthority?: Address<TAccountUpdateAuthority>;
|
|
43
|
-
/** The system program */
|
|
44
|
-
systemProgram?: Address<TAccountSystemProgram>;
|
|
45
|
-
/** The SPL Noop Program */
|
|
46
|
-
logWrapper?: Address<TAccountLogWrapper>;
|
|
47
|
-
dataState: CreateV1InstructionDataArgs["dataState"];
|
|
48
|
-
name: CreateV1InstructionDataArgs["name"];
|
|
49
|
-
uri: CreateV1InstructionDataArgs["uri"];
|
|
50
|
-
plugins: CreateV1InstructionDataArgs["plugins"];
|
|
51
|
-
};
|
|
52
|
-
export declare function getCreateV1Instruction<TAccountAsset extends string, TAccountCollection extends string, TAccountAuthority extends string, TAccountPayer extends string, TAccountOwner extends string, TAccountUpdateAuthority extends string, TAccountSystemProgram extends string, TAccountLogWrapper extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_ADDRESS>(input: CreateV1Input<TAccountAsset, TAccountCollection, TAccountAuthority, TAccountPayer, TAccountOwner, TAccountUpdateAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
53
|
-
programAddress?: TProgramAddress;
|
|
54
|
-
}): CreateV1Instruction<TProgramAddress, TAccountAsset, TAccountCollection, TAccountAuthority, TAccountPayer, TAccountOwner, TAccountUpdateAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
55
|
-
export type ParsedCreateV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
56
|
-
programAddress: Address<TProgram>;
|
|
57
|
-
accounts: {
|
|
58
|
-
/** The address of the new asset */
|
|
59
|
-
asset: TAccountMetas[0];
|
|
60
|
-
/** The collection to which the asset belongs */
|
|
61
|
-
collection?: TAccountMetas[1] | undefined;
|
|
62
|
-
/** The authority signing for creation */
|
|
63
|
-
authority?: TAccountMetas[2] | undefined;
|
|
64
|
-
/** The account paying for the storage fees */
|
|
65
|
-
payer: TAccountMetas[3];
|
|
66
|
-
/** The owner of the new asset. Defaults to the authority if not present. */
|
|
67
|
-
owner?: TAccountMetas[4] | undefined;
|
|
68
|
-
/** The authority on the new asset */
|
|
69
|
-
updateAuthority?: TAccountMetas[5] | undefined;
|
|
70
|
-
/** The system program */
|
|
71
|
-
systemProgram: TAccountMetas[6];
|
|
72
|
-
/** The SPL Noop Program */
|
|
73
|
-
logWrapper?: TAccountMetas[7] | undefined;
|
|
74
|
-
};
|
|
75
|
-
data: CreateV1InstructionData;
|
|
76
|
-
};
|
|
77
|
-
export declare function parseCreateV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateV1Instruction<TProgram, TAccountMetas>;
|
|
@@ -1,80 +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 AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type Option, type OptionOrNullable, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
|
|
9
|
-
import { MPL_CORE_PROGRAM_ADDRESS } from '../program-address.js';
|
|
10
|
-
import { type DataState, type DataStateArgs, type ExternalPluginAdapterInitInfo, type ExternalPluginAdapterInitInfoArgs, type PluginAuthorityPair, type PluginAuthorityPairArgs } from '../types/index.js';
|
|
11
|
-
export declare const CREATE_V2_DISCRIMINATOR = 20;
|
|
12
|
-
export declare function getCreateV2DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type CreateV2Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountAsset extends string | AccountMeta<string> = string, TAccountCollection extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountOwner extends string | AccountMeta<string> = string, TAccountUpdateAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountLogWrapper extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountAsset extends string ? WritableSignerAccount<TAccountAsset> & AccountSignerMeta<TAccountAsset> : TAccountAsset, TAccountCollection extends string ? WritableAccount<TAccountCollection> : TAccountCollection, TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority, TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountOwner extends string ? ReadonlyAccount<TAccountOwner> : TAccountOwner, TAccountUpdateAuthority extends string ? ReadonlyAccount<TAccountUpdateAuthority> : TAccountUpdateAuthority, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountLogWrapper extends string ? ReadonlyAccount<TAccountLogWrapper> : TAccountLogWrapper, ...TRemainingAccounts]>;
|
|
14
|
-
export type CreateV2InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
dataState: DataState;
|
|
17
|
-
name: string;
|
|
18
|
-
uri: string;
|
|
19
|
-
plugins: Option<Array<PluginAuthorityPair>>;
|
|
20
|
-
externalPluginAdapters: Option<Array<ExternalPluginAdapterInitInfo>>;
|
|
21
|
-
};
|
|
22
|
-
export type CreateV2InstructionDataArgs = {
|
|
23
|
-
dataState: DataStateArgs;
|
|
24
|
-
name: string;
|
|
25
|
-
uri: string;
|
|
26
|
-
plugins: OptionOrNullable<Array<PluginAuthorityPairArgs>>;
|
|
27
|
-
externalPluginAdapters: OptionOrNullable<Array<ExternalPluginAdapterInitInfoArgs>>;
|
|
28
|
-
};
|
|
29
|
-
export declare function getCreateV2InstructionDataEncoder(): Encoder<CreateV2InstructionDataArgs>;
|
|
30
|
-
export declare function getCreateV2InstructionDataDecoder(): Decoder<CreateV2InstructionData>;
|
|
31
|
-
export declare function getCreateV2InstructionDataCodec(): Codec<CreateV2InstructionDataArgs, CreateV2InstructionData>;
|
|
32
|
-
export type CreateV2Input<TAccountAsset extends string = string, TAccountCollection extends string = string, TAccountAuthority extends string = string, TAccountPayer extends string = string, TAccountOwner extends string = string, TAccountUpdateAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountLogWrapper extends string = string> = {
|
|
33
|
-
/** The address of the new asset */
|
|
34
|
-
asset: TransactionSigner<TAccountAsset>;
|
|
35
|
-
/** The collection to which the asset belongs */
|
|
36
|
-
collection?: Address<TAccountCollection>;
|
|
37
|
-
/** The authority signing for creation */
|
|
38
|
-
authority?: TransactionSigner<TAccountAuthority>;
|
|
39
|
-
/** The account paying for the storage fees */
|
|
40
|
-
payer: TransactionSigner<TAccountPayer>;
|
|
41
|
-
/** The owner of the new asset. Defaults to the authority if not present. */
|
|
42
|
-
owner?: Address<TAccountOwner>;
|
|
43
|
-
/** The authority on the new asset */
|
|
44
|
-
updateAuthority?: Address<TAccountUpdateAuthority>;
|
|
45
|
-
/** The system program */
|
|
46
|
-
systemProgram?: Address<TAccountSystemProgram>;
|
|
47
|
-
/** The SPL Noop Program */
|
|
48
|
-
logWrapper?: Address<TAccountLogWrapper>;
|
|
49
|
-
dataState: CreateV2InstructionDataArgs["dataState"];
|
|
50
|
-
name: CreateV2InstructionDataArgs["name"];
|
|
51
|
-
uri: CreateV2InstructionDataArgs["uri"];
|
|
52
|
-
plugins: CreateV2InstructionDataArgs["plugins"];
|
|
53
|
-
externalPluginAdapters: CreateV2InstructionDataArgs["externalPluginAdapters"];
|
|
54
|
-
};
|
|
55
|
-
export declare function getCreateV2Instruction<TAccountAsset extends string, TAccountCollection extends string, TAccountAuthority extends string, TAccountPayer extends string, TAccountOwner extends string, TAccountUpdateAuthority extends string, TAccountSystemProgram extends string, TAccountLogWrapper extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_ADDRESS>(input: CreateV2Input<TAccountAsset, TAccountCollection, TAccountAuthority, TAccountPayer, TAccountOwner, TAccountUpdateAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
56
|
-
programAddress?: TProgramAddress;
|
|
57
|
-
}): CreateV2Instruction<TProgramAddress, TAccountAsset, TAccountCollection, TAccountAuthority, TAccountPayer, TAccountOwner, TAccountUpdateAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
58
|
-
export type ParsedCreateV2Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
59
|
-
programAddress: Address<TProgram>;
|
|
60
|
-
accounts: {
|
|
61
|
-
/** The address of the new asset */
|
|
62
|
-
asset: TAccountMetas[0];
|
|
63
|
-
/** The collection to which the asset belongs */
|
|
64
|
-
collection?: TAccountMetas[1] | undefined;
|
|
65
|
-
/** The authority signing for creation */
|
|
66
|
-
authority?: TAccountMetas[2] | undefined;
|
|
67
|
-
/** The account paying for the storage fees */
|
|
68
|
-
payer: TAccountMetas[3];
|
|
69
|
-
/** The owner of the new asset. Defaults to the authority if not present. */
|
|
70
|
-
owner?: TAccountMetas[4] | undefined;
|
|
71
|
-
/** The authority on the new asset */
|
|
72
|
-
updateAuthority?: TAccountMetas[5] | undefined;
|
|
73
|
-
/** The system program */
|
|
74
|
-
systemProgram: TAccountMetas[6];
|
|
75
|
-
/** The SPL Noop Program */
|
|
76
|
-
logWrapper?: TAccountMetas[7] | undefined;
|
|
77
|
-
};
|
|
78
|
-
data: CreateV2InstructionData;
|
|
79
|
-
};
|
|
80
|
-
export declare function parseCreateV2Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateV2Instruction<TProgram, TAccountMetas>;
|
|
@@ -1,60 +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 AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
|
|
9
|
-
import { MPL_CORE_PROGRAM_ADDRESS } from '../program-address.js';
|
|
10
|
-
import { type CompressionProof, type CompressionProofArgs } from '../types/index.js';
|
|
11
|
-
export declare const DECOMPRESS_V1_DISCRIMINATOR = 18;
|
|
12
|
-
export declare function getDecompressV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type DecompressV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountAsset extends string | AccountMeta<string> = string, TAccountCollection extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountLogWrapper extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountAsset extends string ? WritableAccount<TAccountAsset> : TAccountAsset, TAccountCollection extends string ? ReadonlyAccount<TAccountCollection> : TAccountCollection, TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountLogWrapper extends string ? ReadonlyAccount<TAccountLogWrapper> : TAccountLogWrapper, ...TRemainingAccounts]>;
|
|
14
|
-
export type DecompressV1InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
compressionProof: CompressionProof;
|
|
17
|
-
};
|
|
18
|
-
export type DecompressV1InstructionDataArgs = {
|
|
19
|
-
compressionProof: CompressionProofArgs;
|
|
20
|
-
};
|
|
21
|
-
export declare function getDecompressV1InstructionDataEncoder(): Encoder<DecompressV1InstructionDataArgs>;
|
|
22
|
-
export declare function getDecompressV1InstructionDataDecoder(): Decoder<DecompressV1InstructionData>;
|
|
23
|
-
export declare function getDecompressV1InstructionDataCodec(): Codec<DecompressV1InstructionDataArgs, DecompressV1InstructionData>;
|
|
24
|
-
export type DecompressV1Input<TAccountAsset extends string = string, TAccountCollection extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountLogWrapper extends string = string> = {
|
|
25
|
-
/** The address of the asset */
|
|
26
|
-
asset: Address<TAccountAsset>;
|
|
27
|
-
/** The collection to which the asset belongs */
|
|
28
|
-
collection?: Address<TAccountCollection>;
|
|
29
|
-
/** The account paying for the storage fees */
|
|
30
|
-
payer: TransactionSigner<TAccountPayer>;
|
|
31
|
-
/** The owner or delegate of the asset */
|
|
32
|
-
authority?: TransactionSigner<TAccountAuthority>;
|
|
33
|
-
/** The system program */
|
|
34
|
-
systemProgram?: Address<TAccountSystemProgram>;
|
|
35
|
-
/** The SPL Noop Program */
|
|
36
|
-
logWrapper?: Address<TAccountLogWrapper>;
|
|
37
|
-
compressionProof: DecompressV1InstructionDataArgs["compressionProof"];
|
|
38
|
-
};
|
|
39
|
-
export declare function getDecompressV1Instruction<TAccountAsset extends string, TAccountCollection extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountLogWrapper extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_ADDRESS>(input: DecompressV1Input<TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
40
|
-
programAddress?: TProgramAddress;
|
|
41
|
-
}): DecompressV1Instruction<TProgramAddress, TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
42
|
-
export type ParsedDecompressV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
43
|
-
programAddress: Address<TProgram>;
|
|
44
|
-
accounts: {
|
|
45
|
-
/** The address of the asset */
|
|
46
|
-
asset: TAccountMetas[0];
|
|
47
|
-
/** The collection to which the asset belongs */
|
|
48
|
-
collection?: TAccountMetas[1] | undefined;
|
|
49
|
-
/** The account paying for the storage fees */
|
|
50
|
-
payer: TAccountMetas[2];
|
|
51
|
-
/** The owner or delegate of the asset */
|
|
52
|
-
authority?: TAccountMetas[3] | undefined;
|
|
53
|
-
/** The system program */
|
|
54
|
-
systemProgram: TAccountMetas[4];
|
|
55
|
-
/** The SPL Noop Program */
|
|
56
|
-
logWrapper?: TAccountMetas[5] | undefined;
|
|
57
|
-
};
|
|
58
|
-
data: DecompressV1InstructionData;
|
|
59
|
-
};
|
|
60
|
-
export declare function parseDecompressV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedDecompressV1Instruction<TProgram, TAccountMetas>;
|
|
@@ -1,63 +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 AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
|
|
9
|
-
import { MPL_CORE_PROGRAM_ADDRESS } from '../program-address.js';
|
|
10
|
-
export declare const EXECUTE_V1_DISCRIMINATOR = 31;
|
|
11
|
-
export declare function getExecuteV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
12
|
-
export type ExecuteV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountAsset extends string | AccountMeta<string> = string, TAccountCollection extends string | AccountMeta<string> = string, TAccountAssetSigner extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountProgramId extends string | AccountMeta<string> = "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountAsset extends string ? WritableAccount<TAccountAsset> : TAccountAsset, TAccountCollection extends string ? WritableAccount<TAccountCollection> : TAccountCollection, TAccountAssetSigner extends string ? ReadonlyAccount<TAccountAssetSigner> : TAccountAssetSigner, TAccountPayer extends string ? WritableAccount<TAccountPayer> : TAccountPayer, TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountProgramId extends string ? ReadonlyAccount<TAccountProgramId> : TAccountProgramId, ...TRemainingAccounts]>;
|
|
13
|
-
export type ExecuteV1InstructionData = {
|
|
14
|
-
discriminator: number;
|
|
15
|
-
instructionData: ReadonlyUint8Array;
|
|
16
|
-
};
|
|
17
|
-
export type ExecuteV1InstructionDataArgs = {
|
|
18
|
-
instructionData: ReadonlyUint8Array;
|
|
19
|
-
};
|
|
20
|
-
export declare function getExecuteV1InstructionDataEncoder(): Encoder<ExecuteV1InstructionDataArgs>;
|
|
21
|
-
export declare function getExecuteV1InstructionDataDecoder(): Decoder<ExecuteV1InstructionData>;
|
|
22
|
-
export declare function getExecuteV1InstructionDataCodec(): Codec<ExecuteV1InstructionDataArgs, ExecuteV1InstructionData>;
|
|
23
|
-
export type ExecuteV1Input<TAccountAsset extends string = string, TAccountCollection extends string = string, TAccountAssetSigner extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountProgramId extends string = string> = {
|
|
24
|
-
/** The address of the asset */
|
|
25
|
-
asset: Address<TAccountAsset>;
|
|
26
|
-
/** The collection to which the asset belongs */
|
|
27
|
-
collection?: Address<TAccountCollection>;
|
|
28
|
-
/** The signing PDA for the asset */
|
|
29
|
-
assetSigner: Address<TAccountAssetSigner>;
|
|
30
|
-
/** The account paying for the storage fees */
|
|
31
|
-
payer: Address<TAccountPayer> | TransactionSigner<TAccountPayer>;
|
|
32
|
-
/** The owner or delegate of the asset */
|
|
33
|
-
authority?: TransactionSigner<TAccountAuthority>;
|
|
34
|
-
/** The system program */
|
|
35
|
-
systemProgram?: Address<TAccountSystemProgram>;
|
|
36
|
-
/** The program id of the instruction */
|
|
37
|
-
programId?: Address<TAccountProgramId>;
|
|
38
|
-
instructionData: ExecuteV1InstructionDataArgs["instructionData"];
|
|
39
|
-
};
|
|
40
|
-
export declare function getExecuteV1Instruction<TAccountAsset extends string, TAccountCollection extends string, TAccountAssetSigner extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountProgramId extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_ADDRESS>(input: ExecuteV1Input<TAccountAsset, TAccountCollection, TAccountAssetSigner, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountProgramId>, config?: {
|
|
41
|
-
programAddress?: TProgramAddress;
|
|
42
|
-
}): ExecuteV1Instruction<TProgramAddress, TAccountAsset, TAccountCollection, TAccountAssetSigner, typeof input["payer"] extends TransactionSigner<TAccountPayer> ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountProgramId>;
|
|
43
|
-
export type ParsedExecuteV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
44
|
-
programAddress: Address<TProgram>;
|
|
45
|
-
accounts: {
|
|
46
|
-
/** The address of the asset */
|
|
47
|
-
asset: TAccountMetas[0];
|
|
48
|
-
/** The collection to which the asset belongs */
|
|
49
|
-
collection?: TAccountMetas[1] | undefined;
|
|
50
|
-
/** The signing PDA for the asset */
|
|
51
|
-
assetSigner: TAccountMetas[2];
|
|
52
|
-
/** The account paying for the storage fees */
|
|
53
|
-
payer: TAccountMetas[3];
|
|
54
|
-
/** The owner or delegate of the asset */
|
|
55
|
-
authority?: TAccountMetas[4] | undefined;
|
|
56
|
-
/** The system program */
|
|
57
|
-
systemProgram: TAccountMetas[5];
|
|
58
|
-
/** The program id of the instruction */
|
|
59
|
-
programId: TAccountMetas[6];
|
|
60
|
-
};
|
|
61
|
-
data: ExecuteV1InstructionData;
|
|
62
|
-
};
|
|
63
|
-
export declare function parseExecuteV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedExecuteV1Instruction<TProgram, TAccountMetas>;
|
|
@@ -1,40 +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 './addCollectionExternalPluginAdapterV1.js';
|
|
9
|
-
export * from './addCollectionPluginV1.js';
|
|
10
|
-
export * from './addExternalPluginAdapterV1.js';
|
|
11
|
-
export * from './addPluginV1.js';
|
|
12
|
-
export * from './approveCollectionPluginAuthorityV1.js';
|
|
13
|
-
export * from './approvePluginAuthorityV1.js';
|
|
14
|
-
export * from './burnCollectionV1.js';
|
|
15
|
-
export * from './burnV1.js';
|
|
16
|
-
export * from './collect.js';
|
|
17
|
-
export * from './compressV1.js';
|
|
18
|
-
export * from './createCollectionV1.js';
|
|
19
|
-
export * from './createCollectionV2.js';
|
|
20
|
-
export * from './createV1.js';
|
|
21
|
-
export * from './createV2.js';
|
|
22
|
-
export * from './decompressV1.js';
|
|
23
|
-
export * from './executeV1.js';
|
|
24
|
-
export * from './removeCollectionExternalPluginAdapterV1.js';
|
|
25
|
-
export * from './removeCollectionPluginV1.js';
|
|
26
|
-
export * from './removeExternalPluginAdapterV1.js';
|
|
27
|
-
export * from './removePluginV1.js';
|
|
28
|
-
export * from './revokeCollectionPluginAuthorityV1.js';
|
|
29
|
-
export * from './revokePluginAuthorityV1.js';
|
|
30
|
-
export * from './transferV1.js';
|
|
31
|
-
export * from './updateCollectionExternalPluginAdapterV1.js';
|
|
32
|
-
export * from './updateCollectionInfoV1.js';
|
|
33
|
-
export * from './updateCollectionPluginV1.js';
|
|
34
|
-
export * from './updateCollectionV1.js';
|
|
35
|
-
export * from './updateExternalPluginAdapterV1.js';
|
|
36
|
-
export * from './updatePluginV1.js';
|
|
37
|
-
export * from './updateV1.js';
|
|
38
|
-
export * from './updateV2.js';
|
|
39
|
-
export * from './writeCollectionExternalPluginAdapterDataV1.js';
|
|
40
|
-
export * from './writeExternalPluginAdapterDataV1.js';
|
|
@@ -1,56 +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 AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
|
|
9
|
-
import { MPL_CORE_PROGRAM_ADDRESS } from '../program-address.js';
|
|
10
|
-
import { type ExternalPluginAdapterKey, type ExternalPluginAdapterKeyArgs } from '../types/index.js';
|
|
11
|
-
export declare const REMOVE_COLLECTION_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR = 25;
|
|
12
|
-
export declare function getRemoveCollectionExternalPluginAdapterV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type RemoveCollectionExternalPluginAdapterV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountCollection extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountLogWrapper extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountCollection extends string ? WritableAccount<TAccountCollection> : TAccountCollection, TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountLogWrapper extends string ? ReadonlyAccount<TAccountLogWrapper> : TAccountLogWrapper, ...TRemainingAccounts]>;
|
|
14
|
-
export type RemoveCollectionExternalPluginAdapterV1InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
key: ExternalPluginAdapterKey;
|
|
17
|
-
};
|
|
18
|
-
export type RemoveCollectionExternalPluginAdapterV1InstructionDataArgs = {
|
|
19
|
-
key: ExternalPluginAdapterKeyArgs;
|
|
20
|
-
};
|
|
21
|
-
export declare function getRemoveCollectionExternalPluginAdapterV1InstructionDataEncoder(): Encoder<RemoveCollectionExternalPluginAdapterV1InstructionDataArgs>;
|
|
22
|
-
export declare function getRemoveCollectionExternalPluginAdapterV1InstructionDataDecoder(): Decoder<RemoveCollectionExternalPluginAdapterV1InstructionData>;
|
|
23
|
-
export declare function getRemoveCollectionExternalPluginAdapterV1InstructionDataCodec(): Codec<RemoveCollectionExternalPluginAdapterV1InstructionDataArgs, RemoveCollectionExternalPluginAdapterV1InstructionData>;
|
|
24
|
-
export type RemoveCollectionExternalPluginAdapterV1Input<TAccountCollection extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountLogWrapper extends string = string> = {
|
|
25
|
-
/** The address of the asset */
|
|
26
|
-
collection: Address<TAccountCollection>;
|
|
27
|
-
/** The account paying for the storage fees */
|
|
28
|
-
payer: TransactionSigner<TAccountPayer>;
|
|
29
|
-
/** The owner or delegate of the asset */
|
|
30
|
-
authority?: TransactionSigner<TAccountAuthority>;
|
|
31
|
-
/** The system program */
|
|
32
|
-
systemProgram?: Address<TAccountSystemProgram>;
|
|
33
|
-
/** The SPL Noop Program */
|
|
34
|
-
logWrapper?: Address<TAccountLogWrapper>;
|
|
35
|
-
key: RemoveCollectionExternalPluginAdapterV1InstructionDataArgs["key"];
|
|
36
|
-
};
|
|
37
|
-
export declare function getRemoveCollectionExternalPluginAdapterV1Instruction<TAccountCollection extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountLogWrapper extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_ADDRESS>(input: RemoveCollectionExternalPluginAdapterV1Input<TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
38
|
-
programAddress?: TProgramAddress;
|
|
39
|
-
}): RemoveCollectionExternalPluginAdapterV1Instruction<TProgramAddress, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
40
|
-
export type ParsedRemoveCollectionExternalPluginAdapterV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
41
|
-
programAddress: Address<TProgram>;
|
|
42
|
-
accounts: {
|
|
43
|
-
/** The address of the asset */
|
|
44
|
-
collection: TAccountMetas[0];
|
|
45
|
-
/** The account paying for the storage fees */
|
|
46
|
-
payer: TAccountMetas[1];
|
|
47
|
-
/** The owner or delegate of the asset */
|
|
48
|
-
authority?: TAccountMetas[2] | undefined;
|
|
49
|
-
/** The system program */
|
|
50
|
-
systemProgram: TAccountMetas[3];
|
|
51
|
-
/** The SPL Noop Program */
|
|
52
|
-
logWrapper?: TAccountMetas[4] | undefined;
|
|
53
|
-
};
|
|
54
|
-
data: RemoveCollectionExternalPluginAdapterV1InstructionData;
|
|
55
|
-
};
|
|
56
|
-
export declare function parseRemoveCollectionExternalPluginAdapterV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedRemoveCollectionExternalPluginAdapterV1Instruction<TProgram, TAccountMetas>;
|
|
@@ -1,56 +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 AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
|
|
9
|
-
import { MPL_CORE_PROGRAM_ADDRESS } from '../program-address.js';
|
|
10
|
-
import { type PluginType, type PluginTypeArgs } from '../types/index.js';
|
|
11
|
-
export declare const REMOVE_COLLECTION_PLUGIN_V1_DISCRIMINATOR = 5;
|
|
12
|
-
export declare function getRemoveCollectionPluginV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type RemoveCollectionPluginV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountCollection extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountLogWrapper extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountCollection extends string ? WritableAccount<TAccountCollection> : TAccountCollection, TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountLogWrapper extends string ? ReadonlyAccount<TAccountLogWrapper> : TAccountLogWrapper, ...TRemainingAccounts]>;
|
|
14
|
-
export type RemoveCollectionPluginV1InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
pluginType: PluginType;
|
|
17
|
-
};
|
|
18
|
-
export type RemoveCollectionPluginV1InstructionDataArgs = {
|
|
19
|
-
pluginType: PluginTypeArgs;
|
|
20
|
-
};
|
|
21
|
-
export declare function getRemoveCollectionPluginV1InstructionDataEncoder(): FixedSizeEncoder<RemoveCollectionPluginV1InstructionDataArgs>;
|
|
22
|
-
export declare function getRemoveCollectionPluginV1InstructionDataDecoder(): FixedSizeDecoder<RemoveCollectionPluginV1InstructionData>;
|
|
23
|
-
export declare function getRemoveCollectionPluginV1InstructionDataCodec(): FixedSizeCodec<RemoveCollectionPluginV1InstructionDataArgs, RemoveCollectionPluginV1InstructionData>;
|
|
24
|
-
export type RemoveCollectionPluginV1Input<TAccountCollection extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountLogWrapper extends string = string> = {
|
|
25
|
-
/** The address of the asset */
|
|
26
|
-
collection: Address<TAccountCollection>;
|
|
27
|
-
/** The account paying for the storage fees */
|
|
28
|
-
payer: TransactionSigner<TAccountPayer>;
|
|
29
|
-
/** The owner or delegate of the asset */
|
|
30
|
-
authority?: TransactionSigner<TAccountAuthority>;
|
|
31
|
-
/** The system program */
|
|
32
|
-
systemProgram?: Address<TAccountSystemProgram>;
|
|
33
|
-
/** The SPL Noop Program */
|
|
34
|
-
logWrapper?: Address<TAccountLogWrapper>;
|
|
35
|
-
pluginType: RemoveCollectionPluginV1InstructionDataArgs["pluginType"];
|
|
36
|
-
};
|
|
37
|
-
export declare function getRemoveCollectionPluginV1Instruction<TAccountCollection extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountLogWrapper extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_ADDRESS>(input: RemoveCollectionPluginV1Input<TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
38
|
-
programAddress?: TProgramAddress;
|
|
39
|
-
}): RemoveCollectionPluginV1Instruction<TProgramAddress, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
40
|
-
export type ParsedRemoveCollectionPluginV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
41
|
-
programAddress: Address<TProgram>;
|
|
42
|
-
accounts: {
|
|
43
|
-
/** The address of the asset */
|
|
44
|
-
collection: TAccountMetas[0];
|
|
45
|
-
/** The account paying for the storage fees */
|
|
46
|
-
payer: TAccountMetas[1];
|
|
47
|
-
/** The owner or delegate of the asset */
|
|
48
|
-
authority?: TAccountMetas[2] | undefined;
|
|
49
|
-
/** The system program */
|
|
50
|
-
systemProgram: TAccountMetas[3];
|
|
51
|
-
/** The SPL Noop Program */
|
|
52
|
-
logWrapper?: TAccountMetas[4] | undefined;
|
|
53
|
-
};
|
|
54
|
-
data: RemoveCollectionPluginV1InstructionData;
|
|
55
|
-
};
|
|
56
|
-
export declare function parseRemoveCollectionPluginV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedRemoveCollectionPluginV1Instruction<TProgram, TAccountMetas>;
|