@ar.io/sdk 4.0.0-solana.9 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +721 -673
- package/lib/esm/cli/cli.js +28 -152
- package/lib/esm/cli/commands/antCommands.js +5 -66
- package/lib/esm/cli/commands/arnsPurchaseCommands.js +7 -28
- package/lib/esm/cli/commands/escrowCommands.js +23 -4
- package/lib/esm/cli/commands/gatewayWriteCommands.js +15 -8
- package/lib/esm/cli/commands/pruneCommands.js +14 -26
- package/lib/esm/cli/commands/readCommands.js +12 -1
- package/lib/esm/cli/options.js +2 -75
- package/lib/esm/cli/utils.js +96 -209
- package/lib/esm/common/ant-registry.js +12 -160
- package/lib/esm/common/ant.js +40 -1208
- package/lib/esm/common/faucet.js +17 -6
- package/lib/esm/common/index.js +0 -4
- package/lib/esm/common/io.js +13 -1441
- package/lib/esm/constants.js +0 -18
- package/lib/esm/solana/ant-readable.js +391 -54
- package/lib/esm/solana/ant-registry-readable.js +15 -0
- package/lib/esm/solana/ant-registry-writeable.js +19 -4
- package/lib/esm/solana/ant-writeable.js +43 -11
- package/lib/esm/solana/ata.js +15 -0
- package/lib/esm/solana/canonical-message.js +45 -9
- package/lib/esm/solana/clusters.js +71 -22
- package/lib/esm/solana/constants.js +21 -5
- package/lib/esm/solana/delegation-math.js +49 -0
- package/lib/esm/solana/deserialize.js +263 -727
- package/lib/esm/solana/escrow.js +145 -103
- package/lib/esm/solana/events.js +20 -199
- package/lib/esm/solana/funding-plan.js +19 -2
- package/lib/esm/solana/index.js +53 -12
- package/lib/esm/solana/instruction.js +15 -0
- package/lib/esm/solana/io-readable.js +510 -58
- package/lib/esm/solana/io-writeable.js +1179 -183
- package/lib/esm/solana/json-rpc.js +20 -4
- package/lib/esm/solana/metadata.js +15 -0
- package/lib/esm/solana/mpl-core.js +55 -5
- package/lib/esm/solana/pda.js +15 -0
- package/lib/esm/solana/predict-prescribed-observers.js +110 -0
- package/lib/esm/solana/retry.js +117 -0
- package/lib/esm/solana/rpc-circuit-breaker.js +258 -0
- package/lib/esm/solana/send.js +258 -3
- package/lib/esm/solana/spawn-ant.js +16 -2
- package/lib/esm/types/ant.js +8 -8
- package/lib/esm/types/io.js +0 -10
- package/lib/esm/utils/ant.js +0 -64
- package/lib/esm/utils/index.js +0 -3
- package/lib/esm/version.js +1 -1
- package/lib/types/cli/commands/antCommands.d.ts +6 -9
- package/lib/types/cli/commands/arnsPurchaseCommands.d.ts +27 -13
- package/lib/types/cli/commands/escrowCommands.d.ts +6 -0
- package/lib/types/cli/commands/gatewayWriteCommands.d.ts +12 -11
- package/lib/types/cli/commands/pruneCommands.d.ts +11 -11
- package/lib/types/cli/commands/readCommands.d.ts +25 -22
- package/lib/types/cli/commands/transfer.d.ts +9 -9
- package/lib/types/cli/options.d.ts +0 -57
- package/lib/types/cli/types.d.ts +6 -14
- package/lib/types/cli/utils.d.ts +34 -32
- package/lib/types/common/ant-registry.d.ts +35 -74
- package/lib/types/common/ant.d.ts +52 -570
- package/lib/types/common/faucet.d.ts +20 -8
- package/lib/types/common/index.d.ts +0 -3
- package/lib/types/common/io.d.ts +56 -288
- package/lib/types/constants.d.ts +0 -17
- package/lib/types/solana/ant-readable.d.ts +65 -6
- package/lib/types/solana/ant-registry-readable.d.ts +17 -2
- package/lib/types/solana/ant-registry-writeable.d.ts +20 -5
- package/lib/types/solana/ant-writeable.d.ts +39 -24
- package/lib/types/solana/ata.d.ts +15 -0
- package/lib/types/solana/canonical-message.d.ts +44 -5
- package/lib/types/solana/clusters.d.ts +68 -21
- package/lib/types/solana/constants.d.ts +16 -0
- package/lib/types/solana/delegation-math.d.ts +25 -0
- package/lib/types/solana/deserialize.d.ts +28 -198
- package/lib/types/solana/escrow.d.ts +128 -51
- package/lib/types/solana/events.d.ts +26 -144
- package/lib/types/solana/funding-plan.d.ts +15 -0
- package/lib/types/solana/index.d.ts +27 -3
- package/lib/types/solana/instruction.d.ts +15 -0
- package/lib/types/solana/io-readable.d.ts +185 -46
- package/lib/types/solana/io-writeable.d.ts +450 -77
- package/lib/types/solana/json-rpc.d.ts +15 -0
- package/lib/types/solana/metadata.d.ts +15 -0
- package/lib/types/solana/mpl-core.d.ts +44 -0
- package/lib/types/solana/predict-prescribed-observers.d.ts +28 -0
- package/lib/types/solana/retry.d.ts +62 -0
- package/lib/types/solana/rpc-circuit-breaker.d.ts +78 -0
- package/lib/types/solana/send.d.ts +80 -2
- package/lib/types/solana/spawn-ant.d.ts +15 -0
- package/lib/types/solana/types.d.ts +15 -0
- package/lib/types/types/ant-registry.d.ts +4 -4
- package/lib/types/types/ant.d.ts +92 -92
- package/lib/types/types/common.d.ts +18 -74
- package/lib/types/types/faucet.d.ts +2 -2
- package/lib/types/types/io.d.ts +189 -158
- package/lib/types/types/token.d.ts +0 -12
- package/lib/types/utils/ant.d.ts +1 -12
- package/lib/types/utils/index.d.ts +0 -3
- package/lib/types/version.d.ts +1 -1
- package/package.json +23 -37
- package/lib/esm/common/ant-versions.js +0 -87
- package/lib/esm/common/arweave.js +0 -21
- package/lib/esm/common/contracts/ao-process.js +0 -218
- package/lib/esm/common/hyperbeam/hb.js +0 -169
- package/lib/esm/common/marketplace.js +0 -669
- package/lib/esm/common/turbo.js +0 -215
- package/lib/esm/node/index.js +0 -20
- package/lib/esm/solana/generated/ant/events/aclEntryAddedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/aclEntryRemovedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/antMetadataUpdatedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/antReconciledEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/antTransferredEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/attributesClearedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/attributesSyncedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/controllerAddedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/controllerRemovedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/index.js +0 -16
- package/lib/esm/solana/generated/ant/events/recordMetadataPrunedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/recordMetadataRemovedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/recordMetadataUpdatedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/recordRemovedEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/recordSetEvent.js +0 -21
- package/lib/esm/solana/generated/ant/events/recordTransferredEvent.js +0 -21
- package/lib/esm/solana/generated/ant-escrow/events/escrowCancelledEvent.js +0 -21
- package/lib/esm/solana/generated/ant-escrow/events/escrowClaimedEvent.js +0 -21
- package/lib/esm/solana/generated/ant-escrow/events/escrowDepositedEvent.js +0 -21
- package/lib/esm/solana/generated/ant-escrow/events/escrowRecipientUpdatedEvent.js +0 -21
- package/lib/esm/solana/generated/ant-escrow/events/index.js +0 -5
- package/lib/esm/solana/generated/arns/events/demandFactorUpdatedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/index.js +0 -13
- package/lib/esm/solana/generated/arns/events/leaseExtendedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/namePurchasedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/nameReassignedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/nameReleasedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/nameReservedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/nameUnreservedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/nameUpgradedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/namesPrunedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/reservedNameClaimedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/returnedNamePurchasedEvent.js +0 -21
- package/lib/esm/solana/generated/arns/events/undernameIncreasedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/configUpdatedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/coreMigrationFinalizedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/index.js +0 -14
- package/lib/esm/solana/generated/core/events/primaryNameRemovedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/primaryNameRequestExpiredEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/primaryNameRequestedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/primaryNameSetEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/supplyFinalizedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/transferEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/vaultCreatedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/vaultExtendedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/vaultIncreasedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/vaultReleasedEvent.js +0 -21
- package/lib/esm/solana/generated/core/events/vaultRevokedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/allowlistToggledEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/delegateAllowlistedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/delegationClosedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/delegationDecreasedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/delegationEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/epochClosedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/epochCreatedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/epochDistributedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/epochPrescribedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/epochWeightsTalliedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/epochsToggledEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/fundingPlanAppliedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/garMigrationFinalizedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/gatewayFinalizedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/gatewayJoinedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/gatewayLeavingEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/gatewayPrunedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/gatewaySettingsUpdatedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/index.js +0 -31
- package/lib/esm/solana/generated/gar/events/instantWithdrawalEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/observationSubmittedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/observerAddressUpdatedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/operatorStakeIncreasedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/redelegationEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/residueVaultCreatedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/rewardsCompoundedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/stakePaymentEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/withdrawalCancelledEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/withdrawalClaimedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/withdrawalCreatedEvent.js +0 -21
- package/lib/esm/solana/generated/gar/events/withdrawalPaymentEvent.js +0 -21
- package/lib/esm/solana/generated/mpl-core/accounts/assetV1.js +0 -42
- package/lib/esm/solana/generated/mpl-core/accounts/collectionV1.js +0 -42
- package/lib/esm/solana/generated/mpl-core/accounts/hashedAssetV1.js +0 -45
- package/lib/esm/solana/generated/mpl-core/accounts/index.js +0 -12
- package/lib/esm/solana/generated/mpl-core/accounts/pluginHeaderV1.js +0 -45
- package/lib/esm/solana/generated/mpl-core/accounts/pluginRegistryV1.js +0 -42
- package/lib/esm/solana/generated/mpl-core/errors/index.js +0 -8
- package/lib/esm/solana/generated/mpl-core/errors/mplCore.js +0 -136
- package/lib/esm/solana/generated/mpl-core/index.js +0 -8
- package/lib/esm/solana/generated/mpl-core/instructions/addCollectionExternalPluginAdapterV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/addCollectionPluginV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/addExternalPluginAdapterV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/addPluginV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/approveCollectionPluginAuthorityV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/approvePluginAuthorityV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/burnCollectionV1.js +0 -49
- package/lib/esm/solana/generated/mpl-core/instructions/burnV1.js +0 -49
- package/lib/esm/solana/generated/mpl-core/instructions/collect.js +0 -42
- package/lib/esm/solana/generated/mpl-core/instructions/compressV1.js +0 -50
- package/lib/esm/solana/generated/mpl-core/instructions/createCollectionV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/createCollectionV2.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/createV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/createV2.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/decompressV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/executeV1.js +0 -56
- package/lib/esm/solana/generated/mpl-core/instructions/index.js +0 -40
- package/lib/esm/solana/generated/mpl-core/instructions/removeCollectionExternalPluginAdapterV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/removeCollectionPluginV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/removeExternalPluginAdapterV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/removePluginV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/revokeCollectionPluginAuthorityV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/revokePluginAuthorityV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/transferV1.js +0 -49
- package/lib/esm/solana/generated/mpl-core/instructions/updateCollectionExternalPluginAdapterV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/updateCollectionInfoV1.js +0 -45
- package/lib/esm/solana/generated/mpl-core/instructions/updateCollectionPluginV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/updateCollectionV1.js +0 -52
- package/lib/esm/solana/generated/mpl-core/instructions/updateExternalPluginAdapterV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/updatePluginV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/updateV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/updateV2.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/writeCollectionExternalPluginAdapterDataV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/instructions/writeExternalPluginAdapterDataV1.js +0 -53
- package/lib/esm/solana/generated/mpl-core/program-address.js +0 -1
- package/lib/esm/solana/generated/mpl-core/types/addAssetsToGroupV1Args.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/addBlocker.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/addCollectionsToGroupV1Args.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/addGroupsToGroupV1Args.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/agentIdentity.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/agentIdentityInitInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/agentIdentityUpdateInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/appData.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/appDataInitInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/appDataUpdateInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/attribute.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/attributes.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/authority.js +0 -24
- package/lib/esm/solana/generated/mpl-core/types/autograph.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/autographSignature.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/bubblegumV2.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/burnDelegate.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/closeGroupV1Args.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/compressionProof.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/creator.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/dataSection.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/dataSectionInitInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/dataSectionUpdateInfo.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/dataState.js +0 -23
- package/lib/esm/solana/generated/mpl-core/types/edition.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/externalCheckResult.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapter.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterInitInfo.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterKey.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterSchema.js +0 -24
- package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterType.js +0 -28
- package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterUpdateInfo.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/externalRegistryRecord.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/externalValidationResult.js +0 -24
- package/lib/esm/solana/generated/mpl-core/types/extraAccount.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/freezeDelegate.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/freezeExecute.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/groups.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/hashablePluginSchema.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/hashedAssetSchema.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/hookableLifecycleEvent.js +0 -26
- package/lib/esm/solana/generated/mpl-core/types/immutableMetadata.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/index.js +0 -89
- package/lib/esm/solana/generated/mpl-core/types/key.js +0 -28
- package/lib/esm/solana/generated/mpl-core/types/lifecycleHook.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/lifecycleHookInitInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/lifecycleHookUpdateInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/linkedAppData.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/linkedAppDataInitInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/linkedAppDataUpdateInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/linkedDataKey.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/linkedLifecycleHook.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/linkedLifecycleHookInitInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/linkedLifecycleHookUpdateInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/masterEdition.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/oracle.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/oracleInitInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/oracleUpdateInfo.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/oracleValidation.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/permanentBurnDelegate.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/permanentFreezeDelegate.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/permanentFreezeExecute.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/permanentTransferDelegate.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/plugin.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/pluginAuthorityPair.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/pluginType.js +0 -40
- package/lib/esm/solana/generated/mpl-core/types/registryRecord.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/relationshipKind.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/removeAssetsFromGroupV1Args.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/removeCollectionsFromGroupV1Args.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/removeGroupsFromGroupV1Args.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/royalties.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/ruleSet.js +0 -24
- package/lib/esm/solana/generated/mpl-core/types/seed.js +0 -24
- package/lib/esm/solana/generated/mpl-core/types/transferDelegate.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/updateAuthority.js +0 -24
- package/lib/esm/solana/generated/mpl-core/types/updateDelegate.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/updateGroupV1Args.js +0 -17
- package/lib/esm/solana/generated/mpl-core/types/updateType.js +0 -24
- package/lib/esm/solana/generated/mpl-core/types/validationResult.js +0 -25
- package/lib/esm/solana/generated/mpl-core/types/validationResultsOffset.js +0 -24
- package/lib/esm/solana/generated/mpl-core/types/verifiedCreators.js +0 -18
- package/lib/esm/solana/generated/mpl-core/types/verifiedCreatorsSignature.js +0 -17
- package/lib/esm/utils/ao.js +0 -421
- package/lib/esm/utils/arweave.js +0 -271
- package/lib/esm/utils/processes.js +0 -167
- package/lib/esm/web/index.js +0 -20
- package/lib/types/common/ant-versions.d.ts +0 -39
- package/lib/types/common/arweave.d.ts +0 -17
- package/lib/types/common/contracts/ao-process.d.ts +0 -33
- package/lib/types/common/hyperbeam/hb.d.ts +0 -88
- package/lib/types/common/marketplace.d.ts +0 -556
- package/lib/types/common/turbo.d.ts +0 -61
- package/lib/types/node/index.d.ts +0 -20
- package/lib/types/solana/generated/ant/events/aclEntryAddedEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant/events/aclEntryRemovedEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant/events/antMetadataUpdatedEvent.d.ts +0 -28
- package/lib/types/solana/generated/ant/events/antReconciledEvent.d.ts +0 -28
- package/lib/types/solana/generated/ant/events/antTransferredEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant/events/attributesClearedEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant/events/attributesSyncedEvent.d.ts +0 -24
- package/lib/types/solana/generated/ant/events/controllerAddedEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant/events/controllerRemovedEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant/events/index.d.ts +0 -15
- package/lib/types/solana/generated/ant/events/recordMetadataPrunedEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant/events/recordMetadataRemovedEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant/events/recordMetadataUpdatedEvent.d.ts +0 -28
- package/lib/types/solana/generated/ant/events/recordRemovedEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant/events/recordSetEvent.d.ts +0 -34
- package/lib/types/solana/generated/ant/events/recordTransferredEvent.d.ts +0 -30
- package/lib/types/solana/generated/ant-escrow/events/escrowCancelledEvent.d.ts +0 -28
- package/lib/types/solana/generated/ant-escrow/events/escrowClaimedEvent.d.ts +0 -32
- package/lib/types/solana/generated/ant-escrow/events/escrowDepositedEvent.d.ts +0 -36
- package/lib/types/solana/generated/ant-escrow/events/escrowRecipientUpdatedEvent.d.ts +0 -26
- package/lib/types/solana/generated/ant-escrow/events/index.d.ts +0 -4
- package/lib/types/solana/generated/arns/events/demandFactorUpdatedEvent.d.ts +0 -28
- package/lib/types/solana/generated/arns/events/index.d.ts +0 -12
- package/lib/types/solana/generated/arns/events/leaseExtendedEvent.d.ts +0 -32
- package/lib/types/solana/generated/arns/events/namePurchasedEvent.d.ts +0 -34
- package/lib/types/solana/generated/arns/events/nameReassignedEvent.d.ts +0 -28
- package/lib/types/solana/generated/arns/events/nameReleasedEvent.d.ts +0 -24
- package/lib/types/solana/generated/arns/events/nameReservedEvent.d.ts +0 -28
- package/lib/types/solana/generated/arns/events/nameUnreservedEvent.d.ts +0 -24
- package/lib/types/solana/generated/arns/events/nameUpgradedEvent.d.ts +0 -28
- package/lib/types/solana/generated/arns/events/namesPrunedEvent.d.ts +0 -26
- package/lib/types/solana/generated/arns/events/reservedNameClaimedEvent.d.ts +0 -24
- package/lib/types/solana/generated/arns/events/returnedNamePurchasedEvent.d.ts +0 -32
- package/lib/types/solana/generated/arns/events/undernameIncreasedEvent.d.ts +0 -32
- package/lib/types/solana/generated/core/events/configUpdatedEvent.d.ts +0 -26
- package/lib/types/solana/generated/core/events/coreMigrationFinalizedEvent.d.ts +0 -26
- package/lib/types/solana/generated/core/events/index.d.ts +0 -13
- package/lib/types/solana/generated/core/events/primaryNameRemovedEvent.d.ts +0 -26
- package/lib/types/solana/generated/core/events/primaryNameRequestExpiredEvent.d.ts +0 -26
- package/lib/types/solana/generated/core/events/primaryNameRequestedEvent.d.ts +0 -30
- package/lib/types/solana/generated/core/events/primaryNameSetEvent.d.ts +0 -24
- package/lib/types/solana/generated/core/events/supplyFinalizedEvent.d.ts +0 -26
- package/lib/types/solana/generated/core/events/transferEvent.d.ts +0 -26
- package/lib/types/solana/generated/core/events/vaultCreatedEvent.d.ts +0 -28
- package/lib/types/solana/generated/core/events/vaultExtendedEvent.d.ts +0 -26
- package/lib/types/solana/generated/core/events/vaultIncreasedEvent.d.ts +0 -28
- package/lib/types/solana/generated/core/events/vaultReleasedEvent.d.ts +0 -26
- package/lib/types/solana/generated/core/events/vaultRevokedEvent.d.ts +0 -28
- package/lib/types/solana/generated/gar/events/allowlistToggledEvent.d.ts +0 -24
- package/lib/types/solana/generated/gar/events/delegateAllowlistedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/delegationClosedEvent.d.ts +0 -24
- package/lib/types/solana/generated/gar/events/delegationDecreasedEvent.d.ts +0 -28
- package/lib/types/solana/generated/gar/events/delegationEvent.d.ts +0 -28
- package/lib/types/solana/generated/gar/events/epochClosedEvent.d.ts +0 -24
- package/lib/types/solana/generated/gar/events/epochCreatedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/epochDistributedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/epochPrescribedEvent.d.ts +0 -28
- package/lib/types/solana/generated/gar/events/epochWeightsTalliedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/epochsToggledEvent.d.ts +0 -24
- package/lib/types/solana/generated/gar/events/fundingPlanAppliedEvent.d.ts +0 -28
- package/lib/types/solana/generated/gar/events/garMigrationFinalizedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/gatewayFinalizedEvent.d.ts +0 -24
- package/lib/types/solana/generated/gar/events/gatewayJoinedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/gatewayLeavingEvent.d.ts +0 -22
- package/lib/types/solana/generated/gar/events/gatewayPrunedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/gatewaySettingsUpdatedEvent.d.ts +0 -24
- package/lib/types/solana/generated/gar/events/index.d.ts +0 -30
- package/lib/types/solana/generated/gar/events/instantWithdrawalEvent.d.ts +0 -30
- package/lib/types/solana/generated/gar/events/observationSubmittedEvent.d.ts +0 -28
- package/lib/types/solana/generated/gar/events/observerAddressUpdatedEvent.d.ts +0 -24
- package/lib/types/solana/generated/gar/events/operatorStakeIncreasedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/redelegationEvent.d.ts +0 -30
- package/lib/types/solana/generated/gar/events/residueVaultCreatedEvent.d.ts +0 -30
- package/lib/types/solana/generated/gar/events/rewardsCompoundedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/stakePaymentEvent.d.ts +0 -28
- package/lib/types/solana/generated/gar/events/withdrawalCancelledEvent.d.ts +0 -30
- package/lib/types/solana/generated/gar/events/withdrawalClaimedEvent.d.ts +0 -26
- package/lib/types/solana/generated/gar/events/withdrawalCreatedEvent.d.ts +0 -28
- package/lib/types/solana/generated/gar/events/withdrawalPaymentEvent.d.ts +0 -28
- package/lib/types/solana/generated/mpl-core/accounts/assetV1.d.ts +0 -37
- package/lib/types/solana/generated/mpl-core/accounts/collectionV1.d.ts +0 -37
- package/lib/types/solana/generated/mpl-core/accounts/hashedAssetV1.d.ts +0 -30
- package/lib/types/solana/generated/mpl-core/accounts/index.d.ts +0 -12
- package/lib/types/solana/generated/mpl-core/accounts/pluginHeaderV1.d.ts +0 -30
- package/lib/types/solana/generated/mpl-core/accounts/pluginRegistryV1.d.ts +0 -31
- package/lib/types/solana/generated/mpl-core/errors/index.d.ts +0 -8
- package/lib/types/solana/generated/mpl-core/errors/mplCore.d.ts +0 -133
- package/lib/types/solana/generated/mpl-core/index.d.ts +0 -8
- package/lib/types/solana/generated/mpl-core/instructions/addCollectionExternalPluginAdapterV1.d.ts +0 -56
- package/lib/types/solana/generated/mpl-core/instructions/addCollectionPluginV1.d.ts +0 -59
- package/lib/types/solana/generated/mpl-core/instructions/addExternalPluginAdapterV1.d.ts +0 -60
- package/lib/types/solana/generated/mpl-core/instructions/addPluginV1.d.ts +0 -63
- package/lib/types/solana/generated/mpl-core/instructions/approveCollectionPluginAuthorityV1.d.ts +0 -59
- package/lib/types/solana/generated/mpl-core/instructions/approvePluginAuthorityV1.d.ts +0 -63
- package/lib/types/solana/generated/mpl-core/instructions/burnCollectionV1.d.ts +0 -52
- package/lib/types/solana/generated/mpl-core/instructions/burnV1.d.ts +0 -60
- package/lib/types/solana/generated/mpl-core/instructions/collect.d.ts +0 -39
- package/lib/types/solana/generated/mpl-core/instructions/compressV1.d.ts +0 -55
- package/lib/types/solana/generated/mpl-core/instructions/createCollectionV1.d.ts +0 -58
- package/lib/types/solana/generated/mpl-core/instructions/createCollectionV2.d.ts +0 -61
- package/lib/types/solana/generated/mpl-core/instructions/createV1.d.ts +0 -77
- package/lib/types/solana/generated/mpl-core/instructions/createV2.d.ts +0 -80
- package/lib/types/solana/generated/mpl-core/instructions/decompressV1.d.ts +0 -60
- package/lib/types/solana/generated/mpl-core/instructions/executeV1.d.ts +0 -63
- package/lib/types/solana/generated/mpl-core/instructions/index.d.ts +0 -40
- package/lib/types/solana/generated/mpl-core/instructions/removeCollectionExternalPluginAdapterV1.d.ts +0 -56
- package/lib/types/solana/generated/mpl-core/instructions/removeCollectionPluginV1.d.ts +0 -56
- package/lib/types/solana/generated/mpl-core/instructions/removeExternalPluginAdapterV1.d.ts +0 -60
- package/lib/types/solana/generated/mpl-core/instructions/removePluginV1.d.ts +0 -60
- package/lib/types/solana/generated/mpl-core/instructions/revokeCollectionPluginAuthorityV1.d.ts +0 -56
- package/lib/types/solana/generated/mpl-core/instructions/revokePluginAuthorityV1.d.ts +0 -60
- package/lib/types/solana/generated/mpl-core/instructions/transferV1.d.ts +0 -64
- package/lib/types/solana/generated/mpl-core/instructions/updateCollectionExternalPluginAdapterV1.d.ts +0 -59
- package/lib/types/solana/generated/mpl-core/instructions/updateCollectionInfoV1.d.ts +0 -47
- package/lib/types/solana/generated/mpl-core/instructions/updateCollectionPluginV1.d.ts +0 -56
- package/lib/types/solana/generated/mpl-core/instructions/updateCollectionV1.d.ts +0 -62
- package/lib/types/solana/generated/mpl-core/instructions/updateExternalPluginAdapterV1.d.ts +0 -63
- package/lib/types/solana/generated/mpl-core/instructions/updatePluginV1.d.ts +0 -60
- package/lib/types/solana/generated/mpl-core/instructions/updateV1.d.ts +0 -66
- package/lib/types/solana/generated/mpl-core/instructions/updateV2.d.ts +0 -70
- package/lib/types/solana/generated/mpl-core/instructions/writeCollectionExternalPluginAdapterDataV1.d.ts +0 -63
- package/lib/types/solana/generated/mpl-core/instructions/writeExternalPluginAdapterDataV1.d.ts +0 -67
- package/lib/types/solana/generated/mpl-core/program-address.d.ts +0 -7
- package/lib/types/solana/generated/mpl-core/types/addAssetsToGroupV1Args.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/addBlocker.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/addCollectionsToGroupV1Args.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/addGroupsToGroupV1Args.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/agentIdentity.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/agentIdentityInitInfo.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/agentIdentityUpdateInfo.d.ts +0 -20
- package/lib/types/solana/generated/mpl-core/types/appData.d.ts +0 -20
- package/lib/types/solana/generated/mpl-core/types/appDataInitInfo.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/appDataUpdateInfo.d.ts +0 -18
- package/lib/types/solana/generated/mpl-core/types/attribute.d.ts +0 -16
- package/lib/types/solana/generated/mpl-core/types/attributes.d.ts +0 -18
- package/lib/types/solana/generated/mpl-core/types/authority.d.ts +0 -29
- package/lib/types/solana/generated/mpl-core/types/autograph.d.ts +0 -18
- package/lib/types/solana/generated/mpl-core/types/autographSignature.d.ts +0 -16
- package/lib/types/solana/generated/mpl-core/types/bubblegumV2.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/burnDelegate.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/closeGroupV1Args.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/compressionProof.d.ts +0 -28
- package/lib/types/solana/generated/mpl-core/types/creator.d.ts +0 -16
- package/lib/types/solana/generated/mpl-core/types/dataSection.d.ts +0 -20
- package/lib/types/solana/generated/mpl-core/types/dataSectionInitInfo.d.ts +0 -20
- package/lib/types/solana/generated/mpl-core/types/dataSectionUpdateInfo.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/dataState.d.ts +0 -16
- package/lib/types/solana/generated/mpl-core/types/edition.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/externalCheckResult.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/externalPluginAdapter.d.ts +0 -66
- package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterInitInfo.d.ts +0 -66
- package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterKey.d.ts +0 -64
- package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterSchema.d.ts +0 -17
- package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterType.d.ts +0 -21
- package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterUpdateInfo.d.ts +0 -59
- package/lib/types/solana/generated/mpl-core/types/externalRegistryRecord.d.ts +0 -28
- package/lib/types/solana/generated/mpl-core/types/externalValidationResult.d.ts +0 -17
- package/lib/types/solana/generated/mpl-core/types/extraAccount.d.ts +0 -86
- package/lib/types/solana/generated/mpl-core/types/freezeDelegate.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/freezeExecute.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/groups.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/hashablePluginSchema.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/hashedAssetSchema.d.ts +0 -16
- package/lib/types/solana/generated/mpl-core/types/hookableLifecycleEvent.d.ts +0 -19
- package/lib/types/solana/generated/mpl-core/types/immutableMetadata.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/index.d.ts +0 -89
- package/lib/types/solana/generated/mpl-core/types/key.d.ts +0 -21
- package/lib/types/solana/generated/mpl-core/types/lifecycleHook.d.ts +0 -24
- package/lib/types/solana/generated/mpl-core/types/lifecycleHookInitInfo.d.ts +0 -28
- package/lib/types/solana/generated/mpl-core/types/lifecycleHookUpdateInfo.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/linkedAppData.d.ts +0 -20
- package/lib/types/solana/generated/mpl-core/types/linkedAppDataInitInfo.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/linkedAppDataUpdateInfo.d.ts +0 -18
- package/lib/types/solana/generated/mpl-core/types/linkedDataKey.d.ts +0 -31
- package/lib/types/solana/generated/mpl-core/types/linkedLifecycleHook.d.ts +0 -24
- package/lib/types/solana/generated/mpl-core/types/linkedLifecycleHookInitInfo.d.ts +0 -28
- package/lib/types/solana/generated/mpl-core/types/linkedLifecycleHookUpdateInfo.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/masterEdition.d.ts +0 -21
- package/lib/types/solana/generated/mpl-core/types/oracle.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/oracleInitInfo.d.ts +0 -26
- package/lib/types/solana/generated/mpl-core/types/oracleUpdateInfo.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/oracleValidation.d.ts +0 -35
- package/lib/types/solana/generated/mpl-core/types/permanentBurnDelegate.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/permanentFreezeDelegate.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/permanentFreezeExecute.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/permanentTransferDelegate.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/plugin.d.ts +0 -150
- package/lib/types/solana/generated/mpl-core/types/pluginAuthorityPair.d.ts +0 -20
- package/lib/types/solana/generated/mpl-core/types/pluginType.d.ts +0 -33
- package/lib/types/solana/generated/mpl-core/types/registryRecord.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/relationshipKind.d.ts +0 -18
- package/lib/types/solana/generated/mpl-core/types/removeAssetsFromGroupV1Args.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/removeCollectionsFromGroupV1Args.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/removeGroupsFromGroupV1Args.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/royalties.d.ts +0 -22
- package/lib/types/solana/generated/mpl-core/types/ruleSet.d.ts +0 -27
- package/lib/types/solana/generated/mpl-core/types/seed.d.ts +0 -36
- package/lib/types/solana/generated/mpl-core/types/transferDelegate.d.ts +0 -13
- package/lib/types/solana/generated/mpl-core/types/updateAuthority.d.ts +0 -27
- package/lib/types/solana/generated/mpl-core/types/updateDelegate.d.ts +0 -15
- package/lib/types/solana/generated/mpl-core/types/updateGroupV1Args.d.ts +0 -19
- package/lib/types/solana/generated/mpl-core/types/updateType.d.ts +0 -17
- package/lib/types/solana/generated/mpl-core/types/validationResult.d.ts +0 -18
- package/lib/types/solana/generated/mpl-core/types/validationResultsOffset.d.ts +0 -33
- package/lib/types/solana/generated/mpl-core/types/verifiedCreators.d.ts +0 -18
- package/lib/types/solana/generated/mpl-core/types/verifiedCreatorsSignature.d.ts +0 -16
- package/lib/types/utils/ao.d.ts +0 -80
- package/lib/types/utils/arweave.d.ts +0 -79
- package/lib/types/utils/processes.d.ts +0 -39
- package/lib/types/web/index.d.ts +0 -20
|
@@ -1,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 ExternalPluginAdapterKey, type ExternalPluginAdapterKeyArgs, type ExternalPluginAdapterUpdateInfo, type ExternalPluginAdapterUpdateInfoArgs } from '../types/index.js';
|
|
11
|
-
export declare const UPDATE_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR = 26;
|
|
12
|
-
export declare function getUpdateExternalPluginAdapterV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type UpdateExternalPluginAdapterV1Instruction<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 UpdateExternalPluginAdapterV1InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
key: ExternalPluginAdapterKey;
|
|
17
|
-
updateInfo: ExternalPluginAdapterUpdateInfo;
|
|
18
|
-
};
|
|
19
|
-
export type UpdateExternalPluginAdapterV1InstructionDataArgs = {
|
|
20
|
-
key: ExternalPluginAdapterKeyArgs;
|
|
21
|
-
updateInfo: ExternalPluginAdapterUpdateInfoArgs;
|
|
22
|
-
};
|
|
23
|
-
export declare function getUpdateExternalPluginAdapterV1InstructionDataEncoder(): Encoder<UpdateExternalPluginAdapterV1InstructionDataArgs>;
|
|
24
|
-
export declare function getUpdateExternalPluginAdapterV1InstructionDataDecoder(): Decoder<UpdateExternalPluginAdapterV1InstructionData>;
|
|
25
|
-
export declare function getUpdateExternalPluginAdapterV1InstructionDataCodec(): Codec<UpdateExternalPluginAdapterV1InstructionDataArgs, UpdateExternalPluginAdapterV1InstructionData>;
|
|
26
|
-
export type UpdateExternalPluginAdapterV1Input<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
|
-
key: UpdateExternalPluginAdapterV1InstructionDataArgs["key"];
|
|
40
|
-
updateInfo: UpdateExternalPluginAdapterV1InstructionDataArgs["updateInfo"];
|
|
41
|
-
};
|
|
42
|
-
export declare function getUpdateExternalPluginAdapterV1Instruction<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: UpdateExternalPluginAdapterV1Input<TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
43
|
-
programAddress?: TProgramAddress;
|
|
44
|
-
}): UpdateExternalPluginAdapterV1Instruction<TProgramAddress, TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
45
|
-
export type ParsedUpdateExternalPluginAdapterV1Instruction<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: UpdateExternalPluginAdapterV1InstructionData;
|
|
62
|
-
};
|
|
63
|
-
export declare function parseUpdateExternalPluginAdapterV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedUpdateExternalPluginAdapterV1Instruction<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 Plugin, type PluginArgs } from '../types/index.js';
|
|
11
|
-
export declare const UPDATE_PLUGIN_V1_DISCRIMINATOR = 6;
|
|
12
|
-
export declare function getUpdatePluginV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type UpdatePluginV1Instruction<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 UpdatePluginV1InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
plugin: Plugin;
|
|
17
|
-
};
|
|
18
|
-
export type UpdatePluginV1InstructionDataArgs = {
|
|
19
|
-
plugin: PluginArgs;
|
|
20
|
-
};
|
|
21
|
-
export declare function getUpdatePluginV1InstructionDataEncoder(): Encoder<UpdatePluginV1InstructionDataArgs>;
|
|
22
|
-
export declare function getUpdatePluginV1InstructionDataDecoder(): Decoder<UpdatePluginV1InstructionData>;
|
|
23
|
-
export declare function getUpdatePluginV1InstructionDataCodec(): Codec<UpdatePluginV1InstructionDataArgs, UpdatePluginV1InstructionData>;
|
|
24
|
-
export type UpdatePluginV1Input<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
|
-
plugin: UpdatePluginV1InstructionDataArgs["plugin"];
|
|
38
|
-
};
|
|
39
|
-
export declare function getUpdatePluginV1Instruction<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: UpdatePluginV1Input<TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
40
|
-
programAddress?: TProgramAddress;
|
|
41
|
-
}): UpdatePluginV1Instruction<TProgramAddress, TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
42
|
-
export type ParsedUpdatePluginV1Instruction<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: UpdatePluginV1InstructionData;
|
|
59
|
-
};
|
|
60
|
-
export declare function parseUpdatePluginV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedUpdatePluginV1Instruction<TProgram, TAccountMetas>;
|
|
@@ -1,66 +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 UpdateAuthority, type UpdateAuthorityArgs } from '../types/index.js';
|
|
11
|
-
export declare const UPDATE_V1_DISCRIMINATOR = 15;
|
|
12
|
-
export declare function getUpdateV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type UpdateV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountAsset extends string | AccountMeta<string> = string, TAccountCollection extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountLogWrapper extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountAsset extends string ? WritableAccount<TAccountAsset> : TAccountAsset, TAccountCollection extends string ? ReadonlyAccount<TAccountCollection> : TAccountCollection, TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountLogWrapper extends string ? ReadonlyAccount<TAccountLogWrapper> : TAccountLogWrapper, ...TRemainingAccounts]>;
|
|
14
|
-
export type UpdateV1InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
newName: Option<string>;
|
|
17
|
-
newUri: Option<string>;
|
|
18
|
-
newUpdateAuthority: Option<UpdateAuthority>;
|
|
19
|
-
};
|
|
20
|
-
export type UpdateV1InstructionDataArgs = {
|
|
21
|
-
newName: OptionOrNullable<string>;
|
|
22
|
-
newUri: OptionOrNullable<string>;
|
|
23
|
-
newUpdateAuthority: OptionOrNullable<UpdateAuthorityArgs>;
|
|
24
|
-
};
|
|
25
|
-
export declare function getUpdateV1InstructionDataEncoder(): Encoder<UpdateV1InstructionDataArgs>;
|
|
26
|
-
export declare function getUpdateV1InstructionDataDecoder(): Decoder<UpdateV1InstructionData>;
|
|
27
|
-
export declare function getUpdateV1InstructionDataCodec(): Codec<UpdateV1InstructionDataArgs, UpdateV1InstructionData>;
|
|
28
|
-
export type UpdateV1Input<TAccountAsset extends string = string, TAccountCollection extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountLogWrapper extends string = string> = {
|
|
29
|
-
/** The address of the asset */
|
|
30
|
-
asset: Address<TAccountAsset>;
|
|
31
|
-
/** The collection to which the asset belongs */
|
|
32
|
-
collection?: Address<TAccountCollection>;
|
|
33
|
-
/** The account paying for the storage fees */
|
|
34
|
-
payer: TransactionSigner<TAccountPayer>;
|
|
35
|
-
/** The update authority or update authority delegate of the asset */
|
|
36
|
-
authority?: TransactionSigner<TAccountAuthority>;
|
|
37
|
-
/** The system program */
|
|
38
|
-
systemProgram?: Address<TAccountSystemProgram>;
|
|
39
|
-
/** The SPL Noop Program */
|
|
40
|
-
logWrapper?: Address<TAccountLogWrapper>;
|
|
41
|
-
newName: UpdateV1InstructionDataArgs["newName"];
|
|
42
|
-
newUri: UpdateV1InstructionDataArgs["newUri"];
|
|
43
|
-
newUpdateAuthority: UpdateV1InstructionDataArgs["newUpdateAuthority"];
|
|
44
|
-
};
|
|
45
|
-
export declare function getUpdateV1Instruction<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: UpdateV1Input<TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
46
|
-
programAddress?: TProgramAddress;
|
|
47
|
-
}): UpdateV1Instruction<TProgramAddress, TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
48
|
-
export type ParsedUpdateV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
49
|
-
programAddress: Address<TProgram>;
|
|
50
|
-
accounts: {
|
|
51
|
-
/** The address of the asset */
|
|
52
|
-
asset: TAccountMetas[0];
|
|
53
|
-
/** The collection to which the asset belongs */
|
|
54
|
-
collection?: TAccountMetas[1] | undefined;
|
|
55
|
-
/** The account paying for the storage fees */
|
|
56
|
-
payer: TAccountMetas[2];
|
|
57
|
-
/** The update authority or update authority delegate of the asset */
|
|
58
|
-
authority?: TAccountMetas[3] | undefined;
|
|
59
|
-
/** The system program */
|
|
60
|
-
systemProgram: TAccountMetas[4];
|
|
61
|
-
/** The SPL Noop Program */
|
|
62
|
-
logWrapper?: TAccountMetas[5] | undefined;
|
|
63
|
-
};
|
|
64
|
-
data: UpdateV1InstructionData;
|
|
65
|
-
};
|
|
66
|
-
export declare function parseUpdateV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedUpdateV1Instruction<TProgram, TAccountMetas>;
|
|
@@ -1,70 +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 UpdateAuthority, type UpdateAuthorityArgs } from '../types/index.js';
|
|
11
|
-
export declare const UPDATE_V2_DISCRIMINATOR = 30;
|
|
12
|
-
export declare function getUpdateV2DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type UpdateV2Instruction<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, TAccountNewCollection 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, TAccountNewCollection extends string ? WritableAccount<TAccountNewCollection> : TAccountNewCollection, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountLogWrapper extends string ? ReadonlyAccount<TAccountLogWrapper> : TAccountLogWrapper, ...TRemainingAccounts]>;
|
|
14
|
-
export type UpdateV2InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
newName: Option<string>;
|
|
17
|
-
newUri: Option<string>;
|
|
18
|
-
newUpdateAuthority: Option<UpdateAuthority>;
|
|
19
|
-
};
|
|
20
|
-
export type UpdateV2InstructionDataArgs = {
|
|
21
|
-
newName: OptionOrNullable<string>;
|
|
22
|
-
newUri: OptionOrNullable<string>;
|
|
23
|
-
newUpdateAuthority: OptionOrNullable<UpdateAuthorityArgs>;
|
|
24
|
-
};
|
|
25
|
-
export declare function getUpdateV2InstructionDataEncoder(): Encoder<UpdateV2InstructionDataArgs>;
|
|
26
|
-
export declare function getUpdateV2InstructionDataDecoder(): Decoder<UpdateV2InstructionData>;
|
|
27
|
-
export declare function getUpdateV2InstructionDataCodec(): Codec<UpdateV2InstructionDataArgs, UpdateV2InstructionData>;
|
|
28
|
-
export type UpdateV2Input<TAccountAsset extends string = string, TAccountCollection extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountNewCollection extends string = string, TAccountSystemProgram extends string = string, TAccountLogWrapper extends string = string> = {
|
|
29
|
-
/** The address of the asset */
|
|
30
|
-
asset: Address<TAccountAsset>;
|
|
31
|
-
/** The collection to which the asset belongs */
|
|
32
|
-
collection?: Address<TAccountCollection>;
|
|
33
|
-
/** The account paying for the storage fees */
|
|
34
|
-
payer: TransactionSigner<TAccountPayer>;
|
|
35
|
-
/** The update authority or update authority delegate of the asset */
|
|
36
|
-
authority?: TransactionSigner<TAccountAuthority>;
|
|
37
|
-
/** A new collection to which to move the asset */
|
|
38
|
-
newCollection?: Address<TAccountNewCollection>;
|
|
39
|
-
/** The system program */
|
|
40
|
-
systemProgram?: Address<TAccountSystemProgram>;
|
|
41
|
-
/** The SPL Noop Program */
|
|
42
|
-
logWrapper?: Address<TAccountLogWrapper>;
|
|
43
|
-
newName: UpdateV2InstructionDataArgs["newName"];
|
|
44
|
-
newUri: UpdateV2InstructionDataArgs["newUri"];
|
|
45
|
-
newUpdateAuthority: UpdateV2InstructionDataArgs["newUpdateAuthority"];
|
|
46
|
-
};
|
|
47
|
-
export declare function getUpdateV2Instruction<TAccountAsset extends string, TAccountCollection extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountNewCollection extends string, TAccountSystemProgram extends string, TAccountLogWrapper extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_ADDRESS>(input: UpdateV2Input<TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountNewCollection, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
48
|
-
programAddress?: TProgramAddress;
|
|
49
|
-
}): UpdateV2Instruction<TProgramAddress, TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountNewCollection, TAccountSystemProgram, TAccountLogWrapper>;
|
|
50
|
-
export type ParsedUpdateV2Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
51
|
-
programAddress: Address<TProgram>;
|
|
52
|
-
accounts: {
|
|
53
|
-
/** The address of the asset */
|
|
54
|
-
asset: TAccountMetas[0];
|
|
55
|
-
/** The collection to which the asset belongs */
|
|
56
|
-
collection?: TAccountMetas[1] | undefined;
|
|
57
|
-
/** The account paying for the storage fees */
|
|
58
|
-
payer: TAccountMetas[2];
|
|
59
|
-
/** The update authority or update authority delegate of the asset */
|
|
60
|
-
authority?: TAccountMetas[3] | undefined;
|
|
61
|
-
/** A new collection to which to move the asset */
|
|
62
|
-
newCollection?: TAccountMetas[4] | undefined;
|
|
63
|
-
/** The system program */
|
|
64
|
-
systemProgram: TAccountMetas[5];
|
|
65
|
-
/** The SPL Noop Program */
|
|
66
|
-
logWrapper?: TAccountMetas[6] | undefined;
|
|
67
|
-
};
|
|
68
|
-
data: UpdateV2InstructionData;
|
|
69
|
-
};
|
|
70
|
-
export declare function parseUpdateV2Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedUpdateV2Instruction<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 ExternalPluginAdapterKey, type ExternalPluginAdapterKeyArgs } from '../types/index.js';
|
|
11
|
-
export declare const WRITE_COLLECTION_EXTERNAL_PLUGIN_ADAPTER_DATA_V1_DISCRIMINATOR = 29;
|
|
12
|
-
export declare function getWriteCollectionExternalPluginAdapterDataV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type WriteCollectionExternalPluginAdapterDataV1Instruction<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, TAccountBuffer 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, TAccountBuffer extends string ? ReadonlyAccount<TAccountBuffer> : TAccountBuffer, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountLogWrapper extends string ? ReadonlyAccount<TAccountLogWrapper> : TAccountLogWrapper, ...TRemainingAccounts]>;
|
|
14
|
-
export type WriteCollectionExternalPluginAdapterDataV1InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
key: ExternalPluginAdapterKey;
|
|
17
|
-
data: Option<ReadonlyUint8Array>;
|
|
18
|
-
};
|
|
19
|
-
export type WriteCollectionExternalPluginAdapterDataV1InstructionDataArgs = {
|
|
20
|
-
key: ExternalPluginAdapterKeyArgs;
|
|
21
|
-
data: OptionOrNullable<ReadonlyUint8Array>;
|
|
22
|
-
};
|
|
23
|
-
export declare function getWriteCollectionExternalPluginAdapterDataV1InstructionDataEncoder(): Encoder<WriteCollectionExternalPluginAdapterDataV1InstructionDataArgs>;
|
|
24
|
-
export declare function getWriteCollectionExternalPluginAdapterDataV1InstructionDataDecoder(): Decoder<WriteCollectionExternalPluginAdapterDataV1InstructionData>;
|
|
25
|
-
export declare function getWriteCollectionExternalPluginAdapterDataV1InstructionDataCodec(): Codec<WriteCollectionExternalPluginAdapterDataV1InstructionDataArgs, WriteCollectionExternalPluginAdapterDataV1InstructionData>;
|
|
26
|
-
export type WriteCollectionExternalPluginAdapterDataV1Input<TAccountCollection extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountBuffer 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 Data Authority of the External Plugin Adapter */
|
|
32
|
-
authority?: TransactionSigner<TAccountAuthority>;
|
|
33
|
-
/** The buffer to write to the external plugin */
|
|
34
|
-
buffer?: Address<TAccountBuffer>;
|
|
35
|
-
/** The system program */
|
|
36
|
-
systemProgram?: Address<TAccountSystemProgram>;
|
|
37
|
-
/** The SPL Noop Program */
|
|
38
|
-
logWrapper?: Address<TAccountLogWrapper>;
|
|
39
|
-
key: WriteCollectionExternalPluginAdapterDataV1InstructionDataArgs["key"];
|
|
40
|
-
data: WriteCollectionExternalPluginAdapterDataV1InstructionDataArgs["data"];
|
|
41
|
-
};
|
|
42
|
-
export declare function getWriteCollectionExternalPluginAdapterDataV1Instruction<TAccountCollection extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountBuffer extends string, TAccountSystemProgram extends string, TAccountLogWrapper extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_ADDRESS>(input: WriteCollectionExternalPluginAdapterDataV1Input<TAccountCollection, TAccountPayer, TAccountAuthority, TAccountBuffer, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
43
|
-
programAddress?: TProgramAddress;
|
|
44
|
-
}): WriteCollectionExternalPluginAdapterDataV1Instruction<TProgramAddress, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountBuffer, TAccountSystemProgram, TAccountLogWrapper>;
|
|
45
|
-
export type ParsedWriteCollectionExternalPluginAdapterDataV1Instruction<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
|
-
collection: TAccountMetas[0];
|
|
50
|
-
/** The account paying for the storage fees */
|
|
51
|
-
payer: TAccountMetas[1];
|
|
52
|
-
/** The Data Authority of the External Plugin Adapter */
|
|
53
|
-
authority?: TAccountMetas[2] | undefined;
|
|
54
|
-
/** The buffer to write to the external plugin */
|
|
55
|
-
buffer?: TAccountMetas[3] | undefined;
|
|
56
|
-
/** The system program */
|
|
57
|
-
systemProgram: TAccountMetas[4];
|
|
58
|
-
/** The SPL Noop Program */
|
|
59
|
-
logWrapper?: TAccountMetas[5] | undefined;
|
|
60
|
-
};
|
|
61
|
-
data: WriteCollectionExternalPluginAdapterDataV1InstructionData;
|
|
62
|
-
};
|
|
63
|
-
export declare function parseWriteCollectionExternalPluginAdapterDataV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedWriteCollectionExternalPluginAdapterDataV1Instruction<TProgram, TAccountMetas>;
|
package/lib/types/solana/generated/mpl-core/instructions/writeExternalPluginAdapterDataV1.d.ts
DELETED
|
@@ -1,67 +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 ExternalPluginAdapterKey, type ExternalPluginAdapterKeyArgs } from '../types/index.js';
|
|
11
|
-
export declare const WRITE_EXTERNAL_PLUGIN_ADAPTER_DATA_V1_DISCRIMINATOR = 28;
|
|
12
|
-
export declare function getWriteExternalPluginAdapterDataV1DiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
13
|
-
export type WriteExternalPluginAdapterDataV1Instruction<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, TAccountBuffer 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, TAccountBuffer extends string ? ReadonlyAccount<TAccountBuffer> : TAccountBuffer, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountLogWrapper extends string ? ReadonlyAccount<TAccountLogWrapper> : TAccountLogWrapper, ...TRemainingAccounts]>;
|
|
14
|
-
export type WriteExternalPluginAdapterDataV1InstructionData = {
|
|
15
|
-
discriminator: number;
|
|
16
|
-
key: ExternalPluginAdapterKey;
|
|
17
|
-
data: Option<ReadonlyUint8Array>;
|
|
18
|
-
};
|
|
19
|
-
export type WriteExternalPluginAdapterDataV1InstructionDataArgs = {
|
|
20
|
-
key: ExternalPluginAdapterKeyArgs;
|
|
21
|
-
data: OptionOrNullable<ReadonlyUint8Array>;
|
|
22
|
-
};
|
|
23
|
-
export declare function getWriteExternalPluginAdapterDataV1InstructionDataEncoder(): Encoder<WriteExternalPluginAdapterDataV1InstructionDataArgs>;
|
|
24
|
-
export declare function getWriteExternalPluginAdapterDataV1InstructionDataDecoder(): Decoder<WriteExternalPluginAdapterDataV1InstructionData>;
|
|
25
|
-
export declare function getWriteExternalPluginAdapterDataV1InstructionDataCodec(): Codec<WriteExternalPluginAdapterDataV1InstructionDataArgs, WriteExternalPluginAdapterDataV1InstructionData>;
|
|
26
|
-
export type WriteExternalPluginAdapterDataV1Input<TAccountAsset extends string = string, TAccountCollection extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountBuffer 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 Data Authority of the External Plugin Adapter */
|
|
34
|
-
authority?: TransactionSigner<TAccountAuthority>;
|
|
35
|
-
/** The buffer to write to the external plugin */
|
|
36
|
-
buffer?: Address<TAccountBuffer>;
|
|
37
|
-
/** The system program */
|
|
38
|
-
systemProgram?: Address<TAccountSystemProgram>;
|
|
39
|
-
/** The SPL Noop Program */
|
|
40
|
-
logWrapper?: Address<TAccountLogWrapper>;
|
|
41
|
-
key: WriteExternalPluginAdapterDataV1InstructionDataArgs["key"];
|
|
42
|
-
data: WriteExternalPluginAdapterDataV1InstructionDataArgs["data"];
|
|
43
|
-
};
|
|
44
|
-
export declare function getWriteExternalPluginAdapterDataV1Instruction<TAccountAsset extends string, TAccountCollection extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountBuffer extends string, TAccountSystemProgram extends string, TAccountLogWrapper extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_ADDRESS>(input: WriteExternalPluginAdapterDataV1Input<TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountBuffer, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
45
|
-
programAddress?: TProgramAddress;
|
|
46
|
-
}): WriteExternalPluginAdapterDataV1Instruction<TProgramAddress, TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountBuffer, TAccountSystemProgram, TAccountLogWrapper>;
|
|
47
|
-
export type ParsedWriteExternalPluginAdapterDataV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
48
|
-
programAddress: Address<TProgram>;
|
|
49
|
-
accounts: {
|
|
50
|
-
/** The address of the asset */
|
|
51
|
-
asset: TAccountMetas[0];
|
|
52
|
-
/** The collection to which the asset belongs */
|
|
53
|
-
collection?: TAccountMetas[1] | undefined;
|
|
54
|
-
/** The account paying for the storage fees */
|
|
55
|
-
payer: TAccountMetas[2];
|
|
56
|
-
/** The Data Authority of the External Plugin Adapter */
|
|
57
|
-
authority?: TAccountMetas[3] | undefined;
|
|
58
|
-
/** The buffer to write to the external plugin */
|
|
59
|
-
buffer?: TAccountMetas[4] | undefined;
|
|
60
|
-
/** The system program */
|
|
61
|
-
systemProgram: TAccountMetas[5];
|
|
62
|
-
/** The SPL Noop Program */
|
|
63
|
-
logWrapper?: TAccountMetas[6] | undefined;
|
|
64
|
-
};
|
|
65
|
-
data: WriteExternalPluginAdapterDataV1InstructionData;
|
|
66
|
-
};
|
|
67
|
-
export declare function parseWriteExternalPluginAdapterDataV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedWriteExternalPluginAdapterDataV1Instruction<TProgram, TAccountMetas>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Program address constant lifted from Codama's pruned `programs/` output.
|
|
3
|
-
* The full `programs/` plugin requires a kit `Client` we don't use; the
|
|
4
|
-
* generated `instructions/` builders only need this one constant.
|
|
5
|
-
*/
|
|
6
|
-
import type { Address } from '@solana/kit';
|
|
7
|
-
export declare const MPL_CORE_PROGRAM_ADDRESS: Address<"CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d">;
|
|
@@ -1,13 +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 FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
|
|
9
|
-
export type AddAssetsToGroupV1Args = {};
|
|
10
|
-
export type AddAssetsToGroupV1ArgsArgs = AddAssetsToGroupV1Args;
|
|
11
|
-
export declare function getAddAssetsToGroupV1ArgsEncoder(): FixedSizeEncoder<AddAssetsToGroupV1ArgsArgs>;
|
|
12
|
-
export declare function getAddAssetsToGroupV1ArgsDecoder(): FixedSizeDecoder<AddAssetsToGroupV1Args>;
|
|
13
|
-
export declare function getAddAssetsToGroupV1ArgsCodec(): FixedSizeCodec<AddAssetsToGroupV1ArgsArgs, AddAssetsToGroupV1Args>;
|
|
@@ -1,13 +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 FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
|
|
9
|
-
export type AddBlocker = {};
|
|
10
|
-
export type AddBlockerArgs = AddBlocker;
|
|
11
|
-
export declare function getAddBlockerEncoder(): FixedSizeEncoder<AddBlockerArgs>;
|
|
12
|
-
export declare function getAddBlockerDecoder(): FixedSizeDecoder<AddBlocker>;
|
|
13
|
-
export declare function getAddBlockerCodec(): FixedSizeCodec<AddBlockerArgs, AddBlocker>;
|
|
@@ -1,13 +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 FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
|
|
9
|
-
export type AddCollectionsToGroupV1Args = {};
|
|
10
|
-
export type AddCollectionsToGroupV1ArgsArgs = AddCollectionsToGroupV1Args;
|
|
11
|
-
export declare function getAddCollectionsToGroupV1ArgsEncoder(): FixedSizeEncoder<AddCollectionsToGroupV1ArgsArgs>;
|
|
12
|
-
export declare function getAddCollectionsToGroupV1ArgsDecoder(): FixedSizeDecoder<AddCollectionsToGroupV1Args>;
|
|
13
|
-
export declare function getAddCollectionsToGroupV1ArgsCodec(): FixedSizeCodec<AddCollectionsToGroupV1ArgsArgs, AddCollectionsToGroupV1Args>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun Codama to update it.
|
|
5
|
-
*
|
|
6
|
-
* @see https://github.com/codama-idl/codama
|
|
7
|
-
*/
|
|
8
|
-
import { type Address, type Codec, type Decoder, type Encoder } from '@solana/kit';
|
|
9
|
-
export type AddGroupsToGroupV1Args = {
|
|
10
|
-
groups: Array<Address>;
|
|
11
|
-
};
|
|
12
|
-
export type AddGroupsToGroupV1ArgsArgs = AddGroupsToGroupV1Args;
|
|
13
|
-
export declare function getAddGroupsToGroupV1ArgsEncoder(): Encoder<AddGroupsToGroupV1ArgsArgs>;
|
|
14
|
-
export declare function getAddGroupsToGroupV1ArgsDecoder(): Decoder<AddGroupsToGroupV1Args>;
|
|
15
|
-
export declare function getAddGroupsToGroupV1ArgsCodec(): Codec<AddGroupsToGroupV1ArgsArgs, AddGroupsToGroupV1Args>;
|
|
@@ -1,15 +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 Codec, type Decoder, type Encoder } from '@solana/kit';
|
|
9
|
-
export type AgentIdentity = {
|
|
10
|
-
uri: string;
|
|
11
|
-
};
|
|
12
|
-
export type AgentIdentityArgs = AgentIdentity;
|
|
13
|
-
export declare function getAgentIdentityEncoder(): Encoder<AgentIdentityArgs>;
|
|
14
|
-
export declare function getAgentIdentityDecoder(): Decoder<AgentIdentity>;
|
|
15
|
-
export declare function getAgentIdentityCodec(): Codec<AgentIdentityArgs, AgentIdentity>;
|
|
@@ -1,22 +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 Codec, type Decoder, type Encoder, type Option, type OptionOrNullable } from '@solana/kit';
|
|
9
|
-
import { type Authority, type AuthorityArgs, type ExternalCheckResult, type ExternalCheckResultArgs, type HookableLifecycleEvent, type HookableLifecycleEventArgs } from './index.js';
|
|
10
|
-
export type AgentIdentityInitInfo = {
|
|
11
|
-
uri: string;
|
|
12
|
-
initPluginAuthority: Option<Authority>;
|
|
13
|
-
lifecycleChecks: Array<readonly [HookableLifecycleEvent, ExternalCheckResult]>;
|
|
14
|
-
};
|
|
15
|
-
export type AgentIdentityInitInfoArgs = {
|
|
16
|
-
uri: string;
|
|
17
|
-
initPluginAuthority: OptionOrNullable<AuthorityArgs>;
|
|
18
|
-
lifecycleChecks: Array<readonly [HookableLifecycleEventArgs, ExternalCheckResultArgs]>;
|
|
19
|
-
};
|
|
20
|
-
export declare function getAgentIdentityInitInfoEncoder(): Encoder<AgentIdentityInitInfoArgs>;
|
|
21
|
-
export declare function getAgentIdentityInitInfoDecoder(): Decoder<AgentIdentityInitInfo>;
|
|
22
|
-
export declare function getAgentIdentityInitInfoCodec(): Codec<AgentIdentityInitInfoArgs, AgentIdentityInitInfo>;
|
|
@@ -1,20 +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 Codec, type Decoder, type Encoder, type Option, type OptionOrNullable } from '@solana/kit';
|
|
9
|
-
import { type ExternalCheckResult, type ExternalCheckResultArgs, type HookableLifecycleEvent, type HookableLifecycleEventArgs } from './index.js';
|
|
10
|
-
export type AgentIdentityUpdateInfo = {
|
|
11
|
-
uri: Option<string>;
|
|
12
|
-
lifecycleChecks: Option<Array<readonly [HookableLifecycleEvent, ExternalCheckResult]>>;
|
|
13
|
-
};
|
|
14
|
-
export type AgentIdentityUpdateInfoArgs = {
|
|
15
|
-
uri: OptionOrNullable<string>;
|
|
16
|
-
lifecycleChecks: OptionOrNullable<Array<readonly [HookableLifecycleEventArgs, ExternalCheckResultArgs]>>;
|
|
17
|
-
};
|
|
18
|
-
export declare function getAgentIdentityUpdateInfoEncoder(): Encoder<AgentIdentityUpdateInfoArgs>;
|
|
19
|
-
export declare function getAgentIdentityUpdateInfoDecoder(): Decoder<AgentIdentityUpdateInfo>;
|
|
20
|
-
export declare function getAgentIdentityUpdateInfoCodec(): Codec<AgentIdentityUpdateInfoArgs, AgentIdentityUpdateInfo>;
|
|
@@ -1,20 +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 Codec, type Decoder, type Encoder } from '@solana/kit';
|
|
9
|
-
import { type Authority, type AuthorityArgs, type ExternalPluginAdapterSchema, type ExternalPluginAdapterSchemaArgs } from './index.js';
|
|
10
|
-
export type AppData = {
|
|
11
|
-
dataAuthority: Authority;
|
|
12
|
-
schema: ExternalPluginAdapterSchema;
|
|
13
|
-
};
|
|
14
|
-
export type AppDataArgs = {
|
|
15
|
-
dataAuthority: AuthorityArgs;
|
|
16
|
-
schema: ExternalPluginAdapterSchemaArgs;
|
|
17
|
-
};
|
|
18
|
-
export declare function getAppDataEncoder(): Encoder<AppDataArgs>;
|
|
19
|
-
export declare function getAppDataDecoder(): Decoder<AppData>;
|
|
20
|
-
export declare function getAppDataCodec(): Codec<AppDataArgs, AppData>;
|
|
@@ -1,22 +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 Codec, type Decoder, type Encoder, type Option, type OptionOrNullable } from '@solana/kit';
|
|
9
|
-
import { type Authority, type AuthorityArgs, type ExternalPluginAdapterSchema, type ExternalPluginAdapterSchemaArgs } from './index.js';
|
|
10
|
-
export type AppDataInitInfo = {
|
|
11
|
-
dataAuthority: Authority;
|
|
12
|
-
initPluginAuthority: Option<Authority>;
|
|
13
|
-
schema: Option<ExternalPluginAdapterSchema>;
|
|
14
|
-
};
|
|
15
|
-
export type AppDataInitInfoArgs = {
|
|
16
|
-
dataAuthority: AuthorityArgs;
|
|
17
|
-
initPluginAuthority: OptionOrNullable<AuthorityArgs>;
|
|
18
|
-
schema: OptionOrNullable<ExternalPluginAdapterSchemaArgs>;
|
|
19
|
-
};
|
|
20
|
-
export declare function getAppDataInitInfoEncoder(): Encoder<AppDataInitInfoArgs>;
|
|
21
|
-
export declare function getAppDataInitInfoDecoder(): Decoder<AppDataInitInfo>;
|
|
22
|
-
export declare function getAppDataInitInfoCodec(): Codec<AppDataInitInfoArgs, AppDataInitInfo>;
|
|
@@ -1,18 +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 Codec, type Decoder, type Encoder, type Option, type OptionOrNullable } from '@solana/kit';
|
|
9
|
-
import { type ExternalPluginAdapterSchema, type ExternalPluginAdapterSchemaArgs } from './index.js';
|
|
10
|
-
export type AppDataUpdateInfo = {
|
|
11
|
-
schema: Option<ExternalPluginAdapterSchema>;
|
|
12
|
-
};
|
|
13
|
-
export type AppDataUpdateInfoArgs = {
|
|
14
|
-
schema: OptionOrNullable<ExternalPluginAdapterSchemaArgs>;
|
|
15
|
-
};
|
|
16
|
-
export declare function getAppDataUpdateInfoEncoder(): Encoder<AppDataUpdateInfoArgs>;
|
|
17
|
-
export declare function getAppDataUpdateInfoDecoder(): Decoder<AppDataUpdateInfo>;
|
|
18
|
-
export declare function getAppDataUpdateInfoCodec(): Codec<AppDataUpdateInfoArgs, AppDataUpdateInfo>;
|
|
@@ -1,16 +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 Codec, type Decoder, type Encoder } from '@solana/kit';
|
|
9
|
-
export type Attribute = {
|
|
10
|
-
key: string;
|
|
11
|
-
value: string;
|
|
12
|
-
};
|
|
13
|
-
export type AttributeArgs = Attribute;
|
|
14
|
-
export declare function getAttributeEncoder(): Encoder<AttributeArgs>;
|
|
15
|
-
export declare function getAttributeDecoder(): Decoder<Attribute>;
|
|
16
|
-
export declare function getAttributeCodec(): Codec<AttributeArgs, Attribute>;
|