@ar.io/sdk 4.0.0-solana.9 → 4.0.1
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 +69 -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
package/lib/types/solana/generated/mpl-core/instructions/addCollectionExternalPluginAdapterV1.d.ts
DELETED
|
@@ -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 ExternalPluginAdapterInitInfo, type ExternalPluginAdapterInitInfoArgs } from '../types/index.js';
|
|
11
|
-
export declare const ADD_COLLECTION_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR = 23;
|
|
12
|
-
export declare function getAddCollectionExternalPluginAdapterV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type AddCollectionExternalPluginAdapterV1Instruction<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 AddCollectionExternalPluginAdapterV1InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
initInfo: ExternalPluginAdapterInitInfo;
|
|
17
|
-
};
|
|
18
|
-
export type AddCollectionExternalPluginAdapterV1InstructionDataArgs = {
|
|
19
|
-
initInfo: ExternalPluginAdapterInitInfoArgs;
|
|
20
|
-
};
|
|
21
|
-
export declare function getAddCollectionExternalPluginAdapterV1InstructionDataEncoder(): Encoder<AddCollectionExternalPluginAdapterV1InstructionDataArgs>;
|
|
22
|
-
export declare function getAddCollectionExternalPluginAdapterV1InstructionDataDecoder(): Decoder<AddCollectionExternalPluginAdapterV1InstructionData>;
|
|
23
|
-
export declare function getAddCollectionExternalPluginAdapterV1InstructionDataCodec(): Codec<AddCollectionExternalPluginAdapterV1InstructionDataArgs, AddCollectionExternalPluginAdapterV1InstructionData>;
|
|
24
|
-
export type AddCollectionExternalPluginAdapterV1Input<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
|
-
initInfo: AddCollectionExternalPluginAdapterV1InstructionDataArgs["initInfo"];
|
|
36
|
-
};
|
|
37
|
-
export declare function getAddCollectionExternalPluginAdapterV1Instruction<TAccountCollection extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountLogWrapper extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_ADDRESS>(input: AddCollectionExternalPluginAdapterV1Input<TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
38
|
-
programAddress?: TProgramAddress;
|
|
39
|
-
}): AddCollectionExternalPluginAdapterV1Instruction<TProgramAddress, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
40
|
-
export type ParsedAddCollectionExternalPluginAdapterV1Instruction<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: AddCollectionExternalPluginAdapterV1InstructionData;
|
|
55
|
-
};
|
|
56
|
-
export declare function parseAddCollectionExternalPluginAdapterV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedAddCollectionExternalPluginAdapterV1Instruction<TProgram, TAccountMetas>;
|
|
@@ -1,59 +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 Authority, type AuthorityArgs, type Plugin, type PluginArgs } from '../types/index.js';
|
|
11
|
-
export declare const ADD_COLLECTION_PLUGIN_V1_DISCRIMINATOR = 3;
|
|
12
|
-
export declare function getAddCollectionPluginV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type AddCollectionPluginV1Instruction<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 AddCollectionPluginV1InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
plugin: Plugin;
|
|
17
|
-
initAuthority: Option<Authority>;
|
|
18
|
-
};
|
|
19
|
-
export type AddCollectionPluginV1InstructionDataArgs = {
|
|
20
|
-
plugin: PluginArgs;
|
|
21
|
-
initAuthority: OptionOrNullable<AuthorityArgs>;
|
|
22
|
-
};
|
|
23
|
-
export declare function getAddCollectionPluginV1InstructionDataEncoder(): Encoder<AddCollectionPluginV1InstructionDataArgs>;
|
|
24
|
-
export declare function getAddCollectionPluginV1InstructionDataDecoder(): Decoder<AddCollectionPluginV1InstructionData>;
|
|
25
|
-
export declare function getAddCollectionPluginV1InstructionDataCodec(): Codec<AddCollectionPluginV1InstructionDataArgs, AddCollectionPluginV1InstructionData>;
|
|
26
|
-
export type AddCollectionPluginV1Input<TAccountCollection extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountLogWrapper extends string = string> = {
|
|
27
|
-
/** The address of the asset */
|
|
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
|
-
plugin: AddCollectionPluginV1InstructionDataArgs["plugin"];
|
|
38
|
-
initAuthority: AddCollectionPluginV1InstructionDataArgs["initAuthority"];
|
|
39
|
-
};
|
|
40
|
-
export declare function getAddCollectionPluginV1Instruction<TAccountCollection extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountLogWrapper extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_ADDRESS>(input: AddCollectionPluginV1Input<TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
41
|
-
programAddress?: TProgramAddress;
|
|
42
|
-
}): AddCollectionPluginV1Instruction<TProgramAddress, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
43
|
-
export type ParsedAddCollectionPluginV1Instruction<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
|
-
collection: TAccountMetas[0];
|
|
48
|
-
/** The account paying for the storage fees */
|
|
49
|
-
payer: TAccountMetas[1];
|
|
50
|
-
/** The owner or delegate of the asset */
|
|
51
|
-
authority?: TAccountMetas[2] | undefined;
|
|
52
|
-
/** The system program */
|
|
53
|
-
systemProgram: TAccountMetas[3];
|
|
54
|
-
/** The SPL Noop Program */
|
|
55
|
-
logWrapper?: TAccountMetas[4] | undefined;
|
|
56
|
-
};
|
|
57
|
-
data: AddCollectionPluginV1InstructionData;
|
|
58
|
-
};
|
|
59
|
-
export declare function parseAddCollectionPluginV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedAddCollectionPluginV1Instruction<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 ExternalPluginAdapterInitInfo, type ExternalPluginAdapterInitInfoArgs } from '../types/index.js';
|
|
11
|
-
export declare const ADD_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR = 22;
|
|
12
|
-
export declare function getAddExternalPluginAdapterV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type AddExternalPluginAdapterV1Instruction<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 ? 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 AddExternalPluginAdapterV1InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
initInfo: ExternalPluginAdapterInitInfo;
|
|
17
|
-
};
|
|
18
|
-
export type AddExternalPluginAdapterV1InstructionDataArgs = {
|
|
19
|
-
initInfo: ExternalPluginAdapterInitInfoArgs;
|
|
20
|
-
};
|
|
21
|
-
export declare function getAddExternalPluginAdapterV1InstructionDataEncoder(): Encoder<AddExternalPluginAdapterV1InstructionDataArgs>;
|
|
22
|
-
export declare function getAddExternalPluginAdapterV1InstructionDataDecoder(): Decoder<AddExternalPluginAdapterV1InstructionData>;
|
|
23
|
-
export declare function getAddExternalPluginAdapterV1InstructionDataCodec(): Codec<AddExternalPluginAdapterV1InstructionDataArgs, AddExternalPluginAdapterV1InstructionData>;
|
|
24
|
-
export type AddExternalPluginAdapterV1Input<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
|
-
initInfo: AddExternalPluginAdapterV1InstructionDataArgs["initInfo"];
|
|
38
|
-
};
|
|
39
|
-
export declare function getAddExternalPluginAdapterV1Instruction<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: AddExternalPluginAdapterV1Input<TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
40
|
-
programAddress?: TProgramAddress;
|
|
41
|
-
}): AddExternalPluginAdapterV1Instruction<TProgramAddress, TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
42
|
-
export type ParsedAddExternalPluginAdapterV1Instruction<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: AddExternalPluginAdapterV1InstructionData;
|
|
59
|
-
};
|
|
60
|
-
export declare function parseAddExternalPluginAdapterV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedAddExternalPluginAdapterV1Instruction<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 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 Authority, type AuthorityArgs, type Plugin, type PluginArgs } from '../types/index.js';
|
|
11
|
-
export declare const ADD_PLUGIN_V1_DISCRIMINATOR = 2;
|
|
12
|
-
export declare function getAddPluginV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type AddPluginV1Instruction<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 ? 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 AddPluginV1InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
plugin: Plugin;
|
|
17
|
-
initAuthority: Option<Authority>;
|
|
18
|
-
};
|
|
19
|
-
export type AddPluginV1InstructionDataArgs = {
|
|
20
|
-
plugin: PluginArgs;
|
|
21
|
-
initAuthority: OptionOrNullable<AuthorityArgs>;
|
|
22
|
-
};
|
|
23
|
-
export declare function getAddPluginV1InstructionDataEncoder(): Encoder<AddPluginV1InstructionDataArgs>;
|
|
24
|
-
export declare function getAddPluginV1InstructionDataDecoder(): Decoder<AddPluginV1InstructionData>;
|
|
25
|
-
export declare function getAddPluginV1InstructionDataCodec(): Codec<AddPluginV1InstructionDataArgs, AddPluginV1InstructionData>;
|
|
26
|
-
export type AddPluginV1Input<TAccountAsset extends string = string, TAccountCollection extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountLogWrapper extends string = string> = {
|
|
27
|
-
/** The address of the asset */
|
|
28
|
-
asset: Address<TAccountAsset>;
|
|
29
|
-
/** The collection to which the asset belongs */
|
|
30
|
-
collection?: Address<TAccountCollection>;
|
|
31
|
-
/** The account paying for the storage fees */
|
|
32
|
-
payer: TransactionSigner<TAccountPayer>;
|
|
33
|
-
/** The owner or delegate of the asset */
|
|
34
|
-
authority?: TransactionSigner<TAccountAuthority>;
|
|
35
|
-
/** The system program */
|
|
36
|
-
systemProgram?: Address<TAccountSystemProgram>;
|
|
37
|
-
/** The SPL Noop Program */
|
|
38
|
-
logWrapper?: Address<TAccountLogWrapper>;
|
|
39
|
-
plugin: AddPluginV1InstructionDataArgs["plugin"];
|
|
40
|
-
initAuthority: AddPluginV1InstructionDataArgs["initAuthority"];
|
|
41
|
-
};
|
|
42
|
-
export declare function getAddPluginV1Instruction<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: AddPluginV1Input<TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
43
|
-
programAddress?: TProgramAddress;
|
|
44
|
-
}): AddPluginV1Instruction<TProgramAddress, TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
45
|
-
export type ParsedAddPluginV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
46
|
-
programAddress: Address<TProgram>;
|
|
47
|
-
accounts: {
|
|
48
|
-
/** The address of the asset */
|
|
49
|
-
asset: TAccountMetas[0];
|
|
50
|
-
/** The collection to which the asset belongs */
|
|
51
|
-
collection?: TAccountMetas[1] | undefined;
|
|
52
|
-
/** The account paying for the storage fees */
|
|
53
|
-
payer: TAccountMetas[2];
|
|
54
|
-
/** The owner or delegate of the asset */
|
|
55
|
-
authority?: TAccountMetas[3] | undefined;
|
|
56
|
-
/** The system program */
|
|
57
|
-
systemProgram: TAccountMetas[4];
|
|
58
|
-
/** The SPL Noop Program */
|
|
59
|
-
logWrapper?: TAccountMetas[5] | undefined;
|
|
60
|
-
};
|
|
61
|
-
data: AddPluginV1InstructionData;
|
|
62
|
-
};
|
|
63
|
-
export declare function parseAddPluginV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedAddPluginV1Instruction<TProgram, TAccountMetas>;
|
package/lib/types/solana/generated/mpl-core/instructions/approveCollectionPluginAuthorityV1.d.ts
DELETED
|
@@ -1,59 +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 Authority, type AuthorityArgs, type PluginType, type PluginTypeArgs } from '../types/index.js';
|
|
11
|
-
export declare const APPROVE_COLLECTION_PLUGIN_AUTHORITY_V1_DISCRIMINATOR = 9;
|
|
12
|
-
export declare function getApproveCollectionPluginAuthorityV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type ApproveCollectionPluginAuthorityV1Instruction<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 ApproveCollectionPluginAuthorityV1InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
pluginType: PluginType;
|
|
17
|
-
newAuthority: Authority;
|
|
18
|
-
};
|
|
19
|
-
export type ApproveCollectionPluginAuthorityV1InstructionDataArgs = {
|
|
20
|
-
pluginType: PluginTypeArgs;
|
|
21
|
-
newAuthority: AuthorityArgs;
|
|
22
|
-
};
|
|
23
|
-
export declare function getApproveCollectionPluginAuthorityV1InstructionDataEncoder(): Encoder<ApproveCollectionPluginAuthorityV1InstructionDataArgs>;
|
|
24
|
-
export declare function getApproveCollectionPluginAuthorityV1InstructionDataDecoder(): Decoder<ApproveCollectionPluginAuthorityV1InstructionData>;
|
|
25
|
-
export declare function getApproveCollectionPluginAuthorityV1InstructionDataCodec(): Codec<ApproveCollectionPluginAuthorityV1InstructionDataArgs, ApproveCollectionPluginAuthorityV1InstructionData>;
|
|
26
|
-
export type ApproveCollectionPluginAuthorityV1Input<TAccountCollection extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountLogWrapper extends string = string> = {
|
|
27
|
-
/** The address of the asset */
|
|
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
|
-
pluginType: ApproveCollectionPluginAuthorityV1InstructionDataArgs["pluginType"];
|
|
38
|
-
newAuthority: ApproveCollectionPluginAuthorityV1InstructionDataArgs["newAuthority"];
|
|
39
|
-
};
|
|
40
|
-
export declare function getApproveCollectionPluginAuthorityV1Instruction<TAccountCollection extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountLogWrapper extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_ADDRESS>(input: ApproveCollectionPluginAuthorityV1Input<TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
41
|
-
programAddress?: TProgramAddress;
|
|
42
|
-
}): ApproveCollectionPluginAuthorityV1Instruction<TProgramAddress, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
43
|
-
export type ParsedApproveCollectionPluginAuthorityV1Instruction<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
|
-
collection: TAccountMetas[0];
|
|
48
|
-
/** The account paying for the storage fees */
|
|
49
|
-
payer: TAccountMetas[1];
|
|
50
|
-
/** The owner or delegate of the asset */
|
|
51
|
-
authority?: TAccountMetas[2] | undefined;
|
|
52
|
-
/** The system program */
|
|
53
|
-
systemProgram: TAccountMetas[3];
|
|
54
|
-
/** The SPL Noop Program */
|
|
55
|
-
logWrapper?: TAccountMetas[4] | undefined;
|
|
56
|
-
};
|
|
57
|
-
data: ApproveCollectionPluginAuthorityV1InstructionData;
|
|
58
|
-
};
|
|
59
|
-
export declare function parseApproveCollectionPluginAuthorityV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedApproveCollectionPluginAuthorityV1Instruction<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
|
-
import { type Authority, type AuthorityArgs, type PluginType, type PluginTypeArgs } from '../types/index.js';
|
|
11
|
-
export declare const APPROVE_PLUGIN_AUTHORITY_V1_DISCRIMINATOR = 8;
|
|
12
|
-
export declare function getApprovePluginAuthorityV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type ApprovePluginAuthorityV1Instruction<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 ? 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 ApprovePluginAuthorityV1InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
pluginType: PluginType;
|
|
17
|
-
newAuthority: Authority;
|
|
18
|
-
};
|
|
19
|
-
export type ApprovePluginAuthorityV1InstructionDataArgs = {
|
|
20
|
-
pluginType: PluginTypeArgs;
|
|
21
|
-
newAuthority: AuthorityArgs;
|
|
22
|
-
};
|
|
23
|
-
export declare function getApprovePluginAuthorityV1InstructionDataEncoder(): Encoder<ApprovePluginAuthorityV1InstructionDataArgs>;
|
|
24
|
-
export declare function getApprovePluginAuthorityV1InstructionDataDecoder(): Decoder<ApprovePluginAuthorityV1InstructionData>;
|
|
25
|
-
export declare function getApprovePluginAuthorityV1InstructionDataCodec(): Codec<ApprovePluginAuthorityV1InstructionDataArgs, ApprovePluginAuthorityV1InstructionData>;
|
|
26
|
-
export type ApprovePluginAuthorityV1Input<TAccountAsset extends string = string, TAccountCollection extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountLogWrapper extends string = string> = {
|
|
27
|
-
/** The address of the asset */
|
|
28
|
-
asset: Address<TAccountAsset>;
|
|
29
|
-
/** The collection to which the asset belongs */
|
|
30
|
-
collection?: Address<TAccountCollection>;
|
|
31
|
-
/** The account paying for the storage fees */
|
|
32
|
-
payer: TransactionSigner<TAccountPayer>;
|
|
33
|
-
/** The owner or delegate of the asset */
|
|
34
|
-
authority?: TransactionSigner<TAccountAuthority>;
|
|
35
|
-
/** The system program */
|
|
36
|
-
systemProgram?: Address<TAccountSystemProgram>;
|
|
37
|
-
/** The SPL Noop Program */
|
|
38
|
-
logWrapper?: Address<TAccountLogWrapper>;
|
|
39
|
-
pluginType: ApprovePluginAuthorityV1InstructionDataArgs["pluginType"];
|
|
40
|
-
newAuthority: ApprovePluginAuthorityV1InstructionDataArgs["newAuthority"];
|
|
41
|
-
};
|
|
42
|
-
export declare function getApprovePluginAuthorityV1Instruction<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: ApprovePluginAuthorityV1Input<TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
43
|
-
programAddress?: TProgramAddress;
|
|
44
|
-
}): ApprovePluginAuthorityV1Instruction<TProgramAddress, TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
45
|
-
export type ParsedApprovePluginAuthorityV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
46
|
-
programAddress: Address<TProgram>;
|
|
47
|
-
accounts: {
|
|
48
|
-
/** The address of the asset */
|
|
49
|
-
asset: TAccountMetas[0];
|
|
50
|
-
/** The collection to which the asset belongs */
|
|
51
|
-
collection?: TAccountMetas[1] | undefined;
|
|
52
|
-
/** The account paying for the storage fees */
|
|
53
|
-
payer: TAccountMetas[2];
|
|
54
|
-
/** The owner or delegate of the asset */
|
|
55
|
-
authority?: TAccountMetas[3] | undefined;
|
|
56
|
-
/** The system program */
|
|
57
|
-
systemProgram: TAccountMetas[4];
|
|
58
|
-
/** The SPL Noop Program */
|
|
59
|
-
logWrapper?: TAccountMetas[5] | undefined;
|
|
60
|
-
};
|
|
61
|
-
data: ApprovePluginAuthorityV1InstructionData;
|
|
62
|
-
};
|
|
63
|
-
export declare function parseApprovePluginAuthorityV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedApprovePluginAuthorityV1Instruction<TProgram, TAccountMetas>;
|
|
@@ -1,52 +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 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 BURN_COLLECTION_V1_DISCRIMINATOR = 13;
|
|
12
|
-
export declare function getBurnCollectionV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type BurnCollectionV1Instruction<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, 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 ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority, TAccountLogWrapper extends string ? ReadonlyAccount<TAccountLogWrapper> : TAccountLogWrapper, ...TRemainingAccounts]>;
|
|
14
|
-
export type BurnCollectionV1InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
compressionProof: Option<CompressionProof>;
|
|
17
|
-
};
|
|
18
|
-
export type BurnCollectionV1InstructionDataArgs = {
|
|
19
|
-
compressionProof: OptionOrNullable<CompressionProofArgs>;
|
|
20
|
-
};
|
|
21
|
-
export declare function getBurnCollectionV1InstructionDataEncoder(): Encoder<BurnCollectionV1InstructionDataArgs>;
|
|
22
|
-
export declare function getBurnCollectionV1InstructionDataDecoder(): Decoder<BurnCollectionV1InstructionData>;
|
|
23
|
-
export declare function getBurnCollectionV1InstructionDataCodec(): Codec<BurnCollectionV1InstructionDataArgs, BurnCollectionV1InstructionData>;
|
|
24
|
-
export type BurnCollectionV1Input<TAccountCollection extends string = string, TAccountPayer extends string = string, TAccountAuthority 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 SPL Noop Program */
|
|
32
|
-
logWrapper?: Address<TAccountLogWrapper>;
|
|
33
|
-
compressionProof: BurnCollectionV1InstructionDataArgs["compressionProof"];
|
|
34
|
-
};
|
|
35
|
-
export declare function getBurnCollectionV1Instruction<TAccountCollection extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountLogWrapper extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_ADDRESS>(input: BurnCollectionV1Input<TAccountCollection, TAccountPayer, TAccountAuthority, TAccountLogWrapper>, config?: {
|
|
36
|
-
programAddress?: TProgramAddress;
|
|
37
|
-
}): BurnCollectionV1Instruction<TProgramAddress, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountLogWrapper>;
|
|
38
|
-
export type ParsedBurnCollectionV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
39
|
-
programAddress: Address<TProgram>;
|
|
40
|
-
accounts: {
|
|
41
|
-
/** The address of the asset */
|
|
42
|
-
collection: TAccountMetas[0];
|
|
43
|
-
/** The account paying for the storage fees */
|
|
44
|
-
payer: TAccountMetas[1];
|
|
45
|
-
/** The owner or delegate of the asset */
|
|
46
|
-
authority?: TAccountMetas[2] | undefined;
|
|
47
|
-
/** The SPL Noop Program */
|
|
48
|
-
logWrapper?: TAccountMetas[3] | undefined;
|
|
49
|
-
};
|
|
50
|
-
data: BurnCollectionV1InstructionData;
|
|
51
|
-
};
|
|
52
|
-
export declare function parseBurnCollectionV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedBurnCollectionV1Instruction<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 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 CompressionProof, type CompressionProofArgs } from '../types/index.js';
|
|
11
|
-
export declare const BURN_V1_DISCRIMINATOR = 12;
|
|
12
|
-
export declare function getBurnV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type BurnV1Instruction<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> = string, 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 ? 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 BurnV1InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
compressionProof: Option<CompressionProof>;
|
|
17
|
-
};
|
|
18
|
-
export type BurnV1InstructionDataArgs = {
|
|
19
|
-
compressionProof: OptionOrNullable<CompressionProofArgs>;
|
|
20
|
-
};
|
|
21
|
-
export declare function getBurnV1InstructionDataEncoder(): Encoder<BurnV1InstructionDataArgs>;
|
|
22
|
-
export declare function getBurnV1InstructionDataDecoder(): Decoder<BurnV1InstructionData>;
|
|
23
|
-
export declare function getBurnV1InstructionDataCodec(): Codec<BurnV1InstructionDataArgs, BurnV1InstructionData>;
|
|
24
|
-
export type BurnV1Input<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: BurnV1InstructionDataArgs["compressionProof"];
|
|
38
|
-
};
|
|
39
|
-
export declare function getBurnV1Instruction<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: BurnV1Input<TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
40
|
-
programAddress?: TProgramAddress;
|
|
41
|
-
}): BurnV1Instruction<TProgramAddress, TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
42
|
-
export type ParsedBurnV1Instruction<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] | undefined;
|
|
55
|
-
/** The SPL Noop Program */
|
|
56
|
-
logWrapper?: TAccountMetas[5] | undefined;
|
|
57
|
-
};
|
|
58
|
-
data: BurnV1InstructionData;
|
|
59
|
-
};
|
|
60
|
-
export declare function parseBurnV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedBurnV1Instruction<TProgram, TAccountMetas>;
|
|
@@ -1,39 +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 Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit';
|
|
9
|
-
import { MPL_CORE_PROGRAM_ADDRESS } from '../program-address.js';
|
|
10
|
-
export declare const COLLECT_DISCRIMINATOR = 19;
|
|
11
|
-
export declare function getCollectDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
12
|
-
export type CollectInstruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountRecipient1 extends string | AccountMeta<string> = string, TAccountRecipient2 extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountRecipient1 extends string ? WritableAccount<TAccountRecipient1> : TAccountRecipient1, TAccountRecipient2 extends string ? WritableAccount<TAccountRecipient2> : TAccountRecipient2, ...TRemainingAccounts]>;
|
|
13
|
-
export type CollectInstructionData = {
|
|
14
|
-
discriminator: number;
|
|
15
|
-
};
|
|
16
|
-
export type CollectInstructionDataArgs = {};
|
|
17
|
-
export declare function getCollectInstructionDataEncoder(): FixedSizeEncoder<CollectInstructionDataArgs>;
|
|
18
|
-
export declare function getCollectInstructionDataDecoder(): FixedSizeDecoder<CollectInstructionData>;
|
|
19
|
-
export declare function getCollectInstructionDataCodec(): FixedSizeCodec<CollectInstructionDataArgs, CollectInstructionData>;
|
|
20
|
-
export type CollectInput<TAccountRecipient1 extends string = string, TAccountRecipient2 extends string = string> = {
|
|
21
|
-
/** The address of the recipient 1 */
|
|
22
|
-
recipient1: Address<TAccountRecipient1>;
|
|
23
|
-
/** The address of the recipient 2 */
|
|
24
|
-
recipient2: Address<TAccountRecipient2>;
|
|
25
|
-
};
|
|
26
|
-
export declare function getCollectInstruction<TAccountRecipient1 extends string, TAccountRecipient2 extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_ADDRESS>(input: CollectInput<TAccountRecipient1, TAccountRecipient2>, config?: {
|
|
27
|
-
programAddress?: TProgramAddress;
|
|
28
|
-
}): CollectInstruction<TProgramAddress, TAccountRecipient1, TAccountRecipient2>;
|
|
29
|
-
export type ParsedCollectInstruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
30
|
-
programAddress: Address<TProgram>;
|
|
31
|
-
accounts: {
|
|
32
|
-
/** The address of the recipient 1 */
|
|
33
|
-
recipient1: TAccountMetas[0];
|
|
34
|
-
/** The address of the recipient 2 */
|
|
35
|
-
recipient2: TAccountMetas[1];
|
|
36
|
-
};
|
|
37
|
-
data: CollectInstructionData;
|
|
38
|
-
};
|
|
39
|
-
export declare function parseCollectInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCollectInstruction<TProgram, TAccountMetas>;
|
|
@@ -1,55 +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
|
-
export declare const COMPRESS_V1_DISCRIMINATOR = 17;
|
|
11
|
-
export declare function getCompressV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
12
|
-
export type CompressV1Instruction<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]>;
|
|
13
|
-
export type CompressV1InstructionData = {
|
|
14
|
-
discriminator: number;
|
|
15
|
-
};
|
|
16
|
-
export type CompressV1InstructionDataArgs = {};
|
|
17
|
-
export declare function getCompressV1InstructionDataEncoder(): FixedSizeEncoder<CompressV1InstructionDataArgs>;
|
|
18
|
-
export declare function getCompressV1InstructionDataDecoder(): FixedSizeDecoder<CompressV1InstructionData>;
|
|
19
|
-
export declare function getCompressV1InstructionDataCodec(): FixedSizeCodec<CompressV1InstructionDataArgs, CompressV1InstructionData>;
|
|
20
|
-
export type CompressV1Input<TAccountAsset extends string = string, TAccountCollection extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountLogWrapper extends string = string> = {
|
|
21
|
-
/** The address of the asset */
|
|
22
|
-
asset: Address<TAccountAsset>;
|
|
23
|
-
/** The collection to which the asset belongs */
|
|
24
|
-
collection?: Address<TAccountCollection>;
|
|
25
|
-
/** The account receiving the storage fees */
|
|
26
|
-
payer: TransactionSigner<TAccountPayer>;
|
|
27
|
-
/** The owner or delegate of the asset */
|
|
28
|
-
authority?: TransactionSigner<TAccountAuthority>;
|
|
29
|
-
/** The system program */
|
|
30
|
-
systemProgram?: Address<TAccountSystemProgram>;
|
|
31
|
-
/** The SPL Noop Program */
|
|
32
|
-
logWrapper?: Address<TAccountLogWrapper>;
|
|
33
|
-
};
|
|
34
|
-
export declare function getCompressV1Instruction<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: CompressV1Input<TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
35
|
-
programAddress?: TProgramAddress;
|
|
36
|
-
}): CompressV1Instruction<TProgramAddress, TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
37
|
-
export type ParsedCompressV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
38
|
-
programAddress: Address<TProgram>;
|
|
39
|
-
accounts: {
|
|
40
|
-
/** The address of the asset */
|
|
41
|
-
asset: TAccountMetas[0];
|
|
42
|
-
/** The collection to which the asset belongs */
|
|
43
|
-
collection?: TAccountMetas[1] | undefined;
|
|
44
|
-
/** The account receiving the storage fees */
|
|
45
|
-
payer: TAccountMetas[2];
|
|
46
|
-
/** The owner or delegate of the asset */
|
|
47
|
-
authority?: TAccountMetas[3] | undefined;
|
|
48
|
-
/** The system program */
|
|
49
|
-
systemProgram: TAccountMetas[4];
|
|
50
|
-
/** The SPL Noop Program */
|
|
51
|
-
logWrapper?: TAccountMetas[5] | undefined;
|
|
52
|
-
};
|
|
53
|
-
data: CompressV1InstructionData;
|
|
54
|
-
};
|
|
55
|
-
export declare function parseCompressV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCompressV1Instruction<TProgram, TAccountMetas>;
|